2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for nm-applet 0.6.5.
5
# Report bugs to <dcbw@redhat.com>.
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='nm-applet'
730
PACKAGE_TARNAME='nm-applet'
731
PACKAGE_VERSION='0.6.5'
732
PACKAGE_STRING='nm-applet 0.6.5'
733
PACKAGE_BUGREPORT='dcbw@redhat.com'
735
# Factoring default headers for most tests.
736
ac_includes_default="\
738
#ifdef HAVE_SYS_TYPES_H
739
# include <sys/types.h>
741
#ifdef HAVE_SYS_STAT_H
742
# include <sys/stat.h>
748
# ifdef HAVE_STDLIB_H
753
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
758
#ifdef HAVE_STRINGS_H
759
# include <strings.h>
761
#ifdef HAVE_INTTYPES_H
762
# include <inttypes.h>
780
program_transform_name
822
INSTALL_STRIP_PROGRAM
831
MAINTAINER_MODE_FALSE
881
INTLTOOL_DESKTOP_RULE
882
INTLTOOL_DIRECTORY_RULE
889
INTLTOOL_SOUNDLIST_RULE
894
INTLTOOL_XML_NOMERGE_RULE
896
INTLTOOL_SCHEMAS_RULE
898
INTLTOOL_SERVICE_RULE
958
ac_precious_vars='build_alias
1002
# Initialize some variables set by options.
1004
ac_init_version=false
1005
# The variables have the same names as the options, with
1006
# dashes changed to underlines.
1007
cache_file=/dev/null
1014
program_transform_name=s,x,x,
1022
# Installation directory options.
1023
# These are left unexpanded so users can "make install exec_prefix=/foo"
1024
# and all the variables that are supposed to be based on exec_prefix
1025
# by default will actually change.
1026
# Use braces instead of parens because sh, perl, etc. also accept them.
1027
# (The list follows the same order as the GNU Coding Standards.)
1028
bindir='${exec_prefix}/bin'
1029
sbindir='${exec_prefix}/sbin'
1030
libexecdir='${exec_prefix}/libexec'
1031
datarootdir='${prefix}/share'
1032
datadir='${datarootdir}'
1033
sysconfdir='${prefix}/etc'
1034
sharedstatedir='${prefix}/com'
1035
localstatedir='${prefix}/var'
1036
includedir='${prefix}/include'
1037
oldincludedir='/usr/include'
1038
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1039
infodir='${datarootdir}/info'
1044
libdir='${exec_prefix}/lib'
1045
localedir='${datarootdir}/locale'
1046
mandir='${datarootdir}/man'
1052
# If the previous option needs an argument, assign it.
1053
if test -n "$ac_prev"; then
1054
eval $ac_prev=\$ac_option
1060
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1064
# Accept the important Cygnus configure options, so we can diagnose typos.
1066
case $ac_dashdash$ac_option in
1070
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1072
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1073
bindir=$ac_optarg ;;
1075
-build | --build | --buil | --bui | --bu)
1076
ac_prev=build_alias ;;
1077
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1078
build_alias=$ac_optarg ;;
1080
-cache-file | --cache-file | --cache-fil | --cache-fi \
1081
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1082
ac_prev=cache_file ;;
1083
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1084
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1085
cache_file=$ac_optarg ;;
1087
--config-cache | -C)
1088
cache_file=config.cache ;;
1090
-datadir | --datadir | --datadi | --datad)
1092
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1093
datadir=$ac_optarg ;;
1095
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1096
| --dataroo | --dataro | --datar)
1097
ac_prev=datarootdir ;;
1098
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1099
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1100
datarootdir=$ac_optarg ;;
1102
-disable-* | --disable-*)
1103
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1104
# Reject names that are not valid shell variable names.
1105
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1106
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
1107
{ (exit 1); exit 1; }; }
1108
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1109
eval enable_$ac_feature=no ;;
1111
-docdir | --docdir | --docdi | --doc | --do)
1113
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1114
docdir=$ac_optarg ;;
1116
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1118
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1119
dvidir=$ac_optarg ;;
1121
-enable-* | --enable-*)
1122
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1123
# Reject names that are not valid shell variable names.
1124
expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
1126
{ (exit 1); exit 1; }; }
1127
ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1128
eval enable_$ac_feature=\$ac_optarg ;;
1130
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1131
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1132
| --exec | --exe | --ex)
1133
ac_prev=exec_prefix ;;
1134
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1135
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1136
| --exec=* | --exe=* | --ex=*)
1137
exec_prefix=$ac_optarg ;;
1139
-gas | --gas | --ga | --g)
1140
# Obsolete; use --with-gas.
1143
-help | --help | --hel | --he | -h)
1144
ac_init_help=long ;;
1145
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1146
ac_init_help=recursive ;;
1147
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1148
ac_init_help=short ;;
1150
-host | --host | --hos | --ho)
1151
ac_prev=host_alias ;;
1152
-host=* | --host=* | --hos=* | --ho=*)
1153
host_alias=$ac_optarg ;;
1155
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1157
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1159
htmldir=$ac_optarg ;;
1161
-includedir | --includedir | --includedi | --included | --include \
1162
| --includ | --inclu | --incl | --inc)
1163
ac_prev=includedir ;;
1164
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1165
| --includ=* | --inclu=* | --incl=* | --inc=*)
1166
includedir=$ac_optarg ;;
1168
-infodir | --infodir | --infodi | --infod | --info | --inf)
1170
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1171
infodir=$ac_optarg ;;
1173
-libdir | --libdir | --libdi | --libd)
1175
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1176
libdir=$ac_optarg ;;
1178
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1179
| --libexe | --libex | --libe)
1180
ac_prev=libexecdir ;;
1181
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1182
| --libexe=* | --libex=* | --libe=*)
1183
libexecdir=$ac_optarg ;;
1185
-localedir | --localedir | --localedi | --localed | --locale)
1186
ac_prev=localedir ;;
1187
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1188
localedir=$ac_optarg ;;
1190
-localstatedir | --localstatedir | --localstatedi | --localstated \
1191
| --localstate | --localstat | --localsta | --localst | --locals)
1192
ac_prev=localstatedir ;;
1193
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1194
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1195
localstatedir=$ac_optarg ;;
1197
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1199
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1200
mandir=$ac_optarg ;;
1202
-nfp | --nfp | --nf)
1203
# Obsolete; use --without-fp.
1206
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1207
| --no-cr | --no-c | -n)
1210
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1211
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1214
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1215
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1216
| --oldin | --oldi | --old | --ol | --o)
1217
ac_prev=oldincludedir ;;
1218
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1219
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1220
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1221
oldincludedir=$ac_optarg ;;
1223
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1225
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1226
prefix=$ac_optarg ;;
1228
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1229
| --program-pre | --program-pr | --program-p)
1230
ac_prev=program_prefix ;;
1231
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1232
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1233
program_prefix=$ac_optarg ;;
1235
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1236
| --program-suf | --program-su | --program-s)
1237
ac_prev=program_suffix ;;
1238
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1239
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1240
program_suffix=$ac_optarg ;;
1242
-program-transform-name | --program-transform-name \
1243
| --program-transform-nam | --program-transform-na \
1244
| --program-transform-n | --program-transform- \
1245
| --program-transform | --program-transfor \
1246
| --program-transfo | --program-transf \
1247
| --program-trans | --program-tran \
1248
| --progr-tra | --program-tr | --program-t)
1249
ac_prev=program_transform_name ;;
1250
-program-transform-name=* | --program-transform-name=* \
1251
| --program-transform-nam=* | --program-transform-na=* \
1252
| --program-transform-n=* | --program-transform-=* \
1253
| --program-transform=* | --program-transfor=* \
1254
| --program-transfo=* | --program-transf=* \
1255
| --program-trans=* | --program-tran=* \
1256
| --progr-tra=* | --program-tr=* | --program-t=*)
1257
program_transform_name=$ac_optarg ;;
1259
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1261
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1262
pdfdir=$ac_optarg ;;
1264
-psdir | --psdir | --psdi | --psd | --ps)
1266
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1269
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1270
| -silent | --silent | --silen | --sile | --sil)
1273
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1275
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1277
sbindir=$ac_optarg ;;
1279
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1280
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1281
| --sharedst | --shareds | --shared | --share | --shar \
1283
ac_prev=sharedstatedir ;;
1284
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1285
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1286
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1288
sharedstatedir=$ac_optarg ;;
1290
-site | --site | --sit)
1292
-site=* | --site=* | --sit=*)
1295
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1297
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1298
srcdir=$ac_optarg ;;
1300
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1301
| --syscon | --sysco | --sysc | --sys | --sy)
1302
ac_prev=sysconfdir ;;
1303
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1304
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1305
sysconfdir=$ac_optarg ;;
1307
-target | --target | --targe | --targ | --tar | --ta | --t)
1308
ac_prev=target_alias ;;
1309
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1310
target_alias=$ac_optarg ;;
1312
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1315
-version | --version | --versio | --versi | --vers | -V)
1316
ac_init_version=: ;;
1319
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1320
# Reject names that are not valid shell variable names.
1321
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1322
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1323
{ (exit 1); exit 1; }; }
1324
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1325
eval with_$ac_package=\$ac_optarg ;;
1327
-without-* | --without-*)
1328
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1329
# Reject names that are not valid shell variable names.
1330
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1331
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1332
{ (exit 1); exit 1; }; }
1333
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1334
eval with_$ac_package=no ;;
1337
# Obsolete; use --with-x.
1340
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1341
| --x-incl | --x-inc | --x-in | --x-i)
1342
ac_prev=x_includes ;;
1343
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1344
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1345
x_includes=$ac_optarg ;;
1347
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1348
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1349
ac_prev=x_libraries ;;
1350
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1351
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1352
x_libraries=$ac_optarg ;;
1354
-*) { echo "$as_me: error: unrecognized option: $ac_option
1355
Try \`$0 --help' for more information." >&2
1356
{ (exit 1); exit 1; }; }
1360
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1361
# Reject names that are not valid shell variable names.
1362
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1363
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1364
{ (exit 1); exit 1; }; }
1365
eval $ac_envvar=\$ac_optarg
1366
export $ac_envvar ;;
1369
# FIXME: should be removed in autoconf 3.0.
1370
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1371
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1372
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1373
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1379
if test -n "$ac_prev"; then
1380
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1381
{ echo "$as_me: error: missing argument to $ac_option" >&2
1382
{ (exit 1); exit 1; }; }
1385
# Be sure to have absolute directory names.
1386
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1387
datadir sysconfdir sharedstatedir localstatedir includedir \
1388
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1389
libdir localedir mandir
1391
eval ac_val=\$$ac_var
1393
[\\/$]* | ?:[\\/]* ) continue;;
1394
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1396
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1397
{ (exit 1); exit 1; }; }
1400
# There might be people who depend on the old broken behavior: `$host'
1401
# used to hold the argument of --host etc.
1402
# FIXME: To remove some day.
1405
target=$target_alias
1407
# FIXME: To remove some day.
1408
if test "x$host_alias" != x; then
1409
if test "x$build_alias" = x; then
1410
cross_compiling=maybe
1411
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1412
If a cross compiler is detected then cross compile mode will be used." >&2
1413
elif test "x$build_alias" != "x$host_alias"; then
1419
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1421
test "$silent" = yes && exec 6>/dev/null
1424
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1425
ac_ls_di=`ls -di .` &&
1426
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1427
{ echo "$as_me: error: Working directory cannot be determined" >&2
1428
{ (exit 1); exit 1; }; }
1429
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1430
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1431
{ (exit 1); exit 1; }; }
1434
# Find the source files, if location was not specified.
1435
if test -z "$srcdir"; then
1436
ac_srcdir_defaulted=yes
1437
# Try the directory containing this script, then the parent directory.
1438
ac_confdir=`$as_dirname -- "$0" ||
1439
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1440
X"$0" : 'X\(//\)[^/]' \| \
1441
X"$0" : 'X\(//\)$' \| \
1442
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1444
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1462
if test ! -r "$srcdir/$ac_unique_file"; then
1466
ac_srcdir_defaulted=no
1468
if test ! -r "$srcdir/$ac_unique_file"; then
1469
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1470
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1471
{ (exit 1); exit 1; }; }
1473
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1475
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1476
{ (exit 1); exit 1; }; }
1478
# When building in place, set srcdir=.
1479
if test "$ac_abs_confdir" = "$ac_pwd"; then
1482
# Remove unnecessary trailing slashes from srcdir.
1483
# Double slashes in file names in object file debugging info
1484
# mess up M-x gdb in Emacs.
1486
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1488
for ac_var in $ac_precious_vars; do
1489
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1490
eval ac_env_${ac_var}_value=\$${ac_var}
1491
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1492
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1496
# Report the --help message.
1498
if test "$ac_init_help" = "long"; then
1499
# Omit some internal or obsolete options to make the list less imposing.
1500
# This message is too long to be a string in the A/UX 3.1 sh.
1502
\`configure' configures nm-applet 0.6.5 to adapt to many kinds of systems.
1504
Usage: $0 [OPTION]... [VAR=VALUE]...
1506
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1507
VAR=VALUE. See below for descriptions of some of the useful variables.
1509
Defaults for the options are specified in brackets.
1512
-h, --help display this help and exit
1513
--help=short display options specific to this package
1514
--help=recursive display the short help of all the included packages
1515
-V, --version display version information and exit
1516
-q, --quiet, --silent do not print \`checking...' messages
1517
--cache-file=FILE cache test results in FILE [disabled]
1518
-C, --config-cache alias for \`--cache-file=config.cache'
1519
-n, --no-create do not create output files
1520
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1522
Installation directories:
1523
--prefix=PREFIX install architecture-independent files in PREFIX
1524
[$ac_default_prefix]
1525
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1528
By default, \`make install' will install all the files in
1529
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1530
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1531
for instance \`--prefix=\$HOME'.
1533
For better control, use the options below.
1535
Fine tuning of the installation directories:
1536
--bindir=DIR user executables [EPREFIX/bin]
1537
--sbindir=DIR system admin executables [EPREFIX/sbin]
1538
--libexecdir=DIR program executables [EPREFIX/libexec]
1539
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1540
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1541
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1542
--libdir=DIR object code libraries [EPREFIX/lib]
1543
--includedir=DIR C header files [PREFIX/include]
1544
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1545
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1546
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1547
--infodir=DIR info documentation [DATAROOTDIR/info]
1548
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1549
--mandir=DIR man documentation [DATAROOTDIR/man]
1550
--docdir=DIR documentation root [DATAROOTDIR/doc/nm-applet]
1551
--htmldir=DIR html documentation [DOCDIR]
1552
--dvidir=DIR dvi documentation [DOCDIR]
1553
--pdfdir=DIR pdf documentation [DOCDIR]
1554
--psdir=DIR ps documentation [DOCDIR]
1560
--program-prefix=PREFIX prepend PREFIX to installed program names
1561
--program-suffix=SUFFIX append SUFFIX to installed program names
1562
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1565
--build=BUILD configure for building on BUILD [guessed]
1566
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1570
if test -n "$ac_init_help"; then
1571
case $ac_init_help in
1572
short | recursive ) echo "Configuration of nm-applet 0.6.5:";;
1577
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1578
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1579
--enable-maintainer-mode enable make rules and dependencies not useful
1580
(and sometimes confusing) to the casual installer
1581
--disable-dependency-tracking speeds up one-time build
1582
--enable-dependency-tracking do not reject slow dependency extractors
1583
--enable-shared[=PKGS] build shared libraries [default=yes]
1584
--enable-static[=PKGS] build static libraries [default=yes]
1585
--enable-fast-install[=PKGS]
1586
optimize for fast installation [default=yes]
1587
--disable-libtool-lock avoid locking (might break parallel builds)
1588
--enable-debug turn on debugging
1589
--enable-compile-warnings=[no/minimum/yes/maximum/error]
1590
Turn on compiler warnings
1591
--enable-iso-c Try to warn if code is not ISO C
1592
--enable-more-warnings Maximum compiler warnings
1595
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1596
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1597
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1598
--with-pic try to use only PIC/non-PIC objects [default=use
1600
--with-tags[=TAGS] include additional configurations [automatic]
1601
--with-notify Use libnotify
1602
--with-dbus-sys=DIR where D-BUS system.d directory is
1604
Some influential environment variables:
1605
CC C compiler command
1606
CFLAGS C compiler flags
1607
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1608
nonstandard directory <lib dir>
1609
LIBS libraries to pass to the linker, e.g. -l<library>
1610
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1611
you have headers in a nonstandard directory <include dir>
1613
CXX C++ compiler command
1614
CXXFLAGS C++ compiler flags
1615
CXXCPP C++ preprocessor
1616
F77 Fortran 77 compiler command
1617
FFLAGS Fortran 77 compiler flags
1618
PKG_CONFIG path to pkg-config utility
1619
DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1620
DBUS_LIBS linker flags for DBUS, overriding pkg-config
1622
C compiler flags for GTHREAD, overriding pkg-config
1624
linker flags for GTHREAD, overriding pkg-config
1625
GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1626
GLIB_LIBS linker flags for GLIB, overriding pkg-config
1628
C compiler flags for GMODULE, overriding pkg-config
1630
linker flags for GMODULE, overriding pkg-config
1632
C compiler flags for GOBJECT, overriding pkg-config
1634
linker flags for GOBJECT, overriding pkg-config
1635
NM_CFLAGS C compiler flags for NM, overriding pkg-config
1636
NM_LIBS linker flags for NM, overriding pkg-config
1637
GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1638
GTK_LIBS linker flags for GTK, overriding pkg-config
1640
C compiler flags for GDK_PIXBUF, overriding pkg-config
1642
linker flags for GDK_PIXBUF, overriding pkg-config
1644
C compiler flags for GLADE, overriding pkg-config
1645
GLADE_LIBS linker flags for GLADE, overriding pkg-config
1647
C compiler flags for GCONF, overriding pkg-config
1648
GCONF_LIBS linker flags for GCONF, overriding pkg-config
1649
GNOME_KEYRING_CFLAGS
1650
C compiler flags for GNOME_KEYRING, overriding pkg-config
1652
linker flags for GNOME_KEYRING, overriding pkg-config
1654
C compiler flags for NOTIFY, overriding pkg-config
1655
NOTIFY_LIBS linker flags for NOTIFY, overriding pkg-config
1657
C compiler flags for LIBGNOMEUI, overriding pkg-config
1659
linker flags for LIBGNOMEUI, overriding pkg-config
1661
Use these variables to override the choices made by `configure' or to help
1662
it to find libraries and programs with nonstandard names/locations.
1664
Report bugs to <dcbw@redhat.com>.
1669
if test "$ac_init_help" = "recursive"; then
1670
# If there are subdirs, report their specific --help.
1671
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1672
test -d "$ac_dir" || continue
1676
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1678
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1679
# A ".." for each directory in $ac_dir_suffix.
1680
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1681
case $ac_top_builddir_sub in
1682
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1683
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1686
ac_abs_top_builddir=$ac_pwd
1687
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1688
# for backward compatibility:
1689
ac_top_builddir=$ac_top_build_prefix
1692
.) # We are building in place.
1694
ac_top_srcdir=$ac_top_builddir_sub
1695
ac_abs_top_srcdir=$ac_pwd ;;
1696
[\\/]* | ?:[\\/]* ) # Absolute name.
1697
ac_srcdir=$srcdir$ac_dir_suffix;
1698
ac_top_srcdir=$srcdir
1699
ac_abs_top_srcdir=$srcdir ;;
1701
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1702
ac_top_srcdir=$ac_top_build_prefix$srcdir
1703
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1705
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1707
cd "$ac_dir" || { ac_status=$?; continue; }
1708
# Check for guested configure.
1709
if test -f "$ac_srcdir/configure.gnu"; then
1711
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1712
elif test -f "$ac_srcdir/configure"; then
1714
$SHELL "$ac_srcdir/configure" --help=recursive
1716
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1718
cd "$ac_pwd" || { ac_status=$?; break; }
1722
test -n "$ac_init_help" && exit $ac_status
1723
if $ac_init_version; then
1725
nm-applet configure 0.6.5
1726
generated by GNU Autoconf 2.61
1728
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1729
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1730
This configure script is free software; the Free Software Foundation
1731
gives unlimited permission to copy, distribute and modify it.
1735
cat >config.log <<_ACEOF
1736
This file contains any messages produced by compilers while
1737
running configure, to aid debugging if configure makes a mistake.
1739
It was created by nm-applet $as_me 0.6.5, which was
1740
generated by GNU Autoconf 2.61. Invocation command line was
1752
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1753
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1754
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1755
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1756
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1758
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1759
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1761
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1762
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1763
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1764
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1765
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1766
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1767
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1771
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1775
test -z "$as_dir" && as_dir=.
1776
echo "PATH: $as_dir"
1792
# Keep a trace of the command line.
1793
# Strip out --no-create and --no-recursion so they do not pile up.
1794
# Strip out --silent because we don't want to record it for future runs.
1795
# Also quote any args containing shell meta-characters.
1796
# Make two passes to allow for proper duplicate-argument suppression.
1800
ac_must_keep_next=false
1806
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1807
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1808
| -silent | --silent | --silen | --sile | --sil)
1811
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1814
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1816
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1817
if test $ac_must_keep_next = true; then
1818
ac_must_keep_next=false # Got value, back to normal.
1821
*=* | --config-cache | -C | -disable-* | --disable-* \
1822
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1823
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1824
| -with-* | --with-* | -without-* | --without-* | --x)
1825
case "$ac_configure_args0 " in
1826
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1829
-* ) ac_must_keep_next=true ;;
1832
ac_configure_args="$ac_configure_args '$ac_arg'"
1837
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1838
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1840
# When interrupted or exit'd, cleanup temporary files, and complete
1841
# config.log. We remove comments because anyway the quotes in there
1842
# would cause problems or look ugly.
1843
# WARNING: Use '\'' to represent an apostrophe within the trap.
1844
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1845
trap 'exit_status=$?
1846
# Save into config.log some information that might help in debugging.
1851
## ---------------- ##
1852
## Cache variables. ##
1853
## ---------------- ##
1856
# The following way of writing the cache mishandles newlines in values,
1858
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1859
eval ac_val=\$$ac_var
1863
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1864
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1867
_ | IFS | as_nl) ;; #(
1868
*) $as_unset $ac_var ;;
1873
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1874
*${as_nl}ac_space=\ *)
1876
"s/'\''/'\''\\\\'\'''\''/g;
1877
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1880
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1888
## ----------------- ##
1889
## Output variables. ##
1890
## ----------------- ##
1893
for ac_var in $ac_subst_vars
1895
eval ac_val=\$$ac_var
1897
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1899
echo "$ac_var='\''$ac_val'\''"
1903
if test -n "$ac_subst_files"; then
1905
## ------------------- ##
1906
## File substitutions. ##
1907
## ------------------- ##
1910
for ac_var in $ac_subst_files
1912
eval ac_val=\$$ac_var
1914
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1916
echo "$ac_var='\''$ac_val'\''"
1921
if test -s confdefs.h; then
1931
test "$ac_signal" != 0 &&
1932
echo "$as_me: caught signal $ac_signal"
1933
echo "$as_me: exit $exit_status"
1935
rm -f core *.core core.conftest.* &&
1936
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1939
for ac_signal in 1 2 13 15; do
1940
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1944
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1945
rm -f -r conftest* confdefs.h
1947
# Predefined preprocessor variables.
1949
cat >>confdefs.h <<_ACEOF
1950
#define PACKAGE_NAME "$PACKAGE_NAME"
1954
cat >>confdefs.h <<_ACEOF
1955
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1959
cat >>confdefs.h <<_ACEOF
1960
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1964
cat >>confdefs.h <<_ACEOF
1965
#define PACKAGE_STRING "$PACKAGE_STRING"
1969
cat >>confdefs.h <<_ACEOF
1970
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1974
# Let the site file select an alternate cache file if it wants to.
1975
# Prefer explicitly selected file to automatically selected ones.
1976
if test -n "$CONFIG_SITE"; then
1977
set x "$CONFIG_SITE"
1978
elif test "x$prefix" != xNONE; then
1979
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1981
set x "$ac_default_prefix/share/config.site" \
1982
"$ac_default_prefix/etc/config.site"
1987
if test -r "$ac_site_file"; then
1988
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1989
echo "$as_me: loading site script $ac_site_file" >&6;}
1990
sed 's/^/| /' "$ac_site_file" >&5
1995
if test -r "$cache_file"; then
1996
# Some versions of bash will fail to source /dev/null (special
1997
# files actually), so we avoid doing that.
1998
if test -f "$cache_file"; then
1999
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
2000
echo "$as_me: loading cache $cache_file" >&6;}
2002
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2003
*) . "./$cache_file";;
2007
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
2008
echo "$as_me: creating cache $cache_file" >&6;}
2012
# Check that the precious variables saved in the cache have kept the same
2014
ac_cache_corrupted=false
2015
for ac_var in $ac_precious_vars; do
2016
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2017
eval ac_new_set=\$ac_env_${ac_var}_set
2018
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2019
eval ac_new_val=\$ac_env_${ac_var}_value
2020
case $ac_old_set,$ac_new_set in
2022
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2023
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2024
ac_cache_corrupted=: ;;
2026
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2027
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2028
ac_cache_corrupted=: ;;
2031
if test "x$ac_old_val" != "x$ac_new_val"; then
2032
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2033
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2034
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2035
echo "$as_me: former value: $ac_old_val" >&2;}
2036
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2037
echo "$as_me: current value: $ac_new_val" >&2;}
2038
ac_cache_corrupted=:
2041
# Pass precious variables to config.status.
2042
if test "$ac_new_set" = set; then
2044
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2045
*) ac_arg=$ac_var=$ac_new_val ;;
2047
case " $ac_configure_args " in
2048
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2049
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2053
if $ac_cache_corrupted; then
2054
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2055
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2056
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2057
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2058
{ (exit 1); exit 1; }; }
2086
ac_cpp='$CPP $CPPFLAGS'
2087
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2088
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2089
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2092
am__api_version='1.10'
2095
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2096
if test -f "$ac_dir/install-sh"; then
2098
ac_install_sh="$ac_aux_dir/install-sh -c"
2100
elif test -f "$ac_dir/install.sh"; then
2102
ac_install_sh="$ac_aux_dir/install.sh -c"
2104
elif test -f "$ac_dir/shtool"; then
2106
ac_install_sh="$ac_aux_dir/shtool install -c"
2110
if test -z "$ac_aux_dir"; then
2111
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2112
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2113
{ (exit 1); exit 1; }; }
2116
# These three variables are undocumented and unsupported,
2117
# and are intended to be withdrawn in a future Autoconf release.
2118
# They can cause serious problems if a builder's source tree is in a directory
2119
# whose full name contains unusual characters.
2120
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2121
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2122
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2125
# Find a good install program. We prefer a C program (faster),
2126
# so one script is as good as another. But avoid the broken or
2127
# incompatible versions:
2128
# SysV /etc/install, /usr/sbin/install
2129
# SunOS /usr/etc/install
2130
# IRIX /sbin/install
2132
# AmigaOS /C/install, which installs bootblocks on floppy discs
2133
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2134
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2135
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2136
# OS/2's system install, which has a completely different semantic
2137
# ./install, which can be erroneously created by make from ./install.sh.
2138
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2139
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2140
if test -z "$INSTALL"; then
2141
if test "${ac_cv_path_install+set}" = set; then
2142
echo $ECHO_N "(cached) $ECHO_C" >&6
2144
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2148
test -z "$as_dir" && as_dir=.
2149
# Account for people who put trailing slashes in PATH elements.
2151
./ | .// | /cC/* | \
2152
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2153
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2156
# OSF1 and SCO ODT 3.0 have their own names for install.
2157
# Don't use installbsd from OSF since it installs stuff as root
2159
for ac_prog in ginstall scoinst install; do
2160
for ac_exec_ext in '' $ac_executable_extensions; do
2161
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2162
if test $ac_prog = install &&
2163
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2164
# AIX install. It has an incompatible calling convention.
2166
elif test $ac_prog = install &&
2167
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2168
# program-specific install script used by HP pwplus--don't use.
2171
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2184
if test "${ac_cv_path_install+set}" = set; then
2185
INSTALL=$ac_cv_path_install
2187
# As a last resort, use the slow shell script. Don't cache a
2188
# value for INSTALL within a source directory, because that will
2189
# break other packages using the cache if that directory is
2190
# removed, or if the value is a relative name.
2191
INSTALL=$ac_install_sh
2194
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2195
echo "${ECHO_T}$INSTALL" >&6; }
2197
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2198
# It thinks the first close brace ends the variable substitution.
2199
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2201
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2203
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2205
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2206
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2209
echo timestamp > conftest.file
2210
# Do `set' in a subshell so we don't clobber the current shell's
2211
# arguments. Must try -L first in case configure is actually a
2212
# symlink; some systems play weird games with the mod time of symlinks
2213
# (eg FreeBSD returns the mod time of the symlink's containing
2216
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2217
if test "$*" = "X"; then
2219
set X `ls -t $srcdir/configure conftest.file`
2222
if test "$*" != "X $srcdir/configure conftest.file" \
2223
&& test "$*" != "X conftest.file $srcdir/configure"; then
2225
# If neither matched, then we have a broken ls. This can happen
2226
# if, for instance, CONFIG_SHELL is bash and it inherits a
2227
# broken ls alias from the environment. This has actually
2228
# happened. Such a system could not be considered "sane".
2229
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2230
alias in your environment" >&5
2231
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2232
alias in your environment" >&2;}
2233
{ (exit 1); exit 1; }; }
2236
test "$2" = conftest.file
2242
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2243
Check your system clock" >&5
2244
echo "$as_me: error: newly created file is older than distributed files!
2245
Check your system clock" >&2;}
2246
{ (exit 1); exit 1; }; }
2248
{ echo "$as_me:$LINENO: result: yes" >&5
2249
echo "${ECHO_T}yes" >&6; }
2250
test "$program_prefix" != NONE &&
2251
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2252
# Use a double $ so make ignores it.
2253
test "$program_suffix" != NONE &&
2254
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2255
# Double any \ or $. echo might interpret backslashes.
2256
# By default was `s,x,x', remove it if useless.
2257
cat <<\_ACEOF >conftest.sed
2258
s/[\\$]/&&/g;s/;s,x,x,$//
2260
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2263
# expand $ac_aux_dir to an absolute path
2264
am_aux_dir=`cd $ac_aux_dir && pwd`
2266
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2267
# Use eval to expand $SHELL
2268
if eval "$MISSING --run true"; then
2269
am_missing_run="$MISSING --run "
2272
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2273
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2276
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2277
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2278
if test -z "$MKDIR_P"; then
2279
if test "${ac_cv_path_mkdir+set}" = set; then
2280
echo $ECHO_N "(cached) $ECHO_C" >&6
2282
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2283
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2286
test -z "$as_dir" && as_dir=.
2287
for ac_prog in mkdir gmkdir; do
2288
for ac_exec_ext in '' $ac_executable_extensions; do
2289
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2290
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2291
'mkdir (GNU coreutils) '* | \
2292
'mkdir (coreutils) '* | \
2293
'mkdir (fileutils) '4.1*)
2294
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2304
if test "${ac_cv_path_mkdir+set}" = set; then
2305
MKDIR_P="$ac_cv_path_mkdir -p"
2307
# As a last resort, use the slow shell script. Don't cache a
2308
# value for MKDIR_P within a source directory, because that will
2309
# break other packages using the cache if that directory is
2310
# removed, or if the value is a relative name.
2311
test -d ./--version && rmdir ./--version
2312
MKDIR_P="$ac_install_sh -d"
2315
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2316
echo "${ECHO_T}$MKDIR_P" >&6; }
2320
[\\/$]* | ?:[\\/]*) ;;
2321
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2324
for ac_prog in gawk mawk nawk awk
2326
# Extract the first word of "$ac_prog", so it can be a program name with args.
2327
set dummy $ac_prog; ac_word=$2
2328
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2329
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2330
if test "${ac_cv_prog_AWK+set}" = set; then
2331
echo $ECHO_N "(cached) $ECHO_C" >&6
2333
if test -n "$AWK"; then
2334
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2336
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2340
test -z "$as_dir" && as_dir=.
2341
for ac_exec_ext in '' $ac_executable_extensions; do
2342
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2343
ac_cv_prog_AWK="$ac_prog"
2344
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2354
if test -n "$AWK"; then
2355
{ echo "$as_me:$LINENO: result: $AWK" >&5
2356
echo "${ECHO_T}$AWK" >&6; }
2358
{ echo "$as_me:$LINENO: result: no" >&5
2359
echo "${ECHO_T}no" >&6; }
2363
test -n "$AWK" && break
2366
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2367
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2368
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2369
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2370
echo $ECHO_N "(cached) $ECHO_C" >&6
2372
cat >conftest.make <<\_ACEOF
2375
@echo '@@@%%%=$(MAKE)=@@@%%%'
2377
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2378
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2380
eval ac_cv_prog_make_${ac_make}_set=yes;;
2382
eval ac_cv_prog_make_${ac_make}_set=no;;
2386
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2387
{ echo "$as_me:$LINENO: result: yes" >&5
2388
echo "${ECHO_T}yes" >&6; }
2391
{ echo "$as_me:$LINENO: result: no" >&5
2392
echo "${ECHO_T}no" >&6; }
2393
SET_MAKE="MAKE=${MAKE-make}"
2396
rm -rf .tst 2>/dev/null
2397
mkdir .tst 2>/dev/null
2398
if test -d .tst; then
2403
rmdir .tst 2>/dev/null
2405
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2406
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2407
# is not polluted with repeated "-I."
2408
am__isrc=' -I$(srcdir)'
2409
# test to see if srcdir already configured
2410
if test -f $srcdir/config.status; then
2411
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2412
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2413
{ (exit 1); exit 1; }; }
2417
# test whether we have cygpath
2418
if test -z "$CYGPATH_W"; then
2419
if (cygpath --version) >/dev/null 2>/dev/null; then
2420
CYGPATH_W='cygpath -w'
2427
# Define the identity of the package.
2432
cat >>confdefs.h <<_ACEOF
2433
#define PACKAGE "$PACKAGE"
2437
cat >>confdefs.h <<_ACEOF
2438
#define VERSION "$VERSION"
2441
# Some tools Automake needs.
2443
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2446
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2449
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2452
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2455
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2457
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2459
# Installed binaries are usually stripped using `strip' when the user
2460
# run `make install-strip'. However `strip' might not be the right
2461
# tool to use in cross-compilation environments, therefore Automake
2462
# will honor the `STRIP' environment variable to overrule this program.
2463
if test "$cross_compiling" != no; then
2464
if test -n "$ac_tool_prefix"; then
2465
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2466
set dummy ${ac_tool_prefix}strip; ac_word=$2
2467
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2468
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2469
if test "${ac_cv_prog_STRIP+set}" = set; then
2470
echo $ECHO_N "(cached) $ECHO_C" >&6
2472
if test -n "$STRIP"; then
2473
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2475
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2479
test -z "$as_dir" && as_dir=.
2480
for ac_exec_ext in '' $ac_executable_extensions; do
2481
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2482
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2483
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2492
STRIP=$ac_cv_prog_STRIP
2493
if test -n "$STRIP"; then
2494
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2495
echo "${ECHO_T}$STRIP" >&6; }
2497
{ echo "$as_me:$LINENO: result: no" >&5
2498
echo "${ECHO_T}no" >&6; }
2503
if test -z "$ac_cv_prog_STRIP"; then
2505
# Extract the first word of "strip", so it can be a program name with args.
2506
set dummy strip; ac_word=$2
2507
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2508
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2509
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2510
echo $ECHO_N "(cached) $ECHO_C" >&6
2512
if test -n "$ac_ct_STRIP"; then
2513
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2515
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2519
test -z "$as_dir" && as_dir=.
2520
for ac_exec_ext in '' $ac_executable_extensions; do
2521
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2522
ac_cv_prog_ac_ct_STRIP="strip"
2523
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2532
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2533
if test -n "$ac_ct_STRIP"; then
2534
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2535
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2537
{ echo "$as_me:$LINENO: result: no" >&5
2538
echo "${ECHO_T}no" >&6; }
2541
if test "x$ac_ct_STRIP" = x; then
2544
case $cross_compiling:$ac_tool_warned in
2546
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2547
whose name does not start with the host triplet. If you think this
2548
configuration is useful to you, please write to autoconf@gnu.org." >&5
2549
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2550
whose name does not start with the host triplet. If you think this
2551
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2552
ac_tool_warned=yes ;;
2557
STRIP="$ac_cv_prog_STRIP"
2561
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2563
# We need awk for the "check" target. The system "awk" is bad on
2565
# Always define AMTAR for backward compatibility.
2567
AMTAR=${AMTAR-"${am_missing_run}tar"}
2569
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2575
{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2576
echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2577
# Check whether --enable-maintainer-mode was given.
2578
if test "${enable_maintainer_mode+set}" = set; then
2579
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2581
USE_MAINTAINER_MODE=no
2584
{ echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2585
echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2586
if test $USE_MAINTAINER_MODE = yes; then
2587
MAINTAINER_MODE_TRUE=
2588
MAINTAINER_MODE_FALSE='#'
2590
MAINTAINER_MODE_TRUE='#'
2591
MAINTAINER_MODE_FALSE=
2594
MAINT=$MAINTAINER_MODE_TRUE
2598
ac_config_headers="$ac_config_headers config.h"
2602
ac_cpp='$CPP $CPPFLAGS'
2603
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2604
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2605
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2606
if test -n "$ac_tool_prefix"; then
2607
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2608
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2609
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2610
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2611
if test "${ac_cv_prog_CC+set}" = set; then
2612
echo $ECHO_N "(cached) $ECHO_C" >&6
2614
if test -n "$CC"; then
2615
ac_cv_prog_CC="$CC" # Let the user override the test.
2617
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2621
test -z "$as_dir" && as_dir=.
2622
for ac_exec_ext in '' $ac_executable_extensions; do
2623
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2624
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2625
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2635
if test -n "$CC"; then
2636
{ echo "$as_me:$LINENO: result: $CC" >&5
2637
echo "${ECHO_T}$CC" >&6; }
2639
{ echo "$as_me:$LINENO: result: no" >&5
2640
echo "${ECHO_T}no" >&6; }
2645
if test -z "$ac_cv_prog_CC"; then
2647
# Extract the first word of "gcc", so it can be a program name with args.
2648
set dummy gcc; ac_word=$2
2649
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2650
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2651
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2652
echo $ECHO_N "(cached) $ECHO_C" >&6
2654
if test -n "$ac_ct_CC"; then
2655
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2657
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661
test -z "$as_dir" && as_dir=.
2662
for ac_exec_ext in '' $ac_executable_extensions; do
2663
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2664
ac_cv_prog_ac_ct_CC="gcc"
2665
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2674
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2675
if test -n "$ac_ct_CC"; then
2676
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2677
echo "${ECHO_T}$ac_ct_CC" >&6; }
2679
{ echo "$as_me:$LINENO: result: no" >&5
2680
echo "${ECHO_T}no" >&6; }
2683
if test "x$ac_ct_CC" = x; then
2686
case $cross_compiling:$ac_tool_warned in
2688
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2689
whose name does not start with the host triplet. If you think this
2690
configuration is useful to you, please write to autoconf@gnu.org." >&5
2691
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2692
whose name does not start with the host triplet. If you think this
2693
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2694
ac_tool_warned=yes ;;
2702
if test -z "$CC"; then
2703
if test -n "$ac_tool_prefix"; then
2704
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2705
set dummy ${ac_tool_prefix}cc; ac_word=$2
2706
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2707
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2708
if test "${ac_cv_prog_CC+set}" = set; then
2709
echo $ECHO_N "(cached) $ECHO_C" >&6
2711
if test -n "$CC"; then
2712
ac_cv_prog_CC="$CC" # Let the user override the test.
2714
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2718
test -z "$as_dir" && as_dir=.
2719
for ac_exec_ext in '' $ac_executable_extensions; do
2720
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2721
ac_cv_prog_CC="${ac_tool_prefix}cc"
2722
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2732
if test -n "$CC"; then
2733
{ echo "$as_me:$LINENO: result: $CC" >&5
2734
echo "${ECHO_T}$CC" >&6; }
2736
{ echo "$as_me:$LINENO: result: no" >&5
2737
echo "${ECHO_T}no" >&6; }
2743
if test -z "$CC"; then
2744
# Extract the first word of "cc", so it can be a program name with args.
2745
set dummy cc; ac_word=$2
2746
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2747
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2748
if test "${ac_cv_prog_CC+set}" = set; then
2749
echo $ECHO_N "(cached) $ECHO_C" >&6
2751
if test -n "$CC"; then
2752
ac_cv_prog_CC="$CC" # Let the user override the test.
2755
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2759
test -z "$as_dir" && as_dir=.
2760
for ac_exec_ext in '' $ac_executable_extensions; do
2761
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2762
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2763
ac_prog_rejected=yes
2767
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2774
if test $ac_prog_rejected = yes; then
2775
# We found a bogon in the path, so make sure we never use it.
2776
set dummy $ac_cv_prog_CC
2778
if test $# != 0; then
2779
# We chose a different compiler from the bogus one.
2780
# However, it has the same basename, so the bogon will be chosen
2781
# first if we set CC to just the basename; use the full file name.
2783
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2789
if test -n "$CC"; then
2790
{ echo "$as_me:$LINENO: result: $CC" >&5
2791
echo "${ECHO_T}$CC" >&6; }
2793
{ echo "$as_me:$LINENO: result: no" >&5
2794
echo "${ECHO_T}no" >&6; }
2799
if test -z "$CC"; then
2800
if test -n "$ac_tool_prefix"; then
2801
for ac_prog in cl.exe
2803
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2804
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2805
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2806
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2807
if test "${ac_cv_prog_CC+set}" = set; then
2808
echo $ECHO_N "(cached) $ECHO_C" >&6
2810
if test -n "$CC"; then
2811
ac_cv_prog_CC="$CC" # Let the user override the test.
2813
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2817
test -z "$as_dir" && as_dir=.
2818
for ac_exec_ext in '' $ac_executable_extensions; do
2819
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2820
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2821
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2831
if test -n "$CC"; then
2832
{ echo "$as_me:$LINENO: result: $CC" >&5
2833
echo "${ECHO_T}$CC" >&6; }
2835
{ echo "$as_me:$LINENO: result: no" >&5
2836
echo "${ECHO_T}no" >&6; }
2840
test -n "$CC" && break
2843
if test -z "$CC"; then
2845
for ac_prog in cl.exe
2847
# Extract the first word of "$ac_prog", so it can be a program name with args.
2848
set dummy $ac_prog; ac_word=$2
2849
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2850
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2851
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2852
echo $ECHO_N "(cached) $ECHO_C" >&6
2854
if test -n "$ac_ct_CC"; then
2855
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2857
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2861
test -z "$as_dir" && as_dir=.
2862
for ac_exec_ext in '' $ac_executable_extensions; do
2863
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2864
ac_cv_prog_ac_ct_CC="$ac_prog"
2865
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2874
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2875
if test -n "$ac_ct_CC"; then
2876
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2877
echo "${ECHO_T}$ac_ct_CC" >&6; }
2879
{ echo "$as_me:$LINENO: result: no" >&5
2880
echo "${ECHO_T}no" >&6; }
2884
test -n "$ac_ct_CC" && break
2887
if test "x$ac_ct_CC" = x; then
2890
case $cross_compiling:$ac_tool_warned in
2892
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2893
whose name does not start with the host triplet. If you think this
2894
configuration is useful to you, please write to autoconf@gnu.org." >&5
2895
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2896
whose name does not start with the host triplet. If you think this
2897
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2898
ac_tool_warned=yes ;;
2907
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2908
See \`config.log' for more details." >&5
2909
echo "$as_me: error: no acceptable C compiler found in \$PATH
2910
See \`config.log' for more details." >&2;}
2911
{ (exit 1); exit 1; }; }
2913
# Provide some information about the compiler.
2914
echo "$as_me:$LINENO: checking for C compiler version" >&5
2915
ac_compiler=`set X $ac_compile; echo $2`
2916
{ (ac_try="$ac_compiler --version >&5"
2918
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2919
*) ac_try_echo=$ac_try;;
2921
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2922
(eval "$ac_compiler --version >&5") 2>&5
2924
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925
(exit $ac_status); }
2926
{ (ac_try="$ac_compiler -v >&5"
2928
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929
*) ac_try_echo=$ac_try;;
2931
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2932
(eval "$ac_compiler -v >&5") 2>&5
2934
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2935
(exit $ac_status); }
2936
{ (ac_try="$ac_compiler -V >&5"
2938
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2939
*) ac_try_echo=$ac_try;;
2941
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2942
(eval "$ac_compiler -V >&5") 2>&5
2944
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2945
(exit $ac_status); }
2947
cat >conftest.$ac_ext <<_ACEOF
2950
cat confdefs.h >>conftest.$ac_ext
2951
cat >>conftest.$ac_ext <<_ACEOF
2952
/* end confdefs.h. */
2962
ac_clean_files_save=$ac_clean_files
2963
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2964
# Try to create an executable without -o first, disregard a.out.
2965
# It will help us diagnose broken compilers, and finding out an intuition
2967
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2968
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2969
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2971
# List of possible output files, starting from the most likely.
2972
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2973
# only as a last resort. b.out is created by i960 compilers.
2974
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2976
# The IRIX 6 linker writes into existing files which may not be
2977
# executable, retaining their permissions. Remove them first so a
2978
# subsequent execution test works.
2980
for ac_file in $ac_files
2983
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2984
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2989
if { (ac_try="$ac_link_default"
2991
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2992
*) ac_try_echo=$ac_try;;
2994
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2995
(eval "$ac_link_default") 2>&5
2997
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998
(exit $ac_status); }; then
2999
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3000
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3001
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3002
# so that the user can short-circuit this test for compilers unknown to
3004
for ac_file in $ac_files ''
3006
test -f "$ac_file" || continue
3008
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3011
# We found the default executable, but exeext='' is most
3015
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3017
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3019
# We set ac_cv_exeext here because the later test for it is not
3020
# safe: cross compilers may not add the suffix if given an `-o'
3021
# argument, so we may need to know it at that point already.
3022
# Even if this section looks crufty: it has the advantage of
3029
test "$ac_cv_exeext" = no && ac_cv_exeext=
3035
{ echo "$as_me:$LINENO: result: $ac_file" >&5
3036
echo "${ECHO_T}$ac_file" >&6; }
3037
if test -z "$ac_file"; then
3038
echo "$as_me: failed program was:" >&5
3039
sed 's/^/| /' conftest.$ac_ext >&5
3041
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3042
See \`config.log' for more details." >&5
3043
echo "$as_me: error: C compiler cannot create executables
3044
See \`config.log' for more details." >&2;}
3045
{ (exit 77); exit 77; }; }
3048
ac_exeext=$ac_cv_exeext
3050
# Check that the compiler produces executables we can run. If not, either
3051
# the compiler is broken, or we cross compile.
3052
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3053
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3054
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3055
# If not cross compiling, check that we can run a simple program.
3056
if test "$cross_compiling" != yes; then
3057
if { ac_try='./$ac_file'
3058
{ (case "(($ac_try" in
3059
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3060
*) ac_try_echo=$ac_try;;
3062
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3063
(eval "$ac_try") 2>&5
3065
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066
(exit $ac_status); }; }; then
3069
if test "$cross_compiling" = maybe; then
3072
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3073
If you meant to cross compile, use \`--host'.
3074
See \`config.log' for more details." >&5
3075
echo "$as_me: error: cannot run C compiled programs.
3076
If you meant to cross compile, use \`--host'.
3077
See \`config.log' for more details." >&2;}
3078
{ (exit 1); exit 1; }; }
3082
{ echo "$as_me:$LINENO: result: yes" >&5
3083
echo "${ECHO_T}yes" >&6; }
3085
rm -f a.out a.exe conftest$ac_cv_exeext b.out
3086
ac_clean_files=$ac_clean_files_save
3087
# Check that the compiler produces executables we can run. If not, either
3088
# the compiler is broken, or we cross compile.
3089
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3090
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3091
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3092
echo "${ECHO_T}$cross_compiling" >&6; }
3094
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3095
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3096
if { (ac_try="$ac_link"
3098
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099
*) ac_try_echo=$ac_try;;
3101
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3102
(eval "$ac_link") 2>&5
3104
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105
(exit $ac_status); }; then
3106
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3107
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3108
# work properly (i.e., refer to `conftest.exe'), while it won't with
3110
for ac_file in conftest.exe conftest conftest.*; do
3111
test -f "$ac_file" || continue
3113
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3114
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3120
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3121
See \`config.log' for more details." >&5
3122
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3123
See \`config.log' for more details." >&2;}
3124
{ (exit 1); exit 1; }; }
3127
rm -f conftest$ac_cv_exeext
3128
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3129
echo "${ECHO_T}$ac_cv_exeext" >&6; }
3131
rm -f conftest.$ac_ext
3132
EXEEXT=$ac_cv_exeext
3134
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3135
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3136
if test "${ac_cv_objext+set}" = set; then
3137
echo $ECHO_N "(cached) $ECHO_C" >&6
3139
cat >conftest.$ac_ext <<_ACEOF
3142
cat confdefs.h >>conftest.$ac_ext
3143
cat >>conftest.$ac_ext <<_ACEOF
3144
/* end confdefs.h. */
3154
rm -f conftest.o conftest.obj
3155
if { (ac_try="$ac_compile"
3157
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3158
*) ac_try_echo=$ac_try;;
3160
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3161
(eval "$ac_compile") 2>&5
3163
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164
(exit $ac_status); }; then
3165
for ac_file in conftest.o conftest.obj conftest.*; do
3166
test -f "$ac_file" || continue;
3168
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3169
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3174
echo "$as_me: failed program was:" >&5
3175
sed 's/^/| /' conftest.$ac_ext >&5
3177
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3178
See \`config.log' for more details." >&5
3179
echo "$as_me: error: cannot compute suffix of object files: cannot compile
3180
See \`config.log' for more details." >&2;}
3181
{ (exit 1); exit 1; }; }
3184
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3186
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3187
echo "${ECHO_T}$ac_cv_objext" >&6; }
3188
OBJEXT=$ac_cv_objext
3190
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3191
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3192
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3193
echo $ECHO_N "(cached) $ECHO_C" >&6
3195
cat >conftest.$ac_ext <<_ACEOF
3198
cat confdefs.h >>conftest.$ac_ext
3199
cat >>conftest.$ac_ext <<_ACEOF
3200
/* end confdefs.h. */
3213
rm -f conftest.$ac_objext
3214
if { (ac_try="$ac_compile"
3216
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3217
*) ac_try_echo=$ac_try;;
3219
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3220
(eval "$ac_compile") 2>conftest.er1
3222
grep -v '^ *+' conftest.er1 >conftest.err
3224
cat conftest.err >&5
3225
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3226
(exit $ac_status); } && {
3227
test -z "$ac_c_werror_flag" ||
3228
test ! -s conftest.err
3229
} && test -s conftest.$ac_objext; then
3232
echo "$as_me: failed program was:" >&5
3233
sed 's/^/| /' conftest.$ac_ext >&5
3238
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3239
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3242
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3243
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3244
GCC=`test $ac_compiler_gnu = yes && echo yes`
3245
ac_test_CFLAGS=${CFLAGS+set}
3246
ac_save_CFLAGS=$CFLAGS
3247
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3248
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3249
if test "${ac_cv_prog_cc_g+set}" = set; then
3250
echo $ECHO_N "(cached) $ECHO_C" >&6
3252
ac_save_c_werror_flag=$ac_c_werror_flag
3253
ac_c_werror_flag=yes
3256
cat >conftest.$ac_ext <<_ACEOF
3259
cat confdefs.h >>conftest.$ac_ext
3260
cat >>conftest.$ac_ext <<_ACEOF
3261
/* end confdefs.h. */
3271
rm -f conftest.$ac_objext
3272
if { (ac_try="$ac_compile"
3274
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3275
*) ac_try_echo=$ac_try;;
3277
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3278
(eval "$ac_compile") 2>conftest.er1
3280
grep -v '^ *+' conftest.er1 >conftest.err
3282
cat conftest.err >&5
3283
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284
(exit $ac_status); } && {
3285
test -z "$ac_c_werror_flag" ||
3286
test ! -s conftest.err
3287
} && test -s conftest.$ac_objext; then
3290
echo "$as_me: failed program was:" >&5
3291
sed 's/^/| /' conftest.$ac_ext >&5
3294
cat >conftest.$ac_ext <<_ACEOF
3297
cat confdefs.h >>conftest.$ac_ext
3298
cat >>conftest.$ac_ext <<_ACEOF
3299
/* end confdefs.h. */
3309
rm -f conftest.$ac_objext
3310
if { (ac_try="$ac_compile"
3312
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3313
*) ac_try_echo=$ac_try;;
3315
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3316
(eval "$ac_compile") 2>conftest.er1
3318
grep -v '^ *+' conftest.er1 >conftest.err
3320
cat conftest.err >&5
3321
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322
(exit $ac_status); } && {
3323
test -z "$ac_c_werror_flag" ||
3324
test ! -s conftest.err
3325
} && test -s conftest.$ac_objext; then
3328
echo "$as_me: failed program was:" >&5
3329
sed 's/^/| /' conftest.$ac_ext >&5
3331
ac_c_werror_flag=$ac_save_c_werror_flag
3333
cat >conftest.$ac_ext <<_ACEOF
3336
cat confdefs.h >>conftest.$ac_ext
3337
cat >>conftest.$ac_ext <<_ACEOF
3338
/* end confdefs.h. */
3348
rm -f conftest.$ac_objext
3349
if { (ac_try="$ac_compile"
3351
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3352
*) ac_try_echo=$ac_try;;
3354
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3355
(eval "$ac_compile") 2>conftest.er1
3357
grep -v '^ *+' conftest.er1 >conftest.err
3359
cat conftest.err >&5
3360
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361
(exit $ac_status); } && {
3362
test -z "$ac_c_werror_flag" ||
3363
test ! -s conftest.err
3364
} && test -s conftest.$ac_objext; then
3367
echo "$as_me: failed program was:" >&5
3368
sed 's/^/| /' conftest.$ac_ext >&5
3373
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3376
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3379
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3380
ac_c_werror_flag=$ac_save_c_werror_flag
3382
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3383
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3384
if test "$ac_test_CFLAGS" = set; then
3385
CFLAGS=$ac_save_CFLAGS
3386
elif test $ac_cv_prog_cc_g = yes; then
3387
if test "$GCC" = yes; then
3393
if test "$GCC" = yes; then
3399
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3400
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3401
if test "${ac_cv_prog_cc_c89+set}" = set; then
3402
echo $ECHO_N "(cached) $ECHO_C" >&6
3404
ac_cv_prog_cc_c89=no
3406
cat >conftest.$ac_ext <<_ACEOF
3409
cat confdefs.h >>conftest.$ac_ext
3410
cat >>conftest.$ac_ext <<_ACEOF
3411
/* end confdefs.h. */
3414
#include <sys/types.h>
3415
#include <sys/stat.h>
3416
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3417
struct buf { int x; };
3418
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3419
static char *e (p, i)
3425
static char *f (char * (*g) (char **, int), char **p, ...)
3430
s = g (p, va_arg (v,int));
3435
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3436
function prototypes and stuff, but not '\xHH' hex character constants.
3437
These don't provoke an error unfortunately, instead are silently treated
3438
as 'x'. The following induces an error, until -std is added to get
3439
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3440
array size at least. It's necessary to write '\x00'==0 to get something
3441
that's true only with -std. */
3442
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3444
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3445
inside strings and character constants. */
3447
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3449
int test (int i, double x);
3450
struct s1 {int (*f) (int a);};
3451
struct s2 {int (*f) (double a);};
3452
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3458
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3463
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3464
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3466
CC="$ac_save_CC $ac_arg"
3467
rm -f conftest.$ac_objext
3468
if { (ac_try="$ac_compile"
3470
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3471
*) ac_try_echo=$ac_try;;
3473
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3474
(eval "$ac_compile") 2>conftest.er1
3476
grep -v '^ *+' conftest.er1 >conftest.err
3478
cat conftest.err >&5
3479
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480
(exit $ac_status); } && {
3481
test -z "$ac_c_werror_flag" ||
3482
test ! -s conftest.err
3483
} && test -s conftest.$ac_objext; then
3484
ac_cv_prog_cc_c89=$ac_arg
3486
echo "$as_me: failed program was:" >&5
3487
sed 's/^/| /' conftest.$ac_ext >&5
3492
rm -f core conftest.err conftest.$ac_objext
3493
test "x$ac_cv_prog_cc_c89" != "xno" && break
3495
rm -f conftest.$ac_ext
3500
case "x$ac_cv_prog_cc_c89" in
3502
{ echo "$as_me:$LINENO: result: none needed" >&5
3503
echo "${ECHO_T}none needed" >&6; } ;;
3505
{ echo "$as_me:$LINENO: result: unsupported" >&5
3506
echo "${ECHO_T}unsupported" >&6; } ;;
3508
CC="$CC $ac_cv_prog_cc_c89"
3509
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3510
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3515
ac_cpp='$CPP $CPPFLAGS'
3516
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3517
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3518
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3519
DEPDIR="${am__leading_dot}deps"
3521
ac_config_commands="$ac_config_commands depfiles"
3524
am_make=${MAKE-make}
3525
cat > confinc << 'END'
3530
# If we don't find an include directive, just comment out the code.
3531
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3532
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3536
# First try GNU make style include.
3537
echo "include confinc" > confmf
3538
# We grep out `Entering directory' and `Leaving directory'
3539
# messages which can occur if `w' ends up in MAKEFLAGS.
3540
# In particular we don't look at `^make:' because GNU make might
3541
# be invoked under some other name (usually "gmake"), in which
3542
# case it prints its new name instead of `make'.
3543
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3548
# Now try BSD make style include.
3549
if test "$am__include" = "#"; then
3550
echo '.include "confinc"' > confmf
3551
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3552
am__include=.include
3559
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3560
echo "${ECHO_T}$_am_result" >&6; }
3561
rm -f confinc confmf
3563
# Check whether --enable-dependency-tracking was given.
3564
if test "${enable_dependency_tracking+set}" = set; then
3565
enableval=$enable_dependency_tracking;
3568
if test "x$enable_dependency_tracking" != xno; then
3569
am_depcomp="$ac_aux_dir/depcomp"
3572
if test "x$enable_dependency_tracking" != xno; then
3582
depcc="$CC" am_compiler_list=
3584
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3585
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3586
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3587
echo $ECHO_N "(cached) $ECHO_C" >&6
3589
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3590
# We make a subdir and do the tests there. Otherwise we can end up
3591
# making bogus files that we don't know about and never remove. For
3592
# instance it was reported that on HP-UX the gcc test will end up
3593
# making a dummy file named `D' -- because `-MD' means `put the output
3596
# Copy depcomp to subdir because otherwise we won't find it if we're
3597
# using a relative directory.
3598
cp "$am_depcomp" conftest.dir
3600
# We will build objects and dependencies in a subdirectory because
3601
# it helps to detect inapplicable dependency modes. For instance
3602
# both Tru64's cc and ICC support -MD to output dependencies as a
3603
# side effect of compilation, but ICC will put the dependencies in
3604
# the current directory while Tru64 will put them in the object
3608
am_cv_CC_dependencies_compiler_type=none
3609
if test "$am_compiler_list" = ""; then
3610
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3612
for depmode in $am_compiler_list; do
3613
# Setup a source with many dependencies, because some compilers
3614
# like to wrap large dependency lists on column 80 (with \), and
3615
# we should not choose a depcomp mode which is confused by this.
3617
# We need to recreate these files for each test, as the compiler may
3618
# overwrite some of them when testing with obscure command lines.
3619
# This happens at least with the AIX C compiler.
3621
for i in 1 2 3 4 5 6; do
3622
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3623
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3624
# Solaris 8's {/usr,}/bin/sh.
3625
touch sub/conftst$i.h
3627
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3631
# after this tag, mechanisms are not by side-effect, so they'll
3632
# only be used when explicitly requested
3633
if test "x$enable_dependency_tracking" = xyes; then
3641
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3642
# mode. It turns out that the SunPro C++ compiler does not properly
3643
# handle `-M -o', and we need to detect this.
3644
if depmode=$depmode \
3645
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3646
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3647
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3648
>/dev/null 2>conftest.err &&
3649
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3650
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3651
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3652
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3653
# icc doesn't choke on unknown options, it will just issue warnings
3654
# or remarks (even with -Werror). So we grep stderr for any message
3655
# that says an option was ignored or not supported.
3656
# When given -MP, icc 7.0 and 7.1 complain thusly:
3657
# icc: Command line warning: ignoring option '-M'; no argument required
3658
# The diagnosis changed in icc 8.0:
3659
# icc: Command line remark: option '-MP' not supported
3660
if (grep 'ignoring option' conftest.err ||
3661
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3662
am_cv_CC_dependencies_compiler_type=$depmode
3671
am_cv_CC_dependencies_compiler_type=none
3675
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3676
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3677
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3680
test "x$enable_dependency_tracking" != xno \
3681
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3683
am__fastdepCC_FALSE='#'
3685
am__fastdepCC_TRUE='#'
3686
am__fastdepCC_FALSE=
3690
if test "x$CC" != xcc; then
3691
{ echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3692
echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
3694
{ echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3695
echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
3697
set dummy $CC; ac_cc=`echo $2 |
3698
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3699
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3700
echo $ECHO_N "(cached) $ECHO_C" >&6
3702
cat >conftest.$ac_ext <<_ACEOF
3705
cat confdefs.h >>conftest.$ac_ext
3706
cat >>conftest.$ac_ext <<_ACEOF
3707
/* end confdefs.h. */
3717
# Make sure it works both with $CC and with simple cc.
3718
# We do the test twice because some compilers refuse to overwrite an
3719
# existing .o file with -o, though they will create one.
3720
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3722
if { (case "(($ac_try" in
3723
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3724
*) ac_try_echo=$ac_try;;
3726
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3727
(eval "$ac_try") 2>&5
3729
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730
(exit $ac_status); } &&
3731
test -f conftest2.$ac_objext && { (case "(($ac_try" in
3732
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3733
*) ac_try_echo=$ac_try;;
3735
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3736
(eval "$ac_try") 2>&5
3738
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739
(exit $ac_status); };
3741
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3742
if test "x$CC" != xcc; then
3743
# Test first that cc exists at all.
3744
if { ac_try='cc -c conftest.$ac_ext >&5'
3745
{ (case "(($ac_try" in
3746
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3747
*) ac_try_echo=$ac_try;;
3749
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3750
(eval "$ac_try") 2>&5
3752
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753
(exit $ac_status); }; }; then
3754
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3756
if { (case "(($ac_try" in
3757
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3758
*) ac_try_echo=$ac_try;;
3760
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3761
(eval "$ac_try") 2>&5
3763
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764
(exit $ac_status); } &&
3765
test -f conftest2.$ac_objext && { (case "(($ac_try" in
3766
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3767
*) ac_try_echo=$ac_try;;
3769
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3770
(eval "$ac_try") 2>&5
3772
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773
(exit $ac_status); };
3778
# cc exists but doesn't like -o.
3779
eval ac_cv_prog_cc_${ac_cc}_c_o=no
3784
eval ac_cv_prog_cc_${ac_cc}_c_o=no
3786
rm -f core conftest*
3789
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3790
{ echo "$as_me:$LINENO: result: yes" >&5
3791
echo "${ECHO_T}yes" >&6; }
3793
{ echo "$as_me:$LINENO: result: no" >&5
3794
echo "${ECHO_T}no" >&6; }
3796
cat >>confdefs.h <<\_ACEOF
3797
#define NO_MINUS_C_MINUS_O 1
3802
# FIXME: we rely on the cache variable name because
3803
# there is no other way.
3805
ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3806
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
3807
# Losing compiler, so override with the script.
3808
# FIXME: It is wrong to rewrite CC.
3809
# But if we don't then we get into trouble of one sort or another.
3810
# A longer-term fix would be to have automake use am__CC in this case,
3811
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3812
CC="$am_aux_dir/compile $CC"
3816
# Find a good install program. We prefer a C program (faster),
3817
# so one script is as good as another. But avoid the broken or
3818
# incompatible versions:
3819
# SysV /etc/install, /usr/sbin/install
3820
# SunOS /usr/etc/install
3821
# IRIX /sbin/install
3823
# AmigaOS /C/install, which installs bootblocks on floppy discs
3824
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3825
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3826
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3827
# OS/2's system install, which has a completely different semantic
3828
# ./install, which can be erroneously created by make from ./install.sh.
3829
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3830
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3831
if test -z "$INSTALL"; then
3832
if test "${ac_cv_path_install+set}" = set; then
3833
echo $ECHO_N "(cached) $ECHO_C" >&6
3835
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3839
test -z "$as_dir" && as_dir=.
3840
# Account for people who put trailing slashes in PATH elements.
3842
./ | .// | /cC/* | \
3843
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3844
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3847
# OSF1 and SCO ODT 3.0 have their own names for install.
3848
# Don't use installbsd from OSF since it installs stuff as root
3850
for ac_prog in ginstall scoinst install; do
3851
for ac_exec_ext in '' $ac_executable_extensions; do
3852
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3853
if test $ac_prog = install &&
3854
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3855
# AIX install. It has an incompatible calling convention.
3857
elif test $ac_prog = install &&
3858
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3859
# program-specific install script used by HP pwplus--don't use.
3862
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3875
if test "${ac_cv_path_install+set}" = set; then
3876
INSTALL=$ac_cv_path_install
3878
# As a last resort, use the slow shell script. Don't cache a
3879
# value for INSTALL within a source directory, because that will
3880
# break other packages using the cache if that directory is
3881
# removed, or if the value is a relative name.
3882
INSTALL=$ac_install_sh
3885
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3886
echo "${ECHO_T}$INSTALL" >&6; }
3888
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3889
# It thinks the first close brace ends the variable substitution.
3890
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3892
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3894
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3896
# Check whether --enable-shared was given.
3897
if test "${enable_shared+set}" = set; then
3898
enableval=$enable_shared; p=${PACKAGE-default}
3900
yes) enable_shared=yes ;;
3901
no) enable_shared=no ;;
3904
# Look at the argument we got. We use all the common list separators.
3905
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3906
for pkg in $enableval; do
3908
if test "X$pkg" = "X$p"; then
3920
# Check whether --enable-static was given.
3921
if test "${enable_static+set}" = set; then
3922
enableval=$enable_static; p=${PACKAGE-default}
3924
yes) enable_static=yes ;;
3925
no) enable_static=no ;;
3928
# Look at the argument we got. We use all the common list separators.
3929
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3930
for pkg in $enableval; do
3932
if test "X$pkg" = "X$p"; then
3944
# Check whether --enable-fast-install was given.
3945
if test "${enable_fast_install+set}" = set; then
3946
enableval=$enable_fast_install; p=${PACKAGE-default}
3948
yes) enable_fast_install=yes ;;
3949
no) enable_fast_install=no ;;
3951
enable_fast_install=no
3952
# Look at the argument we got. We use all the common list separators.
3953
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3954
for pkg in $enableval; do
3956
if test "X$pkg" = "X$p"; then
3957
enable_fast_install=yes
3964
enable_fast_install=yes
3968
# Make sure we can run config.sub.
3969
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3970
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3971
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3972
{ (exit 1); exit 1; }; }
3974
{ echo "$as_me:$LINENO: checking build system type" >&5
3975
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3976
if test "${ac_cv_build+set}" = set; then
3977
echo $ECHO_N "(cached) $ECHO_C" >&6
3979
ac_build_alias=$build_alias
3980
test "x$ac_build_alias" = x &&
3981
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3982
test "x$ac_build_alias" = x &&
3983
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3984
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3985
{ (exit 1); exit 1; }; }
3986
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3987
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3988
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3989
{ (exit 1); exit 1; }; }
3992
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3993
echo "${ECHO_T}$ac_cv_build" >&6; }
3994
case $ac_cv_build in
3996
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3997
echo "$as_me: error: invalid value of canonical build" >&2;}
3998
{ (exit 1); exit 1; }; };;
4001
ac_save_IFS=$IFS; IFS='-'
4007
# Remember, the first character of IFS is used to create $*,
4008
# except with old shells:
4011
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4014
{ echo "$as_me:$LINENO: checking host system type" >&5
4015
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4016
if test "${ac_cv_host+set}" = set; then
4017
echo $ECHO_N "(cached) $ECHO_C" >&6
4019
if test "x$host_alias" = x; then
4020
ac_cv_host=$ac_cv_build
4022
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4023
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4024
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4025
{ (exit 1); exit 1; }; }
4029
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4030
echo "${ECHO_T}$ac_cv_host" >&6; }
4033
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4034
echo "$as_me: error: invalid value of canonical host" >&2;}
4035
{ (exit 1); exit 1; }; };;
4038
ac_save_IFS=$IFS; IFS='-'
4044
# Remember, the first character of IFS is used to create $*,
4045
# except with old shells:
4048
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4051
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4052
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4053
if test "${lt_cv_path_SED+set}" = set; then
4054
echo $ECHO_N "(cached) $ECHO_C" >&6
4056
# Loop through the user's path and test for sed and gsed.
4057
# Then use that list of sed's as ones to test for truncation.
4058
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4062
test -z "$as_dir" && as_dir=.
4063
for lt_ac_prog in sed gsed; do
4064
for ac_exec_ext in '' $ac_executable_extensions; do
4065
if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4066
lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4074
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4075
# along with /bin/sed that truncates output.
4076
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4077
test ! -f $lt_ac_sed && continue
4078
cat /dev/null > conftest.in
4080
echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4081
# Check for GNU sed and select it if it is found.
4082
if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4083
lt_cv_path_SED=$lt_ac_sed
4087
cat conftest.in conftest.in >conftest.tmp
4088
mv conftest.tmp conftest.in
4089
cp conftest.in conftest.nl
4091
$lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4092
cmp -s conftest.out conftest.nl || break
4093
# 10000 chars as input seems more than enough
4094
test $lt_ac_count -gt 10 && break
4095
lt_ac_count=`expr $lt_ac_count + 1`
4096
if test $lt_ac_count -gt $lt_ac_max; then
4097
lt_ac_max=$lt_ac_count
4098
lt_cv_path_SED=$lt_ac_sed
4107
{ echo "$as_me:$LINENO: result: $SED" >&5
4108
echo "${ECHO_T}$SED" >&6; }
4110
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4111
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4112
if test "${ac_cv_path_GREP+set}" = set; then
4113
echo $ECHO_N "(cached) $ECHO_C" >&6
4115
# Extract the first word of "grep ggrep" to use in msg output
4116
if test -z "$GREP"; then
4117
set dummy grep ggrep; ac_prog_name=$2
4118
if test "${ac_cv_path_GREP+set}" = set; then
4119
echo $ECHO_N "(cached) $ECHO_C" >&6
4121
ac_path_GREP_found=false
4122
# Loop through the user's path and test for each of PROGNAME-LIST
4123
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4124
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4127
test -z "$as_dir" && as_dir=.
4128
for ac_prog in grep ggrep; do
4129
for ac_exec_ext in '' $ac_executable_extensions; do
4130
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4131
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4132
# Check for GNU ac_path_GREP and select it if it is found.
4133
# Check for GNU $ac_path_GREP
4134
case `"$ac_path_GREP" --version 2>&1` in
4136
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4139
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4142
cat "conftest.in" "conftest.in" >"conftest.tmp"
4143
mv "conftest.tmp" "conftest.in"
4144
cp "conftest.in" "conftest.nl"
4145
echo 'GREP' >> "conftest.nl"
4146
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4147
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4148
ac_count=`expr $ac_count + 1`
4149
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4150
# Best one so far, save it but keep looking for a better one
4151
ac_cv_path_GREP="$ac_path_GREP"
4152
ac_path_GREP_max=$ac_count
4154
# 10*(2^10) chars as input seems more than enough
4155
test $ac_count -gt 10 && break
4157
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4161
$ac_path_GREP_found && break 3
4171
GREP="$ac_cv_path_GREP"
4172
if test -z "$GREP"; then
4173
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4174
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4175
{ (exit 1); exit 1; }; }
4179
ac_cv_path_GREP=$GREP
4184
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4185
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4186
GREP="$ac_cv_path_GREP"
4189
{ echo "$as_me:$LINENO: checking for egrep" >&5
4190
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4191
if test "${ac_cv_path_EGREP+set}" = set; then
4192
echo $ECHO_N "(cached) $ECHO_C" >&6
4194
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4195
then ac_cv_path_EGREP="$GREP -E"
4197
# Extract the first word of "egrep" to use in msg output
4198
if test -z "$EGREP"; then
4199
set dummy egrep; ac_prog_name=$2
4200
if test "${ac_cv_path_EGREP+set}" = set; then
4201
echo $ECHO_N "(cached) $ECHO_C" >&6
4203
ac_path_EGREP_found=false
4204
# Loop through the user's path and test for each of PROGNAME-LIST
4205
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4206
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4209
test -z "$as_dir" && as_dir=.
4210
for ac_prog in egrep; do
4211
for ac_exec_ext in '' $ac_executable_extensions; do
4212
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4213
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4214
# Check for GNU ac_path_EGREP and select it if it is found.
4215
# Check for GNU $ac_path_EGREP
4216
case `"$ac_path_EGREP" --version 2>&1` in
4218
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4221
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4224
cat "conftest.in" "conftest.in" >"conftest.tmp"
4225
mv "conftest.tmp" "conftest.in"
4226
cp "conftest.in" "conftest.nl"
4227
echo 'EGREP' >> "conftest.nl"
4228
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4229
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4230
ac_count=`expr $ac_count + 1`
4231
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4232
# Best one so far, save it but keep looking for a better one
4233
ac_cv_path_EGREP="$ac_path_EGREP"
4234
ac_path_EGREP_max=$ac_count
4236
# 10*(2^10) chars as input seems more than enough
4237
test $ac_count -gt 10 && break
4239
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4243
$ac_path_EGREP_found && break 3
4253
EGREP="$ac_cv_path_EGREP"
4254
if test -z "$EGREP"; then
4255
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4256
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4257
{ (exit 1); exit 1; }; }
4261
ac_cv_path_EGREP=$EGREP
4267
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4268
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4269
EGREP="$ac_cv_path_EGREP"
4273
# Check whether --with-gnu-ld was given.
4274
if test "${with_gnu_ld+set}" = set; then
4275
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4281
if test "$GCC" = yes; then
4282
# Check if gcc -print-prog-name=ld gives a path.
4283
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4284
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4287
# gcc leaves a trailing carriage return which upsets mingw
4288
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4290
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4293
# Accept absolute paths.
4295
re_direlt='/[^/][^/]*/\.\./'
4296
# Canonicalize the pathname of ld
4297
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4298
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4299
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4301
test -z "$LD" && LD="$ac_prog"
4304
# If it fails, then pretend we aren't using GCC.
4308
# If it is relative, then search for the first ld in PATH.
4312
elif test "$with_gnu_ld" = yes; then
4313
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
4314
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4316
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4317
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4319
if test "${lt_cv_path_LD+set}" = set; then
4320
echo $ECHO_N "(cached) $ECHO_C" >&6
4322
if test -z "$LD"; then
4323
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4324
for ac_dir in $PATH; do
4326
test -z "$ac_dir" && ac_dir=.
4327
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4328
lt_cv_path_LD="$ac_dir/$ac_prog"
4329
# Check to see if the program is GNU ld. I'd rather use --version,
4330
# but apparently some variants of GNU ld only accept -v.
4331
# Break only if it was the GNU/non-GNU ld that we prefer.
4332
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4333
*GNU* | *'with BFD'*)
4334
test "$with_gnu_ld" != no && break
4337
test "$with_gnu_ld" != yes && break
4344
lt_cv_path_LD="$LD" # Let the user override the test with a path.
4349
if test -n "$LD"; then
4350
{ echo "$as_me:$LINENO: result: $LD" >&5
4351
echo "${ECHO_T}$LD" >&6; }
4353
{ echo "$as_me:$LINENO: result: no" >&5
4354
echo "${ECHO_T}no" >&6; }
4356
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4357
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4358
{ (exit 1); exit 1; }; }
4359
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4360
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4361
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4362
echo $ECHO_N "(cached) $ECHO_C" >&6
4364
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4365
case `$LD -v 2>&1 </dev/null` in
4366
*GNU* | *'with BFD'*)
4367
lt_cv_prog_gnu_ld=yes
4370
lt_cv_prog_gnu_ld=no
4374
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4375
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4376
with_gnu_ld=$lt_cv_prog_gnu_ld
4379
{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4380
echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4381
if test "${lt_cv_ld_reload_flag+set}" = set; then
4382
echo $ECHO_N "(cached) $ECHO_C" >&6
4384
lt_cv_ld_reload_flag='-r'
4386
{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4387
echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4388
reload_flag=$lt_cv_ld_reload_flag
4389
case $reload_flag in
4391
*) reload_flag=" $reload_flag" ;;
4393
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4396
if test "$GCC" = yes; then
4397
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4399
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4404
{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4405
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4406
if test "${lt_cv_path_NM+set}" = set; then
4407
echo $ECHO_N "(cached) $ECHO_C" >&6
4409
if test -n "$NM"; then
4410
# Let the user override the test.
4413
lt_nm_to_check="${ac_tool_prefix}nm"
4414
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4415
lt_nm_to_check="$lt_nm_to_check nm"
4417
for lt_tmp_nm in $lt_nm_to_check; do
4418
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4419
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4421
test -z "$ac_dir" && ac_dir=.
4422
tmp_nm="$ac_dir/$lt_tmp_nm"
4423
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4424
# Check to see if the nm accepts a BSD-compat flag.
4425
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4426
# nm: unknown option "B" ignored
4427
# Tru64's nm complains that /dev/null is an invalid object file
4428
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4429
*/dev/null* | *'Invalid file or object type'*)
4430
lt_cv_path_NM="$tmp_nm -B"
4434
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4436
lt_cv_path_NM="$tmp_nm -p"
4440
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4441
continue # so that we can try to find one that supports BSD flags
4450
test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4453
{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4454
echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4457
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
4458
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
4460
if test "$LN_S" = "ln -s"; then
4461
{ echo "$as_me:$LINENO: result: yes" >&5
4462
echo "${ECHO_T}yes" >&6; }
4464
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4465
echo "${ECHO_T}no, using $LN_S" >&6; }
4468
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4469
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
4470
if test "${lt_cv_deplibs_check_method+set}" = set; then
4471
echo $ECHO_N "(cached) $ECHO_C" >&6
4473
lt_cv_file_magic_cmd='$MAGIC_CMD'
4474
lt_cv_file_magic_test_file=
4475
lt_cv_deplibs_check_method='unknown'
4476
# Need to set the preceding variable on all platforms that support
4477
# interlibrary dependencies.
4478
# 'none' -- dependencies not supported.
4479
# `unknown' -- same as none, but documents that we really don't know.
4480
# 'pass_all' -- all dependencies passed with no checks.
4481
# 'test_compile' -- check by making test program.
4482
# 'file_magic [[regex]]' -- check by looking for files in library path
4483
# which responds to the $file_magic_cmd with a given extended regex.
4484
# If you have `file' or equivalent on your system and you're not sure
4485
# whether `pass_all' will *always* work, you probably want this one.
4489
lt_cv_deplibs_check_method=pass_all
4493
lt_cv_deplibs_check_method=pass_all
4497
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4498
lt_cv_file_magic_cmd='/usr/bin/file -L'
4499
lt_cv_file_magic_test_file=/shlib/libc.so
4503
# func_win32_libid is a shell function defined in ltmain.sh
4504
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4505
lt_cv_file_magic_cmd='func_win32_libid'
4509
# Base MSYS/MinGW do not provide the 'file' command needed by
4510
# func_win32_libid shell function, so use a weaker test based on 'objdump'.
4511
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4512
lt_cv_file_magic_cmd='$OBJDUMP -f'
4515
darwin* | rhapsody*)
4516
lt_cv_deplibs_check_method=pass_all
4519
freebsd* | kfreebsd*-gnu | dragonfly*)
4520
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4523
# Not sure whether the presence of OpenBSD here was a mistake.
4524
# Let's accept both of them until this is cleared up.
4525
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4526
lt_cv_file_magic_cmd=/usr/bin/file
4527
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4531
lt_cv_deplibs_check_method=pass_all
4536
lt_cv_deplibs_check_method=pass_all
4539
hpux10.20* | hpux11*)
4540
lt_cv_file_magic_cmd=/usr/bin/file
4543
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4544
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4547
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]'
4548
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4551
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4552
lt_cv_file_magic_test_file=/usr/lib/libc.sl
4558
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4559
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4562
irix5* | irix6* | nonstopux*)
4564
*-32|*"-32 ") libmagic=32-bit;;
4565
*-n32|*"-n32 ") libmagic=N32;;
4566
*-64|*"-64 ") libmagic=64-bit;;
4567
*) libmagic=never-match;;
4569
lt_cv_deplibs_check_method=pass_all
4572
# This must be Linux ELF.
4574
lt_cv_deplibs_check_method=pass_all
4578
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4579
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4581
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4586
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4587
lt_cv_file_magic_cmd=/usr/bin/file
4588
lt_cv_file_magic_test_file=/usr/lib/libnls.so
4592
lt_cv_deplibs_check_method=unknown
4596
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4597
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4599
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4603
osf3* | osf4* | osf5*)
4604
lt_cv_deplibs_check_method=pass_all
4608
lt_cv_deplibs_check_method=pass_all
4612
case $host_vendor in
4614
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]'
4615
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4618
lt_cv_deplibs_check_method=pass_all
4621
lt_cv_file_magic_cmd='/bin/file'
4622
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4625
lt_cv_file_magic_cmd='/bin/file'
4626
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4627
lt_cv_file_magic_test_file=/lib/libc.so
4630
lt_cv_deplibs_check_method=pass_all
4633
lt_cv_deplibs_check_method=pass_all
4638
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4639
lt_cv_deplibs_check_method=pass_all
4644
{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4645
echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4646
file_magic_cmd=$lt_cv_file_magic_cmd
4647
deplibs_check_method=$lt_cv_deplibs_check_method
4648
test -z "$deplibs_check_method" && deplibs_check_method=unknown
4653
# If no C compiler was specified, use CC.
4656
# If no C compiler flags were specified, use CFLAGS.
4657
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4659
# Allow CC to be a program name with arguments.
4663
# Check whether --enable-libtool-lock was given.
4664
if test "${enable_libtool_lock+set}" = set; then
4665
enableval=$enable_libtool_lock;
4668
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4670
# Some flags need to be propagated to the compiler or linker for good
4674
# Find out which ABI we are using.
4675
echo 'int i;' > conftest.$ac_ext
4676
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4677
(eval $ac_compile) 2>&5
4679
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680
(exit $ac_status); }; then
4681
case `/usr/bin/file conftest.$ac_objext` in
4693
# Find out which ABI we are using.
4694
echo '#line 4694 "configure"' > conftest.$ac_ext
4695
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4696
(eval $ac_compile) 2>&5
4698
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699
(exit $ac_status); }; then
4700
if test "$lt_cv_prog_gnu_ld" = yes; then
4701
case `/usr/bin/file conftest.$ac_objext` in
4703
LD="${LD-ld} -melf32bsmip"
4706
LD="${LD-ld} -melf32bmipn32"
4709
LD="${LD-ld} -melf64bmip"
4713
case `/usr/bin/file conftest.$ac_objext` in
4729
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4730
# Find out which ABI we are using.
4731
echo 'int i;' > conftest.$ac_ext
4732
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4733
(eval $ac_compile) 2>&5
4735
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736
(exit $ac_status); }; then
4737
case `/usr/bin/file conftest.o` in
4741
LD="${LD-ld} -m elf_i386"
4743
ppc64-*linux*|powerpc64-*linux*)
4744
LD="${LD-ld} -m elf32ppclinux"
4747
LD="${LD-ld} -m elf_s390"
4750
LD="${LD-ld} -m elf32_sparc"
4757
LD="${LD-ld} -m elf_x86_64"
4759
ppc*-*linux*|powerpc*-*linux*)
4760
LD="${LD-ld} -m elf64ppc"
4763
LD="${LD-ld} -m elf64_s390"
4766
LD="${LD-ld} -m elf64_sparc"
4776
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
4777
SAVE_CFLAGS="$CFLAGS"
4778
CFLAGS="$CFLAGS -belf"
4779
{ echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4780
echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4781
if test "${lt_cv_cc_needs_belf+set}" = set; then
4782
echo $ECHO_N "(cached) $ECHO_C" >&6
4785
ac_cpp='$CPP $CPPFLAGS'
4786
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4787
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4788
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4790
cat >conftest.$ac_ext <<_ACEOF
4793
cat confdefs.h >>conftest.$ac_ext
4794
cat >>conftest.$ac_ext <<_ACEOF
4795
/* end confdefs.h. */
4805
rm -f conftest.$ac_objext conftest$ac_exeext
4806
if { (ac_try="$ac_link"
4808
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4809
*) ac_try_echo=$ac_try;;
4811
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4812
(eval "$ac_link") 2>conftest.er1
4814
grep -v '^ *+' conftest.er1 >conftest.err
4816
cat conftest.err >&5
4817
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4818
(exit $ac_status); } && {
4819
test -z "$ac_c_werror_flag" ||
4820
test ! -s conftest.err
4821
} && test -s conftest$ac_exeext &&
4822
$as_test_x conftest$ac_exeext; then
4823
lt_cv_cc_needs_belf=yes
4825
echo "$as_me: failed program was:" >&5
4826
sed 's/^/| /' conftest.$ac_ext >&5
4828
lt_cv_cc_needs_belf=no
4831
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4832
conftest$ac_exeext conftest.$ac_ext
4834
ac_cpp='$CPP $CPPFLAGS'
4835
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4836
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4837
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4840
{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4841
echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4842
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4843
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4844
CFLAGS="$SAVE_CFLAGS"
4848
# Find out which ABI we are using.
4849
echo 'int i;' > conftest.$ac_ext
4850
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4851
(eval $ac_compile) 2>&5
4853
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854
(exit $ac_status); }; then
4855
case `/usr/bin/file conftest.o` in
4857
case $lt_cv_prog_gnu_ld in
4858
yes*) LD="${LD-ld} -m elf64_sparc" ;;
4859
*) LD="${LD-ld} -64" ;;
4870
need_locks="$enable_libtool_lock"
4874
ac_cpp='$CPP $CPPFLAGS'
4875
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4876
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4877
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4878
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4879
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
4880
# On Suns, sometimes $CPP names a directory.
4881
if test -n "$CPP" && test -d "$CPP"; then
4884
if test -z "$CPP"; then
4885
if test "${ac_cv_prog_CPP+set}" = set; then
4886
echo $ECHO_N "(cached) $ECHO_C" >&6
4888
# Double quotes because CPP needs to be expanded
4889
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4892
for ac_c_preproc_warn_flag in '' yes
4894
# Use a header file that comes with gcc, so configuring glibc
4895
# with a fresh cross-compiler works.
4896
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4897
# <limits.h> exists even on freestanding compilers.
4898
# On the NeXT, cc -E runs the code through the compiler's parser,
4899
# not just through cpp. "Syntax error" is here to catch this case.
4900
cat >conftest.$ac_ext <<_ACEOF
4903
cat confdefs.h >>conftest.$ac_ext
4904
cat >>conftest.$ac_ext <<_ACEOF
4905
/* end confdefs.h. */
4907
# include <limits.h>
4909
# include <assert.h>
4913
if { (ac_try="$ac_cpp conftest.$ac_ext"
4915
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4916
*) ac_try_echo=$ac_try;;
4918
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4919
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4921
grep -v '^ *+' conftest.er1 >conftest.err
4923
cat conftest.err >&5
4924
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925
(exit $ac_status); } >/dev/null && {
4926
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4927
test ! -s conftest.err
4931
echo "$as_me: failed program was:" >&5
4932
sed 's/^/| /' conftest.$ac_ext >&5
4934
# Broken: fails on valid input.
4938
rm -f conftest.err conftest.$ac_ext
4940
# OK, works on sane cases. Now check whether nonexistent headers
4941
# can be detected and how.
4942
cat >conftest.$ac_ext <<_ACEOF
4945
cat confdefs.h >>conftest.$ac_ext
4946
cat >>conftest.$ac_ext <<_ACEOF
4947
/* end confdefs.h. */
4948
#include <ac_nonexistent.h>
4950
if { (ac_try="$ac_cpp conftest.$ac_ext"
4952
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4953
*) ac_try_echo=$ac_try;;
4955
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4956
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4958
grep -v '^ *+' conftest.er1 >conftest.err
4960
cat conftest.err >&5
4961
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4962
(exit $ac_status); } >/dev/null && {
4963
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4964
test ! -s conftest.err
4966
# Broken: success on invalid input.
4969
echo "$as_me: failed program was:" >&5
4970
sed 's/^/| /' conftest.$ac_ext >&5
4972
# Passes both tests.
4977
rm -f conftest.err conftest.$ac_ext
4980
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4981
rm -f conftest.err conftest.$ac_ext
4982
if $ac_preproc_ok; then
4994
{ echo "$as_me:$LINENO: result: $CPP" >&5
4995
echo "${ECHO_T}$CPP" >&6; }
4997
for ac_c_preproc_warn_flag in '' yes
4999
# Use a header file that comes with gcc, so configuring glibc
5000
# with a fresh cross-compiler works.
5001
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5002
# <limits.h> exists even on freestanding compilers.
5003
# On the NeXT, cc -E runs the code through the compiler's parser,
5004
# not just through cpp. "Syntax error" is here to catch this case.
5005
cat >conftest.$ac_ext <<_ACEOF
5008
cat confdefs.h >>conftest.$ac_ext
5009
cat >>conftest.$ac_ext <<_ACEOF
5010
/* end confdefs.h. */
5012
# include <limits.h>
5014
# include <assert.h>
5018
if { (ac_try="$ac_cpp conftest.$ac_ext"
5020
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5021
*) ac_try_echo=$ac_try;;
5023
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5024
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5026
grep -v '^ *+' conftest.er1 >conftest.err
5028
cat conftest.err >&5
5029
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030
(exit $ac_status); } >/dev/null && {
5031
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5032
test ! -s conftest.err
5036
echo "$as_me: failed program was:" >&5
5037
sed 's/^/| /' conftest.$ac_ext >&5
5039
# Broken: fails on valid input.
5043
rm -f conftest.err conftest.$ac_ext
5045
# OK, works on sane cases. Now check whether nonexistent headers
5046
# can be detected and how.
5047
cat >conftest.$ac_ext <<_ACEOF
5050
cat confdefs.h >>conftest.$ac_ext
5051
cat >>conftest.$ac_ext <<_ACEOF
5052
/* end confdefs.h. */
5053
#include <ac_nonexistent.h>
5055
if { (ac_try="$ac_cpp conftest.$ac_ext"
5057
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5058
*) ac_try_echo=$ac_try;;
5060
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5061
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5063
grep -v '^ *+' conftest.er1 >conftest.err
5065
cat conftest.err >&5
5066
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5067
(exit $ac_status); } >/dev/null && {
5068
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5069
test ! -s conftest.err
5071
# Broken: success on invalid input.
5074
echo "$as_me: failed program was:" >&5
5075
sed 's/^/| /' conftest.$ac_ext >&5
5077
# Passes both tests.
5082
rm -f conftest.err conftest.$ac_ext
5085
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5086
rm -f conftest.err conftest.$ac_ext
5087
if $ac_preproc_ok; then
5090
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5091
See \`config.log' for more details." >&5
5092
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5093
See \`config.log' for more details." >&2;}
5094
{ (exit 1); exit 1; }; }
5098
ac_cpp='$CPP $CPPFLAGS'
5099
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5100
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5101
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5104
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5105
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5106
if test "${ac_cv_header_stdc+set}" = set; then
5107
echo $ECHO_N "(cached) $ECHO_C" >&6
5109
cat >conftest.$ac_ext <<_ACEOF
5112
cat confdefs.h >>conftest.$ac_ext
5113
cat >>conftest.$ac_ext <<_ACEOF
5114
/* end confdefs.h. */
5128
rm -f conftest.$ac_objext
5129
if { (ac_try="$ac_compile"
5131
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5132
*) ac_try_echo=$ac_try;;
5134
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5135
(eval "$ac_compile") 2>conftest.er1
5137
grep -v '^ *+' conftest.er1 >conftest.err
5139
cat conftest.err >&5
5140
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141
(exit $ac_status); } && {
5142
test -z "$ac_c_werror_flag" ||
5143
test ! -s conftest.err
5144
} && test -s conftest.$ac_objext; then
5145
ac_cv_header_stdc=yes
5147
echo "$as_me: failed program was:" >&5
5148
sed 's/^/| /' conftest.$ac_ext >&5
5150
ac_cv_header_stdc=no
5153
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5155
if test $ac_cv_header_stdc = yes; then
5156
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5157
cat >conftest.$ac_ext <<_ACEOF
5160
cat confdefs.h >>conftest.$ac_ext
5161
cat >>conftest.$ac_ext <<_ACEOF
5162
/* end confdefs.h. */
5166
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5167
$EGREP "memchr" >/dev/null 2>&1; then
5170
ac_cv_header_stdc=no
5176
if test $ac_cv_header_stdc = yes; then
5177
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5178
cat >conftest.$ac_ext <<_ACEOF
5181
cat confdefs.h >>conftest.$ac_ext
5182
cat >>conftest.$ac_ext <<_ACEOF
5183
/* end confdefs.h. */
5187
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5188
$EGREP "free" >/dev/null 2>&1; then
5191
ac_cv_header_stdc=no
5197
if test $ac_cv_header_stdc = yes; then
5198
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5199
if test "$cross_compiling" = yes; then
5202
cat >conftest.$ac_ext <<_ACEOF
5205
cat confdefs.h >>conftest.$ac_ext
5206
cat >>conftest.$ac_ext <<_ACEOF
5207
/* end confdefs.h. */
5210
#if ((' ' & 0x0FF) == 0x020)
5211
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5212
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5214
# define ISLOWER(c) \
5215
(('a' <= (c) && (c) <= 'i') \
5216
|| ('j' <= (c) && (c) <= 'r') \
5217
|| ('s' <= (c) && (c) <= 'z'))
5218
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5221
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5226
for (i = 0; i < 256; i++)
5227
if (XOR (islower (i), ISLOWER (i))
5228
|| toupper (i) != TOUPPER (i))
5233
rm -f conftest$ac_exeext
5234
if { (ac_try="$ac_link"
5236
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5237
*) ac_try_echo=$ac_try;;
5239
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5240
(eval "$ac_link") 2>&5
5242
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5243
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5244
{ (case "(($ac_try" in
5245
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5246
*) ac_try_echo=$ac_try;;
5248
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5249
(eval "$ac_try") 2>&5
5251
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252
(exit $ac_status); }; }; then
5255
echo "$as_me: program exited with status $ac_status" >&5
5256
echo "$as_me: failed program was:" >&5
5257
sed 's/^/| /' conftest.$ac_ext >&5
5260
ac_cv_header_stdc=no
5262
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5268
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5269
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5270
if test $ac_cv_header_stdc = yes; then
5272
cat >>confdefs.h <<\_ACEOF
5273
#define STDC_HEADERS 1
5278
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5288
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5289
inttypes.h stdint.h unistd.h
5291
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5292
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5293
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5294
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5295
echo $ECHO_N "(cached) $ECHO_C" >&6
5297
cat >conftest.$ac_ext <<_ACEOF
5300
cat confdefs.h >>conftest.$ac_ext
5301
cat >>conftest.$ac_ext <<_ACEOF
5302
/* end confdefs.h. */
5303
$ac_includes_default
5305
#include <$ac_header>
5307
rm -f conftest.$ac_objext
5308
if { (ac_try="$ac_compile"
5310
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5311
*) ac_try_echo=$ac_try;;
5313
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5314
(eval "$ac_compile") 2>conftest.er1
5316
grep -v '^ *+' conftest.er1 >conftest.err
5318
cat conftest.err >&5
5319
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320
(exit $ac_status); } && {
5321
test -z "$ac_c_werror_flag" ||
5322
test ! -s conftest.err
5323
} && test -s conftest.$ac_objext; then
5324
eval "$as_ac_Header=yes"
5326
echo "$as_me: failed program was:" >&5
5327
sed 's/^/| /' conftest.$ac_ext >&5
5329
eval "$as_ac_Header=no"
5332
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5334
ac_res=`eval echo '${'$as_ac_Header'}'`
5335
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5336
echo "${ECHO_T}$ac_res" >&6; }
5337
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5338
cat >>confdefs.h <<_ACEOF
5339
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5348
for ac_header in dlfcn.h
5350
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5351
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5352
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5353
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5354
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5355
echo $ECHO_N "(cached) $ECHO_C" >&6
5357
ac_res=`eval echo '${'$as_ac_Header'}'`
5358
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5359
echo "${ECHO_T}$ac_res" >&6; }
5361
# Is the header compilable?
5362
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5363
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5364
cat >conftest.$ac_ext <<_ACEOF
5367
cat confdefs.h >>conftest.$ac_ext
5368
cat >>conftest.$ac_ext <<_ACEOF
5369
/* end confdefs.h. */
5370
$ac_includes_default
5371
#include <$ac_header>
5373
rm -f conftest.$ac_objext
5374
if { (ac_try="$ac_compile"
5376
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5377
*) ac_try_echo=$ac_try;;
5379
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5380
(eval "$ac_compile") 2>conftest.er1
5382
grep -v '^ *+' conftest.er1 >conftest.err
5384
cat conftest.err >&5
5385
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5386
(exit $ac_status); } && {
5387
test -z "$ac_c_werror_flag" ||
5388
test ! -s conftest.err
5389
} && test -s conftest.$ac_objext; then
5390
ac_header_compiler=yes
5392
echo "$as_me: failed program was:" >&5
5393
sed 's/^/| /' conftest.$ac_ext >&5
5395
ac_header_compiler=no
5398
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5399
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5400
echo "${ECHO_T}$ac_header_compiler" >&6; }
5402
# Is the header present?
5403
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5404
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5405
cat >conftest.$ac_ext <<_ACEOF
5408
cat confdefs.h >>conftest.$ac_ext
5409
cat >>conftest.$ac_ext <<_ACEOF
5410
/* end confdefs.h. */
5411
#include <$ac_header>
5413
if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.er1
5421
grep -v '^ *+' conftest.er1 >conftest.err
5423
cat conftest.err >&5
5424
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425
(exit $ac_status); } >/dev/null && {
5426
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5427
test ! -s conftest.err
5429
ac_header_preproc=yes
5431
echo "$as_me: failed program was:" >&5
5432
sed 's/^/| /' conftest.$ac_ext >&5
5434
ac_header_preproc=no
5437
rm -f conftest.err conftest.$ac_ext
5438
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5439
echo "${ECHO_T}$ac_header_preproc" >&6; }
5441
# So? What about this header?
5442
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5444
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5445
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5446
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5447
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5448
ac_header_preproc=yes
5451
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5452
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5453
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5454
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5455
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5456
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5457
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5458
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5459
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5460
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5461
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5462
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5464
## ------------------------------ ##
5465
## Report this to dcbw@redhat.com ##
5466
## ------------------------------ ##
5468
) | sed "s/^/$as_me: WARNING: /" >&2
5471
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5472
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5473
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5474
echo $ECHO_N "(cached) $ECHO_C" >&6
5476
eval "$as_ac_Header=\$ac_header_preproc"
5478
ac_res=`eval echo '${'$as_ac_Header'}'`
5479
{ echo "$as_me:$LINENO: result: $ac_res" >&5
5480
echo "${ECHO_T}$ac_res" >&6; }
5483
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5484
cat >>confdefs.h <<_ACEOF
5485
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5493
ac_cpp='$CXXCPP $CPPFLAGS'
5494
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5495
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5496
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5497
if test -z "$CXX"; then
5498
if test -n "$CCC"; then
5501
if test -n "$ac_tool_prefix"; then
5502
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5504
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5505
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5506
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5507
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5508
if test "${ac_cv_prog_CXX+set}" = set; then
5509
echo $ECHO_N "(cached) $ECHO_C" >&6
5511
if test -n "$CXX"; then
5512
ac_cv_prog_CXX="$CXX" # Let the user override the test.
5514
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5518
test -z "$as_dir" && as_dir=.
5519
for ac_exec_ext in '' $ac_executable_extensions; do
5520
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5521
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5522
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5532
if test -n "$CXX"; then
5533
{ echo "$as_me:$LINENO: result: $CXX" >&5
5534
echo "${ECHO_T}$CXX" >&6; }
5536
{ echo "$as_me:$LINENO: result: no" >&5
5537
echo "${ECHO_T}no" >&6; }
5541
test -n "$CXX" && break
5544
if test -z "$CXX"; then
5546
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5548
# Extract the first word of "$ac_prog", so it can be a program name with args.
5549
set dummy $ac_prog; ac_word=$2
5550
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5551
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5552
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
5553
echo $ECHO_N "(cached) $ECHO_C" >&6
5555
if test -n "$ac_ct_CXX"; then
5556
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5558
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562
test -z "$as_dir" && as_dir=.
5563
for ac_exec_ext in '' $ac_executable_extensions; do
5564
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5565
ac_cv_prog_ac_ct_CXX="$ac_prog"
5566
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5575
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5576
if test -n "$ac_ct_CXX"; then
5577
{ echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
5578
echo "${ECHO_T}$ac_ct_CXX" >&6; }
5580
{ echo "$as_me:$LINENO: result: no" >&5
5581
echo "${ECHO_T}no" >&6; }
5585
test -n "$ac_ct_CXX" && break
5588
if test "x$ac_ct_CXX" = x; then
5591
case $cross_compiling:$ac_tool_warned in
5593
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5594
whose name does not start with the host triplet. If you think this
5595
configuration is useful to you, please write to autoconf@gnu.org." >&5
5596
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5597
whose name does not start with the host triplet. If you think this
5598
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5599
ac_tool_warned=yes ;;
5607
# Provide some information about the compiler.
5608
echo "$as_me:$LINENO: checking for C++ compiler version" >&5
5609
ac_compiler=`set X $ac_compile; echo $2`
5610
{ (ac_try="$ac_compiler --version >&5"
5612
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5613
*) ac_try_echo=$ac_try;;
5615
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5616
(eval "$ac_compiler --version >&5") 2>&5
5618
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5619
(exit $ac_status); }
5620
{ (ac_try="$ac_compiler -v >&5"
5622
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5623
*) ac_try_echo=$ac_try;;
5625
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5626
(eval "$ac_compiler -v >&5") 2>&5
5628
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5629
(exit $ac_status); }
5630
{ (ac_try="$ac_compiler -V >&5"
5632
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5633
*) ac_try_echo=$ac_try;;
5635
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5636
(eval "$ac_compiler -V >&5") 2>&5
5638
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639
(exit $ac_status); }
5641
{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
5642
echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
5643
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
5644
echo $ECHO_N "(cached) $ECHO_C" >&6
5646
cat >conftest.$ac_ext <<_ACEOF
5649
cat confdefs.h >>conftest.$ac_ext
5650
cat >>conftest.$ac_ext <<_ACEOF
5651
/* end confdefs.h. */
5664
rm -f conftest.$ac_objext
5665
if { (ac_try="$ac_compile"
5667
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5668
*) ac_try_echo=$ac_try;;
5670
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5671
(eval "$ac_compile") 2>conftest.er1
5673
grep -v '^ *+' conftest.er1 >conftest.err
5675
cat conftest.err >&5
5676
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677
(exit $ac_status); } && {
5678
test -z "$ac_cxx_werror_flag" ||
5679
test ! -s conftest.err
5680
} && test -s conftest.$ac_objext; then
5683
echo "$as_me: failed program was:" >&5
5684
sed 's/^/| /' conftest.$ac_ext >&5
5689
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5690
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5693
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5694
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5695
GXX=`test $ac_compiler_gnu = yes && echo yes`
5696
ac_test_CXXFLAGS=${CXXFLAGS+set}
5697
ac_save_CXXFLAGS=$CXXFLAGS
5698
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5699
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5700
if test "${ac_cv_prog_cxx_g+set}" = set; then
5701
echo $ECHO_N "(cached) $ECHO_C" >&6
5703
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5704
ac_cxx_werror_flag=yes
5707
cat >conftest.$ac_ext <<_ACEOF
5710
cat confdefs.h >>conftest.$ac_ext
5711
cat >>conftest.$ac_ext <<_ACEOF
5712
/* end confdefs.h. */
5722
rm -f conftest.$ac_objext
5723
if { (ac_try="$ac_compile"
5725
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5726
*) ac_try_echo=$ac_try;;
5728
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5729
(eval "$ac_compile") 2>conftest.er1
5731
grep -v '^ *+' conftest.er1 >conftest.err
5733
cat conftest.err >&5
5734
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735
(exit $ac_status); } && {
5736
test -z "$ac_cxx_werror_flag" ||
5737
test ! -s conftest.err
5738
} && test -s conftest.$ac_objext; then
5739
ac_cv_prog_cxx_g=yes
5741
echo "$as_me: failed program was:" >&5
5742
sed 's/^/| /' conftest.$ac_ext >&5
5745
cat >conftest.$ac_ext <<_ACEOF
5748
cat confdefs.h >>conftest.$ac_ext
5749
cat >>conftest.$ac_ext <<_ACEOF
5750
/* end confdefs.h. */
5760
rm -f conftest.$ac_objext
5761
if { (ac_try="$ac_compile"
5763
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5764
*) ac_try_echo=$ac_try;;
5766
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5767
(eval "$ac_compile") 2>conftest.er1
5769
grep -v '^ *+' conftest.er1 >conftest.err
5771
cat conftest.err >&5
5772
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773
(exit $ac_status); } && {
5774
test -z "$ac_cxx_werror_flag" ||
5775
test ! -s conftest.err
5776
} && test -s conftest.$ac_objext; then
5779
echo "$as_me: failed program was:" >&5
5780
sed 's/^/| /' conftest.$ac_ext >&5
5782
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5784
cat >conftest.$ac_ext <<_ACEOF
5787
cat confdefs.h >>conftest.$ac_ext
5788
cat >>conftest.$ac_ext <<_ACEOF
5789
/* end confdefs.h. */
5799
rm -f conftest.$ac_objext
5800
if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
5808
grep -v '^ *+' conftest.er1 >conftest.err
5810
cat conftest.err >&5
5811
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5812
(exit $ac_status); } && {
5813
test -z "$ac_cxx_werror_flag" ||
5814
test ! -s conftest.err
5815
} && test -s conftest.$ac_objext; then
5816
ac_cv_prog_cxx_g=yes
5818
echo "$as_me: failed program was:" >&5
5819
sed 's/^/| /' conftest.$ac_ext >&5
5824
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5827
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5830
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5831
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5833
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5834
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5835
if test "$ac_test_CXXFLAGS" = set; then
5836
CXXFLAGS=$ac_save_CXXFLAGS
5837
elif test $ac_cv_prog_cxx_g = yes; then
5838
if test "$GXX" = yes; then
5844
if test "$GXX" = yes; then
5851
ac_cpp='$CXXCPP $CPPFLAGS'
5852
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5853
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5854
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5856
depcc="$CXX" am_compiler_list=
5858
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5859
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
5860
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5861
echo $ECHO_N "(cached) $ECHO_C" >&6
5863
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5864
# We make a subdir and do the tests there. Otherwise we can end up
5865
# making bogus files that we don't know about and never remove. For
5866
# instance it was reported that on HP-UX the gcc test will end up
5867
# making a dummy file named `D' -- because `-MD' means `put the output
5870
# Copy depcomp to subdir because otherwise we won't find it if we're
5871
# using a relative directory.
5872
cp "$am_depcomp" conftest.dir
5874
# We will build objects and dependencies in a subdirectory because
5875
# it helps to detect inapplicable dependency modes. For instance
5876
# both Tru64's cc and ICC support -MD to output dependencies as a
5877
# side effect of compilation, but ICC will put the dependencies in
5878
# the current directory while Tru64 will put them in the object
5882
am_cv_CXX_dependencies_compiler_type=none
5883
if test "$am_compiler_list" = ""; then
5884
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5886
for depmode in $am_compiler_list; do
5887
# Setup a source with many dependencies, because some compilers
5888
# like to wrap large dependency lists on column 80 (with \), and
5889
# we should not choose a depcomp mode which is confused by this.
5891
# We need to recreate these files for each test, as the compiler may
5892
# overwrite some of them when testing with obscure command lines.
5893
# This happens at least with the AIX C compiler.
5895
for i in 1 2 3 4 5 6; do
5896
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5897
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5898
# Solaris 8's {/usr,}/bin/sh.
5899
touch sub/conftst$i.h
5901
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5905
# after this tag, mechanisms are not by side-effect, so they'll
5906
# only be used when explicitly requested
5907
if test "x$enable_dependency_tracking" = xyes; then
5915
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5916
# mode. It turns out that the SunPro C++ compiler does not properly
5917
# handle `-M -o', and we need to detect this.
5918
if depmode=$depmode \
5919
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
5920
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5921
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
5922
>/dev/null 2>conftest.err &&
5923
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5924
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5925
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
5926
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5927
# icc doesn't choke on unknown options, it will just issue warnings
5928
# or remarks (even with -Werror). So we grep stderr for any message
5929
# that says an option was ignored or not supported.
5930
# When given -MP, icc 7.0 and 7.1 complain thusly:
5931
# icc: Command line warning: ignoring option '-M'; no argument required
5932
# The diagnosis changed in icc 8.0:
5933
# icc: Command line remark: option '-MP' not supported
5934
if (grep 'ignoring option' conftest.err ||
5935
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5936
am_cv_CXX_dependencies_compiler_type=$depmode
5945
am_cv_CXX_dependencies_compiler_type=none
5949
{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5950
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
5951
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5954
test "x$enable_dependency_tracking" != xno \
5955
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5956
am__fastdepCXX_TRUE=
5957
am__fastdepCXX_FALSE='#'
5959
am__fastdepCXX_TRUE='#'
5960
am__fastdepCXX_FALSE=
5966
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5967
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5968
(test "X$CXX" != "Xg++"))) ; then
5970
ac_cpp='$CXXCPP $CPPFLAGS'
5971
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5972
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5973
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5974
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5975
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
5976
if test -z "$CXXCPP"; then
5977
if test "${ac_cv_prog_CXXCPP+set}" = set; then
5978
echo $ECHO_N "(cached) $ECHO_C" >&6
5980
# Double quotes because CXXCPP needs to be expanded
5981
for CXXCPP in "$CXX -E" "/lib/cpp"
5984
for ac_cxx_preproc_warn_flag in '' yes
5986
# Use a header file that comes with gcc, so configuring glibc
5987
# with a fresh cross-compiler works.
5988
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5989
# <limits.h> exists even on freestanding compilers.
5990
# On the NeXT, cc -E runs the code through the compiler's parser,
5991
# not just through cpp. "Syntax error" is here to catch this case.
5992
cat >conftest.$ac_ext <<_ACEOF
5995
cat confdefs.h >>conftest.$ac_ext
5996
cat >>conftest.$ac_ext <<_ACEOF
5997
/* end confdefs.h. */
5999
# include <limits.h>
6001
# include <assert.h>
6005
if { (ac_try="$ac_cpp conftest.$ac_ext"
6007
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6008
*) ac_try_echo=$ac_try;;
6010
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6011
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6013
grep -v '^ *+' conftest.er1 >conftest.err
6015
cat conftest.err >&5
6016
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6017
(exit $ac_status); } >/dev/null && {
6018
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6019
test ! -s conftest.err
6023
echo "$as_me: failed program was:" >&5
6024
sed 's/^/| /' conftest.$ac_ext >&5
6026
# Broken: fails on valid input.
6030
rm -f conftest.err conftest.$ac_ext
6032
# OK, works on sane cases. Now check whether nonexistent headers
6033
# can be detected and how.
6034
cat >conftest.$ac_ext <<_ACEOF
6037
cat confdefs.h >>conftest.$ac_ext
6038
cat >>conftest.$ac_ext <<_ACEOF
6039
/* end confdefs.h. */
6040
#include <ac_nonexistent.h>
6042
if { (ac_try="$ac_cpp conftest.$ac_ext"
6044
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6045
*) ac_try_echo=$ac_try;;
6047
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6048
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6050
grep -v '^ *+' conftest.er1 >conftest.err
6052
cat conftest.err >&5
6053
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6054
(exit $ac_status); } >/dev/null && {
6055
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6056
test ! -s conftest.err
6058
# Broken: success on invalid input.
6061
echo "$as_me: failed program was:" >&5
6062
sed 's/^/| /' conftest.$ac_ext >&5
6064
# Passes both tests.
6069
rm -f conftest.err conftest.$ac_ext
6072
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6073
rm -f conftest.err conftest.$ac_ext
6074
if $ac_preproc_ok; then
6079
ac_cv_prog_CXXCPP=$CXXCPP
6082
CXXCPP=$ac_cv_prog_CXXCPP
6084
ac_cv_prog_CXXCPP=$CXXCPP
6086
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6087
echo "${ECHO_T}$CXXCPP" >&6; }
6089
for ac_cxx_preproc_warn_flag in '' yes
6091
# Use a header file that comes with gcc, so configuring glibc
6092
# with a fresh cross-compiler works.
6093
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6094
# <limits.h> exists even on freestanding compilers.
6095
# On the NeXT, cc -E runs the code through the compiler's parser,
6096
# not just through cpp. "Syntax error" is here to catch this case.
6097
cat >conftest.$ac_ext <<_ACEOF
6100
cat confdefs.h >>conftest.$ac_ext
6101
cat >>conftest.$ac_ext <<_ACEOF
6102
/* end confdefs.h. */
6104
# include <limits.h>
6106
# include <assert.h>
6110
if { (ac_try="$ac_cpp conftest.$ac_ext"
6112
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6113
*) ac_try_echo=$ac_try;;
6115
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6116
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6118
grep -v '^ *+' conftest.er1 >conftest.err
6120
cat conftest.err >&5
6121
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122
(exit $ac_status); } >/dev/null && {
6123
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6124
test ! -s conftest.err
6128
echo "$as_me: failed program was:" >&5
6129
sed 's/^/| /' conftest.$ac_ext >&5
6131
# Broken: fails on valid input.
6135
rm -f conftest.err conftest.$ac_ext
6137
# OK, works on sane cases. Now check whether nonexistent headers
6138
# can be detected and how.
6139
cat >conftest.$ac_ext <<_ACEOF
6142
cat confdefs.h >>conftest.$ac_ext
6143
cat >>conftest.$ac_ext <<_ACEOF
6144
/* end confdefs.h. */
6145
#include <ac_nonexistent.h>
6147
if { (ac_try="$ac_cpp conftest.$ac_ext"
6149
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6150
*) ac_try_echo=$ac_try;;
6152
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6153
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6155
grep -v '^ *+' conftest.er1 >conftest.err
6157
cat conftest.err >&5
6158
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159
(exit $ac_status); } >/dev/null && {
6160
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6161
test ! -s conftest.err
6163
# Broken: success on invalid input.
6166
echo "$as_me: failed program was:" >&5
6167
sed 's/^/| /' conftest.$ac_ext >&5
6169
# Passes both tests.
6174
rm -f conftest.err conftest.$ac_ext
6177
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6178
rm -f conftest.err conftest.$ac_ext
6179
if $ac_preproc_ok; then
6182
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6183
See \`config.log' for more details." >&5
6184
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6185
See \`config.log' for more details." >&2;}
6186
{ (exit 1); exit 1; }; }
6190
ac_cpp='$CXXCPP $CPPFLAGS'
6191
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6192
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6193
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6199
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
6200
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6201
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6202
if test -n "$ac_tool_prefix"; then
6203
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
6205
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6206
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6207
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6208
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6209
if test "${ac_cv_prog_F77+set}" = set; then
6210
echo $ECHO_N "(cached) $ECHO_C" >&6
6212
if test -n "$F77"; then
6213
ac_cv_prog_F77="$F77" # Let the user override the test.
6215
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6219
test -z "$as_dir" && as_dir=.
6220
for ac_exec_ext in '' $ac_executable_extensions; do
6221
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6222
ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6223
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6233
if test -n "$F77"; then
6234
{ echo "$as_me:$LINENO: result: $F77" >&5
6235
echo "${ECHO_T}$F77" >&6; }
6237
{ echo "$as_me:$LINENO: result: no" >&5
6238
echo "${ECHO_T}no" >&6; }
6242
test -n "$F77" && break
6245
if test -z "$F77"; then
6247
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
6249
# Extract the first word of "$ac_prog", so it can be a program name with args.
6250
set dummy $ac_prog; ac_word=$2
6251
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6252
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6253
if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
6254
echo $ECHO_N "(cached) $ECHO_C" >&6
6256
if test -n "$ac_ct_F77"; then
6257
ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
6259
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263
test -z "$as_dir" && as_dir=.
6264
for ac_exec_ext in '' $ac_executable_extensions; do
6265
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6266
ac_cv_prog_ac_ct_F77="$ac_prog"
6267
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6276
ac_ct_F77=$ac_cv_prog_ac_ct_F77
6277
if test -n "$ac_ct_F77"; then
6278
{ echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
6279
echo "${ECHO_T}$ac_ct_F77" >&6; }
6281
{ echo "$as_me:$LINENO: result: no" >&5
6282
echo "${ECHO_T}no" >&6; }
6286
test -n "$ac_ct_F77" && break
6289
if test "x$ac_ct_F77" = x; then
6292
case $cross_compiling:$ac_tool_warned in
6294
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6295
whose name does not start with the host triplet. If you think this
6296
configuration is useful to you, please write to autoconf@gnu.org." >&5
6297
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6298
whose name does not start with the host triplet. If you think this
6299
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6300
ac_tool_warned=yes ;;
6307
# Provide some information about the compiler.
6308
echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
6309
ac_compiler=`set X $ac_compile; echo $2`
6310
{ (ac_try="$ac_compiler --version >&5"
6312
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6313
*) ac_try_echo=$ac_try;;
6315
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6316
(eval "$ac_compiler --version >&5") 2>&5
6318
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6319
(exit $ac_status); }
6320
{ (ac_try="$ac_compiler -v >&5"
6322
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6323
*) ac_try_echo=$ac_try;;
6325
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6326
(eval "$ac_compiler -v >&5") 2>&5
6328
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6329
(exit $ac_status); }
6330
{ (ac_try="$ac_compiler -V >&5"
6332
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6333
*) ac_try_echo=$ac_try;;
6335
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6336
(eval "$ac_compiler -V >&5") 2>&5
6338
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6339
(exit $ac_status); }
6342
# If we don't use `.F' as extension, the preprocessor is not run on the
6343
# input file. (Note that this only needs to work for GNU compilers.)
6346
{ echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
6347
echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; }
6348
if test "${ac_cv_f77_compiler_gnu+set}" = set; then
6349
echo $ECHO_N "(cached) $ECHO_C" >&6
6351
cat >conftest.$ac_ext <<_ACEOF
6359
rm -f conftest.$ac_objext
6360
if { (ac_try="$ac_compile"
6362
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6363
*) ac_try_echo=$ac_try;;
6365
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6366
(eval "$ac_compile") 2>conftest.er1
6368
grep -v '^ *+' conftest.er1 >conftest.err
6370
cat conftest.err >&5
6371
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6372
(exit $ac_status); } && {
6373
test -z "$ac_f77_werror_flag" ||
6374
test ! -s conftest.err
6375
} && test -s conftest.$ac_objext; then
6378
echo "$as_me: failed program was:" >&5
6379
sed 's/^/| /' conftest.$ac_ext >&5
6384
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6385
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
6388
{ echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
6389
echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; }
6391
ac_test_FFLAGS=${FFLAGS+set}
6392
ac_save_FFLAGS=$FFLAGS
6394
{ echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
6395
echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; }
6396
if test "${ac_cv_prog_f77_g+set}" = set; then
6397
echo $ECHO_N "(cached) $ECHO_C" >&6
6400
cat >conftest.$ac_ext <<_ACEOF
6405
rm -f conftest.$ac_objext
6406
if { (ac_try="$ac_compile"
6408
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6409
*) ac_try_echo=$ac_try;;
6411
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6412
(eval "$ac_compile") 2>conftest.er1
6414
grep -v '^ *+' conftest.er1 >conftest.err
6416
cat conftest.err >&5
6417
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418
(exit $ac_status); } && {
6419
test -z "$ac_f77_werror_flag" ||
6420
test ! -s conftest.err
6421
} && test -s conftest.$ac_objext; then
6422
ac_cv_prog_f77_g=yes
6424
echo "$as_me: failed program was:" >&5
6425
sed 's/^/| /' conftest.$ac_ext >&5
6430
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6433
{ echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
6434
echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; }
6435
if test "$ac_test_FFLAGS" = set; then
6436
FFLAGS=$ac_save_FFLAGS
6437
elif test $ac_cv_prog_f77_g = yes; then
6438
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6444
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
6451
G77=`test $ac_compiler_gnu = yes && echo yes`
6453
ac_cpp='$CPP $CPPFLAGS'
6454
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6455
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6456
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6460
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
6462
# find the maximum length of command line arguments
6463
{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
6464
echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
6465
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
6466
echo $ECHO_N "(cached) $ECHO_C" >&6
6473
# On DJGPP, this test can blow up pretty badly due to problems in libc
6474
# (any single argument exceeding 2000 bytes causes a buffer overrun
6475
# during glob expansion). Even if it were fixed, the result of this
6476
# check would be larger than it should be.
6477
lt_cv_sys_max_cmd_len=12288; # 12K is about right
6481
# Under GNU Hurd, this test is not required because there is
6482
# no limit to the length of command line arguments.
6483
# Libtool will interpret -1 as no limit whatsoever
6484
lt_cv_sys_max_cmd_len=-1;
6488
# On Win9x/ME, this test blows up -- it succeeds, but takes
6489
# about 5 minutes as the teststring grows exponentially.
6490
# Worse, since 9x/ME are not pre-emptively multitasking,
6491
# you end up with a "frozen" computer, even though with patience
6492
# the test eventually succeeds (with a max line length of 256k).
6493
# Instead, let's just punt: use the minimum linelength reported by
6494
# all of the supported platforms: 8192 (on NT/2K/XP).
6495
lt_cv_sys_max_cmd_len=8192;
6499
# On AmigaOS with pdksh, this test takes hours, literally.
6500
# So we just punt and use a minimum line length of 8192.
6501
lt_cv_sys_max_cmd_len=8192;
6504
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6505
# This has been around since 386BSD, at least. Likely further.
6506
if test -x /sbin/sysctl; then
6507
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6508
elif test -x /usr/sbin/sysctl; then
6509
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6511
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6513
# And add a safety zone
6514
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6515
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6519
# We know the value 262144 and hardcode it with a safety zone (like BSD)
6520
lt_cv_sys_max_cmd_len=196608
6524
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6525
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6526
# nice to cause kernel panics so lets avoid the loop below.
6527
# First set a reasonable default.
6528
lt_cv_sys_max_cmd_len=16384
6530
if test -x /sbin/sysconfig; then
6531
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6532
*1*) lt_cv_sys_max_cmd_len=-1 ;;
6537
lt_cv_sys_max_cmd_len=102400
6539
sysv5* | sco5v6* | sysv4.2uw2*)
6540
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6541
if test -n "$kargmax"; then
6542
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6544
lt_cv_sys_max_cmd_len=32768
6548
# If test is not a shell built-in, we'll probably end up computing a
6549
# maximum length that is only half of the actual maximum length, but
6551
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6552
while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6553
= "XX$teststring") >/dev/null 2>&1 &&
6554
new_result=`expr "X$teststring" : ".*" 2>&1` &&
6555
lt_cv_sys_max_cmd_len=$new_result &&
6556
test $i != 17 # 1/2 MB should be enough
6559
teststring=$teststring$teststring
6562
# Add a significant safety factor because C++ compilers can tack on massive
6563
# amounts of additional arguments before passing them to the linker.
6564
# It appears as though 1/2 is a usable value.
6565
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6571
if test -n $lt_cv_sys_max_cmd_len ; then
6572
{ echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
6573
echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
6575
{ echo "$as_me:$LINENO: result: none" >&5
6576
echo "${ECHO_T}none" >&6; }
6582
# Check for command to grab the raw symbol name followed by C symbol from nm.
6583
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6584
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6585
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6586
echo $ECHO_N "(cached) $ECHO_C" >&6
6589
# These are sane defaults that work on at least a few old systems.
6590
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6592
# Character class describing NM global symbol codes.
6593
symcode='[BCDEGRST]'
6595
# Regexp to match symbols that can be accessed directly from C.
6596
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6598
# Transform an extracted symbol line into a proper C declaration
6599
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
6601
# Transform an extracted symbol line into symbol name and symbol address
6602
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'"
6604
# Define system-specific variables.
6609
cygwin* | mingw* | pw32*)
6610
symcode='[ABCDGISTW]'
6612
hpux*) # Its linker distinguishes data from code symbols
6613
if test "$host_cpu" = ia64; then
6614
symcode='[ABCDEGRST]'
6616
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6617
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'"
6620
if test "$host_cpu" = ia64; then
6621
symcode='[ABCDGIRSTW]'
6622
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6623
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'"
6627
symcode='[BCDEGRST]'
6630
symcode='[BCDEGQRST]'
6641
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6649
# Handle CRLF in mingw tool chain
6653
opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6657
# If we're using GNU nm, then use its standard symbol codes.
6658
case `$NM -V 2>&1` in
6659
*GNU* | *'with BFD'*)
6660
symcode='[ABCDGIRSTW]' ;;
6663
# Try without a prefix undercore, then with it.
6664
for ac_symprfx in "" "_"; do
6666
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6667
symxfrm="\\1 $ac_symprfx\\2 \\2"
6669
# Write the raw and C identifiers.
6670
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6672
# Check to see that the pipe works correctly.
6676
cat > conftest.$ac_ext <<EOF
6681
void nm_test_func(){}
6685
int main(){nm_test_var='a';nm_test_func();return(0);}
6688
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6689
(eval $ac_compile) 2>&5
6691
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692
(exit $ac_status); }; then
6693
# Now try to grab the symbols.
6695
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6696
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6698
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6699
(exit $ac_status); } && test -s "$nlist"; then
6700
# Try sorting and uniquifying the output.
6701
if sort "$nlist" | uniq > "$nlist"T; then
6702
mv -f "$nlist"T "$nlist"
6707
# Make sure that we snagged all the symbols we need.
6708
if grep ' nm_test_var$' "$nlist" >/dev/null; then
6709
if grep ' nm_test_func$' "$nlist" >/dev/null; then
6710
cat <<EOF > conftest.$ac_ext
6716
# Now generate the symbol file.
6717
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
6719
cat <<EOF >> conftest.$ac_ext
6720
#if defined (__STDC__) && __STDC__
6721
# define lt_ptr_t void *
6723
# define lt_ptr_t char *
6727
/* The mapping between symbol names and symbols. */
6732
lt_preloaded_symbols[] =
6735
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
6736
cat <<\EOF >> conftest.$ac_ext
6744
# Now try linking the two files.
6745
mv conftest.$ac_objext conftstm.$ac_objext
6746
lt_save_LIBS="$LIBS"
6747
lt_save_CFLAGS="$CFLAGS"
6748
LIBS="conftstm.$ac_objext"
6749
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6750
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6751
(eval $ac_link) 2>&5
6753
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6754
(exit $ac_status); } && test -s conftest${ac_exeext}; then
6757
LIBS="$lt_save_LIBS"
6758
CFLAGS="$lt_save_CFLAGS"
6760
echo "cannot find nm_test_func in $nlist" >&5
6763
echo "cannot find nm_test_var in $nlist" >&5
6766
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6769
echo "$progname: failed program was:" >&5
6770
cat conftest.$ac_ext >&5
6772
rm -f conftest* conftst*
6774
# Do not use the global_symbol_pipe unless it works.
6775
if test "$pipe_works" = yes; then
6778
lt_cv_sys_global_symbol_pipe=
6784
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6785
lt_cv_sys_global_symbol_to_cdecl=
6787
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6788
{ echo "$as_me:$LINENO: result: failed" >&5
6789
echo "${ECHO_T}failed" >&6; }
6791
{ echo "$as_me:$LINENO: result: ok" >&5
6792
echo "${ECHO_T}ok" >&6; }
6795
{ echo "$as_me:$LINENO: checking for objdir" >&5
6796
echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
6797
if test "${lt_cv_objdir+set}" = set; then
6798
echo $ECHO_N "(cached) $ECHO_C" >&6
6800
rm -f .libs 2>/dev/null
6801
mkdir .libs 2>/dev/null
6802
if test -d .libs; then
6805
# MS-DOS does not allow filenames that begin with a dot.
6808
rmdir .libs 2>/dev/null
6810
{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6811
echo "${ECHO_T}$lt_cv_objdir" >&6; }
6812
objdir=$lt_cv_objdir
6820
# AIX sometimes has problems with the GCC collect2 program. For some
6821
# reason, if we set the COLLECT_NAMES environment variable, the problems
6822
# vanish in a puff of smoke.
6823
if test "X${COLLECT_NAMES+set}" != Xset; then
6825
export COLLECT_NAMES
6830
# Sed substitution that helps us do robust quoting. It backslashifies
6831
# metacharacters that are still active within double-quoted strings.
6832
Xsed='sed -e 1s/^X//'
6833
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
6835
# Same as above, but do not quote variable references.
6836
double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
6838
# Sed substitution to delay expansion of an escaped shell variable in a
6839
# double_quote_subst'ed string.
6840
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6842
# Sed substitution to avoid accidental globbing in evaled expressions
6843
no_glob_subst='s/\*/\\\*/g'
6849
default_ofile=libtool
6850
can_build_shared=yes
6852
# All known linkers require a `.a' archive for static linking (except MSVC,
6853
# which needs '.lib').
6855
ltmain="$ac_aux_dir/ltmain.sh"
6856
ofile="$default_ofile"
6857
with_gnu_ld="$lt_cv_prog_gnu_ld"
6859
if test -n "$ac_tool_prefix"; then
6860
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6861
set dummy ${ac_tool_prefix}ar; ac_word=$2
6862
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6863
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6864
if test "${ac_cv_prog_AR+set}" = set; then
6865
echo $ECHO_N "(cached) $ECHO_C" >&6
6867
if test -n "$AR"; then
6868
ac_cv_prog_AR="$AR" # Let the user override the test.
6870
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6874
test -z "$as_dir" && as_dir=.
6875
for ac_exec_ext in '' $ac_executable_extensions; do
6876
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6877
ac_cv_prog_AR="${ac_tool_prefix}ar"
6878
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6888
if test -n "$AR"; then
6889
{ echo "$as_me:$LINENO: result: $AR" >&5
6890
echo "${ECHO_T}$AR" >&6; }
6892
{ echo "$as_me:$LINENO: result: no" >&5
6893
echo "${ECHO_T}no" >&6; }
6898
if test -z "$ac_cv_prog_AR"; then
6900
# Extract the first word of "ar", so it can be a program name with args.
6901
set dummy ar; ac_word=$2
6902
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6903
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6904
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6905
echo $ECHO_N "(cached) $ECHO_C" >&6
6907
if test -n "$ac_ct_AR"; then
6908
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6910
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6914
test -z "$as_dir" && as_dir=.
6915
for ac_exec_ext in '' $ac_executable_extensions; do
6916
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6917
ac_cv_prog_ac_ct_AR="ar"
6918
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6927
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6928
if test -n "$ac_ct_AR"; then
6929
{ echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6930
echo "${ECHO_T}$ac_ct_AR" >&6; }
6932
{ echo "$as_me:$LINENO: result: no" >&5
6933
echo "${ECHO_T}no" >&6; }
6936
if test "x$ac_ct_AR" = x; then
6939
case $cross_compiling:$ac_tool_warned in
6941
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6942
whose name does not start with the host triplet. If you think this
6943
configuration is useful to you, please write to autoconf@gnu.org." >&5
6944
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6945
whose name does not start with the host triplet. If you think this
6946
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6947
ac_tool_warned=yes ;;
6955
if test -n "$ac_tool_prefix"; then
6956
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6957
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6958
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6959
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6960
if test "${ac_cv_prog_RANLIB+set}" = set; then
6961
echo $ECHO_N "(cached) $ECHO_C" >&6
6963
if test -n "$RANLIB"; then
6964
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6966
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6970
test -z "$as_dir" && as_dir=.
6971
for ac_exec_ext in '' $ac_executable_extensions; do
6972
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6973
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6974
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6983
RANLIB=$ac_cv_prog_RANLIB
6984
if test -n "$RANLIB"; then
6985
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
6986
echo "${ECHO_T}$RANLIB" >&6; }
6988
{ echo "$as_me:$LINENO: result: no" >&5
6989
echo "${ECHO_T}no" >&6; }
6994
if test -z "$ac_cv_prog_RANLIB"; then
6995
ac_ct_RANLIB=$RANLIB
6996
# Extract the first word of "ranlib", so it can be a program name with args.
6997
set dummy ranlib; ac_word=$2
6998
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6999
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7000
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
7001
echo $ECHO_N "(cached) $ECHO_C" >&6
7003
if test -n "$ac_ct_RANLIB"; then
7004
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7006
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7010
test -z "$as_dir" && as_dir=.
7011
for ac_exec_ext in '' $ac_executable_extensions; do
7012
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7013
ac_cv_prog_ac_ct_RANLIB="ranlib"
7014
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7023
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7024
if test -n "$ac_ct_RANLIB"; then
7025
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
7026
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
7028
{ echo "$as_me:$LINENO: result: no" >&5
7029
echo "${ECHO_T}no" >&6; }
7032
if test "x$ac_ct_RANLIB" = x; then
7035
case $cross_compiling:$ac_tool_warned in
7037
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7038
whose name does not start with the host triplet. If you think this
7039
configuration is useful to you, please write to autoconf@gnu.org." >&5
7040
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7041
whose name does not start with the host triplet. If you think this
7042
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7043
ac_tool_warned=yes ;;
7045
RANLIB=$ac_ct_RANLIB
7048
RANLIB="$ac_cv_prog_RANLIB"
7051
if test -n "$ac_tool_prefix"; then
7052
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7053
set dummy ${ac_tool_prefix}strip; ac_word=$2
7054
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7055
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7056
if test "${ac_cv_prog_STRIP+set}" = set; then
7057
echo $ECHO_N "(cached) $ECHO_C" >&6
7059
if test -n "$STRIP"; then
7060
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7062
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7066
test -z "$as_dir" && as_dir=.
7067
for ac_exec_ext in '' $ac_executable_extensions; do
7068
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7069
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7070
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7079
STRIP=$ac_cv_prog_STRIP
7080
if test -n "$STRIP"; then
7081
{ echo "$as_me:$LINENO: result: $STRIP" >&5
7082
echo "${ECHO_T}$STRIP" >&6; }
7084
{ echo "$as_me:$LINENO: result: no" >&5
7085
echo "${ECHO_T}no" >&6; }
7090
if test -z "$ac_cv_prog_STRIP"; then
7092
# Extract the first word of "strip", so it can be a program name with args.
7093
set dummy strip; ac_word=$2
7094
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
7095
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7096
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
7097
echo $ECHO_N "(cached) $ECHO_C" >&6
7099
if test -n "$ac_ct_STRIP"; then
7100
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7102
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7106
test -z "$as_dir" && as_dir=.
7107
for ac_exec_ext in '' $ac_executable_extensions; do
7108
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7109
ac_cv_prog_ac_ct_STRIP="strip"
7110
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7119
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7120
if test -n "$ac_ct_STRIP"; then
7121
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
7122
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
7124
{ echo "$as_me:$LINENO: result: no" >&5
7125
echo "${ECHO_T}no" >&6; }
7128
if test "x$ac_ct_STRIP" = x; then
7131
case $cross_compiling:$ac_tool_warned in
7133
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7134
whose name does not start with the host triplet. If you think this
7135
configuration is useful to you, please write to autoconf@gnu.org." >&5
7136
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7137
whose name does not start with the host triplet. If you think this
7138
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7139
ac_tool_warned=yes ;;
7144
STRIP="$ac_cv_prog_STRIP"
7149
old_CFLAGS="$CFLAGS"
7151
# Set sane defaults for various variables
7152
test -z "$AR" && AR=ar
7153
test -z "$AR_FLAGS" && AR_FLAGS=cru
7154
test -z "$AS" && AS=as
7155
test -z "$CC" && CC=cc
7156
test -z "$LTCC" && LTCC=$CC
7157
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7158
test -z "$DLLTOOL" && DLLTOOL=dlltool
7159
test -z "$LD" && LD=ld
7160
test -z "$LN_S" && LN_S="ln -s"
7161
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7162
test -z "$NM" && NM=nm
7163
test -z "$SED" && SED=sed
7164
test -z "$OBJDUMP" && OBJDUMP=objdump
7165
test -z "$RANLIB" && RANLIB=:
7166
test -z "$STRIP" && STRIP=:
7167
test -z "$ac_objext" && ac_objext=o
7169
# Determine commands to create old-style static archives.
7170
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
7171
old_postinstall_cmds='chmod 644 $oldlib'
7172
old_postuninstall_cmds=
7174
if test -n "$RANLIB"; then
7177
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7180
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7183
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7186
for cc_temp in $compiler""; do
7188
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7189
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7194
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7197
# Only perform the check for file, if the check method requires it
7198
case $deplibs_check_method in
7200
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7201
{ echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7202
echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7203
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7204
echo $ECHO_N "(cached) $ECHO_C" >&6
7208
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7211
lt_save_MAGIC_CMD="$MAGIC_CMD"
7212
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7213
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7214
for ac_dir in $ac_dummy; do
7216
test -z "$ac_dir" && ac_dir=.
7217
if test -f $ac_dir/${ac_tool_prefix}file; then
7218
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7219
if test -n "$file_magic_test_file"; then
7220
case $deplibs_check_method in
7222
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7223
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7224
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7225
$EGREP "$file_magic_regex" > /dev/null; then
7230
*** Warning: the command libtool uses to detect shared libraries,
7231
*** $file_magic_cmd, produces output that libtool cannot recognize.
7232
*** The result is that libtool may fail to recognize shared libraries
7233
*** as such. This will affect the creation of libtool libraries that
7234
*** depend on shared libraries, but programs linked with such libtool
7235
*** libraries will work regardless of this problem. Nevertheless, you
7236
*** may want to report the problem to your system manager and/or to
7237
*** bug-libtool@gnu.org
7247
MAGIC_CMD="$lt_save_MAGIC_CMD"
7252
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7253
if test -n "$MAGIC_CMD"; then
7254
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7255
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7257
{ echo "$as_me:$LINENO: result: no" >&5
7258
echo "${ECHO_T}no" >&6; }
7261
if test -z "$lt_cv_path_MAGIC_CMD"; then
7262
if test -n "$ac_tool_prefix"; then
7263
{ echo "$as_me:$LINENO: checking for file" >&5
7264
echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7265
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7266
echo $ECHO_N "(cached) $ECHO_C" >&6
7270
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7273
lt_save_MAGIC_CMD="$MAGIC_CMD"
7274
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7275
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7276
for ac_dir in $ac_dummy; do
7278
test -z "$ac_dir" && ac_dir=.
7279
if test -f $ac_dir/file; then
7280
lt_cv_path_MAGIC_CMD="$ac_dir/file"
7281
if test -n "$file_magic_test_file"; then
7282
case $deplibs_check_method in
7284
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7285
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7286
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7287
$EGREP "$file_magic_regex" > /dev/null; then
7292
*** Warning: the command libtool uses to detect shared libraries,
7293
*** $file_magic_cmd, produces output that libtool cannot recognize.
7294
*** The result is that libtool may fail to recognize shared libraries
7295
*** as such. This will affect the creation of libtool libraries that
7296
*** depend on shared libraries, but programs linked with such libtool
7297
*** libraries will work regardless of this problem. Nevertheless, you
7298
*** may want to report the problem to your system manager and/or to
7299
*** bug-libtool@gnu.org
7309
MAGIC_CMD="$lt_save_MAGIC_CMD"
7314
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7315
if test -n "$MAGIC_CMD"; then
7316
{ echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7317
echo "${ECHO_T}$MAGIC_CMD" >&6; }
7319
{ echo "$as_me:$LINENO: result: no" >&5
7320
echo "${ECHO_T}no" >&6; }
7335
# Check whether --enable-libtool-lock was given.
7336
if test "${enable_libtool_lock+set}" = set; then
7337
enableval=$enable_libtool_lock;
7340
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7343
# Check whether --with-pic was given.
7344
if test "${with_pic+set}" = set; then
7345
withval=$with_pic; pic_mode="$withval"
7350
test -z "$pic_mode" && pic_mode=default
7352
# Use C for the default configuration in the libtool script
7356
ac_cpp='$CPP $CPPFLAGS'
7357
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7358
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7359
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7362
# Source file extension for C test sources.
7365
# Object file extension for compiled C test sources.
7369
# Code to be used in simple compile tests
7370
lt_simple_compile_test_code="int some_variable = 0;\n"
7372
# Code to be used in simple link tests
7373
lt_simple_link_test_code='int main(){return(0);}\n'
7376
# If no C compiler was specified, use CC.
7379
# If no C compiler flags were specified, use CFLAGS.
7380
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7382
# Allow CC to be a program name with arguments.
7386
# save warnings/boilerplate of simple test code
7387
ac_outfile=conftest.$ac_objext
7388
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
7389
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7390
_lt_compiler_boilerplate=`cat conftest.err`
7393
ac_outfile=conftest.$ac_objext
7394
printf "$lt_simple_link_test_code" >conftest.$ac_ext
7395
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7396
_lt_linker_boilerplate=`cat conftest.err`
7401
lt_prog_compiler_no_builtin_flag=
7403
if test "$GCC" = yes; then
7404
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7407
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7408
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7409
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7410
echo $ECHO_N "(cached) $ECHO_C" >&6
7412
lt_cv_prog_compiler_rtti_exceptions=no
7413
ac_outfile=conftest.$ac_objext
7414
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7415
lt_compiler_flag="-fno-rtti -fno-exceptions"
7416
# Insert the option either (1) after the last *FLAGS variable, or
7417
# (2) before a word containing "conftest.", or (3) at the end.
7418
# Note that $ac_compile itself does not contain backslashes and begins
7419
# with a dollar sign (not a hyphen), so the echo should work correctly.
7420
# The option is referenced via a variable to avoid confusing sed.
7421
lt_compile=`echo "$ac_compile" | $SED \
7422
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7423
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7424
-e 's:$: $lt_compiler_flag:'`
7425
(eval echo "\"\$as_me:7425: $lt_compile\"" >&5)
7426
(eval "$lt_compile" 2>conftest.err)
7428
cat conftest.err >&5
7429
echo "$as_me:7429: \$? = $ac_status" >&5
7430
if (exit $ac_status) && test -s "$ac_outfile"; then
7431
# The compiler can only warn and ignore the option if not recognized
7432
# So say no if there are warnings other than the usual output.
7433
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7434
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7435
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7436
lt_cv_prog_compiler_rtti_exceptions=yes
7442
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7443
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7445
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7446
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7453
lt_prog_compiler_wl=
7454
lt_prog_compiler_pic=
7455
lt_prog_compiler_static=
7457
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7458
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7460
if test "$GCC" = yes; then
7461
lt_prog_compiler_wl='-Wl,'
7462
lt_prog_compiler_static='-static'
7466
# All AIX code is PIC.
7467
if test "$host_cpu" = ia64; then
7468
# AIX 5 now supports IA64 processor
7469
lt_prog_compiler_static='-Bstatic'
7474
# FIXME: we need at least 68020 code to build shared libraries, but
7475
# adding the `-m68020' flag to GCC prevents building anything better,
7477
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7480
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7481
# PIC is the default for these OSes.
7484
mingw* | pw32* | os2*)
7485
# This hack is so that the source file can tell whether it is being
7486
# built for inclusion in a dll (and should export symbols for example).
7487
lt_prog_compiler_pic='-DDLL_EXPORT'
7490
darwin* | rhapsody*)
7491
# PIC is the default on this platform
7492
# Common symbols not allowed in MH_DYLIB files
7493
lt_prog_compiler_pic='-fno-common'
7497
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
7498
# Instead, we relocate shared libraries at runtime.
7502
# Just because we use GCC doesn't mean we suddenly get shared libraries
7503
# on systems that don't support them.
7504
lt_prog_compiler_can_build_shared=no
7509
if test -d /usr/nec; then
7510
lt_prog_compiler_pic=-Kconform_pic
7515
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7522
lt_prog_compiler_pic='-fPIC'
7528
lt_prog_compiler_pic='-fPIC'
7532
# PORTME Check for flag to pass linker flags through the system compiler.
7535
lt_prog_compiler_wl='-Wl,'
7536
if test "$host_cpu" = ia64; then
7537
# AIX 5 now supports IA64 processor
7538
lt_prog_compiler_static='-Bstatic'
7540
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7544
# PIC is the default on this platform
7545
# Common symbols not allowed in MH_DYLIB files
7546
case $cc_basename in
7548
lt_prog_compiler_pic='-qnocommon'
7549
lt_prog_compiler_wl='-Wl,'
7554
mingw* | pw32* | os2*)
7555
# This hack is so that the source file can tell whether it is being
7556
# built for inclusion in a dll (and should export symbols for example).
7557
lt_prog_compiler_pic='-DDLL_EXPORT'
7560
hpux9* | hpux10* | hpux11*)
7561
lt_prog_compiler_wl='-Wl,'
7562
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7569
lt_prog_compiler_pic='+Z'
7572
# Is there a better lt_prog_compiler_static that works with the bundled CC?
7573
lt_prog_compiler_static='${wl}-a ${wl}archive'
7576
irix5* | irix6* | nonstopux*)
7577
lt_prog_compiler_wl='-Wl,'
7578
# PIC (with -KPIC) is the default.
7579
lt_prog_compiler_static='-non_shared'
7583
lt_prog_compiler_pic='-KPIC'
7584
lt_prog_compiler_static='-Bstatic'
7588
case $cc_basename in
7590
lt_prog_compiler_wl='-Wl,'
7591
lt_prog_compiler_pic='-KPIC'
7592
lt_prog_compiler_static='-static'
7594
pgcc* | pgf77* | pgf90* | pgf95*)
7595
# Portland Group compilers (*not* the Pentium gcc compiler,
7596
# which looks to be a dead project)
7597
lt_prog_compiler_wl='-Wl,'
7598
lt_prog_compiler_pic='-fpic'
7599
lt_prog_compiler_static='-Bstatic'
7602
lt_prog_compiler_wl='-Wl,'
7603
# All Alpha code is PIC.
7604
lt_prog_compiler_static='-non_shared'
7609
osf3* | osf4* | osf5*)
7610
lt_prog_compiler_wl='-Wl,'
7611
# All OSF/1 code is PIC.
7612
lt_prog_compiler_static='-non_shared'
7616
lt_prog_compiler_pic='-KPIC'
7617
lt_prog_compiler_static='-Bstatic'
7618
case $cc_basename in
7620
lt_prog_compiler_wl='-Qoption ld ';;
7622
lt_prog_compiler_wl='-Wl,';;
7627
lt_prog_compiler_wl='-Qoption ld '
7628
lt_prog_compiler_pic='-PIC'
7629
lt_prog_compiler_static='-Bstatic'
7632
sysv4 | sysv4.2uw2* | sysv4.3*)
7633
lt_prog_compiler_wl='-Wl,'
7634
lt_prog_compiler_pic='-KPIC'
7635
lt_prog_compiler_static='-Bstatic'
7639
if test -d /usr/nec ;then
7640
lt_prog_compiler_pic='-Kconform_pic'
7641
lt_prog_compiler_static='-Bstatic'
7645
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7646
lt_prog_compiler_wl='-Wl,'
7647
lt_prog_compiler_pic='-KPIC'
7648
lt_prog_compiler_static='-Bstatic'
7652
lt_prog_compiler_wl='-Wl,'
7653
lt_prog_compiler_can_build_shared=no
7657
lt_prog_compiler_pic='-pic'
7658
lt_prog_compiler_static='-Bstatic'
7662
lt_prog_compiler_can_build_shared=no
7667
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7668
echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
7671
# Check to make sure the PIC flag actually works.
7673
if test -n "$lt_prog_compiler_pic"; then
7675
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7676
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
7677
if test "${lt_prog_compiler_pic_works+set}" = set; then
7678
echo $ECHO_N "(cached) $ECHO_C" >&6
7680
lt_prog_compiler_pic_works=no
7681
ac_outfile=conftest.$ac_objext
7682
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7683
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7684
# Insert the option either (1) after the last *FLAGS variable, or
7685
# (2) before a word containing "conftest.", or (3) at the end.
7686
# Note that $ac_compile itself does not contain backslashes and begins
7687
# with a dollar sign (not a hyphen), so the echo should work correctly.
7688
# The option is referenced via a variable to avoid confusing sed.
7689
lt_compile=`echo "$ac_compile" | $SED \
7690
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7691
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7692
-e 's:$: $lt_compiler_flag:'`
7693
(eval echo "\"\$as_me:7693: $lt_compile\"" >&5)
7694
(eval "$lt_compile" 2>conftest.err)
7696
cat conftest.err >&5
7697
echo "$as_me:7697: \$? = $ac_status" >&5
7698
if (exit $ac_status) && test -s "$ac_outfile"; then
7699
# The compiler can only warn and ignore the option if not recognized
7700
# So say no if there are warnings other than the usual output.
7701
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7702
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7703
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7704
lt_prog_compiler_pic_works=yes
7710
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7711
echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
7713
if test x"$lt_prog_compiler_pic_works" = xyes; then
7714
case $lt_prog_compiler_pic in
7716
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7719
lt_prog_compiler_pic=
7720
lt_prog_compiler_can_build_shared=no
7725
# For platforms which do not support PIC, -DPIC is meaningless:
7727
lt_prog_compiler_pic=
7730
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7735
# Check to make sure the static flag actually works.
7737
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7738
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7739
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
7740
if test "${lt_prog_compiler_static_works+set}" = set; then
7741
echo $ECHO_N "(cached) $ECHO_C" >&6
7743
lt_prog_compiler_static_works=no
7744
save_LDFLAGS="$LDFLAGS"
7745
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7746
printf "$lt_simple_link_test_code" > conftest.$ac_ext
7747
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7748
# The linker can only warn and ignore the option if not recognized
7749
# So say no if there are warnings
7750
if test -s conftest.err; then
7751
# Append any errors to the config.log.
7752
cat conftest.err 1>&5
7753
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7754
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7755
if diff conftest.exp conftest.er2 >/dev/null; then
7756
lt_prog_compiler_static_works=yes
7759
lt_prog_compiler_static_works=yes
7763
LDFLAGS="$save_LDFLAGS"
7766
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7767
echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
7769
if test x"$lt_prog_compiler_static_works" = xyes; then
7772
lt_prog_compiler_static=
7776
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7777
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
7778
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7779
echo $ECHO_N "(cached) $ECHO_C" >&6
7781
lt_cv_prog_compiler_c_o=no
7782
$rm -r conftest 2>/dev/null
7786
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7788
lt_compiler_flag="-o out/conftest2.$ac_objext"
7789
# Insert the option either (1) after the last *FLAGS variable, or
7790
# (2) before a word containing "conftest.", or (3) at the end.
7791
# Note that $ac_compile itself does not contain backslashes and begins
7792
# with a dollar sign (not a hyphen), so the echo should work correctly.
7793
lt_compile=`echo "$ac_compile" | $SED \
7794
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7795
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7796
-e 's:$: $lt_compiler_flag:'`
7797
(eval echo "\"\$as_me:7797: $lt_compile\"" >&5)
7798
(eval "$lt_compile" 2>out/conftest.err)
7800
cat out/conftest.err >&5
7801
echo "$as_me:7801: \$? = $ac_status" >&5
7802
if (exit $ac_status) && test -s out/conftest2.$ac_objext
7804
# The compiler can only warn and ignore the option if not recognized
7805
# So say no if there are warnings
7806
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7807
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7808
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7809
lt_cv_prog_compiler_c_o=yes
7814
# SGI C++ compiler will create directory out/ii_files/ for
7815
# template instantiation
7816
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
7817
$rm out/* && rmdir out
7823
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7824
echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
7827
hard_links="nottested"
7828
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7829
# do not overwrite the value of need_locks provided by the user
7830
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7831
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
7834
ln conftest.a conftest.b 2>/dev/null && hard_links=no
7836
ln conftest.a conftest.b 2>&5 || hard_links=no
7837
ln conftest.a conftest.b 2>/dev/null && hard_links=no
7838
{ echo "$as_me:$LINENO: result: $hard_links" >&5
7839
echo "${ECHO_T}$hard_links" >&6; }
7840
if test "$hard_links" = no; then
7841
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7842
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7849
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7850
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
7853
allow_undefined_flag=
7854
enable_shared_with_static_runtimes=no
7856
archive_expsym_cmds=
7857
old_archive_From_new_cmds=
7858
old_archive_from_expsyms_cmds=
7859
export_dynamic_flag_spec=
7860
whole_archive_flag_spec=
7861
thread_safe_flag_spec=
7862
hardcode_libdir_flag_spec=
7863
hardcode_libdir_flag_spec_ld=
7864
hardcode_libdir_separator=
7867
hardcode_shlibpath_var=unsupported
7868
link_all_deplibs=unknown
7869
hardcode_automatic=no
7872
always_export_symbols=no
7873
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7874
# include_expsyms should be a list of space-separated symbols to be *always*
7875
# included in the symbol list
7877
# exclude_expsyms can be an extended regexp of symbols to exclude
7878
# it will be wrapped by ` (' and `)$', so one must not match beginning or
7879
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7880
# as well as any symbol that contains `d'.
7881
exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7882
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7883
# platforms (ab)use it in PIC code, but their linkers get confused if
7884
# the symbol is explicitly referenced. Since portable code cannot
7885
# rely on this symbol name, it's probably fine to never include it in
7886
# preloaded symbol tables.
7887
extract_expsyms_cmds=
7888
# Just being paranoid about ensuring that cc_basename is set.
7889
for cc_temp in $compiler""; do
7891
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7892
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7897
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7900
cygwin* | mingw* | pw32*)
7901
# FIXME: the MSVC++ port hasn't been tested in a loooong time
7902
# When not using gcc, we currently assume that we are using
7903
# Microsoft Visual C++.
7904
if test "$GCC" != yes; then
7909
# we just hope/assume this is gcc and not c89 (= MSVC++)
7918
if test "$with_gnu_ld" = yes; then
7919
# If archive_cmds runs LD, not CC, wlarc should be empty
7922
# Set some defaults for GNU ld with shared library support. These
7923
# are reset later if shared libraries are not supported. Putting them
7924
# here allows them to be overridden if necessary.
7925
runpath_var=LD_RUN_PATH
7926
hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
7927
export_dynamic_flag_spec='${wl}--export-dynamic'
7928
# ancient GNU ld didn't support --whole-archive et. al.
7929
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
7930
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7932
whole_archive_flag_spec=
7934
supports_anon_versioning=no
7935
case `$LD -v 2>/dev/null` in
7936
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7937
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7938
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7939
*\ 2.11.*) ;; # other 2.11 versions
7940
*) supports_anon_versioning=yes ;;
7943
# See if GNU ld supports shared libraries.
7945
aix3* | aix4* | aix5*)
7946
# On AIX/PPC, the GNU linker is very broken
7947
if test "$host_cpu" != ia64; then
7951
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
7952
*** to be unable to reliably create shared libraries on AIX.
7953
*** Therefore, libtool is disabling shared libraries support. If you
7954
*** really care for shared libraries, you may want to modify your PATH
7955
*** so that a non-GNU linker is found, and then restart.
7962
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)'
7963
hardcode_libdir_flag_spec='-L$libdir'
7964
hardcode_minus_L=yes
7966
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7967
# that the semantics of dynamic libraries on AmigaOS, at least up
7968
# to version 4, is to share data among multiple programs linked
7969
# with the same dynamic library. Since this doesn't match the
7970
# behavior of shared libraries on other platforms, we can't use
7976
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7977
allow_undefined_flag=unsupported
7978
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7979
# support --undefined. This deserves some investigation. FIXME
7980
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7986
cygwin* | mingw* | pw32*)
7987
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7988
# as there is no search path for DLLs.
7989
hardcode_libdir_flag_spec='-L$libdir'
7990
allow_undefined_flag=unsupported
7991
always_export_symbols=no
7992
enable_shared_with_static_runtimes=yes
7993
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
7995
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
7996
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7997
# If the export-symbols file already is a .def file (1st line
7998
# is EXPORTS), use it as is; otherwise, prepend...
7999
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8000
cp $export_symbols $output_objdir/$soname.def;
8002
echo EXPORTS > $output_objdir/$soname.def;
8003
cat $export_symbols >> $output_objdir/$soname.def;
8005
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8013
hardcode_shlibpath_var=no
8014
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8015
export_dynamic_flag_spec='${wl}-E'
8016
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8017
# Instead, shared libraries are loaded at an image base (0x10000000 by
8018
# default) and relocated if they conflict, which is a slow very memory
8019
# consuming and fragmenting process. To avoid this, we pick a random,
8020
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8021
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
8022
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8023
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'
8027
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8029
case $cc_basename,$host_cpu in
8030
pgcc*) # Portland Group C compiler
8031
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'
8032
tmp_addflag=' $pic_flag'
8034
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8035
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'
8036
tmp_addflag=' $pic_flag -Mnomain' ;;
8037
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8038
tmp_addflag=' -i_dynamic' ;;
8039
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8040
tmp_addflag=' -i_dynamic -nofor_main' ;;
8041
ifc* | ifort*) # Intel Fortran compiler
8042
tmp_addflag=' -nofor_main' ;;
8044
archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8046
if test $supports_anon_versioning = yes; then
8047
archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8048
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8049
$echo "local: *; };" >> $output_objdir/$libname.ver~
8050
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8058
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8059
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8062
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8063
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8068
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
8072
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8073
*** create shared libraries on Solaris systems. Therefore, libtool
8074
*** is disabling shared libraries support. We urge you to upgrade GNU
8075
*** binutils to release 2.9.1 or newer. Another option is to modify
8076
*** your PATH or compiler configuration so that the native linker is
8077
*** used, and then restart.
8080
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8081
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8082
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8088
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8089
case `$LD -v 2>&1` in
8090
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8094
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8095
*** reliably create shared libraries on SCO systems. Therefore, libtool
8096
*** is disabling shared libraries support. We urge you to upgrade GNU
8097
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8098
*** your PATH or compiler configuration so that the native linker is
8099
*** used, and then restart.
8104
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8105
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
8106
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
8107
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
8116
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8119
hardcode_shlibpath_var=no
8123
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8124
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8125
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8132
if test "$ld_shlibs" = no; then
8134
hardcode_libdir_flag_spec=
8135
export_dynamic_flag_spec=
8136
whole_archive_flag_spec=
8139
# PORTME fill in a description of your system's linker (not GNU ld)
8142
allow_undefined_flag=unsupported
8143
always_export_symbols=yes
8144
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'
8145
# Note: this linker hardcodes the directories in LIBPATH if there
8146
# are no directories specified by -L.
8147
hardcode_minus_L=yes
8148
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8149
# Neither direct hardcoding nor static linking is supported with a
8151
hardcode_direct=unsupported
8156
if test "$host_cpu" = ia64; then
8157
# On IA64, the linker does run time linking by default, so we don't
8158
# have to do anything special.
8159
aix_use_runtimelinking=no
8160
exp_sym_flag='-Bexport'
8163
# If we're using GNU nm, then we don't want the "-C" option.
8164
# -C means demangle to AIX nm, but means don't demangle with GNU nm
8165
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
8166
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'
8168
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'
8170
aix_use_runtimelinking=no
8172
# Test if we are trying to use run time linking or normal
8173
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8174
# need to do runtime linking.
8175
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
8176
for ld_flag in $LDFLAGS; do
8177
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8178
aix_use_runtimelinking=yes
8185
exp_sym_flag='-bexport'
8186
no_entry_flag='-bnoentry'
8189
# When large executables or shared objects are built, AIX ld can
8190
# have problems creating the table of contents. If linking a library
8191
# or program results in "error TOC overflow" add -mminimal-toc to
8192
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8193
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8197
hardcode_libdir_separator=':'
8198
link_all_deplibs=yes
8200
if test "$GCC" = yes; then
8201
case $host_os in aix4.[012]|aix4.[012].*)
8202
# We only want to do this on AIX 4.2 and lower, the check
8203
# below for broken collect2 doesn't work under 4.3+
8204
collect2name=`${CC} -print-prog-name=collect2`
8205
if test -f "$collect2name" && \
8206
strings "$collect2name" | grep resolve_lib_name >/dev/null
8208
# We have reworked collect2
8211
# We have old collect2
8212
hardcode_direct=unsupported
8213
# It fails to find uninstalled libraries when the uninstalled
8214
# path is not listed in the libpath. Setting hardcode_minus_L
8215
# to unsupported forces relinking
8216
hardcode_minus_L=yes
8217
hardcode_libdir_flag_spec='-L$libdir'
8218
hardcode_libdir_separator=
8222
shared_flag='-shared'
8223
if test "$aix_use_runtimelinking" = yes; then
8224
shared_flag="$shared_flag "'${wl}-G'
8228
if test "$host_cpu" = ia64; then
8229
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8230
# chokes on -Wl,-G. The following line is correct:
8233
if test "$aix_use_runtimelinking" = yes; then
8234
shared_flag='${wl}-G'
8236
shared_flag='${wl}-bM:SRE'
8241
# It seems that -bexpall does not export symbols beginning with
8242
# underscore (_), so it is better to generate a list of symbols to export.
8243
always_export_symbols=yes
8244
if test "$aix_use_runtimelinking" = yes; then
8245
# Warning - without using the other runtime loading flags (-brtl),
8246
# -berok will link without error, but may produce a broken library.
8247
allow_undefined_flag='-berok'
8248
# Determine the default libpath from the value encoded in an empty executable.
8249
cat >conftest.$ac_ext <<_ACEOF
8252
cat confdefs.h >>conftest.$ac_ext
8253
cat >>conftest.$ac_ext <<_ACEOF
8254
/* end confdefs.h. */
8264
rm -f conftest.$ac_objext conftest$ac_exeext
8265
if { (ac_try="$ac_link"
8267
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8268
*) ac_try_echo=$ac_try;;
8270
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8271
(eval "$ac_link") 2>conftest.er1
8273
grep -v '^ *+' conftest.er1 >conftest.err
8275
cat conftest.err >&5
8276
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277
(exit $ac_status); } && {
8278
test -z "$ac_c_werror_flag" ||
8279
test ! -s conftest.err
8280
} && test -s conftest$ac_exeext &&
8281
$as_test_x conftest$ac_exeext; then
8283
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8285
# Check for a 64-bit object if we didn't find anything.
8286
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8289
echo "$as_me: failed program was:" >&5
8290
sed 's/^/| /' conftest.$ac_ext >&5
8295
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8296
conftest$ac_exeext conftest.$ac_ext
8297
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8299
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8300
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"
8302
if test "$host_cpu" = ia64; then
8303
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8304
allow_undefined_flag="-z nodefs"
8305
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"
8307
# Determine the default libpath from the value encoded in an empty executable.
8308
cat >conftest.$ac_ext <<_ACEOF
8311
cat confdefs.h >>conftest.$ac_ext
8312
cat >>conftest.$ac_ext <<_ACEOF
8313
/* end confdefs.h. */
8323
rm -f conftest.$ac_objext conftest$ac_exeext
8324
if { (ac_try="$ac_link"
8326
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8327
*) ac_try_echo=$ac_try;;
8329
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8330
(eval "$ac_link") 2>conftest.er1
8332
grep -v '^ *+' conftest.er1 >conftest.err
8334
cat conftest.err >&5
8335
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8336
(exit $ac_status); } && {
8337
test -z "$ac_c_werror_flag" ||
8338
test ! -s conftest.err
8339
} && test -s conftest$ac_exeext &&
8340
$as_test_x conftest$ac_exeext; then
8342
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8344
# Check for a 64-bit object if we didn't find anything.
8345
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
8348
echo "$as_me: failed program was:" >&5
8349
sed 's/^/| /' conftest.$ac_ext >&5
8354
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8355
conftest$ac_exeext conftest.$ac_ext
8356
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8358
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8359
# Warning - without using the other run time loading flags,
8360
# -berok will link without error, but may produce a broken library.
8361
no_undefined_flag=' ${wl}-bernotok'
8362
allow_undefined_flag=' ${wl}-berok'
8363
# Exported symbols can be pulled into shared objects from archives
8364
whole_archive_flag_spec='$convenience'
8365
archive_cmds_need_lc=yes
8366
# This is similar to how AIX traditionally builds its shared libraries.
8367
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'
8373
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)'
8374
hardcode_libdir_flag_spec='-L$libdir'
8375
hardcode_minus_L=yes
8376
# see comment about different semantics on the GNU ld section
8381
export_dynamic_flag_spec=-rdynamic
8384
cygwin* | mingw* | pw32*)
8385
# When not using gcc, we currently assume that we are using
8386
# Microsoft Visual C++.
8387
# hardcode_libdir_flag_spec is actually meaningless, as there is
8388
# no search path for DLLs.
8389
hardcode_libdir_flag_spec=' '
8390
allow_undefined_flag=unsupported
8391
# Tell ltmain to make .lib files, not .a files.
8393
# Tell ltmain to make .dll files, not .so files.
8395
# FIXME: Setting linknames here is a bad hack.
8396
archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
8397
# The linker will automatically build a .lib file if we build a DLL.
8398
old_archive_From_new_cmds='true'
8399
# FIXME: Should let the user specify the lib program.
8400
old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
8401
fix_srcfile_path='`cygpath -w "$srcfile"`'
8402
enable_shared_with_static_runtimes=yes
8405
darwin* | rhapsody*)
8407
rhapsody* | darwin1.[012])
8408
allow_undefined_flag='${wl}-undefined ${wl}suppress'
8411
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8412
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8414
case ${MACOSX_DEPLOYMENT_TARGET} in
8416
allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8419
allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8425
archive_cmds_need_lc=no
8427
hardcode_automatic=yes
8428
hardcode_shlibpath_var=unsupported
8429
whole_archive_flag_spec=''
8430
link_all_deplibs=yes
8431
if test "$GCC" = yes ; then
8432
output_verbose_link_cmd='echo'
8433
archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8434
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8435
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8436
archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8437
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}'
8439
case $cc_basename in
8441
output_verbose_link_cmd='echo'
8442
archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
8443
module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8444
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8445
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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8446
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}'
8456
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8457
hardcode_libdir_flag_spec='-L$libdir'
8458
hardcode_shlibpath_var=no
8465
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8466
# support. Future versions do this automatically, but an explicit c++rt0.o
8467
# does not break anything, and helps significantly (at the cost of a little
8470
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8471
hardcode_libdir_flag_spec='-R$libdir'
8473
hardcode_shlibpath_var=no
8476
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
8478
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8480
hardcode_minus_L=yes
8481
hardcode_shlibpath_var=no
8484
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8485
freebsd* | kfreebsd*-gnu | dragonfly*)
8486
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8487
hardcode_libdir_flag_spec='-R$libdir'
8489
hardcode_shlibpath_var=no
8493
if test "$GCC" = yes; then
8494
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'
8496
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'
8498
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8499
hardcode_libdir_separator=:
8502
# hardcode_minus_L: Not really in the search PATH,
8503
# but as the default location of the library.
8504
hardcode_minus_L=yes
8505
export_dynamic_flag_spec='${wl}-E'
8509
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8510
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8512
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8514
if test "$with_gnu_ld" = no; then
8515
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8516
hardcode_libdir_separator=:
8519
export_dynamic_flag_spec='${wl}-E'
8521
# hardcode_minus_L: Not really in the search PATH,
8522
# but as the default location of the library.
8523
hardcode_minus_L=yes
8528
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8531
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8534
archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8537
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8543
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8546
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8549
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8553
if test "$with_gnu_ld" = no; then
8554
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8555
hardcode_libdir_separator=:
8559
hardcode_libdir_flag_spec_ld='+b $libdir'
8561
hardcode_shlibpath_var=no
8565
export_dynamic_flag_spec='${wl}-E'
8567
# hardcode_minus_L: Not really in the search PATH,
8568
# but as the default location of the library.
8569
hardcode_minus_L=yes
8575
irix5* | irix6* | nonstopux*)
8576
if test "$GCC" = yes; then
8577
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'
8579
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'
8580
hardcode_libdir_flag_spec_ld='-rpath $libdir'
8582
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8583
hardcode_libdir_separator=:
8584
link_all_deplibs=yes
8588
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8589
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8591
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8593
hardcode_libdir_flag_spec='-R$libdir'
8595
hardcode_shlibpath_var=no
8599
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8601
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8602
hardcode_libdir_separator=:
8603
hardcode_shlibpath_var=no
8608
hardcode_shlibpath_var=no
8609
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8610
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8611
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8612
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8613
export_dynamic_flag_spec='${wl}-E'
8616
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8617
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8618
hardcode_libdir_flag_spec='-R$libdir'
8621
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8622
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8629
hardcode_libdir_flag_spec='-L$libdir'
8630
hardcode_minus_L=yes
8631
allow_undefined_flag=unsupported
8632
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'
8633
old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8637
if test "$GCC" = yes; then
8638
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8639
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'
8641
allow_undefined_flag=' -expect_unresolved \*'
8642
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'
8644
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8645
hardcode_libdir_separator=:
8648
osf4* | osf5*) # as osf3* with the addition of -msym flag
8649
if test "$GCC" = yes; then
8650
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8651
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'
8652
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8654
allow_undefined_flag=' -expect_unresolved \*'
8655
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'
8656
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
8657
$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'
8659
# Both c and cxx compiler support -rpath directly
8660
hardcode_libdir_flag_spec='-rpath $libdir'
8662
hardcode_libdir_separator=:
8666
no_undefined_flag=' -z text'
8667
if test "$GCC" = yes; then
8669
archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8670
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8671
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
8674
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8675
archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
8676
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
8678
hardcode_libdir_flag_spec='-R$libdir'
8679
hardcode_shlibpath_var=no
8681
solaris2.[0-5] | solaris2.[0-5].*) ;;
8683
# The compiler driver will combine linker options so we
8684
# cannot just pass the convience library names through
8685
# without $wl, iff we do not link with $LD.
8686
# Luckily, gcc supports the same syntax we need for Sun Studio.
8687
# Supported since Solaris 2.6 (maybe 2.5.1?)
8690
whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8692
whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
8695
link_all_deplibs=yes
8699
if test "x$host_vendor" = xsequent; then
8700
# Use $CC to link under sequent, because it throws in some extra .o
8701
# files that make .init and .fini sections work.
8702
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8704
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8706
hardcode_libdir_flag_spec='-L$libdir'
8708
hardcode_minus_L=yes
8709
hardcode_shlibpath_var=no
8713
case $host_vendor in
8715
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8716
hardcode_direct=yes # is this really true???
8719
## LD is ld it makes a PLAMLIB
8720
## CC just makes a GrossModule.
8721
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8722
reload_cmds='$CC -r -o $output$reload_objs'
8726
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8727
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8730
runpath_var='LD_RUN_PATH'
8731
hardcode_shlibpath_var=no
8735
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8736
hardcode_shlibpath_var=no
8737
export_dynamic_flag_spec='-Bexport'
8741
if test -d /usr/nec; then
8742
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8743
hardcode_shlibpath_var=no
8744
runpath_var=LD_RUN_PATH
8745
hardcode_runpath_var=yes
8750
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
8751
no_undefined_flag='${wl}-z,text'
8752
archive_cmds_need_lc=no
8753
hardcode_shlibpath_var=no
8754
runpath_var='LD_RUN_PATH'
8756
if test "$GCC" = yes; then
8757
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8758
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8760
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8761
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8765
sysv5* | sco3.2v5* | sco5v6*)
8766
# Note: We can NOT use -z defs as we might desire, because we do not
8767
# link with -lc, and that would cause any symbols used from libc to
8768
# always be unresolved, which means just about no library would
8769
# ever link correctly. If we're not using GNU ld we use -z text
8770
# though, which does catch some bad symbols but isn't as heavy-handed
8772
no_undefined_flag='${wl}-z,text'
8773
allow_undefined_flag='${wl}-z,nodefs'
8774
archive_cmds_need_lc=no
8775
hardcode_shlibpath_var=no
8776
hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
8777
hardcode_libdir_separator=':'
8778
link_all_deplibs=yes
8779
export_dynamic_flag_spec='${wl}-Bexport'
8780
runpath_var='LD_RUN_PATH'
8782
if test "$GCC" = yes; then
8783
archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8784
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8786
archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8787
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
8792
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8793
hardcode_libdir_flag_spec='-L$libdir'
8794
hardcode_shlibpath_var=no
8803
{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8804
echo "${ECHO_T}$ld_shlibs" >&6; }
8805
test "$ld_shlibs" = no && can_build_shared=no
8808
# Do we need to explicitly link libc?
8810
case "x$archive_cmds_need_lc" in
8812
# Assume -lc should be added
8813
archive_cmds_need_lc=yes
8815
if test "$enable_shared" = yes && test "$GCC" = yes; then
8816
case $archive_cmds in
8818
# FIXME: we may have to deal with multi-command sequences.
8821
# Test whether the compiler implicitly links with -lc since on some
8822
# systems, -lgcc has to come before -lc. If gcc already passes -lc
8823
# to ld, don't add -lc before -lgcc.
8824
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8825
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8827
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
8829
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8830
(eval $ac_compile) 2>&5
8832
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833
(exit $ac_status); } 2>conftest.err; then
8836
libobjs=conftest.$ac_objext
8838
wl=$lt_prog_compiler_wl
8839
pic_flag=$lt_prog_compiler_pic
8845
lt_save_allow_undefined_flag=$allow_undefined_flag
8846
allow_undefined_flag=
8847
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
8848
(eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
8850
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8851
(exit $ac_status); }
8853
archive_cmds_need_lc=no
8855
archive_cmds_need_lc=yes
8857
allow_undefined_flag=$lt_save_allow_undefined_flag
8859
cat conftest.err 1>&5
8862
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8863
echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
8870
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8871
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
8873
libname_spec='lib$name'
8881
shlibpath_overrides_runpath=unknown
8883
dynamic_linker="$host_os ld.so"
8884
sys_lib_dlsearch_path_spec="/lib /usr/lib"
8885
if test "$GCC" = yes; then
8886
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8887
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
8888
# if the path contains ";" then we assume it to be the separator
8889
# otherwise default to the standard path separator (i.e. ":") - it is
8890
# assumed that no part of a normal pathname contains ";" but that should
8891
# okay in the real world where ";" in dirpaths is itself problematic.
8892
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8894
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8897
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8899
need_lib_prefix=unknown
8900
hardcode_into_libs=no
8902
# when you set need_version to no, make sure it does not cause -set_version
8903
# flags to be left without arguments
8904
need_version=unknown
8909
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8910
shlibpath_var=LIBPATH
8912
# AIX 3 has no versioning support, so we append a major version to the name.
8913
soname_spec='${libname}${release}${shared_ext}$major'
8920
hardcode_into_libs=yes
8921
if test "$host_cpu" = ia64; then
8922
# AIX 5 supports IA64
8923
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8924
shlibpath_var=LD_LIBRARY_PATH
8926
# With GCC up to 2.95.x, collect2 would create an import file
8927
# for dependence libraries. The import file would start with
8928
# the line `#! .'. This would cause the generated library to
8929
# depend on `.', always an invalid library. This was fixed in
8930
# development snapshots of GCC prior to 3.0.
8932
aix4 | aix4.[01] | aix4.[01].*)
8933
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8935
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
8942
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8943
# soname into executable. Probably we can add versioning support to
8944
# collect2, so additional links can be useful in future.
8945
if test "$aix_use_runtimelinking" = yes; then
8946
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
8947
# instead of lib<name>.a to let people know that these are not
8948
# typical AIX shared libraries.
8949
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8951
# We preserve .a as extension for shared libraries through AIX4.2
8952
# and later when we are not doing run time linking.
8953
library_names_spec='${libname}${release}.a $libname.a'
8954
soname_spec='${libname}${release}${shared_ext}$major'
8956
shlibpath_var=LIBPATH
8961
library_names_spec='$libname.ixlibrary $libname.a'
8962
# Create ${libname}_ixlibrary.a entries in /sys/libs.
8963
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'
8967
library_names_spec='${libname}${shared_ext}'
8968
dynamic_linker="$host_os ld.so"
8969
shlibpath_var=LIBRARY_PATH
8975
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8976
soname_spec='${libname}${release}${shared_ext}$major'
8977
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8978
shlibpath_var=LD_LIBRARY_PATH
8979
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8980
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8981
# the default ld.so.conf also contains /usr/contrib/lib and
8982
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8983
# libtool to hard-code these into programs
8986
cygwin* | mingw* | pw32*)
8987
version_type=windows
8992
case $GCC,$host_os in
8993
yes,cygwin* | yes,mingw* | yes,pw32*)
8994
library_names_spec='$libname.dll.a'
8995
# DLL is installed to $(libdir)/../bin by postinstall_cmds
8996
postinstall_cmds='base_file=`basename \${file}`~
8997
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8998
dldir=$destdir/`dirname \$dlpath`~
8999
test -d \$dldir || mkdir -p \$dldir~
9000
$install_prog $dir/$dlname \$dldir/$dlname~
9001
chmod a+x \$dldir/$dlname'
9002
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9003
dlpath=$dir/\$dldll~
9005
shlibpath_overrides_runpath=yes
9009
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9010
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9011
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9014
# MinGW DLLs use traditional 'lib' prefix
9015
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9016
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9017
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
9018
# It is most probably a Windows format PATH printed by
9019
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9020
# path with ; separators, and with drive letters. We can handle the
9021
# drive letters (cygwin fileutils understands them), so leave them,
9022
# especially as we might pass files found there to a mingw objdump,
9023
# which wouldn't understand a cygwinified path. Ahh.
9024
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9026
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9030
# pw32 DLLs use 'pw' prefix rather than 'lib'
9031
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9037
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9040
dynamic_linker='Win32 ld.exe'
9041
# FIXME: first we should search . and the directory the executable is in
9045
darwin* | rhapsody*)
9046
dynamic_linker="$host_os dyld"
9050
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9051
soname_spec='${libname}${release}${major}$shared_ext'
9052
shlibpath_overrides_runpath=yes
9053
shlibpath_var=DYLD_LIBRARY_PATH
9054
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9055
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9056
if test "$GCC" = yes; then
9057
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
9059
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9061
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9068
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9069
soname_spec='${libname}${release}${shared_ext}$major'
9070
shlibpath_var=LD_LIBRARY_PATH
9081
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9082
soname_spec='${libname}${release}${shared_ext}$major'
9083
shlibpath_var=LD_LIBRARY_PATH
9084
shlibpath_overrides_runpath=no
9085
hardcode_into_libs=yes
9086
dynamic_linker='GNU ld.so'
9089
freebsd* | dragonfly*)
9090
# DragonFly does not have aout. When/if they implement a new
9091
# versioning mechanism, adjust this.
9092
if test -x /usr/bin/objformat; then
9093
objformat=`/usr/bin/objformat`
9096
freebsd[123]*) objformat=aout ;;
9100
version_type=freebsd-$objformat
9101
case $version_type in
9103
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9108
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9112
shlibpath_var=LD_LIBRARY_PATH
9115
shlibpath_overrides_runpath=yes
9117
freebsd3.[01]* | freebsdelf3.[01]*)
9118
shlibpath_overrides_runpath=yes
9119
hardcode_into_libs=yes
9121
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9122
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9123
shlibpath_overrides_runpath=no
9124
hardcode_into_libs=yes
9126
freebsd*) # from 4.6 on
9127
shlibpath_overrides_runpath=yes
9128
hardcode_into_libs=yes
9137
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9138
soname_spec='${libname}${release}${shared_ext}$major'
9139
shlibpath_var=LD_LIBRARY_PATH
9140
hardcode_into_libs=yes
9143
hpux9* | hpux10* | hpux11*)
9144
# Give a soname corresponding to the major version so that dld.sl refuses to
9145
# link against other versions.
9152
hardcode_into_libs=yes
9153
dynamic_linker="$host_os dld.so"
9154
shlibpath_var=LD_LIBRARY_PATH
9155
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9156
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9157
soname_spec='${libname}${release}${shared_ext}$major'
9158
if test "X$HPUX_IA64_MODE" = X32; then
9159
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9161
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9163
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9167
hardcode_into_libs=yes
9168
dynamic_linker="$host_os dld.sl"
9169
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9170
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9171
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9172
soname_spec='${libname}${release}${shared_ext}$major'
9173
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9174
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9178
dynamic_linker="$host_os dld.sl"
9179
shlibpath_var=SHLIB_PATH
9180
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9181
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9182
soname_spec='${libname}${release}${shared_ext}$major'
9185
# HP-UX runs *really* slowly unless shared libraries are mode 555.
9186
postinstall_cmds='chmod 555 $lib'
9193
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9194
soname_spec='${libname}${release}${shared_ext}$major'
9195
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9196
shlibpath_var=LD_LIBRARY_PATH
9197
shlibpath_overrides_runpath=no
9198
hardcode_into_libs=yes
9201
irix5* | irix6* | nonstopux*)
9203
nonstopux*) version_type=nonstopux ;;
9205
if test "$lt_cv_prog_gnu_ld" = yes; then
9213
soname_spec='${libname}${release}${shared_ext}$major'
9214
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9216
irix5* | nonstopux*)
9220
case $LD in # libtool.m4 will add one of these switches to LD
9221
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9222
libsuff= shlibsuff= libmagic=32-bit;;
9223
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9224
libsuff=32 shlibsuff=N32 libmagic=N32;;
9225
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9226
libsuff=64 shlibsuff=64 libmagic=64-bit;;
9227
*) libsuff= shlibsuff= libmagic=never-match;;
9231
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9232
shlibpath_overrides_runpath=no
9233
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9234
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9235
hardcode_into_libs=yes
9238
# No shared lib support for Linux oldld, aout, or coff.
9239
linux*oldld* | linux*aout* | linux*coff*)
9243
# This must be Linux ELF.
9248
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9249
soname_spec='${libname}${release}${shared_ext}$major'
9250
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9251
shlibpath_var=LD_LIBRARY_PATH
9252
shlibpath_overrides_runpath=no
9253
# This implies no fast_install, which is unacceptable.
9254
# Some rework will be needed to allow for fast_install
9255
# before this can be enabled.
9256
hardcode_into_libs=yes
9258
# find out which ABI we are using
9261
x86_64*|s390x*|powerpc64*)
9262
echo '#line 9262 "configure"' > conftest.$ac_ext
9263
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9264
(eval $ac_compile) 2>&5
9266
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267
(exit $ac_status); }; then
9268
case `/usr/bin/file conftest.$ac_objext` in
9271
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
9279
# Append ld.so.conf contents to the search path
9280
if test -f /etc/ld.so.conf; then
9281
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/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9282
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
9285
# We used to test for /lib/ld.so.1 and disable shared libraries on
9286
# powerpc, because MkLinux only supported shared libraries with the
9287
# GNU dynamic linker. Since this was broken with cross compilers,
9288
# most powerpc-linux boxes support dynamic linking these days and
9289
# people can always --disable-shared, the test was removed, and we
9290
# assume the GNU/Linux dynamic linker is in use.
9291
dynamic_linker='GNU/Linux ld.so'
9298
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9299
soname_spec='${libname}${release}${shared_ext}$major'
9300
shlibpath_var=LD_LIBRARY_PATH
9301
shlibpath_overrides_runpath=no
9302
hardcode_into_libs=yes
9303
dynamic_linker='GNU ld.so'
9310
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
9311
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9312
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9313
dynamic_linker='NetBSD (a.out) ld.so'
9315
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9316
soname_spec='${libname}${release}${shared_ext}$major'
9317
dynamic_linker='NetBSD ld.elf_so'
9319
shlibpath_var=LD_LIBRARY_PATH
9320
shlibpath_overrides_runpath=yes
9321
hardcode_into_libs=yes
9326
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9327
shlibpath_var=LD_LIBRARY_PATH
9328
shlibpath_overrides_runpath=yes
9335
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9336
soname_spec='${libname}${release}${shared_ext}$major'
9337
shlibpath_var=LD_LIBRARY_PATH
9338
shlibpath_overrides_runpath=yes
9343
sys_lib_dlsearch_path_spec="/usr/lib"
9345
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9347
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9348
*) need_version=no ;;
9350
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9351
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9352
shlibpath_var=LD_LIBRARY_PATH
9353
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9355
openbsd2.[89] | openbsd2.[89].*)
9356
shlibpath_overrides_runpath=no
9359
shlibpath_overrides_runpath=yes
9363
shlibpath_overrides_runpath=yes
9368
libname_spec='$name'
9371
library_names_spec='$libname${shared_ext} $libname.a'
9372
dynamic_linker='OS/2 ld.exe'
9373
shlibpath_var=LIBPATH
9376
osf3* | osf4* | osf5*)
9380
soname_spec='${libname}${release}${shared_ext}$major'
9381
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9382
shlibpath_var=LD_LIBRARY_PATH
9383
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9384
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9391
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9392
soname_spec='${libname}${release}${shared_ext}$major'
9393
shlibpath_var=LD_LIBRARY_PATH
9394
shlibpath_overrides_runpath=yes
9395
hardcode_into_libs=yes
9396
# ldd complains unless libraries are executable
9397
postinstall_cmds='chmod +x $lib'
9402
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9403
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9404
shlibpath_var=LD_LIBRARY_PATH
9405
shlibpath_overrides_runpath=yes
9406
if test "$with_gnu_ld" = yes; then
9414
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9415
soname_spec='${libname}${release}${shared_ext}$major'
9416
shlibpath_var=LD_LIBRARY_PATH
9417
case $host_vendor in
9419
shlibpath_overrides_runpath=no
9421
export_dynamic_flag_spec='${wl}-Blargedynsym'
9422
runpath_var=LD_RUN_PATH
9430
shlibpath_overrides_runpath=no
9431
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9437
if test -d /usr/nec ;then
9439
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9440
soname_spec='$libname${shared_ext}.$major'
9441
shlibpath_var=LD_LIBRARY_PATH
9445
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9446
version_type=freebsd-elf
9449
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9450
soname_spec='${libname}${release}${shared_ext}$major'
9451
shlibpath_var=LD_LIBRARY_PATH
9452
hardcode_into_libs=yes
9453
if test "$with_gnu_ld" = yes; then
9454
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9455
shlibpath_overrides_runpath=no
9457
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9458
shlibpath_overrides_runpath=yes
9461
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9465
sys_lib_dlsearch_path_spec='/usr/lib'
9470
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9471
soname_spec='${libname}${release}${shared_ext}$major'
9472
shlibpath_var=LD_LIBRARY_PATH
9479
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9480
echo "${ECHO_T}$dynamic_linker" >&6; }
9481
test "$dynamic_linker" = no && can_build_shared=no
9483
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9484
if test "$GCC" = yes; then
9485
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9488
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9489
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
9491
if test -n "$hardcode_libdir_flag_spec" || \
9492
test -n "$runpath_var" || \
9493
test "X$hardcode_automatic" = "Xyes" ; then
9495
# We can hardcode non-existant directories.
9496
if test "$hardcode_direct" != no &&
9497
# If the only mechanism to avoid hardcoding is shlibpath_var, we
9498
# have to relink, otherwise we might link with an installed library
9499
# when we should be linking with a yet-to-be-installed one
9500
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
9501
test "$hardcode_minus_L" != no; then
9502
# Linking always hardcodes the temporary library directory.
9503
hardcode_action=relink
9505
# We can link without hardcoding, and we can hardcode nonexisting dirs.
9506
hardcode_action=immediate
9509
# We cannot hardcode anything, or else we can only hardcode existing
9511
hardcode_action=unsupported
9513
{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
9514
echo "${ECHO_T}$hardcode_action" >&6; }
9516
if test "$hardcode_action" = relink; then
9517
# Fast installation is not supported
9518
enable_fast_install=no
9519
elif test "$shlibpath_overrides_runpath" = yes ||
9520
test "$enable_shared" = no; then
9521
# Fast installation is not necessary
9522
enable_fast_install=needless
9527
{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
9528
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
9529
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
9530
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
9531
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
9532
{ echo "$as_me:$LINENO: result: yes" >&5
9533
echo "${ECHO_T}yes" >&6; }
9535
# FIXME - insert some real tests, host_os isn't really good enough
9538
if test -n "$STRIP" ; then
9539
striplib="$STRIP -x"
9540
{ echo "$as_me:$LINENO: result: yes" >&5
9541
echo "${ECHO_T}yes" >&6; }
9543
{ echo "$as_me:$LINENO: result: no" >&5
9544
echo "${ECHO_T}no" >&6; }
9548
{ echo "$as_me:$LINENO: result: no" >&5
9549
echo "${ECHO_T}no" >&6; }
9554
if test "x$enable_dlopen" != xyes; then
9555
enable_dlopen=unknown
9556
enable_dlopen_self=unknown
9557
enable_dlopen_self_static=unknown
9564
lt_cv_dlopen="load_add_on"
9566
lt_cv_dlopen_self=yes
9570
lt_cv_dlopen="LoadLibrary"
9575
lt_cv_dlopen="dlopen"
9580
# if libdl is installed we need to link against it
9581
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9582
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9583
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9584
echo $ECHO_N "(cached) $ECHO_C" >&6
9586
ac_check_lib_save_LIBS=$LIBS
9588
cat >conftest.$ac_ext <<_ACEOF
9591
cat confdefs.h >>conftest.$ac_ext
9592
cat >>conftest.$ac_ext <<_ACEOF
9593
/* end confdefs.h. */
9595
/* Override any GCC internal prototype to avoid an error.
9596
Use char because int might match the return type of a GCC
9597
builtin and then its argument prototype would still apply. */
9610
rm -f conftest.$ac_objext conftest$ac_exeext
9611
if { (ac_try="$ac_link"
9613
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9614
*) ac_try_echo=$ac_try;;
9616
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9617
(eval "$ac_link") 2>conftest.er1
9619
grep -v '^ *+' conftest.er1 >conftest.err
9621
cat conftest.err >&5
9622
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623
(exit $ac_status); } && {
9624
test -z "$ac_c_werror_flag" ||
9625
test ! -s conftest.err
9626
} && test -s conftest$ac_exeext &&
9627
$as_test_x conftest$ac_exeext; then
9628
ac_cv_lib_dl_dlopen=yes
9630
echo "$as_me: failed program was:" >&5
9631
sed 's/^/| /' conftest.$ac_ext >&5
9633
ac_cv_lib_dl_dlopen=no
9636
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9637
conftest$ac_exeext conftest.$ac_ext
9638
LIBS=$ac_check_lib_save_LIBS
9640
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9641
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9642
if test $ac_cv_lib_dl_dlopen = yes; then
9643
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9648
lt_cv_dlopen_self=yes
9655
{ echo "$as_me:$LINENO: checking for shl_load" >&5
9656
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
9657
if test "${ac_cv_func_shl_load+set}" = set; then
9658
echo $ECHO_N "(cached) $ECHO_C" >&6
9660
cat >conftest.$ac_ext <<_ACEOF
9663
cat confdefs.h >>conftest.$ac_ext
9664
cat >>conftest.$ac_ext <<_ACEOF
9665
/* end confdefs.h. */
9666
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9667
For example, HP-UX 11i <limits.h> declares gettimeofday. */
9668
#define shl_load innocuous_shl_load
9670
/* System header to define __stub macros and hopefully few prototypes,
9671
which can conflict with char shl_load (); below.
9672
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9673
<limits.h> exists even on freestanding compilers. */
9676
# include <limits.h>
9678
# include <assert.h>
9683
/* Override any GCC internal prototype to avoid an error.
9684
Use char because int might match the return type of a GCC
9685
builtin and then its argument prototype would still apply. */
9690
/* The GNU C library defines this for functions which it implements
9691
to always fail with ENOSYS. Some functions are actually named
9692
something starting with __ and the normal name is an alias. */
9693
#if defined __stub_shl_load || defined __stub___shl_load
9705
rm -f conftest.$ac_objext conftest$ac_exeext
9706
if { (ac_try="$ac_link"
9708
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9709
*) ac_try_echo=$ac_try;;
9711
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9712
(eval "$ac_link") 2>conftest.er1
9714
grep -v '^ *+' conftest.er1 >conftest.err
9716
cat conftest.err >&5
9717
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718
(exit $ac_status); } && {
9719
test -z "$ac_c_werror_flag" ||
9720
test ! -s conftest.err
9721
} && test -s conftest$ac_exeext &&
9722
$as_test_x conftest$ac_exeext; then
9723
ac_cv_func_shl_load=yes
9725
echo "$as_me: failed program was:" >&5
9726
sed 's/^/| /' conftest.$ac_ext >&5
9728
ac_cv_func_shl_load=no
9731
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9732
conftest$ac_exeext conftest.$ac_ext
9734
{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9735
echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
9736
if test $ac_cv_func_shl_load = yes; then
9737
lt_cv_dlopen="shl_load"
9739
{ echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9740
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
9741
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9742
echo $ECHO_N "(cached) $ECHO_C" >&6
9744
ac_check_lib_save_LIBS=$LIBS
9746
cat >conftest.$ac_ext <<_ACEOF
9749
cat confdefs.h >>conftest.$ac_ext
9750
cat >>conftest.$ac_ext <<_ACEOF
9751
/* end confdefs.h. */
9753
/* Override any GCC internal prototype to avoid an error.
9754
Use char because int might match the return type of a GCC
9755
builtin and then its argument prototype would still apply. */
9768
rm -f conftest.$ac_objext conftest$ac_exeext
9769
if { (ac_try="$ac_link"
9771
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9772
*) ac_try_echo=$ac_try;;
9774
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9775
(eval "$ac_link") 2>conftest.er1
9777
grep -v '^ *+' conftest.er1 >conftest.err
9779
cat conftest.err >&5
9780
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781
(exit $ac_status); } && {
9782
test -z "$ac_c_werror_flag" ||
9783
test ! -s conftest.err
9784
} && test -s conftest$ac_exeext &&
9785
$as_test_x conftest$ac_exeext; then
9786
ac_cv_lib_dld_shl_load=yes
9788
echo "$as_me: failed program was:" >&5
9789
sed 's/^/| /' conftest.$ac_ext >&5
9791
ac_cv_lib_dld_shl_load=no
9794
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9795
conftest$ac_exeext conftest.$ac_ext
9796
LIBS=$ac_check_lib_save_LIBS
9798
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9799
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
9800
if test $ac_cv_lib_dld_shl_load = yes; then
9801
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9803
{ echo "$as_me:$LINENO: checking for dlopen" >&5
9804
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9805
if test "${ac_cv_func_dlopen+set}" = set; then
9806
echo $ECHO_N "(cached) $ECHO_C" >&6
9808
cat >conftest.$ac_ext <<_ACEOF
9811
cat confdefs.h >>conftest.$ac_ext
9812
cat >>conftest.$ac_ext <<_ACEOF
9813
/* end confdefs.h. */
9814
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9815
For example, HP-UX 11i <limits.h> declares gettimeofday. */
9816
#define dlopen innocuous_dlopen
9818
/* System header to define __stub macros and hopefully few prototypes,
9819
which can conflict with char dlopen (); below.
9820
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9821
<limits.h> exists even on freestanding compilers. */
9824
# include <limits.h>
9826
# include <assert.h>
9831
/* Override any GCC internal prototype to avoid an error.
9832
Use char because int might match the return type of a GCC
9833
builtin and then its argument prototype would still apply. */
9838
/* The GNU C library defines this for functions which it implements
9839
to always fail with ENOSYS. Some functions are actually named
9840
something starting with __ and the normal name is an alias. */
9841
#if defined __stub_dlopen || defined __stub___dlopen
9853
rm -f conftest.$ac_objext conftest$ac_exeext
9854
if { (ac_try="$ac_link"
9856
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9857
*) ac_try_echo=$ac_try;;
9859
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9860
(eval "$ac_link") 2>conftest.er1
9862
grep -v '^ *+' conftest.er1 >conftest.err
9864
cat conftest.err >&5
9865
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9866
(exit $ac_status); } && {
9867
test -z "$ac_c_werror_flag" ||
9868
test ! -s conftest.err
9869
} && test -s conftest$ac_exeext &&
9870
$as_test_x conftest$ac_exeext; then
9871
ac_cv_func_dlopen=yes
9873
echo "$as_me: failed program was:" >&5
9874
sed 's/^/| /' conftest.$ac_ext >&5
9876
ac_cv_func_dlopen=no
9879
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9880
conftest$ac_exeext conftest.$ac_ext
9882
{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9883
echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9884
if test $ac_cv_func_dlopen = yes; then
9885
lt_cv_dlopen="dlopen"
9887
{ echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9888
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9889
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9890
echo $ECHO_N "(cached) $ECHO_C" >&6
9892
ac_check_lib_save_LIBS=$LIBS
9894
cat >conftest.$ac_ext <<_ACEOF
9897
cat confdefs.h >>conftest.$ac_ext
9898
cat >>conftest.$ac_ext <<_ACEOF
9899
/* end confdefs.h. */
9901
/* Override any GCC internal prototype to avoid an error.
9902
Use char because int might match the return type of a GCC
9903
builtin and then its argument prototype would still apply. */
9916
rm -f conftest.$ac_objext conftest$ac_exeext
9917
if { (ac_try="$ac_link"
9919
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9920
*) ac_try_echo=$ac_try;;
9922
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9923
(eval "$ac_link") 2>conftest.er1
9925
grep -v '^ *+' conftest.er1 >conftest.err
9927
cat conftest.err >&5
9928
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9929
(exit $ac_status); } && {
9930
test -z "$ac_c_werror_flag" ||
9931
test ! -s conftest.err
9932
} && test -s conftest$ac_exeext &&
9933
$as_test_x conftest$ac_exeext; then
9934
ac_cv_lib_dl_dlopen=yes
9936
echo "$as_me: failed program was:" >&5
9937
sed 's/^/| /' conftest.$ac_ext >&5
9939
ac_cv_lib_dl_dlopen=no
9942
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9943
conftest$ac_exeext conftest.$ac_ext
9944
LIBS=$ac_check_lib_save_LIBS
9946
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9947
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9948
if test $ac_cv_lib_dl_dlopen = yes; then
9949
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9951
{ echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9952
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
9953
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9954
echo $ECHO_N "(cached) $ECHO_C" >&6
9956
ac_check_lib_save_LIBS=$LIBS
9958
cat >conftest.$ac_ext <<_ACEOF
9961
cat confdefs.h >>conftest.$ac_ext
9962
cat >>conftest.$ac_ext <<_ACEOF
9963
/* end confdefs.h. */
9965
/* Override any GCC internal prototype to avoid an error.
9966
Use char because int might match the return type of a GCC
9967
builtin and then its argument prototype would still apply. */
9980
rm -f conftest.$ac_objext conftest$ac_exeext
9981
if { (ac_try="$ac_link"
9983
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9984
*) ac_try_echo=$ac_try;;
9986
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9987
(eval "$ac_link") 2>conftest.er1
9989
grep -v '^ *+' conftest.er1 >conftest.err
9991
cat conftest.err >&5
9992
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9993
(exit $ac_status); } && {
9994
test -z "$ac_c_werror_flag" ||
9995
test ! -s conftest.err
9996
} && test -s conftest$ac_exeext &&
9997
$as_test_x conftest$ac_exeext; then
9998
ac_cv_lib_svld_dlopen=yes
10000
echo "$as_me: failed program was:" >&5
10001
sed 's/^/| /' conftest.$ac_ext >&5
10003
ac_cv_lib_svld_dlopen=no
10006
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10007
conftest$ac_exeext conftest.$ac_ext
10008
LIBS=$ac_check_lib_save_LIBS
10010
{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10011
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
10012
if test $ac_cv_lib_svld_dlopen = yes; then
10013
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10015
{ echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10016
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
10017
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10018
echo $ECHO_N "(cached) $ECHO_C" >&6
10020
ac_check_lib_save_LIBS=$LIBS
10022
cat >conftest.$ac_ext <<_ACEOF
10025
cat confdefs.h >>conftest.$ac_ext
10026
cat >>conftest.$ac_ext <<_ACEOF
10027
/* end confdefs.h. */
10029
/* Override any GCC internal prototype to avoid an error.
10030
Use char because int might match the return type of a GCC
10031
builtin and then its argument prototype would still apply. */
10039
return dld_link ();
10044
rm -f conftest.$ac_objext conftest$ac_exeext
10045
if { (ac_try="$ac_link"
10046
case "(($ac_try" in
10047
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10048
*) ac_try_echo=$ac_try;;
10050
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10051
(eval "$ac_link") 2>conftest.er1
10053
grep -v '^ *+' conftest.er1 >conftest.err
10055
cat conftest.err >&5
10056
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057
(exit $ac_status); } && {
10058
test -z "$ac_c_werror_flag" ||
10059
test ! -s conftest.err
10060
} && test -s conftest$ac_exeext &&
10061
$as_test_x conftest$ac_exeext; then
10062
ac_cv_lib_dld_dld_link=yes
10064
echo "$as_me: failed program was:" >&5
10065
sed 's/^/| /' conftest.$ac_ext >&5
10067
ac_cv_lib_dld_dld_link=no
10070
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10071
conftest$ac_exeext conftest.$ac_ext
10072
LIBS=$ac_check_lib_save_LIBS
10074
{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10075
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
10076
if test $ac_cv_lib_dld_dld_link = yes; then
10077
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10098
if test "x$lt_cv_dlopen" != xno; then
10104
case $lt_cv_dlopen in
10106
save_CPPFLAGS="$CPPFLAGS"
10107
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10109
save_LDFLAGS="$LDFLAGS"
10110
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10113
LIBS="$lt_cv_dlopen_libs $LIBS"
10115
{ echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10116
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
10117
if test "${lt_cv_dlopen_self+set}" = set; then
10118
echo $ECHO_N "(cached) $ECHO_C" >&6
10120
if test "$cross_compiling" = yes; then :
10121
lt_cv_dlopen_self=cross
10123
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10124
lt_status=$lt_dlunknown
10125
cat > conftest.$ac_ext <<EOF
10126
#line 10126 "configure"
10127
#include "confdefs.h"
10136
# define LT_DLGLOBAL RTLD_GLOBAL
10139
# define LT_DLGLOBAL DL_GLOBAL
10141
# define LT_DLGLOBAL 0
10145
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10146
find out it does not work in some platform. */
10147
#ifndef LT_DLLAZY_OR_NOW
10149
# define LT_DLLAZY_OR_NOW RTLD_LAZY
10152
# define LT_DLLAZY_OR_NOW DL_LAZY
10155
# define LT_DLLAZY_OR_NOW RTLD_NOW
10158
# define LT_DLLAZY_OR_NOW DL_NOW
10160
# define LT_DLLAZY_OR_NOW 0
10168
extern "C" void exit (int);
10171
void fnord() { int i=42;}
10174
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10175
int status = $lt_dlunknown;
10179
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10180
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10181
/* dlclose (self); */
10189
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10190
(eval $ac_link) 2>&5
10192
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10193
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10194
(./conftest; exit; ) >&5 2>/dev/null
10196
case x$lt_status in
10197
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10198
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10199
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10202
# compilation failed
10203
lt_cv_dlopen_self=no
10210
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10211
echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
10213
if test "x$lt_cv_dlopen_self" = xyes; then
10214
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10215
{ echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10216
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
10217
if test "${lt_cv_dlopen_self_static+set}" = set; then
10218
echo $ECHO_N "(cached) $ECHO_C" >&6
10220
if test "$cross_compiling" = yes; then :
10221
lt_cv_dlopen_self_static=cross
10223
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10224
lt_status=$lt_dlunknown
10225
cat > conftest.$ac_ext <<EOF
10226
#line 10226 "configure"
10227
#include "confdefs.h"
10236
# define LT_DLGLOBAL RTLD_GLOBAL
10239
# define LT_DLGLOBAL DL_GLOBAL
10241
# define LT_DLGLOBAL 0
10245
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10246
find out it does not work in some platform. */
10247
#ifndef LT_DLLAZY_OR_NOW
10249
# define LT_DLLAZY_OR_NOW RTLD_LAZY
10252
# define LT_DLLAZY_OR_NOW DL_LAZY
10255
# define LT_DLLAZY_OR_NOW RTLD_NOW
10258
# define LT_DLLAZY_OR_NOW DL_NOW
10260
# define LT_DLLAZY_OR_NOW 0
10268
extern "C" void exit (int);
10271
void fnord() { int i=42;}
10274
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10275
int status = $lt_dlunknown;
10279
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10280
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10281
/* dlclose (self); */
10289
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10290
(eval $ac_link) 2>&5
10292
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10293
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10294
(./conftest; exit; ) >&5 2>/dev/null
10296
case x$lt_status in
10297
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10298
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10299
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10302
# compilation failed
10303
lt_cv_dlopen_self_static=no
10310
{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10311
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
10314
CPPFLAGS="$save_CPPFLAGS"
10315
LDFLAGS="$save_LDFLAGS"
10320
case $lt_cv_dlopen_self in
10321
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10322
*) enable_dlopen_self=unknown ;;
10325
case $lt_cv_dlopen_self_static in
10326
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10327
*) enable_dlopen_self_static=unknown ;;
10332
# Report which library types will actually be built
10333
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10334
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
10335
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
10336
echo "${ECHO_T}$can_build_shared" >&6; }
10338
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10339
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
10340
test "$can_build_shared" = "no" && enable_shared=no
10342
# On AIX, shared libraries and static libraries use the same namespace, and
10343
# are all built from PIC.
10346
test "$enable_shared" = yes && enable_static=no
10347
if test -n "$RANLIB"; then
10348
archive_cmds="$archive_cmds~\$RANLIB \$lib"
10349
postinstall_cmds='$RANLIB $lib'
10354
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10355
test "$enable_shared" = yes && enable_static=no
10359
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
10360
echo "${ECHO_T}$enable_shared" >&6; }
10362
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10363
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
10364
# Make sure either enable_shared or enable_static is yes.
10365
test "$enable_shared" = yes || enable_static=yes
10366
{ echo "$as_me:$LINENO: result: $enable_static" >&5
10367
echo "${ECHO_T}$enable_static" >&6; }
10369
# The else clause should only fire when bootstrapping the
10370
# libtool distribution, otherwise you forgot to ship ltmain.sh
10371
# with your package, and you will get complaints that there are
10372
# no rules to generate ltmain.sh.
10373
if test -f "$ltmain"; then
10374
# See if we are running on zsh, and set the options which allow our commands through
10375
# without removal of \ escapes.
10376
if test -n "${ZSH_VERSION+set}" ; then
10377
setopt NO_GLOB_SUBST
10379
# Now quote all the things that may contain metacharacters while being
10380
# careful not to overquote the AC_SUBSTed values. We take copies of the
10381
# variables and quote the copies for generation of the libtool script.
10382
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10384
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10385
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10386
deplibs_check_method reload_flag reload_cmds need_locks \
10387
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10388
lt_cv_sys_global_symbol_to_c_name_address \
10389
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10390
old_postinstall_cmds old_postuninstall_cmds \
10394
lt_prog_compiler_wl \
10395
lt_prog_compiler_pic \
10396
lt_prog_compiler_static \
10397
lt_prog_compiler_no_builtin_flag \
10398
export_dynamic_flag_spec \
10399
thread_safe_flag_spec \
10400
whole_archive_flag_spec \
10401
enable_shared_with_static_runtimes \
10403
old_archive_from_new_cmds \
10408
compiler_lib_search_path \
10410
archive_expsym_cmds \
10412
postuninstall_cmds \
10413
old_archive_from_expsyms_cmds \
10414
allow_undefined_flag \
10415
no_undefined_flag \
10416
export_symbols_cmds \
10417
hardcode_libdir_flag_spec \
10418
hardcode_libdir_flag_spec_ld \
10419
hardcode_libdir_separator \
10420
hardcode_automatic \
10422
module_expsym_cmds \
10423
lt_cv_prog_compiler_c_o \
10425
include_expsyms; do
10428
old_archive_cmds | \
10429
old_archive_from_new_cmds | \
10431
archive_expsym_cmds | \
10433
module_expsym_cmds | \
10434
old_archive_from_expsyms_cmds | \
10435
export_symbols_cmds | \
10436
extract_expsyms_cmds | reload_cmds | finish_cmds | \
10437
postinstall_cmds | postuninstall_cmds | \
10438
old_postinstall_cmds | old_postuninstall_cmds | \
10439
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10440
# Double-quote double-evaled strings.
10441
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10444
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10450
*'\$0 --fallback-echo"')
10451
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10455
cfgfile="${ofile}T"
10456
trap "$rm \"$cfgfile\"; exit 1" 1 2 15
10458
{ echo "$as_me:$LINENO: creating $ofile" >&5
10459
echo "$as_me: creating $ofile" >&6;}
10461
cat <<__EOF__ >> "$cfgfile"
10464
# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
10465
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10466
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10468
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
10469
# Free Software Foundation, Inc.
10471
# This file is part of GNU Libtool:
10472
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
10474
# This program is free software; you can redistribute it and/or modify
10475
# it under the terms of the GNU General Public License as published by
10476
# the Free Software Foundation; either version 2 of the License, or
10477
# (at your option) any later version.
10479
# This program is distributed in the hope that it will be useful, but
10480
# WITHOUT ANY WARRANTY; without even the implied warranty of
10481
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10482
# General Public License for more details.
10484
# You should have received a copy of the GNU General Public License
10485
# along with this program; if not, write to the Free Software
10486
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
10488
# As a special exception to the GNU General Public License, if you
10489
# distribute this file as part of a program that contains a
10490
# configuration script generated by Autoconf, you may include it under
10491
# the same distribution terms that you use for the rest of that program.
10493
# A sed program that does not truncate output.
10496
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
10497
Xsed="$SED -e 1s/^X//"
10499
# The HP-UX ksh and POSIX shell print the target directory to stdout
10500
# if CDPATH is set.
10501
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
10503
# The names of the tagged configurations supported by this script.
10506
# ### BEGIN LIBTOOL CONFIG
10508
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10510
# Shell to use when invoking shell scripts.
10513
# Whether or not to build shared libraries.
10514
build_libtool_libs=$enable_shared
10516
# Whether or not to build static libraries.
10517
build_old_libs=$enable_static
10519
# Whether or not to add -lc for building shared libraries.
10520
build_libtool_need_lc=$archive_cmds_need_lc
10522
# Whether or not to disallow shared libs when runtime libs are static
10523
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
10525
# Whether or not to optimize for fast installation.
10526
fast_install=$enable_fast_install
10529
host_alias=$host_alias
10533
# The build system.
10534
build_alias=$build_alias
10538
# An echo program that does not interpret backslashes.
10543
AR_FLAGS=$lt_AR_FLAGS
10548
# LTCC compiler flags.
10549
LTCFLAGS=$lt_LTCFLAGS
10551
# A language-specific compiler.
10554
# Is the compiler the GNU C compiler?
10560
# The linker used to build libraries.
10563
# Whether we need hard or soft links.
10566
# A BSD-compatible nm program.
10569
# A symbol stripping program
10572
# Used to examine libraries when file_magic_cmd begins "file"
10573
MAGIC_CMD=$MAGIC_CMD
10575
# Used on cygwin: DLL creation program.
10578
# Used on cygwin: object dumper.
10581
# Used on cygwin: assembler.
10584
# The name of the directory that contains temporary libtool files.
10587
# How to create reloadable object files.
10588
reload_flag=$lt_reload_flag
10589
reload_cmds=$lt_reload_cmds
10591
# How to pass a linker flag through the compiler.
10592
wl=$lt_lt_prog_compiler_wl
10594
# Object file suffix (normally "o").
10595
objext="$ac_objext"
10597
# Old archive suffix (normally "a").
10600
# Shared library suffix (normally ".so").
10601
shrext_cmds='$shrext_cmds'
10603
# Executable file suffix (normally "").
10606
# Additional compiler flags for building library objects.
10607
pic_flag=$lt_lt_prog_compiler_pic
10610
# What is the maximum length of a command?
10611
max_cmd_len=$lt_cv_sys_max_cmd_len
10613
# Does compiler simultaneously support -c and -o options?
10614
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
10616
# Must we lock files when doing compilation?
10617
need_locks=$lt_need_locks
10619
# Do we need the lib prefix for modules?
10620
need_lib_prefix=$need_lib_prefix
10622
# Do we need a version for libraries?
10623
need_version=$need_version
10625
# Whether dlopen is supported.
10626
dlopen_support=$enable_dlopen
10628
# Whether dlopen of programs is supported.
10629
dlopen_self=$enable_dlopen_self
10631
# Whether dlopen of statically linked programs is supported.
10632
dlopen_self_static=$enable_dlopen_self_static
10634
# Compiler flag to prevent dynamic linking.
10635
link_static_flag=$lt_lt_prog_compiler_static
10637
# Compiler flag to turn off builtin functions.
10638
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
10640
# Compiler flag to allow reflexive dlopens.
10641
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
10643
# Compiler flag to generate shared objects directly from archives.
10644
whole_archive_flag_spec=$lt_whole_archive_flag_spec
10646
# Compiler flag to generate thread-safe objects.
10647
thread_safe_flag_spec=$lt_thread_safe_flag_spec
10649
# Library versioning type.
10650
version_type=$version_type
10652
# Format of library name prefix.
10653
libname_spec=$lt_libname_spec
10655
# List of archive names. First name is the real one, the rest are links.
10656
# The last name is the one that the linker finds with -lNAME.
10657
library_names_spec=$lt_library_names_spec
10659
# The coded name of the library, if different from the real name.
10660
soname_spec=$lt_soname_spec
10662
# Commands used to build and install an old-style archive.
10664
old_archive_cmds=$lt_old_archive_cmds
10665
old_postinstall_cmds=$lt_old_postinstall_cmds
10666
old_postuninstall_cmds=$lt_old_postuninstall_cmds
10668
# Create an old-style archive from a shared archive.
10669
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
10671
# Create a temporary old-style archive to link instead of a shared archive.
10672
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
10674
# Commands used to build and install a shared archive.
10675
archive_cmds=$lt_archive_cmds
10676
archive_expsym_cmds=$lt_archive_expsym_cmds
10677
postinstall_cmds=$lt_postinstall_cmds
10678
postuninstall_cmds=$lt_postuninstall_cmds
10680
# Commands used to build a loadable module (assumed same as above if empty)
10681
module_cmds=$lt_module_cmds
10682
module_expsym_cmds=$lt_module_expsym_cmds
10684
# Commands to strip libraries.
10685
old_striplib=$lt_old_striplib
10686
striplib=$lt_striplib
10688
# Dependencies to place before the objects being linked to create a
10690
predep_objects=$lt_predep_objects
10692
# Dependencies to place after the objects being linked to create a
10694
postdep_objects=$lt_postdep_objects
10696
# Dependencies to place before the objects being linked to create a
10698
predeps=$lt_predeps
10700
# Dependencies to place after the objects being linked to create a
10702
postdeps=$lt_postdeps
10704
# The library search path used internally by the compiler when linking
10705
# a shared library.
10706
compiler_lib_search_path=$lt_compiler_lib_search_path
10708
# Method to check whether dependent libraries are shared objects.
10709
deplibs_check_method=$lt_deplibs_check_method
10711
# Command to use when deplibs_check_method == file_magic.
10712
file_magic_cmd=$lt_file_magic_cmd
10714
# Flag that allows shared libraries with undefined symbols to be built.
10715
allow_undefined_flag=$lt_allow_undefined_flag
10717
# Flag that forces no undefined symbols.
10718
no_undefined_flag=$lt_no_undefined_flag
10720
# Commands used to finish a libtool library installation in a directory.
10721
finish_cmds=$lt_finish_cmds
10723
# Same as above, but a single script fragment to be evaled but not shown.
10724
finish_eval=$lt_finish_eval
10726
# Take the output of nm and produce a listing of raw symbols and C names.
10727
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10729
# Transform the output of nm in a proper C declaration
10730
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10732
# Transform the output of nm in a C name address pair
10733
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10735
# This is the shared library runtime path variable.
10736
runpath_var=$runpath_var
10738
# This is the shared library path variable.
10739
shlibpath_var=$shlibpath_var
10741
# Is shlibpath searched before the hard-coded library search path?
10742
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10744
# How to hardcode a shared library path into an executable.
10745
hardcode_action=$hardcode_action
10747
# Whether we should hardcode library paths into libraries.
10748
hardcode_into_libs=$hardcode_into_libs
10750
# Flag to hardcode \$libdir into a binary during linking.
10751
# This must work even if \$libdir does not exist.
10752
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
10754
# If ld is used when linking, flag to hardcode \$libdir into
10755
# a binary during linking. This must work even if \$libdir does
10757
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
10759
# Whether we need a single -rpath flag with a separated argument.
10760
hardcode_libdir_separator=$lt_hardcode_libdir_separator
10762
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10763
# resulting binary.
10764
hardcode_direct=$hardcode_direct
10766
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10767
# resulting binary.
10768
hardcode_minus_L=$hardcode_minus_L
10770
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10771
# the resulting binary.
10772
hardcode_shlibpath_var=$hardcode_shlibpath_var
10774
# Set to yes if building a shared library automatically hardcodes DIR into the library
10775
# and all subsequent libraries and executables linked against it.
10776
hardcode_automatic=$hardcode_automatic
10778
# Variables whose values should be saved in libtool wrapper scripts and
10779
# restored at relink time.
10780
variables_saved_for_relink="$variables_saved_for_relink"
10782
# Whether libtool must link a program against all its dependency libraries.
10783
link_all_deplibs=$link_all_deplibs
10785
# Compile-time system search path for libraries
10786
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10788
# Run-time system search path for libraries
10789
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10791
# Fix the shell variable \$srcfile for the compiler.
10792
fix_srcfile_path="$fix_srcfile_path"
10794
# Set to yes if exported symbols are required.
10795
always_export_symbols=$always_export_symbols
10797
# The commands to list exported symbols.
10798
export_symbols_cmds=$lt_export_symbols_cmds
10800
# The commands to extract the exported symbol list from a shared archive.
10801
extract_expsyms_cmds=$lt_extract_expsyms_cmds
10803
# Symbols that should not be listed in the preloaded symbols.
10804
exclude_expsyms=$lt_exclude_expsyms
10806
# Symbols that must always be exported.
10807
include_expsyms=$lt_include_expsyms
10809
# ### END LIBTOOL CONFIG
10816
cat <<\EOF >> "$cfgfile"
10818
# AIX sometimes has problems with the GCC collect2 program. For some
10819
# reason, if we set the COLLECT_NAMES environment variable, the problems
10820
# vanish in a puff of smoke.
10821
if test "X${COLLECT_NAMES+set}" != Xset; then
10823
export COLLECT_NAMES
10829
# We use sed instead of cat because bash on DJGPP gets confused if
10830
# if finds mixed CR/LF and LF-only lines. Since sed operates in
10831
# text mode, it properly converts lines to CR/LF. This bash problem
10832
# is reportedly fixed, but why not run on old versions too?
10833
sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
10835
mv -f "$cfgfile" "$ofile" || \
10836
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
10840
# If there is no Makefile yet, we rely on a make rule to execute
10841
# `config.status --recheck' to rerun these tests and create the
10842
# libtool script then.
10843
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10844
if test -f "$ltmain_in"; then
10845
test -f Makefile && make "$ltmain"
10851
ac_cpp='$CPP $CPPFLAGS'
10852
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10853
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10854
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10859
# Check whether --with-tags was given.
10860
if test "${with_tags+set}" = set; then
10861
withval=$with_tags; tagnames="$withval"
10865
if test -f "$ltmain" && test -n "$tagnames"; then
10866
if test ! -f "${ofile}"; then
10867
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
10868
echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
10871
if test -z "$LTCC"; then
10872
eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
10873
if test -z "$LTCC"; then
10874
{ echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
10875
echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
10877
{ echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
10878
echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
10881
if test -z "$LTCFLAGS"; then
10882
eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
10885
# Extract list of available tagged configurations in $ofile.
10886
# Note that this assumes the entire list is on one line.
10887
available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
10889
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10890
for tagname in $tagnames; do
10892
# Check whether tagname contains only valid characters
10893
case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
10895
*) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
10896
echo "$as_me: error: invalid tag name: $tagname" >&2;}
10897
{ (exit 1); exit 1; }; }
10901
if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
10903
{ { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
10904
echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
10905
{ (exit 1); exit 1; }; }
10908
# Update the list of available tags.
10909
if test -n "$tagname"; then
10910
echo appending configuration tag \"$tagname\" to $ofile
10914
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10915
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10916
(test "X$CXX" != "Xg++"))) ; then
10918
ac_cpp='$CXXCPP $CPPFLAGS'
10919
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10920
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10921
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10926
archive_cmds_need_lc_CXX=no
10927
allow_undefined_flag_CXX=
10928
always_export_symbols_CXX=no
10929
archive_expsym_cmds_CXX=
10930
export_dynamic_flag_spec_CXX=
10931
hardcode_direct_CXX=no
10932
hardcode_libdir_flag_spec_CXX=
10933
hardcode_libdir_flag_spec_ld_CXX=
10934
hardcode_libdir_separator_CXX=
10935
hardcode_minus_L_CXX=no
10936
hardcode_shlibpath_var_CXX=unsupported
10937
hardcode_automatic_CXX=no
10939
module_expsym_cmds_CXX=
10940
link_all_deplibs_CXX=unknown
10941
old_archive_cmds_CXX=$old_archive_cmds
10942
no_undefined_flag_CXX=
10943
whole_archive_flag_spec_CXX=
10944
enable_shared_with_static_runtimes_CXX=no
10946
# Dependencies to place before and after the object being linked:
10947
predep_objects_CXX=
10948
postdep_objects_CXX=
10951
compiler_lib_search_path_CXX=
10953
# Source file extension for C++ test sources.
10956
# Object file extension for compiled C++ test sources.
10960
# Code to be used in simple compile tests
10961
lt_simple_compile_test_code="int some_variable = 0;\n"
10963
# Code to be used in simple link tests
10964
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
10966
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
10968
# If no C compiler was specified, use CC.
10971
# If no C compiler flags were specified, use CFLAGS.
10972
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10974
# Allow CC to be a program name with arguments.
10978
# save warnings/boilerplate of simple test code
10979
ac_outfile=conftest.$ac_objext
10980
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
10981
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10982
_lt_compiler_boilerplate=`cat conftest.err`
10985
ac_outfile=conftest.$ac_objext
10986
printf "$lt_simple_link_test_code" >conftest.$ac_ext
10987
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10988
_lt_linker_boilerplate=`cat conftest.err`
10992
# Allow CC to be a program name with arguments.
10997
lt_save_with_gnu_ld=$with_gnu_ld
10998
lt_save_path_LD=$lt_cv_path_LD
10999
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11000
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11002
$as_unset lt_cv_prog_gnu_ld
11004
if test -n "${lt_cv_path_LDCXX+set}"; then
11005
lt_cv_path_LD=$lt_cv_path_LDCXX
11007
$as_unset lt_cv_path_LD
11009
test -z "${LDCXX+set}" || LD=$LDCXX
11013
for cc_temp in $compiler""; do
11015
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11016
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11021
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11024
# We don't want -fno-exception wen compiling C++ code, so set the
11025
# no_builtin_flag separately
11026
if test "$GXX" = yes; then
11027
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11029
lt_prog_compiler_no_builtin_flag_CXX=
11032
if test "$GXX" = yes; then
11033
# Set up default GNU C++ configuration
11036
# Check whether --with-gnu-ld was given.
11037
if test "${with_gnu_ld+set}" = set; then
11038
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11044
if test "$GCC" = yes; then
11045
# Check if gcc -print-prog-name=ld gives a path.
11046
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11047
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
11050
# gcc leaves a trailing carriage return which upsets mingw
11051
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11053
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11056
# Accept absolute paths.
11058
re_direlt='/[^/][^/]*/\.\./'
11059
# Canonicalize the pathname of ld
11060
ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
11061
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
11062
ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
11064
test -z "$LD" && LD="$ac_prog"
11067
# If it fails, then pretend we aren't using GCC.
11071
# If it is relative, then search for the first ld in PATH.
11072
with_gnu_ld=unknown
11075
elif test "$with_gnu_ld" = yes; then
11076
{ echo "$as_me:$LINENO: checking for GNU ld" >&5
11077
echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
11079
{ echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11080
echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
11082
if test "${lt_cv_path_LD+set}" = set; then
11083
echo $ECHO_N "(cached) $ECHO_C" >&6
11085
if test -z "$LD"; then
11086
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11087
for ac_dir in $PATH; do
11089
test -z "$ac_dir" && ac_dir=.
11090
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11091
lt_cv_path_LD="$ac_dir/$ac_prog"
11092
# Check to see if the program is GNU ld. I'd rather use --version,
11093
# but apparently some variants of GNU ld only accept -v.
11094
# Break only if it was the GNU/non-GNU ld that we prefer.
11095
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11096
*GNU* | *'with BFD'*)
11097
test "$with_gnu_ld" != no && break
11100
test "$with_gnu_ld" != yes && break
11107
lt_cv_path_LD="$LD" # Let the user override the test with a path.
11111
LD="$lt_cv_path_LD"
11112
if test -n "$LD"; then
11113
{ echo "$as_me:$LINENO: result: $LD" >&5
11114
echo "${ECHO_T}$LD" >&6; }
11116
{ echo "$as_me:$LINENO: result: no" >&5
11117
echo "${ECHO_T}no" >&6; }
11119
test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11120
echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11121
{ (exit 1); exit 1; }; }
11122
{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11123
echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
11124
if test "${lt_cv_prog_gnu_ld+set}" = set; then
11125
echo $ECHO_N "(cached) $ECHO_C" >&6
11127
# I'd rather use --version here, but apparently some GNU lds only accept -v.
11128
case `$LD -v 2>&1 </dev/null` in
11129
*GNU* | *'with BFD'*)
11130
lt_cv_prog_gnu_ld=yes
11133
lt_cv_prog_gnu_ld=no
11137
{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11138
echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
11139
with_gnu_ld=$lt_cv_prog_gnu_ld
11143
# Check if GNU C++ uses GNU ld as the underlying linker, since the
11144
# archiving commands below assume that GNU ld is being used.
11145
if test "$with_gnu_ld" = yes; then
11146
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11147
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'
11149
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11150
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11152
# If archive_cmds runs LD, not CC, wlarc should be empty
11153
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11154
# investigate it a little bit more. (MM)
11157
# ancient GNU ld didn't support --whole-archive et. al.
11158
if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
11159
grep 'no-whole-archive' > /dev/null; then
11160
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11162
whole_archive_flag_spec_CXX=
11168
# A generic and very simple default shared library creation
11169
# command for GNU C++ for the case where it uses the native
11170
# linker, instead of GNU ld. If possible, this setting should
11171
# overridden to take advantage of the native linker features on
11172
# the platform it is being used on.
11173
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11176
# Commands to make compiler produce verbose output that lists
11177
# what "hidden" libraries, object files and flags are used when
11178
# linking a shared library.
11179
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11187
# PORTME: fill in a description of your system's C++ link characteristics
11188
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11189
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
11193
# FIXME: insert proper C++ library support
11197
if test "$host_cpu" = ia64; then
11198
# On IA64, the linker does run time linking by default, so we don't
11199
# have to do anything special.
11200
aix_use_runtimelinking=no
11201
exp_sym_flag='-Bexport'
11204
aix_use_runtimelinking=no
11206
# Test if we are trying to use run time linking or normal
11207
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11208
# need to do runtime linking.
11209
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11210
for ld_flag in $LDFLAGS; do
11213
aix_use_runtimelinking=yes
11221
exp_sym_flag='-bexport'
11222
no_entry_flag='-bnoentry'
11225
# When large executables or shared objects are built, AIX ld can
11226
# have problems creating the table of contents. If linking a library
11227
# or program results in "error TOC overflow" add -mminimal-toc to
11228
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11229
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11231
archive_cmds_CXX=''
11232
hardcode_direct_CXX=yes
11233
hardcode_libdir_separator_CXX=':'
11234
link_all_deplibs_CXX=yes
11236
if test "$GXX" = yes; then
11237
case $host_os in aix4.[012]|aix4.[012].*)
11238
# We only want to do this on AIX 4.2 and lower, the check
11239
# below for broken collect2 doesn't work under 4.3+
11240
collect2name=`${CC} -print-prog-name=collect2`
11241
if test -f "$collect2name" && \
11242
strings "$collect2name" | grep resolve_lib_name >/dev/null
11244
# We have reworked collect2
11245
hardcode_direct_CXX=yes
11247
# We have old collect2
11248
hardcode_direct_CXX=unsupported
11249
# It fails to find uninstalled libraries when the uninstalled
11250
# path is not listed in the libpath. Setting hardcode_minus_L
11251
# to unsupported forces relinking
11252
hardcode_minus_L_CXX=yes
11253
hardcode_libdir_flag_spec_CXX='-L$libdir'
11254
hardcode_libdir_separator_CXX=
11258
shared_flag='-shared'
11259
if test "$aix_use_runtimelinking" = yes; then
11260
shared_flag="$shared_flag "'${wl}-G'
11264
if test "$host_cpu" = ia64; then
11265
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11266
# chokes on -Wl,-G. The following line is correct:
11269
if test "$aix_use_runtimelinking" = yes; then
11270
shared_flag='${wl}-G'
11272
shared_flag='${wl}-bM:SRE'
11277
# It seems that -bexpall does not export symbols beginning with
11278
# underscore (_), so it is better to generate a list of symbols to export.
11279
always_export_symbols_CXX=yes
11280
if test "$aix_use_runtimelinking" = yes; then
11281
# Warning - without using the other runtime loading flags (-brtl),
11282
# -berok will link without error, but may produce a broken library.
11283
allow_undefined_flag_CXX='-berok'
11284
# Determine the default libpath from the value encoded in an empty executable.
11285
cat >conftest.$ac_ext <<_ACEOF
11288
cat confdefs.h >>conftest.$ac_ext
11289
cat >>conftest.$ac_ext <<_ACEOF
11290
/* end confdefs.h. */
11300
rm -f conftest.$ac_objext conftest$ac_exeext
11301
if { (ac_try="$ac_link"
11302
case "(($ac_try" in
11303
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11304
*) ac_try_echo=$ac_try;;
11306
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11307
(eval "$ac_link") 2>conftest.er1
11309
grep -v '^ *+' conftest.er1 >conftest.err
11311
cat conftest.err >&5
11312
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11313
(exit $ac_status); } && {
11314
test -z "$ac_cxx_werror_flag" ||
11315
test ! -s conftest.err
11316
} && test -s conftest$ac_exeext &&
11317
$as_test_x conftest$ac_exeext; then
11319
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11321
# Check for a 64-bit object if we didn't find anything.
11322
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11325
echo "$as_me: failed program was:" >&5
11326
sed 's/^/| /' conftest.$ac_ext >&5
11331
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11332
conftest$ac_exeext conftest.$ac_ext
11333
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11335
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11337
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"
11339
if test "$host_cpu" = ia64; then
11340
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11341
allow_undefined_flag_CXX="-z nodefs"
11342
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"
11344
# Determine the default libpath from the value encoded in an empty executable.
11345
cat >conftest.$ac_ext <<_ACEOF
11348
cat confdefs.h >>conftest.$ac_ext
11349
cat >>conftest.$ac_ext <<_ACEOF
11350
/* end confdefs.h. */
11360
rm -f conftest.$ac_objext conftest$ac_exeext
11361
if { (ac_try="$ac_link"
11362
case "(($ac_try" in
11363
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11364
*) ac_try_echo=$ac_try;;
11366
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11367
(eval "$ac_link") 2>conftest.er1
11369
grep -v '^ *+' conftest.er1 >conftest.err
11371
cat conftest.err >&5
11372
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11373
(exit $ac_status); } && {
11374
test -z "$ac_cxx_werror_flag" ||
11375
test ! -s conftest.err
11376
} && test -s conftest$ac_exeext &&
11377
$as_test_x conftest$ac_exeext; then
11379
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11381
# Check for a 64-bit object if we didn't find anything.
11382
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
11385
echo "$as_me: failed program was:" >&5
11386
sed 's/^/| /' conftest.$ac_ext >&5
11391
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11392
conftest$ac_exeext conftest.$ac_ext
11393
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11395
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11396
# Warning - without using the other run time loading flags,
11397
# -berok will link without error, but may produce a broken library.
11398
no_undefined_flag_CXX=' ${wl}-bernotok'
11399
allow_undefined_flag_CXX=' ${wl}-berok'
11400
# Exported symbols can be pulled into shared objects from archives
11401
whole_archive_flag_spec_CXX='$convenience'
11402
archive_cmds_need_lc_CXX=yes
11403
# This is similar to how AIX traditionally builds its shared libraries.
11404
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'
11410
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
11411
allow_undefined_flag_CXX=unsupported
11412
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11413
# support --undefined. This deserves some investigation. FIXME
11414
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11421
case $cc_basename in
11423
# FIXME: insert proper C++ library support
11429
cygwin* | mingw* | pw32*)
11430
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11431
# as there is no search path for DLLs.
11432
hardcode_libdir_flag_spec_CXX='-L$libdir'
11433
allow_undefined_flag_CXX=unsupported
11434
always_export_symbols_CXX=no
11435
enable_shared_with_static_runtimes_CXX=yes
11437
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
11438
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'
11439
# If the export-symbols file already is a .def file (1st line
11440
# is EXPORTS), use it as is; otherwise, prepend...
11441
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11442
cp $export_symbols $output_objdir/$soname.def;
11444
echo EXPORTS > $output_objdir/$soname.def;
11445
cat $export_symbols >> $output_objdir/$soname.def;
11447
$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'
11452
darwin* | rhapsody*)
11454
rhapsody* | darwin1.[012])
11455
allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11458
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
11459
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11461
case ${MACOSX_DEPLOYMENT_TARGET} in
11463
allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11466
allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11472
archive_cmds_need_lc_CXX=no
11473
hardcode_direct_CXX=no
11474
hardcode_automatic_CXX=yes
11475
hardcode_shlibpath_var_CXX=unsupported
11476
whole_archive_flag_spec_CXX=''
11477
link_all_deplibs_CXX=yes
11479
if test "$GXX" = yes ; then
11480
lt_int_apple_cc_single_mod=no
11481
output_verbose_link_cmd='echo'
11482
if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
11483
lt_int_apple_cc_single_mod=yes
11485
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11486
archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11488
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'
11490
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11491
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11492
if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
11493
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11495
archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11497
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}'
11499
case $cc_basename in
11501
output_verbose_link_cmd='echo'
11502
archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
11503
module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11504
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11505
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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11506
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}'
11516
case $cc_basename in
11518
# FIXME: insert proper C++ library support
11522
# Green Hills C++ Compiler
11523
# FIXME: insert proper C++ library support
11527
# FIXME: insert proper C++ library support
11533
# C++ shared libraries reported to be fairly broken before switch to ELF
11537
archive_cmds_need_lc_CXX=no
11539
freebsd* | kfreebsd*-gnu | dragonfly*)
11540
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11547
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11548
hardcode_libdir_separator_CXX=:
11549
export_dynamic_flag_spec_CXX='${wl}-E'
11550
hardcode_direct_CXX=yes
11551
hardcode_minus_L_CXX=yes # Not in the search PATH,
11552
# but as the default
11553
# location of the library.
11555
case $cc_basename in
11557
# FIXME: insert proper C++ library support
11561
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'
11562
# Commands to make compiler produce verbose output that lists
11563
# what "hidden" libraries, object files and flags are used when
11564
# linking a shared library.
11566
# There doesn't appear to be a way to prevent this compiler from
11567
# explicitly linking system object files so we need to strip them
11568
# from the output so that they don't get included in the library
11570
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'
11573
if test "$GXX" = yes; then
11574
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'
11576
# FIXME: insert proper C++ library support
11583
if test $with_gnu_ld = no; then
11584
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11585
hardcode_libdir_separator_CXX=:
11589
hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11592
export_dynamic_flag_spec_CXX='${wl}-E'
11598
hardcode_direct_CXX=no
11599
hardcode_shlibpath_var_CXX=no
11602
hardcode_direct_CXX=yes
11603
hardcode_minus_L_CXX=yes # Not in the search PATH,
11604
# but as the default
11605
# location of the library.
11609
case $cc_basename in
11611
# FIXME: insert proper C++ library support
11617
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11620
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11623
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11626
# Commands to make compiler produce verbose output that lists
11627
# what "hidden" libraries, object files and flags are used when
11628
# linking a shared library.
11630
# There doesn't appear to be a way to prevent this compiler from
11631
# explicitly linking system object files so we need to strip them
11632
# from the output so that they don't get included in the library
11634
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'
11637
if test "$GXX" = yes; then
11638
if test $with_gnu_ld = no; then
11641
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11644
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11647
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'
11652
# FIXME: insert proper C++ library support
11659
hardcode_direct_CXX=no
11660
hardcode_shlibpath_var_CXX=no
11661
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11662
export_dynamic_flag_spec_CXX='${wl}-E'
11663
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11664
# Instead, shared libraries are loaded at an image base (0x10000000 by
11665
# default) and relocated if they conflict, which is a slow very memory
11666
# consuming and fragmenting process. To avoid this, we pick a random,
11667
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11668
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
11669
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'
11670
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'
11673
case $cc_basename in
11676
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'
11678
# Archives containing C++ object files must be created using
11679
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
11680
# necessary to make sure instantiated templates are included
11682
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11685
if test "$GXX" = yes; then
11686
if test "$with_gnu_ld" = no; then
11687
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'
11689
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'
11692
link_all_deplibs_CXX=yes
11695
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11696
hardcode_libdir_separator_CXX=:
11699
case $cc_basename in
11701
# Kuck and Associates, Inc. (KAI) C++ Compiler
11703
# KCC will only create a shared library if the output file
11704
# ends with ".so" (or ".sl" for HP-UX), so rename the library
11705
# to its proper name (with version) after linking.
11706
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'
11707
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'
11708
# Commands to make compiler produce verbose output that lists
11709
# what "hidden" libraries, object files and flags are used when
11710
# linking a shared library.
11712
# There doesn't appear to be a way to prevent this compiler from
11713
# explicitly linking system object files so we need to strip them
11714
# from the output so that they don't get included in the library
11716
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'
11718
hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
11719
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11721
# Archives containing C++ object files must be created using
11722
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
11723
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11728
# version 8.0 and above of icpc choke on multiply defined symbols
11729
# if we add $predep_objects and $postdep_objects, however 7.1 and
11730
# earlier do not add the objects themselves.
11731
case `$CC -V 2>&1` in
11733
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11734
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'
11736
*) # Version 8.0 or newer
11739
ia64*) tmp_idyn=' -i_dynamic';;
11741
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11742
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'
11745
archive_cmds_need_lc_CXX=no
11746
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11747
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11748
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11751
# Portland Group C++ compiler
11752
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11753
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'
11755
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11756
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11757
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'
11761
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11762
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'
11764
runpath_var=LD_RUN_PATH
11765
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11766
hardcode_libdir_separator_CXX=:
11768
# Commands to make compiler produce verbose output that lists
11769
# what "hidden" libraries, object files and flags are used when
11770
# linking a shared library.
11772
# There doesn't appear to be a way to prevent this compiler from
11773
# explicitly linking system object files so we need to strip them
11774
# from the output so that they don't get included in the library
11776
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'
11781
# FIXME: insert proper C++ library support
11785
# FIXME: insert proper C++ library support
11789
case $cc_basename in
11791
# FIXME: insert proper C++ library support
11795
# FIXME: insert proper C++ library support
11801
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11802
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11804
hardcode_libdir_flag_spec_CXX='-R$libdir'
11805
hardcode_direct_CXX=yes
11806
hardcode_shlibpath_var_CXX=no
11808
# Workaround some broken pre-1.5 toolchains
11809
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11812
# C++ shared libraries are fairly broken
11816
hardcode_direct_CXX=yes
11817
hardcode_shlibpath_var_CXX=no
11818
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11819
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11820
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11821
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11822
export_dynamic_flag_spec_CXX='${wl}-E'
11823
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11825
output_verbose_link_cmd='echo'
11828
case $cc_basename in
11830
# Kuck and Associates, Inc. (KAI) C++ Compiler
11832
# KCC will only create a shared library if the output file
11833
# ends with ".so" (or ".sl" for HP-UX), so rename the library
11834
# to its proper name (with version) after linking.
11835
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'
11837
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11838
hardcode_libdir_separator_CXX=:
11840
# Archives containing C++ object files must be created using
11841
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
11842
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11846
# Rational C++ 2.4.1
11847
# FIXME: insert proper C++ library support
11851
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11852
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'
11854
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11855
hardcode_libdir_separator_CXX=:
11857
# Commands to make compiler produce verbose output that lists
11858
# what "hidden" libraries, object files and flags are used when
11859
# linking a shared library.
11861
# There doesn't appear to be a way to prevent this compiler from
11862
# explicitly linking system object files so we need to strip them
11863
# from the output so that they don't get included in the library
11865
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'
11868
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11869
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11870
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'
11872
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11873
hardcode_libdir_separator_CXX=:
11875
# Commands to make compiler produce verbose output that lists
11876
# what "hidden" libraries, object files and flags are used when
11877
# linking a shared library.
11878
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11881
# FIXME: insert proper C++ library support
11888
case $cc_basename in
11890
# Kuck and Associates, Inc. (KAI) C++ Compiler
11892
# KCC will only create a shared library if the output file
11893
# ends with ".so" (or ".sl" for HP-UX), so rename the library
11894
# to its proper name (with version) after linking.
11895
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'
11897
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11898
hardcode_libdir_separator_CXX=:
11900
# Archives containing C++ object files must be created using
11901
# the KAI C++ compiler.
11902
old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
11905
# Rational C++ 2.4.1
11906
# FIXME: insert proper C++ library support
11910
allow_undefined_flag_CXX=' -expect_unresolved \*'
11911
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'
11912
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11913
echo "-hidden">> $lib.exp~
11914
$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~
11917
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11918
hardcode_libdir_separator_CXX=:
11920
# Commands to make compiler produce verbose output that lists
11921
# what "hidden" libraries, object files and flags are used when
11922
# linking a shared library.
11924
# There doesn't appear to be a way to prevent this compiler from
11925
# explicitly linking system object files so we need to strip them
11926
# from the output so that they don't get included in the library
11928
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'
11931
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11932
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11933
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'
11935
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11936
hardcode_libdir_separator_CXX=:
11938
# Commands to make compiler produce verbose output that lists
11939
# what "hidden" libraries, object files and flags are used when
11940
# linking a shared library.
11941
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
11944
# FIXME: insert proper C++ library support
11951
# FIXME: insert proper C++ library support
11955
case $cc_basename in
11958
# FIXME: insert proper C++ library support
11963
# FIXME: insert proper C++ library support
11967
# FIXME: insert proper C++ library support
11973
case $cc_basename in
11975
# Sun C++ 4.2, 5.x and Centerline C++
11976
archive_cmds_need_lc_CXX=yes
11977
no_undefined_flag_CXX=' -zdefs'
11978
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11979
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
11980
$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'
11982
hardcode_libdir_flag_spec_CXX='-R$libdir'
11983
hardcode_shlibpath_var_CXX=no
11985
solaris2.[0-5] | solaris2.[0-5].*) ;;
11987
# The C++ compiler is used as linker so we must use $wl
11988
# flag to pass the commands to the underlying system
11989
# linker. We must also pass each convience library through
11990
# to the system linker between allextract/defaultextract.
11991
# The C++ compiler will combine linker options so we
11992
# cannot just pass the convience library names through
11994
# Supported since Solaris 2.6 (maybe 2.5.1?)
11995
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
11998
link_all_deplibs_CXX=yes
12000
output_verbose_link_cmd='echo'
12002
# Archives containing C++ object files must be created using
12003
# "CC -xar", where "CC" is the Sun C++ compiler. This is
12004
# necessary to make sure instantiated templates are included
12006
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12009
# Green Hills C++ Compiler
12010
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12012
# The C++ compiler must be used to create the archive.
12013
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12016
# GNU C++ compiler with Solaris linker
12017
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12018
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12019
if $CC --version | grep -v '^2\.7' > /dev/null; then
12020
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12021
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12022
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12024
# Commands to make compiler produce verbose output that lists
12025
# what "hidden" libraries, object files and flags are used when
12026
# linking a shared library.
12027
output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12029
# g++ 2.7 appears to require `-G' NOT `-shared' on this
12031
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12032
archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
12033
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
12035
# Commands to make compiler produce verbose output that lists
12036
# what "hidden" libraries, object files and flags are used when
12037
# linking a shared library.
12038
output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
12041
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12046
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12047
no_undefined_flag_CXX='${wl}-z,text'
12048
archive_cmds_need_lc_CXX=no
12049
hardcode_shlibpath_var_CXX=no
12050
runpath_var='LD_RUN_PATH'
12052
case $cc_basename in
12054
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12055
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12058
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12059
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12063
sysv5* | sco3.2v5* | sco5v6*)
12064
# Note: We can NOT use -z defs as we might desire, because we do not
12065
# link with -lc, and that would cause any symbols used from libc to
12066
# always be unresolved, which means just about no library would
12067
# ever link correctly. If we're not using GNU ld we use -z text
12068
# though, which does catch some bad symbols but isn't as heavy-handed
12070
# For security reasons, it is highly recommended that you always
12071
# use absolute paths for naming shared libraries, and exclude the
12072
# DT_RUNPATH tag from executables and libraries. But doing so
12073
# requires that you compile everything twice, which is a pain.
12074
# So that behaviour is only enabled if SCOABSPATH is set to a
12075
# non-empty value in the environment. Most likely only useful for
12076
# creating official distributions of packages.
12077
# This is a hack until libtool officially supports absolute path
12078
# names for shared libraries.
12079
no_undefined_flag_CXX='${wl}-z,text'
12080
allow_undefined_flag_CXX='${wl}-z,nodefs'
12081
archive_cmds_need_lc_CXX=no
12082
hardcode_shlibpath_var_CXX=no
12083
hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
12084
hardcode_libdir_separator_CXX=':'
12085
link_all_deplibs_CXX=yes
12086
export_dynamic_flag_spec_CXX='${wl}-Bexport'
12087
runpath_var='LD_RUN_PATH'
12089
case $cc_basename in
12091
archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12092
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12095
archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12096
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
12101
case $cc_basename in
12103
# NonStop-UX NCC 3.20
12104
# FIXME: insert proper C++ library support
12108
# FIXME: insert proper C++ library support
12114
# FIXME: insert proper C++ library support
12118
# FIXME: insert proper C++ library support
12122
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12123
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12124
test "$ld_shlibs_CXX" = no && can_build_shared=no
12130
cat > conftest.$ac_ext <<EOF
12134
Foo (void) { a = 0; }
12140
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12141
(eval $ac_compile) 2>&5
12143
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12144
(exit $ac_status); }; then
12145
# Parse the compiler output and extract the necessary
12146
# objects, libraries and library flags.
12148
# Sentinel used to keep track of whether or not we are before
12149
# the conftest object file.
12150
pre_test_object_deps_done=no
12152
# The `*' in the case matches for architectures that use `case' in
12153
# $output_verbose_cmd can trigger glob expansion during the loop
12154
# eval without this substitution.
12155
output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12157
for p in `eval $output_verbose_link_cmd`; do
12161
# Some compilers place space between "-{L,R}" and the path.
12162
# Remove the space.
12163
if test $p = "-L" \
12164
|| test $p = "-R"; then
12171
if test "$pre_test_object_deps_done" = no; then
12174
# Internal compiler library paths should come after those
12175
# provided the user. The postdeps already come after the
12176
# user supplied libs so there is no need to process them.
12177
if test -z "$compiler_lib_search_path_CXX"; then
12178
compiler_lib_search_path_CXX="${prev}${p}"
12180
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12183
# The "-l" case would never come before the object being
12184
# linked, so don't bother handling this case.
12187
if test -z "$postdeps_CXX"; then
12188
postdeps_CXX="${prev}${p}"
12190
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12196
# This assumes that the test object file only shows up
12197
# once in the compiler output.
12198
if test "$p" = "conftest.$objext"; then
12199
pre_test_object_deps_done=yes
12203
if test "$pre_test_object_deps_done" = no; then
12204
if test -z "$predep_objects_CXX"; then
12205
predep_objects_CXX="$p"
12207
predep_objects_CXX="$predep_objects_CXX $p"
12210
if test -z "$postdep_objects_CXX"; then
12211
postdep_objects_CXX="$p"
12213
postdep_objects_CXX="$postdep_objects_CXX $p"
12218
*) ;; # Ignore the rest.
12226
echo "libtool.m4: error: problem compiling CXX test program"
12229
$rm -f confest.$objext
12231
# PORTME: override above test on systems where it is broken
12234
# Interix 3.5 installs completely hosed .la files for C++, so rather than
12235
# hack all around it, let's just trust "g++" to DTRT.
12236
predep_objects_CXX=
12237
postdep_objects_CXX=
12242
case $cc_basename in
12244
# Adding this requires a known-good setup of shared libraries for
12245
# Sun compiler versions before 5.6, else PIC objects from an old
12246
# archive will be linked into the output, leading to subtle bugs.
12247
postdeps_CXX='-lCstd -lCrun'
12254
case " $postdeps_CXX " in
12255
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12258
lt_prog_compiler_wl_CXX=
12259
lt_prog_compiler_pic_CXX=
12260
lt_prog_compiler_static_CXX=
12262
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12263
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
12265
# C++ specific cases for pic, static, wl, etc.
12266
if test "$GXX" = yes; then
12267
lt_prog_compiler_wl_CXX='-Wl,'
12268
lt_prog_compiler_static_CXX='-static'
12272
# All AIX code is PIC.
12273
if test "$host_cpu" = ia64; then
12274
# AIX 5 now supports IA64 processor
12275
lt_prog_compiler_static_CXX='-Bstatic'
12279
# FIXME: we need at least 68020 code to build shared libraries, but
12280
# adding the `-m68020' flag to GCC prevents building anything better,
12282
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12284
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12285
# PIC is the default for these OSes.
12287
mingw* | os2* | pw32*)
12288
# This hack is so that the source file can tell whether it is being
12289
# built for inclusion in a dll (and should export symbols for example).
12290
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12292
darwin* | rhapsody*)
12293
# PIC is the default on this platform
12294
# Common symbols not allowed in MH_DYLIB files
12295
lt_prog_compiler_pic_CXX='-fno-common'
12298
# DJGPP does not support shared libraries at all
12299
lt_prog_compiler_pic_CXX=
12302
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
12303
# Instead, we relocate shared libraries at runtime.
12306
if test -d /usr/nec; then
12307
lt_prog_compiler_pic_CXX=-Kconform_pic
12311
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12312
# not for PA HP-UX.
12317
lt_prog_compiler_pic_CXX='-fPIC'
12322
lt_prog_compiler_pic_CXX='-fPIC'
12328
# All AIX code is PIC.
12329
if test "$host_cpu" = ia64; then
12330
# AIX 5 now supports IA64 processor
12331
lt_prog_compiler_static_CXX='-Bstatic'
12333
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12337
case $cc_basename in
12339
# Green Hills C++ Compiler
12340
# _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"
12345
# PIC is the default on this platform
12346
# Common symbols not allowed in MH_DYLIB files
12347
case $cc_basename in
12349
lt_prog_compiler_pic_CXX='-qnocommon'
12350
lt_prog_compiler_wl_CXX='-Wl,'
12355
case $cc_basename in
12357
lt_prog_compiler_pic_CXX='-KPIC'
12360
# Green Hills C++ Compiler
12361
lt_prog_compiler_pic_CXX='-pic'
12367
freebsd* | kfreebsd*-gnu | dragonfly*)
12368
# FreeBSD uses GNU C++
12370
hpux9* | hpux10* | hpux11*)
12371
case $cc_basename in
12373
lt_prog_compiler_wl_CXX='-Wl,'
12374
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12375
if test "$host_cpu" != ia64; then
12376
lt_prog_compiler_pic_CXX='+Z'
12380
lt_prog_compiler_wl_CXX='-Wl,'
12381
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12387
lt_prog_compiler_pic_CXX='+Z'
12396
# This is c89, which is MS Visual C++ (no shared libs)
12397
# Anyone wants to do a port?
12399
irix5* | irix6* | nonstopux*)
12400
case $cc_basename in
12402
lt_prog_compiler_wl_CXX='-Wl,'
12403
lt_prog_compiler_static_CXX='-non_shared'
12404
# CC pic flag -KPIC is the default.
12411
case $cc_basename in
12414
lt_prog_compiler_wl_CXX='--backend -Wl,'
12415
lt_prog_compiler_pic_CXX='-fPIC'
12419
lt_prog_compiler_wl_CXX='-Wl,'
12420
lt_prog_compiler_pic_CXX='-KPIC'
12421
lt_prog_compiler_static_CXX='-static'
12424
# Portland Group C++ compiler.
12425
lt_prog_compiler_wl_CXX='-Wl,'
12426
lt_prog_compiler_pic_CXX='-fpic'
12427
lt_prog_compiler_static_CXX='-Bstatic'
12431
# Make sure the PIC flag is empty. It appears that all Alpha
12432
# Linux and Compaq Tru64 Unix objects are PIC.
12433
lt_prog_compiler_pic_CXX=
12434
lt_prog_compiler_static_CXX='-non_shared'
12445
case $cc_basename in
12447
lt_prog_compiler_pic_CXX='-W c,exportall'
12455
osf3* | osf4* | osf5*)
12456
case $cc_basename in
12458
lt_prog_compiler_wl_CXX='--backend -Wl,'
12461
# Rational C++ 2.4.1
12462
lt_prog_compiler_pic_CXX='-pic'
12465
# Digital/Compaq C++
12466
lt_prog_compiler_wl_CXX='-Wl,'
12467
# Make sure the PIC flag is empty. It appears that all Alpha
12468
# Linux and Compaq Tru64 Unix objects are PIC.
12469
lt_prog_compiler_pic_CXX=
12470
lt_prog_compiler_static_CXX='-non_shared'
12479
case $cc_basename in
12481
# Sun C++ 4.2, 5.x and Centerline C++
12482
lt_prog_compiler_pic_CXX='-KPIC'
12483
lt_prog_compiler_static_CXX='-Bstatic'
12484
lt_prog_compiler_wl_CXX='-Qoption ld '
12487
# Green Hills C++ Compiler
12488
lt_prog_compiler_pic_CXX='-PIC'
12495
case $cc_basename in
12498
lt_prog_compiler_pic_CXX='-pic'
12499
lt_prog_compiler_static_CXX='-Bstatic'
12503
lt_prog_compiler_pic_CXX='-pic'
12510
case $cc_basename in
12512
# NonStop-UX NCC 3.20
12513
lt_prog_compiler_pic_CXX='-KPIC'
12519
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12520
case $cc_basename in
12522
lt_prog_compiler_wl_CXX='-Wl,'
12523
lt_prog_compiler_pic_CXX='-KPIC'
12524
lt_prog_compiler_static_CXX='-Bstatic'
12531
lt_prog_compiler_can_build_shared_CXX=no
12536
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12537
echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; }
12540
# Check to make sure the PIC flag actually works.
12542
if test -n "$lt_prog_compiler_pic_CXX"; then
12544
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12545
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; }
12546
if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12547
echo $ECHO_N "(cached) $ECHO_C" >&6
12549
lt_prog_compiler_pic_works_CXX=no
12550
ac_outfile=conftest.$ac_objext
12551
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12552
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12553
# Insert the option either (1) after the last *FLAGS variable, or
12554
# (2) before a word containing "conftest.", or (3) at the end.
12555
# Note that $ac_compile itself does not contain backslashes and begins
12556
# with a dollar sign (not a hyphen), so the echo should work correctly.
12557
# The option is referenced via a variable to avoid confusing sed.
12558
lt_compile=`echo "$ac_compile" | $SED \
12559
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12560
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12561
-e 's:$: $lt_compiler_flag:'`
12562
(eval echo "\"\$as_me:12562: $lt_compile\"" >&5)
12563
(eval "$lt_compile" 2>conftest.err)
12565
cat conftest.err >&5
12566
echo "$as_me:12566: \$? = $ac_status" >&5
12567
if (exit $ac_status) && test -s "$ac_outfile"; then
12568
# The compiler can only warn and ignore the option if not recognized
12569
# So say no if there are warnings other than the usual output.
12570
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12571
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12572
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12573
lt_prog_compiler_pic_works_CXX=yes
12579
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12580
echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; }
12582
if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12583
case $lt_prog_compiler_pic_CXX in
12585
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12588
lt_prog_compiler_pic_CXX=
12589
lt_prog_compiler_can_build_shared_CXX=no
12594
# For platforms which do not support PIC, -DPIC is meaningless:
12596
lt_prog_compiler_pic_CXX=
12599
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12604
# Check to make sure the static flag actually works.
12606
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12607
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12608
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
12609
if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12610
echo $ECHO_N "(cached) $ECHO_C" >&6
12612
lt_prog_compiler_static_works_CXX=no
12613
save_LDFLAGS="$LDFLAGS"
12614
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12615
printf "$lt_simple_link_test_code" > conftest.$ac_ext
12616
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12617
# The linker can only warn and ignore the option if not recognized
12618
# So say no if there are warnings
12619
if test -s conftest.err; then
12620
# Append any errors to the config.log.
12621
cat conftest.err 1>&5
12622
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12623
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12624
if diff conftest.exp conftest.er2 >/dev/null; then
12625
lt_prog_compiler_static_works_CXX=yes
12628
lt_prog_compiler_static_works_CXX=yes
12632
LDFLAGS="$save_LDFLAGS"
12635
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12636
echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; }
12638
if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12641
lt_prog_compiler_static_CXX=
12645
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12646
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
12647
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12648
echo $ECHO_N "(cached) $ECHO_C" >&6
12650
lt_cv_prog_compiler_c_o_CXX=no
12651
$rm -r conftest 2>/dev/null
12655
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12657
lt_compiler_flag="-o out/conftest2.$ac_objext"
12658
# Insert the option either (1) after the last *FLAGS variable, or
12659
# (2) before a word containing "conftest.", or (3) at the end.
12660
# Note that $ac_compile itself does not contain backslashes and begins
12661
# with a dollar sign (not a hyphen), so the echo should work correctly.
12662
lt_compile=`echo "$ac_compile" | $SED \
12663
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12664
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12665
-e 's:$: $lt_compiler_flag:'`
12666
(eval echo "\"\$as_me:12666: $lt_compile\"" >&5)
12667
(eval "$lt_compile" 2>out/conftest.err)
12669
cat out/conftest.err >&5
12670
echo "$as_me:12670: \$? = $ac_status" >&5
12671
if (exit $ac_status) && test -s out/conftest2.$ac_objext
12673
# The compiler can only warn and ignore the option if not recognized
12674
# So say no if there are warnings
12675
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12676
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12677
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12678
lt_cv_prog_compiler_c_o_CXX=yes
12683
# SGI C++ compiler will create directory out/ii_files/ for
12684
# template instantiation
12685
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
12686
$rm out/* && rmdir out
12692
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12693
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; }
12696
hard_links="nottested"
12697
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12698
# do not overwrite the value of need_locks provided by the user
12699
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12700
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
12703
ln conftest.a conftest.b 2>/dev/null && hard_links=no
12705
ln conftest.a conftest.b 2>&5 || hard_links=no
12706
ln conftest.a conftest.b 2>/dev/null && hard_links=no
12707
{ echo "$as_me:$LINENO: result: $hard_links" >&5
12708
echo "${ECHO_T}$hard_links" >&6; }
12709
if test "$hard_links" = no; then
12710
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12711
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12718
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12719
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
12721
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12724
# If we're using GNU nm, then we don't want the "-C" option.
12725
# -C means demangle to AIX nm, but means don't demangle with GNU nm
12726
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
12727
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'
12729
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'
12733
export_symbols_cmds_CXX="$ltdll_cmds"
12736
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'
12739
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12743
{ echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12744
echo "${ECHO_T}$ld_shlibs_CXX" >&6; }
12745
test "$ld_shlibs_CXX" = no && can_build_shared=no
12748
# Do we need to explicitly link libc?
12750
case "x$archive_cmds_need_lc_CXX" in
12752
# Assume -lc should be added
12753
archive_cmds_need_lc_CXX=yes
12755
if test "$enable_shared" = yes && test "$GCC" = yes; then
12756
case $archive_cmds_CXX in
12758
# FIXME: we may have to deal with multi-command sequences.
12761
# Test whether the compiler implicitly links with -lc since on some
12762
# systems, -lgcc has to come before -lc. If gcc already passes -lc
12763
# to ld, don't add -lc before -lgcc.
12764
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12765
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12767
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
12769
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12770
(eval $ac_compile) 2>&5
12772
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12773
(exit $ac_status); } 2>conftest.err; then
12776
libobjs=conftest.$ac_objext
12778
wl=$lt_prog_compiler_wl_CXX
12779
pic_flag=$lt_prog_compiler_pic_CXX
12785
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12786
allow_undefined_flag_CXX=
12787
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
12788
(eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
12790
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791
(exit $ac_status); }
12793
archive_cmds_need_lc_CXX=no
12795
archive_cmds_need_lc_CXX=yes
12797
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12799
cat conftest.err 1>&5
12802
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12803
echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; }
12810
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12811
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
12812
library_names_spec=
12813
libname_spec='lib$name'
12817
postuninstall_cmds=
12821
shlibpath_overrides_runpath=unknown
12823
dynamic_linker="$host_os ld.so"
12824
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12825
if test "$GCC" = yes; then
12826
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12827
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
12828
# if the path contains ";" then we assume it to be the separator
12829
# otherwise default to the standard path separator (i.e. ":") - it is
12830
# assumed that no part of a normal pathname contains ";" but that should
12831
# okay in the real world where ";" in dirpaths is itself problematic.
12832
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12834
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12837
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12839
need_lib_prefix=unknown
12840
hardcode_into_libs=no
12842
# when you set need_version to no, make sure it does not cause -set_version
12843
# flags to be left without arguments
12844
need_version=unknown
12849
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12850
shlibpath_var=LIBPATH
12852
# AIX 3 has no versioning support, so we append a major version to the name.
12853
soname_spec='${libname}${release}${shared_ext}$major'
12860
hardcode_into_libs=yes
12861
if test "$host_cpu" = ia64; then
12862
# AIX 5 supports IA64
12863
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12864
shlibpath_var=LD_LIBRARY_PATH
12866
# With GCC up to 2.95.x, collect2 would create an import file
12867
# for dependence libraries. The import file would start with
12868
# the line `#! .'. This would cause the generated library to
12869
# depend on `.', always an invalid library. This was fixed in
12870
# development snapshots of GCC prior to 3.0.
12872
aix4 | aix4.[01] | aix4.[01].*)
12873
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12875
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
12878
can_build_shared=no
12882
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12883
# soname into executable. Probably we can add versioning support to
12884
# collect2, so additional links can be useful in future.
12885
if test "$aix_use_runtimelinking" = yes; then
12886
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
12887
# instead of lib<name>.a to let people know that these are not
12888
# typical AIX shared libraries.
12889
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12891
# We preserve .a as extension for shared libraries through AIX4.2
12892
# and later when we are not doing run time linking.
12893
library_names_spec='${libname}${release}.a $libname.a'
12894
soname_spec='${libname}${release}${shared_ext}$major'
12896
shlibpath_var=LIBPATH
12901
library_names_spec='$libname.ixlibrary $libname.a'
12902
# Create ${libname}_ixlibrary.a entries in /sys/libs.
12903
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'
12907
library_names_spec='${libname}${shared_ext}'
12908
dynamic_linker="$host_os ld.so"
12909
shlibpath_var=LIBRARY_PATH
12915
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12916
soname_spec='${libname}${release}${shared_ext}$major'
12917
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12918
shlibpath_var=LD_LIBRARY_PATH
12919
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12920
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12921
# the default ld.so.conf also contains /usr/contrib/lib and
12922
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12923
# libtool to hard-code these into programs
12926
cygwin* | mingw* | pw32*)
12927
version_type=windows
12932
case $GCC,$host_os in
12933
yes,cygwin* | yes,mingw* | yes,pw32*)
12934
library_names_spec='$libname.dll.a'
12935
# DLL is installed to $(libdir)/../bin by postinstall_cmds
12936
postinstall_cmds='base_file=`basename \${file}`~
12937
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
12938
dldir=$destdir/`dirname \$dlpath`~
12939
test -d \$dldir || mkdir -p \$dldir~
12940
$install_prog $dir/$dlname \$dldir/$dlname~
12941
chmod a+x \$dldir/$dlname'
12942
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12943
dlpath=$dir/\$dldll~
12945
shlibpath_overrides_runpath=yes
12949
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
12950
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12951
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12954
# MinGW DLLs use traditional 'lib' prefix
12955
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12956
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12957
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
12958
# It is most probably a Windows format PATH printed by
12959
# mingw gcc, but we are running on Cygwin. Gcc prints its search
12960
# path with ; separators, and with drive letters. We can handle the
12961
# drive letters (cygwin fileutils understands them), so leave them,
12962
# especially as we might pass files found there to a mingw objdump,
12963
# which wouldn't understand a cygwinified path. Ahh.
12964
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12966
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12970
# pw32 DLLs use 'pw' prefix rather than 'lib'
12971
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12977
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12980
dynamic_linker='Win32 ld.exe'
12981
# FIXME: first we should search . and the directory the executable is in
12985
darwin* | rhapsody*)
12986
dynamic_linker="$host_os dyld"
12987
version_type=darwin
12990
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12991
soname_spec='${libname}${release}${major}$shared_ext'
12992
shlibpath_overrides_runpath=yes
12993
shlibpath_var=DYLD_LIBRARY_PATH
12994
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12995
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
12996
if test "$GCC" = yes; then
12997
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
12999
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
13001
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13008
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13009
soname_spec='${libname}${release}${shared_ext}$major'
13010
shlibpath_var=LD_LIBRARY_PATH
13021
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13022
soname_spec='${libname}${release}${shared_ext}$major'
13023
shlibpath_var=LD_LIBRARY_PATH
13024
shlibpath_overrides_runpath=no
13025
hardcode_into_libs=yes
13026
dynamic_linker='GNU ld.so'
13029
freebsd* | dragonfly*)
13030
# DragonFly does not have aout. When/if they implement a new
13031
# versioning mechanism, adjust this.
13032
if test -x /usr/bin/objformat; then
13033
objformat=`/usr/bin/objformat`
13036
freebsd[123]*) objformat=aout ;;
13037
*) objformat=elf ;;
13040
version_type=freebsd-$objformat
13041
case $version_type in
13043
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13048
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13052
shlibpath_var=LD_LIBRARY_PATH
13055
shlibpath_overrides_runpath=yes
13057
freebsd3.[01]* | freebsdelf3.[01]*)
13058
shlibpath_overrides_runpath=yes
13059
hardcode_into_libs=yes
13061
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13062
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13063
shlibpath_overrides_runpath=no
13064
hardcode_into_libs=yes
13066
freebsd*) # from 4.6 on
13067
shlibpath_overrides_runpath=yes
13068
hardcode_into_libs=yes
13077
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13078
soname_spec='${libname}${release}${shared_ext}$major'
13079
shlibpath_var=LD_LIBRARY_PATH
13080
hardcode_into_libs=yes
13083
hpux9* | hpux10* | hpux11*)
13084
# Give a soname corresponding to the major version so that dld.sl refuses to
13085
# link against other versions.
13092
hardcode_into_libs=yes
13093
dynamic_linker="$host_os dld.so"
13094
shlibpath_var=LD_LIBRARY_PATH
13095
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13096
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13097
soname_spec='${libname}${release}${shared_ext}$major'
13098
if test "X$HPUX_IA64_MODE" = X32; then
13099
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13101
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13103
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13107
hardcode_into_libs=yes
13108
dynamic_linker="$host_os dld.sl"
13109
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13110
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13111
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13112
soname_spec='${libname}${release}${shared_ext}$major'
13113
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13114
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13118
dynamic_linker="$host_os dld.sl"
13119
shlibpath_var=SHLIB_PATH
13120
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13121
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13122
soname_spec='${libname}${release}${shared_ext}$major'
13125
# HP-UX runs *really* slowly unless shared libraries are mode 555.
13126
postinstall_cmds='chmod 555 $lib'
13133
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13134
soname_spec='${libname}${release}${shared_ext}$major'
13135
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13136
shlibpath_var=LD_LIBRARY_PATH
13137
shlibpath_overrides_runpath=no
13138
hardcode_into_libs=yes
13141
irix5* | irix6* | nonstopux*)
13143
nonstopux*) version_type=nonstopux ;;
13145
if test "$lt_cv_prog_gnu_ld" = yes; then
13153
soname_spec='${libname}${release}${shared_ext}$major'
13154
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13156
irix5* | nonstopux*)
13157
libsuff= shlibsuff=
13160
case $LD in # libtool.m4 will add one of these switches to LD
13161
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13162
libsuff= shlibsuff= libmagic=32-bit;;
13163
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13164
libsuff=32 shlibsuff=N32 libmagic=N32;;
13165
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13166
libsuff=64 shlibsuff=64 libmagic=64-bit;;
13167
*) libsuff= shlibsuff= libmagic=never-match;;
13171
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13172
shlibpath_overrides_runpath=no
13173
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13174
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13175
hardcode_into_libs=yes
13178
# No shared lib support for Linux oldld, aout, or coff.
13179
linux*oldld* | linux*aout* | linux*coff*)
13183
# This must be Linux ELF.
13188
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13189
soname_spec='${libname}${release}${shared_ext}$major'
13190
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13191
shlibpath_var=LD_LIBRARY_PATH
13192
shlibpath_overrides_runpath=no
13193
# This implies no fast_install, which is unacceptable.
13194
# Some rework will be needed to allow for fast_install
13195
# before this can be enabled.
13196
hardcode_into_libs=yes
13198
# find out which ABI we are using
13200
case "$host_cpu" in
13201
x86_64*|s390x*|powerpc64*)
13202
echo '#line 13202 "configure"' > conftest.$ac_ext
13203
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13204
(eval $ac_compile) 2>&5
13206
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13207
(exit $ac_status); }; then
13208
case `/usr/bin/file conftest.$ac_objext` in
13211
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
13219
# Append ld.so.conf contents to the search path
13220
if test -f /etc/ld.so.conf; then
13221
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/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13222
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
13225
# We used to test for /lib/ld.so.1 and disable shared libraries on
13226
# powerpc, because MkLinux only supported shared libraries with the
13227
# GNU dynamic linker. Since this was broken with cross compilers,
13228
# most powerpc-linux boxes support dynamic linking these days and
13229
# people can always --disable-shared, the test was removed, and we
13230
# assume the GNU/Linux dynamic linker is in use.
13231
dynamic_linker='GNU/Linux ld.so'
13238
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13239
soname_spec='${libname}${release}${shared_ext}$major'
13240
shlibpath_var=LD_LIBRARY_PATH
13241
shlibpath_overrides_runpath=no
13242
hardcode_into_libs=yes
13243
dynamic_linker='GNU ld.so'
13250
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13251
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13252
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13253
dynamic_linker='NetBSD (a.out) ld.so'
13255
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13256
soname_spec='${libname}${release}${shared_ext}$major'
13257
dynamic_linker='NetBSD ld.elf_so'
13259
shlibpath_var=LD_LIBRARY_PATH
13260
shlibpath_overrides_runpath=yes
13261
hardcode_into_libs=yes
13266
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13267
shlibpath_var=LD_LIBRARY_PATH
13268
shlibpath_overrides_runpath=yes
13275
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13276
soname_spec='${libname}${release}${shared_ext}$major'
13277
shlibpath_var=LD_LIBRARY_PATH
13278
shlibpath_overrides_runpath=yes
13283
sys_lib_dlsearch_path_spec="/usr/lib"
13285
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13287
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13288
*) need_version=no ;;
13290
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13291
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13292
shlibpath_var=LD_LIBRARY_PATH
13293
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13295
openbsd2.[89] | openbsd2.[89].*)
13296
shlibpath_overrides_runpath=no
13299
shlibpath_overrides_runpath=yes
13303
shlibpath_overrides_runpath=yes
13308
libname_spec='$name'
13311
library_names_spec='$libname${shared_ext} $libname.a'
13312
dynamic_linker='OS/2 ld.exe'
13313
shlibpath_var=LIBPATH
13316
osf3* | osf4* | osf5*)
13320
soname_spec='${libname}${release}${shared_ext}$major'
13321
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13322
shlibpath_var=LD_LIBRARY_PATH
13323
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13324
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13331
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13332
soname_spec='${libname}${release}${shared_ext}$major'
13333
shlibpath_var=LD_LIBRARY_PATH
13334
shlibpath_overrides_runpath=yes
13335
hardcode_into_libs=yes
13336
# ldd complains unless libraries are executable
13337
postinstall_cmds='chmod +x $lib'
13342
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13343
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13344
shlibpath_var=LD_LIBRARY_PATH
13345
shlibpath_overrides_runpath=yes
13346
if test "$with_gnu_ld" = yes; then
13354
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13355
soname_spec='${libname}${release}${shared_ext}$major'
13356
shlibpath_var=LD_LIBRARY_PATH
13357
case $host_vendor in
13359
shlibpath_overrides_runpath=no
13361
export_dynamic_flag_spec='${wl}-Blargedynsym'
13362
runpath_var=LD_RUN_PATH
13370
shlibpath_overrides_runpath=no
13371
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13377
if test -d /usr/nec ;then
13379
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13380
soname_spec='$libname${shared_ext}.$major'
13381
shlibpath_var=LD_LIBRARY_PATH
13385
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13386
version_type=freebsd-elf
13389
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13390
soname_spec='${libname}${release}${shared_ext}$major'
13391
shlibpath_var=LD_LIBRARY_PATH
13392
hardcode_into_libs=yes
13393
if test "$with_gnu_ld" = yes; then
13394
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13395
shlibpath_overrides_runpath=no
13397
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13398
shlibpath_overrides_runpath=yes
13401
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13405
sys_lib_dlsearch_path_spec='/usr/lib'
13410
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13411
soname_spec='${libname}${release}${shared_ext}$major'
13412
shlibpath_var=LD_LIBRARY_PATH
13419
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13420
echo "${ECHO_T}$dynamic_linker" >&6; }
13421
test "$dynamic_linker" = no && can_build_shared=no
13423
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13424
if test "$GCC" = yes; then
13425
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13428
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13429
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
13430
hardcode_action_CXX=
13431
if test -n "$hardcode_libdir_flag_spec_CXX" || \
13432
test -n "$runpath_var_CXX" || \
13433
test "X$hardcode_automatic_CXX" = "Xyes" ; then
13435
# We can hardcode non-existant directories.
13436
if test "$hardcode_direct_CXX" != no &&
13437
# If the only mechanism to avoid hardcoding is shlibpath_var, we
13438
# have to relink, otherwise we might link with an installed library
13439
# when we should be linking with a yet-to-be-installed one
13440
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13441
test "$hardcode_minus_L_CXX" != no; then
13442
# Linking always hardcodes the temporary library directory.
13443
hardcode_action_CXX=relink
13445
# We can link without hardcoding, and we can hardcode nonexisting dirs.
13446
hardcode_action_CXX=immediate
13449
# We cannot hardcode anything, or else we can only hardcode existing
13451
hardcode_action_CXX=unsupported
13453
{ echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13454
echo "${ECHO_T}$hardcode_action_CXX" >&6; }
13456
if test "$hardcode_action_CXX" = relink; then
13457
# Fast installation is not supported
13458
enable_fast_install=no
13459
elif test "$shlibpath_overrides_runpath" = yes ||
13460
test "$enable_shared" = no; then
13461
# Fast installation is not necessary
13462
enable_fast_install=needless
13466
# The else clause should only fire when bootstrapping the
13467
# libtool distribution, otherwise you forgot to ship ltmain.sh
13468
# with your package, and you will get complaints that there are
13469
# no rules to generate ltmain.sh.
13470
if test -f "$ltmain"; then
13471
# See if we are running on zsh, and set the options which allow our commands through
13472
# without removal of \ escapes.
13473
if test -n "${ZSH_VERSION+set}" ; then
13474
setopt NO_GLOB_SUBST
13476
# Now quote all the things that may contain metacharacters while being
13477
# careful not to overquote the AC_SUBSTed values. We take copies of the
13478
# variables and quote the copies for generation of the libtool script.
13479
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
13481
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
13482
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
13483
deplibs_check_method reload_flag reload_cmds need_locks \
13484
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
13485
lt_cv_sys_global_symbol_to_c_name_address \
13486
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
13487
old_postinstall_cmds old_postuninstall_cmds \
13491
lt_prog_compiler_wl_CXX \
13492
lt_prog_compiler_pic_CXX \
13493
lt_prog_compiler_static_CXX \
13494
lt_prog_compiler_no_builtin_flag_CXX \
13495
export_dynamic_flag_spec_CXX \
13496
thread_safe_flag_spec_CXX \
13497
whole_archive_flag_spec_CXX \
13498
enable_shared_with_static_runtimes_CXX \
13499
old_archive_cmds_CXX \
13500
old_archive_from_new_cmds_CXX \
13501
predep_objects_CXX \
13502
postdep_objects_CXX \
13505
compiler_lib_search_path_CXX \
13507
archive_expsym_cmds_CXX \
13508
postinstall_cmds_CXX \
13509
postuninstall_cmds_CXX \
13510
old_archive_from_expsyms_cmds_CXX \
13511
allow_undefined_flag_CXX \
13512
no_undefined_flag_CXX \
13513
export_symbols_cmds_CXX \
13514
hardcode_libdir_flag_spec_CXX \
13515
hardcode_libdir_flag_spec_ld_CXX \
13516
hardcode_libdir_separator_CXX \
13517
hardcode_automatic_CXX \
13519
module_expsym_cmds_CXX \
13520
lt_cv_prog_compiler_c_o_CXX \
13521
exclude_expsyms_CXX \
13522
include_expsyms_CXX; do
13525
old_archive_cmds_CXX | \
13526
old_archive_from_new_cmds_CXX | \
13527
archive_cmds_CXX | \
13528
archive_expsym_cmds_CXX | \
13529
module_cmds_CXX | \
13530
module_expsym_cmds_CXX | \
13531
old_archive_from_expsyms_cmds_CXX | \
13532
export_symbols_cmds_CXX | \
13533
extract_expsyms_cmds | reload_cmds | finish_cmds | \
13534
postinstall_cmds | postuninstall_cmds | \
13535
old_postinstall_cmds | old_postuninstall_cmds | \
13536
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
13537
# Double-quote double-evaled strings.
13538
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
13541
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
13547
*'\$0 --fallback-echo"')
13548
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
13554
cat <<__EOF__ >> "$cfgfile"
13555
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
13557
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13559
# Shell to use when invoking shell scripts.
13562
# Whether or not to build shared libraries.
13563
build_libtool_libs=$enable_shared
13565
# Whether or not to build static libraries.
13566
build_old_libs=$enable_static
13568
# Whether or not to add -lc for building shared libraries.
13569
build_libtool_need_lc=$archive_cmds_need_lc_CXX
13571
# Whether or not to disallow shared libs when runtime libs are static
13572
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
13574
# Whether or not to optimize for fast installation.
13575
fast_install=$enable_fast_install
13578
host_alias=$host_alias
13582
# The build system.
13583
build_alias=$build_alias
13587
# An echo program that does not interpret backslashes.
13592
AR_FLAGS=$lt_AR_FLAGS
13597
# LTCC compiler flags.
13598
LTCFLAGS=$lt_LTCFLAGS
13600
# A language-specific compiler.
13601
CC=$lt_compiler_CXX
13603
# Is the compiler the GNU C compiler?
13609
# The linker used to build libraries.
13612
# Whether we need hard or soft links.
13615
# A BSD-compatible nm program.
13618
# A symbol stripping program
13621
# Used to examine libraries when file_magic_cmd begins "file"
13622
MAGIC_CMD=$MAGIC_CMD
13624
# Used on cygwin: DLL creation program.
13627
# Used on cygwin: object dumper.
13630
# Used on cygwin: assembler.
13633
# The name of the directory that contains temporary libtool files.
13636
# How to create reloadable object files.
13637
reload_flag=$lt_reload_flag
13638
reload_cmds=$lt_reload_cmds
13640
# How to pass a linker flag through the compiler.
13641
wl=$lt_lt_prog_compiler_wl_CXX
13643
# Object file suffix (normally "o").
13644
objext="$ac_objext"
13646
# Old archive suffix (normally "a").
13649
# Shared library suffix (normally ".so").
13650
shrext_cmds='$shrext_cmds'
13652
# Executable file suffix (normally "").
13655
# Additional compiler flags for building library objects.
13656
pic_flag=$lt_lt_prog_compiler_pic_CXX
13659
# What is the maximum length of a command?
13660
max_cmd_len=$lt_cv_sys_max_cmd_len
13662
# Does compiler simultaneously support -c and -o options?
13663
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
13665
# Must we lock files when doing compilation?
13666
need_locks=$lt_need_locks
13668
# Do we need the lib prefix for modules?
13669
need_lib_prefix=$need_lib_prefix
13671
# Do we need a version for libraries?
13672
need_version=$need_version
13674
# Whether dlopen is supported.
13675
dlopen_support=$enable_dlopen
13677
# Whether dlopen of programs is supported.
13678
dlopen_self=$enable_dlopen_self
13680
# Whether dlopen of statically linked programs is supported.
13681
dlopen_self_static=$enable_dlopen_self_static
13683
# Compiler flag to prevent dynamic linking.
13684
link_static_flag=$lt_lt_prog_compiler_static_CXX
13686
# Compiler flag to turn off builtin functions.
13687
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
13689
# Compiler flag to allow reflexive dlopens.
13690
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
13692
# Compiler flag to generate shared objects directly from archives.
13693
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
13695
# Compiler flag to generate thread-safe objects.
13696
thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
13698
# Library versioning type.
13699
version_type=$version_type
13701
# Format of library name prefix.
13702
libname_spec=$lt_libname_spec
13704
# List of archive names. First name is the real one, the rest are links.
13705
# The last name is the one that the linker finds with -lNAME.
13706
library_names_spec=$lt_library_names_spec
13708
# The coded name of the library, if different from the real name.
13709
soname_spec=$lt_soname_spec
13711
# Commands used to build and install an old-style archive.
13713
old_archive_cmds=$lt_old_archive_cmds_CXX
13714
old_postinstall_cmds=$lt_old_postinstall_cmds
13715
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13717
# Create an old-style archive from a shared archive.
13718
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
13720
# Create a temporary old-style archive to link instead of a shared archive.
13721
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
13723
# Commands used to build and install a shared archive.
13724
archive_cmds=$lt_archive_cmds_CXX
13725
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
13726
postinstall_cmds=$lt_postinstall_cmds
13727
postuninstall_cmds=$lt_postuninstall_cmds
13729
# Commands used to build a loadable module (assumed same as above if empty)
13730
module_cmds=$lt_module_cmds_CXX
13731
module_expsym_cmds=$lt_module_expsym_cmds_CXX
13733
# Commands to strip libraries.
13734
old_striplib=$lt_old_striplib
13735
striplib=$lt_striplib
13737
# Dependencies to place before the objects being linked to create a
13739
predep_objects=$lt_predep_objects_CXX
13741
# Dependencies to place after the objects being linked to create a
13743
postdep_objects=$lt_postdep_objects_CXX
13745
# Dependencies to place before the objects being linked to create a
13747
predeps=$lt_predeps_CXX
13749
# Dependencies to place after the objects being linked to create a
13751
postdeps=$lt_postdeps_CXX
13753
# The library search path used internally by the compiler when linking
13754
# a shared library.
13755
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
13757
# Method to check whether dependent libraries are shared objects.
13758
deplibs_check_method=$lt_deplibs_check_method
13760
# Command to use when deplibs_check_method == file_magic.
13761
file_magic_cmd=$lt_file_magic_cmd
13763
# Flag that allows shared libraries with undefined symbols to be built.
13764
allow_undefined_flag=$lt_allow_undefined_flag_CXX
13766
# Flag that forces no undefined symbols.
13767
no_undefined_flag=$lt_no_undefined_flag_CXX
13769
# Commands used to finish a libtool library installation in a directory.
13770
finish_cmds=$lt_finish_cmds
13772
# Same as above, but a single script fragment to be evaled but not shown.
13773
finish_eval=$lt_finish_eval
13775
# Take the output of nm and produce a listing of raw symbols and C names.
13776
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13778
# Transform the output of nm in a proper C declaration
13779
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13781
# Transform the output of nm in a C name address pair
13782
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13784
# This is the shared library runtime path variable.
13785
runpath_var=$runpath_var
13787
# This is the shared library path variable.
13788
shlibpath_var=$shlibpath_var
13790
# Is shlibpath searched before the hard-coded library search path?
13791
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13793
# How to hardcode a shared library path into an executable.
13794
hardcode_action=$hardcode_action_CXX
13796
# Whether we should hardcode library paths into libraries.
13797
hardcode_into_libs=$hardcode_into_libs
13799
# Flag to hardcode \$libdir into a binary during linking.
13800
# This must work even if \$libdir does not exist.
13801
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
13803
# If ld is used when linking, flag to hardcode \$libdir into
13804
# a binary during linking. This must work even if \$libdir does
13806
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
13808
# Whether we need a single -rpath flag with a separated argument.
13809
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
13811
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
13812
# resulting binary.
13813
hardcode_direct=$hardcode_direct_CXX
13815
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
13816
# resulting binary.
13817
hardcode_minus_L=$hardcode_minus_L_CXX
13819
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
13820
# the resulting binary.
13821
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
13823
# Set to yes if building a shared library automatically hardcodes DIR into the library
13824
# and all subsequent libraries and executables linked against it.
13825
hardcode_automatic=$hardcode_automatic_CXX
13827
# Variables whose values should be saved in libtool wrapper scripts and
13828
# restored at relink time.
13829
variables_saved_for_relink="$variables_saved_for_relink"
13831
# Whether libtool must link a program against all its dependency libraries.
13832
link_all_deplibs=$link_all_deplibs_CXX
13834
# Compile-time system search path for libraries
13835
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13837
# Run-time system search path for libraries
13838
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13840
# Fix the shell variable \$srcfile for the compiler.
13841
fix_srcfile_path="$fix_srcfile_path_CXX"
13843
# Set to yes if exported symbols are required.
13844
always_export_symbols=$always_export_symbols_CXX
13846
# The commands to list exported symbols.
13847
export_symbols_cmds=$lt_export_symbols_cmds_CXX
13849
# The commands to extract the exported symbol list from a shared archive.
13850
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13852
# Symbols that should not be listed in the preloaded symbols.
13853
exclude_expsyms=$lt_exclude_expsyms_CXX
13855
# Symbols that must always be exported.
13856
include_expsyms=$lt_include_expsyms_CXX
13858
# ### END LIBTOOL TAG CONFIG: $tagname
13864
# If there is no Makefile yet, we rely on a make rule to execute
13865
# `config.status --recheck' to rerun these tests and create the
13866
# libtool script then.
13867
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
13868
if test -f "$ltmain_in"; then
13869
test -f Makefile && make "$ltmain"
13875
ac_cpp='$CPP $CPPFLAGS'
13876
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13877
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13878
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13884
with_gnu_ldcxx=$with_gnu_ld
13885
with_gnu_ld=$lt_save_with_gnu_ld
13886
lt_cv_path_LDCXX=$lt_cv_path_LD
13887
lt_cv_path_LD=$lt_save_path_LD
13888
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13889
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13897
if test -n "$F77" && test "X$F77" != "Xno"; then
13900
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
13901
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13902
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
13905
archive_cmds_need_lc_F77=no
13906
allow_undefined_flag_F77=
13907
always_export_symbols_F77=no
13908
archive_expsym_cmds_F77=
13909
export_dynamic_flag_spec_F77=
13910
hardcode_direct_F77=no
13911
hardcode_libdir_flag_spec_F77=
13912
hardcode_libdir_flag_spec_ld_F77=
13913
hardcode_libdir_separator_F77=
13914
hardcode_minus_L_F77=no
13915
hardcode_automatic_F77=no
13917
module_expsym_cmds_F77=
13918
link_all_deplibs_F77=unknown
13919
old_archive_cmds_F77=$old_archive_cmds
13920
no_undefined_flag_F77=
13921
whole_archive_flag_spec_F77=
13922
enable_shared_with_static_runtimes_F77=no
13924
# Source file extension for f77 test sources.
13927
# Object file extension for compiled f77 test sources.
13931
# Code to be used in simple compile tests
13932
lt_simple_compile_test_code=" subroutine t\n return\n end\n"
13934
# Code to be used in simple link tests
13935
lt_simple_link_test_code=" program t\n end\n"
13937
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
13939
# If no C compiler was specified, use CC.
13942
# If no C compiler flags were specified, use CFLAGS.
13943
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
13945
# Allow CC to be a program name with arguments.
13949
# save warnings/boilerplate of simple test code
13950
ac_outfile=conftest.$ac_objext
13951
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
13952
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13953
_lt_compiler_boilerplate=`cat conftest.err`
13956
ac_outfile=conftest.$ac_objext
13957
printf "$lt_simple_link_test_code" >conftest.$ac_ext
13958
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
13959
_lt_linker_boilerplate=`cat conftest.err`
13963
# Allow CC to be a program name with arguments.
13968
for cc_temp in $compiler""; do
13970
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
13971
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
13976
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13979
{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13980
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
13981
{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
13982
echo "${ECHO_T}$can_build_shared" >&6; }
13984
{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
13985
echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
13986
test "$can_build_shared" = "no" && enable_shared=no
13988
# On AIX, shared libraries and static libraries use the same namespace, and
13989
# are all built from PIC.
13992
test "$enable_shared" = yes && enable_static=no
13993
if test -n "$RANLIB"; then
13994
archive_cmds="$archive_cmds~\$RANLIB \$lib"
13995
postinstall_cmds='$RANLIB $lib'
13999
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14000
test "$enable_shared" = yes && enable_static=no
14004
{ echo "$as_me:$LINENO: result: $enable_shared" >&5
14005
echo "${ECHO_T}$enable_shared" >&6; }
14007
{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
14008
echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
14009
# Make sure either enable_shared or enable_static is yes.
14010
test "$enable_shared" = yes || enable_static=yes
14011
{ echo "$as_me:$LINENO: result: $enable_static" >&5
14012
echo "${ECHO_T}$enable_static" >&6; }
14017
lt_prog_compiler_wl_F77=
14018
lt_prog_compiler_pic_F77=
14019
lt_prog_compiler_static_F77=
14021
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
14022
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
14024
if test "$GCC" = yes; then
14025
lt_prog_compiler_wl_F77='-Wl,'
14026
lt_prog_compiler_static_F77='-static'
14030
# All AIX code is PIC.
14031
if test "$host_cpu" = ia64; then
14032
# AIX 5 now supports IA64 processor
14033
lt_prog_compiler_static_F77='-Bstatic'
14038
# FIXME: we need at least 68020 code to build shared libraries, but
14039
# adding the `-m68020' flag to GCC prevents building anything better,
14041
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14044
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14045
# PIC is the default for these OSes.
14048
mingw* | pw32* | os2*)
14049
# This hack is so that the source file can tell whether it is being
14050
# built for inclusion in a dll (and should export symbols for example).
14051
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14054
darwin* | rhapsody*)
14055
# PIC is the default on this platform
14056
# Common symbols not allowed in MH_DYLIB files
14057
lt_prog_compiler_pic_F77='-fno-common'
14061
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
14062
# Instead, we relocate shared libraries at runtime.
14066
# Just because we use GCC doesn't mean we suddenly get shared libraries
14067
# on systems that don't support them.
14068
lt_prog_compiler_can_build_shared_F77=no
14073
if test -d /usr/nec; then
14074
lt_prog_compiler_pic_F77=-Kconform_pic
14079
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14080
# not for PA HP-UX.
14086
lt_prog_compiler_pic_F77='-fPIC'
14092
lt_prog_compiler_pic_F77='-fPIC'
14096
# PORTME Check for flag to pass linker flags through the system compiler.
14099
lt_prog_compiler_wl_F77='-Wl,'
14100
if test "$host_cpu" = ia64; then
14101
# AIX 5 now supports IA64 processor
14102
lt_prog_compiler_static_F77='-Bstatic'
14104
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
14108
# PIC is the default on this platform
14109
# Common symbols not allowed in MH_DYLIB files
14110
case $cc_basename in
14112
lt_prog_compiler_pic_F77='-qnocommon'
14113
lt_prog_compiler_wl_F77='-Wl,'
14118
mingw* | pw32* | os2*)
14119
# This hack is so that the source file can tell whether it is being
14120
# built for inclusion in a dll (and should export symbols for example).
14121
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14124
hpux9* | hpux10* | hpux11*)
14125
lt_prog_compiler_wl_F77='-Wl,'
14126
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
14127
# not for PA HP-UX.
14133
lt_prog_compiler_pic_F77='+Z'
14136
# Is there a better lt_prog_compiler_static that works with the bundled CC?
14137
lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
14140
irix5* | irix6* | nonstopux*)
14141
lt_prog_compiler_wl_F77='-Wl,'
14142
# PIC (with -KPIC) is the default.
14143
lt_prog_compiler_static_F77='-non_shared'
14147
lt_prog_compiler_pic_F77='-KPIC'
14148
lt_prog_compiler_static_F77='-Bstatic'
14152
case $cc_basename in
14154
lt_prog_compiler_wl_F77='-Wl,'
14155
lt_prog_compiler_pic_F77='-KPIC'
14156
lt_prog_compiler_static_F77='-static'
14158
pgcc* | pgf77* | pgf90* | pgf95*)
14159
# Portland Group compilers (*not* the Pentium gcc compiler,
14160
# which looks to be a dead project)
14161
lt_prog_compiler_wl_F77='-Wl,'
14162
lt_prog_compiler_pic_F77='-fpic'
14163
lt_prog_compiler_static_F77='-Bstatic'
14166
lt_prog_compiler_wl_F77='-Wl,'
14167
# All Alpha code is PIC.
14168
lt_prog_compiler_static_F77='-non_shared'
14173
osf3* | osf4* | osf5*)
14174
lt_prog_compiler_wl_F77='-Wl,'
14175
# All OSF/1 code is PIC.
14176
lt_prog_compiler_static_F77='-non_shared'
14180
lt_prog_compiler_pic_F77='-KPIC'
14181
lt_prog_compiler_static_F77='-Bstatic'
14182
case $cc_basename in
14183
f77* | f90* | f95*)
14184
lt_prog_compiler_wl_F77='-Qoption ld ';;
14186
lt_prog_compiler_wl_F77='-Wl,';;
14191
lt_prog_compiler_wl_F77='-Qoption ld '
14192
lt_prog_compiler_pic_F77='-PIC'
14193
lt_prog_compiler_static_F77='-Bstatic'
14196
sysv4 | sysv4.2uw2* | sysv4.3*)
14197
lt_prog_compiler_wl_F77='-Wl,'
14198
lt_prog_compiler_pic_F77='-KPIC'
14199
lt_prog_compiler_static_F77='-Bstatic'
14203
if test -d /usr/nec ;then
14204
lt_prog_compiler_pic_F77='-Kconform_pic'
14205
lt_prog_compiler_static_F77='-Bstatic'
14209
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14210
lt_prog_compiler_wl_F77='-Wl,'
14211
lt_prog_compiler_pic_F77='-KPIC'
14212
lt_prog_compiler_static_F77='-Bstatic'
14216
lt_prog_compiler_wl_F77='-Wl,'
14217
lt_prog_compiler_can_build_shared_F77=no
14221
lt_prog_compiler_pic_F77='-pic'
14222
lt_prog_compiler_static_F77='-Bstatic'
14226
lt_prog_compiler_can_build_shared_F77=no
14231
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
14232
echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; }
14235
# Check to make sure the PIC flag actually works.
14237
if test -n "$lt_prog_compiler_pic_F77"; then
14239
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
14240
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; }
14241
if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
14242
echo $ECHO_N "(cached) $ECHO_C" >&6
14244
lt_prog_compiler_pic_works_F77=no
14245
ac_outfile=conftest.$ac_objext
14246
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14247
lt_compiler_flag="$lt_prog_compiler_pic_F77"
14248
# Insert the option either (1) after the last *FLAGS variable, or
14249
# (2) before a word containing "conftest.", or (3) at the end.
14250
# Note that $ac_compile itself does not contain backslashes and begins
14251
# with a dollar sign (not a hyphen), so the echo should work correctly.
14252
# The option is referenced via a variable to avoid confusing sed.
14253
lt_compile=`echo "$ac_compile" | $SED \
14254
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14255
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14256
-e 's:$: $lt_compiler_flag:'`
14257
(eval echo "\"\$as_me:14257: $lt_compile\"" >&5)
14258
(eval "$lt_compile" 2>conftest.err)
14260
cat conftest.err >&5
14261
echo "$as_me:14261: \$? = $ac_status" >&5
14262
if (exit $ac_status) && test -s "$ac_outfile"; then
14263
# The compiler can only warn and ignore the option if not recognized
14264
# So say no if there are warnings other than the usual output.
14265
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
14266
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14267
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14268
lt_prog_compiler_pic_works_F77=yes
14274
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
14275
echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; }
14277
if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
14278
case $lt_prog_compiler_pic_F77 in
14280
*) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
14283
lt_prog_compiler_pic_F77=
14284
lt_prog_compiler_can_build_shared_F77=no
14289
# For platforms which do not support PIC, -DPIC is meaningless:
14291
lt_prog_compiler_pic_F77=
14294
lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
14299
# Check to make sure the static flag actually works.
14301
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
14302
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14303
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
14304
if test "${lt_prog_compiler_static_works_F77+set}" = set; then
14305
echo $ECHO_N "(cached) $ECHO_C" >&6
14307
lt_prog_compiler_static_works_F77=no
14308
save_LDFLAGS="$LDFLAGS"
14309
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14310
printf "$lt_simple_link_test_code" > conftest.$ac_ext
14311
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14312
# The linker can only warn and ignore the option if not recognized
14313
# So say no if there are warnings
14314
if test -s conftest.err; then
14315
# Append any errors to the config.log.
14316
cat conftest.err 1>&5
14317
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
14318
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14319
if diff conftest.exp conftest.er2 >/dev/null; then
14320
lt_prog_compiler_static_works_F77=yes
14323
lt_prog_compiler_static_works_F77=yes
14327
LDFLAGS="$save_LDFLAGS"
14330
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5
14331
echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; }
14333
if test x"$lt_prog_compiler_static_works_F77" = xyes; then
14336
lt_prog_compiler_static_F77=
14340
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
14341
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
14342
if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
14343
echo $ECHO_N "(cached) $ECHO_C" >&6
14345
lt_cv_prog_compiler_c_o_F77=no
14346
$rm -r conftest 2>/dev/null
14350
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14352
lt_compiler_flag="-o out/conftest2.$ac_objext"
14353
# Insert the option either (1) after the last *FLAGS variable, or
14354
# (2) before a word containing "conftest.", or (3) at the end.
14355
# Note that $ac_compile itself does not contain backslashes and begins
14356
# with a dollar sign (not a hyphen), so the echo should work correctly.
14357
lt_compile=`echo "$ac_compile" | $SED \
14358
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14359
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14360
-e 's:$: $lt_compiler_flag:'`
14361
(eval echo "\"\$as_me:14361: $lt_compile\"" >&5)
14362
(eval "$lt_compile" 2>out/conftest.err)
14364
cat out/conftest.err >&5
14365
echo "$as_me:14365: \$? = $ac_status" >&5
14366
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14368
# The compiler can only warn and ignore the option if not recognized
14369
# So say no if there are warnings
14370
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14371
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14372
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14373
lt_cv_prog_compiler_c_o_F77=yes
14378
# SGI C++ compiler will create directory out/ii_files/ for
14379
# template instantiation
14380
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
14381
$rm out/* && rmdir out
14387
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
14388
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; }
14391
hard_links="nottested"
14392
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
14393
# do not overwrite the value of need_locks provided by the user
14394
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
14395
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
14398
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14400
ln conftest.a conftest.b 2>&5 || hard_links=no
14401
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14402
{ echo "$as_me:$LINENO: result: $hard_links" >&5
14403
echo "${ECHO_T}$hard_links" >&6; }
14404
if test "$hard_links" = no; then
14405
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14406
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14413
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14414
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
14417
allow_undefined_flag_F77=
14418
enable_shared_with_static_runtimes_F77=no
14420
archive_expsym_cmds_F77=
14421
old_archive_From_new_cmds_F77=
14422
old_archive_from_expsyms_cmds_F77=
14423
export_dynamic_flag_spec_F77=
14424
whole_archive_flag_spec_F77=
14425
thread_safe_flag_spec_F77=
14426
hardcode_libdir_flag_spec_F77=
14427
hardcode_libdir_flag_spec_ld_F77=
14428
hardcode_libdir_separator_F77=
14429
hardcode_direct_F77=no
14430
hardcode_minus_L_F77=no
14431
hardcode_shlibpath_var_F77=unsupported
14432
link_all_deplibs_F77=unknown
14433
hardcode_automatic_F77=no
14435
module_expsym_cmds_F77=
14436
always_export_symbols_F77=no
14437
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14438
# include_expsyms should be a list of space-separated symbols to be *always*
14439
# included in the symbol list
14440
include_expsyms_F77=
14441
# exclude_expsyms can be an extended regexp of symbols to exclude
14442
# it will be wrapped by ` (' and `)$', so one must not match beginning or
14443
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14444
# as well as any symbol that contains `d'.
14445
exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
14446
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14447
# platforms (ab)use it in PIC code, but their linkers get confused if
14448
# the symbol is explicitly referenced. Since portable code cannot
14449
# rely on this symbol name, it's probably fine to never include it in
14450
# preloaded symbol tables.
14451
extract_expsyms_cmds=
14452
# Just being paranoid about ensuring that cc_basename is set.
14453
for cc_temp in $compiler""; do
14455
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14456
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14461
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14464
cygwin* | mingw* | pw32*)
14465
# FIXME: the MSVC++ port hasn't been tested in a loooong time
14466
# When not using gcc, we currently assume that we are using
14467
# Microsoft Visual C++.
14468
if test "$GCC" != yes; then
14473
# we just hope/assume this is gcc and not c89 (= MSVC++)
14482
if test "$with_gnu_ld" = yes; then
14483
# If archive_cmds runs LD, not CC, wlarc should be empty
14486
# Set some defaults for GNU ld with shared library support. These
14487
# are reset later if shared libraries are not supported. Putting them
14488
# here allows them to be overridden if necessary.
14489
runpath_var=LD_RUN_PATH
14490
hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
14491
export_dynamic_flag_spec_F77='${wl}--export-dynamic'
14492
# ancient GNU ld didn't support --whole-archive et. al.
14493
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
14494
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14496
whole_archive_flag_spec_F77=
14498
supports_anon_versioning=no
14499
case `$LD -v 2>/dev/null` in
14500
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
14501
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
14502
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
14503
*\ 2.11.*) ;; # other 2.11 versions
14504
*) supports_anon_versioning=yes ;;
14507
# See if GNU ld supports shared libraries.
14509
aix3* | aix4* | aix5*)
14510
# On AIX/PPC, the GNU linker is very broken
14511
if test "$host_cpu" != ia64; then
14515
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
14516
*** to be unable to reliably create shared libraries on AIX.
14517
*** Therefore, libtool is disabling shared libraries support. If you
14518
*** really care for shared libraries, you may want to modify your PATH
14519
*** so that a non-GNU linker is found, and then restart.
14526
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)'
14527
hardcode_libdir_flag_spec_F77='-L$libdir'
14528
hardcode_minus_L_F77=yes
14530
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
14531
# that the semantics of dynamic libraries on AmigaOS, at least up
14532
# to version 4, is to share data among multiple programs linked
14533
# with the same dynamic library. Since this doesn't match the
14534
# behavior of shared libraries on other platforms, we can't use
14540
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14541
allow_undefined_flag_F77=unsupported
14542
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14543
# support --undefined. This deserves some investigation. FIXME
14544
archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14550
cygwin* | mingw* | pw32*)
14551
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
14552
# as there is no search path for DLLs.
14553
hardcode_libdir_flag_spec_F77='-L$libdir'
14554
allow_undefined_flag_F77=unsupported
14555
always_export_symbols_F77=no
14556
enable_shared_with_static_runtimes_F77=yes
14557
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
14559
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14560
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14561
# If the export-symbols file already is a .def file (1st line
14562
# is EXPORTS), use it as is; otherwise, prepend...
14563
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14564
cp $export_symbols $output_objdir/$soname.def;
14566
echo EXPORTS > $output_objdir/$soname.def;
14567
cat $export_symbols >> $output_objdir/$soname.def;
14569
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14576
hardcode_direct_F77=no
14577
hardcode_shlibpath_var_F77=no
14578
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14579
export_dynamic_flag_spec_F77='${wl}-E'
14580
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14581
# Instead, shared libraries are loaded at an image base (0x10000000 by
14582
# default) and relocated if they conflict, which is a slow very memory
14583
# consuming and fragmenting process. To avoid this, we pick a random,
14584
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14585
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
14586
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'
14587
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'
14591
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14593
case $cc_basename,$host_cpu in
14594
pgcc*) # Portland Group C compiler
14595
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'
14596
tmp_addflag=' $pic_flag'
14598
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
14599
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'
14600
tmp_addflag=' $pic_flag -Mnomain' ;;
14601
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
14602
tmp_addflag=' -i_dynamic' ;;
14603
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
14604
tmp_addflag=' -i_dynamic -nofor_main' ;;
14605
ifc* | ifort*) # Intel Fortran compiler
14606
tmp_addflag=' -nofor_main' ;;
14608
archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14610
if test $supports_anon_versioning = yes; then
14611
archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14612
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14613
$echo "local: *; };" >> $output_objdir/$libname.ver~
14614
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14622
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14623
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14626
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14627
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14632
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
14636
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
14637
*** create shared libraries on Solaris systems. Therefore, libtool
14638
*** is disabling shared libraries support. We urge you to upgrade GNU
14639
*** binutils to release 2.9.1 or newer. Another option is to modify
14640
*** your PATH or compiler configuration so that the native linker is
14641
*** used, and then restart.
14644
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14645
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14646
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14652
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
14653
case `$LD -v 2>&1` in
14654
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
14658
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14659
*** reliably create shared libraries on SCO systems. Therefore, libtool
14660
*** is disabling shared libraries support. We urge you to upgrade GNU
14661
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14662
*** your PATH or compiler configuration so that the native linker is
14663
*** used, and then restart.
14668
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14669
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
14670
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
14671
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
14680
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14682
hardcode_direct_F77=yes
14683
hardcode_shlibpath_var_F77=no
14687
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14688
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14689
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14696
if test "$ld_shlibs_F77" = no; then
14698
hardcode_libdir_flag_spec_F77=
14699
export_dynamic_flag_spec_F77=
14700
whole_archive_flag_spec_F77=
14703
# PORTME fill in a description of your system's linker (not GNU ld)
14706
allow_undefined_flag_F77=unsupported
14707
always_export_symbols_F77=yes
14708
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'
14709
# Note: this linker hardcodes the directories in LIBPATH if there
14710
# are no directories specified by -L.
14711
hardcode_minus_L_F77=yes
14712
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14713
# Neither direct hardcoding nor static linking is supported with a
14715
hardcode_direct_F77=unsupported
14720
if test "$host_cpu" = ia64; then
14721
# On IA64, the linker does run time linking by default, so we don't
14722
# have to do anything special.
14723
aix_use_runtimelinking=no
14724
exp_sym_flag='-Bexport'
14727
# If we're using GNU nm, then we don't want the "-C" option.
14728
# -C means demangle to AIX nm, but means don't demangle with GNU nm
14729
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
14730
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'
14732
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'
14734
aix_use_runtimelinking=no
14736
# Test if we are trying to use run time linking or normal
14737
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
14738
# need to do runtime linking.
14739
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
14740
for ld_flag in $LDFLAGS; do
14741
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
14742
aix_use_runtimelinking=yes
14749
exp_sym_flag='-bexport'
14750
no_entry_flag='-bnoentry'
14753
# When large executables or shared objects are built, AIX ld can
14754
# have problems creating the table of contents. If linking a library
14755
# or program results in "error TOC overflow" add -mminimal-toc to
14756
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14757
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14759
archive_cmds_F77=''
14760
hardcode_direct_F77=yes
14761
hardcode_libdir_separator_F77=':'
14762
link_all_deplibs_F77=yes
14764
if test "$GCC" = yes; then
14765
case $host_os in aix4.[012]|aix4.[012].*)
14766
# We only want to do this on AIX 4.2 and lower, the check
14767
# below for broken collect2 doesn't work under 4.3+
14768
collect2name=`${CC} -print-prog-name=collect2`
14769
if test -f "$collect2name" && \
14770
strings "$collect2name" | grep resolve_lib_name >/dev/null
14772
# We have reworked collect2
14773
hardcode_direct_F77=yes
14775
# We have old collect2
14776
hardcode_direct_F77=unsupported
14777
# It fails to find uninstalled libraries when the uninstalled
14778
# path is not listed in the libpath. Setting hardcode_minus_L
14779
# to unsupported forces relinking
14780
hardcode_minus_L_F77=yes
14781
hardcode_libdir_flag_spec_F77='-L$libdir'
14782
hardcode_libdir_separator_F77=
14786
shared_flag='-shared'
14787
if test "$aix_use_runtimelinking" = yes; then
14788
shared_flag="$shared_flag "'${wl}-G'
14792
if test "$host_cpu" = ia64; then
14793
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14794
# chokes on -Wl,-G. The following line is correct:
14797
if test "$aix_use_runtimelinking" = yes; then
14798
shared_flag='${wl}-G'
14800
shared_flag='${wl}-bM:SRE'
14805
# It seems that -bexpall does not export symbols beginning with
14806
# underscore (_), so it is better to generate a list of symbols to export.
14807
always_export_symbols_F77=yes
14808
if test "$aix_use_runtimelinking" = yes; then
14809
# Warning - without using the other runtime loading flags (-brtl),
14810
# -berok will link without error, but may produce a broken library.
14811
allow_undefined_flag_F77='-berok'
14812
# Determine the default libpath from the value encoded in an empty executable.
14813
cat >conftest.$ac_ext <<_ACEOF
14818
rm -f conftest.$ac_objext conftest$ac_exeext
14819
if { (ac_try="$ac_link"
14820
case "(($ac_try" in
14821
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14822
*) ac_try_echo=$ac_try;;
14824
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14825
(eval "$ac_link") 2>conftest.er1
14827
grep -v '^ *+' conftest.er1 >conftest.err
14829
cat conftest.err >&5
14830
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14831
(exit $ac_status); } && {
14832
test -z "$ac_f77_werror_flag" ||
14833
test ! -s conftest.err
14834
} && test -s conftest$ac_exeext &&
14835
$as_test_x conftest$ac_exeext; then
14837
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14839
# Check for a 64-bit object if we didn't find anything.
14840
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14843
echo "$as_me: failed program was:" >&5
14844
sed 's/^/| /' conftest.$ac_ext >&5
14849
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14850
conftest$ac_exeext conftest.$ac_ext
14851
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14853
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14854
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"
14856
if test "$host_cpu" = ia64; then
14857
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
14858
allow_undefined_flag_F77="-z nodefs"
14859
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"
14861
# Determine the default libpath from the value encoded in an empty executable.
14862
cat >conftest.$ac_ext <<_ACEOF
14867
rm -f conftest.$ac_objext conftest$ac_exeext
14868
if { (ac_try="$ac_link"
14869
case "(($ac_try" in
14870
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14871
*) ac_try_echo=$ac_try;;
14873
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14874
(eval "$ac_link") 2>conftest.er1
14876
grep -v '^ *+' conftest.er1 >conftest.err
14878
cat conftest.err >&5
14879
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880
(exit $ac_status); } && {
14881
test -z "$ac_f77_werror_flag" ||
14882
test ! -s conftest.err
14883
} && test -s conftest$ac_exeext &&
14884
$as_test_x conftest$ac_exeext; then
14886
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14888
# Check for a 64-bit object if we didn't find anything.
14889
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
14892
echo "$as_me: failed program was:" >&5
14893
sed 's/^/| /' conftest.$ac_ext >&5
14898
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14899
conftest$ac_exeext conftest.$ac_ext
14900
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14902
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
14903
# Warning - without using the other run time loading flags,
14904
# -berok will link without error, but may produce a broken library.
14905
no_undefined_flag_F77=' ${wl}-bernotok'
14906
allow_undefined_flag_F77=' ${wl}-berok'
14907
# Exported symbols can be pulled into shared objects from archives
14908
whole_archive_flag_spec_F77='$convenience'
14909
archive_cmds_need_lc_F77=yes
14910
# This is similar to how AIX traditionally builds its shared libraries.
14911
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'
14917
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)'
14918
hardcode_libdir_flag_spec_F77='-L$libdir'
14919
hardcode_minus_L_F77=yes
14920
# see comment about different semantics on the GNU ld section
14925
export_dynamic_flag_spec_F77=-rdynamic
14928
cygwin* | mingw* | pw32*)
14929
# When not using gcc, we currently assume that we are using
14930
# Microsoft Visual C++.
14931
# hardcode_libdir_flag_spec is actually meaningless, as there is
14932
# no search path for DLLs.
14933
hardcode_libdir_flag_spec_F77=' '
14934
allow_undefined_flag_F77=unsupported
14935
# Tell ltmain to make .lib files, not .a files.
14937
# Tell ltmain to make .dll files, not .so files.
14939
# FIXME: Setting linknames here is a bad hack.
14940
archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
14941
# The linker will automatically build a .lib file if we build a DLL.
14942
old_archive_From_new_cmds_F77='true'
14943
# FIXME: Should let the user specify the lib program.
14944
old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
14945
fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
14946
enable_shared_with_static_runtimes_F77=yes
14949
darwin* | rhapsody*)
14951
rhapsody* | darwin1.[012])
14952
allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
14955
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
14956
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14958
case ${MACOSX_DEPLOYMENT_TARGET} in
14960
allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
14963
allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
14969
archive_cmds_need_lc_F77=no
14970
hardcode_direct_F77=no
14971
hardcode_automatic_F77=yes
14972
hardcode_shlibpath_var_F77=unsupported
14973
whole_archive_flag_spec_F77=''
14974
link_all_deplibs_F77=yes
14975
if test "$GCC" = yes ; then
14976
output_verbose_link_cmd='echo'
14977
archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
14978
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14979
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14980
archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14981
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}'
14983
case $cc_basename in
14985
output_verbose_link_cmd='echo'
14986
archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
14987
module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
14988
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
14989
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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
14990
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}'
15000
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15001
hardcode_libdir_flag_spec_F77='-L$libdir'
15002
hardcode_shlibpath_var_F77=no
15009
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15010
# support. Future versions do this automatically, but an explicit c++rt0.o
15011
# does not break anything, and helps significantly (at the cost of a little
15014
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15015
hardcode_libdir_flag_spec_F77='-R$libdir'
15016
hardcode_direct_F77=yes
15017
hardcode_shlibpath_var_F77=no
15020
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
15022
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15023
hardcode_direct_F77=yes
15024
hardcode_minus_L_F77=yes
15025
hardcode_shlibpath_var_F77=no
15028
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15029
freebsd* | kfreebsd*-gnu | dragonfly*)
15030
archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15031
hardcode_libdir_flag_spec_F77='-R$libdir'
15032
hardcode_direct_F77=yes
15033
hardcode_shlibpath_var_F77=no
15037
if test "$GCC" = yes; then
15038
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'
15040
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'
15042
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15043
hardcode_libdir_separator_F77=:
15044
hardcode_direct_F77=yes
15046
# hardcode_minus_L: Not really in the search PATH,
15047
# but as the default location of the library.
15048
hardcode_minus_L_F77=yes
15049
export_dynamic_flag_spec_F77='${wl}-E'
15053
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15054
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15056
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15058
if test "$with_gnu_ld" = no; then
15059
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15060
hardcode_libdir_separator_F77=:
15062
hardcode_direct_F77=yes
15063
export_dynamic_flag_spec_F77='${wl}-E'
15065
# hardcode_minus_L: Not really in the search PATH,
15066
# but as the default location of the library.
15067
hardcode_minus_L_F77=yes
15072
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15075
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15078
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15081
archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15087
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15090
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15093
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15097
if test "$with_gnu_ld" = no; then
15098
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
15099
hardcode_libdir_separator_F77=:
15103
hardcode_libdir_flag_spec_ld_F77='+b $libdir'
15104
hardcode_direct_F77=no
15105
hardcode_shlibpath_var_F77=no
15108
hardcode_direct_F77=yes
15109
export_dynamic_flag_spec_F77='${wl}-E'
15111
# hardcode_minus_L: Not really in the search PATH,
15112
# but as the default location of the library.
15113
hardcode_minus_L_F77=yes
15119
irix5* | irix6* | nonstopux*)
15120
if test "$GCC" = yes; then
15121
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'
15123
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'
15124
hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
15126
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15127
hardcode_libdir_separator_F77=:
15128
link_all_deplibs_F77=yes
15132
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15133
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15135
archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15137
hardcode_libdir_flag_spec_F77='-R$libdir'
15138
hardcode_direct_F77=yes
15139
hardcode_shlibpath_var_F77=no
15143
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15144
hardcode_direct_F77=yes
15145
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15146
hardcode_libdir_separator_F77=:
15147
hardcode_shlibpath_var_F77=no
15151
hardcode_direct_F77=yes
15152
hardcode_shlibpath_var_F77=no
15153
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15154
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15155
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15156
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15157
export_dynamic_flag_spec_F77='${wl}-E'
15160
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15161
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15162
hardcode_libdir_flag_spec_F77='-R$libdir'
15165
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15166
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15173
hardcode_libdir_flag_spec_F77='-L$libdir'
15174
hardcode_minus_L_F77=yes
15175
allow_undefined_flag_F77=unsupported
15176
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'
15177
old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15181
if test "$GCC" = yes; then
15182
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15183
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'
15185
allow_undefined_flag_F77=' -expect_unresolved \*'
15186
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'
15188
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15189
hardcode_libdir_separator_F77=:
15192
osf4* | osf5*) # as osf3* with the addition of -msym flag
15193
if test "$GCC" = yes; then
15194
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
15195
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'
15196
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
15198
allow_undefined_flag_F77=' -expect_unresolved \*'
15199
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'
15200
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~
15201
$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'
15203
# Both c and cxx compiler support -rpath directly
15204
hardcode_libdir_flag_spec_F77='-rpath $libdir'
15206
hardcode_libdir_separator_F77=:
15210
no_undefined_flag_F77=' -z text'
15211
if test "$GCC" = yes; then
15213
archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15214
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15215
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
15218
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15219
archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
15220
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
15222
hardcode_libdir_flag_spec_F77='-R$libdir'
15223
hardcode_shlibpath_var_F77=no
15225
solaris2.[0-5] | solaris2.[0-5].*) ;;
15227
# The compiler driver will combine linker options so we
15228
# cannot just pass the convience library names through
15229
# without $wl, iff we do not link with $LD.
15230
# Luckily, gcc supports the same syntax we need for Sun Studio.
15231
# Supported since Solaris 2.6 (maybe 2.5.1?)
15234
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
15236
whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
15239
link_all_deplibs_F77=yes
15243
if test "x$host_vendor" = xsequent; then
15244
# Use $CC to link under sequent, because it throws in some extra .o
15245
# files that make .init and .fini sections work.
15246
archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15248
archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15250
hardcode_libdir_flag_spec_F77='-L$libdir'
15251
hardcode_direct_F77=yes
15252
hardcode_minus_L_F77=yes
15253
hardcode_shlibpath_var_F77=no
15257
case $host_vendor in
15259
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15260
hardcode_direct_F77=yes # is this really true???
15263
## LD is ld it makes a PLAMLIB
15264
## CC just makes a GrossModule.
15265
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15266
reload_cmds_F77='$CC -r -o $output$reload_objs'
15267
hardcode_direct_F77=no
15270
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15271
hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
15274
runpath_var='LD_RUN_PATH'
15275
hardcode_shlibpath_var_F77=no
15279
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15280
hardcode_shlibpath_var_F77=no
15281
export_dynamic_flag_spec_F77='-Bexport'
15285
if test -d /usr/nec; then
15286
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15287
hardcode_shlibpath_var_F77=no
15288
runpath_var=LD_RUN_PATH
15289
hardcode_runpath_var=yes
15294
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
15295
no_undefined_flag_F77='${wl}-z,text'
15296
archive_cmds_need_lc_F77=no
15297
hardcode_shlibpath_var_F77=no
15298
runpath_var='LD_RUN_PATH'
15300
if test "$GCC" = yes; then
15301
archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15302
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15304
archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15305
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15309
sysv5* | sco3.2v5* | sco5v6*)
15310
# Note: We can NOT use -z defs as we might desire, because we do not
15311
# link with -lc, and that would cause any symbols used from libc to
15312
# always be unresolved, which means just about no library would
15313
# ever link correctly. If we're not using GNU ld we use -z text
15314
# though, which does catch some bad symbols but isn't as heavy-handed
15316
no_undefined_flag_F77='${wl}-z,text'
15317
allow_undefined_flag_F77='${wl}-z,nodefs'
15318
archive_cmds_need_lc_F77=no
15319
hardcode_shlibpath_var_F77=no
15320
hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
15321
hardcode_libdir_separator_F77=':'
15322
link_all_deplibs_F77=yes
15323
export_dynamic_flag_spec_F77='${wl}-Bexport'
15324
runpath_var='LD_RUN_PATH'
15326
if test "$GCC" = yes; then
15327
archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15328
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15330
archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15331
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
15336
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15337
hardcode_libdir_flag_spec_F77='-L$libdir'
15338
hardcode_shlibpath_var_F77=no
15347
{ echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
15348
echo "${ECHO_T}$ld_shlibs_F77" >&6; }
15349
test "$ld_shlibs_F77" = no && can_build_shared=no
15352
# Do we need to explicitly link libc?
15354
case "x$archive_cmds_need_lc_F77" in
15356
# Assume -lc should be added
15357
archive_cmds_need_lc_F77=yes
15359
if test "$enable_shared" = yes && test "$GCC" = yes; then
15360
case $archive_cmds_F77 in
15362
# FIXME: we may have to deal with multi-command sequences.
15365
# Test whether the compiler implicitly links with -lc since on some
15366
# systems, -lgcc has to come before -lc. If gcc already passes -lc
15367
# to ld, don't add -lc before -lgcc.
15368
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15369
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15371
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15373
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15374
(eval $ac_compile) 2>&5
15376
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377
(exit $ac_status); } 2>conftest.err; then
15380
libobjs=conftest.$ac_objext
15382
wl=$lt_prog_compiler_wl_F77
15383
pic_flag=$lt_prog_compiler_pic_F77
15389
lt_save_allow_undefined_flag=$allow_undefined_flag_F77
15390
allow_undefined_flag_F77=
15391
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
15392
(eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
15394
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395
(exit $ac_status); }
15397
archive_cmds_need_lc_F77=no
15399
archive_cmds_need_lc_F77=yes
15401
allow_undefined_flag_F77=$lt_save_allow_undefined_flag
15403
cat conftest.err 1>&5
15406
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
15407
echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; }
15414
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
15415
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
15416
library_names_spec=
15417
libname_spec='lib$name'
15421
postuninstall_cmds=
15425
shlibpath_overrides_runpath=unknown
15427
dynamic_linker="$host_os ld.so"
15428
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15429
if test "$GCC" = yes; then
15430
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15431
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15432
# if the path contains ";" then we assume it to be the separator
15433
# otherwise default to the standard path separator (i.e. ":") - it is
15434
# assumed that no part of a normal pathname contains ";" but that should
15435
# okay in the real world where ";" in dirpaths is itself problematic.
15436
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15438
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15441
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15443
need_lib_prefix=unknown
15444
hardcode_into_libs=no
15446
# when you set need_version to no, make sure it does not cause -set_version
15447
# flags to be left without arguments
15448
need_version=unknown
15453
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15454
shlibpath_var=LIBPATH
15456
# AIX 3 has no versioning support, so we append a major version to the name.
15457
soname_spec='${libname}${release}${shared_ext}$major'
15464
hardcode_into_libs=yes
15465
if test "$host_cpu" = ia64; then
15466
# AIX 5 supports IA64
15467
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15468
shlibpath_var=LD_LIBRARY_PATH
15470
# With GCC up to 2.95.x, collect2 would create an import file
15471
# for dependence libraries. The import file would start with
15472
# the line `#! .'. This would cause the generated library to
15473
# depend on `.', always an invalid library. This was fixed in
15474
# development snapshots of GCC prior to 3.0.
15476
aix4 | aix4.[01] | aix4.[01].*)
15477
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15479
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
15482
can_build_shared=no
15486
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15487
# soname into executable. Probably we can add versioning support to
15488
# collect2, so additional links can be useful in future.
15489
if test "$aix_use_runtimelinking" = yes; then
15490
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
15491
# instead of lib<name>.a to let people know that these are not
15492
# typical AIX shared libraries.
15493
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15495
# We preserve .a as extension for shared libraries through AIX4.2
15496
# and later when we are not doing run time linking.
15497
library_names_spec='${libname}${release}.a $libname.a'
15498
soname_spec='${libname}${release}${shared_ext}$major'
15500
shlibpath_var=LIBPATH
15505
library_names_spec='$libname.ixlibrary $libname.a'
15506
# Create ${libname}_ixlibrary.a entries in /sys/libs.
15507
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'
15511
library_names_spec='${libname}${shared_ext}'
15512
dynamic_linker="$host_os ld.so"
15513
shlibpath_var=LIBRARY_PATH
15519
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15520
soname_spec='${libname}${release}${shared_ext}$major'
15521
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15522
shlibpath_var=LD_LIBRARY_PATH
15523
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15524
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15525
# the default ld.so.conf also contains /usr/contrib/lib and
15526
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15527
# libtool to hard-code these into programs
15530
cygwin* | mingw* | pw32*)
15531
version_type=windows
15536
case $GCC,$host_os in
15537
yes,cygwin* | yes,mingw* | yes,pw32*)
15538
library_names_spec='$libname.dll.a'
15539
# DLL is installed to $(libdir)/../bin by postinstall_cmds
15540
postinstall_cmds='base_file=`basename \${file}`~
15541
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
15542
dldir=$destdir/`dirname \$dlpath`~
15543
test -d \$dldir || mkdir -p \$dldir~
15544
$install_prog $dir/$dlname \$dldir/$dlname~
15545
chmod a+x \$dldir/$dlname'
15546
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15547
dlpath=$dir/\$dldll~
15549
shlibpath_overrides_runpath=yes
15553
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
15554
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15555
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
15558
# MinGW DLLs use traditional 'lib' prefix
15559
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15560
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15561
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
15562
# It is most probably a Windows format PATH printed by
15563
# mingw gcc, but we are running on Cygwin. Gcc prints its search
15564
# path with ; separators, and with drive letters. We can handle the
15565
# drive letters (cygwin fileutils understands them), so leave them,
15566
# especially as we might pass files found there to a mingw objdump,
15567
# which wouldn't understand a cygwinified path. Ahh.
15568
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15570
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15574
# pw32 DLLs use 'pw' prefix rather than 'lib'
15575
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15581
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15584
dynamic_linker='Win32 ld.exe'
15585
# FIXME: first we should search . and the directory the executable is in
15589
darwin* | rhapsody*)
15590
dynamic_linker="$host_os dyld"
15591
version_type=darwin
15594
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15595
soname_spec='${libname}${release}${major}$shared_ext'
15596
shlibpath_overrides_runpath=yes
15597
shlibpath_var=DYLD_LIBRARY_PATH
15598
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15599
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15600
if test "$GCC" = yes; then
15601
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
15603
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15605
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15612
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15613
soname_spec='${libname}${release}${shared_ext}$major'
15614
shlibpath_var=LD_LIBRARY_PATH
15625
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15626
soname_spec='${libname}${release}${shared_ext}$major'
15627
shlibpath_var=LD_LIBRARY_PATH
15628
shlibpath_overrides_runpath=no
15629
hardcode_into_libs=yes
15630
dynamic_linker='GNU ld.so'
15633
freebsd* | dragonfly*)
15634
# DragonFly does not have aout. When/if they implement a new
15635
# versioning mechanism, adjust this.
15636
if test -x /usr/bin/objformat; then
15637
objformat=`/usr/bin/objformat`
15640
freebsd[123]*) objformat=aout ;;
15641
*) objformat=elf ;;
15644
version_type=freebsd-$objformat
15645
case $version_type in
15647
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15652
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15656
shlibpath_var=LD_LIBRARY_PATH
15659
shlibpath_overrides_runpath=yes
15661
freebsd3.[01]* | freebsdelf3.[01]*)
15662
shlibpath_overrides_runpath=yes
15663
hardcode_into_libs=yes
15665
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15666
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15667
shlibpath_overrides_runpath=no
15668
hardcode_into_libs=yes
15670
freebsd*) # from 4.6 on
15671
shlibpath_overrides_runpath=yes
15672
hardcode_into_libs=yes
15681
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15682
soname_spec='${libname}${release}${shared_ext}$major'
15683
shlibpath_var=LD_LIBRARY_PATH
15684
hardcode_into_libs=yes
15687
hpux9* | hpux10* | hpux11*)
15688
# Give a soname corresponding to the major version so that dld.sl refuses to
15689
# link against other versions.
15696
hardcode_into_libs=yes
15697
dynamic_linker="$host_os dld.so"
15698
shlibpath_var=LD_LIBRARY_PATH
15699
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15700
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15701
soname_spec='${libname}${release}${shared_ext}$major'
15702
if test "X$HPUX_IA64_MODE" = X32; then
15703
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15705
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15707
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15711
hardcode_into_libs=yes
15712
dynamic_linker="$host_os dld.sl"
15713
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15714
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15715
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15716
soname_spec='${libname}${release}${shared_ext}$major'
15717
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15718
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15722
dynamic_linker="$host_os dld.sl"
15723
shlibpath_var=SHLIB_PATH
15724
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15725
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15726
soname_spec='${libname}${release}${shared_ext}$major'
15729
# HP-UX runs *really* slowly unless shared libraries are mode 555.
15730
postinstall_cmds='chmod 555 $lib'
15737
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15738
soname_spec='${libname}${release}${shared_ext}$major'
15739
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15740
shlibpath_var=LD_LIBRARY_PATH
15741
shlibpath_overrides_runpath=no
15742
hardcode_into_libs=yes
15745
irix5* | irix6* | nonstopux*)
15747
nonstopux*) version_type=nonstopux ;;
15749
if test "$lt_cv_prog_gnu_ld" = yes; then
15757
soname_spec='${libname}${release}${shared_ext}$major'
15758
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15760
irix5* | nonstopux*)
15761
libsuff= shlibsuff=
15764
case $LD in # libtool.m4 will add one of these switches to LD
15765
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15766
libsuff= shlibsuff= libmagic=32-bit;;
15767
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15768
libsuff=32 shlibsuff=N32 libmagic=N32;;
15769
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15770
libsuff=64 shlibsuff=64 libmagic=64-bit;;
15771
*) libsuff= shlibsuff= libmagic=never-match;;
15775
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15776
shlibpath_overrides_runpath=no
15777
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15778
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15779
hardcode_into_libs=yes
15782
# No shared lib support for Linux oldld, aout, or coff.
15783
linux*oldld* | linux*aout* | linux*coff*)
15787
# This must be Linux ELF.
15792
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15793
soname_spec='${libname}${release}${shared_ext}$major'
15794
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15795
shlibpath_var=LD_LIBRARY_PATH
15796
shlibpath_overrides_runpath=no
15797
# This implies no fast_install, which is unacceptable.
15798
# Some rework will be needed to allow for fast_install
15799
# before this can be enabled.
15800
hardcode_into_libs=yes
15802
# find out which ABI we are using
15804
case "$host_cpu" in
15805
x86_64*|s390x*|powerpc64*)
15806
echo '#line 15806 "configure"' > conftest.$ac_ext
15807
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15808
(eval $ac_compile) 2>&5
15810
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811
(exit $ac_status); }; then
15812
case `/usr/bin/file conftest.$ac_objext` in
15815
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
15823
# Append ld.so.conf contents to the search path
15824
if test -f /etc/ld.so.conf; then
15825
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/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15826
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
15829
# We used to test for /lib/ld.so.1 and disable shared libraries on
15830
# powerpc, because MkLinux only supported shared libraries with the
15831
# GNU dynamic linker. Since this was broken with cross compilers,
15832
# most powerpc-linux boxes support dynamic linking these days and
15833
# people can always --disable-shared, the test was removed, and we
15834
# assume the GNU/Linux dynamic linker is in use.
15835
dynamic_linker='GNU/Linux ld.so'
15842
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15843
soname_spec='${libname}${release}${shared_ext}$major'
15844
shlibpath_var=LD_LIBRARY_PATH
15845
shlibpath_overrides_runpath=no
15846
hardcode_into_libs=yes
15847
dynamic_linker='GNU ld.so'
15854
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15855
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15856
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15857
dynamic_linker='NetBSD (a.out) ld.so'
15859
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15860
soname_spec='${libname}${release}${shared_ext}$major'
15861
dynamic_linker='NetBSD ld.elf_so'
15863
shlibpath_var=LD_LIBRARY_PATH
15864
shlibpath_overrides_runpath=yes
15865
hardcode_into_libs=yes
15870
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15871
shlibpath_var=LD_LIBRARY_PATH
15872
shlibpath_overrides_runpath=yes
15879
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15880
soname_spec='${libname}${release}${shared_ext}$major'
15881
shlibpath_var=LD_LIBRARY_PATH
15882
shlibpath_overrides_runpath=yes
15887
sys_lib_dlsearch_path_spec="/usr/lib"
15889
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15891
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15892
*) need_version=no ;;
15894
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15895
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15896
shlibpath_var=LD_LIBRARY_PATH
15897
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15899
openbsd2.[89] | openbsd2.[89].*)
15900
shlibpath_overrides_runpath=no
15903
shlibpath_overrides_runpath=yes
15907
shlibpath_overrides_runpath=yes
15912
libname_spec='$name'
15915
library_names_spec='$libname${shared_ext} $libname.a'
15916
dynamic_linker='OS/2 ld.exe'
15917
shlibpath_var=LIBPATH
15920
osf3* | osf4* | osf5*)
15924
soname_spec='${libname}${release}${shared_ext}$major'
15925
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15926
shlibpath_var=LD_LIBRARY_PATH
15927
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15928
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15935
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15936
soname_spec='${libname}${release}${shared_ext}$major'
15937
shlibpath_var=LD_LIBRARY_PATH
15938
shlibpath_overrides_runpath=yes
15939
hardcode_into_libs=yes
15940
# ldd complains unless libraries are executable
15941
postinstall_cmds='chmod +x $lib'
15946
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15947
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15948
shlibpath_var=LD_LIBRARY_PATH
15949
shlibpath_overrides_runpath=yes
15950
if test "$with_gnu_ld" = yes; then
15958
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15959
soname_spec='${libname}${release}${shared_ext}$major'
15960
shlibpath_var=LD_LIBRARY_PATH
15961
case $host_vendor in
15963
shlibpath_overrides_runpath=no
15965
export_dynamic_flag_spec='${wl}-Blargedynsym'
15966
runpath_var=LD_RUN_PATH
15974
shlibpath_overrides_runpath=no
15975
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15981
if test -d /usr/nec ;then
15983
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15984
soname_spec='$libname${shared_ext}.$major'
15985
shlibpath_var=LD_LIBRARY_PATH
15989
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15990
version_type=freebsd-elf
15993
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15994
soname_spec='${libname}${release}${shared_ext}$major'
15995
shlibpath_var=LD_LIBRARY_PATH
15996
hardcode_into_libs=yes
15997
if test "$with_gnu_ld" = yes; then
15998
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15999
shlibpath_overrides_runpath=no
16001
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
16002
shlibpath_overrides_runpath=yes
16005
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
16009
sys_lib_dlsearch_path_spec='/usr/lib'
16014
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16015
soname_spec='${libname}${release}${shared_ext}$major'
16016
shlibpath_var=LD_LIBRARY_PATH
16023
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16024
echo "${ECHO_T}$dynamic_linker" >&6; }
16025
test "$dynamic_linker" = no && can_build_shared=no
16027
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16028
if test "$GCC" = yes; then
16029
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16032
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16033
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
16034
hardcode_action_F77=
16035
if test -n "$hardcode_libdir_flag_spec_F77" || \
16036
test -n "$runpath_var_F77" || \
16037
test "X$hardcode_automatic_F77" = "Xyes" ; then
16039
# We can hardcode non-existant directories.
16040
if test "$hardcode_direct_F77" != no &&
16041
# If the only mechanism to avoid hardcoding is shlibpath_var, we
16042
# have to relink, otherwise we might link with an installed library
16043
# when we should be linking with a yet-to-be-installed one
16044
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
16045
test "$hardcode_minus_L_F77" != no; then
16046
# Linking always hardcodes the temporary library directory.
16047
hardcode_action_F77=relink
16049
# We can link without hardcoding, and we can hardcode nonexisting dirs.
16050
hardcode_action_F77=immediate
16053
# We cannot hardcode anything, or else we can only hardcode existing
16055
hardcode_action_F77=unsupported
16057
{ echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
16058
echo "${ECHO_T}$hardcode_action_F77" >&6; }
16060
if test "$hardcode_action_F77" = relink; then
16061
# Fast installation is not supported
16062
enable_fast_install=no
16063
elif test "$shlibpath_overrides_runpath" = yes ||
16064
test "$enable_shared" = no; then
16065
# Fast installation is not necessary
16066
enable_fast_install=needless
16070
# The else clause should only fire when bootstrapping the
16071
# libtool distribution, otherwise you forgot to ship ltmain.sh
16072
# with your package, and you will get complaints that there are
16073
# no rules to generate ltmain.sh.
16074
if test -f "$ltmain"; then
16075
# See if we are running on zsh, and set the options which allow our commands through
16076
# without removal of \ escapes.
16077
if test -n "${ZSH_VERSION+set}" ; then
16078
setopt NO_GLOB_SUBST
16080
# Now quote all the things that may contain metacharacters while being
16081
# careful not to overquote the AC_SUBSTed values. We take copies of the
16082
# variables and quote the copies for generation of the libtool script.
16083
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
16085
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
16086
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
16087
deplibs_check_method reload_flag reload_cmds need_locks \
16088
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
16089
lt_cv_sys_global_symbol_to_c_name_address \
16090
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
16091
old_postinstall_cmds old_postuninstall_cmds \
16095
lt_prog_compiler_wl_F77 \
16096
lt_prog_compiler_pic_F77 \
16097
lt_prog_compiler_static_F77 \
16098
lt_prog_compiler_no_builtin_flag_F77 \
16099
export_dynamic_flag_spec_F77 \
16100
thread_safe_flag_spec_F77 \
16101
whole_archive_flag_spec_F77 \
16102
enable_shared_with_static_runtimes_F77 \
16103
old_archive_cmds_F77 \
16104
old_archive_from_new_cmds_F77 \
16105
predep_objects_F77 \
16106
postdep_objects_F77 \
16109
compiler_lib_search_path_F77 \
16111
archive_expsym_cmds_F77 \
16112
postinstall_cmds_F77 \
16113
postuninstall_cmds_F77 \
16114
old_archive_from_expsyms_cmds_F77 \
16115
allow_undefined_flag_F77 \
16116
no_undefined_flag_F77 \
16117
export_symbols_cmds_F77 \
16118
hardcode_libdir_flag_spec_F77 \
16119
hardcode_libdir_flag_spec_ld_F77 \
16120
hardcode_libdir_separator_F77 \
16121
hardcode_automatic_F77 \
16123
module_expsym_cmds_F77 \
16124
lt_cv_prog_compiler_c_o_F77 \
16125
exclude_expsyms_F77 \
16126
include_expsyms_F77; do
16129
old_archive_cmds_F77 | \
16130
old_archive_from_new_cmds_F77 | \
16131
archive_cmds_F77 | \
16132
archive_expsym_cmds_F77 | \
16133
module_cmds_F77 | \
16134
module_expsym_cmds_F77 | \
16135
old_archive_from_expsyms_cmds_F77 | \
16136
export_symbols_cmds_F77 | \
16137
extract_expsyms_cmds | reload_cmds | finish_cmds | \
16138
postinstall_cmds | postuninstall_cmds | \
16139
old_postinstall_cmds | old_postuninstall_cmds | \
16140
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
16141
# Double-quote double-evaled strings.
16142
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
16145
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
16151
*'\$0 --fallback-echo"')
16152
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
16158
cat <<__EOF__ >> "$cfgfile"
16159
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
16161
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16163
# Shell to use when invoking shell scripts.
16166
# Whether or not to build shared libraries.
16167
build_libtool_libs=$enable_shared
16169
# Whether or not to build static libraries.
16170
build_old_libs=$enable_static
16172
# Whether or not to add -lc for building shared libraries.
16173
build_libtool_need_lc=$archive_cmds_need_lc_F77
16175
# Whether or not to disallow shared libs when runtime libs are static
16176
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
16178
# Whether or not to optimize for fast installation.
16179
fast_install=$enable_fast_install
16182
host_alias=$host_alias
16186
# The build system.
16187
build_alias=$build_alias
16191
# An echo program that does not interpret backslashes.
16196
AR_FLAGS=$lt_AR_FLAGS
16201
# LTCC compiler flags.
16202
LTCFLAGS=$lt_LTCFLAGS
16204
# A language-specific compiler.
16205
CC=$lt_compiler_F77
16207
# Is the compiler the GNU C compiler?
16213
# The linker used to build libraries.
16216
# Whether we need hard or soft links.
16219
# A BSD-compatible nm program.
16222
# A symbol stripping program
16225
# Used to examine libraries when file_magic_cmd begins "file"
16226
MAGIC_CMD=$MAGIC_CMD
16228
# Used on cygwin: DLL creation program.
16231
# Used on cygwin: object dumper.
16234
# Used on cygwin: assembler.
16237
# The name of the directory that contains temporary libtool files.
16240
# How to create reloadable object files.
16241
reload_flag=$lt_reload_flag
16242
reload_cmds=$lt_reload_cmds
16244
# How to pass a linker flag through the compiler.
16245
wl=$lt_lt_prog_compiler_wl_F77
16247
# Object file suffix (normally "o").
16248
objext="$ac_objext"
16250
# Old archive suffix (normally "a").
16253
# Shared library suffix (normally ".so").
16254
shrext_cmds='$shrext_cmds'
16256
# Executable file suffix (normally "").
16259
# Additional compiler flags for building library objects.
16260
pic_flag=$lt_lt_prog_compiler_pic_F77
16263
# What is the maximum length of a command?
16264
max_cmd_len=$lt_cv_sys_max_cmd_len
16266
# Does compiler simultaneously support -c and -o options?
16267
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
16269
# Must we lock files when doing compilation?
16270
need_locks=$lt_need_locks
16272
# Do we need the lib prefix for modules?
16273
need_lib_prefix=$need_lib_prefix
16275
# Do we need a version for libraries?
16276
need_version=$need_version
16278
# Whether dlopen is supported.
16279
dlopen_support=$enable_dlopen
16281
# Whether dlopen of programs is supported.
16282
dlopen_self=$enable_dlopen_self
16284
# Whether dlopen of statically linked programs is supported.
16285
dlopen_self_static=$enable_dlopen_self_static
16287
# Compiler flag to prevent dynamic linking.
16288
link_static_flag=$lt_lt_prog_compiler_static_F77
16290
# Compiler flag to turn off builtin functions.
16291
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
16293
# Compiler flag to allow reflexive dlopens.
16294
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
16296
# Compiler flag to generate shared objects directly from archives.
16297
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
16299
# Compiler flag to generate thread-safe objects.
16300
thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
16302
# Library versioning type.
16303
version_type=$version_type
16305
# Format of library name prefix.
16306
libname_spec=$lt_libname_spec
16308
# List of archive names. First name is the real one, the rest are links.
16309
# The last name is the one that the linker finds with -lNAME.
16310
library_names_spec=$lt_library_names_spec
16312
# The coded name of the library, if different from the real name.
16313
soname_spec=$lt_soname_spec
16315
# Commands used to build and install an old-style archive.
16317
old_archive_cmds=$lt_old_archive_cmds_F77
16318
old_postinstall_cmds=$lt_old_postinstall_cmds
16319
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16321
# Create an old-style archive from a shared archive.
16322
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
16324
# Create a temporary old-style archive to link instead of a shared archive.
16325
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
16327
# Commands used to build and install a shared archive.
16328
archive_cmds=$lt_archive_cmds_F77
16329
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
16330
postinstall_cmds=$lt_postinstall_cmds
16331
postuninstall_cmds=$lt_postuninstall_cmds
16333
# Commands used to build a loadable module (assumed same as above if empty)
16334
module_cmds=$lt_module_cmds_F77
16335
module_expsym_cmds=$lt_module_expsym_cmds_F77
16337
# Commands to strip libraries.
16338
old_striplib=$lt_old_striplib
16339
striplib=$lt_striplib
16341
# Dependencies to place before the objects being linked to create a
16343
predep_objects=$lt_predep_objects_F77
16345
# Dependencies to place after the objects being linked to create a
16347
postdep_objects=$lt_postdep_objects_F77
16349
# Dependencies to place before the objects being linked to create a
16351
predeps=$lt_predeps_F77
16353
# Dependencies to place after the objects being linked to create a
16355
postdeps=$lt_postdeps_F77
16357
# The library search path used internally by the compiler when linking
16358
# a shared library.
16359
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
16361
# Method to check whether dependent libraries are shared objects.
16362
deplibs_check_method=$lt_deplibs_check_method
16364
# Command to use when deplibs_check_method == file_magic.
16365
file_magic_cmd=$lt_file_magic_cmd
16367
# Flag that allows shared libraries with undefined symbols to be built.
16368
allow_undefined_flag=$lt_allow_undefined_flag_F77
16370
# Flag that forces no undefined symbols.
16371
no_undefined_flag=$lt_no_undefined_flag_F77
16373
# Commands used to finish a libtool library installation in a directory.
16374
finish_cmds=$lt_finish_cmds
16376
# Same as above, but a single script fragment to be evaled but not shown.
16377
finish_eval=$lt_finish_eval
16379
# Take the output of nm and produce a listing of raw symbols and C names.
16380
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16382
# Transform the output of nm in a proper C declaration
16383
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16385
# Transform the output of nm in a C name address pair
16386
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16388
# This is the shared library runtime path variable.
16389
runpath_var=$runpath_var
16391
# This is the shared library path variable.
16392
shlibpath_var=$shlibpath_var
16394
# Is shlibpath searched before the hard-coded library search path?
16395
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16397
# How to hardcode a shared library path into an executable.
16398
hardcode_action=$hardcode_action_F77
16400
# Whether we should hardcode library paths into libraries.
16401
hardcode_into_libs=$hardcode_into_libs
16403
# Flag to hardcode \$libdir into a binary during linking.
16404
# This must work even if \$libdir does not exist.
16405
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
16407
# If ld is used when linking, flag to hardcode \$libdir into
16408
# a binary during linking. This must work even if \$libdir does
16410
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
16412
# Whether we need a single -rpath flag with a separated argument.
16413
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
16415
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
16416
# resulting binary.
16417
hardcode_direct=$hardcode_direct_F77
16419
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
16420
# resulting binary.
16421
hardcode_minus_L=$hardcode_minus_L_F77
16423
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
16424
# the resulting binary.
16425
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
16427
# Set to yes if building a shared library automatically hardcodes DIR into the library
16428
# and all subsequent libraries and executables linked against it.
16429
hardcode_automatic=$hardcode_automatic_F77
16431
# Variables whose values should be saved in libtool wrapper scripts and
16432
# restored at relink time.
16433
variables_saved_for_relink="$variables_saved_for_relink"
16435
# Whether libtool must link a program against all its dependency libraries.
16436
link_all_deplibs=$link_all_deplibs_F77
16438
# Compile-time system search path for libraries
16439
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16441
# Run-time system search path for libraries
16442
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16444
# Fix the shell variable \$srcfile for the compiler.
16445
fix_srcfile_path="$fix_srcfile_path_F77"
16447
# Set to yes if exported symbols are required.
16448
always_export_symbols=$always_export_symbols_F77
16450
# The commands to list exported symbols.
16451
export_symbols_cmds=$lt_export_symbols_cmds_F77
16453
# The commands to extract the exported symbol list from a shared archive.
16454
extract_expsyms_cmds=$lt_extract_expsyms_cmds
16456
# Symbols that should not be listed in the preloaded symbols.
16457
exclude_expsyms=$lt_exclude_expsyms_F77
16459
# Symbols that must always be exported.
16460
include_expsyms=$lt_include_expsyms_F77
16462
# ### END LIBTOOL TAG CONFIG: $tagname
16468
# If there is no Makefile yet, we rely on a make rule to execute
16469
# `config.status --recheck' to rerun these tests and create the
16470
# libtool script then.
16471
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
16472
if test -f "$ltmain_in"; then
16473
test -f Makefile && make "$ltmain"
16479
ac_cpp='$CPP $CPPFLAGS'
16480
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16481
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16482
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16492
if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
16495
# Source file extension for Java test sources.
16498
# Object file extension for compiled Java test sources.
16502
# Code to be used in simple compile tests
16503
lt_simple_compile_test_code="class foo {}\n"
16505
# Code to be used in simple link tests
16506
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
16508
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16510
# If no C compiler was specified, use CC.
16513
# If no C compiler flags were specified, use CFLAGS.
16514
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16516
# Allow CC to be a program name with arguments.
16520
# save warnings/boilerplate of simple test code
16521
ac_outfile=conftest.$ac_objext
16522
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
16523
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16524
_lt_compiler_boilerplate=`cat conftest.err`
16527
ac_outfile=conftest.$ac_objext
16528
printf "$lt_simple_link_test_code" >conftest.$ac_ext
16529
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16530
_lt_linker_boilerplate=`cat conftest.err`
16534
# Allow CC to be a program name with arguments.
16539
for cc_temp in $compiler""; do
16541
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16542
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16547
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
16550
# GCJ did not exist at the time GCC didn't implicitly link libc in.
16551
archive_cmds_need_lc_GCJ=no
16553
old_archive_cmds_GCJ=$old_archive_cmds
16556
lt_prog_compiler_no_builtin_flag_GCJ=
16558
if test "$GCC" = yes; then
16559
lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
16562
{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
16563
echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
16564
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
16565
echo $ECHO_N "(cached) $ECHO_C" >&6
16567
lt_cv_prog_compiler_rtti_exceptions=no
16568
ac_outfile=conftest.$ac_objext
16569
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16570
lt_compiler_flag="-fno-rtti -fno-exceptions"
16571
# Insert the option either (1) after the last *FLAGS variable, or
16572
# (2) before a word containing "conftest.", or (3) at the end.
16573
# Note that $ac_compile itself does not contain backslashes and begins
16574
# with a dollar sign (not a hyphen), so the echo should work correctly.
16575
# The option is referenced via a variable to avoid confusing sed.
16576
lt_compile=`echo "$ac_compile" | $SED \
16577
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16578
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16579
-e 's:$: $lt_compiler_flag:'`
16580
(eval echo "\"\$as_me:16580: $lt_compile\"" >&5)
16581
(eval "$lt_compile" 2>conftest.err)
16583
cat conftest.err >&5
16584
echo "$as_me:16584: \$? = $ac_status" >&5
16585
if (exit $ac_status) && test -s "$ac_outfile"; then
16586
# The compiler can only warn and ignore the option if not recognized
16587
# So say no if there are warnings other than the usual output.
16588
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16589
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16590
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16591
lt_cv_prog_compiler_rtti_exceptions=yes
16597
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
16598
echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
16600
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
16601
lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
16608
lt_prog_compiler_wl_GCJ=
16609
lt_prog_compiler_pic_GCJ=
16610
lt_prog_compiler_static_GCJ=
16612
{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
16613
echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
16615
if test "$GCC" = yes; then
16616
lt_prog_compiler_wl_GCJ='-Wl,'
16617
lt_prog_compiler_static_GCJ='-static'
16621
# All AIX code is PIC.
16622
if test "$host_cpu" = ia64; then
16623
# AIX 5 now supports IA64 processor
16624
lt_prog_compiler_static_GCJ='-Bstatic'
16629
# FIXME: we need at least 68020 code to build shared libraries, but
16630
# adding the `-m68020' flag to GCC prevents building anything better,
16632
lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16635
beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16636
# PIC is the default for these OSes.
16639
mingw* | pw32* | os2*)
16640
# This hack is so that the source file can tell whether it is being
16641
# built for inclusion in a dll (and should export symbols for example).
16642
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16645
darwin* | rhapsody*)
16646
# PIC is the default on this platform
16647
# Common symbols not allowed in MH_DYLIB files
16648
lt_prog_compiler_pic_GCJ='-fno-common'
16652
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
16653
# Instead, we relocate shared libraries at runtime.
16657
# Just because we use GCC doesn't mean we suddenly get shared libraries
16658
# on systems that don't support them.
16659
lt_prog_compiler_can_build_shared_GCJ=no
16664
if test -d /usr/nec; then
16665
lt_prog_compiler_pic_GCJ=-Kconform_pic
16670
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16671
# not for PA HP-UX.
16677
lt_prog_compiler_pic_GCJ='-fPIC'
16683
lt_prog_compiler_pic_GCJ='-fPIC'
16687
# PORTME Check for flag to pass linker flags through the system compiler.
16690
lt_prog_compiler_wl_GCJ='-Wl,'
16691
if test "$host_cpu" = ia64; then
16692
# AIX 5 now supports IA64 processor
16693
lt_prog_compiler_static_GCJ='-Bstatic'
16695
lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
16699
# PIC is the default on this platform
16700
# Common symbols not allowed in MH_DYLIB files
16701
case $cc_basename in
16703
lt_prog_compiler_pic_GCJ='-qnocommon'
16704
lt_prog_compiler_wl_GCJ='-Wl,'
16709
mingw* | pw32* | os2*)
16710
# This hack is so that the source file can tell whether it is being
16711
# built for inclusion in a dll (and should export symbols for example).
16712
lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16715
hpux9* | hpux10* | hpux11*)
16716
lt_prog_compiler_wl_GCJ='-Wl,'
16717
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16718
# not for PA HP-UX.
16724
lt_prog_compiler_pic_GCJ='+Z'
16727
# Is there a better lt_prog_compiler_static that works with the bundled CC?
16728
lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
16731
irix5* | irix6* | nonstopux*)
16732
lt_prog_compiler_wl_GCJ='-Wl,'
16733
# PIC (with -KPIC) is the default.
16734
lt_prog_compiler_static_GCJ='-non_shared'
16738
lt_prog_compiler_pic_GCJ='-KPIC'
16739
lt_prog_compiler_static_GCJ='-Bstatic'
16743
case $cc_basename in
16745
lt_prog_compiler_wl_GCJ='-Wl,'
16746
lt_prog_compiler_pic_GCJ='-KPIC'
16747
lt_prog_compiler_static_GCJ='-static'
16749
pgcc* | pgf77* | pgf90* | pgf95*)
16750
# Portland Group compilers (*not* the Pentium gcc compiler,
16751
# which looks to be a dead project)
16752
lt_prog_compiler_wl_GCJ='-Wl,'
16753
lt_prog_compiler_pic_GCJ='-fpic'
16754
lt_prog_compiler_static_GCJ='-Bstatic'
16757
lt_prog_compiler_wl_GCJ='-Wl,'
16758
# All Alpha code is PIC.
16759
lt_prog_compiler_static_GCJ='-non_shared'
16764
osf3* | osf4* | osf5*)
16765
lt_prog_compiler_wl_GCJ='-Wl,'
16766
# All OSF/1 code is PIC.
16767
lt_prog_compiler_static_GCJ='-non_shared'
16771
lt_prog_compiler_pic_GCJ='-KPIC'
16772
lt_prog_compiler_static_GCJ='-Bstatic'
16773
case $cc_basename in
16774
f77* | f90* | f95*)
16775
lt_prog_compiler_wl_GCJ='-Qoption ld ';;
16777
lt_prog_compiler_wl_GCJ='-Wl,';;
16782
lt_prog_compiler_wl_GCJ='-Qoption ld '
16783
lt_prog_compiler_pic_GCJ='-PIC'
16784
lt_prog_compiler_static_GCJ='-Bstatic'
16787
sysv4 | sysv4.2uw2* | sysv4.3*)
16788
lt_prog_compiler_wl_GCJ='-Wl,'
16789
lt_prog_compiler_pic_GCJ='-KPIC'
16790
lt_prog_compiler_static_GCJ='-Bstatic'
16794
if test -d /usr/nec ;then
16795
lt_prog_compiler_pic_GCJ='-Kconform_pic'
16796
lt_prog_compiler_static_GCJ='-Bstatic'
16800
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16801
lt_prog_compiler_wl_GCJ='-Wl,'
16802
lt_prog_compiler_pic_GCJ='-KPIC'
16803
lt_prog_compiler_static_GCJ='-Bstatic'
16807
lt_prog_compiler_wl_GCJ='-Wl,'
16808
lt_prog_compiler_can_build_shared_GCJ=no
16812
lt_prog_compiler_pic_GCJ='-pic'
16813
lt_prog_compiler_static_GCJ='-Bstatic'
16817
lt_prog_compiler_can_build_shared_GCJ=no
16822
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
16823
echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; }
16826
# Check to make sure the PIC flag actually works.
16828
if test -n "$lt_prog_compiler_pic_GCJ"; then
16830
{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
16831
echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; }
16832
if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
16833
echo $ECHO_N "(cached) $ECHO_C" >&6
16835
lt_prog_compiler_pic_works_GCJ=no
16836
ac_outfile=conftest.$ac_objext
16837
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16838
lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16839
# Insert the option either (1) after the last *FLAGS variable, or
16840
# (2) before a word containing "conftest.", or (3) at the end.
16841
# Note that $ac_compile itself does not contain backslashes and begins
16842
# with a dollar sign (not a hyphen), so the echo should work correctly.
16843
# The option is referenced via a variable to avoid confusing sed.
16844
lt_compile=`echo "$ac_compile" | $SED \
16845
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16846
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16847
-e 's:$: $lt_compiler_flag:'`
16848
(eval echo "\"\$as_me:16848: $lt_compile\"" >&5)
16849
(eval "$lt_compile" 2>conftest.err)
16851
cat conftest.err >&5
16852
echo "$as_me:16852: \$? = $ac_status" >&5
16853
if (exit $ac_status) && test -s "$ac_outfile"; then
16854
# The compiler can only warn and ignore the option if not recognized
16855
# So say no if there are warnings other than the usual output.
16856
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16857
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16858
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16859
lt_prog_compiler_pic_works_GCJ=yes
16865
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
16866
echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; }
16868
if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
16869
case $lt_prog_compiler_pic_GCJ in
16871
*) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
16874
lt_prog_compiler_pic_GCJ=
16875
lt_prog_compiler_can_build_shared_GCJ=no
16880
# For platforms which do not support PIC, -DPIC is meaningless:
16882
lt_prog_compiler_pic_GCJ=
16885
lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
16890
# Check to make sure the static flag actually works.
16892
wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
16893
{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16894
echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
16895
if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then
16896
echo $ECHO_N "(cached) $ECHO_C" >&6
16898
lt_prog_compiler_static_works_GCJ=no
16899
save_LDFLAGS="$LDFLAGS"
16900
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16901
printf "$lt_simple_link_test_code" > conftest.$ac_ext
16902
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16903
# The linker can only warn and ignore the option if not recognized
16904
# So say no if there are warnings
16905
if test -s conftest.err; then
16906
# Append any errors to the config.log.
16907
cat conftest.err 1>&5
16908
$echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16909
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16910
if diff conftest.exp conftest.er2 >/dev/null; then
16911
lt_prog_compiler_static_works_GCJ=yes
16914
lt_prog_compiler_static_works_GCJ=yes
16918
LDFLAGS="$save_LDFLAGS"
16921
{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5
16922
echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; }
16924
if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then
16927
lt_prog_compiler_static_GCJ=
16931
{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
16932
echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
16933
if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
16934
echo $ECHO_N "(cached) $ECHO_C" >&6
16936
lt_cv_prog_compiler_c_o_GCJ=no
16937
$rm -r conftest 2>/dev/null
16941
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16943
lt_compiler_flag="-o out/conftest2.$ac_objext"
16944
# Insert the option either (1) after the last *FLAGS variable, or
16945
# (2) before a word containing "conftest.", or (3) at the end.
16946
# Note that $ac_compile itself does not contain backslashes and begins
16947
# with a dollar sign (not a hyphen), so the echo should work correctly.
16948
lt_compile=`echo "$ac_compile" | $SED \
16949
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16950
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16951
-e 's:$: $lt_compiler_flag:'`
16952
(eval echo "\"\$as_me:16952: $lt_compile\"" >&5)
16953
(eval "$lt_compile" 2>out/conftest.err)
16955
cat out/conftest.err >&5
16956
echo "$as_me:16956: \$? = $ac_status" >&5
16957
if (exit $ac_status) && test -s out/conftest2.$ac_objext
16959
# The compiler can only warn and ignore the option if not recognized
16960
# So say no if there are warnings
16961
$echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16962
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16963
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16964
lt_cv_prog_compiler_c_o_GCJ=yes
16969
# SGI C++ compiler will create directory out/ii_files/ for
16970
# template instantiation
16971
test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
16972
$rm out/* && rmdir out
16978
{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
16979
echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; }
16982
hard_links="nottested"
16983
if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
16984
# do not overwrite the value of need_locks provided by the user
16985
{ echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
16986
echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
16989
ln conftest.a conftest.b 2>/dev/null && hard_links=no
16991
ln conftest.a conftest.b 2>&5 || hard_links=no
16992
ln conftest.a conftest.b 2>/dev/null && hard_links=no
16993
{ echo "$as_me:$LINENO: result: $hard_links" >&5
16994
echo "${ECHO_T}$hard_links" >&6; }
16995
if test "$hard_links" = no; then
16996
{ echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16997
echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
17004
{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17005
echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
17008
allow_undefined_flag_GCJ=
17009
enable_shared_with_static_runtimes_GCJ=no
17011
archive_expsym_cmds_GCJ=
17012
old_archive_From_new_cmds_GCJ=
17013
old_archive_from_expsyms_cmds_GCJ=
17014
export_dynamic_flag_spec_GCJ=
17015
whole_archive_flag_spec_GCJ=
17016
thread_safe_flag_spec_GCJ=
17017
hardcode_libdir_flag_spec_GCJ=
17018
hardcode_libdir_flag_spec_ld_GCJ=
17019
hardcode_libdir_separator_GCJ=
17020
hardcode_direct_GCJ=no
17021
hardcode_minus_L_GCJ=no
17022
hardcode_shlibpath_var_GCJ=unsupported
17023
link_all_deplibs_GCJ=unknown
17024
hardcode_automatic_GCJ=no
17026
module_expsym_cmds_GCJ=
17027
always_export_symbols_GCJ=no
17028
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17029
# include_expsyms should be a list of space-separated symbols to be *always*
17030
# included in the symbol list
17031
include_expsyms_GCJ=
17032
# exclude_expsyms can be an extended regexp of symbols to exclude
17033
# it will be wrapped by ` (' and `)$', so one must not match beginning or
17034
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
17035
# as well as any symbol that contains `d'.
17036
exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
17037
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
17038
# platforms (ab)use it in PIC code, but their linkers get confused if
17039
# the symbol is explicitly referenced. Since portable code cannot
17040
# rely on this symbol name, it's probably fine to never include it in
17041
# preloaded symbol tables.
17042
extract_expsyms_cmds=
17043
# Just being paranoid about ensuring that cc_basename is set.
17044
for cc_temp in $compiler""; do
17046
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17047
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17052
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
17055
cygwin* | mingw* | pw32*)
17056
# FIXME: the MSVC++ port hasn't been tested in a loooong time
17057
# When not using gcc, we currently assume that we are using
17058
# Microsoft Visual C++.
17059
if test "$GCC" != yes; then
17064
# we just hope/assume this is gcc and not c89 (= MSVC++)
17073
if test "$with_gnu_ld" = yes; then
17074
# If archive_cmds runs LD, not CC, wlarc should be empty
17077
# Set some defaults for GNU ld with shared library support. These
17078
# are reset later if shared libraries are not supported. Putting them
17079
# here allows them to be overridden if necessary.
17080
runpath_var=LD_RUN_PATH
17081
hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
17082
export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
17083
# ancient GNU ld didn't support --whole-archive et. al.
17084
if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
17085
whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
17087
whole_archive_flag_spec_GCJ=
17089
supports_anon_versioning=no
17090
case `$LD -v 2>/dev/null` in
17091
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
17092
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
17093
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
17094
*\ 2.11.*) ;; # other 2.11 versions
17095
*) supports_anon_versioning=yes ;;
17098
# See if GNU ld supports shared libraries.
17100
aix3* | aix4* | aix5*)
17101
# On AIX/PPC, the GNU linker is very broken
17102
if test "$host_cpu" != ia64; then
17106
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
17107
*** to be unable to reliably create shared libraries on AIX.
17108
*** Therefore, libtool is disabling shared libraries support. If you
17109
*** really care for shared libraries, you may want to modify your PATH
17110
*** so that a non-GNU linker is found, and then restart.
17117
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)'
17118
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17119
hardcode_minus_L_GCJ=yes
17121
# Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
17122
# that the semantics of dynamic libraries on AmigaOS, at least up
17123
# to version 4, is to share data among multiple programs linked
17124
# with the same dynamic library. Since this doesn't match the
17125
# behavior of shared libraries on other platforms, we can't use
17131
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17132
allow_undefined_flag_GCJ=unsupported
17133
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
17134
# support --undefined. This deserves some investigation. FIXME
17135
archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17141
cygwin* | mingw* | pw32*)
17142
# _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
17143
# as there is no search path for DLLs.
17144
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17145
allow_undefined_flag_GCJ=unsupported
17146
always_export_symbols_GCJ=no
17147
enable_shared_with_static_runtimes_GCJ=yes
17148
export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
17150
if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17151
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17152
# If the export-symbols file already is a .def file (1st line
17153
# is EXPORTS), use it as is; otherwise, prepend...
17154
archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17155
cp $export_symbols $output_objdir/$soname.def;
17157
echo EXPORTS > $output_objdir/$soname.def;
17158
cat $export_symbols >> $output_objdir/$soname.def;
17160
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17167
hardcode_direct_GCJ=no
17168
hardcode_shlibpath_var_GCJ=no
17169
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17170
export_dynamic_flag_spec_GCJ='${wl}-E'
17171
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
17172
# Instead, shared libraries are loaded at an image base (0x10000000 by
17173
# default) and relocated if they conflict, which is a slow very memory
17174
# consuming and fragmenting process. To avoid this, we pick a random,
17175
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
17176
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
17177
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'
17178
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'
17182
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17184
case $cc_basename,$host_cpu in
17185
pgcc*) # Portland Group C compiler
17186
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'
17187
tmp_addflag=' $pic_flag'
17189
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
17190
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'
17191
tmp_addflag=' $pic_flag -Mnomain' ;;
17192
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
17193
tmp_addflag=' -i_dynamic' ;;
17194
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
17195
tmp_addflag=' -i_dynamic -nofor_main' ;;
17196
ifc* | ifort*) # Intel Fortran compiler
17197
tmp_addflag=' -nofor_main' ;;
17199
archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17201
if test $supports_anon_versioning = yes; then
17202
archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17203
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17204
$echo "local: *; };" >> $output_objdir/$libname.ver~
17205
$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17213
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17214
archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17217
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17218
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17223
if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
17227
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17228
*** create shared libraries on Solaris systems. Therefore, libtool
17229
*** is disabling shared libraries support. We urge you to upgrade GNU
17230
*** binutils to release 2.9.1 or newer. Another option is to modify
17231
*** your PATH or compiler configuration so that the native linker is
17232
*** used, and then restart.
17235
elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17236
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17237
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17243
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17244
case `$LD -v 2>&1` in
17245
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17249
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17250
*** reliably create shared libraries on SCO systems. Therefore, libtool
17251
*** is disabling shared libraries support. We urge you to upgrade GNU
17252
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17253
*** your PATH or compiler configuration so that the native linker is
17254
*** used, and then restart.
17259
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17260
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
17261
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
17262
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
17271
archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17273
hardcode_direct_GCJ=yes
17274
hardcode_shlibpath_var_GCJ=no
17278
if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17279
archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17280
archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17287
if test "$ld_shlibs_GCJ" = no; then
17289
hardcode_libdir_flag_spec_GCJ=
17290
export_dynamic_flag_spec_GCJ=
17291
whole_archive_flag_spec_GCJ=
17294
# PORTME fill in a description of your system's linker (not GNU ld)
17297
allow_undefined_flag_GCJ=unsupported
17298
always_export_symbols_GCJ=yes
17299
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'
17300
# Note: this linker hardcodes the directories in LIBPATH if there
17301
# are no directories specified by -L.
17302
hardcode_minus_L_GCJ=yes
17303
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17304
# Neither direct hardcoding nor static linking is supported with a
17306
hardcode_direct_GCJ=unsupported
17311
if test "$host_cpu" = ia64; then
17312
# On IA64, the linker does run time linking by default, so we don't
17313
# have to do anything special.
17314
aix_use_runtimelinking=no
17315
exp_sym_flag='-Bexport'
17318
# If we're using GNU nm, then we don't want the "-C" option.
17319
# -C means demangle to AIX nm, but means don't demangle with GNU nm
17320
if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
17321
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'
17323
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'
17325
aix_use_runtimelinking=no
17327
# Test if we are trying to use run time linking or normal
17328
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
17329
# need to do runtime linking.
17330
case $host_os in aix4.[23]|aix4.[23].*|aix5*)
17331
for ld_flag in $LDFLAGS; do
17332
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17333
aix_use_runtimelinking=yes
17340
exp_sym_flag='-bexport'
17341
no_entry_flag='-bnoentry'
17344
# When large executables or shared objects are built, AIX ld can
17345
# have problems creating the table of contents. If linking a library
17346
# or program results in "error TOC overflow" add -mminimal-toc to
17347
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17348
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17350
archive_cmds_GCJ=''
17351
hardcode_direct_GCJ=yes
17352
hardcode_libdir_separator_GCJ=':'
17353
link_all_deplibs_GCJ=yes
17355
if test "$GCC" = yes; then
17356
case $host_os in aix4.[012]|aix4.[012].*)
17357
# We only want to do this on AIX 4.2 and lower, the check
17358
# below for broken collect2 doesn't work under 4.3+
17359
collect2name=`${CC} -print-prog-name=collect2`
17360
if test -f "$collect2name" && \
17361
strings "$collect2name" | grep resolve_lib_name >/dev/null
17363
# We have reworked collect2
17364
hardcode_direct_GCJ=yes
17366
# We have old collect2
17367
hardcode_direct_GCJ=unsupported
17368
# It fails to find uninstalled libraries when the uninstalled
17369
# path is not listed in the libpath. Setting hardcode_minus_L
17370
# to unsupported forces relinking
17371
hardcode_minus_L_GCJ=yes
17372
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17373
hardcode_libdir_separator_GCJ=
17377
shared_flag='-shared'
17378
if test "$aix_use_runtimelinking" = yes; then
17379
shared_flag="$shared_flag "'${wl}-G'
17383
if test "$host_cpu" = ia64; then
17384
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17385
# chokes on -Wl,-G. The following line is correct:
17388
if test "$aix_use_runtimelinking" = yes; then
17389
shared_flag='${wl}-G'
17391
shared_flag='${wl}-bM:SRE'
17396
# It seems that -bexpall does not export symbols beginning with
17397
# underscore (_), so it is better to generate a list of symbols to export.
17398
always_export_symbols_GCJ=yes
17399
if test "$aix_use_runtimelinking" = yes; then
17400
# Warning - without using the other runtime loading flags (-brtl),
17401
# -berok will link without error, but may produce a broken library.
17402
allow_undefined_flag_GCJ='-berok'
17403
# Determine the default libpath from the value encoded in an empty executable.
17404
cat >conftest.$ac_ext <<_ACEOF
17407
cat confdefs.h >>conftest.$ac_ext
17408
cat >>conftest.$ac_ext <<_ACEOF
17409
/* end confdefs.h. */
17419
rm -f conftest.$ac_objext conftest$ac_exeext
17420
if { (ac_try="$ac_link"
17421
case "(($ac_try" in
17422
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17423
*) ac_try_echo=$ac_try;;
17425
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17426
(eval "$ac_link") 2>conftest.er1
17428
grep -v '^ *+' conftest.er1 >conftest.err
17430
cat conftest.err >&5
17431
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17432
(exit $ac_status); } && {
17433
test -z "$ac_c_werror_flag" ||
17434
test ! -s conftest.err
17435
} && test -s conftest$ac_exeext &&
17436
$as_test_x conftest$ac_exeext; then
17438
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17440
# Check for a 64-bit object if we didn't find anything.
17441
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17444
echo "$as_me: failed program was:" >&5
17445
sed 's/^/| /' conftest.$ac_ext >&5
17450
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17451
conftest$ac_exeext conftest.$ac_ext
17452
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17454
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17455
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"
17457
if test "$host_cpu" = ia64; then
17458
hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
17459
allow_undefined_flag_GCJ="-z nodefs"
17460
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"
17462
# Determine the default libpath from the value encoded in an empty executable.
17463
cat >conftest.$ac_ext <<_ACEOF
17466
cat confdefs.h >>conftest.$ac_ext
17467
cat >>conftest.$ac_ext <<_ACEOF
17468
/* end confdefs.h. */
17478
rm -f conftest.$ac_objext conftest$ac_exeext
17479
if { (ac_try="$ac_link"
17480
case "(($ac_try" in
17481
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17482
*) ac_try_echo=$ac_try;;
17484
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17485
(eval "$ac_link") 2>conftest.er1
17487
grep -v '^ *+' conftest.er1 >conftest.err
17489
cat conftest.err >&5
17490
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17491
(exit $ac_status); } && {
17492
test -z "$ac_c_werror_flag" ||
17493
test ! -s conftest.err
17494
} && test -s conftest$ac_exeext &&
17495
$as_test_x conftest$ac_exeext; then
17497
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17499
# Check for a 64-bit object if we didn't find anything.
17500
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
17503
echo "$as_me: failed program was:" >&5
17504
sed 's/^/| /' conftest.$ac_ext >&5
17509
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17510
conftest$ac_exeext conftest.$ac_ext
17511
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
17513
hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
17514
# Warning - without using the other run time loading flags,
17515
# -berok will link without error, but may produce a broken library.
17516
no_undefined_flag_GCJ=' ${wl}-bernotok'
17517
allow_undefined_flag_GCJ=' ${wl}-berok'
17518
# Exported symbols can be pulled into shared objects from archives
17519
whole_archive_flag_spec_GCJ='$convenience'
17520
archive_cmds_need_lc_GCJ=yes
17521
# This is similar to how AIX traditionally builds its shared libraries.
17522
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'
17528
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)'
17529
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17530
hardcode_minus_L_GCJ=yes
17531
# see comment about different semantics on the GNU ld section
17536
export_dynamic_flag_spec_GCJ=-rdynamic
17539
cygwin* | mingw* | pw32*)
17540
# When not using gcc, we currently assume that we are using
17541
# Microsoft Visual C++.
17542
# hardcode_libdir_flag_spec is actually meaningless, as there is
17543
# no search path for DLLs.
17544
hardcode_libdir_flag_spec_GCJ=' '
17545
allow_undefined_flag_GCJ=unsupported
17546
# Tell ltmain to make .lib files, not .a files.
17548
# Tell ltmain to make .dll files, not .so files.
17550
# FIXME: Setting linknames here is a bad hack.
17551
archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
17552
# The linker will automatically build a .lib file if we build a DLL.
17553
old_archive_From_new_cmds_GCJ='true'
17554
# FIXME: Should let the user specify the lib program.
17555
old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
17556
fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17557
enable_shared_with_static_runtimes_GCJ=yes
17560
darwin* | rhapsody*)
17562
rhapsody* | darwin1.[012])
17563
allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
17566
if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
17567
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17569
case ${MACOSX_DEPLOYMENT_TARGET} in
17571
allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
17574
allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
17580
archive_cmds_need_lc_GCJ=no
17581
hardcode_direct_GCJ=no
17582
hardcode_automatic_GCJ=yes
17583
hardcode_shlibpath_var_GCJ=unsupported
17584
whole_archive_flag_spec_GCJ=''
17585
link_all_deplibs_GCJ=yes
17586
if test "$GCC" = yes ; then
17587
output_verbose_link_cmd='echo'
17588
archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
17589
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17590
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17591
archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17592
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}'
17594
case $cc_basename in
17596
output_verbose_link_cmd='echo'
17597
archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
17598
module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17599
# Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17600
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 $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17601
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}'
17611
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17612
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17613
hardcode_shlibpath_var_GCJ=no
17620
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17621
# support. Future versions do this automatically, but an explicit c++rt0.o
17622
# does not break anything, and helps significantly (at the cost of a little
17625
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17626
hardcode_libdir_flag_spec_GCJ='-R$libdir'
17627
hardcode_direct_GCJ=yes
17628
hardcode_shlibpath_var_GCJ=no
17631
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
17633
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17634
hardcode_direct_GCJ=yes
17635
hardcode_minus_L_GCJ=yes
17636
hardcode_shlibpath_var_GCJ=no
17639
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17640
freebsd* | kfreebsd*-gnu | dragonfly*)
17641
archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
17642
hardcode_libdir_flag_spec_GCJ='-R$libdir'
17643
hardcode_direct_GCJ=yes
17644
hardcode_shlibpath_var_GCJ=no
17648
if test "$GCC" = yes; then
17649
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'
17651
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'
17653
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17654
hardcode_libdir_separator_GCJ=:
17655
hardcode_direct_GCJ=yes
17657
# hardcode_minus_L: Not really in the search PATH,
17658
# but as the default location of the library.
17659
hardcode_minus_L_GCJ=yes
17660
export_dynamic_flag_spec_GCJ='${wl}-E'
17664
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17665
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17667
archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17669
if test "$with_gnu_ld" = no; then
17670
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17671
hardcode_libdir_separator_GCJ=:
17673
hardcode_direct_GCJ=yes
17674
export_dynamic_flag_spec_GCJ='${wl}-E'
17676
# hardcode_minus_L: Not really in the search PATH,
17677
# but as the default location of the library.
17678
hardcode_minus_L_GCJ=yes
17683
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
17686
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17689
archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17692
archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17698
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17701
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17704
archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17708
if test "$with_gnu_ld" = no; then
17709
hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
17710
hardcode_libdir_separator_GCJ=:
17714
hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
17715
hardcode_direct_GCJ=no
17716
hardcode_shlibpath_var_GCJ=no
17719
hardcode_direct_GCJ=yes
17720
export_dynamic_flag_spec_GCJ='${wl}-E'
17722
# hardcode_minus_L: Not really in the search PATH,
17723
# but as the default location of the library.
17724
hardcode_minus_L_GCJ=yes
17730
irix5* | irix6* | nonstopux*)
17731
if test "$GCC" = yes; then
17732
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'
17734
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'
17735
hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
17737
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17738
hardcode_libdir_separator_GCJ=:
17739
link_all_deplibs_GCJ=yes
17743
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
17744
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17746
archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17748
hardcode_libdir_flag_spec_GCJ='-R$libdir'
17749
hardcode_direct_GCJ=yes
17750
hardcode_shlibpath_var_GCJ=no
17754
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17755
hardcode_direct_GCJ=yes
17756
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17757
hardcode_libdir_separator_GCJ=:
17758
hardcode_shlibpath_var_GCJ=no
17762
hardcode_direct_GCJ=yes
17763
hardcode_shlibpath_var_GCJ=no
17764
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17765
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17766
archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17767
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17768
export_dynamic_flag_spec_GCJ='${wl}-E'
17771
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17772
archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17773
hardcode_libdir_flag_spec_GCJ='-R$libdir'
17776
archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17777
hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17784
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17785
hardcode_minus_L_GCJ=yes
17786
allow_undefined_flag_GCJ=unsupported
17787
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'
17788
old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17792
if test "$GCC" = yes; then
17793
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17794
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'
17796
allow_undefined_flag_GCJ=' -expect_unresolved \*'
17797
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'
17799
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17800
hardcode_libdir_separator_GCJ=:
17803
osf4* | osf5*) # as osf3* with the addition of -msym flag
17804
if test "$GCC" = yes; then
17805
allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
17806
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'
17807
hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
17809
allow_undefined_flag_GCJ=' -expect_unresolved \*'
17810
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'
17811
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~
17812
$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'
17814
# Both c and cxx compiler support -rpath directly
17815
hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
17817
hardcode_libdir_separator_GCJ=:
17821
no_undefined_flag_GCJ=' -z text'
17822
if test "$GCC" = yes; then
17824
archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17825
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17826
$CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
17829
archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17830
archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
17831
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
17833
hardcode_libdir_flag_spec_GCJ='-R$libdir'
17834
hardcode_shlibpath_var_GCJ=no
17836
solaris2.[0-5] | solaris2.[0-5].*) ;;
17838
# The compiler driver will combine linker options so we
17839
# cannot just pass the convience library names through
17840
# without $wl, iff we do not link with $LD.
17841
# Luckily, gcc supports the same syntax we need for Sun Studio.
17842
# Supported since Solaris 2.6 (maybe 2.5.1?)
17845
whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
17847
whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
17850
link_all_deplibs_GCJ=yes
17854
if test "x$host_vendor" = xsequent; then
17855
# Use $CC to link under sequent, because it throws in some extra .o
17856
# files that make .init and .fini sections work.
17857
archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17859
archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17861
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17862
hardcode_direct_GCJ=yes
17863
hardcode_minus_L_GCJ=yes
17864
hardcode_shlibpath_var_GCJ=no
17868
case $host_vendor in
17870
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17871
hardcode_direct_GCJ=yes # is this really true???
17874
## LD is ld it makes a PLAMLIB
17875
## CC just makes a GrossModule.
17876
archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17877
reload_cmds_GCJ='$CC -r -o $output$reload_objs'
17878
hardcode_direct_GCJ=no
17881
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17882
hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
17885
runpath_var='LD_RUN_PATH'
17886
hardcode_shlibpath_var_GCJ=no
17890
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17891
hardcode_shlibpath_var_GCJ=no
17892
export_dynamic_flag_spec_GCJ='-Bexport'
17896
if test -d /usr/nec; then
17897
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17898
hardcode_shlibpath_var_GCJ=no
17899
runpath_var=LD_RUN_PATH
17900
hardcode_runpath_var=yes
17905
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
17906
no_undefined_flag_GCJ='${wl}-z,text'
17907
archive_cmds_need_lc_GCJ=no
17908
hardcode_shlibpath_var_GCJ=no
17909
runpath_var='LD_RUN_PATH'
17911
if test "$GCC" = yes; then
17912
archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17913
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17915
archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17916
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17920
sysv5* | sco3.2v5* | sco5v6*)
17921
# Note: We can NOT use -z defs as we might desire, because we do not
17922
# link with -lc, and that would cause any symbols used from libc to
17923
# always be unresolved, which means just about no library would
17924
# ever link correctly. If we're not using GNU ld we use -z text
17925
# though, which does catch some bad symbols but isn't as heavy-handed
17927
no_undefined_flag_GCJ='${wl}-z,text'
17928
allow_undefined_flag_GCJ='${wl}-z,nodefs'
17929
archive_cmds_need_lc_GCJ=no
17930
hardcode_shlibpath_var_GCJ=no
17931
hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
17932
hardcode_libdir_separator_GCJ=':'
17933
link_all_deplibs_GCJ=yes
17934
export_dynamic_flag_spec_GCJ='${wl}-Bexport'
17935
runpath_var='LD_RUN_PATH'
17937
if test "$GCC" = yes; then
17938
archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17939
archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17941
archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17942
archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
17947
archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17948
hardcode_libdir_flag_spec_GCJ='-L$libdir'
17949
hardcode_shlibpath_var_GCJ=no
17958
{ echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
17959
echo "${ECHO_T}$ld_shlibs_GCJ" >&6; }
17960
test "$ld_shlibs_GCJ" = no && can_build_shared=no
17963
# Do we need to explicitly link libc?
17965
case "x$archive_cmds_need_lc_GCJ" in
17967
# Assume -lc should be added
17968
archive_cmds_need_lc_GCJ=yes
17970
if test "$enable_shared" = yes && test "$GCC" = yes; then
17971
case $archive_cmds_GCJ in
17973
# FIXME: we may have to deal with multi-command sequences.
17976
# Test whether the compiler implicitly links with -lc since on some
17977
# systems, -lgcc has to come before -lc. If gcc already passes -lc
17978
# to ld, don't add -lc before -lgcc.
17979
{ echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
17980
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
17982
printf "$lt_simple_compile_test_code" > conftest.$ac_ext
17984
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17985
(eval $ac_compile) 2>&5
17987
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988
(exit $ac_status); } 2>conftest.err; then
17991
libobjs=conftest.$ac_objext
17993
wl=$lt_prog_compiler_wl_GCJ
17994
pic_flag=$lt_prog_compiler_pic_GCJ
18000
lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
18001
allow_undefined_flag_GCJ=
18002
if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
18003
(eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
18005
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006
(exit $ac_status); }
18008
archive_cmds_need_lc_GCJ=no
18010
archive_cmds_need_lc_GCJ=yes
18012
allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
18014
cat conftest.err 1>&5
18017
{ echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
18018
echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; }
18025
{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
18026
echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
18027
library_names_spec=
18028
libname_spec='lib$name'
18032
postuninstall_cmds=
18036
shlibpath_overrides_runpath=unknown
18038
dynamic_linker="$host_os ld.so"
18039
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18040
if test "$GCC" = yes; then
18041
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18042
if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
18043
# if the path contains ";" then we assume it to be the separator
18044
# otherwise default to the standard path separator (i.e. ":") - it is
18045
# assumed that no part of a normal pathname contains ";" but that should
18046
# okay in the real world where ";" in dirpaths is itself problematic.
18047
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18049
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18052
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18054
need_lib_prefix=unknown
18055
hardcode_into_libs=no
18057
# when you set need_version to no, make sure it does not cause -set_version
18058
# flags to be left without arguments
18059
need_version=unknown
18064
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
18065
shlibpath_var=LIBPATH
18067
# AIX 3 has no versioning support, so we append a major version to the name.
18068
soname_spec='${libname}${release}${shared_ext}$major'
18075
hardcode_into_libs=yes
18076
if test "$host_cpu" = ia64; then
18077
# AIX 5 supports IA64
18078
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18079
shlibpath_var=LD_LIBRARY_PATH
18081
# With GCC up to 2.95.x, collect2 would create an import file
18082
# for dependence libraries. The import file would start with
18083
# the line `#! .'. This would cause the generated library to
18084
# depend on `.', always an invalid library. This was fixed in
18085
# development snapshots of GCC prior to 3.0.
18087
aix4 | aix4.[01] | aix4.[01].*)
18088
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18090
echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
18093
can_build_shared=no
18097
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18098
# soname into executable. Probably we can add versioning support to
18099
# collect2, so additional links can be useful in future.
18100
if test "$aix_use_runtimelinking" = yes; then
18101
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
18102
# instead of lib<name>.a to let people know that these are not
18103
# typical AIX shared libraries.
18104
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18106
# We preserve .a as extension for shared libraries through AIX4.2
18107
# and later when we are not doing run time linking.
18108
library_names_spec='${libname}${release}.a $libname.a'
18109
soname_spec='${libname}${release}${shared_ext}$major'
18111
shlibpath_var=LIBPATH
18116
library_names_spec='$libname.ixlibrary $libname.a'
18117
# Create ${libname}_ixlibrary.a entries in /sys/libs.
18118
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'
18122
library_names_spec='${libname}${shared_ext}'
18123
dynamic_linker="$host_os ld.so"
18124
shlibpath_var=LIBRARY_PATH
18130
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18131
soname_spec='${libname}${release}${shared_ext}$major'
18132
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18133
shlibpath_var=LD_LIBRARY_PATH
18134
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18135
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18136
# the default ld.so.conf also contains /usr/contrib/lib and
18137
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18138
# libtool to hard-code these into programs
18141
cygwin* | mingw* | pw32*)
18142
version_type=windows
18147
case $GCC,$host_os in
18148
yes,cygwin* | yes,mingw* | yes,pw32*)
18149
library_names_spec='$libname.dll.a'
18150
# DLL is installed to $(libdir)/../bin by postinstall_cmds
18151
postinstall_cmds='base_file=`basename \${file}`~
18152
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
18153
dldir=$destdir/`dirname \$dlpath`~
18154
test -d \$dldir || mkdir -p \$dldir~
18155
$install_prog $dir/$dlname \$dldir/$dlname~
18156
chmod a+x \$dldir/$dlname'
18157
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18158
dlpath=$dir/\$dldll~
18160
shlibpath_overrides_runpath=yes
18164
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
18165
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18166
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
18169
# MinGW DLLs use traditional 'lib' prefix
18170
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18171
sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18172
if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
18173
# It is most probably a Windows format PATH printed by
18174
# mingw gcc, but we are running on Cygwin. Gcc prints its search
18175
# path with ; separators, and with drive letters. We can handle the
18176
# drive letters (cygwin fileutils understands them), so leave them,
18177
# especially as we might pass files found there to a mingw objdump,
18178
# which wouldn't understand a cygwinified path. Ahh.
18179
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18181
sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18185
# pw32 DLLs use 'pw' prefix rather than 'lib'
18186
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18192
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18195
dynamic_linker='Win32 ld.exe'
18196
# FIXME: first we should search . and the directory the executable is in
18200
darwin* | rhapsody*)
18201
dynamic_linker="$host_os dyld"
18202
version_type=darwin
18205
library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18206
soname_spec='${libname}${release}${major}$shared_ext'
18207
shlibpath_overrides_runpath=yes
18208
shlibpath_var=DYLD_LIBRARY_PATH
18209
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18210
# Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18211
if test "$GCC" = yes; then
18212
sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
18214
sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18216
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18223
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18224
soname_spec='${libname}${release}${shared_ext}$major'
18225
shlibpath_var=LD_LIBRARY_PATH
18236
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18237
soname_spec='${libname}${release}${shared_ext}$major'
18238
shlibpath_var=LD_LIBRARY_PATH
18239
shlibpath_overrides_runpath=no
18240
hardcode_into_libs=yes
18241
dynamic_linker='GNU ld.so'
18244
freebsd* | dragonfly*)
18245
# DragonFly does not have aout. When/if they implement a new
18246
# versioning mechanism, adjust this.
18247
if test -x /usr/bin/objformat; then
18248
objformat=`/usr/bin/objformat`
18251
freebsd[123]*) objformat=aout ;;
18252
*) objformat=elf ;;
18255
version_type=freebsd-$objformat
18256
case $version_type in
18258
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18263
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18267
shlibpath_var=LD_LIBRARY_PATH
18270
shlibpath_overrides_runpath=yes
18272
freebsd3.[01]* | freebsdelf3.[01]*)
18273
shlibpath_overrides_runpath=yes
18274
hardcode_into_libs=yes
18276
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18277
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18278
shlibpath_overrides_runpath=no
18279
hardcode_into_libs=yes
18281
freebsd*) # from 4.6 on
18282
shlibpath_overrides_runpath=yes
18283
hardcode_into_libs=yes
18292
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18293
soname_spec='${libname}${release}${shared_ext}$major'
18294
shlibpath_var=LD_LIBRARY_PATH
18295
hardcode_into_libs=yes
18298
hpux9* | hpux10* | hpux11*)
18299
# Give a soname corresponding to the major version so that dld.sl refuses to
18300
# link against other versions.
18307
hardcode_into_libs=yes
18308
dynamic_linker="$host_os dld.so"
18309
shlibpath_var=LD_LIBRARY_PATH
18310
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18311
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18312
soname_spec='${libname}${release}${shared_ext}$major'
18313
if test "X$HPUX_IA64_MODE" = X32; then
18314
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18316
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18318
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18322
hardcode_into_libs=yes
18323
dynamic_linker="$host_os dld.sl"
18324
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18325
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18326
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18327
soname_spec='${libname}${release}${shared_ext}$major'
18328
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18329
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18333
dynamic_linker="$host_os dld.sl"
18334
shlibpath_var=SHLIB_PATH
18335
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18336
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18337
soname_spec='${libname}${release}${shared_ext}$major'
18340
# HP-UX runs *really* slowly unless shared libraries are mode 555.
18341
postinstall_cmds='chmod 555 $lib'
18348
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18349
soname_spec='${libname}${release}${shared_ext}$major'
18350
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18351
shlibpath_var=LD_LIBRARY_PATH
18352
shlibpath_overrides_runpath=no
18353
hardcode_into_libs=yes
18356
irix5* | irix6* | nonstopux*)
18358
nonstopux*) version_type=nonstopux ;;
18360
if test "$lt_cv_prog_gnu_ld" = yes; then
18368
soname_spec='${libname}${release}${shared_ext}$major'
18369
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18371
irix5* | nonstopux*)
18372
libsuff= shlibsuff=
18375
case $LD in # libtool.m4 will add one of these switches to LD
18376
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18377
libsuff= shlibsuff= libmagic=32-bit;;
18378
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18379
libsuff=32 shlibsuff=N32 libmagic=N32;;
18380
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18381
libsuff=64 shlibsuff=64 libmagic=64-bit;;
18382
*) libsuff= shlibsuff= libmagic=never-match;;
18386
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18387
shlibpath_overrides_runpath=no
18388
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18389
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18390
hardcode_into_libs=yes
18393
# No shared lib support for Linux oldld, aout, or coff.
18394
linux*oldld* | linux*aout* | linux*coff*)
18398
# This must be Linux ELF.
18403
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18404
soname_spec='${libname}${release}${shared_ext}$major'
18405
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18406
shlibpath_var=LD_LIBRARY_PATH
18407
shlibpath_overrides_runpath=no
18408
# This implies no fast_install, which is unacceptable.
18409
# Some rework will be needed to allow for fast_install
18410
# before this can be enabled.
18411
hardcode_into_libs=yes
18413
# find out which ABI we are using
18415
case "$host_cpu" in
18416
x86_64*|s390x*|powerpc64*)
18417
echo '#line 18417 "configure"' > conftest.$ac_ext
18418
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18419
(eval $ac_compile) 2>&5
18421
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422
(exit $ac_status); }; then
18423
case `/usr/bin/file conftest.$ac_objext` in
18426
sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
18434
# Append ld.so.conf contents to the search path
18435
if test -f /etc/ld.so.conf; then
18436
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/^ *//;s/#.*//;/^[^\/]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18437
sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
18440
# We used to test for /lib/ld.so.1 and disable shared libraries on
18441
# powerpc, because MkLinux only supported shared libraries with the
18442
# GNU dynamic linker. Since this was broken with cross compilers,
18443
# most powerpc-linux boxes support dynamic linking these days and
18444
# people can always --disable-shared, the test was removed, and we
18445
# assume the GNU/Linux dynamic linker is in use.
18446
dynamic_linker='GNU/Linux ld.so'
18453
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18454
soname_spec='${libname}${release}${shared_ext}$major'
18455
shlibpath_var=LD_LIBRARY_PATH
18456
shlibpath_overrides_runpath=no
18457
hardcode_into_libs=yes
18458
dynamic_linker='GNU ld.so'
18465
if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
18466
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18467
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18468
dynamic_linker='NetBSD (a.out) ld.so'
18470
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18471
soname_spec='${libname}${release}${shared_ext}$major'
18472
dynamic_linker='NetBSD ld.elf_so'
18474
shlibpath_var=LD_LIBRARY_PATH
18475
shlibpath_overrides_runpath=yes
18476
hardcode_into_libs=yes
18481
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18482
shlibpath_var=LD_LIBRARY_PATH
18483
shlibpath_overrides_runpath=yes
18490
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18491
soname_spec='${libname}${release}${shared_ext}$major'
18492
shlibpath_var=LD_LIBRARY_PATH
18493
shlibpath_overrides_runpath=yes
18498
sys_lib_dlsearch_path_spec="/usr/lib"
18500
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18502
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18503
*) need_version=no ;;
18505
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18506
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18507
shlibpath_var=LD_LIBRARY_PATH
18508
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18510
openbsd2.[89] | openbsd2.[89].*)
18511
shlibpath_overrides_runpath=no
18514
shlibpath_overrides_runpath=yes
18518
shlibpath_overrides_runpath=yes
18523
libname_spec='$name'
18526
library_names_spec='$libname${shared_ext} $libname.a'
18527
dynamic_linker='OS/2 ld.exe'
18528
shlibpath_var=LIBPATH
18531
osf3* | osf4* | osf5*)
18535
soname_spec='${libname}${release}${shared_ext}$major'
18536
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18537
shlibpath_var=LD_LIBRARY_PATH
18538
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18539
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18546
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18547
soname_spec='${libname}${release}${shared_ext}$major'
18548
shlibpath_var=LD_LIBRARY_PATH
18549
shlibpath_overrides_runpath=yes
18550
hardcode_into_libs=yes
18551
# ldd complains unless libraries are executable
18552
postinstall_cmds='chmod +x $lib'
18557
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18558
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18559
shlibpath_var=LD_LIBRARY_PATH
18560
shlibpath_overrides_runpath=yes
18561
if test "$with_gnu_ld" = yes; then
18569
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18570
soname_spec='${libname}${release}${shared_ext}$major'
18571
shlibpath_var=LD_LIBRARY_PATH
18572
case $host_vendor in
18574
shlibpath_overrides_runpath=no
18576
export_dynamic_flag_spec='${wl}-Blargedynsym'
18577
runpath_var=LD_RUN_PATH
18585
shlibpath_overrides_runpath=no
18586
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18592
if test -d /usr/nec ;then
18594
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18595
soname_spec='$libname${shared_ext}.$major'
18596
shlibpath_var=LD_LIBRARY_PATH
18600
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18601
version_type=freebsd-elf
18604
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18605
soname_spec='${libname}${release}${shared_ext}$major'
18606
shlibpath_var=LD_LIBRARY_PATH
18607
hardcode_into_libs=yes
18608
if test "$with_gnu_ld" = yes; then
18609
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18610
shlibpath_overrides_runpath=no
18612
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18613
shlibpath_overrides_runpath=yes
18616
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18620
sys_lib_dlsearch_path_spec='/usr/lib'
18625
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18626
soname_spec='${libname}${release}${shared_ext}$major'
18627
shlibpath_var=LD_LIBRARY_PATH
18634
{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
18635
echo "${ECHO_T}$dynamic_linker" >&6; }
18636
test "$dynamic_linker" = no && can_build_shared=no
18638
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18639
if test "$GCC" = yes; then
18640
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18643
{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
18644
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
18645
hardcode_action_GCJ=
18646
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
18647
test -n "$runpath_var_GCJ" || \
18648
test "X$hardcode_automatic_GCJ" = "Xyes" ; then
18650
# We can hardcode non-existant directories.
18651
if test "$hardcode_direct_GCJ" != no &&
18652
# If the only mechanism to avoid hardcoding is shlibpath_var, we
18653
# have to relink, otherwise we might link with an installed library
18654
# when we should be linking with a yet-to-be-installed one
18655
## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
18656
test "$hardcode_minus_L_GCJ" != no; then
18657
# Linking always hardcodes the temporary library directory.
18658
hardcode_action_GCJ=relink
18660
# We can link without hardcoding, and we can hardcode nonexisting dirs.
18661
hardcode_action_GCJ=immediate
18664
# We cannot hardcode anything, or else we can only hardcode existing
18666
hardcode_action_GCJ=unsupported
18668
{ echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
18669
echo "${ECHO_T}$hardcode_action_GCJ" >&6; }
18671
if test "$hardcode_action_GCJ" = relink; then
18672
# Fast installation is not supported
18673
enable_fast_install=no
18674
elif test "$shlibpath_overrides_runpath" = yes ||
18675
test "$enable_shared" = no; then
18676
# Fast installation is not necessary
18677
enable_fast_install=needless
18681
# The else clause should only fire when bootstrapping the
18682
# libtool distribution, otherwise you forgot to ship ltmain.sh
18683
# with your package, and you will get complaints that there are
18684
# no rules to generate ltmain.sh.
18685
if test -f "$ltmain"; then
18686
# See if we are running on zsh, and set the options which allow our commands through
18687
# without removal of \ escapes.
18688
if test -n "${ZSH_VERSION+set}" ; then
18689
setopt NO_GLOB_SUBST
18691
# Now quote all the things that may contain metacharacters while being
18692
# careful not to overquote the AC_SUBSTed values. We take copies of the
18693
# variables and quote the copies for generation of the libtool script.
18694
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
18696
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18697
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18698
deplibs_check_method reload_flag reload_cmds need_locks \
18699
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18700
lt_cv_sys_global_symbol_to_c_name_address \
18701
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18702
old_postinstall_cmds old_postuninstall_cmds \
18706
lt_prog_compiler_wl_GCJ \
18707
lt_prog_compiler_pic_GCJ \
18708
lt_prog_compiler_static_GCJ \
18709
lt_prog_compiler_no_builtin_flag_GCJ \
18710
export_dynamic_flag_spec_GCJ \
18711
thread_safe_flag_spec_GCJ \
18712
whole_archive_flag_spec_GCJ \
18713
enable_shared_with_static_runtimes_GCJ \
18714
old_archive_cmds_GCJ \
18715
old_archive_from_new_cmds_GCJ \
18716
predep_objects_GCJ \
18717
postdep_objects_GCJ \
18720
compiler_lib_search_path_GCJ \
18722
archive_expsym_cmds_GCJ \
18723
postinstall_cmds_GCJ \
18724
postuninstall_cmds_GCJ \
18725
old_archive_from_expsyms_cmds_GCJ \
18726
allow_undefined_flag_GCJ \
18727
no_undefined_flag_GCJ \
18728
export_symbols_cmds_GCJ \
18729
hardcode_libdir_flag_spec_GCJ \
18730
hardcode_libdir_flag_spec_ld_GCJ \
18731
hardcode_libdir_separator_GCJ \
18732
hardcode_automatic_GCJ \
18734
module_expsym_cmds_GCJ \
18735
lt_cv_prog_compiler_c_o_GCJ \
18736
exclude_expsyms_GCJ \
18737
include_expsyms_GCJ; do
18740
old_archive_cmds_GCJ | \
18741
old_archive_from_new_cmds_GCJ | \
18742
archive_cmds_GCJ | \
18743
archive_expsym_cmds_GCJ | \
18744
module_cmds_GCJ | \
18745
module_expsym_cmds_GCJ | \
18746
old_archive_from_expsyms_cmds_GCJ | \
18747
export_symbols_cmds_GCJ | \
18748
extract_expsyms_cmds | reload_cmds | finish_cmds | \
18749
postinstall_cmds | postuninstall_cmds | \
18750
old_postinstall_cmds | old_postuninstall_cmds | \
18751
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18752
# Double-quote double-evaled strings.
18753
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18756
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18762
*'\$0 --fallback-echo"')
18763
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18769
cat <<__EOF__ >> "$cfgfile"
18770
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
18772
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18774
# Shell to use when invoking shell scripts.
18777
# Whether or not to build shared libraries.
18778
build_libtool_libs=$enable_shared
18780
# Whether or not to build static libraries.
18781
build_old_libs=$enable_static
18783
# Whether or not to add -lc for building shared libraries.
18784
build_libtool_need_lc=$archive_cmds_need_lc_GCJ
18786
# Whether or not to disallow shared libs when runtime libs are static
18787
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
18789
# Whether or not to optimize for fast installation.
18790
fast_install=$enable_fast_install
18793
host_alias=$host_alias
18797
# The build system.
18798
build_alias=$build_alias
18802
# An echo program that does not interpret backslashes.
18807
AR_FLAGS=$lt_AR_FLAGS
18812
# LTCC compiler flags.
18813
LTCFLAGS=$lt_LTCFLAGS
18815
# A language-specific compiler.
18816
CC=$lt_compiler_GCJ
18818
# Is the compiler the GNU C compiler?
18824
# The linker used to build libraries.
18827
# Whether we need hard or soft links.
18830
# A BSD-compatible nm program.
18833
# A symbol stripping program
18836
# Used to examine libraries when file_magic_cmd begins "file"
18837
MAGIC_CMD=$MAGIC_CMD
18839
# Used on cygwin: DLL creation program.
18842
# Used on cygwin: object dumper.
18845
# Used on cygwin: assembler.
18848
# The name of the directory that contains temporary libtool files.
18851
# How to create reloadable object files.
18852
reload_flag=$lt_reload_flag
18853
reload_cmds=$lt_reload_cmds
18855
# How to pass a linker flag through the compiler.
18856
wl=$lt_lt_prog_compiler_wl_GCJ
18858
# Object file suffix (normally "o").
18859
objext="$ac_objext"
18861
# Old archive suffix (normally "a").
18864
# Shared library suffix (normally ".so").
18865
shrext_cmds='$shrext_cmds'
18867
# Executable file suffix (normally "").
18870
# Additional compiler flags for building library objects.
18871
pic_flag=$lt_lt_prog_compiler_pic_GCJ
18874
# What is the maximum length of a command?
18875
max_cmd_len=$lt_cv_sys_max_cmd_len
18877
# Does compiler simultaneously support -c and -o options?
18878
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18880
# Must we lock files when doing compilation?
18881
need_locks=$lt_need_locks
18883
# Do we need the lib prefix for modules?
18884
need_lib_prefix=$need_lib_prefix
18886
# Do we need a version for libraries?
18887
need_version=$need_version
18889
# Whether dlopen is supported.
18890
dlopen_support=$enable_dlopen
18892
# Whether dlopen of programs is supported.
18893
dlopen_self=$enable_dlopen_self
18895
# Whether dlopen of statically linked programs is supported.
18896
dlopen_self_static=$enable_dlopen_self_static
18898
# Compiler flag to prevent dynamic linking.
18899
link_static_flag=$lt_lt_prog_compiler_static_GCJ
18901
# Compiler flag to turn off builtin functions.
18902
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
18904
# Compiler flag to allow reflexive dlopens.
18905
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
18907
# Compiler flag to generate shared objects directly from archives.
18908
whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
18910
# Compiler flag to generate thread-safe objects.
18911
thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
18913
# Library versioning type.
18914
version_type=$version_type
18916
# Format of library name prefix.
18917
libname_spec=$lt_libname_spec
18919
# List of archive names. First name is the real one, the rest are links.
18920
# The last name is the one that the linker finds with -lNAME.
18921
library_names_spec=$lt_library_names_spec
18923
# The coded name of the library, if different from the real name.
18924
soname_spec=$lt_soname_spec
18926
# Commands used to build and install an old-style archive.
18928
old_archive_cmds=$lt_old_archive_cmds_GCJ
18929
old_postinstall_cmds=$lt_old_postinstall_cmds
18930
old_postuninstall_cmds=$lt_old_postuninstall_cmds
18932
# Create an old-style archive from a shared archive.
18933
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
18935
# Create a temporary old-style archive to link instead of a shared archive.
18936
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
18938
# Commands used to build and install a shared archive.
18939
archive_cmds=$lt_archive_cmds_GCJ
18940
archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
18941
postinstall_cmds=$lt_postinstall_cmds
18942
postuninstall_cmds=$lt_postuninstall_cmds
18944
# Commands used to build a loadable module (assumed same as above if empty)
18945
module_cmds=$lt_module_cmds_GCJ
18946
module_expsym_cmds=$lt_module_expsym_cmds_GCJ
18948
# Commands to strip libraries.
18949
old_striplib=$lt_old_striplib
18950
striplib=$lt_striplib
18952
# Dependencies to place before the objects being linked to create a
18954
predep_objects=$lt_predep_objects_GCJ
18956
# Dependencies to place after the objects being linked to create a
18958
postdep_objects=$lt_postdep_objects_GCJ
18960
# Dependencies to place before the objects being linked to create a
18962
predeps=$lt_predeps_GCJ
18964
# Dependencies to place after the objects being linked to create a
18966
postdeps=$lt_postdeps_GCJ
18968
# The library search path used internally by the compiler when linking
18969
# a shared library.
18970
compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
18972
# Method to check whether dependent libraries are shared objects.
18973
deplibs_check_method=$lt_deplibs_check_method
18975
# Command to use when deplibs_check_method == file_magic.
18976
file_magic_cmd=$lt_file_magic_cmd
18978
# Flag that allows shared libraries with undefined symbols to be built.
18979
allow_undefined_flag=$lt_allow_undefined_flag_GCJ
18981
# Flag that forces no undefined symbols.
18982
no_undefined_flag=$lt_no_undefined_flag_GCJ
18984
# Commands used to finish a libtool library installation in a directory.
18985
finish_cmds=$lt_finish_cmds
18987
# Same as above, but a single script fragment to be evaled but not shown.
18988
finish_eval=$lt_finish_eval
18990
# Take the output of nm and produce a listing of raw symbols and C names.
18991
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18993
# Transform the output of nm in a proper C declaration
18994
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18996
# Transform the output of nm in a C name address pair
18997
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18999
# This is the shared library runtime path variable.
19000
runpath_var=$runpath_var
19002
# This is the shared library path variable.
19003
shlibpath_var=$shlibpath_var
19005
# Is shlibpath searched before the hard-coded library search path?
19006
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19008
# How to hardcode a shared library path into an executable.
19009
hardcode_action=$hardcode_action_GCJ
19011
# Whether we should hardcode library paths into libraries.
19012
hardcode_into_libs=$hardcode_into_libs
19014
# Flag to hardcode \$libdir into a binary during linking.
19015
# This must work even if \$libdir does not exist.
19016
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
19018
# If ld is used when linking, flag to hardcode \$libdir into
19019
# a binary during linking. This must work even if \$libdir does
19021
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
19023
# Whether we need a single -rpath flag with a separated argument.
19024
hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
19026
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19027
# resulting binary.
19028
hardcode_direct=$hardcode_direct_GCJ
19030
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19031
# resulting binary.
19032
hardcode_minus_L=$hardcode_minus_L_GCJ
19034
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19035
# the resulting binary.
19036
hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
19038
# Set to yes if building a shared library automatically hardcodes DIR into the library
19039
# and all subsequent libraries and executables linked against it.
19040
hardcode_automatic=$hardcode_automatic_GCJ
19042
# Variables whose values should be saved in libtool wrapper scripts and
19043
# restored at relink time.
19044
variables_saved_for_relink="$variables_saved_for_relink"
19046
# Whether libtool must link a program against all its dependency libraries.
19047
link_all_deplibs=$link_all_deplibs_GCJ
19049
# Compile-time system search path for libraries
19050
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19052
# Run-time system search path for libraries
19053
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19055
# Fix the shell variable \$srcfile for the compiler.
19056
fix_srcfile_path="$fix_srcfile_path_GCJ"
19058
# Set to yes if exported symbols are required.
19059
always_export_symbols=$always_export_symbols_GCJ
19061
# The commands to list exported symbols.
19062
export_symbols_cmds=$lt_export_symbols_cmds_GCJ
19064
# The commands to extract the exported symbol list from a shared archive.
19065
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19067
# Symbols that should not be listed in the preloaded symbols.
19068
exclude_expsyms=$lt_exclude_expsyms_GCJ
19070
# Symbols that must always be exported.
19071
include_expsyms=$lt_include_expsyms_GCJ
19073
# ### END LIBTOOL TAG CONFIG: $tagname
19079
# If there is no Makefile yet, we rely on a make rule to execute
19080
# `config.status --recheck' to rerun these tests and create the
19081
# libtool script then.
19082
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19083
if test -f "$ltmain_in"; then
19084
test -f Makefile && make "$ltmain"
19090
ac_cpp='$CPP $CPPFLAGS'
19091
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19092
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19093
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19105
# Source file extension for RC test sources.
19108
# Object file extension for compiled RC test sources.
19112
# Code to be used in simple compile tests
19113
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
19115
# Code to be used in simple link tests
19116
lt_simple_link_test_code="$lt_simple_compile_test_code"
19118
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
19120
# If no C compiler was specified, use CC.
19123
# If no C compiler flags were specified, use CFLAGS.
19124
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
19126
# Allow CC to be a program name with arguments.
19130
# save warnings/boilerplate of simple test code
19131
ac_outfile=conftest.$ac_objext
19132
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
19133
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19134
_lt_compiler_boilerplate=`cat conftest.err`
19137
ac_outfile=conftest.$ac_objext
19138
printf "$lt_simple_link_test_code" >conftest.$ac_ext
19139
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19140
_lt_linker_boilerplate=`cat conftest.err`
19144
# Allow CC to be a program name with arguments.
19149
for cc_temp in $compiler""; do
19151
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
19152
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
19157
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
19159
lt_cv_prog_compiler_c_o_RC=yes
19161
# The else clause should only fire when bootstrapping the
19162
# libtool distribution, otherwise you forgot to ship ltmain.sh
19163
# with your package, and you will get complaints that there are
19164
# no rules to generate ltmain.sh.
19165
if test -f "$ltmain"; then
19166
# See if we are running on zsh, and set the options which allow our commands through
19167
# without removal of \ escapes.
19168
if test -n "${ZSH_VERSION+set}" ; then
19169
setopt NO_GLOB_SUBST
19171
# Now quote all the things that may contain metacharacters while being
19172
# careful not to overquote the AC_SUBSTed values. We take copies of the
19173
# variables and quote the copies for generation of the libtool script.
19174
for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
19176
libname_spec library_names_spec soname_spec extract_expsyms_cmds \
19177
old_striplib striplib file_magic_cmd finish_cmds finish_eval \
19178
deplibs_check_method reload_flag reload_cmds need_locks \
19179
lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
19180
lt_cv_sys_global_symbol_to_c_name_address \
19181
sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
19182
old_postinstall_cmds old_postuninstall_cmds \
19186
lt_prog_compiler_wl_RC \
19187
lt_prog_compiler_pic_RC \
19188
lt_prog_compiler_static_RC \
19189
lt_prog_compiler_no_builtin_flag_RC \
19190
export_dynamic_flag_spec_RC \
19191
thread_safe_flag_spec_RC \
19192
whole_archive_flag_spec_RC \
19193
enable_shared_with_static_runtimes_RC \
19194
old_archive_cmds_RC \
19195
old_archive_from_new_cmds_RC \
19196
predep_objects_RC \
19197
postdep_objects_RC \
19200
compiler_lib_search_path_RC \
19202
archive_expsym_cmds_RC \
19203
postinstall_cmds_RC \
19204
postuninstall_cmds_RC \
19205
old_archive_from_expsyms_cmds_RC \
19206
allow_undefined_flag_RC \
19207
no_undefined_flag_RC \
19208
export_symbols_cmds_RC \
19209
hardcode_libdir_flag_spec_RC \
19210
hardcode_libdir_flag_spec_ld_RC \
19211
hardcode_libdir_separator_RC \
19212
hardcode_automatic_RC \
19214
module_expsym_cmds_RC \
19215
lt_cv_prog_compiler_c_o_RC \
19216
exclude_expsyms_RC \
19217
include_expsyms_RC; do
19220
old_archive_cmds_RC | \
19221
old_archive_from_new_cmds_RC | \
19222
archive_cmds_RC | \
19223
archive_expsym_cmds_RC | \
19225
module_expsym_cmds_RC | \
19226
old_archive_from_expsyms_cmds_RC | \
19227
export_symbols_cmds_RC | \
19228
extract_expsyms_cmds | reload_cmds | finish_cmds | \
19229
postinstall_cmds | postuninstall_cmds | \
19230
old_postinstall_cmds | old_postuninstall_cmds | \
19231
sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
19232
# Double-quote double-evaled strings.
19233
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
19236
eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
19242
*'\$0 --fallback-echo"')
19243
lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
19249
cat <<__EOF__ >> "$cfgfile"
19250
# ### BEGIN LIBTOOL TAG CONFIG: $tagname
19252
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19254
# Shell to use when invoking shell scripts.
19257
# Whether or not to build shared libraries.
19258
build_libtool_libs=$enable_shared
19260
# Whether or not to build static libraries.
19261
build_old_libs=$enable_static
19263
# Whether or not to add -lc for building shared libraries.
19264
build_libtool_need_lc=$archive_cmds_need_lc_RC
19266
# Whether or not to disallow shared libs when runtime libs are static
19267
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
19269
# Whether or not to optimize for fast installation.
19270
fast_install=$enable_fast_install
19273
host_alias=$host_alias
19277
# The build system.
19278
build_alias=$build_alias
19282
# An echo program that does not interpret backslashes.
19287
AR_FLAGS=$lt_AR_FLAGS
19292
# LTCC compiler flags.
19293
LTCFLAGS=$lt_LTCFLAGS
19295
# A language-specific compiler.
19298
# Is the compiler the GNU C compiler?
19304
# The linker used to build libraries.
19307
# Whether we need hard or soft links.
19310
# A BSD-compatible nm program.
19313
# A symbol stripping program
19316
# Used to examine libraries when file_magic_cmd begins "file"
19317
MAGIC_CMD=$MAGIC_CMD
19319
# Used on cygwin: DLL creation program.
19322
# Used on cygwin: object dumper.
19325
# Used on cygwin: assembler.
19328
# The name of the directory that contains temporary libtool files.
19331
# How to create reloadable object files.
19332
reload_flag=$lt_reload_flag
19333
reload_cmds=$lt_reload_cmds
19335
# How to pass a linker flag through the compiler.
19336
wl=$lt_lt_prog_compiler_wl_RC
19338
# Object file suffix (normally "o").
19339
objext="$ac_objext"
19341
# Old archive suffix (normally "a").
19344
# Shared library suffix (normally ".so").
19345
shrext_cmds='$shrext_cmds'
19347
# Executable file suffix (normally "").
19350
# Additional compiler flags for building library objects.
19351
pic_flag=$lt_lt_prog_compiler_pic_RC
19354
# What is the maximum length of a command?
19355
max_cmd_len=$lt_cv_sys_max_cmd_len
19357
# Does compiler simultaneously support -c and -o options?
19358
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
19360
# Must we lock files when doing compilation?
19361
need_locks=$lt_need_locks
19363
# Do we need the lib prefix for modules?
19364
need_lib_prefix=$need_lib_prefix
19366
# Do we need a version for libraries?
19367
need_version=$need_version
19369
# Whether dlopen is supported.
19370
dlopen_support=$enable_dlopen
19372
# Whether dlopen of programs is supported.
19373
dlopen_self=$enable_dlopen_self
19375
# Whether dlopen of statically linked programs is supported.
19376
dlopen_self_static=$enable_dlopen_self_static
19378
# Compiler flag to prevent dynamic linking.
19379
link_static_flag=$lt_lt_prog_compiler_static_RC
19381
# Compiler flag to turn off builtin functions.
19382
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
19384
# Compiler flag to allow reflexive dlopens.
19385
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
19387
# Compiler flag to generate shared objects directly from archives.
19388
whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
19390
# Compiler flag to generate thread-safe objects.
19391
thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
19393
# Library versioning type.
19394
version_type=$version_type
19396
# Format of library name prefix.
19397
libname_spec=$lt_libname_spec
19399
# List of archive names. First name is the real one, the rest are links.
19400
# The last name is the one that the linker finds with -lNAME.
19401
library_names_spec=$lt_library_names_spec
19403
# The coded name of the library, if different from the real name.
19404
soname_spec=$lt_soname_spec
19406
# Commands used to build and install an old-style archive.
19408
old_archive_cmds=$lt_old_archive_cmds_RC
19409
old_postinstall_cmds=$lt_old_postinstall_cmds
19410
old_postuninstall_cmds=$lt_old_postuninstall_cmds
19412
# Create an old-style archive from a shared archive.
19413
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
19415
# Create a temporary old-style archive to link instead of a shared archive.
19416
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
19418
# Commands used to build and install a shared archive.
19419
archive_cmds=$lt_archive_cmds_RC
19420
archive_expsym_cmds=$lt_archive_expsym_cmds_RC
19421
postinstall_cmds=$lt_postinstall_cmds
19422
postuninstall_cmds=$lt_postuninstall_cmds
19424
# Commands used to build a loadable module (assumed same as above if empty)
19425
module_cmds=$lt_module_cmds_RC
19426
module_expsym_cmds=$lt_module_expsym_cmds_RC
19428
# Commands to strip libraries.
19429
old_striplib=$lt_old_striplib
19430
striplib=$lt_striplib
19432
# Dependencies to place before the objects being linked to create a
19434
predep_objects=$lt_predep_objects_RC
19436
# Dependencies to place after the objects being linked to create a
19438
postdep_objects=$lt_postdep_objects_RC
19440
# Dependencies to place before the objects being linked to create a
19442
predeps=$lt_predeps_RC
19444
# Dependencies to place after the objects being linked to create a
19446
postdeps=$lt_postdeps_RC
19448
# The library search path used internally by the compiler when linking
19449
# a shared library.
19450
compiler_lib_search_path=$lt_compiler_lib_search_path_RC
19452
# Method to check whether dependent libraries are shared objects.
19453
deplibs_check_method=$lt_deplibs_check_method
19455
# Command to use when deplibs_check_method == file_magic.
19456
file_magic_cmd=$lt_file_magic_cmd
19458
# Flag that allows shared libraries with undefined symbols to be built.
19459
allow_undefined_flag=$lt_allow_undefined_flag_RC
19461
# Flag that forces no undefined symbols.
19462
no_undefined_flag=$lt_no_undefined_flag_RC
19464
# Commands used to finish a libtool library installation in a directory.
19465
finish_cmds=$lt_finish_cmds
19467
# Same as above, but a single script fragment to be evaled but not shown.
19468
finish_eval=$lt_finish_eval
19470
# Take the output of nm and produce a listing of raw symbols and C names.
19471
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19473
# Transform the output of nm in a proper C declaration
19474
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19476
# Transform the output of nm in a C name address pair
19477
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19479
# This is the shared library runtime path variable.
19480
runpath_var=$runpath_var
19482
# This is the shared library path variable.
19483
shlibpath_var=$shlibpath_var
19485
# Is shlibpath searched before the hard-coded library search path?
19486
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19488
# How to hardcode a shared library path into an executable.
19489
hardcode_action=$hardcode_action_RC
19491
# Whether we should hardcode library paths into libraries.
19492
hardcode_into_libs=$hardcode_into_libs
19494
# Flag to hardcode \$libdir into a binary during linking.
19495
# This must work even if \$libdir does not exist.
19496
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
19498
# If ld is used when linking, flag to hardcode \$libdir into
19499
# a binary during linking. This must work even if \$libdir does
19501
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
19503
# Whether we need a single -rpath flag with a separated argument.
19504
hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
19506
# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
19507
# resulting binary.
19508
hardcode_direct=$hardcode_direct_RC
19510
# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
19511
# resulting binary.
19512
hardcode_minus_L=$hardcode_minus_L_RC
19514
# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
19515
# the resulting binary.
19516
hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
19518
# Set to yes if building a shared library automatically hardcodes DIR into the library
19519
# and all subsequent libraries and executables linked against it.
19520
hardcode_automatic=$hardcode_automatic_RC
19522
# Variables whose values should be saved in libtool wrapper scripts and
19523
# restored at relink time.
19524
variables_saved_for_relink="$variables_saved_for_relink"
19526
# Whether libtool must link a program against all its dependency libraries.
19527
link_all_deplibs=$link_all_deplibs_RC
19529
# Compile-time system search path for libraries
19530
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19532
# Run-time system search path for libraries
19533
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19535
# Fix the shell variable \$srcfile for the compiler.
19536
fix_srcfile_path="$fix_srcfile_path_RC"
19538
# Set to yes if exported symbols are required.
19539
always_export_symbols=$always_export_symbols_RC
19541
# The commands to list exported symbols.
19542
export_symbols_cmds=$lt_export_symbols_cmds_RC
19544
# The commands to extract the exported symbol list from a shared archive.
19545
extract_expsyms_cmds=$lt_extract_expsyms_cmds
19547
# Symbols that should not be listed in the preloaded symbols.
19548
exclude_expsyms=$lt_exclude_expsyms_RC
19550
# Symbols that must always be exported.
19551
include_expsyms=$lt_include_expsyms_RC
19553
# ### END LIBTOOL TAG CONFIG: $tagname
19559
# If there is no Makefile yet, we rely on a make rule to execute
19560
# `config.status --recheck' to rerun these tests and create the
19561
# libtool script then.
19562
ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
19563
if test -f "$ltmain_in"; then
19564
test -f Makefile && make "$ltmain"
19570
ac_cpp='$CPP $CPPFLAGS'
19571
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19572
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19573
ac_compiler_gnu=$ac_cv_c_compiler_gnu
19580
{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
19581
echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
19582
{ (exit 1); exit 1; }; }
19586
# Append the new tag name to the list of available tags.
19587
if test -n "$tagname" ; then
19588
available_tags="$available_tags $tagname"
19594
# Now substitute the updated list of available tags.
19595
if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
19596
mv "${ofile}T" "$ofile"
19600
{ { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
19601
echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
19602
{ (exit 1); exit 1; }; }
19608
# This can be used to rebuild libtool when needed
19609
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
19611
# Always use our own libtool.
19612
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
19614
# Prevent multiple expansion
19639
ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
19640
if test -n "$ac_macro_dir"; then
19641
ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
19647
# Check whether --enable-debug was given.
19648
if test "${enable_debug+set}" = set; then
19649
enableval=$enable_debug;
19655
if test x$enable_debug = xyes ; then
19657
cat >>confdefs.h <<\_ACEOF
19658
#define GNOME_ENABLE_DEBUG 1
19665
# Check whether --enable-compile-warnings was given.
19666
if test "${enable_compile_warnings+set}" = set; then
19667
enableval=$enable_compile_warnings;
19669
enable_compile_warnings="maximum"
19674
if test "x$GCC" != xyes; then
19675
enable_compile_warnings=no
19679
realsave_CFLAGS="$CFLAGS"
19681
case "$enable_compile_warnings" in
19686
warning_flags="-Wall"
19689
warning_flags="-Wall -Wmissing-prototypes"
19692
warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
19693
CFLAGS="$warning_flags $CFLAGS"
19694
for option in -Wno-sign-compare; do
19695
SAVE_CFLAGS="$CFLAGS"
19696
CFLAGS="$CFLAGS $option"
19697
{ echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
19698
echo $ECHO_N "checking whether gcc understands $option... $ECHO_C" >&6; }
19699
cat >conftest.$ac_ext <<_ACEOF
19702
cat confdefs.h >>conftest.$ac_ext
19703
cat >>conftest.$ac_ext <<_ACEOF
19704
/* end confdefs.h. */
19714
rm -f conftest.$ac_objext
19715
if { (ac_try="$ac_compile"
19716
case "(($ac_try" in
19717
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19718
*) ac_try_echo=$ac_try;;
19720
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19721
(eval "$ac_compile") 2>conftest.er1
19723
grep -v '^ *+' conftest.er1 >conftest.err
19725
cat conftest.err >&5
19726
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19727
(exit $ac_status); } && {
19728
test -z "$ac_c_werror_flag" ||
19729
test ! -s conftest.err
19730
} && test -s conftest.$ac_objext; then
19733
echo "$as_me: failed program was:" >&5
19734
sed 's/^/| /' conftest.$ac_ext >&5
19739
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19740
CFLAGS="$SAVE_CFLAGS"
19741
{ echo "$as_me:$LINENO: result: $has_option" >&5
19742
echo "${ECHO_T}$has_option" >&6; }
19743
if test $has_option = yes; then
19744
warning_flags="$warning_flags $option"
19750
if test "$enable_compile_warnings" = "error" ; then
19751
warning_flags="$warning_flags -Werror"
19755
{ { echo "$as_me:$LINENO: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&5
19756
echo "$as_me: error: Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" >&2;}
19757
{ (exit 1); exit 1; }; }
19760
CFLAGS="$realsave_CFLAGS"
19761
{ echo "$as_me:$LINENO: checking what warning flags to pass to the C compiler" >&5
19762
echo $ECHO_N "checking what warning flags to pass to the C compiler... $ECHO_C" >&6; }
19763
{ echo "$as_me:$LINENO: result: $warning_flags" >&5
19764
echo "${ECHO_T}$warning_flags" >&6; }
19766
# Check whether --enable-iso-c was given.
19767
if test "${enable_iso_c+set}" = set; then
19768
enableval=$enable_iso_c;
19774
{ echo "$as_me:$LINENO: checking what language compliance flags to pass to the C compiler" >&5
19775
echo $ECHO_N "checking what language compliance flags to pass to the C compiler... $ECHO_C" >&6; }
19777
if test "x$enable_iso_c" != "xno"; then
19778
if test "x$GCC" = "xyes"; then
19779
case " $CFLAGS " in
19780
*\ \ -ansi\ \ *) ;;
19781
*) complCFLAGS="$complCFLAGS -ansi" ;;
19783
case " $CFLAGS " in
19784
*\ \ -pedantic\ \ *) ;;
19785
*) complCFLAGS="$complCFLAGS -pedantic" ;;
19789
{ echo "$as_me:$LINENO: result: $complCFLAGS" >&5
19790
echo "${ECHO_T}$complCFLAGS" >&6; }
19792
WARN_CFLAGS="$warning_flags $complCFLAGS"
19798
if test $USE_MAINTAINER_MODE = yes; then
19799
DISABLE_DEPRECATED="-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DBONOBO_DISABLE_DEPRECATED"
19801
DISABLE_DEPRECATED=""
19806
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19807
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
19808
if test "${ac_cv_header_stdc+set}" = set; then
19809
echo $ECHO_N "(cached) $ECHO_C" >&6
19811
cat >conftest.$ac_ext <<_ACEOF
19814
cat confdefs.h >>conftest.$ac_ext
19815
cat >>conftest.$ac_ext <<_ACEOF
19816
/* end confdefs.h. */
19817
#include <stdlib.h>
19818
#include <stdarg.h>
19819
#include <string.h>
19830
rm -f conftest.$ac_objext
19831
if { (ac_try="$ac_compile"
19832
case "(($ac_try" in
19833
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19834
*) ac_try_echo=$ac_try;;
19836
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19837
(eval "$ac_compile") 2>conftest.er1
19839
grep -v '^ *+' conftest.er1 >conftest.err
19841
cat conftest.err >&5
19842
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19843
(exit $ac_status); } && {
19844
test -z "$ac_c_werror_flag" ||
19845
test ! -s conftest.err
19846
} && test -s conftest.$ac_objext; then
19847
ac_cv_header_stdc=yes
19849
echo "$as_me: failed program was:" >&5
19850
sed 's/^/| /' conftest.$ac_ext >&5
19852
ac_cv_header_stdc=no
19855
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19857
if test $ac_cv_header_stdc = yes; then
19858
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19859
cat >conftest.$ac_ext <<_ACEOF
19862
cat confdefs.h >>conftest.$ac_ext
19863
cat >>conftest.$ac_ext <<_ACEOF
19864
/* end confdefs.h. */
19865
#include <string.h>
19868
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19869
$EGREP "memchr" >/dev/null 2>&1; then
19872
ac_cv_header_stdc=no
19878
if test $ac_cv_header_stdc = yes; then
19879
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19880
cat >conftest.$ac_ext <<_ACEOF
19883
cat confdefs.h >>conftest.$ac_ext
19884
cat >>conftest.$ac_ext <<_ACEOF
19885
/* end confdefs.h. */
19886
#include <stdlib.h>
19889
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19890
$EGREP "free" >/dev/null 2>&1; then
19893
ac_cv_header_stdc=no
19899
if test $ac_cv_header_stdc = yes; then
19900
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19901
if test "$cross_compiling" = yes; then
19904
cat >conftest.$ac_ext <<_ACEOF
19907
cat confdefs.h >>conftest.$ac_ext
19908
cat >>conftest.$ac_ext <<_ACEOF
19909
/* end confdefs.h. */
19911
#include <stdlib.h>
19912
#if ((' ' & 0x0FF) == 0x020)
19913
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19914
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19916
# define ISLOWER(c) \
19917
(('a' <= (c) && (c) <= 'i') \
19918
|| ('j' <= (c) && (c) <= 'r') \
19919
|| ('s' <= (c) && (c) <= 'z'))
19920
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19923
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19928
for (i = 0; i < 256; i++)
19929
if (XOR (islower (i), ISLOWER (i))
19930
|| toupper (i) != TOUPPER (i))
19935
rm -f conftest$ac_exeext
19936
if { (ac_try="$ac_link"
19937
case "(($ac_try" in
19938
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19939
*) ac_try_echo=$ac_try;;
19941
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19942
(eval "$ac_link") 2>&5
19944
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19946
{ (case "(($ac_try" in
19947
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19948
*) ac_try_echo=$ac_try;;
19950
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19951
(eval "$ac_try") 2>&5
19953
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954
(exit $ac_status); }; }; then
19957
echo "$as_me: program exited with status $ac_status" >&5
19958
echo "$as_me: failed program was:" >&5
19959
sed 's/^/| /' conftest.$ac_ext >&5
19961
( exit $ac_status )
19962
ac_cv_header_stdc=no
19964
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19970
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19971
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
19972
if test $ac_cv_header_stdc = yes; then
19974
cat >>confdefs.h <<\_ACEOF
19975
#define STDC_HEADERS 1
19986
for ac_header in fcntl.h paths.h sys/ioctl.h sys/time.h syslog.h unistd.h
19988
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19989
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19990
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
19991
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
19992
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
19993
echo $ECHO_N "(cached) $ECHO_C" >&6
19995
ac_res=`eval echo '${'$as_ac_Header'}'`
19996
{ echo "$as_me:$LINENO: result: $ac_res" >&5
19997
echo "${ECHO_T}$ac_res" >&6; }
19999
# Is the header compilable?
20000
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
20001
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
20002
cat >conftest.$ac_ext <<_ACEOF
20005
cat confdefs.h >>conftest.$ac_ext
20006
cat >>conftest.$ac_ext <<_ACEOF
20007
/* end confdefs.h. */
20008
$ac_includes_default
20009
#include <$ac_header>
20011
rm -f conftest.$ac_objext
20012
if { (ac_try="$ac_compile"
20013
case "(($ac_try" in
20014
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20015
*) ac_try_echo=$ac_try;;
20017
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20018
(eval "$ac_compile") 2>conftest.er1
20020
grep -v '^ *+' conftest.er1 >conftest.err
20022
cat conftest.err >&5
20023
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20024
(exit $ac_status); } && {
20025
test -z "$ac_c_werror_flag" ||
20026
test ! -s conftest.err
20027
} && test -s conftest.$ac_objext; then
20028
ac_header_compiler=yes
20030
echo "$as_me: failed program was:" >&5
20031
sed 's/^/| /' conftest.$ac_ext >&5
20033
ac_header_compiler=no
20036
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20037
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20038
echo "${ECHO_T}$ac_header_compiler" >&6; }
20040
# Is the header present?
20041
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
20042
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
20043
cat >conftest.$ac_ext <<_ACEOF
20046
cat confdefs.h >>conftest.$ac_ext
20047
cat >>conftest.$ac_ext <<_ACEOF
20048
/* end confdefs.h. */
20049
#include <$ac_header>
20051
if { (ac_try="$ac_cpp conftest.$ac_ext"
20052
case "(($ac_try" in
20053
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20054
*) ac_try_echo=$ac_try;;
20056
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20057
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
20059
grep -v '^ *+' conftest.er1 >conftest.err
20061
cat conftest.err >&5
20062
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20063
(exit $ac_status); } >/dev/null && {
20064
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
20065
test ! -s conftest.err
20067
ac_header_preproc=yes
20069
echo "$as_me: failed program was:" >&5
20070
sed 's/^/| /' conftest.$ac_ext >&5
20072
ac_header_preproc=no
20075
rm -f conftest.err conftest.$ac_ext
20076
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20077
echo "${ECHO_T}$ac_header_preproc" >&6; }
20079
# So? What about this header?
20080
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20082
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20083
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20084
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20085
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20086
ac_header_preproc=yes
20089
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20090
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20091
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20092
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20093
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20094
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20095
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20096
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20097
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20098
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20099
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20100
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20102
## ------------------------------ ##
20103
## Report this to dcbw@redhat.com ##
20104
## ------------------------------ ##
20106
) | sed "s/^/$as_me: WARNING: /" >&2
20109
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
20110
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20111
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20112
echo $ECHO_N "(cached) $ECHO_C" >&6
20114
eval "$as_ac_Header=\$ac_header_preproc"
20116
ac_res=`eval echo '${'$as_ac_Header'}'`
20117
{ echo "$as_me:$LINENO: result: $ac_res" >&5
20118
echo "${ECHO_T}$ac_res" >&6; }
20121
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20122
cat >>confdefs.h <<_ACEOF
20123
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20131
{ echo "$as_me:$LINENO: checking for mode_t" >&5
20132
echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
20133
if test "${ac_cv_type_mode_t+set}" = set; then
20134
echo $ECHO_N "(cached) $ECHO_C" >&6
20136
cat >conftest.$ac_ext <<_ACEOF
20139
cat confdefs.h >>conftest.$ac_ext
20140
cat >>conftest.$ac_ext <<_ACEOF
20141
/* end confdefs.h. */
20142
$ac_includes_default
20143
typedef mode_t ac__type_new_;
20147
if ((ac__type_new_ *) 0)
20149
if (sizeof (ac__type_new_))
20155
rm -f conftest.$ac_objext
20156
if { (ac_try="$ac_compile"
20157
case "(($ac_try" in
20158
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20159
*) ac_try_echo=$ac_try;;
20161
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20162
(eval "$ac_compile") 2>conftest.er1
20164
grep -v '^ *+' conftest.er1 >conftest.err
20166
cat conftest.err >&5
20167
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168
(exit $ac_status); } && {
20169
test -z "$ac_c_werror_flag" ||
20170
test ! -s conftest.err
20171
} && test -s conftest.$ac_objext; then
20172
ac_cv_type_mode_t=yes
20174
echo "$as_me: failed program was:" >&5
20175
sed 's/^/| /' conftest.$ac_ext >&5
20177
ac_cv_type_mode_t=no
20180
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20182
{ echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
20183
echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
20184
if test $ac_cv_type_mode_t = yes; then
20188
cat >>confdefs.h <<_ACEOF
20194
{ echo "$as_me:$LINENO: checking for pid_t" >&5
20195
echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
20196
if test "${ac_cv_type_pid_t+set}" = set; then
20197
echo $ECHO_N "(cached) $ECHO_C" >&6
20199
cat >conftest.$ac_ext <<_ACEOF
20202
cat confdefs.h >>conftest.$ac_ext
20203
cat >>conftest.$ac_ext <<_ACEOF
20204
/* end confdefs.h. */
20205
$ac_includes_default
20206
typedef pid_t ac__type_new_;
20210
if ((ac__type_new_ *) 0)
20212
if (sizeof (ac__type_new_))
20218
rm -f conftest.$ac_objext
20219
if { (ac_try="$ac_compile"
20220
case "(($ac_try" in
20221
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20222
*) ac_try_echo=$ac_try;;
20224
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20225
(eval "$ac_compile") 2>conftest.er1
20227
grep -v '^ *+' conftest.er1 >conftest.err
20229
cat conftest.err >&5
20230
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231
(exit $ac_status); } && {
20232
test -z "$ac_c_werror_flag" ||
20233
test ! -s conftest.err
20234
} && test -s conftest.$ac_objext; then
20235
ac_cv_type_pid_t=yes
20237
echo "$as_me: failed program was:" >&5
20238
sed 's/^/| /' conftest.$ac_ext >&5
20240
ac_cv_type_pid_t=no
20243
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20245
{ echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20246
echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
20247
if test $ac_cv_type_pid_t = yes; then
20251
cat >>confdefs.h <<_ACEOF
20257
{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20258
echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
20259
if test "${ac_cv_header_time+set}" = set; then
20260
echo $ECHO_N "(cached) $ECHO_C" >&6
20262
cat >conftest.$ac_ext <<_ACEOF
20265
cat confdefs.h >>conftest.$ac_ext
20266
cat >>conftest.$ac_ext <<_ACEOF
20267
/* end confdefs.h. */
20268
#include <sys/types.h>
20269
#include <sys/time.h>
20275
if ((struct tm *) 0)
20281
rm -f conftest.$ac_objext
20282
if { (ac_try="$ac_compile"
20283
case "(($ac_try" in
20284
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20285
*) ac_try_echo=$ac_try;;
20287
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20288
(eval "$ac_compile") 2>conftest.er1
20290
grep -v '^ *+' conftest.er1 >conftest.err
20292
cat conftest.err >&5
20293
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294
(exit $ac_status); } && {
20295
test -z "$ac_c_werror_flag" ||
20296
test ! -s conftest.err
20297
} && test -s conftest.$ac_objext; then
20298
ac_cv_header_time=yes
20300
echo "$as_me: failed program was:" >&5
20301
sed 's/^/| /' conftest.$ac_ext >&5
20303
ac_cv_header_time=no
20306
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20308
{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20309
echo "${ECHO_T}$ac_cv_header_time" >&6; }
20310
if test $ac_cv_header_time = yes; then
20312
cat >>confdefs.h <<\_ACEOF
20313
#define TIME_WITH_SYS_TIME 1
20319
if test $ac_cv_c_compiler_gnu = yes; then
20320
{ echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
20321
echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
20322
if test "${ac_cv_prog_gcc_traditional+set}" = set; then
20323
echo $ECHO_N "(cached) $ECHO_C" >&6
20325
ac_pattern="Autoconf.*'x'"
20326
cat >conftest.$ac_ext <<_ACEOF
20329
cat confdefs.h >>conftest.$ac_ext
20330
cat >>conftest.$ac_ext <<_ACEOF
20331
/* end confdefs.h. */
20335
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20336
$EGREP "$ac_pattern" >/dev/null 2>&1; then
20337
ac_cv_prog_gcc_traditional=yes
20339
ac_cv_prog_gcc_traditional=no
20344
if test $ac_cv_prog_gcc_traditional = no; then
20345
cat >conftest.$ac_ext <<_ACEOF
20348
cat confdefs.h >>conftest.$ac_ext
20349
cat >>conftest.$ac_ext <<_ACEOF
20350
/* end confdefs.h. */
20351
#include <termio.h>
20354
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20355
$EGREP "$ac_pattern" >/dev/null 2>&1; then
20356
ac_cv_prog_gcc_traditional=yes
20362
{ echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
20363
echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
20364
if test $ac_cv_prog_gcc_traditional = yes; then
20365
CC="$CC -traditional"
20369
{ echo "$as_me:$LINENO: checking for working memcmp" >&5
20370
echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
20371
if test "${ac_cv_func_memcmp_working+set}" = set; then
20372
echo $ECHO_N "(cached) $ECHO_C" >&6
20374
if test "$cross_compiling" = yes; then
20375
ac_cv_func_memcmp_working=no
20377
cat >conftest.$ac_ext <<_ACEOF
20380
cat confdefs.h >>conftest.$ac_ext
20381
cat >>conftest.$ac_ext <<_ACEOF
20382
/* end confdefs.h. */
20383
$ac_includes_default
20388
/* Some versions of memcmp are not 8-bit clean. */
20389
char c0 = '\100', c1 = '\200', c2 = '\201';
20390
if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
20393
/* The Next x86 OpenStep bug shows up only when comparing 16 bytes
20394
or more and with at least one buffer not starting on a 4-byte boundary.
20395
William Lewis provided this test program. */
20400
for (i = 0; i < 4; i++)
20404
strcpy (a, "--------01111111");
20405
strcpy (b, "--------10000000");
20406
if (memcmp (a, b, 16) >= 0)
20416
rm -f conftest$ac_exeext
20417
if { (ac_try="$ac_link"
20418
case "(($ac_try" in
20419
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20420
*) ac_try_echo=$ac_try;;
20422
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20423
(eval "$ac_link") 2>&5
20425
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20427
{ (case "(($ac_try" in
20428
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20429
*) ac_try_echo=$ac_try;;
20431
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20432
(eval "$ac_try") 2>&5
20434
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435
(exit $ac_status); }; }; then
20436
ac_cv_func_memcmp_working=yes
20438
echo "$as_me: program exited with status $ac_status" >&5
20439
echo "$as_me: failed program was:" >&5
20440
sed 's/^/| /' conftest.$ac_ext >&5
20442
( exit $ac_status )
20443
ac_cv_func_memcmp_working=no
20445
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20450
{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
20451
echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
20452
test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
20453
*" memcmp.$ac_objext "* ) ;;
20454
*) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
20462
for ac_func in select socket uname
20464
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20465
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
20466
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
20467
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
20468
echo $ECHO_N "(cached) $ECHO_C" >&6
20470
cat >conftest.$ac_ext <<_ACEOF
20473
cat confdefs.h >>conftest.$ac_ext
20474
cat >>conftest.$ac_ext <<_ACEOF
20475
/* end confdefs.h. */
20476
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20477
For example, HP-UX 11i <limits.h> declares gettimeofday. */
20478
#define $ac_func innocuous_$ac_func
20480
/* System header to define __stub macros and hopefully few prototypes,
20481
which can conflict with char $ac_func (); below.
20482
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20483
<limits.h> exists even on freestanding compilers. */
20486
# include <limits.h>
20488
# include <assert.h>
20493
/* Override any GCC internal prototype to avoid an error.
20494
Use char because int might match the return type of a GCC
20495
builtin and then its argument prototype would still apply. */
20500
/* The GNU C library defines this for functions which it implements
20501
to always fail with ENOSYS. Some functions are actually named
20502
something starting with __ and the normal name is an alias. */
20503
#if defined __stub_$ac_func || defined __stub___$ac_func
20510
return $ac_func ();
20515
rm -f conftest.$ac_objext conftest$ac_exeext
20516
if { (ac_try="$ac_link"
20517
case "(($ac_try" in
20518
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20519
*) ac_try_echo=$ac_try;;
20521
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20522
(eval "$ac_link") 2>conftest.er1
20524
grep -v '^ *+' conftest.er1 >conftest.err
20526
cat conftest.err >&5
20527
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528
(exit $ac_status); } && {
20529
test -z "$ac_c_werror_flag" ||
20530
test ! -s conftest.err
20531
} && test -s conftest$ac_exeext &&
20532
$as_test_x conftest$ac_exeext; then
20533
eval "$as_ac_var=yes"
20535
echo "$as_me: failed program was:" >&5
20536
sed 's/^/| /' conftest.$ac_ext >&5
20538
eval "$as_ac_var=no"
20541
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20542
conftest$ac_exeext conftest.$ac_ext
20544
ac_res=`eval echo '${'$as_ac_var'}'`
20545
{ echo "$as_me:$LINENO: result: $ac_res" >&5
20546
echo "${ECHO_T}$ac_res" >&6; }
20547
if test `eval echo '${'$as_ac_var'}'` = yes; then
20548
cat >>confdefs.h <<_ACEOF
20549
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20556
GETTEXT_PACKAGE=nm-applet
20559
cat >>confdefs.h <<_ACEOF
20560
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
20563
ALL_LINGUAS="ar bg bs ca cs da de dz el en_CA en_GB es fi fr gl gu hr hu it ja ko lt pl mk nb ne nl pa pt pt_BR ru rw sk sl sq sr@Latn sr sv tr uk vi wa zh_CN zh_HK zh_TW"
20565
case "$am__api_version" in
20567
{ { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
20568
echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
20569
{ (exit 1); exit 1; }; }
20575
if test -n "0.27.2"; then
20576
{ echo "$as_me:$LINENO: checking for intltool >= 0.27.2" >&5
20577
echo $ECHO_N "checking for intltool >= 0.27.2... $ECHO_C" >&6; }
20579
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.27.2 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
20580
INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in`
20581
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`
20583
{ echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
20584
echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; }
20585
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
20586
{ { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.27.2 or later." >&5
20587
echo "$as_me: error: Your intltool is too old. You need intltool 0.27.2 or later." >&2;}
20588
{ (exit 1); exit 1; }; }
20591
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 $< $@'
20592
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 $< $@'
20593
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 $< $@'
20594
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 $< $@'
20595
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
20596
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 $< $@'
20597
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 $< $@'
20598
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 $< $@'
20599
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 $< $@'
20600
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 $< $@'
20601
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 $< $@'
20602
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
20603
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 $< $@'
20604
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 $< $@'
20605
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 $< $@'
20606
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 $< $@'
20607
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 $< $@'
20608
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 $< $@'
20629
# Use the tools built into the package, not the ones that are installed.
20630
INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract'
20632
INTLTOOL_MERGE='$(top_builddir)/intltool-merge'
20634
INTLTOOL_UPDATE='$(top_builddir)/intltool-update'
20637
# Extract the first word of "perl", so it can be a program name with args.
20638
set dummy perl; ac_word=$2
20639
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20640
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20641
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
20642
echo $ECHO_N "(cached) $ECHO_C" >&6
20644
case $INTLTOOL_PERL in
20646
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
20649
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20650
for as_dir in $PATH
20653
test -z "$as_dir" && as_dir=.
20654
for ac_exec_ext in '' $ac_executable_extensions; do
20655
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20656
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
20657
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20667
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
20668
if test -n "$INTLTOOL_PERL"; then
20669
{ echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
20670
echo "${ECHO_T}$INTLTOOL_PERL" >&6; }
20672
{ echo "$as_me:$LINENO: result: no" >&5
20673
echo "${ECHO_T}no" >&6; }
20677
if test -z "$INTLTOOL_PERL"; then
20678
{ { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5
20679
echo "$as_me: error: perl not found; required for intltool" >&2;}
20680
{ (exit 1); exit 1; }; }
20682
if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then
20683
{ { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5
20684
echo "$as_me: error: perl 5.x required for intltool" >&2;}
20685
{ (exit 1); exit 1; }; }
20687
if test "x" != "xno-xml"; then
20688
{ echo "$as_me:$LINENO: checking for XML::Parser" >&5
20689
echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; }
20690
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
20691
{ echo "$as_me:$LINENO: result: ok" >&5
20692
echo "${ECHO_T}ok" >&6; }
20694
{ { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
20695
echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
20696
{ (exit 1); exit 1; }; }
20700
# Extract the first word of "iconv", so it can be a program name with args.
20701
set dummy iconv; ac_word=$2
20702
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20703
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20704
if test "${ac_cv_path_INTLTOOL_ICONV+set}" = set; then
20705
echo $ECHO_N "(cached) $ECHO_C" >&6
20707
case $INTLTOOL_ICONV in
20709
ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # Let the user override the test with a path.
20712
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20713
for as_dir in $PATH
20716
test -z "$as_dir" && as_dir=.
20717
for ac_exec_ext in '' $ac_executable_extensions; do
20718
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20719
ac_cv_path_INTLTOOL_ICONV="$as_dir/$ac_word$ac_exec_ext"
20720
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20727
test -z "$ac_cv_path_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv"
20731
INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV
20732
if test -n "$INTLTOOL_ICONV"; then
20733
{ echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5
20734
echo "${ECHO_T}$INTLTOOL_ICONV" >&6; }
20736
{ echo "$as_me:$LINENO: result: no" >&5
20737
echo "${ECHO_T}no" >&6; }
20741
# Extract the first word of "msgfmt", so it can be a program name with args.
20742
set dummy msgfmt; ac_word=$2
20743
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20744
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20745
if test "${ac_cv_path_INTLTOOL_MSGFMT+set}" = set; then
20746
echo $ECHO_N "(cached) $ECHO_C" >&6
20748
case $INTLTOOL_MSGFMT in
20750
ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_MSGFMT" # Let the user override the test with a path.
20753
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20754
for as_dir in $PATH
20757
test -z "$as_dir" && as_dir=.
20758
for ac_exec_ext in '' $ac_executable_extensions; do
20759
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20760
ac_cv_path_INTLTOOL_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
20761
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20768
test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt"
20772
INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT
20773
if test -n "$INTLTOOL_MSGFMT"; then
20774
{ echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5
20775
echo "${ECHO_T}$INTLTOOL_MSGFMT" >&6; }
20777
{ echo "$as_me:$LINENO: result: no" >&5
20778
echo "${ECHO_T}no" >&6; }
20782
# Extract the first word of "msgmerge", so it can be a program name with args.
20783
set dummy msgmerge; ac_word=$2
20784
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20785
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20786
if test "${ac_cv_path_INTLTOOL_MSGMERGE+set}" = set; then
20787
echo $ECHO_N "(cached) $ECHO_C" >&6
20789
case $INTLTOOL_MSGMERGE in
20791
ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_MSGMERGE" # Let the user override the test with a path.
20794
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20795
for as_dir in $PATH
20798
test -z "$as_dir" && as_dir=.
20799
for ac_exec_ext in '' $ac_executable_extensions; do
20800
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20801
ac_cv_path_INTLTOOL_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
20802
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20809
test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge"
20813
INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE
20814
if test -n "$INTLTOOL_MSGMERGE"; then
20815
{ echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5
20816
echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&6; }
20818
{ echo "$as_me:$LINENO: result: no" >&5
20819
echo "${ECHO_T}no" >&6; }
20823
# Extract the first word of "xgettext", so it can be a program name with args.
20824
set dummy xgettext; ac_word=$2
20825
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
20826
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20827
if test "${ac_cv_path_INTLTOOL_XGETTEXT+set}" = set; then
20828
echo $ECHO_N "(cached) $ECHO_C" >&6
20830
case $INTLTOOL_XGETTEXT in
20832
ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_XGETTEXT" # Let the user override the test with a path.
20835
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20836
for as_dir in $PATH
20839
test -z "$as_dir" && as_dir=.
20840
for ac_exec_ext in '' $ac_executable_extensions; do
20841
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20842
ac_cv_path_INTLTOOL_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
20843
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20850
test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext"
20854
INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT
20855
if test -n "$INTLTOOL_XGETTEXT"; then
20856
{ echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5
20857
echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6; }
20859
{ echo "$as_me:$LINENO: result: no" >&5
20860
echo "${ECHO_T}no" >&6; }
20865
# Substitute ALL_LINGUAS so we can use it in po/Makefile
20868
# Set DATADIRNAME correctly if it is not set yet
20869
# (copied from glib-gettext.m4)
20870
if test -z "$DATADIRNAME"; then
20871
cat >conftest.$ac_ext <<_ACEOF
20874
cat confdefs.h >>conftest.$ac_ext
20875
cat >>conftest.$ac_ext <<_ACEOF
20876
/* end confdefs.h. */
20881
extern int _nl_msg_cat_cntr;
20882
return _nl_msg_cat_cntr
20887
rm -f conftest.$ac_objext conftest$ac_exeext
20888
if { (ac_try="$ac_link"
20889
case "(($ac_try" in
20890
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20891
*) ac_try_echo=$ac_try;;
20893
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20894
(eval "$ac_link") 2>conftest.er1
20896
grep -v '^ *+' conftest.er1 >conftest.err
20898
cat conftest.err >&5
20899
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900
(exit $ac_status); } && {
20901
test -z "$ac_c_werror_flag" ||
20902
test ! -s conftest.err
20903
} && test -s conftest$ac_exeext &&
20904
$as_test_x conftest$ac_exeext; then
20907
echo "$as_me: failed program was:" >&5
20908
sed 's/^/| /' conftest.$ac_ext >&5
20912
{ echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
20913
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
20914
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
20915
echo $ECHO_N "(cached) $ECHO_C" >&6
20917
cat >conftest.$ac_ext <<_ACEOF
20920
cat confdefs.h >>conftest.$ac_ext
20921
cat >>conftest.$ac_ext <<_ACEOF
20922
/* end confdefs.h. */
20923
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
20924
For example, HP-UX 11i <limits.h> declares gettimeofday. */
20925
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
20927
/* System header to define __stub macros and hopefully few prototypes,
20928
which can conflict with char bind_textdomain_codeset (); below.
20929
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20930
<limits.h> exists even on freestanding compilers. */
20933
# include <limits.h>
20935
# include <assert.h>
20938
#undef bind_textdomain_codeset
20940
/* Override any GCC internal prototype to avoid an error.
20941
Use char because int might match the return type of a GCC
20942
builtin and then its argument prototype would still apply. */
20946
char bind_textdomain_codeset ();
20947
/* The GNU C library defines this for functions which it implements
20948
to always fail with ENOSYS. Some functions are actually named
20949
something starting with __ and the normal name is an alias. */
20950
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
20957
return bind_textdomain_codeset ();
20962
rm -f conftest.$ac_objext conftest$ac_exeext
20963
if { (ac_try="$ac_link"
20964
case "(($ac_try" in
20965
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20966
*) ac_try_echo=$ac_try;;
20968
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20969
(eval "$ac_link") 2>conftest.er1
20971
grep -v '^ *+' conftest.er1 >conftest.err
20973
cat conftest.err >&5
20974
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975
(exit $ac_status); } && {
20976
test -z "$ac_c_werror_flag" ||
20977
test ! -s conftest.err
20978
} && test -s conftest$ac_exeext &&
20979
$as_test_x conftest$ac_exeext; then
20980
ac_cv_func_bind_textdomain_codeset=yes
20982
echo "$as_me: failed program was:" >&5
20983
sed 's/^/| /' conftest.$ac_ext >&5
20985
ac_cv_func_bind_textdomain_codeset=no
20988
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20989
conftest$ac_exeext conftest.$ac_ext
20991
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
20992
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
20993
if test $ac_cv_func_bind_textdomain_codeset = yes; then
21006
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21007
conftest$ac_exeext conftest.$ac_ext
21014
ac_config_commands="$ac_config_commands intltool"
21020
for ac_header in locale.h
21022
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21023
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21024
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21025
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21026
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21027
echo $ECHO_N "(cached) $ECHO_C" >&6
21029
ac_res=`eval echo '${'$as_ac_Header'}'`
21030
{ echo "$as_me:$LINENO: result: $ac_res" >&5
21031
echo "${ECHO_T}$ac_res" >&6; }
21033
# Is the header compilable?
21034
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
21035
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
21036
cat >conftest.$ac_ext <<_ACEOF
21039
cat confdefs.h >>conftest.$ac_ext
21040
cat >>conftest.$ac_ext <<_ACEOF
21041
/* end confdefs.h. */
21042
$ac_includes_default
21043
#include <$ac_header>
21045
rm -f conftest.$ac_objext
21046
if { (ac_try="$ac_compile"
21047
case "(($ac_try" in
21048
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21049
*) ac_try_echo=$ac_try;;
21051
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21052
(eval "$ac_compile") 2>conftest.er1
21054
grep -v '^ *+' conftest.er1 >conftest.err
21056
cat conftest.err >&5
21057
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058
(exit $ac_status); } && {
21059
test -z "$ac_c_werror_flag" ||
21060
test ! -s conftest.err
21061
} && test -s conftest.$ac_objext; then
21062
ac_header_compiler=yes
21064
echo "$as_me: failed program was:" >&5
21065
sed 's/^/| /' conftest.$ac_ext >&5
21067
ac_header_compiler=no
21070
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21071
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21072
echo "${ECHO_T}$ac_header_compiler" >&6; }
21074
# Is the header present?
21075
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
21076
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
21077
cat >conftest.$ac_ext <<_ACEOF
21080
cat confdefs.h >>conftest.$ac_ext
21081
cat >>conftest.$ac_ext <<_ACEOF
21082
/* end confdefs.h. */
21083
#include <$ac_header>
21085
if { (ac_try="$ac_cpp conftest.$ac_ext"
21086
case "(($ac_try" in
21087
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21088
*) ac_try_echo=$ac_try;;
21090
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21091
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21093
grep -v '^ *+' conftest.er1 >conftest.err
21095
cat conftest.err >&5
21096
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21097
(exit $ac_status); } >/dev/null && {
21098
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21099
test ! -s conftest.err
21101
ac_header_preproc=yes
21103
echo "$as_me: failed program was:" >&5
21104
sed 's/^/| /' conftest.$ac_ext >&5
21106
ac_header_preproc=no
21109
rm -f conftest.err conftest.$ac_ext
21110
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21111
echo "${ECHO_T}$ac_header_preproc" >&6; }
21113
# So? What about this header?
21114
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21116
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21117
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21118
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21119
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21120
ac_header_preproc=yes
21123
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21124
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21125
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21126
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21127
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21128
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21129
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21130
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21131
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21132
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21133
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21134
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21136
## ------------------------------ ##
21137
## Report this to dcbw@redhat.com ##
21138
## ------------------------------ ##
21140
) | sed "s/^/$as_me: WARNING: /" >&2
21143
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
21144
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21145
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21146
echo $ECHO_N "(cached) $ECHO_C" >&6
21148
eval "$as_ac_Header=\$ac_header_preproc"
21150
ac_res=`eval echo '${'$as_ac_Header'}'`
21151
{ echo "$as_me:$LINENO: result: $ac_res" >&5
21152
echo "${ECHO_T}$ac_res" >&6; }
21155
if test `eval echo '${'$as_ac_Header'}'` = yes; then
21156
cat >>confdefs.h <<_ACEOF
21157
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21164
if test $ac_cv_header_locale_h = yes; then
21165
{ echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
21166
echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
21167
if test "${am_cv_val_LC_MESSAGES+set}" = set; then
21168
echo $ECHO_N "(cached) $ECHO_C" >&6
21170
cat >conftest.$ac_ext <<_ACEOF
21173
cat confdefs.h >>conftest.$ac_ext
21174
cat >>conftest.$ac_ext <<_ACEOF
21175
/* end confdefs.h. */
21176
#include <locale.h>
21185
rm -f conftest.$ac_objext conftest$ac_exeext
21186
if { (ac_try="$ac_link"
21187
case "(($ac_try" in
21188
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21189
*) ac_try_echo=$ac_try;;
21191
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21192
(eval "$ac_link") 2>conftest.er1
21194
grep -v '^ *+' conftest.er1 >conftest.err
21196
cat conftest.err >&5
21197
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198
(exit $ac_status); } && {
21199
test -z "$ac_c_werror_flag" ||
21200
test ! -s conftest.err
21201
} && test -s conftest$ac_exeext &&
21202
$as_test_x conftest$ac_exeext; then
21203
am_cv_val_LC_MESSAGES=yes
21205
echo "$as_me: failed program was:" >&5
21206
sed 's/^/| /' conftest.$ac_ext >&5
21208
am_cv_val_LC_MESSAGES=no
21211
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21212
conftest$ac_exeext conftest.$ac_ext
21214
{ echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
21215
echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
21216
if test $am_cv_val_LC_MESSAGES = yes; then
21218
cat >>confdefs.h <<\_ACEOF
21219
#define HAVE_LC_MESSAGES 1
21227
gt_cv_have_gettext=no
21233
if test "${ac_cv_header_libintl_h+set}" = set; then
21234
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
21235
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
21236
if test "${ac_cv_header_libintl_h+set}" = set; then
21237
echo $ECHO_N "(cached) $ECHO_C" >&6
21239
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
21240
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
21242
# Is the header compilable?
21243
{ echo "$as_me:$LINENO: checking libintl.h usability" >&5
21244
echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
21245
cat >conftest.$ac_ext <<_ACEOF
21248
cat confdefs.h >>conftest.$ac_ext
21249
cat >>conftest.$ac_ext <<_ACEOF
21250
/* end confdefs.h. */
21251
$ac_includes_default
21252
#include <libintl.h>
21254
rm -f conftest.$ac_objext
21255
if { (ac_try="$ac_compile"
21256
case "(($ac_try" in
21257
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21258
*) ac_try_echo=$ac_try;;
21260
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21261
(eval "$ac_compile") 2>conftest.er1
21263
grep -v '^ *+' conftest.er1 >conftest.err
21265
cat conftest.err >&5
21266
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21267
(exit $ac_status); } && {
21268
test -z "$ac_c_werror_flag" ||
21269
test ! -s conftest.err
21270
} && test -s conftest.$ac_objext; then
21271
ac_header_compiler=yes
21273
echo "$as_me: failed program was:" >&5
21274
sed 's/^/| /' conftest.$ac_ext >&5
21276
ac_header_compiler=no
21279
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21280
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21281
echo "${ECHO_T}$ac_header_compiler" >&6; }
21283
# Is the header present?
21284
{ echo "$as_me:$LINENO: checking libintl.h presence" >&5
21285
echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
21286
cat >conftest.$ac_ext <<_ACEOF
21289
cat confdefs.h >>conftest.$ac_ext
21290
cat >>conftest.$ac_ext <<_ACEOF
21291
/* end confdefs.h. */
21292
#include <libintl.h>
21294
if { (ac_try="$ac_cpp conftest.$ac_ext"
21295
case "(($ac_try" in
21296
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21297
*) ac_try_echo=$ac_try;;
21299
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21300
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21302
grep -v '^ *+' conftest.er1 >conftest.err
21304
cat conftest.err >&5
21305
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306
(exit $ac_status); } >/dev/null && {
21307
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21308
test ! -s conftest.err
21310
ac_header_preproc=yes
21312
echo "$as_me: failed program was:" >&5
21313
sed 's/^/| /' conftest.$ac_ext >&5
21315
ac_header_preproc=no
21318
rm -f conftest.err conftest.$ac_ext
21319
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21320
echo "${ECHO_T}$ac_header_preproc" >&6; }
21322
# So? What about this header?
21323
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21325
{ echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
21326
echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21327
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
21328
echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
21329
ac_header_preproc=yes
21332
{ echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
21333
echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
21334
{ echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5
21335
echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;}
21336
{ echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
21337
echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
21338
{ echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5
21339
echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;}
21340
{ echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
21341
echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
21342
{ echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
21343
echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
21345
## ------------------------------ ##
21346
## Report this to dcbw@redhat.com ##
21347
## ------------------------------ ##
21349
) | sed "s/^/$as_me: WARNING: /" >&2
21352
{ echo "$as_me:$LINENO: checking for libintl.h" >&5
21353
echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
21354
if test "${ac_cv_header_libintl_h+set}" = set; then
21355
echo $ECHO_N "(cached) $ECHO_C" >&6
21357
ac_cv_header_libintl_h=$ac_header_preproc
21359
{ echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
21360
echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
21363
if test $ac_cv_header_libintl_h = yes; then
21364
gt_cv_func_dgettext_libintl="no"
21365
libintl_extra_libs=""
21368
# First check in libc
21370
{ echo "$as_me:$LINENO: checking for ngettext in libc" >&5
21371
echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
21372
if test "${gt_cv_func_ngettext_libc+set}" = set; then
21373
echo $ECHO_N "(cached) $ECHO_C" >&6
21375
cat >conftest.$ac_ext <<_ACEOF
21378
cat confdefs.h >>conftest.$ac_ext
21379
cat >>conftest.$ac_ext <<_ACEOF
21380
/* end confdefs.h. */
21382
#include <libintl.h>
21387
return !ngettext ("","", 1)
21392
rm -f conftest.$ac_objext conftest$ac_exeext
21393
if { (ac_try="$ac_link"
21394
case "(($ac_try" in
21395
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21396
*) ac_try_echo=$ac_try;;
21398
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21399
(eval "$ac_link") 2>conftest.er1
21401
grep -v '^ *+' conftest.er1 >conftest.err
21403
cat conftest.err >&5
21404
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405
(exit $ac_status); } && {
21406
test -z "$ac_c_werror_flag" ||
21407
test ! -s conftest.err
21408
} && test -s conftest$ac_exeext &&
21409
$as_test_x conftest$ac_exeext; then
21410
gt_cv_func_ngettext_libc=yes
21412
echo "$as_me: failed program was:" >&5
21413
sed 's/^/| /' conftest.$ac_ext >&5
21415
gt_cv_func_ngettext_libc=no
21418
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21419
conftest$ac_exeext conftest.$ac_ext
21422
{ echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
21423
echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
21425
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
21426
{ echo "$as_me:$LINENO: checking for dgettext in libc" >&5
21427
echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
21428
if test "${gt_cv_func_dgettext_libc+set}" = set; then
21429
echo $ECHO_N "(cached) $ECHO_C" >&6
21431
cat >conftest.$ac_ext <<_ACEOF
21434
cat confdefs.h >>conftest.$ac_ext
21435
cat >>conftest.$ac_ext <<_ACEOF
21436
/* end confdefs.h. */
21438
#include <libintl.h>
21443
return !dgettext ("","")
21448
rm -f conftest.$ac_objext conftest$ac_exeext
21449
if { (ac_try="$ac_link"
21450
case "(($ac_try" in
21451
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21452
*) ac_try_echo=$ac_try;;
21454
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21455
(eval "$ac_link") 2>conftest.er1
21457
grep -v '^ *+' conftest.er1 >conftest.err
21459
cat conftest.err >&5
21460
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21461
(exit $ac_status); } && {
21462
test -z "$ac_c_werror_flag" ||
21463
test ! -s conftest.err
21464
} && test -s conftest$ac_exeext &&
21465
$as_test_x conftest$ac_exeext; then
21466
gt_cv_func_dgettext_libc=yes
21468
echo "$as_me: failed program was:" >&5
21469
sed 's/^/| /' conftest.$ac_ext >&5
21471
gt_cv_func_dgettext_libc=no
21474
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21475
conftest$ac_exeext conftest.$ac_ext
21478
{ echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
21479
echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
21482
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
21484
for ac_func in bind_textdomain_codeset
21486
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21487
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21488
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21489
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21490
echo $ECHO_N "(cached) $ECHO_C" >&6
21492
cat >conftest.$ac_ext <<_ACEOF
21495
cat confdefs.h >>conftest.$ac_ext
21496
cat >>conftest.$ac_ext <<_ACEOF
21497
/* end confdefs.h. */
21498
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21499
For example, HP-UX 11i <limits.h> declares gettimeofday. */
21500
#define $ac_func innocuous_$ac_func
21502
/* System header to define __stub macros and hopefully few prototypes,
21503
which can conflict with char $ac_func (); below.
21504
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21505
<limits.h> exists even on freestanding compilers. */
21508
# include <limits.h>
21510
# include <assert.h>
21515
/* Override any GCC internal prototype to avoid an error.
21516
Use char because int might match the return type of a GCC
21517
builtin and then its argument prototype would still apply. */
21522
/* The GNU C library defines this for functions which it implements
21523
to always fail with ENOSYS. Some functions are actually named
21524
something starting with __ and the normal name is an alias. */
21525
#if defined __stub_$ac_func || defined __stub___$ac_func
21532
return $ac_func ();
21537
rm -f conftest.$ac_objext conftest$ac_exeext
21538
if { (ac_try="$ac_link"
21539
case "(($ac_try" in
21540
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21541
*) ac_try_echo=$ac_try;;
21543
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21544
(eval "$ac_link") 2>conftest.er1
21546
grep -v '^ *+' conftest.er1 >conftest.err
21548
cat conftest.err >&5
21549
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550
(exit $ac_status); } && {
21551
test -z "$ac_c_werror_flag" ||
21552
test ! -s conftest.err
21553
} && test -s conftest$ac_exeext &&
21554
$as_test_x conftest$ac_exeext; then
21555
eval "$as_ac_var=yes"
21557
echo "$as_me: failed program was:" >&5
21558
sed 's/^/| /' conftest.$ac_ext >&5
21560
eval "$as_ac_var=no"
21563
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21564
conftest$ac_exeext conftest.$ac_ext
21566
ac_res=`eval echo '${'$as_ac_var'}'`
21567
{ echo "$as_me:$LINENO: result: $ac_res" >&5
21568
echo "${ECHO_T}$ac_res" >&6; }
21569
if test `eval echo '${'$as_ac_var'}'` = yes; then
21570
cat >>confdefs.h <<_ACEOF
21571
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21580
# If we don't have everything we want, check in libintl
21582
if test "$gt_cv_func_dgettext_libc" != "yes" \
21583
|| test "$gt_cv_func_ngettext_libc" != "yes" \
21584
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
21586
{ echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
21587
echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
21588
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
21589
echo $ECHO_N "(cached) $ECHO_C" >&6
21591
ac_check_lib_save_LIBS=$LIBS
21592
LIBS="-lintl $LIBS"
21593
cat >conftest.$ac_ext <<_ACEOF
21596
cat confdefs.h >>conftest.$ac_ext
21597
cat >>conftest.$ac_ext <<_ACEOF
21598
/* end confdefs.h. */
21600
/* Override any GCC internal prototype to avoid an error.
21601
Use char because int might match the return type of a GCC
21602
builtin and then its argument prototype would still apply. */
21606
char bindtextdomain ();
21610
return bindtextdomain ();
21615
rm -f conftest.$ac_objext conftest$ac_exeext
21616
if { (ac_try="$ac_link"
21617
case "(($ac_try" in
21618
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21619
*) ac_try_echo=$ac_try;;
21621
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21622
(eval "$ac_link") 2>conftest.er1
21624
grep -v '^ *+' conftest.er1 >conftest.err
21626
cat conftest.err >&5
21627
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21628
(exit $ac_status); } && {
21629
test -z "$ac_c_werror_flag" ||
21630
test ! -s conftest.err
21631
} && test -s conftest$ac_exeext &&
21632
$as_test_x conftest$ac_exeext; then
21633
ac_cv_lib_intl_bindtextdomain=yes
21635
echo "$as_me: failed program was:" >&5
21636
sed 's/^/| /' conftest.$ac_ext >&5
21638
ac_cv_lib_intl_bindtextdomain=no
21641
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21642
conftest$ac_exeext conftest.$ac_ext
21643
LIBS=$ac_check_lib_save_LIBS
21645
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
21646
echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
21647
if test $ac_cv_lib_intl_bindtextdomain = yes; then
21648
{ echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
21649
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
21650
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
21651
echo $ECHO_N "(cached) $ECHO_C" >&6
21653
ac_check_lib_save_LIBS=$LIBS
21654
LIBS="-lintl $LIBS"
21655
cat >conftest.$ac_ext <<_ACEOF
21658
cat confdefs.h >>conftest.$ac_ext
21659
cat >>conftest.$ac_ext <<_ACEOF
21660
/* end confdefs.h. */
21662
/* Override any GCC internal prototype to avoid an error.
21663
Use char because int might match the return type of a GCC
21664
builtin and then its argument prototype would still apply. */
21672
return ngettext ();
21677
rm -f conftest.$ac_objext conftest$ac_exeext
21678
if { (ac_try="$ac_link"
21679
case "(($ac_try" in
21680
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21681
*) ac_try_echo=$ac_try;;
21683
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21684
(eval "$ac_link") 2>conftest.er1
21686
grep -v '^ *+' conftest.er1 >conftest.err
21688
cat conftest.err >&5
21689
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690
(exit $ac_status); } && {
21691
test -z "$ac_c_werror_flag" ||
21692
test ! -s conftest.err
21693
} && test -s conftest$ac_exeext &&
21694
$as_test_x conftest$ac_exeext; then
21695
ac_cv_lib_intl_ngettext=yes
21697
echo "$as_me: failed program was:" >&5
21698
sed 's/^/| /' conftest.$ac_ext >&5
21700
ac_cv_lib_intl_ngettext=no
21703
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21704
conftest$ac_exeext conftest.$ac_ext
21705
LIBS=$ac_check_lib_save_LIBS
21707
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
21708
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
21709
if test $ac_cv_lib_intl_ngettext = yes; then
21710
{ echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
21711
echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
21712
if test "${ac_cv_lib_intl_dgettext+set}" = set; then
21713
echo $ECHO_N "(cached) $ECHO_C" >&6
21715
ac_check_lib_save_LIBS=$LIBS
21716
LIBS="-lintl $LIBS"
21717
cat >conftest.$ac_ext <<_ACEOF
21720
cat confdefs.h >>conftest.$ac_ext
21721
cat >>conftest.$ac_ext <<_ACEOF
21722
/* end confdefs.h. */
21724
/* Override any GCC internal prototype to avoid an error.
21725
Use char because int might match the return type of a GCC
21726
builtin and then its argument prototype would still apply. */
21734
return dgettext ();
21739
rm -f conftest.$ac_objext conftest$ac_exeext
21740
if { (ac_try="$ac_link"
21741
case "(($ac_try" in
21742
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21743
*) ac_try_echo=$ac_try;;
21745
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21746
(eval "$ac_link") 2>conftest.er1
21748
grep -v '^ *+' conftest.er1 >conftest.err
21750
cat conftest.err >&5
21751
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752
(exit $ac_status); } && {
21753
test -z "$ac_c_werror_flag" ||
21754
test ! -s conftest.err
21755
} && test -s conftest$ac_exeext &&
21756
$as_test_x conftest$ac_exeext; then
21757
ac_cv_lib_intl_dgettext=yes
21759
echo "$as_me: failed program was:" >&5
21760
sed 's/^/| /' conftest.$ac_ext >&5
21762
ac_cv_lib_intl_dgettext=no
21765
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21766
conftest$ac_exeext conftest.$ac_ext
21767
LIBS=$ac_check_lib_save_LIBS
21769
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
21770
echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
21771
if test $ac_cv_lib_intl_dgettext = yes; then
21772
gt_cv_func_dgettext_libintl=yes
21780
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
21781
{ echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
21782
echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
21783
{ echo "$as_me:$LINENO: result: " >&5
21784
echo "${ECHO_T}" >&6; }
21785
{ echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
21786
echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
21787
if test "${ac_cv_lib_intl_ngettext+set}" = set; then
21788
echo $ECHO_N "(cached) $ECHO_C" >&6
21790
ac_check_lib_save_LIBS=$LIBS
21791
LIBS="-lintl -liconv $LIBS"
21792
cat >conftest.$ac_ext <<_ACEOF
21795
cat confdefs.h >>conftest.$ac_ext
21796
cat >>conftest.$ac_ext <<_ACEOF
21797
/* end confdefs.h. */
21799
/* Override any GCC internal prototype to avoid an error.
21800
Use char because int might match the return type of a GCC
21801
builtin and then its argument prototype would still apply. */
21809
return ngettext ();
21814
rm -f conftest.$ac_objext conftest$ac_exeext
21815
if { (ac_try="$ac_link"
21816
case "(($ac_try" in
21817
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21818
*) ac_try_echo=$ac_try;;
21820
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21821
(eval "$ac_link") 2>conftest.er1
21823
grep -v '^ *+' conftest.er1 >conftest.err
21825
cat conftest.err >&5
21826
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21827
(exit $ac_status); } && {
21828
test -z "$ac_c_werror_flag" ||
21829
test ! -s conftest.err
21830
} && test -s conftest$ac_exeext &&
21831
$as_test_x conftest$ac_exeext; then
21832
ac_cv_lib_intl_ngettext=yes
21834
echo "$as_me: failed program was:" >&5
21835
sed 's/^/| /' conftest.$ac_ext >&5
21837
ac_cv_lib_intl_ngettext=no
21840
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21841
conftest$ac_exeext conftest.$ac_ext
21842
LIBS=$ac_check_lib_save_LIBS
21844
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
21845
echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
21846
if test $ac_cv_lib_intl_ngettext = yes; then
21847
{ echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
21848
echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
21849
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
21850
echo $ECHO_N "(cached) $ECHO_C" >&6
21852
ac_check_lib_save_LIBS=$LIBS
21853
LIBS="-lintl -liconv $LIBS"
21854
cat >conftest.$ac_ext <<_ACEOF
21857
cat confdefs.h >>conftest.$ac_ext
21858
cat >>conftest.$ac_ext <<_ACEOF
21859
/* end confdefs.h. */
21861
/* Override any GCC internal prototype to avoid an error.
21862
Use char because int might match the return type of a GCC
21863
builtin and then its argument prototype would still apply. */
21871
return dcgettext ();
21876
rm -f conftest.$ac_objext conftest$ac_exeext
21877
if { (ac_try="$ac_link"
21878
case "(($ac_try" in
21879
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21880
*) ac_try_echo=$ac_try;;
21882
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21883
(eval "$ac_link") 2>conftest.er1
21885
grep -v '^ *+' conftest.er1 >conftest.err
21887
cat conftest.err >&5
21888
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889
(exit $ac_status); } && {
21890
test -z "$ac_c_werror_flag" ||
21891
test ! -s conftest.err
21892
} && test -s conftest$ac_exeext &&
21893
$as_test_x conftest$ac_exeext; then
21894
ac_cv_lib_intl_dcgettext=yes
21896
echo "$as_me: failed program was:" >&5
21897
sed 's/^/| /' conftest.$ac_ext >&5
21899
ac_cv_lib_intl_dcgettext=no
21902
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21903
conftest$ac_exeext conftest.$ac_ext
21904
LIBS=$ac_check_lib_save_LIBS
21906
{ echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
21907
echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
21908
if test $ac_cv_lib_intl_dcgettext = yes; then
21909
gt_cv_func_dgettext_libintl=yes
21910
libintl_extra_libs=-liconv
21922
# If we found libintl, then check in it for bind_textdomain_codeset();
21923
# we'll prefer libc if neither have bind_textdomain_codeset(),
21924
# and both have dgettext and ngettext
21926
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
21927
glib_save_LIBS="$LIBS"
21928
LIBS="$LIBS -lintl $libintl_extra_libs"
21929
unset ac_cv_func_bind_textdomain_codeset
21931
for ac_func in bind_textdomain_codeset
21933
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21934
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
21935
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
21936
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
21937
echo $ECHO_N "(cached) $ECHO_C" >&6
21939
cat >conftest.$ac_ext <<_ACEOF
21942
cat confdefs.h >>conftest.$ac_ext
21943
cat >>conftest.$ac_ext <<_ACEOF
21944
/* end confdefs.h. */
21945
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21946
For example, HP-UX 11i <limits.h> declares gettimeofday. */
21947
#define $ac_func innocuous_$ac_func
21949
/* System header to define __stub macros and hopefully few prototypes,
21950
which can conflict with char $ac_func (); below.
21951
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21952
<limits.h> exists even on freestanding compilers. */
21955
# include <limits.h>
21957
# include <assert.h>
21962
/* Override any GCC internal prototype to avoid an error.
21963
Use char because int might match the return type of a GCC
21964
builtin and then its argument prototype would still apply. */
21969
/* The GNU C library defines this for functions which it implements
21970
to always fail with ENOSYS. Some functions are actually named
21971
something starting with __ and the normal name is an alias. */
21972
#if defined __stub_$ac_func || defined __stub___$ac_func
21979
return $ac_func ();
21984
rm -f conftest.$ac_objext conftest$ac_exeext
21985
if { (ac_try="$ac_link"
21986
case "(($ac_try" in
21987
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21988
*) ac_try_echo=$ac_try;;
21990
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21991
(eval "$ac_link") 2>conftest.er1
21993
grep -v '^ *+' conftest.er1 >conftest.err
21995
cat conftest.err >&5
21996
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997
(exit $ac_status); } && {
21998
test -z "$ac_c_werror_flag" ||
21999
test ! -s conftest.err
22000
} && test -s conftest$ac_exeext &&
22001
$as_test_x conftest$ac_exeext; then
22002
eval "$as_ac_var=yes"
22004
echo "$as_me: failed program was:" >&5
22005
sed 's/^/| /' conftest.$ac_ext >&5
22007
eval "$as_ac_var=no"
22010
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22011
conftest$ac_exeext conftest.$ac_ext
22013
ac_res=`eval echo '${'$as_ac_var'}'`
22014
{ echo "$as_me:$LINENO: result: $ac_res" >&5
22015
echo "${ECHO_T}$ac_res" >&6; }
22016
if test `eval echo '${'$as_ac_var'}'` = yes; then
22017
cat >>confdefs.h <<_ACEOF
22018
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22024
LIBS="$glib_save_LIBS"
22026
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
22027
gt_cv_func_dgettext_libc=no
22029
if test "$gt_cv_func_dgettext_libc" = "yes" \
22030
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
22031
gt_cv_func_dgettext_libintl=no
22037
if test "$gt_cv_func_dgettext_libc" = "yes" \
22038
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
22039
gt_cv_have_gettext=yes
22042
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
22043
INTLLIBS="-lintl $libintl_extra_libs"
22046
if test "$gt_cv_have_gettext" = "yes"; then
22048
cat >>confdefs.h <<\_ACEOF
22049
#define HAVE_GETTEXT 1
22052
# Extract the first word of "msgfmt", so it can be a program name with args.
22053
set dummy msgfmt; ac_word=$2
22054
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22055
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22056
if test "${ac_cv_path_MSGFMT+set}" = set; then
22057
echo $ECHO_N "(cached) $ECHO_C" >&6
22061
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
22064
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22065
for ac_dir in $PATH; do
22066
test -z "$ac_dir" && ac_dir=.
22067
if test -f $ac_dir/$ac_word; then
22068
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
22069
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
22075
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
22079
MSGFMT="$ac_cv_path_MSGFMT"
22080
if test "$MSGFMT" != "no"; then
22081
{ echo "$as_me:$LINENO: result: $MSGFMT" >&5
22082
echo "${ECHO_T}$MSGFMT" >&6; }
22084
{ echo "$as_me:$LINENO: result: no" >&5
22085
echo "${ECHO_T}no" >&6; }
22087
if test "$MSGFMT" != "no"; then
22088
glib_save_LIBS="$LIBS"
22089
LIBS="$LIBS $INTLLIBS"
22091
for ac_func in dcgettext
22093
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22094
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
22095
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
22096
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
22097
echo $ECHO_N "(cached) $ECHO_C" >&6
22099
cat >conftest.$ac_ext <<_ACEOF
22102
cat confdefs.h >>conftest.$ac_ext
22103
cat >>conftest.$ac_ext <<_ACEOF
22104
/* end confdefs.h. */
22105
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22106
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22107
#define $ac_func innocuous_$ac_func
22109
/* System header to define __stub macros and hopefully few prototypes,
22110
which can conflict with char $ac_func (); below.
22111
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22112
<limits.h> exists even on freestanding compilers. */
22115
# include <limits.h>
22117
# include <assert.h>
22122
/* Override any GCC internal prototype to avoid an error.
22123
Use char because int might match the return type of a GCC
22124
builtin and then its argument prototype would still apply. */
22129
/* The GNU C library defines this for functions which it implements
22130
to always fail with ENOSYS. Some functions are actually named
22131
something starting with __ and the normal name is an alias. */
22132
#if defined __stub_$ac_func || defined __stub___$ac_func
22139
return $ac_func ();
22144
rm -f conftest.$ac_objext conftest$ac_exeext
22145
if { (ac_try="$ac_link"
22146
case "(($ac_try" in
22147
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22148
*) ac_try_echo=$ac_try;;
22150
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22151
(eval "$ac_link") 2>conftest.er1
22153
grep -v '^ *+' conftest.er1 >conftest.err
22155
cat conftest.err >&5
22156
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157
(exit $ac_status); } && {
22158
test -z "$ac_c_werror_flag" ||
22159
test ! -s conftest.err
22160
} && test -s conftest$ac_exeext &&
22161
$as_test_x conftest$ac_exeext; then
22162
eval "$as_ac_var=yes"
22164
echo "$as_me: failed program was:" >&5
22165
sed 's/^/| /' conftest.$ac_ext >&5
22167
eval "$as_ac_var=no"
22170
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22171
conftest$ac_exeext conftest.$ac_ext
22173
ac_res=`eval echo '${'$as_ac_var'}'`
22174
{ echo "$as_me:$LINENO: result: $ac_res" >&5
22175
echo "${ECHO_T}$ac_res" >&6; }
22176
if test `eval echo '${'$as_ac_var'}'` = yes; then
22177
cat >>confdefs.h <<_ACEOF
22178
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22185
{ echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
22186
echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
22187
cat >conftest.foo <<_ACEOF
22191
"Content-Type: text/plain; charset=UTF-8\n"
22192
"Project-Id-Version: test 1.0\n"
22193
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
22194
"Last-Translator: test <foo@bar.xx>\n"
22195
"Language-Team: C <LL@li.org>\n"
22196
"MIME-Version: 1.0\n"
22197
"Content-Transfer-Encoding: 8bit\n"
22200
if { (echo "$as_me:$LINENO: msgfmt -c -o /dev/null conftest.foo") >&5
22201
(msgfmt -c -o /dev/null conftest.foo) 2>&5
22203
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204
(exit $ac_status); }; then
22205
MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
22206
echo "${ECHO_T}yes" >&6; }
22207
else { echo "$as_me:$LINENO: result: no" >&5
22208
echo "${ECHO_T}no" >&6; }
22209
echo "$as_me: failed input was:" >&5
22210
sed 's/^/| /' conftest.foo >&5
22213
# Extract the first word of "gmsgfmt", so it can be a program name with args.
22214
set dummy gmsgfmt; ac_word=$2
22215
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22216
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22217
if test "${ac_cv_path_GMSGFMT+set}" = set; then
22218
echo $ECHO_N "(cached) $ECHO_C" >&6
22222
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
22225
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22226
for as_dir in $PATH
22229
test -z "$as_dir" && as_dir=.
22230
for ac_exec_ext in '' $ac_executable_extensions; do
22231
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22232
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
22233
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22240
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
22244
GMSGFMT=$ac_cv_path_GMSGFMT
22245
if test -n "$GMSGFMT"; then
22246
{ echo "$as_me:$LINENO: result: $GMSGFMT" >&5
22247
echo "${ECHO_T}$GMSGFMT" >&6; }
22249
{ echo "$as_me:$LINENO: result: no" >&5
22250
echo "${ECHO_T}no" >&6; }
22254
# Extract the first word of "xgettext", so it can be a program name with args.
22255
set dummy xgettext; ac_word=$2
22256
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22257
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22258
if test "${ac_cv_path_XGETTEXT+set}" = set; then
22259
echo $ECHO_N "(cached) $ECHO_C" >&6
22261
case "$XGETTEXT" in
22263
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
22266
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
22267
for ac_dir in $PATH; do
22268
test -z "$ac_dir" && ac_dir=.
22269
if test -f $ac_dir/$ac_word; then
22270
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
22271
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
22277
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
22281
XGETTEXT="$ac_cv_path_XGETTEXT"
22282
if test "$XGETTEXT" != ":"; then
22283
{ echo "$as_me:$LINENO: result: $XGETTEXT" >&5
22284
echo "${ECHO_T}$XGETTEXT" >&6; }
22286
{ echo "$as_me:$LINENO: result: no" >&5
22287
echo "${ECHO_T}no" >&6; }
22290
cat >conftest.$ac_ext <<_ACEOF
22293
cat confdefs.h >>conftest.$ac_ext
22294
cat >>conftest.$ac_ext <<_ACEOF
22295
/* end confdefs.h. */
22300
extern int _nl_msg_cat_cntr;
22301
return _nl_msg_cat_cntr
22306
rm -f conftest.$ac_objext conftest$ac_exeext
22307
if { (ac_try="$ac_link"
22308
case "(($ac_try" in
22309
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22310
*) ac_try_echo=$ac_try;;
22312
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22313
(eval "$ac_link") 2>conftest.er1
22315
grep -v '^ *+' conftest.er1 >conftest.err
22317
cat conftest.err >&5
22318
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319
(exit $ac_status); } && {
22320
test -z "$ac_c_werror_flag" ||
22321
test ! -s conftest.err
22322
} && test -s conftest$ac_exeext &&
22323
$as_test_x conftest$ac_exeext; then
22327
echo "$as_me: failed program was:" >&5
22328
sed 's/^/| /' conftest.$ac_ext >&5
22332
{ echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
22333
echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
22334
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
22335
echo $ECHO_N "(cached) $ECHO_C" >&6
22337
cat >conftest.$ac_ext <<_ACEOF
22340
cat confdefs.h >>conftest.$ac_ext
22341
cat >>conftest.$ac_ext <<_ACEOF
22342
/* end confdefs.h. */
22343
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
22344
For example, HP-UX 11i <limits.h> declares gettimeofday. */
22345
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
22347
/* System header to define __stub macros and hopefully few prototypes,
22348
which can conflict with char bind_textdomain_codeset (); below.
22349
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22350
<limits.h> exists even on freestanding compilers. */
22353
# include <limits.h>
22355
# include <assert.h>
22358
#undef bind_textdomain_codeset
22360
/* Override any GCC internal prototype to avoid an error.
22361
Use char because int might match the return type of a GCC
22362
builtin and then its argument prototype would still apply. */
22366
char bind_textdomain_codeset ();
22367
/* The GNU C library defines this for functions which it implements
22368
to always fail with ENOSYS. Some functions are actually named
22369
something starting with __ and the normal name is an alias. */
22370
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
22377
return bind_textdomain_codeset ();
22382
rm -f conftest.$ac_objext conftest$ac_exeext
22383
if { (ac_try="$ac_link"
22384
case "(($ac_try" in
22385
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22386
*) ac_try_echo=$ac_try;;
22388
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22389
(eval "$ac_link") 2>conftest.er1
22391
grep -v '^ *+' conftest.er1 >conftest.err
22393
cat conftest.err >&5
22394
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22395
(exit $ac_status); } && {
22396
test -z "$ac_c_werror_flag" ||
22397
test ! -s conftest.err
22398
} && test -s conftest$ac_exeext &&
22399
$as_test_x conftest$ac_exeext; then
22400
ac_cv_func_bind_textdomain_codeset=yes
22402
echo "$as_me: failed program was:" >&5
22403
sed 's/^/| /' conftest.$ac_ext >&5
22405
ac_cv_func_bind_textdomain_codeset=no
22408
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22409
conftest$ac_exeext conftest.$ac_ext
22411
{ echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
22412
echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
22413
if test $ac_cv_func_bind_textdomain_codeset = yes; then
22429
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22430
conftest$ac_exeext conftest.$ac_ext
22431
LIBS="$glib_save_LIBS"
22434
gt_cv_have_gettext=no
22442
if test "$gt_cv_have_gettext" = "yes" ; then
22444
cat >>confdefs.h <<\_ACEOF
22445
#define ENABLE_NLS 1
22450
if test "$XGETTEXT" != ":"; then
22451
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
22454
{ echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
22455
echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
22460
# We need to process the po/ directory.
22463
ac_config_commands="$ac_config_commands default-1"
22466
for lang in $ALL_LINGUAS; do
22467
GMOFILES="$GMOFILES $lang.gmo"
22468
POFILES="$POFILES $lang.po"
22483
if test "$gt_cv_have_gettext" = "yes"; then
22484
if test "x$ALL_LINGUAS" = "x"; then
22487
{ echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
22488
echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
22490
for presentlang in $ALL_LINGUAS; do
22492
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
22493
desiredlanguages="$LINGUAS"
22495
desiredlanguages="$ALL_LINGUAS"
22497
for desiredlang in $desiredlanguages; do
22498
# Use the presentlang catalog if desiredlang is
22499
# a. equal to presentlang, or
22500
# b. a variant of presentlang (because in this case,
22501
# presentlang can be used as a fallback for messages
22502
# which are not translated in the desiredlang catalog).
22503
case "$desiredlang" in
22504
"$presentlang"*) useit=yes;;
22507
if test $useit = yes; then
22508
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
22511
LINGUAS=$NEW_LINGUAS
22512
{ echo "$as_me:$LINENO: result: $LINGUAS" >&5
22513
echo "${ECHO_T}$LINGUAS" >&6; }
22516
if test -n "$LINGUAS"; then
22517
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
22522
if test -n "$ac_aux_dir"; then
22523
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
22525
if test -z "$MKINSTALLDIRS"; then
22526
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
22530
test -d po || mkdir po
22531
if test "x$srcdir" != "x."; then
22532
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
22533
posrcprefix="$srcdir/"
22535
posrcprefix="../$srcdir/"
22541
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
22542
< $srcdir/po/POTFILES.in > po/POTFILES
22545
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22546
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22547
if test "${ac_cv_c_bigendian+set}" = set; then
22548
echo $ECHO_N "(cached) $ECHO_C" >&6
22550
# See if sys/param.h defines the BYTE_ORDER macro.
22551
cat >conftest.$ac_ext <<_ACEOF
22554
cat confdefs.h >>conftest.$ac_ext
22555
cat >>conftest.$ac_ext <<_ACEOF
22556
/* end confdefs.h. */
22557
#include <sys/types.h>
22558
#include <sys/param.h>
22563
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
22564
&& BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
22565
bogus endian macros
22572
rm -f conftest.$ac_objext
22573
if { (ac_try="$ac_compile"
22574
case "(($ac_try" in
22575
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22576
*) ac_try_echo=$ac_try;;
22578
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22579
(eval "$ac_compile") 2>conftest.er1
22581
grep -v '^ *+' conftest.er1 >conftest.err
22583
cat conftest.err >&5
22584
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22585
(exit $ac_status); } && {
22586
test -z "$ac_c_werror_flag" ||
22587
test ! -s conftest.err
22588
} && test -s conftest.$ac_objext; then
22589
# It does; now see whether it defined to BIG_ENDIAN or not.
22590
cat >conftest.$ac_ext <<_ACEOF
22593
cat confdefs.h >>conftest.$ac_ext
22594
cat >>conftest.$ac_ext <<_ACEOF
22595
/* end confdefs.h. */
22596
#include <sys/types.h>
22597
#include <sys/param.h>
22602
#if BYTE_ORDER != BIG_ENDIAN
22610
rm -f conftest.$ac_objext
22611
if { (ac_try="$ac_compile"
22612
case "(($ac_try" in
22613
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22614
*) ac_try_echo=$ac_try;;
22616
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22617
(eval "$ac_compile") 2>conftest.er1
22619
grep -v '^ *+' conftest.er1 >conftest.err
22621
cat conftest.err >&5
22622
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22623
(exit $ac_status); } && {
22624
test -z "$ac_c_werror_flag" ||
22625
test ! -s conftest.err
22626
} && test -s conftest.$ac_objext; then
22627
ac_cv_c_bigendian=yes
22629
echo "$as_me: failed program was:" >&5
22630
sed 's/^/| /' conftest.$ac_ext >&5
22632
ac_cv_c_bigendian=no
22635
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22637
echo "$as_me: failed program was:" >&5
22638
sed 's/^/| /' conftest.$ac_ext >&5
22640
# It does not; compile a test program.
22641
if test "$cross_compiling" = yes; then
22642
# try to guess the endianness by grepping values into an object file
22643
ac_cv_c_bigendian=unknown
22644
cat >conftest.$ac_ext <<_ACEOF
22647
cat confdefs.h >>conftest.$ac_ext
22648
cat >>conftest.$ac_ext <<_ACEOF
22649
/* end confdefs.h. */
22650
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
22651
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
22652
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
22653
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
22654
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
22655
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
22659
_ascii (); _ebcdic ();
22664
rm -f conftest.$ac_objext
22665
if { (ac_try="$ac_compile"
22666
case "(($ac_try" in
22667
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22668
*) ac_try_echo=$ac_try;;
22670
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22671
(eval "$ac_compile") 2>conftest.er1
22673
grep -v '^ *+' conftest.er1 >conftest.err
22675
cat conftest.err >&5
22676
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677
(exit $ac_status); } && {
22678
test -z "$ac_c_werror_flag" ||
22679
test ! -s conftest.err
22680
} && test -s conftest.$ac_objext; then
22681
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
22682
ac_cv_c_bigendian=yes
22684
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
22685
if test "$ac_cv_c_bigendian" = unknown; then
22686
ac_cv_c_bigendian=no
22688
# finding both strings is unlikely to happen, but who knows?
22689
ac_cv_c_bigendian=unknown
22693
echo "$as_me: failed program was:" >&5
22694
sed 's/^/| /' conftest.$ac_ext >&5
22699
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22701
cat >conftest.$ac_ext <<_ACEOF
22704
cat confdefs.h >>conftest.$ac_ext
22705
cat >>conftest.$ac_ext <<_ACEOF
22706
/* end confdefs.h. */
22707
$ac_includes_default
22712
/* Are we little or big endian? From Harbison&Steele. */
22716
char c[sizeof (long int)];
22719
return u.c[sizeof (long int) - 1] == 1;
22725
rm -f conftest$ac_exeext
22726
if { (ac_try="$ac_link"
22727
case "(($ac_try" in
22728
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22729
*) ac_try_echo=$ac_try;;
22731
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22732
(eval "$ac_link") 2>&5
22734
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22735
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22736
{ (case "(($ac_try" in
22737
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22738
*) ac_try_echo=$ac_try;;
22740
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22741
(eval "$ac_try") 2>&5
22743
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22744
(exit $ac_status); }; }; then
22745
ac_cv_c_bigendian=no
22747
echo "$as_me: program exited with status $ac_status" >&5
22748
echo "$as_me: failed program was:" >&5
22749
sed 's/^/| /' conftest.$ac_ext >&5
22751
( exit $ac_status )
22752
ac_cv_c_bigendian=yes
22754
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22760
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22762
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22763
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22764
case $ac_cv_c_bigendian in
22767
cat >>confdefs.h <<\_ACEOF
22768
#define WORDS_BIGENDIAN 1
22774
{ { echo "$as_me:$LINENO: error: unknown endianness
22775
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
22776
echo "$as_me: error: unknown endianness
22777
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
22778
{ (exit 1); exit 1; }; } ;;
22783
{ echo "$as_me:$LINENO: checking for ieee_802_11_cipher_validate in -lnm-util" >&5
22784
echo $ECHO_N "checking for ieee_802_11_cipher_validate in -lnm-util... $ECHO_C" >&6; }
22785
if test "${ac_cv_lib_nm_util_ieee_802_11_cipher_validate+set}" = set; then
22786
echo $ECHO_N "(cached) $ECHO_C" >&6
22788
ac_check_lib_save_LIBS=$LIBS
22789
LIBS="-lnm-util $LIBS"
22790
cat >conftest.$ac_ext <<_ACEOF
22793
cat confdefs.h >>conftest.$ac_ext
22794
cat >>conftest.$ac_ext <<_ACEOF
22795
/* end confdefs.h. */
22797
/* Override any GCC internal prototype to avoid an error.
22798
Use char because int might match the return type of a GCC
22799
builtin and then its argument prototype would still apply. */
22803
char ieee_802_11_cipher_validate ();
22807
return ieee_802_11_cipher_validate ();
22812
rm -f conftest.$ac_objext conftest$ac_exeext
22813
if { (ac_try="$ac_link"
22814
case "(($ac_try" in
22815
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22816
*) ac_try_echo=$ac_try;;
22818
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22819
(eval "$ac_link") 2>conftest.er1
22821
grep -v '^ *+' conftest.er1 >conftest.err
22823
cat conftest.err >&5
22824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22825
(exit $ac_status); } && {
22826
test -z "$ac_c_werror_flag" ||
22827
test ! -s conftest.err
22828
} && test -s conftest$ac_exeext &&
22829
$as_test_x conftest$ac_exeext; then
22830
ac_cv_lib_nm_util_ieee_802_11_cipher_validate=yes
22832
echo "$as_me: failed program was:" >&5
22833
sed 's/^/| /' conftest.$ac_ext >&5
22835
ac_cv_lib_nm_util_ieee_802_11_cipher_validate=no
22838
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22839
conftest$ac_exeext conftest.$ac_ext
22840
LIBS=$ac_check_lib_save_LIBS
22842
{ echo "$as_me:$LINENO: result: $ac_cv_lib_nm_util_ieee_802_11_cipher_validate" >&5
22843
echo "${ECHO_T}$ac_cv_lib_nm_util_ieee_802_11_cipher_validate" >&6; }
22844
if test $ac_cv_lib_nm_util_ieee_802_11_cipher_validate = yes; then
22845
cat >>confdefs.h <<_ACEOF
22846
#define HAVE_LIBNM_UTIL 1
22849
LIBS="-lnm-util $LIBS"
22856
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
22857
if test -n "$ac_tool_prefix"; then
22858
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
22859
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
22860
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22861
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22862
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
22863
echo $ECHO_N "(cached) $ECHO_C" >&6
22865
case $PKG_CONFIG in
22867
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
22870
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22871
for as_dir in $PATH
22874
test -z "$as_dir" && as_dir=.
22875
for ac_exec_ext in '' $ac_executable_extensions; do
22876
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22877
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22878
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22888
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
22889
if test -n "$PKG_CONFIG"; then
22890
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
22891
echo "${ECHO_T}$PKG_CONFIG" >&6; }
22893
{ echo "$as_me:$LINENO: result: no" >&5
22894
echo "${ECHO_T}no" >&6; }
22899
if test -z "$ac_cv_path_PKG_CONFIG"; then
22900
ac_pt_PKG_CONFIG=$PKG_CONFIG
22901
# Extract the first word of "pkg-config", so it can be a program name with args.
22902
set dummy pkg-config; ac_word=$2
22903
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
22904
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
22905
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
22906
echo $ECHO_N "(cached) $ECHO_C" >&6
22908
case $ac_pt_PKG_CONFIG in
22910
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
22913
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22914
for as_dir in $PATH
22917
test -z "$as_dir" && as_dir=.
22918
for ac_exec_ext in '' $ac_executable_extensions; do
22919
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
22920
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
22921
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22931
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
22932
if test -n "$ac_pt_PKG_CONFIG"; then
22933
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
22934
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
22936
{ echo "$as_me:$LINENO: result: no" >&5
22937
echo "${ECHO_T}no" >&6; }
22940
if test "x$ac_pt_PKG_CONFIG" = x; then
22943
case $cross_compiling:$ac_tool_warned in
22945
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
22946
whose name does not start with the host triplet. If you think this
22947
configuration is useful to you, please write to autoconf@gnu.org." >&5
22948
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
22949
whose name does not start with the host triplet. If you think this
22950
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
22951
ac_tool_warned=yes ;;
22953
PKG_CONFIG=$ac_pt_PKG_CONFIG
22956
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
22960
if test -n "$PKG_CONFIG"; then
22961
_pkg_min_version=0.9.0
22962
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
22963
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
22964
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
22965
{ echo "$as_me:$LINENO: result: yes" >&5
22966
echo "${ECHO_T}yes" >&6; }
22968
{ echo "$as_me:$LINENO: result: no" >&5
22969
echo "${ECHO_T}no" >&6; }
22976
{ echo "$as_me:$LINENO: checking for DBUS" >&5
22977
echo $ECHO_N "checking for DBUS... $ECHO_C" >&6; }
22979
if test -n "$PKG_CONFIG"; then
22980
if test -n "$DBUS_CFLAGS"; then
22981
pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
22983
if test -n "$PKG_CONFIG" && \
22984
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.60\"") >&5
22985
($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.60") 2>&5
22987
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22988
(exit $ac_status); }; then
22989
pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= 0.60" 2>/dev/null`
22997
if test -n "$PKG_CONFIG"; then
22998
if test -n "$DBUS_LIBS"; then
22999
pkg_cv_DBUS_LIBS="$DBUS_LIBS"
23001
if test -n "$PKG_CONFIG" && \
23002
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.60\"") >&5
23003
($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.60") 2>&5
23005
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23006
(exit $ac_status); }; then
23007
pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= 0.60" 2>/dev/null`
23018
if test $pkg_failed = yes; then
23020
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23021
_pkg_short_errors_supported=yes
23023
_pkg_short_errors_supported=no
23025
if test $_pkg_short_errors_supported = yes; then
23026
DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-glib-1 >= 0.60"`
23028
DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1 >= 0.60"`
23030
# Put the nasty error message in config.log where it belongs
23031
echo "$DBUS_PKG_ERRORS" >&5
23033
{ { echo "$as_me:$LINENO: error: Package requirements (dbus-glib-1 >= 0.60) were not met:
23037
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23038
installed software in a non-standard prefix.
23040
Alternatively, you may set the environment variables DBUS_CFLAGS
23041
and DBUS_LIBS to avoid the need to call pkg-config.
23042
See the pkg-config man page for more details.
23044
echo "$as_me: error: Package requirements (dbus-glib-1 >= 0.60) were not met:
23048
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23049
installed software in a non-standard prefix.
23051
Alternatively, you may set the environment variables DBUS_CFLAGS
23052
and DBUS_LIBS to avoid the need to call pkg-config.
23053
See the pkg-config man page for more details.
23055
{ (exit 1); exit 1; }; }
23056
elif test $pkg_failed = untried; then
23057
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
23058
is in your PATH or set the PKG_CONFIG environment variable to the full
23059
path to pkg-config.
23061
Alternatively, you may set the environment variables DBUS_CFLAGS
23062
and DBUS_LIBS to avoid the need to call pkg-config.
23063
See the pkg-config man page for more details.
23065
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
23066
See \`config.log' for more details." >&5
23067
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23068
is in your PATH or set the PKG_CONFIG environment variable to the full
23069
path to pkg-config.
23071
Alternatively, you may set the environment variables DBUS_CFLAGS
23072
and DBUS_LIBS to avoid the need to call pkg-config.
23073
See the pkg-config man page for more details.
23075
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
23076
See \`config.log' for more details." >&2;}
23077
{ (exit 1); exit 1; }; }
23079
DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
23080
DBUS_LIBS=$pkg_cv_DBUS_LIBS
23081
{ echo "$as_me:$LINENO: result: yes" >&5
23082
echo "${ECHO_T}yes" >&6; }
23086
##### Find out the version of DBUS we're using
23087
dbus_version=`pkg-config --modversion dbus-1`
23088
DBUS_VERSION_MAJOR=`echo $dbus_version | awk -F. '{print $1}'`
23089
DBUS_VERSION_MINOR=`echo $dbus_version | awk -F. '{print $2}'`
23090
DBUS_VERSION_MICRO=`echo $dbus_version | awk -F. '{print $3}'`
23091
if test "z$DBUS_VERSION_MAJOR" = "z"; then
23092
DBUS_VERSION_MAJOR="0"
23094
if test "z$DBUS_VERSION_MINOR" = "z"; then
23095
DBUS_VERSION_MINOR="0"
23097
if test "z$DBUS_VERSION_MICRO" = "z"; then
23098
DBUS_VERSION_MICRO="0"
23101
if test "z$DBUS_VERSION_MAJOR" = "z0" -a "z$DBUS_VERSION_MINOR" = "z0" -a "z$DBUS_VERSION_MICRO" = "z0"; then
23102
echo "Error: Couldn't determine the version of your DBUS package."
23103
echo " This is probably an error in this script, please report it"
23104
echo " along with the following information:"
23105
echo " Base DBUS version ='$dbus_version'"
23106
echo " DBUS_VERSION_MAJOR='$DBUS_VERSION_MAJOR'"
23107
echo " DBUS_VERSION_MINOR='$DBUS_VERSION_MINOR'"
23108
echo " DBUS_VERSION_MICRO='$DBUS_VERSION_MICRO'"
23112
echo "Your dbus version is $DBUS_VERSION_MAJOR,$DBUS_VERSION_MINOR,$DBUS_VERSION_MICRO."
23113
DBUS_CFLAGS="$DBUS_CFLAGS -DDBUS_VERSION_MAJOR=$DBUS_VERSION_MAJOR"
23114
DBUS_CFLAGS="$DBUS_CFLAGS -DDBUS_VERSION_MINOR=$DBUS_VERSION_MINOR"
23115
DBUS_CFLAGS="$DBUS_CFLAGS -DDBUS_VERSION_MICRO=$DBUS_VERSION_MICRO"
23122
{ echo "$as_me:$LINENO: checking for GTHREAD" >&5
23123
echo $ECHO_N "checking for GTHREAD... $ECHO_C" >&6; }
23125
if test -n "$PKG_CONFIG"; then
23126
if test -n "$GTHREAD_CFLAGS"; then
23127
pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
23129
if test -n "$PKG_CONFIG" && \
23130
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\"") >&5
23131
($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
23133
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23134
(exit $ac_status); }; then
23135
pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "gthread-2.0" 2>/dev/null`
23143
if test -n "$PKG_CONFIG"; then
23144
if test -n "$GTHREAD_LIBS"; then
23145
pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
23147
if test -n "$PKG_CONFIG" && \
23148
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gthread-2.0\"") >&5
23149
($PKG_CONFIG --exists --print-errors "gthread-2.0") 2>&5
23151
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152
(exit $ac_status); }; then
23153
pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "gthread-2.0" 2>/dev/null`
23164
if test $pkg_failed = yes; then
23166
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23167
_pkg_short_errors_supported=yes
23169
_pkg_short_errors_supported=no
23171
if test $_pkg_short_errors_supported = yes; then
23172
GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gthread-2.0"`
23174
GTHREAD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gthread-2.0"`
23176
# Put the nasty error message in config.log where it belongs
23177
echo "$GTHREAD_PKG_ERRORS" >&5
23179
{ { echo "$as_me:$LINENO: error: Package requirements (gthread-2.0) were not met:
23181
$GTHREAD_PKG_ERRORS
23183
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23184
installed software in a non-standard prefix.
23186
Alternatively, you may set the environment variables GTHREAD_CFLAGS
23187
and GTHREAD_LIBS to avoid the need to call pkg-config.
23188
See the pkg-config man page for more details.
23190
echo "$as_me: error: Package requirements (gthread-2.0) were not met:
23192
$GTHREAD_PKG_ERRORS
23194
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23195
installed software in a non-standard prefix.
23197
Alternatively, you may set the environment variables GTHREAD_CFLAGS
23198
and GTHREAD_LIBS to avoid the need to call pkg-config.
23199
See the pkg-config man page for more details.
23201
{ (exit 1); exit 1; }; }
23202
elif test $pkg_failed = untried; then
23203
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
23204
is in your PATH or set the PKG_CONFIG environment variable to the full
23205
path to pkg-config.
23207
Alternatively, you may set the environment variables GTHREAD_CFLAGS
23208
and GTHREAD_LIBS to avoid the need to call pkg-config.
23209
See the pkg-config man page for more details.
23211
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
23212
See \`config.log' for more details." >&5
23213
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23214
is in your PATH or set the PKG_CONFIG environment variable to the full
23215
path to pkg-config.
23217
Alternatively, you may set the environment variables GTHREAD_CFLAGS
23218
and GTHREAD_LIBS to avoid the need to call pkg-config.
23219
See the pkg-config man page for more details.
23221
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
23222
See \`config.log' for more details." >&2;}
23223
{ (exit 1); exit 1; }; }
23225
GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
23226
GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
23227
{ echo "$as_me:$LINENO: result: yes" >&5
23228
echo "${ECHO_T}yes" >&6; }
23236
{ echo "$as_me:$LINENO: checking for GLIB" >&5
23237
echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
23239
if test -n "$PKG_CONFIG"; then
23240
if test -n "$GLIB_CFLAGS"; then
23241
pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
23243
if test -n "$PKG_CONFIG" && \
23244
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10\"") >&5
23245
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10") 2>&5
23247
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23248
(exit $ac_status); }; then
23249
pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10" 2>/dev/null`
23257
if test -n "$PKG_CONFIG"; then
23258
if test -n "$GLIB_LIBS"; then
23259
pkg_cv_GLIB_LIBS="$GLIB_LIBS"
23261
if test -n "$PKG_CONFIG" && \
23262
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10\"") >&5
23263
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10") 2>&5
23265
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23266
(exit $ac_status); }; then
23267
pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10" 2>/dev/null`
23278
if test $pkg_failed = yes; then
23280
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23281
_pkg_short_errors_supported=yes
23283
_pkg_short_errors_supported=no
23285
if test $_pkg_short_errors_supported = yes; then
23286
GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.10"`
23288
GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.10"`
23290
# Put the nasty error message in config.log where it belongs
23291
echo "$GLIB_PKG_ERRORS" >&5
23293
{ { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.10) were not met:
23297
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23298
installed software in a non-standard prefix.
23300
Alternatively, you may set the environment variables GLIB_CFLAGS
23301
and GLIB_LIBS to avoid the need to call pkg-config.
23302
See the pkg-config man page for more details.
23304
echo "$as_me: error: Package requirements (glib-2.0 >= 2.10) were not met:
23308
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23309
installed software in a non-standard prefix.
23311
Alternatively, you may set the environment variables GLIB_CFLAGS
23312
and GLIB_LIBS to avoid the need to call pkg-config.
23313
See the pkg-config man page for more details.
23315
{ (exit 1); exit 1; }; }
23316
elif test $pkg_failed = untried; then
23317
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
23318
is in your PATH or set the PKG_CONFIG environment variable to the full
23319
path to pkg-config.
23321
Alternatively, you may set the environment variables GLIB_CFLAGS
23322
and GLIB_LIBS to avoid the need to call pkg-config.
23323
See the pkg-config man page for more details.
23325
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
23326
See \`config.log' for more details." >&5
23327
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23328
is in your PATH or set the PKG_CONFIG environment variable to the full
23329
path to pkg-config.
23331
Alternatively, you may set the environment variables GLIB_CFLAGS
23332
and GLIB_LIBS to avoid the need to call pkg-config.
23333
See the pkg-config man page for more details.
23335
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
23336
See \`config.log' for more details." >&2;}
23337
{ (exit 1); exit 1; }; }
23339
GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
23340
GLIB_LIBS=$pkg_cv_GLIB_LIBS
23341
{ echo "$as_me:$LINENO: result: yes" >&5
23342
echo "${ECHO_T}yes" >&6; }
23350
{ echo "$as_me:$LINENO: checking for GMODULE" >&5
23351
echo $ECHO_N "checking for GMODULE... $ECHO_C" >&6; }
23353
if test -n "$PKG_CONFIG"; then
23354
if test -n "$GMODULE_CFLAGS"; then
23355
pkg_cv_GMODULE_CFLAGS="$GMODULE_CFLAGS"
23357
if test -n "$PKG_CONFIG" && \
23358
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\"") >&5
23359
($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
23361
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23362
(exit $ac_status); }; then
23363
pkg_cv_GMODULE_CFLAGS=`$PKG_CONFIG --cflags "gmodule-2.0" 2>/dev/null`
23371
if test -n "$PKG_CONFIG"; then
23372
if test -n "$GMODULE_LIBS"; then
23373
pkg_cv_GMODULE_LIBS="$GMODULE_LIBS"
23375
if test -n "$PKG_CONFIG" && \
23376
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gmodule-2.0\"") >&5
23377
($PKG_CONFIG --exists --print-errors "gmodule-2.0") 2>&5
23379
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23380
(exit $ac_status); }; then
23381
pkg_cv_GMODULE_LIBS=`$PKG_CONFIG --libs "gmodule-2.0" 2>/dev/null`
23392
if test $pkg_failed = yes; then
23394
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23395
_pkg_short_errors_supported=yes
23397
_pkg_short_errors_supported=no
23399
if test $_pkg_short_errors_supported = yes; then
23400
GMODULE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gmodule-2.0"`
23402
GMODULE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gmodule-2.0"`
23404
# Put the nasty error message in config.log where it belongs
23405
echo "$GMODULE_PKG_ERRORS" >&5
23407
{ { echo "$as_me:$LINENO: error: Package requirements (gmodule-2.0) were not met:
23409
$GMODULE_PKG_ERRORS
23411
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23412
installed software in a non-standard prefix.
23414
Alternatively, you may set the environment variables GMODULE_CFLAGS
23415
and GMODULE_LIBS to avoid the need to call pkg-config.
23416
See the pkg-config man page for more details.
23418
echo "$as_me: error: Package requirements (gmodule-2.0) were not met:
23420
$GMODULE_PKG_ERRORS
23422
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23423
installed software in a non-standard prefix.
23425
Alternatively, you may set the environment variables GMODULE_CFLAGS
23426
and GMODULE_LIBS to avoid the need to call pkg-config.
23427
See the pkg-config man page for more details.
23429
{ (exit 1); exit 1; }; }
23430
elif test $pkg_failed = untried; then
23431
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
23432
is in your PATH or set the PKG_CONFIG environment variable to the full
23433
path to pkg-config.
23435
Alternatively, you may set the environment variables GMODULE_CFLAGS
23436
and GMODULE_LIBS to avoid the need to call pkg-config.
23437
See the pkg-config man page for more details.
23439
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
23440
See \`config.log' for more details." >&5
23441
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23442
is in your PATH or set the PKG_CONFIG environment variable to the full
23443
path to pkg-config.
23445
Alternatively, you may set the environment variables GMODULE_CFLAGS
23446
and GMODULE_LIBS to avoid the need to call pkg-config.
23447
See the pkg-config man page for more details.
23449
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
23450
See \`config.log' for more details." >&2;}
23451
{ (exit 1); exit 1; }; }
23453
GMODULE_CFLAGS=$pkg_cv_GMODULE_CFLAGS
23454
GMODULE_LIBS=$pkg_cv_GMODULE_LIBS
23455
{ echo "$as_me:$LINENO: result: yes" >&5
23456
echo "${ECHO_T}yes" >&6; }
23464
{ echo "$as_me:$LINENO: checking for GOBJECT" >&5
23465
echo $ECHO_N "checking for GOBJECT... $ECHO_C" >&6; }
23467
if test -n "$PKG_CONFIG"; then
23468
if test -n "$GOBJECT_CFLAGS"; then
23469
pkg_cv_GOBJECT_CFLAGS="$GOBJECT_CFLAGS"
23471
if test -n "$PKG_CONFIG" && \
23472
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\"") >&5
23473
($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
23475
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476
(exit $ac_status); }; then
23477
pkg_cv_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0" 2>/dev/null`
23485
if test -n "$PKG_CONFIG"; then
23486
if test -n "$GOBJECT_LIBS"; then
23487
pkg_cv_GOBJECT_LIBS="$GOBJECT_LIBS"
23489
if test -n "$PKG_CONFIG" && \
23490
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gobject-2.0\"") >&5
23491
($PKG_CONFIG --exists --print-errors "gobject-2.0") 2>&5
23493
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494
(exit $ac_status); }; then
23495
pkg_cv_GOBJECT_LIBS=`$PKG_CONFIG --libs "gobject-2.0" 2>/dev/null`
23506
if test $pkg_failed = yes; then
23508
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23509
_pkg_short_errors_supported=yes
23511
_pkg_short_errors_supported=no
23513
if test $_pkg_short_errors_supported = yes; then
23514
GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gobject-2.0"`
23516
GOBJECT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gobject-2.0"`
23518
# Put the nasty error message in config.log where it belongs
23519
echo "$GOBJECT_PKG_ERRORS" >&5
23521
{ { echo "$as_me:$LINENO: error: Package requirements (gobject-2.0) were not met:
23523
$GOBJECT_PKG_ERRORS
23525
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23526
installed software in a non-standard prefix.
23528
Alternatively, you may set the environment variables GOBJECT_CFLAGS
23529
and GOBJECT_LIBS to avoid the need to call pkg-config.
23530
See the pkg-config man page for more details.
23532
echo "$as_me: error: Package requirements (gobject-2.0) were not met:
23534
$GOBJECT_PKG_ERRORS
23536
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23537
installed software in a non-standard prefix.
23539
Alternatively, you may set the environment variables GOBJECT_CFLAGS
23540
and GOBJECT_LIBS to avoid the need to call pkg-config.
23541
See the pkg-config man page for more details.
23543
{ (exit 1); exit 1; }; }
23544
elif test $pkg_failed = untried; then
23545
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
23546
is in your PATH or set the PKG_CONFIG environment variable to the full
23547
path to pkg-config.
23549
Alternatively, you may set the environment variables GOBJECT_CFLAGS
23550
and GOBJECT_LIBS to avoid the need to call pkg-config.
23551
See the pkg-config man page for more details.
23553
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
23554
See \`config.log' for more details." >&5
23555
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23556
is in your PATH or set the PKG_CONFIG environment variable to the full
23557
path to pkg-config.
23559
Alternatively, you may set the environment variables GOBJECT_CFLAGS
23560
and GOBJECT_LIBS to avoid the need to call pkg-config.
23561
See the pkg-config man page for more details.
23563
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
23564
See \`config.log' for more details." >&2;}
23565
{ (exit 1); exit 1; }; }
23567
GOBJECT_CFLAGS=$pkg_cv_GOBJECT_CFLAGS
23568
GOBJECT_LIBS=$pkg_cv_GOBJECT_LIBS
23569
{ echo "$as_me:$LINENO: result: yes" >&5
23570
echo "${ECHO_T}yes" >&6; }
23578
{ echo "$as_me:$LINENO: checking for NM" >&5
23579
echo $ECHO_N "checking for NM... $ECHO_C" >&6; }
23581
if test -n "$PKG_CONFIG"; then
23582
if test -n "$NM_CFLAGS"; then
23583
pkg_cv_NM_CFLAGS="$NM_CFLAGS"
23585
if test -n "$PKG_CONFIG" && \
23586
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"NetworkManager\"") >&5
23587
($PKG_CONFIG --exists --print-errors "NetworkManager") 2>&5
23589
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590
(exit $ac_status); }; then
23591
pkg_cv_NM_CFLAGS=`$PKG_CONFIG --cflags "NetworkManager" 2>/dev/null`
23599
if test -n "$PKG_CONFIG"; then
23600
if test -n "$NM_LIBS"; then
23601
pkg_cv_NM_LIBS="$NM_LIBS"
23603
if test -n "$PKG_CONFIG" && \
23604
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"NetworkManager\"") >&5
23605
($PKG_CONFIG --exists --print-errors "NetworkManager") 2>&5
23607
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608
(exit $ac_status); }; then
23609
pkg_cv_NM_LIBS=`$PKG_CONFIG --libs "NetworkManager" 2>/dev/null`
23620
if test $pkg_failed = yes; then
23622
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23623
_pkg_short_errors_supported=yes
23625
_pkg_short_errors_supported=no
23627
if test $_pkg_short_errors_supported = yes; then
23628
NM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "NetworkManager"`
23630
NM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "NetworkManager"`
23632
# Put the nasty error message in config.log where it belongs
23633
echo "$NM_PKG_ERRORS" >&5
23635
{ { echo "$as_me:$LINENO: error: Package requirements (NetworkManager) were not met:
23639
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23640
installed software in a non-standard prefix.
23642
Alternatively, you may set the environment variables NM_CFLAGS
23643
and NM_LIBS to avoid the need to call pkg-config.
23644
See the pkg-config man page for more details.
23646
echo "$as_me: error: Package requirements (NetworkManager) were not met:
23650
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23651
installed software in a non-standard prefix.
23653
Alternatively, you may set the environment variables NM_CFLAGS
23654
and NM_LIBS to avoid the need to call pkg-config.
23655
See the pkg-config man page for more details.
23657
{ (exit 1); exit 1; }; }
23658
elif test $pkg_failed = untried; then
23659
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
23660
is in your PATH or set the PKG_CONFIG environment variable to the full
23661
path to pkg-config.
23663
Alternatively, you may set the environment variables NM_CFLAGS
23664
and NM_LIBS to avoid the need to call pkg-config.
23665
See the pkg-config man page for more details.
23667
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
23668
See \`config.log' for more details." >&5
23669
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23670
is in your PATH or set the PKG_CONFIG environment variable to the full
23671
path to pkg-config.
23673
Alternatively, you may set the environment variables NM_CFLAGS
23674
and NM_LIBS to avoid the need to call pkg-config.
23675
See the pkg-config man page for more details.
23677
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
23678
See \`config.log' for more details." >&2;}
23679
{ (exit 1); exit 1; }; }
23681
NM_CFLAGS=$pkg_cv_NM_CFLAGS
23682
NM_LIBS=$pkg_cv_NM_LIBS
23683
{ echo "$as_me:$LINENO: result: yes" >&5
23684
echo "${ECHO_T}yes" >&6; }
23691
# Check whether --with-notify was given.
23692
if test "${with_notify+set}" = set; then
23693
withval=$with_notify; enable_notify=$withval
23701
{ echo "$as_me:$LINENO: checking for GTK" >&5
23702
echo $ECHO_N "checking for GTK... $ECHO_C" >&6; }
23704
if test -n "$PKG_CONFIG"; then
23705
if test -n "$GTK_CFLAGS"; then
23706
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
23708
if test -n "$PKG_CONFIG" && \
23709
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
23710
($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
23712
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713
(exit $ac_status); }; then
23714
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
23722
if test -n "$PKG_CONFIG"; then
23723
if test -n "$GTK_LIBS"; then
23724
pkg_cv_GTK_LIBS="$GTK_LIBS"
23726
if test -n "$PKG_CONFIG" && \
23727
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
23728
($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
23730
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731
(exit $ac_status); }; then
23732
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
23743
if test $pkg_failed = yes; then
23745
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23746
_pkg_short_errors_supported=yes
23748
_pkg_short_errors_supported=no
23750
if test $_pkg_short_errors_supported = yes; then
23751
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
23753
GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
23755
# Put the nasty error message in config.log where it belongs
23756
echo "$GTK_PKG_ERRORS" >&5
23758
{ { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
23762
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23763
installed software in a non-standard prefix.
23765
Alternatively, you may set the environment variables GTK_CFLAGS
23766
and GTK_LIBS to avoid the need to call pkg-config.
23767
See the pkg-config man page for more details.
23769
echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
23773
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23774
installed software in a non-standard prefix.
23776
Alternatively, you may set the environment variables GTK_CFLAGS
23777
and GTK_LIBS to avoid the need to call pkg-config.
23778
See the pkg-config man page for more details.
23780
{ (exit 1); exit 1; }; }
23781
elif test $pkg_failed = untried; then
23782
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
23783
is in your PATH or set the PKG_CONFIG environment variable to the full
23784
path to pkg-config.
23786
Alternatively, you may set the environment variables GTK_CFLAGS
23787
and GTK_LIBS to avoid the need to call pkg-config.
23788
See the pkg-config man page for more details.
23790
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
23791
See \`config.log' for more details." >&5
23792
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23793
is in your PATH or set the PKG_CONFIG environment variable to the full
23794
path to pkg-config.
23796
Alternatively, you may set the environment variables GTK_CFLAGS
23797
and GTK_LIBS to avoid the need to call pkg-config.
23798
See the pkg-config man page for more details.
23800
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
23801
See \`config.log' for more details." >&2;}
23802
{ (exit 1); exit 1; }; }
23804
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
23805
GTK_LIBS=$pkg_cv_GTK_LIBS
23806
{ echo "$as_me:$LINENO: result: yes" >&5
23807
echo "${ECHO_T}yes" >&6; }
23815
{ echo "$as_me:$LINENO: checking for GDK_PIXBUF" >&5
23816
echo $ECHO_N "checking for GDK_PIXBUF... $ECHO_C" >&6; }
23818
if test -n "$PKG_CONFIG"; then
23819
if test -n "$GDK_PIXBUF_CFLAGS"; then
23820
pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS"
23822
if test -n "$PKG_CONFIG" && \
23823
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\"") >&5
23824
($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
23826
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827
(exit $ac_status); }; then
23828
pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0" 2>/dev/null`
23836
if test -n "$PKG_CONFIG"; then
23837
if test -n "$GDK_PIXBUF_LIBS"; then
23838
pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS"
23840
if test -n "$PKG_CONFIG" && \
23841
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\"") >&5
23842
($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
23844
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23845
(exit $ac_status); }; then
23846
pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0" 2>/dev/null`
23857
if test $pkg_failed = yes; then
23859
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23860
_pkg_short_errors_supported=yes
23862
_pkg_short_errors_supported=no
23864
if test $_pkg_short_errors_supported = yes; then
23865
GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gdk-pixbuf-2.0"`
23867
GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gdk-pixbuf-2.0"`
23869
# Put the nasty error message in config.log where it belongs
23870
echo "$GDK_PIXBUF_PKG_ERRORS" >&5
23872
{ { echo "$as_me:$LINENO: error: Package requirements (gdk-pixbuf-2.0) were not met:
23874
$GDK_PIXBUF_PKG_ERRORS
23876
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23877
installed software in a non-standard prefix.
23879
Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
23880
and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
23881
See the pkg-config man page for more details.
23883
echo "$as_me: error: Package requirements (gdk-pixbuf-2.0) were not met:
23885
$GDK_PIXBUF_PKG_ERRORS
23887
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23888
installed software in a non-standard prefix.
23890
Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
23891
and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
23892
See the pkg-config man page for more details.
23894
{ (exit 1); exit 1; }; }
23895
elif test $pkg_failed = untried; then
23896
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
23897
is in your PATH or set the PKG_CONFIG environment variable to the full
23898
path to pkg-config.
23900
Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
23901
and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
23902
See the pkg-config man page for more details.
23904
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
23905
See \`config.log' for more details." >&5
23906
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
23907
is in your PATH or set the PKG_CONFIG environment variable to the full
23908
path to pkg-config.
23910
Alternatively, you may set the environment variables GDK_PIXBUF_CFLAGS
23911
and GDK_PIXBUF_LIBS to avoid the need to call pkg-config.
23912
See the pkg-config man page for more details.
23914
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
23915
See \`config.log' for more details." >&2;}
23916
{ (exit 1); exit 1; }; }
23918
GDK_PIXBUF_CFLAGS=$pkg_cv_GDK_PIXBUF_CFLAGS
23919
GDK_PIXBUF_LIBS=$pkg_cv_GDK_PIXBUF_LIBS
23920
{ echo "$as_me:$LINENO: result: yes" >&5
23921
echo "${ECHO_T}yes" >&6; }
23929
{ echo "$as_me:$LINENO: checking for GLADE" >&5
23930
echo $ECHO_N "checking for GLADE... $ECHO_C" >&6; }
23932
if test -n "$PKG_CONFIG"; then
23933
if test -n "$GLADE_CFLAGS"; then
23934
pkg_cv_GLADE_CFLAGS="$GLADE_CFLAGS"
23936
if test -n "$PKG_CONFIG" && \
23937
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0\"") >&5
23938
($PKG_CONFIG --exists --print-errors "libglade-2.0") 2>&5
23940
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23941
(exit $ac_status); }; then
23942
pkg_cv_GLADE_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0" 2>/dev/null`
23950
if test -n "$PKG_CONFIG"; then
23951
if test -n "$GLADE_LIBS"; then
23952
pkg_cv_GLADE_LIBS="$GLADE_LIBS"
23954
if test -n "$PKG_CONFIG" && \
23955
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0\"") >&5
23956
($PKG_CONFIG --exists --print-errors "libglade-2.0") 2>&5
23958
echo "$as_me:$LINENO: \$? = $ac_status" >&5
23959
(exit $ac_status); }; then
23960
pkg_cv_GLADE_LIBS=`$PKG_CONFIG --libs "libglade-2.0" 2>/dev/null`
23971
if test $pkg_failed = yes; then
23973
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
23974
_pkg_short_errors_supported=yes
23976
_pkg_short_errors_supported=no
23978
if test $_pkg_short_errors_supported = yes; then
23979
GLADE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libglade-2.0"`
23981
GLADE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libglade-2.0"`
23983
# Put the nasty error message in config.log where it belongs
23984
echo "$GLADE_PKG_ERRORS" >&5
23986
{ { echo "$as_me:$LINENO: error: Package requirements (libglade-2.0) were not met:
23990
Consider adjusting the PKG_CONFIG_PATH environment variable if you
23991
installed software in a non-standard prefix.
23993
Alternatively, you may set the environment variables GLADE_CFLAGS
23994
and GLADE_LIBS to avoid the need to call pkg-config.
23995
See the pkg-config man page for more details.
23997
echo "$as_me: error: Package requirements (libglade-2.0) were not met:
24001
Consider adjusting the PKG_CONFIG_PATH environment variable if you
24002
installed software in a non-standard prefix.
24004
Alternatively, you may set the environment variables GLADE_CFLAGS
24005
and GLADE_LIBS to avoid the need to call pkg-config.
24006
See the pkg-config man page for more details.
24008
{ (exit 1); exit 1; }; }
24009
elif test $pkg_failed = untried; then
24010
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
24011
is in your PATH or set the PKG_CONFIG environment variable to the full
24012
path to pkg-config.
24014
Alternatively, you may set the environment variables GLADE_CFLAGS
24015
and GLADE_LIBS to avoid the need to call pkg-config.
24016
See the pkg-config man page for more details.
24018
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
24019
See \`config.log' for more details." >&5
24020
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
24021
is in your PATH or set the PKG_CONFIG environment variable to the full
24022
path to pkg-config.
24024
Alternatively, you may set the environment variables GLADE_CFLAGS
24025
and GLADE_LIBS to avoid the need to call pkg-config.
24026
See the pkg-config man page for more details.
24028
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
24029
See \`config.log' for more details." >&2;}
24030
{ (exit 1); exit 1; }; }
24032
GLADE_CFLAGS=$pkg_cv_GLADE_CFLAGS
24033
GLADE_LIBS=$pkg_cv_GLADE_LIBS
24034
{ echo "$as_me:$LINENO: result: yes" >&5
24035
echo "${ECHO_T}yes" >&6; }
24043
{ echo "$as_me:$LINENO: checking for GCONF" >&5
24044
echo $ECHO_N "checking for GCONF... $ECHO_C" >&6; }
24046
if test -n "$PKG_CONFIG"; then
24047
if test -n "$GCONF_CFLAGS"; then
24048
pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
24050
if test -n "$PKG_CONFIG" && \
24051
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\"") >&5
24052
($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
24054
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24055
(exit $ac_status); }; then
24056
pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null`
24064
if test -n "$PKG_CONFIG"; then
24065
if test -n "$GCONF_LIBS"; then
24066
pkg_cv_GCONF_LIBS="$GCONF_LIBS"
24068
if test -n "$PKG_CONFIG" && \
24069
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\"") >&5
24070
($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
24072
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24073
(exit $ac_status); }; then
24074
pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null`
24085
if test $pkg_failed = yes; then
24087
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24088
_pkg_short_errors_supported=yes
24090
_pkg_short_errors_supported=no
24092
if test $_pkg_short_errors_supported = yes; then
24093
GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gconf-2.0"`
24095
GCONF_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gconf-2.0"`
24097
# Put the nasty error message in config.log where it belongs
24098
echo "$GCONF_PKG_ERRORS" >&5
24100
{ { echo "$as_me:$LINENO: error: Package requirements (gconf-2.0) were not met:
24104
Consider adjusting the PKG_CONFIG_PATH environment variable if you
24105
installed software in a non-standard prefix.
24107
Alternatively, you may set the environment variables GCONF_CFLAGS
24108
and GCONF_LIBS to avoid the need to call pkg-config.
24109
See the pkg-config man page for more details.
24111
echo "$as_me: error: Package requirements (gconf-2.0) were not met:
24115
Consider adjusting the PKG_CONFIG_PATH environment variable if you
24116
installed software in a non-standard prefix.
24118
Alternatively, you may set the environment variables GCONF_CFLAGS
24119
and GCONF_LIBS to avoid the need to call pkg-config.
24120
See the pkg-config man page for more details.
24122
{ (exit 1); exit 1; }; }
24123
elif test $pkg_failed = untried; then
24124
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
24125
is in your PATH or set the PKG_CONFIG environment variable to the full
24126
path to pkg-config.
24128
Alternatively, you may set the environment variables GCONF_CFLAGS
24129
and GCONF_LIBS to avoid the need to call pkg-config.
24130
See the pkg-config man page for more details.
24132
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
24133
See \`config.log' for more details." >&5
24134
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
24135
is in your PATH or set the PKG_CONFIG environment variable to the full
24136
path to pkg-config.
24138
Alternatively, you may set the environment variables GCONF_CFLAGS
24139
and GCONF_LIBS to avoid the need to call pkg-config.
24140
See the pkg-config man page for more details.
24142
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
24143
See \`config.log' for more details." >&2;}
24144
{ (exit 1); exit 1; }; }
24146
GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
24147
GCONF_LIBS=$pkg_cv_GCONF_LIBS
24148
{ echo "$as_me:$LINENO: result: yes" >&5
24149
echo "${ECHO_T}yes" >&6; }
24157
{ echo "$as_me:$LINENO: checking for GNOME_KEYRING" >&5
24158
echo $ECHO_N "checking for GNOME_KEYRING... $ECHO_C" >&6; }
24160
if test -n "$PKG_CONFIG"; then
24161
if test -n "$GNOME_KEYRING_CFLAGS"; then
24162
pkg_cv_GNOME_KEYRING_CFLAGS="$GNOME_KEYRING_CFLAGS"
24164
if test -n "$PKG_CONFIG" && \
24165
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1\"") >&5
24166
($PKG_CONFIG --exists --print-errors "gnome-keyring-1") 2>&5
24168
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24169
(exit $ac_status); }; then
24170
pkg_cv_GNOME_KEYRING_CFLAGS=`$PKG_CONFIG --cflags "gnome-keyring-1" 2>/dev/null`
24178
if test -n "$PKG_CONFIG"; then
24179
if test -n "$GNOME_KEYRING_LIBS"; then
24180
pkg_cv_GNOME_KEYRING_LIBS="$GNOME_KEYRING_LIBS"
24182
if test -n "$PKG_CONFIG" && \
24183
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-keyring-1\"") >&5
24184
($PKG_CONFIG --exists --print-errors "gnome-keyring-1") 2>&5
24186
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187
(exit $ac_status); }; then
24188
pkg_cv_GNOME_KEYRING_LIBS=`$PKG_CONFIG --libs "gnome-keyring-1" 2>/dev/null`
24199
if test $pkg_failed = yes; then
24201
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24202
_pkg_short_errors_supported=yes
24204
_pkg_short_errors_supported=no
24206
if test $_pkg_short_errors_supported = yes; then
24207
GNOME_KEYRING_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-keyring-1"`
24209
GNOME_KEYRING_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-keyring-1"`
24211
# Put the nasty error message in config.log where it belongs
24212
echo "$GNOME_KEYRING_PKG_ERRORS" >&5
24214
{ { echo "$as_me:$LINENO: error: Package requirements (gnome-keyring-1) were not met:
24216
$GNOME_KEYRING_PKG_ERRORS
24218
Consider adjusting the PKG_CONFIG_PATH environment variable if you
24219
installed software in a non-standard prefix.
24221
Alternatively, you may set the environment variables GNOME_KEYRING_CFLAGS
24222
and GNOME_KEYRING_LIBS to avoid the need to call pkg-config.
24223
See the pkg-config man page for more details.
24225
echo "$as_me: error: Package requirements (gnome-keyring-1) were not met:
24227
$GNOME_KEYRING_PKG_ERRORS
24229
Consider adjusting the PKG_CONFIG_PATH environment variable if you
24230
installed software in a non-standard prefix.
24232
Alternatively, you may set the environment variables GNOME_KEYRING_CFLAGS
24233
and GNOME_KEYRING_LIBS to avoid the need to call pkg-config.
24234
See the pkg-config man page for more details.
24236
{ (exit 1); exit 1; }; }
24237
elif test $pkg_failed = untried; then
24238
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
24239
is in your PATH or set the PKG_CONFIG environment variable to the full
24240
path to pkg-config.
24242
Alternatively, you may set the environment variables GNOME_KEYRING_CFLAGS
24243
and GNOME_KEYRING_LIBS to avoid the need to call pkg-config.
24244
See the pkg-config man page for more details.
24246
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
24247
See \`config.log' for more details." >&5
24248
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
24249
is in your PATH or set the PKG_CONFIG environment variable to the full
24250
path to pkg-config.
24252
Alternatively, you may set the environment variables GNOME_KEYRING_CFLAGS
24253
and GNOME_KEYRING_LIBS to avoid the need to call pkg-config.
24254
See the pkg-config man page for more details.
24256
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
24257
See \`config.log' for more details." >&2;}
24258
{ (exit 1); exit 1; }; }
24260
GNOME_KEYRING_CFLAGS=$pkg_cv_GNOME_KEYRING_CFLAGS
24261
GNOME_KEYRING_LIBS=$pkg_cv_GNOME_KEYRING_LIBS
24262
{ echo "$as_me:$LINENO: result: yes" >&5
24263
echo "${ECHO_T}yes" >&6; }
24269
LIBNOTIFY_REQUIRED=0.3.0
24271
# Check whether --with-notify was given.
24272
if test "${with_notify+set}" = set; then
24273
withval=$with_notify; enable_notify=$withval
24279
if test x"$enable_notify" != xno; then
24282
{ echo "$as_me:$LINENO: checking for NOTIFY" >&5
24283
echo $ECHO_N "checking for NOTIFY... $ECHO_C" >&6; }
24285
if test -n "$PKG_CONFIG"; then
24286
if test -n "$NOTIFY_CFLAGS"; then
24287
pkg_cv_NOTIFY_CFLAGS="$NOTIFY_CFLAGS"
24289
if test -n "$PKG_CONFIG" && \
24290
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnotify >= \$LIBNOTIFY_REQUIRED\"") >&5
24291
($PKG_CONFIG --exists --print-errors "libnotify >= $LIBNOTIFY_REQUIRED") 2>&5
24293
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24294
(exit $ac_status); }; then
24295
pkg_cv_NOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= $LIBNOTIFY_REQUIRED" 2>/dev/null`
24303
if test -n "$PKG_CONFIG"; then
24304
if test -n "$NOTIFY_LIBS"; then
24305
pkg_cv_NOTIFY_LIBS="$NOTIFY_LIBS"
24307
if test -n "$PKG_CONFIG" && \
24308
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnotify >= \$LIBNOTIFY_REQUIRED\"") >&5
24309
($PKG_CONFIG --exists --print-errors "libnotify >= $LIBNOTIFY_REQUIRED") 2>&5
24311
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24312
(exit $ac_status); }; then
24313
pkg_cv_NOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= $LIBNOTIFY_REQUIRED" 2>/dev/null`
24324
if test $pkg_failed = yes; then
24326
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24327
_pkg_short_errors_supported=yes
24329
_pkg_short_errors_supported=no
24331
if test $_pkg_short_errors_supported = yes; then
24332
NOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= $LIBNOTIFY_REQUIRED"`
24334
NOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= $LIBNOTIFY_REQUIRED"`
24336
# Put the nasty error message in config.log where it belongs
24337
echo "$NOTIFY_PKG_ERRORS" >&5
24339
{ echo "$as_me:$LINENO: result: no" >&5
24340
echo "${ECHO_T}no" >&6; }
24342
elif test $pkg_failed = untried; then
24345
NOTIFY_CFLAGS=$pkg_cv_NOTIFY_CFLAGS
24346
NOTIFY_LIBS=$pkg_cv_NOTIFY_LIBS
24347
{ echo "$as_me:$LINENO: result: yes" >&5
24348
echo "${ECHO_T}yes" >&6; }
24351
if test "x$enable_notify" != "xno"; then
24353
cat >>confdefs.h <<_ACEOF
24354
#define ENABLE_NOTIFY 1
24359
if test x"$enable_notify" != xno; then
24361
WITH_NOTIFY_FALSE='#'
24363
WITH_NOTIFY_TRUE='#'
24366
# can't do it from inside 'if'
24370
{ echo "$as_me:$LINENO: checking for LIBGNOMEUI" >&5
24371
echo $ECHO_N "checking for LIBGNOMEUI... $ECHO_C" >&6; }
24373
if test -n "$PKG_CONFIG"; then
24374
if test -n "$LIBGNOMEUI_CFLAGS"; then
24375
pkg_cv_LIBGNOMEUI_CFLAGS="$LIBGNOMEUI_CFLAGS"
24377
if test -n "$PKG_CONFIG" && \
24378
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0\"") >&5
24379
($PKG_CONFIG --exists --print-errors "libgnomeui-2.0") 2>&5
24381
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382
(exit $ac_status); }; then
24383
pkg_cv_LIBGNOMEUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeui-2.0" 2>/dev/null`
24391
if test -n "$PKG_CONFIG"; then
24392
if test -n "$LIBGNOMEUI_LIBS"; then
24393
pkg_cv_LIBGNOMEUI_LIBS="$LIBGNOMEUI_LIBS"
24395
if test -n "$PKG_CONFIG" && \
24396
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeui-2.0\"") >&5
24397
($PKG_CONFIG --exists --print-errors "libgnomeui-2.0") 2>&5
24399
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24400
(exit $ac_status); }; then
24401
pkg_cv_LIBGNOMEUI_LIBS=`$PKG_CONFIG --libs "libgnomeui-2.0" 2>/dev/null`
24412
if test $pkg_failed = yes; then
24414
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
24415
_pkg_short_errors_supported=yes
24417
_pkg_short_errors_supported=no
24419
if test $_pkg_short_errors_supported = yes; then
24420
LIBGNOMEUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeui-2.0"`
24422
LIBGNOMEUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeui-2.0"`
24424
# Put the nasty error message in config.log where it belongs
24425
echo "$LIBGNOMEUI_PKG_ERRORS" >&5
24427
{ { echo "$as_me:$LINENO: error: Package requirements (libgnomeui-2.0) were not met:
24429
$LIBGNOMEUI_PKG_ERRORS
24431
Consider adjusting the PKG_CONFIG_PATH environment variable if you
24432
installed software in a non-standard prefix.
24434
Alternatively, you may set the environment variables LIBGNOMEUI_CFLAGS
24435
and LIBGNOMEUI_LIBS to avoid the need to call pkg-config.
24436
See the pkg-config man page for more details.
24438
echo "$as_me: error: Package requirements (libgnomeui-2.0) were not met:
24440
$LIBGNOMEUI_PKG_ERRORS
24442
Consider adjusting the PKG_CONFIG_PATH environment variable if you
24443
installed software in a non-standard prefix.
24445
Alternatively, you may set the environment variables LIBGNOMEUI_CFLAGS
24446
and LIBGNOMEUI_LIBS to avoid the need to call pkg-config.
24447
See the pkg-config man page for more details.
24449
{ (exit 1); exit 1; }; }
24450
elif test $pkg_failed = untried; then
24451
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
24452
is in your PATH or set the PKG_CONFIG environment variable to the full
24453
path to pkg-config.
24455
Alternatively, you may set the environment variables LIBGNOMEUI_CFLAGS
24456
and LIBGNOMEUI_LIBS to avoid the need to call pkg-config.
24457
See the pkg-config man page for more details.
24459
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
24460
See \`config.log' for more details." >&5
24461
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
24462
is in your PATH or set the PKG_CONFIG environment variable to the full
24463
path to pkg-config.
24465
Alternatively, you may set the environment variables LIBGNOMEUI_CFLAGS
24466
and LIBGNOMEUI_LIBS to avoid the need to call pkg-config.
24467
See the pkg-config man page for more details.
24469
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
24470
See \`config.log' for more details." >&2;}
24471
{ (exit 1); exit 1; }; }
24473
LIBGNOMEUI_CFLAGS=$pkg_cv_LIBGNOMEUI_CFLAGS
24474
LIBGNOMEUI_LIBS=$pkg_cv_LIBGNOMEUI_LIBS
24475
{ echo "$as_me:$LINENO: result: yes" >&5
24476
echo "${ECHO_T}yes" >&6; }
24482
if test -n "$PKG_CONFIG" && \
24483
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnome-2.0 >= 2.14.0\"") >&5
24484
($PKG_CONFIG --exists --print-errors "libgnome-2.0 >= 2.14.0") 2>&5
24486
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487
(exit $ac_status); }; then
24488
have_libgnome_2_14=yes
24490
have_libgnome_2_14=no
24492
if test "$have_libgnome_2_14" = "yes"; then
24494
cat >>confdefs.h <<\_ACEOF
24495
#define HAVE_LIBGNOME_2_14 1
24500
{ echo "$as_me:$LINENO: checking for wireless-tools >= 28pre9" >&5
24501
echo $ECHO_N "checking for wireless-tools >= 28pre9... $ECHO_C" >&6; }
24502
cat >conftest.$ac_ext <<_ACEOF
24505
cat confdefs.h >>conftest.$ac_ext
24506
cat >>conftest.$ac_ext <<_ACEOF
24507
/* end confdefs.h. */
24519
rm -f conftest.$ac_objext
24520
if { (ac_try="$ac_compile"
24521
case "(($ac_try" in
24522
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24523
*) ac_try_echo=$ac_try;;
24525
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24526
(eval "$ac_compile") 2>conftest.er1
24528
grep -v '^ *+' conftest.er1 >conftest.err
24530
cat conftest.err >&5
24531
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24532
(exit $ac_status); } && {
24533
test -z "$ac_c_werror_flag" ||
24534
test ! -s conftest.err
24535
} && test -s conftest.$ac_objext; then
24536
ac_have_iwevgenie=yes
24538
echo "$as_me: failed program was:" >&5
24539
sed 's/^/| /' conftest.$ac_ext >&5
24541
ac_have_iwevgenie=no
24544
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24545
{ echo "$as_me:$LINENO: result: $ac_have_iwevgenie" >&5
24546
echo "${ECHO_T}$ac_have_iwevgenie" >&6; }
24547
if test "$ac_have_iwevgenie" = no; then
24548
{ { echo "$as_me:$LINENO: error: wireless-tools >= 28pre9 not installed or not functional" >&5
24549
echo "$as_me: error: wireless-tools >= 28pre9 not installed or not functional" >&2;}
24550
{ (exit 1); exit 1; }; }
24556
# Check whether --with-dbus-sys was given.
24557
if test "${with_dbus_sys+set}" = set; then
24558
withval=$with_dbus_sys;
24562
if ! test -z "$with_dbus_sys" ; then
24563
DBUS_SYS_DIR="$with_dbus_sys"
24565
DBUS_SYS_DIR="${sysconfdir}/dbus-1/system.d"
24569
cat >>confdefs.h <<_ACEOF
24570
#define DBUS_SYSTEMD_DIR "$DBUS_SYS_DIR"
24574
#### find the actual value for $prefix that we'll end up with
24575
## (I know this is broken and should be done in the Makefile, but
24576
## that's a major pain and almost nobody actually seems to care)
24578
if test "x$prefix" = "xNONE"; then
24579
REAL_PREFIX=$ac_default_prefix
24581
REAL_PREFIX=$prefix
24584
## temporarily change prefix and exec_prefix
24586
prefix=$REAL_PREFIX
24588
if test "x$exec_prefix" = xNONE ; then
24589
REAL_EXEC_PREFIX=$REAL_PREFIX
24591
REAL_EXEC_PREFIX=$exec_prefix
24593
old_exec_prefix=$exec_prefix
24594
exec_prefix=$REAL_EXEC_PREFIX
24596
BINDIR_TMP="$bindir"
24597
EXPANDED_BINDIR=`eval echo $BINDIR_TMP`
24600
cat >>confdefs.h <<_ACEOF
24601
#define EXPANDED_BINDIR "$EXPANDED_BINDIR"
24605
## put prefix and exec_prefix back
24607
exec_prefix=$old_exec_prefix
24609
# Check whether --enable-more-warnings was given.
24610
if test "${enable_more_warnings+set}" = set; then
24611
enableval=$enable_more_warnings; set_more_warnings="$enableval"
24614
if test -d "$srcdir/{arch}" || test -d "$srcdir/CVS"; then
24615
set_more_warnings=yes
24617
set_more_warnings=no
24622
{ echo "$as_me:$LINENO: checking for more warnings" >&5
24623
echo $ECHO_N "checking for more warnings... $ECHO_C" >&6; }
24624
if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
24625
{ echo "$as_me:$LINENO: result: yes" >&5
24626
echo "${ECHO_T}yes" >&6; }
24627
CFLAGS="-Wall -Werror -std=gnu89 $CFLAGS"
24629
for option in -Wshadow -Wmissing-declarations -Wmissing-prototypes \
24630
-Wdeclaration-after-statement -Wstrict-prototypes \
24631
-Wfloat-equal -Wno-unused-parameter -Wno-sign-compare; do
24632
SAVE_CFLAGS="$CFLAGS"
24633
CFLAGS="$CFLAGS $option"
24634
{ echo "$as_me:$LINENO: checking whether gcc understands $option" >&5
24635
echo $ECHO_N "checking whether gcc understands $option... $ECHO_C" >&6; }
24636
cat >conftest.$ac_ext <<_ACEOF
24639
cat confdefs.h >>conftest.$ac_ext
24640
cat >>conftest.$ac_ext <<_ACEOF
24641
/* end confdefs.h. */
24651
rm -f conftest.$ac_objext
24652
if { (ac_try="$ac_compile"
24653
case "(($ac_try" in
24654
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24655
*) ac_try_echo=$ac_try;;
24657
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24658
(eval "$ac_compile") 2>conftest.er1
24660
grep -v '^ *+' conftest.er1 >conftest.err
24662
cat conftest.err >&5
24663
echo "$as_me:$LINENO: \$? = $ac_status" >&5
24664
(exit $ac_status); } && {
24665
test -z "$ac_c_werror_flag" ||
24666
test ! -s conftest.err
24667
} && test -s conftest.$ac_objext; then
24670
echo "$as_me: failed program was:" >&5
24671
sed 's/^/| /' conftest.$ac_ext >&5
24676
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24677
if test $has_option = no; then
24678
CFLAGS="$SAVE_CFLAGS"
24680
{ echo "$as_me:$LINENO: result: $has_option" >&5
24681
echo "${ECHO_T}$has_option" >&6; }
24687
{ echo "$as_me:$LINENO: result: no" >&5
24688
echo "${ECHO_T}no" >&6; }
24691
ac_config_files="$ac_config_files Makefile src/Makefile icons/Makefile po/Makefile.in"
24693
cat >confcache <<\_ACEOF
24694
# This file is a shell script that caches the results of configure
24695
# tests run on this system so they can be shared between configure
24696
# scripts and configure runs, see configure's option --config-cache.
24697
# It is not useful on other systems. If it contains results you don't
24698
# want to keep, you may remove or edit it.
24700
# config.status only pays attention to the cache file if you give it
24701
# the --recheck option to rerun configure.
24703
# `ac_cv_env_foo' variables (set or unset) will be overridden when
24704
# loading this file, other *unset* `ac_cv_foo' will be assigned the
24705
# following values.
24709
# The following way of writing the cache mishandles newlines in values,
24710
# but we know of no workaround that is simple, portable, and efficient.
24711
# So, we kill variables containing newlines.
24712
# Ultrix sh set writes to stderr and can't be redirected directly,
24713
# and sets the high bit in the cache file unless we assign to the vars.
24715
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24716
eval ac_val=\$$ac_var
24720
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24721
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24724
_ | IFS | as_nl) ;; #(
24725
*) $as_unset $ac_var ;;
24731
case $as_nl`(ac_space=' '; set) 2>&1` in #(
24732
*${as_nl}ac_space=\ *)
24733
# `set' does not quote correctly, so add quotes (double-quote
24734
# substitution turns \\\\ into \\, and sed turns \\ into \).
24737
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24740
# `set' quotes correctly as required by POSIX, so do not add quotes.
24741
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24750
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24752
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24754
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24755
if test -w "$cache_file"; then
24756
test "x$cache_file" != "x/dev/null" &&
24757
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
24758
echo "$as_me: updating cache $cache_file" >&6;}
24759
cat confcache >$cache_file
24761
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24762
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24767
test "x$prefix" = xNONE && prefix=$ac_default_prefix
24768
# Let make expand exec_prefix.
24769
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
24771
DEFS=-DHAVE_CONFIG_H
24775
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
24776
# 1. Remove the extension, and $U if already installed.
24777
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
24778
ac_i=`echo "$ac_i" | sed "$ac_script"`
24779
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
24780
# will be set to the directory where LIBOBJS objects are built.
24781
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
24782
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
24784
LIBOBJS=$ac_libobjs
24786
LTLIBOBJS=$ac_ltlibobjs
24789
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
24790
{ { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
24791
Usually this means the macro was only invoked conditionally." >&5
24792
echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
24793
Usually this means the macro was only invoked conditionally." >&2;}
24794
{ (exit 1); exit 1; }; }
24796
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
24797
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
24798
Usually this means the macro was only invoked conditionally." >&5
24799
echo "$as_me: error: conditional \"AMDEP\" was never defined.
24800
Usually this means the macro was only invoked conditionally." >&2;}
24801
{ (exit 1); exit 1; }; }
24803
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
24804
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
24805
Usually this means the macro was only invoked conditionally." >&5
24806
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
24807
Usually this means the macro was only invoked conditionally." >&2;}
24808
{ (exit 1); exit 1; }; }
24810
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
24811
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
24812
Usually this means the macro was only invoked conditionally." >&5
24813
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
24814
Usually this means the macro was only invoked conditionally." >&2;}
24815
{ (exit 1); exit 1; }; }
24818
ac_config_commands="$ac_config_commands po/stamp-it"
24821
if test -z "${WITH_NOTIFY_TRUE}" && test -z "${WITH_NOTIFY_FALSE}"; then
24822
{ { echo "$as_me:$LINENO: error: conditional \"WITH_NOTIFY\" was never defined.
24823
Usually this means the macro was only invoked conditionally." >&5
24824
echo "$as_me: error: conditional \"WITH_NOTIFY\" was never defined.
24825
Usually this means the macro was only invoked conditionally." >&2;}
24826
{ (exit 1); exit 1; }; }
24829
: ${CONFIG_STATUS=./config.status}
24830
ac_clean_files_save=$ac_clean_files
24831
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
24832
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
24833
echo "$as_me: creating $CONFIG_STATUS" >&6;}
24834
cat >$CONFIG_STATUS <<_ACEOF
24836
# Generated by $as_me.
24837
# Run this file to recreate the current configuration.
24838
# Compiler output produced by configure, useful for debugging
24839
# configure, is in config.log if it exists.
24842
ac_cs_recheck=false
24844
SHELL=\${CONFIG_SHELL-$SHELL}
24847
cat >>$CONFIG_STATUS <<\_ACEOF
24848
## --------------------- ##
24849
## M4sh Initialization. ##
24850
## --------------------- ##
24852
# Be more Bourne compatible
24853
DUALCASE=1; export DUALCASE # for MKS sh
24854
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24857
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24858
# is contrary to our usage. Disable this feature.
24859
alias -g '${1+"$@"}'='"$@"'
24860
setopt NO_GLOB_SUBST
24862
case `(set -o) 2>/dev/null` in
24863
*posix*) set -o posix ;;
24872
# Avoid depending upon Character Ranges.
24873
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24874
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24875
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24876
as_cr_digits='0123456789'
24877
as_cr_alnum=$as_cr_Letters$as_cr_digits
24879
# The user is always right.
24880
if test "${PATH_SEPARATOR+set}" != set; then
24881
echo "#! /bin/sh" >conf$$.sh
24882
echo "exit 0" >>conf$$.sh
24884
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24892
# Support unset when possible.
24893
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
24901
# We need space, tab and new line, in precisely that order. Quoting is
24902
# there to prevent editors from complaining about space-tab.
24903
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
24904
# splitting by setting IFS to empty value.)
24909
# Find who we are. Look in the path if we contain no directory separator.
24911
*[\\/]* ) as_myself=$0 ;;
24912
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24913
for as_dir in $PATH
24916
test -z "$as_dir" && as_dir=.
24917
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24923
# We did not find ourselves, most probably we were run as `sh COMMAND'
24924
# in which case we are not to be found in the path.
24925
if test "x$as_myself" = x; then
24928
if test ! -f "$as_myself"; then
24929
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
24930
{ (exit 1); exit 1; }
24933
# Work around bugs in pre-3.0 UWIN ksh.
24934
for as_var in ENV MAIL MAILPATH
24935
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24943
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
24944
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
24945
LC_TELEPHONE LC_TIME
24947
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
24948
eval $as_var=C; export $as_var
24950
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
24954
# Required to use basename.
24955
if expr a : '\(a\)' >/dev/null 2>&1 &&
24956
test "X`expr 00001 : '.*\(...\)'`" = X001; then
24962
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
24963
as_basename=basename
24969
# Name of the executable.
24970
as_me=`$as_basename -- "$0" ||
24971
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24972
X"$0" : 'X\(//\)$' \| \
24973
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24975
sed '/^.*\/\([^/][^/]*\)\/*$/{
24994
as_lineno_1=$LINENO
24995
as_lineno_2=$LINENO
24996
test "x$as_lineno_1" != "x$as_lineno_2" &&
24997
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
24999
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
25000
# uniformly replaced by the line number. The first 'sed' inserts a
25001
# line-number line after each line using $LINENO; the second 'sed'
25002
# does the real work. The second script uses 'N' to pair each
25003
# line-number line with the line containing $LINENO, and appends
25004
# trailing '-' during substitution so that $LINENO is not a special
25005
# case at line end.
25006
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
25007
# scripts with optimization help from Paolo Bonzini. Blame Lee
25008
# E. McMahon (1931-1989) for sed's syntax. :-)
25020
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
25023
' >$as_me.lineno &&
25024
chmod +x "$as_me.lineno" ||
25025
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
25026
{ (exit 1); exit 1; }; }
25028
# Don't try to exec as it changes $[0], causing all sort of problems
25029
# (the dirname of $[0] is not the place where we might find the
25030
# original and so on. Autoconf is especially sensitive to this).
25031
. "./$as_me.lineno"
25032
# Exit status is that of the last command.
25037
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25043
ECHO_C= ECHO_N= ECHO_T=
25044
case `echo -n x` in
25046
case `echo 'x\c'` in
25047
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
25054
if expr a : '\(a\)' >/dev/null 2>&1 &&
25055
test "X`expr 00001 : '.*\(...\)'`" = X001; then
25061
rm -f conf$$ conf$$.exe conf$$.file
25062
if test -d conf$$.dir; then
25063
rm -f conf$$.dir/conf$$.file
25069
if ln -s conf$$.file conf$$ 2>/dev/null; then
25071
# ... but there are two gotchas:
25072
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25073
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25074
# In both cases, we have to default to `cp -p'.
25075
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25077
elif ln conf$$.file conf$$ 2>/dev/null; then
25082
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25083
rmdir conf$$.dir 2>/dev/null
25085
if mkdir -p . 2>/dev/null; then
25088
test -d ./-p && rmdir ./-p
25092
if test -x / >/dev/null 2>&1; then
25093
as_test_x='test -x'
25095
if ls -dL / >/dev/null 2>&1; then
25102
if test -d "$1"; then
25108
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
25109
???[sx]*):;;*)false;;esac;fi
25113
as_executable_p=$as_test_x
25115
# Sed expression to map a string onto a valid CPP name.
25116
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25118
# Sed expression to map a string onto a valid variable name.
25119
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25124
# Save the log message, to keep $[0] and so on meaningful, and to
25125
# report actual input values of CONFIG_FILES etc. instead of their
25126
# values after options handling.
25128
This file was extended by nm-applet $as_me 0.6.5, which was
25129
generated by GNU Autoconf 2.61. Invocation command line was
25131
CONFIG_FILES = $CONFIG_FILES
25132
CONFIG_HEADERS = $CONFIG_HEADERS
25133
CONFIG_LINKS = $CONFIG_LINKS
25134
CONFIG_COMMANDS = $CONFIG_COMMANDS
25137
on `(hostname || uname -n) 2>/dev/null | sed 1q`
25142
cat >>$CONFIG_STATUS <<_ACEOF
25143
# Files that config.status was made for.
25144
config_files="$ac_config_files"
25145
config_headers="$ac_config_headers"
25146
config_commands="$ac_config_commands"
25150
cat >>$CONFIG_STATUS <<\_ACEOF
25152
\`$as_me' instantiates files from templates according to the
25153
current configuration.
25155
Usage: $0 [OPTIONS] [FILE]...
25157
-h, --help print this help, then exit
25158
-V, --version print version number and configuration settings, then exit
25159
-q, --quiet do not print progress messages
25160
-d, --debug don't remove temporary files
25161
--recheck update $as_me by reconfiguring in the same conditions
25162
--file=FILE[:TEMPLATE]
25163
instantiate the configuration file FILE
25164
--header=FILE[:TEMPLATE]
25165
instantiate the configuration header FILE
25167
Configuration files:
25170
Configuration headers:
25173
Configuration commands:
25176
Report bugs to <bug-autoconf@gnu.org>."
25179
cat >>$CONFIG_STATUS <<_ACEOF
25181
nm-applet config.status 0.6.5
25182
configured by $0, generated by GNU Autoconf 2.61,
25183
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
25185
Copyright (C) 2006 Free Software Foundation, Inc.
25186
This config.status script is free software; the Free Software Foundation
25187
gives unlimited permission to copy, distribute and modify it."
25195
cat >>$CONFIG_STATUS <<\_ACEOF
25196
# If no file are specified by the user, then we need to provide default
25197
# value. By we need to know if files were specified by the user.
25203
ac_option=`expr "X$1" : 'X\([^=]*\)='`
25204
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25215
# Handling of the options.
25216
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25218
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25219
echo "$ac_cs_version"; exit ;;
25220
--debug | --debu | --deb | --de | --d | -d )
25222
--file | --fil | --fi | --f )
25224
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
25225
ac_need_defaults=false;;
25226
--header | --heade | --head | --hea )
25228
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
25229
ac_need_defaults=false;;
25231
# Conflict between --help and --header
25232
{ echo "$as_me: error: ambiguous option: $1
25233
Try \`$0 --help' for more information." >&2
25234
{ (exit 1); exit 1; }; };;
25235
--help | --hel | -h )
25236
echo "$ac_cs_usage"; exit ;;
25237
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
25238
| -silent | --silent | --silen | --sile | --sil | --si | --s)
25241
# This is an error.
25242
-*) { echo "$as_me: error: unrecognized option: $1
25243
Try \`$0 --help' for more information." >&2
25244
{ (exit 1); exit 1; }; } ;;
25246
*) ac_config_targets="$ac_config_targets $1"
25247
ac_need_defaults=false ;;
25253
ac_configure_extra_args=
25255
if $ac_cs_silent; then
25257
ac_configure_extra_args="$ac_configure_extra_args --silent"
25261
cat >>$CONFIG_STATUS <<_ACEOF
25262
if \$ac_cs_recheck; then
25263
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
25264
CONFIG_SHELL=$SHELL
25265
export CONFIG_SHELL
25266
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25270
cat >>$CONFIG_STATUS <<\_ACEOF
25274
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25275
## Running $as_me. ##
25281
cat >>$CONFIG_STATUS <<_ACEOF
25285
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
25286
INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}'
25287
prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir"
25288
INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' INTLTOOL_ICONV='${INTLTOOL_ICONV}'
25289
INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}'
25290
INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}'
25295
cat >>$CONFIG_STATUS <<\_ACEOF
25297
# Handling of arguments.
25298
for ac_config_target in $ac_config_targets
25300
case $ac_config_target in
25301
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
25302
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
25303
"intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;;
25304
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
25305
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
25306
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
25307
"icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;;
25308
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
25309
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
25311
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
25312
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
25313
{ (exit 1); exit 1; }; };;
25318
# If the user did not use the arguments to specify the items to instantiate,
25319
# then the envvar interface is used. Set only those that are not.
25320
# We use the long form for the default assignment because of an extremely
25321
# bizarre bug on SunOS 4.1.3.
25322
if $ac_need_defaults; then
25323
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
25324
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
25325
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
25328
# Have a temporary directory for convenience. Make it in the build tree
25329
# simply because there is no reason against having it here, and in addition,
25330
# creating and moving files from /tmp can sometimes cause problems.
25331
# Hook for its removal unless debugging.
25332
# Note that there is a small window in which the directory will not be cleaned:
25333
# after its creation but before its name has been assigned to `$tmp'.
25337
trap 'exit_status=$?
25338
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
25340
trap '{ (exit 1); exit 1; }' 1 2 13 15
25342
# Create a (secure) tmp directory for tmp files.
25345
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25346
test -n "$tmp" && test -d "$tmp"
25349
tmp=./conf$$-$RANDOM
25350
(umask 077 && mkdir "$tmp")
25353
echo "$me: cannot create a temporary directory in ." >&2
25354
{ (exit 1); exit 1; }
25358
# Set up the sed scripts for CONFIG_FILES section.
25361
# No need to generate the scripts if there are no CONFIG_FILES.
25362
# This happens for instance when ./config.status config.h
25363
if test -n "$CONFIG_FILES"; then
25370
for ac_last_try in false false false false false :; do
25371
cat >conf$$subs.sed <<_ACEOF
25372
SHELL!$SHELL$ac_delim
25373
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
25374
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
25375
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
25376
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
25377
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
25378
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
25379
exec_prefix!$exec_prefix$ac_delim
25380
prefix!$prefix$ac_delim
25381
program_transform_name!$program_transform_name$ac_delim
25382
bindir!$bindir$ac_delim
25383
sbindir!$sbindir$ac_delim
25384
libexecdir!$libexecdir$ac_delim
25385
datarootdir!$datarootdir$ac_delim
25386
datadir!$datadir$ac_delim
25387
sysconfdir!$sysconfdir$ac_delim
25388
sharedstatedir!$sharedstatedir$ac_delim
25389
localstatedir!$localstatedir$ac_delim
25390
includedir!$includedir$ac_delim
25391
oldincludedir!$oldincludedir$ac_delim
25392
docdir!$docdir$ac_delim
25393
infodir!$infodir$ac_delim
25394
htmldir!$htmldir$ac_delim
25395
dvidir!$dvidir$ac_delim
25396
pdfdir!$pdfdir$ac_delim
25397
psdir!$psdir$ac_delim
25398
libdir!$libdir$ac_delim
25399
localedir!$localedir$ac_delim
25400
mandir!$mandir$ac_delim
25401
DEFS!$DEFS$ac_delim
25402
ECHO_C!$ECHO_C$ac_delim
25403
ECHO_N!$ECHO_N$ac_delim
25404
ECHO_T!$ECHO_T$ac_delim
25405
LIBS!$LIBS$ac_delim
25406
build_alias!$build_alias$ac_delim
25407
host_alias!$host_alias$ac_delim
25408
target_alias!$target_alias$ac_delim
25409
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
25410
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
25411
INSTALL_DATA!$INSTALL_DATA$ac_delim
25412
am__isrc!$am__isrc$ac_delim
25413
CYGPATH_W!$CYGPATH_W$ac_delim
25414
PACKAGE!$PACKAGE$ac_delim
25415
VERSION!$VERSION$ac_delim
25416
ACLOCAL!$ACLOCAL$ac_delim
25417
AUTOCONF!$AUTOCONF$ac_delim
25418
AUTOMAKE!$AUTOMAKE$ac_delim
25419
AUTOHEADER!$AUTOHEADER$ac_delim
25420
MAKEINFO!$MAKEINFO$ac_delim
25421
install_sh!$install_sh$ac_delim
25422
STRIP!$STRIP$ac_delim
25423
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
25424
mkdir_p!$mkdir_p$ac_delim
25426
SET_MAKE!$SET_MAKE$ac_delim
25427
am__leading_dot!$am__leading_dot$ac_delim
25428
AMTAR!$AMTAR$ac_delim
25429
am__tar!$am__tar$ac_delim
25430
am__untar!$am__untar$ac_delim
25431
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
25432
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
25433
MAINT!$MAINT$ac_delim
25435
CFLAGS!$CFLAGS$ac_delim
25436
LDFLAGS!$LDFLAGS$ac_delim
25437
CPPFLAGS!$CPPFLAGS$ac_delim
25438
ac_ct_CC!$ac_ct_CC$ac_delim
25439
EXEEXT!$EXEEXT$ac_delim
25440
OBJEXT!$OBJEXT$ac_delim
25441
DEPDIR!$DEPDIR$ac_delim
25442
am__include!$am__include$ac_delim
25443
am__quote!$am__quote$ac_delim
25444
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
25445
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
25446
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
25447
CCDEPMODE!$CCDEPMODE$ac_delim
25448
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
25449
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
25450
build!$build$ac_delim
25451
build_cpu!$build_cpu$ac_delim
25452
build_vendor!$build_vendor$ac_delim
25453
build_os!$build_os$ac_delim
25454
host!$host$ac_delim
25455
host_cpu!$host_cpu$ac_delim
25456
host_vendor!$host_vendor$ac_delim
25457
host_os!$host_os$ac_delim
25459
GREP!$GREP$ac_delim
25460
EGREP!$EGREP$ac_delim
25461
LN_S!$LN_S$ac_delim
25462
ECHO!$ECHO$ac_delim
25464
RANLIB!$RANLIB$ac_delim
25467
CXXFLAGS!$CXXFLAGS$ac_delim
25468
ac_ct_CXX!$ac_ct_CXX$ac_delim
25471
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
25473
elif $ac_last_try; then
25474
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25475
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25476
{ (exit 1); exit 1; }; }
25478
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25482
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25483
if test -n "$ac_eof"; then
25484
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25485
ac_eof=`expr $ac_eof + 1`
25488
cat >>$CONFIG_STATUS <<_ACEOF
25489
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
25490
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25493
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25494
s/^/s,@/; s/!/@,|#_!!_#|/
25497
s/'"$ac_delim"'$/,g/; t
25499
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25500
' >>$CONFIG_STATUS <conf$$subs.sed
25501
rm -f conf$$subs.sed
25502
cat >>$CONFIG_STATUS <<_ACEOF
25508
for ac_last_try in false false false false false :; do
25509
cat >conf$$subs.sed <<_ACEOF
25510
CXXDEPMODE!$CXXDEPMODE$ac_delim
25511
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
25512
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
25513
CXXCPP!$CXXCPP$ac_delim
25515
FFLAGS!$FFLAGS$ac_delim
25516
ac_ct_F77!$ac_ct_F77$ac_delim
25517
LIBTOOL!$LIBTOOL$ac_delim
25518
ACLOCAL_AMFLAGS!$ACLOCAL_AMFLAGS$ac_delim
25519
WARN_CFLAGS!$WARN_CFLAGS$ac_delim
25520
DISABLE_DEPRECATED!$DISABLE_DEPRECATED$ac_delim
25521
LIBOBJS!$LIBOBJS$ac_delim
25522
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
25523
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
25524
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
25525
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
25526
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
25527
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
25528
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
25529
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
25530
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
25531
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
25532
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
25533
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
25534
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
25535
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
25536
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
25537
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
25538
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
25539
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
25540
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
25541
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
25542
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
25543
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
25544
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
25545
INTLTOOL_ICONV!$INTLTOOL_ICONV$ac_delim
25546
INTLTOOL_MSGFMT!$INTLTOOL_MSGFMT$ac_delim
25547
INTLTOOL_MSGMERGE!$INTLTOOL_MSGMERGE$ac_delim
25548
INTLTOOL_XGETTEXT!$INTLTOOL_XGETTEXT$ac_delim
25549
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
25550
DATADIRNAME!$DATADIRNAME$ac_delim
25551
USE_NLS!$USE_NLS$ac_delim
25552
MSGFMT!$MSGFMT$ac_delim
25553
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
25554
GMSGFMT!$GMSGFMT$ac_delim
25555
XGETTEXT!$XGETTEXT$ac_delim
25556
CATALOGS!$CATALOGS$ac_delim
25557
CATOBJEXT!$CATOBJEXT$ac_delim
25558
GMOFILES!$GMOFILES$ac_delim
25559
INSTOBJEXT!$INSTOBJEXT$ac_delim
25560
INTLLIBS!$INTLLIBS$ac_delim
25561
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
25562
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
25563
POFILES!$POFILES$ac_delim
25564
POSUB!$POSUB$ac_delim
25565
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
25566
PKG_CONFIG!$PKG_CONFIG$ac_delim
25567
DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
25568
DBUS_LIBS!$DBUS_LIBS$ac_delim
25569
GTHREAD_CFLAGS!$GTHREAD_CFLAGS$ac_delim
25570
GTHREAD_LIBS!$GTHREAD_LIBS$ac_delim
25571
GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
25572
GLIB_LIBS!$GLIB_LIBS$ac_delim
25573
GMODULE_CFLAGS!$GMODULE_CFLAGS$ac_delim
25574
GMODULE_LIBS!$GMODULE_LIBS$ac_delim
25575
GOBJECT_CFLAGS!$GOBJECT_CFLAGS$ac_delim
25576
GOBJECT_LIBS!$GOBJECT_LIBS$ac_delim
25577
NM_CFLAGS!$NM_CFLAGS$ac_delim
25578
NM_LIBS!$NM_LIBS$ac_delim
25579
GTK_CFLAGS!$GTK_CFLAGS$ac_delim
25580
GTK_LIBS!$GTK_LIBS$ac_delim
25581
GDK_PIXBUF_CFLAGS!$GDK_PIXBUF_CFLAGS$ac_delim
25582
GDK_PIXBUF_LIBS!$GDK_PIXBUF_LIBS$ac_delim
25583
GLADE_CFLAGS!$GLADE_CFLAGS$ac_delim
25584
GLADE_LIBS!$GLADE_LIBS$ac_delim
25585
GCONF_CFLAGS!$GCONF_CFLAGS$ac_delim
25586
GCONF_LIBS!$GCONF_LIBS$ac_delim
25587
GNOME_KEYRING_CFLAGS!$GNOME_KEYRING_CFLAGS$ac_delim
25588
GNOME_KEYRING_LIBS!$GNOME_KEYRING_LIBS$ac_delim
25589
NOTIFY_CFLAGS!$NOTIFY_CFLAGS$ac_delim
25590
NOTIFY_LIBS!$NOTIFY_LIBS$ac_delim
25591
WITH_NOTIFY_TRUE!$WITH_NOTIFY_TRUE$ac_delim
25592
WITH_NOTIFY_FALSE!$WITH_NOTIFY_FALSE$ac_delim
25593
LIBGNOMEUI_CFLAGS!$LIBGNOMEUI_CFLAGS$ac_delim
25594
LIBGNOMEUI_LIBS!$LIBGNOMEUI_LIBS$ac_delim
25595
IWLIB!$IWLIB$ac_delim
25596
DBUS_SYS_DIR!$DBUS_SYS_DIR$ac_delim
25597
EXPANDED_BINDIR!$EXPANDED_BINDIR$ac_delim
25598
LTLIBOBJS!$LTLIBOBJS$ac_delim
25601
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 89; then
25603
elif $ac_last_try; then
25604
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
25605
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
25606
{ (exit 1); exit 1; }; }
25608
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
25612
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
25613
if test -n "$ac_eof"; then
25614
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
25615
ac_eof=`expr $ac_eof + 1`
25618
cat >>$CONFIG_STATUS <<_ACEOF
25619
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
25620
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
25623
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
25624
s/^/s,@/; s/!/@,|#_!!_#|/
25627
s/'"$ac_delim"'$/,g/; t
25629
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
25630
' >>$CONFIG_STATUS <conf$$subs.sed
25631
rm -f conf$$subs.sed
25632
cat >>$CONFIG_STATUS <<_ACEOF
25639
# VPATH may cause trouble with some makes, so we remove $(srcdir),
25640
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
25641
# trailing colons and then remove the whole line if VPATH becomes empty
25642
# (actually we leave an empty line to preserve line numbers).
25643
if test "x$srcdir" = x.; then
25644
ac_vpsub='/^[ ]*VPATH[ ]*=/{
25645
s/:*\$(srcdir):*/:/
25646
s/:*\${srcdir}:*/:/
25648
s/^\([^=]*=[ ]*\):*/\1/
25654
cat >>$CONFIG_STATUS <<\_ACEOF
25655
fi # test -n "$CONFIG_FILES"
25658
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
25661
:[FHLC]) ac_mode=$ac_tag; continue;;
25663
case $ac_mode$ac_tag in
25665
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
25666
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
25667
{ (exit 1); exit 1; }; };;
25668
:[FH]-) ac_tag=-:-;;
25669
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
25686
-) ac_f="$tmp/stdin";;
25687
*) # Look for the file first in the build tree, then in the source tree
25688
# (if the path is not absolute). The absolute path cannot be DOS-style,
25689
# because $ac_f cannot contain `:'.
25693
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
25695
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
25696
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
25697
{ (exit 1); exit 1; }; };;
25699
ac_file_inputs="$ac_file_inputs $ac_f"
25702
# Let's still pretend it is `configure' which instantiates (i.e., don't
25703
# use $as_me), people would be surprised to read:
25704
# /* config.h. Generated by config.status. */
25705
configure_input="Generated from "`IFS=:
25706
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
25707
if test x"$ac_file" != x-; then
25708
configure_input="$ac_file. $configure_input"
25709
{ echo "$as_me:$LINENO: creating $ac_file" >&5
25710
echo "$as_me: creating $ac_file" >&6;}
25714
*:-:* | *:-) cat >"$tmp/stdin";;
25719
ac_dir=`$as_dirname -- "$ac_file" ||
25720
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25721
X"$ac_file" : 'X\(//\)[^/]' \| \
25722
X"$ac_file" : 'X\(//\)$' \| \
25723
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25725
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25729
/^X\(\/\/\)[^/].*/{
25744
-*) as_dir=./$as_dir;;
25746
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25750
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25751
*) as_qdir=$as_dir;;
25753
as_dirs="'$as_qdir' $as_dirs"
25754
as_dir=`$as_dirname -- "$as_dir" ||
25755
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25756
X"$as_dir" : 'X\(//\)[^/]' \| \
25757
X"$as_dir" : 'X\(//\)$' \| \
25758
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25760
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25764
/^X\(\/\/\)[^/].*/{
25777
test -d "$as_dir" && break
25779
test -z "$as_dirs" || eval "mkdir $as_dirs"
25780
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25781
echo "$as_me: error: cannot create directory $as_dir" >&2;}
25782
{ (exit 1); exit 1; }; }; }
25786
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25788
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25789
# A ".." for each directory in $ac_dir_suffix.
25790
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25791
case $ac_top_builddir_sub in
25792
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25793
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25796
ac_abs_top_builddir=$ac_pwd
25797
ac_abs_builddir=$ac_pwd$ac_dir_suffix
25798
# for backward compatibility:
25799
ac_top_builddir=$ac_top_build_prefix
25802
.) # We are building in place.
25804
ac_top_srcdir=$ac_top_builddir_sub
25805
ac_abs_top_srcdir=$ac_pwd ;;
25806
[\\/]* | ?:[\\/]* ) # Absolute name.
25807
ac_srcdir=$srcdir$ac_dir_suffix;
25808
ac_top_srcdir=$srcdir
25809
ac_abs_top_srcdir=$srcdir ;;
25810
*) # Relative name.
25811
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25812
ac_top_srcdir=$ac_top_build_prefix$srcdir
25813
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25815
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25825
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25826
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25828
ac_MKDIR_P=$MKDIR_P
25830
[\\/$]* | ?:[\\/]* ) ;;
25831
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
25835
cat >>$CONFIG_STATUS <<\_ACEOF
25836
# If the template does not know about datarootdir, expand it.
25837
# FIXME: This hack should be removed a few years after 2.60.
25838
ac_datarootdir_hack=; ac_datarootdir_seen=
25840
case `sed -n '/datarootdir/ {
25849
' $ac_file_inputs` in
25850
*datarootdir*) ac_datarootdir_seen=yes;;
25851
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25852
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25853
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25855
cat >>$CONFIG_STATUS <<_ACEOF
25856
ac_datarootdir_hack='
25857
s&@datadir@&$datadir&g
25858
s&@docdir@&$docdir&g
25859
s&@infodir@&$infodir&g
25860
s&@localedir@&$localedir&g
25861
s&@mandir@&$mandir&g
25862
s&\\\${datarootdir}&$datarootdir&g' ;;
25866
# Neutralize VPATH when `$srcdir' = `.'.
25867
# Shell code in configure.ac might set extrasub.
25868
# FIXME: do we really want to maintain this feature?
25869
cat >>$CONFIG_STATUS <<_ACEOF
25873
cat >>$CONFIG_STATUS <<\_ACEOF
25875
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25876
s&@configure_input@&$configure_input&;t t
25877
s&@top_builddir@&$ac_top_builddir_sub&;t t
25878
s&@srcdir@&$ac_srcdir&;t t
25879
s&@abs_srcdir@&$ac_abs_srcdir&;t t
25880
s&@top_srcdir@&$ac_top_srcdir&;t t
25881
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25882
s&@builddir@&$ac_builddir&;t t
25883
s&@abs_builddir@&$ac_abs_builddir&;t t
25884
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25885
s&@INSTALL@&$ac_INSTALL&;t t
25886
s&@MKDIR_P@&$ac_MKDIR_P&;t t
25887
$ac_datarootdir_hack
25888
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25890
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25891
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25892
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25893
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25894
which seems to be undefined. Please make sure it is defined." >&5
25895
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25896
which seems to be undefined. Please make sure it is defined." >&2;}
25900
-) cat "$tmp/out"; rm -f "$tmp/out";;
25901
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25910
# Transform confdefs.h into a sed script `conftest.defines', that
25911
# substitutes the proper values into config.h.in to produce config.h.
25912
rm -f conftest.defines conftest.tail
25913
# First, append a space to every undef/define line, to ease matching.
25914
echo 's/$/ /' >conftest.defines
25915
# Then, protect against being on the right side of a sed subst, or in
25916
# an unquoted here document, in config.status. If some macros were
25917
# called several times there might be several #defines for the same
25918
# symbol, which is useless. But do not sort them, since the last
25919
# AC_DEFINE must be honored.
25920
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25921
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25922
# NAME is the cpp macro being defined, VALUE is the value it is being given.
25923
# PARAMS is the parameter list in the macro definition--in most cases, it's
25924
# just an empty string.
25925
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25926
ac_dB='\\)[ (].*,\\1define\\2'
25934
s/^[ ]*#[ ]*define[ ][ ]*//
25939
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25940
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25941
' >>conftest.defines
25943
# Remove the space that was appended to ease matching.
25944
# Then replace #undef with comments. This is necessary, for
25945
# example, in the case of _POSIX_SOURCE, which is predefined and required
25946
# on some systems where configure will not decide to define it.
25947
# (The regexp can be short, since the line contains either #define or #undef.)
25949
s,^[ #]*u.*,/* & */,' >>conftest.defines
25951
# Break up conftest.defines:
25952
ac_max_sed_lines=50
25954
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25955
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25956
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25958
ac_in='$ac_file_inputs'
25959
ac_out='"$tmp/out1"'
25960
ac_nxt='"$tmp/out2"'
25964
# Write a here document:
25965
cat >>$CONFIG_STATUS <<_ACEOF
25966
# First, check the format of the line:
25967
cat >"\$tmp/defines.sed" <<\\CEOF
25968
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25969
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25973
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25975
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25976
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25977
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25978
grep . conftest.tail >/dev/null || break
25979
rm -f conftest.defines
25980
mv conftest.tail conftest.defines
25982
rm -f conftest.defines conftest.tail
25984
echo "ac_result=$ac_in" >>$CONFIG_STATUS
25985
cat >>$CONFIG_STATUS <<\_ACEOF
25986
if test x"$ac_file" != x-; then
25987
echo "/* $configure_input */" >"$tmp/config.h"
25988
cat "$ac_result" >>"$tmp/config.h"
25989
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25990
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25991
echo "$as_me: $ac_file is unchanged" >&6;}
25994
mv "$tmp/config.h" $ac_file
25997
echo "/* $configure_input */"
26001
# Compute $ac_file's index in $config_headers.
26003
for _am_header in $config_headers :; do
26004
case $_am_header in
26005
$ac_file | $ac_file:* )
26008
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
26011
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
26012
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26013
X$ac_file : 'X\(//\)[^/]' \| \
26014
X$ac_file : 'X\(//\)$' \| \
26015
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
26017
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26021
/^X\(\/\/\)[^/].*/{
26033
s/.*/./; q'`/stamp-h$_am_stamp_count
26036
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
26037
echo "$as_me: executing $ac_file commands" >&6;}
26042
case $ac_file$ac_mode in
26043
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
26044
# Strip MF so we end up with the name of the file.
26045
mf=`echo "$mf" | sed -e 's/:.*$//'`
26046
# Check whether this is an Automake generated Makefile or not.
26047
# We used to match only the files named `Makefile.in', but
26048
# some people rename them; so instead we look at the file content.
26049
# Grep'ing the first line is not enough: some people post-process
26050
# each Makefile.in and add a new line on top of each file to say so.
26051
# Grep'ing the whole file is not good either: AIX grep has a line
26052
# limit of 2048, but all sed's we know have understand at least 4000.
26053
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
26054
dirpart=`$as_dirname -- "$mf" ||
26055
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26056
X"$mf" : 'X\(//\)[^/]' \| \
26057
X"$mf" : 'X\(//\)$' \| \
26058
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
26060
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26064
/^X\(\/\/\)[^/].*/{
26080
# Extract the definition of DEPDIR, am__include, and am__quote
26081
# from the Makefile without running `make'.
26082
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
26083
test -z "$DEPDIR" && continue
26084
am__include=`sed -n 's/^am__include = //p' < "$mf"`
26085
test -z "am__include" && continue
26086
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
26087
# When using ansi2knr, U may be empty or an underscore; expand it
26088
U=`sed -n 's/^U = //p' < "$mf"`
26089
# Find all dependency output files, they are included files with
26090
# $(DEPDIR) in their names. We invoke sed twice because it is the
26091
# simplest approach to changing $(DEPDIR) to its actual value in the
26093
for file in `sed -n "
26094
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
26095
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
26096
# Make sure the directory exists.
26097
test -f "$dirpart/$file" && continue
26098
fdir=`$as_dirname -- "$file" ||
26099
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26100
X"$file" : 'X\(//\)[^/]' \| \
26101
X"$file" : 'X\(//\)$' \| \
26102
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
26104
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26108
/^X\(\/\/\)[^/].*/{
26121
{ as_dir=$dirpart/$fdir
26123
-*) as_dir=./$as_dir;;
26125
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
26129
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
26130
*) as_qdir=$as_dir;;
26132
as_dirs="'$as_qdir' $as_dirs"
26133
as_dir=`$as_dirname -- "$as_dir" ||
26134
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26135
X"$as_dir" : 'X\(//\)[^/]' \| \
26136
X"$as_dir" : 'X\(//\)$' \| \
26137
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26139
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26143
/^X\(\/\/\)[^/].*/{
26156
test -d "$as_dir" && break
26158
test -z "$as_dirs" || eval "mkdir $as_dirs"
26159
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
26160
echo "$as_me: error: cannot create directory $as_dir" >&2;}
26161
{ (exit 1); exit 1; }; }; }
26162
# echo "creating $dirpart/$file"
26163
echo '# dummy' > "$dirpart/$file"
26169
for file in intltool-extract intltool-merge intltool-update; do
26170
sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \
26171
-e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \
26172
-e "s|@INTLTOOL_ICONV@|${INTLTOOL_ICONV}|g" \
26173
-e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \
26174
-e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \
26175
-e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|g" \
26176
-e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \
26177
< ${ac_aux_dir}/${file}.in > ${file}.out
26178
if cmp -s ${file} ${file}.out 2>/dev/null; then
26181
mv -f ${file}.out ${file}
26183
chmod ugo+x ${file}
26188
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
26189
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
26192
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
26197
'"s|^| $ac_top_srcdir/|" \
26198
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
26200
if test ! -f "po/Makefile"; then
26201
{ { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5
26202
echo "$as_me: error: po/Makefile is not ready." >&2;}
26203
{ (exit 1); exit 1; }; }
26205
mv "po/Makefile" "po/Makefile.tmp"
26206
sed '/^POTFILES =/,/[^\\]$/ {
26210
' "po/Makefile.tmp" >"po/Makefile"
26211
rm -f "po/Makefile.tmp"
26212
mv "po/stamp-it.tmp" "po/stamp-it"
26219
{ (exit 0); exit 0; }
26221
chmod +x $CONFIG_STATUS
26222
ac_clean_files=$ac_clean_files_save
26225
# configure is writing to config.log, and then calls config.status.
26226
# config.status does its own redirection, appending to config.log.
26227
# Unfortunately, on DOS this fails, as config.log is still kept open
26228
# by configure, so config.status won't be able to write to it; its
26229
# output is simply discarded. So we exec the FD to /dev/null,
26230
# effectively closing config.log, so it can be properly (re)opened and
26231
# appended to by config.status. When coming back to configure, we
26232
# need to make the FD available again.
26233
if test "$no_create" != yes; then
26235
ac_config_status_args=
26236
test "$silent" = yes &&
26237
ac_config_status_args="$ac_config_status_args --quiet"
26239
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
26241
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
26242
# would make configure fail if this is the last instruction.
26243
$ac_cs_success || { (exit 1); exit 1; }