2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.65 for gtkhtml 3.30.3.
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
# is contrary to our usage. Disable this feature.
26
alias -g '${1+"$@"}'='"$@"'
29
case `(set -o) 2>/dev/null` in #(
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87
# We need space, tab and new line, in precisely that order. Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
93
# Find who we are. Look in the path if we contain no directory separator.
95
*[\\/]* ) as_myself=$0 ;;
96
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
test -z "$as_dir" && as_dir=.
101
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
# We did not find ourselves, most probably we were run as `sh COMMAND'
108
# in which case we are not to be found in the path.
109
if test "x$as_myself" = x; then
112
if test ! -f "$as_myself"; then
113
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
# Unset variables that we do not need and which cause bugs (e.g. in
118
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119
# suppresses any "Segmentation fault" message there. '((' could
120
# trigger a bug in pdksh 5.2.14.
121
for as_var in BASH_ENV ENV MAIL MAILPATH
122
do eval test x\${$as_var+set} = xset \
123
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
if test "x$CONFIG_SHELL" = x; then
139
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
# is contrary to our usage. Disable this feature.
144
alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
case \`(set -o) 2>/dev/null\` in #(
155
as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
172
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
test \$(( 1 + 1 )) = 2 || exit 1"
177
if (eval "$as_required") 2>/dev/null; then :
182
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190
test -z "$as_dir" && as_dir=.
194
for as_base in sh bash ksh sh5; do
195
# Try only shells that exist, to save several forks.
196
as_shell=$as_dir/$as_base
197
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
CONFIG_SHELL=$as_shell as_have_required=yes
200
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210
CONFIG_SHELL=$SHELL as_have_required=yes
215
if test "x$CONFIG_SHELL" != x; then :
216
# We cannot yet assume a decent shell, so we have to provide a
217
# neutralization value for shells without unset; and this also
218
# works around shells that cannot unset nonexistent variables.
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226
if test x$as_have_required = xno; then :
227
$as_echo "$0: This script requires a shell more modern than all"
228
$as_echo "$0: the shells that I found on your system."
229
if test x${ZSH_VERSION+set} = xset ; then
230
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
233
$as_echo "$0: Please tell bug-autoconf@gnu.org and
234
$0: http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml
235
$0: about your system, including any error possibly output
236
$0: before this message. Then install a modern shell, or
237
$0: manually run the script under such a shell if you do
244
SHELL=${CONFIG_SHELL-/bin/sh}
246
# Unset more variables known to interfere with behavior of common tools.
247
CLICOLOR_FORCE= GREP_OPTIONS=
248
unset CLICOLOR_FORCE GREP_OPTIONS
250
## --------------------- ##
251
## M4sh Shell Functions. ##
252
## --------------------- ##
255
# Portably unset VAR.
258
{ eval $1=; unset $1;}
262
# as_fn_set_status STATUS
263
# -----------------------
264
# Set $? to STATUS, without forking.
272
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282
# Create "$as_dir" as a directory, including parents if necessary.
287
-*) as_dir=./$as_dir;;
289
test -d "$as_dir" || eval $as_mkdir_p || {
293
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296
as_dirs="'$as_qdir' $as_dirs"
297
as_dir=`$as_dirname -- "$as_dir" ||
298
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299
X"$as_dir" : 'X\(//\)[^/]' \| \
300
X"$as_dir" : 'X\(//\)$' \| \
301
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302
$as_echo X"$as_dir" |
303
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320
test -d "$as_dir" && break
322
test -z "$as_dirs" || eval "mkdir $as_dirs"
323
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
327
# as_fn_append VAR VALUE
328
# ----------------------
329
# Append the text in VALUE to the end of the definition contained in VAR. Take
330
# advantage of any shell optimizations that allow amortized linear growth over
331
# repeated appends, instead of the typical quadratic growth present in naive
333
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334
eval 'as_fn_append ()
347
# Perform arithmetic evaluation on the ARGs, and store the result in the
348
# global $as_val. Take advantage of shells that can avoid forks. The arguments
349
# must be portable across $(()) and expr.
350
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358
as_val=`expr "$@" || test $? -eq 1`
363
# as_fn_error ERROR [LINENO LOG_FD]
364
# ---------------------------------
365
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367
# script with status $?, using 1 if that was 0.
370
as_status=$?; test $as_status -eq 0 && as_status=1
372
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
375
$as_echo "$as_me: error: $1" >&2
376
as_fn_exit $as_status
379
if expr a : '\(a\)' >/dev/null 2>&1 &&
380
test "X`expr 00001 : '.*\(...\)'`" = X001; then
386
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
398
as_me=`$as_basename -- "$0" ||
399
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400
X"$0" : 'X\(//\)$' \| \
401
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403
sed '/^.*\/\([^/][^/]*\)\/*$/{
417
# Avoid depending upon Character Ranges.
418
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421
as_cr_digits='0123456789'
422
as_cr_alnum=$as_cr_Letters$as_cr_digits
425
as_lineno_1=$LINENO as_lineno_1a=$LINENO
426
as_lineno_2=$LINENO as_lineno_2a=$LINENO
427
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
441
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445
chmod +x "$as_me.lineno" ||
446
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
448
# Don't try to exec as it changes $[0], causing all sort of problems
449
# (the dirname of $[0] is not the place where we might find the
450
# original and so on. Autoconf is especially sensitive to this).
452
# Exit status is that of the last command.
456
ECHO_C= ECHO_N= ECHO_T=
457
case `echo -n x` in #(((((
459
case `echo 'xy\c'` in
460
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
462
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
469
rm -f conf$$ conf$$.exe conf$$.file
470
if test -d conf$$.dir; then
471
rm -f conf$$.dir/conf$$.file
474
mkdir conf$$.dir 2>/dev/null
476
if (echo >conf$$.file) 2>/dev/null; then
477
if ln -s conf$$.file conf$$ 2>/dev/null; then
479
# ... but there are two gotchas:
480
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482
# In both cases, we have to default to `cp -p'.
483
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
485
elif ln conf$$.file conf$$ 2>/dev/null; then
493
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494
rmdir conf$$.dir 2>/dev/null
496
if mkdir -p . 2>/dev/null; then
497
as_mkdir_p='mkdir -p "$as_dir"'
499
test -d ./-p && rmdir ./-p
503
if test -x / >/dev/null 2>&1; then
506
if ls -dL / >/dev/null 2>&1; then
513
if test -d "$1"; then
519
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520
???[sx]*):;;*)false;;esac;fi
524
as_executable_p=$as_test_x
526
# Sed expression to map a string onto a valid CPP name.
527
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
529
# Sed expression to map a string onto a valid variable name.
530
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534
# Check that we are running under the correct shell.
535
SHELL=${CONFIG_SHELL-/bin/sh}
539
# Remove one level of quotation (which was required for Make).
540
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
545
if test "X$1" = X--no-reexec; then
546
# Discard the --no-reexec flag, and continue.
548
elif test "X$1" = X--fallback-echo; then
549
# Avoid inline document here, it may be left over
551
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552
# Yippee, $ECHO works!
555
# Restart under the correct shell.
556
exec $SHELL "$0" --no-reexec ${1+"$@"}
559
if test "X$1" = X--fallback-echo; then
560
# used as fallback echo
568
# The HP-UX ksh and POSIX shell print the target directory to stdout
570
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
572
if test -z "$lt_ECHO"; then
573
if test "X${echo_test_string+set}" != Xset; then
574
# find a string as large as possible, as long as the shell can cope with it
575
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
585
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587
test "X$echo_testing_string" = "X$echo_test_string"; then
590
# The Solaris, AIX, and Digital Unix default echo programs unquote
591
# backslashes. This makes it impossible to quote backslashes using
592
# echo "$something" | sed 's/\\/\\\\/g'
594
# So, first we look for a working echo in the user's PATH.
596
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597
for dir in $PATH /usr/ucb; do
599
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602
test "X$echo_testing_string" = "X$echo_test_string"; then
609
if test "X$ECHO" = Xecho; then
610
# We didn't find a better echo, so look for alternatives.
611
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613
test "X$echo_testing_string" = "X$echo_test_string"; then
614
# This shell has a builtin print -r that does the trick.
616
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617
test "X$CONFIG_SHELL" != X/bin/ksh; then
618
# If we have ksh, try running configure again with it.
619
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620
export ORIGINAL_CONFIG_SHELL
621
CONFIG_SHELL=/bin/ksh
623
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
627
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629
test "X$echo_testing_string" = "X$echo_test_string"; then
632
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633
test "X$echo_testing_string" = 'X\t' &&
634
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635
test "X$echo_testing_string" = "X$echo_test_string"; then
636
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
638
SHELL="$CONFIG_SHELL"
640
ECHO="$CONFIG_SHELL $0 --fallback-echo"
641
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642
test "X$echo_testing_string" = 'X\t' &&
643
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644
test "X$echo_testing_string" = "X$echo_test_string"; then
645
ECHO="$CONFIG_SHELL $0 --fallback-echo"
647
# maybe with a smaller string...
650
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
658
if test "$prev" != 'sed 50q "$0"'; then
659
echo_test_string=`eval $prev`
660
export echo_test_string
661
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
663
# Oops. We lost completely, so just stick with echo.
672
# Copy echo and quote the copy suitably for passing to libtool from
673
# the Makefile, instead of quoting the original, which is used later.
675
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
682
test -n "$DJDIR" || exec 7<&0 </dev/null
686
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
687
# so uname gets run too.
688
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
693
ac_default_prefix=/usr/local
695
ac_config_libobj_dir=.
702
# Identity of this package.
703
PACKAGE_NAME='gtkhtml'
704
PACKAGE_TARNAME='gtkhtml'
705
PACKAGE_VERSION='3.30.3'
706
PACKAGE_STRING='gtkhtml 3.30.3'
707
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml'
710
ac_unique_file="README"
711
# Factoring default headers for most tests.
712
ac_includes_default="\
714
#ifdef HAVE_SYS_TYPES_H
715
# include <sys/types.h>
717
#ifdef HAVE_SYS_STAT_H
718
# include <sys/stat.h>
724
# ifdef HAVE_STDLIB_H
729
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
734
#ifdef HAVE_STRINGS_H
735
# include <strings.h>
737
#ifdef HAVE_INTTYPES_H
738
# include <inttypes.h>
747
ac_subst_vars='am__EXEEXT_FALSE
755
GNOME_GTKHTML_EDITOR_TYPE
859
INTLTOOL_SERVICE_RULE
861
INTLTOOL_SCHEMAS_RULE
863
INTLTOOL_XML_NOMERGE_RULE
868
INTLTOOL_SOUNDLIST_RULE
875
INTLTOOL_DIRECTORY_RULE
876
INTLTOOL_DESKTOP_RULE
882
MAINTAINER_MODE_FALSE
888
GTKHTML_RELEASE_STRING
899
INSTALL_STRIP_PROGRAM
941
program_transform_name
954
enable_option_checking
956
enable_maintainer_mode
958
enable_dependency_tracking
968
ac_precious_vars='build_alias
996
# Initialize some variables set by options.
998
ac_init_version=false
999
ac_unrecognized_opts=
1000
ac_unrecognized_sep=
1001
# The variables have the same names as the options, with
1002
# dashes changed to underlines.
1003
cache_file=/dev/null
1010
program_transform_name=s,x,x,
1018
# Installation directory options.
1019
# These are left unexpanded so users can "make install exec_prefix=/foo"
1020
# and all the variables that are supposed to be based on exec_prefix
1021
# by default will actually change.
1022
# Use braces instead of parens because sh, perl, etc. also accept them.
1023
# (The list follows the same order as the GNU Coding Standards.)
1024
bindir='${exec_prefix}/bin'
1025
sbindir='${exec_prefix}/sbin'
1026
libexecdir='${exec_prefix}/libexec'
1027
datarootdir='${prefix}/share'
1028
datadir='${datarootdir}'
1029
sysconfdir='${prefix}/etc'
1030
sharedstatedir='${prefix}/com'
1031
localstatedir='${prefix}/var'
1032
includedir='${prefix}/include'
1033
oldincludedir='/usr/include'
1034
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1035
infodir='${datarootdir}/info'
1040
libdir='${exec_prefix}/lib'
1041
localedir='${datarootdir}/locale'
1042
mandir='${datarootdir}/man'
1048
# If the previous option needs an argument, assign it.
1049
if test -n "$ac_prev"; then
1050
eval $ac_prev=\$ac_option
1056
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1060
# Accept the important Cygnus configure options, so we can diagnose typos.
1062
case $ac_dashdash$ac_option in
1066
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1068
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1069
bindir=$ac_optarg ;;
1071
-build | --build | --buil | --bui | --bu)
1072
ac_prev=build_alias ;;
1073
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1074
build_alias=$ac_optarg ;;
1076
-cache-file | --cache-file | --cache-fil | --cache-fi \
1077
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1078
ac_prev=cache_file ;;
1079
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1080
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1081
cache_file=$ac_optarg ;;
1083
--config-cache | -C)
1084
cache_file=config.cache ;;
1086
-datadir | --datadir | --datadi | --datad)
1088
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1089
datadir=$ac_optarg ;;
1091
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1092
| --dataroo | --dataro | --datar)
1093
ac_prev=datarootdir ;;
1094
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1095
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1096
datarootdir=$ac_optarg ;;
1098
-disable-* | --disable-*)
1099
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1100
# Reject names that are not valid shell variable names.
1101
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102
as_fn_error "invalid feature name: $ac_useropt"
1103
ac_useropt_orig=$ac_useropt
1104
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105
case $ac_user_opts in
1107
"enable_$ac_useropt"
1109
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1110
ac_unrecognized_sep=', ';;
1112
eval enable_$ac_useropt=no ;;
1114
-docdir | --docdir | --docdi | --doc | --do)
1116
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1117
docdir=$ac_optarg ;;
1119
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1121
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1122
dvidir=$ac_optarg ;;
1124
-enable-* | --enable-*)
1125
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1126
# Reject names that are not valid shell variable names.
1127
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1128
as_fn_error "invalid feature name: $ac_useropt"
1129
ac_useropt_orig=$ac_useropt
1130
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1131
case $ac_user_opts in
1133
"enable_$ac_useropt"
1135
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1136
ac_unrecognized_sep=', ';;
1138
eval enable_$ac_useropt=\$ac_optarg ;;
1140
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1141
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1142
| --exec | --exe | --ex)
1143
ac_prev=exec_prefix ;;
1144
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1145
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1146
| --exec=* | --exe=* | --ex=*)
1147
exec_prefix=$ac_optarg ;;
1149
-gas | --gas | --ga | --g)
1150
# Obsolete; use --with-gas.
1153
-help | --help | --hel | --he | -h)
1154
ac_init_help=long ;;
1155
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1156
ac_init_help=recursive ;;
1157
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1158
ac_init_help=short ;;
1160
-host | --host | --hos | --ho)
1161
ac_prev=host_alias ;;
1162
-host=* | --host=* | --hos=* | --ho=*)
1163
host_alias=$ac_optarg ;;
1165
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1167
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1169
htmldir=$ac_optarg ;;
1171
-includedir | --includedir | --includedi | --included | --include \
1172
| --includ | --inclu | --incl | --inc)
1173
ac_prev=includedir ;;
1174
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1175
| --includ=* | --inclu=* | --incl=* | --inc=*)
1176
includedir=$ac_optarg ;;
1178
-infodir | --infodir | --infodi | --infod | --info | --inf)
1180
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1181
infodir=$ac_optarg ;;
1183
-libdir | --libdir | --libdi | --libd)
1185
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1186
libdir=$ac_optarg ;;
1188
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1189
| --libexe | --libex | --libe)
1190
ac_prev=libexecdir ;;
1191
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1192
| --libexe=* | --libex=* | --libe=*)
1193
libexecdir=$ac_optarg ;;
1195
-localedir | --localedir | --localedi | --localed | --locale)
1196
ac_prev=localedir ;;
1197
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1198
localedir=$ac_optarg ;;
1200
-localstatedir | --localstatedir | --localstatedi | --localstated \
1201
| --localstate | --localstat | --localsta | --localst | --locals)
1202
ac_prev=localstatedir ;;
1203
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1204
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1205
localstatedir=$ac_optarg ;;
1207
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1209
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1210
mandir=$ac_optarg ;;
1212
-nfp | --nfp | --nf)
1213
# Obsolete; use --without-fp.
1216
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1217
| --no-cr | --no-c | -n)
1220
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1221
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1224
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1225
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1226
| --oldin | --oldi | --old | --ol | --o)
1227
ac_prev=oldincludedir ;;
1228
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1229
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1230
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1231
oldincludedir=$ac_optarg ;;
1233
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1235
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1236
prefix=$ac_optarg ;;
1238
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1239
| --program-pre | --program-pr | --program-p)
1240
ac_prev=program_prefix ;;
1241
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1242
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1243
program_prefix=$ac_optarg ;;
1245
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1246
| --program-suf | --program-su | --program-s)
1247
ac_prev=program_suffix ;;
1248
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1249
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1250
program_suffix=$ac_optarg ;;
1252
-program-transform-name | --program-transform-name \
1253
| --program-transform-nam | --program-transform-na \
1254
| --program-transform-n | --program-transform- \
1255
| --program-transform | --program-transfor \
1256
| --program-transfo | --program-transf \
1257
| --program-trans | --program-tran \
1258
| --progr-tra | --program-tr | --program-t)
1259
ac_prev=program_transform_name ;;
1260
-program-transform-name=* | --program-transform-name=* \
1261
| --program-transform-nam=* | --program-transform-na=* \
1262
| --program-transform-n=* | --program-transform-=* \
1263
| --program-transform=* | --program-transfor=* \
1264
| --program-transfo=* | --program-transf=* \
1265
| --program-trans=* | --program-tran=* \
1266
| --progr-tra=* | --program-tr=* | --program-t=*)
1267
program_transform_name=$ac_optarg ;;
1269
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1271
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1272
pdfdir=$ac_optarg ;;
1274
-psdir | --psdir | --psdi | --psd | --ps)
1276
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1279
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1280
| -silent | --silent | --silen | --sile | --sil)
1283
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1285
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1287
sbindir=$ac_optarg ;;
1289
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1290
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1291
| --sharedst | --shareds | --shared | --share | --shar \
1293
ac_prev=sharedstatedir ;;
1294
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1295
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1296
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1298
sharedstatedir=$ac_optarg ;;
1300
-site | --site | --sit)
1302
-site=* | --site=* | --sit=*)
1305
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1307
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1308
srcdir=$ac_optarg ;;
1310
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1311
| --syscon | --sysco | --sysc | --sys | --sy)
1312
ac_prev=sysconfdir ;;
1313
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1314
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1315
sysconfdir=$ac_optarg ;;
1317
-target | --target | --targe | --targ | --tar | --ta | --t)
1318
ac_prev=target_alias ;;
1319
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1320
target_alias=$ac_optarg ;;
1322
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1325
-version | --version | --versio | --versi | --vers | -V)
1326
ac_init_version=: ;;
1329
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1330
# Reject names that are not valid shell variable names.
1331
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1332
as_fn_error "invalid package name: $ac_useropt"
1333
ac_useropt_orig=$ac_useropt
1334
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1335
case $ac_user_opts in
1339
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1340
ac_unrecognized_sep=', ';;
1342
eval with_$ac_useropt=\$ac_optarg ;;
1344
-without-* | --without-*)
1345
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1346
# Reject names that are not valid shell variable names.
1347
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1348
as_fn_error "invalid package name: $ac_useropt"
1349
ac_useropt_orig=$ac_useropt
1350
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1351
case $ac_user_opts in
1355
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1356
ac_unrecognized_sep=', ';;
1358
eval with_$ac_useropt=no ;;
1361
# Obsolete; use --with-x.
1364
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1365
| --x-incl | --x-inc | --x-in | --x-i)
1366
ac_prev=x_includes ;;
1367
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1368
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1369
x_includes=$ac_optarg ;;
1371
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1372
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1373
ac_prev=x_libraries ;;
1374
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1375
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1376
x_libraries=$ac_optarg ;;
1378
-*) as_fn_error "unrecognized option: \`$ac_option'
1379
Try \`$0 --help' for more information."
1383
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1384
# Reject names that are not valid shell variable names.
1385
case $ac_envvar in #(
1386
'' | [0-9]* | *[!_$as_cr_alnum]* )
1387
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1389
eval $ac_envvar=\$ac_optarg
1390
export $ac_envvar ;;
1393
# FIXME: should be removed in autoconf 3.0.
1394
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1395
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1396
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1397
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1403
if test -n "$ac_prev"; then
1404
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1405
as_fn_error "missing argument to $ac_option"
1408
if test -n "$ac_unrecognized_opts"; then
1409
case $enable_option_checking in
1411
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1412
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1416
# Check all directory arguments for consistency.
1417
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1418
datadir sysconfdir sharedstatedir localstatedir includedir \
1419
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1420
libdir localedir mandir
1422
eval ac_val=\$$ac_var
1423
# Remove trailing slashes.
1426
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1427
eval $ac_var=\$ac_val;;
1429
# Be sure to have absolute directory names.
1431
[\\/$]* | ?:[\\/]* ) continue;;
1432
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1434
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1437
# There might be people who depend on the old broken behavior: `$host'
1438
# used to hold the argument of --host etc.
1439
# FIXME: To remove some day.
1442
target=$target_alias
1444
# FIXME: To remove some day.
1445
if test "x$host_alias" != x; then
1446
if test "x$build_alias" = x; then
1447
cross_compiling=maybe
1448
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1449
If a cross compiler is detected then cross compile mode will be used." >&2
1450
elif test "x$build_alias" != "x$host_alias"; then
1456
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1458
test "$silent" = yes && exec 6>/dev/null
1461
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1462
ac_ls_di=`ls -di .` &&
1463
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1464
as_fn_error "working directory cannot be determined"
1465
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1466
as_fn_error "pwd does not report name of working directory"
1469
# Find the source files, if location was not specified.
1470
if test -z "$srcdir"; then
1471
ac_srcdir_defaulted=yes
1472
# Try the directory containing this script, then the parent directory.
1473
ac_confdir=`$as_dirname -- "$as_myself" ||
1474
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1475
X"$as_myself" : 'X\(//\)[^/]' \| \
1476
X"$as_myself" : 'X\(//\)$' \| \
1477
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1478
$as_echo X"$as_myself" |
1479
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1497
if test ! -r "$srcdir/$ac_unique_file"; then
1501
ac_srcdir_defaulted=no
1503
if test ! -r "$srcdir/$ac_unique_file"; then
1504
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1505
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1507
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1509
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1511
# When building in place, set srcdir=.
1512
if test "$ac_abs_confdir" = "$ac_pwd"; then
1515
# Remove unnecessary trailing slashes from srcdir.
1516
# Double slashes in file names in object file debugging info
1517
# mess up M-x gdb in Emacs.
1519
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1521
for ac_var in $ac_precious_vars; do
1522
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1523
eval ac_env_${ac_var}_value=\$${ac_var}
1524
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1525
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1529
# Report the --help message.
1531
if test "$ac_init_help" = "long"; then
1532
# Omit some internal or obsolete options to make the list less imposing.
1533
# This message is too long to be a string in the A/UX 3.1 sh.
1535
\`configure' configures gtkhtml 3.30.3 to adapt to many kinds of systems.
1537
Usage: $0 [OPTION]... [VAR=VALUE]...
1539
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1540
VAR=VALUE. See below for descriptions of some of the useful variables.
1542
Defaults for the options are specified in brackets.
1545
-h, --help display this help and exit
1546
--help=short display options specific to this package
1547
--help=recursive display the short help of all the included packages
1548
-V, --version display version information and exit
1549
-q, --quiet, --silent do not print \`checking...' messages
1550
--cache-file=FILE cache test results in FILE [disabled]
1551
-C, --config-cache alias for \`--cache-file=config.cache'
1552
-n, --no-create do not create output files
1553
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1555
Installation directories:
1556
--prefix=PREFIX install architecture-independent files in PREFIX
1557
[$ac_default_prefix]
1558
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1561
By default, \`make install' will install all the files in
1562
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1563
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1564
for instance \`--prefix=\$HOME'.
1566
For better control, use the options below.
1568
Fine tuning of the installation directories:
1569
--bindir=DIR user executables [EPREFIX/bin]
1570
--sbindir=DIR system admin executables [EPREFIX/sbin]
1571
--libexecdir=DIR program executables [EPREFIX/libexec]
1572
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1573
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1574
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1575
--libdir=DIR object code libraries [EPREFIX/lib]
1576
--includedir=DIR C header files [PREFIX/include]
1577
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1578
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1579
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1580
--infodir=DIR info documentation [DATAROOTDIR/info]
1581
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1582
--mandir=DIR man documentation [DATAROOTDIR/man]
1583
--docdir=DIR documentation root [DATAROOTDIR/doc/gtkhtml]
1584
--htmldir=DIR html documentation [DOCDIR]
1585
--dvidir=DIR dvi documentation [DOCDIR]
1586
--pdfdir=DIR pdf documentation [DOCDIR]
1587
--psdir=DIR ps documentation [DOCDIR]
1593
--program-prefix=PREFIX prepend PREFIX to installed program names
1594
--program-suffix=SUFFIX append SUFFIX to installed program names
1595
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1598
--build=BUILD configure for building on BUILD [guessed]
1599
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1603
if test -n "$ac_init_help"; then
1604
case $ac_init_help in
1605
short | recursive ) echo "Configuration of gtkhtml 3.30.3:";;
1610
--disable-option-checking ignore unrecognized --enable/--with options
1611
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1612
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1613
--enable-silent-rules less verbose build output (undo: `make V=1')
1614
--disable-silent-rules verbose build output (undo: `make V=0')
1615
--enable-maintainer-mode enable make rules and dependencies not useful
1616
(and sometimes confusing) to the casual installer
1617
--disable-nls do not use Native Language Support
1618
--disable-dependency-tracking speeds up one-time build
1619
--enable-dependency-tracking do not reject slow dependency extractors
1620
--enable-static[=PKGS] build static libraries [default=no]
1621
--enable-shared[=PKGS] build shared libraries [default=yes]
1622
--enable-fast-install[=PKGS]
1623
optimize for fast installation [default=yes]
1624
--disable-libtool-lock avoid locking (might break parallel builds)
1625
--enable-shlib-factory build editor factory as shared library [default=yes]
1628
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1629
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1630
--with-pic try to use only PIC/non-PIC objects [default=use
1632
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1633
--with-glade-catalog install the catalog files for Glade 3 (for
1634
maintainers only) [default=no]
1636
Some influential environment variables:
1637
CC C compiler command
1638
CFLAGS C compiler flags
1639
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1640
nonstandard directory <lib dir>
1641
LIBS libraries to pass to the linker, e.g. -l<library>
1642
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1643
you have headers in a nonstandard directory <include dir>
1645
CXX C++ compiler command
1646
CXXFLAGS C++ compiler flags
1647
CXXCPP C++ preprocessor
1648
PKG_CONFIG path to pkg-config utility
1649
GAIL_CFLAGS C compiler flags for GAIL, overriding pkg-config
1650
GAIL_LIBS linker flags for GAIL, overriding pkg-config
1652
C compiler flags for GTHREAD, overriding pkg-config
1654
linker flags for GTHREAD, overriding pkg-config
1656
C compiler flags for GTKHTML, overriding pkg-config
1658
linker flags for GTKHTML, overriding pkg-config
1660
C compiler flags for GLADEUI, overriding pkg-config
1662
linker flags for GLADEUI, overriding pkg-config
1663
SOUP_CFLAGS C compiler flags for SOUP, overriding pkg-config
1664
SOUP_LIBS linker flags for SOUP, overriding pkg-config
1665
GIT_CFLAGS C compiler flags for GIT, overriding pkg-config
1666
GIT_LIBS linker flags for GIT, overriding pkg-config
1668
Use these variables to override the choices made by `configure' or to help
1669
it to find libraries and programs with nonstandard names/locations.
1671
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml>.
1676
if test "$ac_init_help" = "recursive"; then
1677
# If there are subdirs, report their specific --help.
1678
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1679
test -d "$ac_dir" ||
1680
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1685
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1687
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1688
# A ".." for each directory in $ac_dir_suffix.
1689
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1690
case $ac_top_builddir_sub in
1691
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1692
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1695
ac_abs_top_builddir=$ac_pwd
1696
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1697
# for backward compatibility:
1698
ac_top_builddir=$ac_top_build_prefix
1701
.) # We are building in place.
1703
ac_top_srcdir=$ac_top_builddir_sub
1704
ac_abs_top_srcdir=$ac_pwd ;;
1705
[\\/]* | ?:[\\/]* ) # Absolute name.
1706
ac_srcdir=$srcdir$ac_dir_suffix;
1707
ac_top_srcdir=$srcdir
1708
ac_abs_top_srcdir=$srcdir ;;
1710
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1711
ac_top_srcdir=$ac_top_build_prefix$srcdir
1712
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1714
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1716
cd "$ac_dir" || { ac_status=$?; continue; }
1717
# Check for guested configure.
1718
if test -f "$ac_srcdir/configure.gnu"; then
1720
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1721
elif test -f "$ac_srcdir/configure"; then
1723
$SHELL "$ac_srcdir/configure" --help=recursive
1725
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1727
cd "$ac_pwd" || { ac_status=$?; break; }
1731
test -n "$ac_init_help" && exit $ac_status
1732
if $ac_init_version; then
1734
gtkhtml configure 3.30.3
1735
generated by GNU Autoconf 2.65
1737
Copyright (C) 2009 Free Software Foundation, Inc.
1738
This configure script is free software; the Free Software Foundation
1739
gives unlimited permission to copy, distribute and modify it.
1744
## ------------------------ ##
1745
## Autoconf initialization. ##
1746
## ------------------------ ##
1748
# ac_fn_c_try_compile LINENO
1749
# --------------------------
1750
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1751
ac_fn_c_try_compile ()
1753
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1754
rm -f conftest.$ac_objext
1755
if { { ac_try="$ac_compile"
1757
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1758
*) ac_try_echo=$ac_try;;
1760
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1761
$as_echo "$ac_try_echo"; } >&5
1762
(eval "$ac_compile") 2>conftest.err
1764
if test -s conftest.err; then
1765
grep -v '^ *+' conftest.err >conftest.er1
1766
cat conftest.er1 >&5
1767
mv -f conftest.er1 conftest.err
1769
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1770
test $ac_status = 0; } && {
1771
test -z "$ac_c_werror_flag" ||
1772
test ! -s conftest.err
1773
} && test -s conftest.$ac_objext; then :
1776
$as_echo "$as_me: failed program was:" >&5
1777
sed 's/^/| /' conftest.$ac_ext >&5
1781
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1782
as_fn_set_status $ac_retval
1784
} # ac_fn_c_try_compile
1786
# ac_fn_c_try_link LINENO
1787
# -----------------------
1788
# Try to link conftest.$ac_ext, and return whether this succeeded.
1791
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1792
rm -f conftest.$ac_objext conftest$ac_exeext
1793
if { { ac_try="$ac_link"
1795
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796
*) ac_try_echo=$ac_try;;
1798
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799
$as_echo "$ac_try_echo"; } >&5
1800
(eval "$ac_link") 2>conftest.err
1802
if test -s conftest.err; then
1803
grep -v '^ *+' conftest.err >conftest.er1
1804
cat conftest.er1 >&5
1805
mv -f conftest.er1 conftest.err
1807
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1808
test $ac_status = 0; } && {
1809
test -z "$ac_c_werror_flag" ||
1810
test ! -s conftest.err
1811
} && test -s conftest$ac_exeext && {
1812
test "$cross_compiling" = yes ||
1813
$as_test_x conftest$ac_exeext
1817
$as_echo "$as_me: failed program was:" >&5
1818
sed 's/^/| /' conftest.$ac_ext >&5
1822
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1823
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1824
# interfere with the next link command; also delete a directory that is
1825
# left behind by Apple's compiler. We do this before executing the actions.
1826
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1827
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1828
as_fn_set_status $ac_retval
1830
} # ac_fn_c_try_link
1832
# ac_fn_c_check_func LINENO FUNC VAR
1833
# ----------------------------------
1834
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1835
ac_fn_c_check_func ()
1837
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1839
$as_echo_n "checking for $2... " >&6; }
1840
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1841
$as_echo_n "(cached) " >&6
1843
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1844
/* end confdefs.h. */
1845
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1846
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1847
#define $2 innocuous_$2
1849
/* System header to define __stub macros and hopefully few prototypes,
1850
which can conflict with char $2 (); below.
1851
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1852
<limits.h> exists even on freestanding compilers. */
1855
# include <limits.h>
1857
# include <assert.h>
1862
/* Override any GCC internal prototype to avoid an error.
1863
Use char because int might match the return type of a GCC
1864
builtin and then its argument prototype would still apply. */
1869
/* The GNU C library defines this for functions which it implements
1870
to always fail with ENOSYS. Some functions are actually named
1871
something starting with __ and the normal name is an alias. */
1872
#if defined __stub_$2 || defined __stub___$2
1884
if ac_fn_c_try_link "$LINENO"; then :
1889
rm -f core conftest.err conftest.$ac_objext \
1890
conftest$ac_exeext conftest.$ac_ext
1893
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1894
$as_echo "$ac_res" >&6; }
1895
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1897
} # ac_fn_c_check_func
1899
# ac_fn_c_try_cpp LINENO
1900
# ----------------------
1901
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1904
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905
if { { ac_try="$ac_cpp conftest.$ac_ext"
1907
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908
*) ac_try_echo=$ac_try;;
1910
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911
$as_echo "$ac_try_echo"; } >&5
1912
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1914
if test -s conftest.err; then
1915
grep -v '^ *+' conftest.err >conftest.er1
1916
cat conftest.er1 >&5
1917
mv -f conftest.er1 conftest.err
1919
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1920
test $ac_status = 0; } >/dev/null && {
1921
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1922
test ! -s conftest.err
1926
$as_echo "$as_me: failed program was:" >&5
1927
sed 's/^/| /' conftest.$ac_ext >&5
1931
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1932
as_fn_set_status $ac_retval
1936
# ac_fn_c_try_run LINENO
1937
# ----------------------
1938
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1939
# that executables *can* be run.
1942
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1943
if { { ac_try="$ac_link"
1945
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1946
*) ac_try_echo=$ac_try;;
1948
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1949
$as_echo "$ac_try_echo"; } >&5
1950
(eval "$ac_link") 2>&5
1952
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1953
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1954
{ { case "(($ac_try" in
1955
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1956
*) ac_try_echo=$ac_try;;
1958
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1959
$as_echo "$ac_try_echo"; } >&5
1960
(eval "$ac_try") 2>&5
1962
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1963
test $ac_status = 0; }; }; then :
1966
$as_echo "$as_me: program exited with status $ac_status" >&5
1967
$as_echo "$as_me: failed program was:" >&5
1968
sed 's/^/| /' conftest.$ac_ext >&5
1970
ac_retval=$ac_status
1972
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1973
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1974
as_fn_set_status $ac_retval
1978
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1979
# -------------------------------------------------------
1980
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1981
# the include files in INCLUDES and setting the cache variable VAR
1983
ac_fn_c_check_header_mongrel ()
1985
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1986
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1987
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1988
$as_echo_n "checking for $2... " >&6; }
1989
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1990
$as_echo_n "(cached) " >&6
1993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1994
$as_echo "$ac_res" >&6; }
1996
# Is the header compilable?
1997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1998
$as_echo_n "checking $2 usability... " >&6; }
1999
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2000
/* end confdefs.h. */
2004
if ac_fn_c_try_compile "$LINENO"; then :
2005
ac_header_compiler=yes
2007
ac_header_compiler=no
2009
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2011
$as_echo "$ac_header_compiler" >&6; }
2013
# Is the header present?
2014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2015
$as_echo_n "checking $2 presence... " >&6; }
2016
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2017
/* end confdefs.h. */
2020
if ac_fn_c_try_cpp "$LINENO"; then :
2021
ac_header_preproc=yes
2023
ac_header_preproc=no
2025
rm -f conftest.err conftest.$ac_ext
2026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2027
$as_echo "$ac_header_preproc" >&6; }
2029
# So? What about this header?
2030
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2032
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2033
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2034
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2035
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2038
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2039
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2040
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2041
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2042
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2043
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2044
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2045
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2046
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2047
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2049
## ---------------------------------------------------------------------- ##
2050
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml ##
2051
## ---------------------------------------------------------------------- ##
2053
) | sed "s/^/$as_me: WARNING: /" >&2
2056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2057
$as_echo_n "checking for $2... " >&6; }
2058
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2059
$as_echo_n "(cached) " >&6
2061
eval "$3=\$ac_header_compiler"
2064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2065
$as_echo "$ac_res" >&6; }
2067
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2069
} # ac_fn_c_check_header_mongrel
2071
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2072
# -------------------------------------------------------
2073
# Tests whether HEADER exists and can be compiled using the include files in
2074
# INCLUDES, setting the cache variable VAR accordingly.
2075
ac_fn_c_check_header_compile ()
2077
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2079
$as_echo_n "checking for $2... " >&6; }
2080
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2081
$as_echo_n "(cached) " >&6
2083
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2084
/* end confdefs.h. */
2088
if ac_fn_c_try_compile "$LINENO"; then :
2093
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2097
$as_echo "$ac_res" >&6; }
2098
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2100
} # ac_fn_c_check_header_compile
2102
# ac_fn_cxx_try_compile LINENO
2103
# ----------------------------
2104
# Try to compile conftest.$ac_ext, and return whether this succeeded.
2105
ac_fn_cxx_try_compile ()
2107
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2108
rm -f conftest.$ac_objext
2109
if { { ac_try="$ac_compile"
2111
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2112
*) ac_try_echo=$ac_try;;
2114
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2115
$as_echo "$ac_try_echo"; } >&5
2116
(eval "$ac_compile") 2>conftest.err
2118
if test -s conftest.err; then
2119
grep -v '^ *+' conftest.err >conftest.er1
2120
cat conftest.er1 >&5
2121
mv -f conftest.er1 conftest.err
2123
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2124
test $ac_status = 0; } && {
2125
test -z "$ac_cxx_werror_flag" ||
2126
test ! -s conftest.err
2127
} && test -s conftest.$ac_objext; then :
2130
$as_echo "$as_me: failed program was:" >&5
2131
sed 's/^/| /' conftest.$ac_ext >&5
2135
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2136
as_fn_set_status $ac_retval
2138
} # ac_fn_cxx_try_compile
2140
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2141
# -------------------------------------------
2142
# Tests whether TYPE exists after having included INCLUDES, setting cache
2143
# variable VAR accordingly.
2144
ac_fn_c_check_type ()
2146
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2147
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2148
$as_echo_n "checking for $2... " >&6; }
2149
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2150
$as_echo_n "(cached) " >&6
2153
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2154
/* end confdefs.h. */
2165
if ac_fn_c_try_compile "$LINENO"; then :
2166
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2167
/* end confdefs.h. */
2178
if ac_fn_c_try_compile "$LINENO"; then :
2183
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2185
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2188
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2189
$as_echo "$ac_res" >&6; }
2190
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2192
} # ac_fn_c_check_type
2194
# ac_fn_cxx_try_cpp LINENO
2195
# ------------------------
2196
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2197
ac_fn_cxx_try_cpp ()
2199
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2200
if { { ac_try="$ac_cpp conftest.$ac_ext"
2202
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2203
*) ac_try_echo=$ac_try;;
2205
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2206
$as_echo "$ac_try_echo"; } >&5
2207
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2209
if test -s conftest.err; then
2210
grep -v '^ *+' conftest.err >conftest.er1
2211
cat conftest.er1 >&5
2212
mv -f conftest.er1 conftest.err
2214
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2215
test $ac_status = 0; } >/dev/null && {
2216
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2217
test ! -s conftest.err
2221
$as_echo "$as_me: failed program was:" >&5
2222
sed 's/^/| /' conftest.$ac_ext >&5
2226
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2227
as_fn_set_status $ac_retval
2229
} # ac_fn_cxx_try_cpp
2231
# ac_fn_cxx_try_link LINENO
2232
# -------------------------
2233
# Try to link conftest.$ac_ext, and return whether this succeeded.
2234
ac_fn_cxx_try_link ()
2236
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2237
rm -f conftest.$ac_objext conftest$ac_exeext
2238
if { { ac_try="$ac_link"
2240
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2241
*) ac_try_echo=$ac_try;;
2243
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2244
$as_echo "$ac_try_echo"; } >&5
2245
(eval "$ac_link") 2>conftest.err
2247
if test -s conftest.err; then
2248
grep -v '^ *+' conftest.err >conftest.er1
2249
cat conftest.er1 >&5
2250
mv -f conftest.er1 conftest.err
2252
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2253
test $ac_status = 0; } && {
2254
test -z "$ac_cxx_werror_flag" ||
2255
test ! -s conftest.err
2256
} && test -s conftest$ac_exeext && {
2257
test "$cross_compiling" = yes ||
2258
$as_test_x conftest$ac_exeext
2262
$as_echo "$as_me: failed program was:" >&5
2263
sed 's/^/| /' conftest.$ac_ext >&5
2267
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2268
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2269
# interfere with the next link command; also delete a directory that is
2270
# left behind by Apple's compiler. We do this before executing the actions.
2271
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2272
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2273
as_fn_set_status $ac_retval
2275
} # ac_fn_cxx_try_link
2276
cat >config.log <<_ACEOF
2277
This file contains any messages produced by compilers while
2278
running configure, to aid debugging if configure makes a mistake.
2280
It was created by gtkhtml $as_me 3.30.3, which was
2281
generated by GNU Autoconf 2.65. Invocation command line was
2293
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2294
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2295
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2296
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2297
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2299
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2300
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2302
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2303
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2304
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2305
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2306
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2307
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2308
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2312
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2316
test -z "$as_dir" && as_dir=.
2317
$as_echo "PATH: $as_dir"
2333
# Keep a trace of the command line.
2334
# Strip out --no-create and --no-recursion so they do not pile up.
2335
# Strip out --silent because we don't want to record it for future runs.
2336
# Also quote any args containing shell meta-characters.
2337
# Make two passes to allow for proper duplicate-argument suppression.
2341
ac_must_keep_next=false
2347
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2348
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2349
| -silent | --silent | --silen | --sile | --sil)
2352
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2355
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2357
as_fn_append ac_configure_args1 " '$ac_arg'"
2358
if test $ac_must_keep_next = true; then
2359
ac_must_keep_next=false # Got value, back to normal.
2362
*=* | --config-cache | -C | -disable-* | --disable-* \
2363
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2364
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2365
| -with-* | --with-* | -without-* | --without-* | --x)
2366
case "$ac_configure_args0 " in
2367
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2370
-* ) ac_must_keep_next=true ;;
2373
as_fn_append ac_configure_args " '$ac_arg'"
2378
{ ac_configure_args0=; unset ac_configure_args0;}
2379
{ ac_configure_args1=; unset ac_configure_args1;}
2381
# When interrupted or exit'd, cleanup temporary files, and complete
2382
# config.log. We remove comments because anyway the quotes in there
2383
# would cause problems or look ugly.
2384
# WARNING: Use '\'' to represent an apostrophe within the trap.
2385
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2386
trap 'exit_status=$?
2387
# Save into config.log some information that might help in debugging.
2392
## ---------------- ##
2393
## Cache variables. ##
2394
## ---------------- ##
2397
# The following way of writing the cache mishandles newlines in values,
2399
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2400
eval ac_val=\$$ac_var
2404
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2405
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2408
_ | IFS | as_nl) ;; #(
2409
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2410
*) { eval $ac_var=; unset $ac_var;} ;;
2415
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2416
*${as_nl}ac_space=\ *)
2418
"s/'\''/'\''\\\\'\'''\''/g;
2419
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2422
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2430
## ----------------- ##
2431
## Output variables. ##
2432
## ----------------- ##
2435
for ac_var in $ac_subst_vars
2437
eval ac_val=\$$ac_var
2439
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2441
$as_echo "$ac_var='\''$ac_val'\''"
2445
if test -n "$ac_subst_files"; then
2447
## ------------------- ##
2448
## File substitutions. ##
2449
## ------------------- ##
2452
for ac_var in $ac_subst_files
2454
eval ac_val=\$$ac_var
2456
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2458
$as_echo "$ac_var='\''$ac_val'\''"
2463
if test -s confdefs.h; then
2473
test "$ac_signal" != 0 &&
2474
$as_echo "$as_me: caught signal $ac_signal"
2475
$as_echo "$as_me: exit $exit_status"
2477
rm -f core *.core core.conftest.* &&
2478
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2481
for ac_signal in 1 2 13 15; do
2482
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2486
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2487
rm -f -r conftest* confdefs.h
2489
$as_echo "/* confdefs.h */" > confdefs.h
2491
# Predefined preprocessor variables.
2493
cat >>confdefs.h <<_ACEOF
2494
#define PACKAGE_NAME "$PACKAGE_NAME"
2497
cat >>confdefs.h <<_ACEOF
2498
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2501
cat >>confdefs.h <<_ACEOF
2502
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2505
cat >>confdefs.h <<_ACEOF
2506
#define PACKAGE_STRING "$PACKAGE_STRING"
2509
cat >>confdefs.h <<_ACEOF
2510
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2513
cat >>confdefs.h <<_ACEOF
2514
#define PACKAGE_URL "$PACKAGE_URL"
2518
# Let the site file select an alternate cache file if it wants to.
2519
# Prefer an explicitly selected file to automatically selected ones.
2522
if test -n "$CONFIG_SITE"; then
2523
ac_site_file1=$CONFIG_SITE
2524
elif test "x$prefix" != xNONE; then
2525
ac_site_file1=$prefix/share/config.site
2526
ac_site_file2=$prefix/etc/config.site
2528
ac_site_file1=$ac_default_prefix/share/config.site
2529
ac_site_file2=$ac_default_prefix/etc/config.site
2531
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2533
test "x$ac_site_file" = xNONE && continue
2534
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2535
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2536
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2537
sed 's/^/| /' "$ac_site_file" >&5
2542
if test -r "$cache_file"; then
2543
# Some versions of bash will fail to source /dev/null (special files
2544
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2545
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2546
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2547
$as_echo "$as_me: loading cache $cache_file" >&6;}
2549
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2550
*) . "./$cache_file";;
2554
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2555
$as_echo "$as_me: creating cache $cache_file" >&6;}
2559
# Check that the precious variables saved in the cache have kept the same
2561
ac_cache_corrupted=false
2562
for ac_var in $ac_precious_vars; do
2563
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2564
eval ac_new_set=\$ac_env_${ac_var}_set
2565
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2566
eval ac_new_val=\$ac_env_${ac_var}_value
2567
case $ac_old_set,$ac_new_set in
2569
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2570
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2571
ac_cache_corrupted=: ;;
2573
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2574
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2575
ac_cache_corrupted=: ;;
2578
if test "x$ac_old_val" != "x$ac_new_val"; then
2579
# differences in whitespace do not lead to failure.
2580
ac_old_val_w=`echo x $ac_old_val`
2581
ac_new_val_w=`echo x $ac_new_val`
2582
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2583
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2584
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2585
ac_cache_corrupted=:
2587
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2588
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2589
eval $ac_var=\$ac_old_val
2591
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2592
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2593
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2594
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2597
# Pass precious variables to config.status.
2598
if test "$ac_new_set" = set; then
2600
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2601
*) ac_arg=$ac_var=$ac_new_val ;;
2603
case " $ac_configure_args " in
2604
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2605
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2609
if $ac_cache_corrupted; then
2610
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2611
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2612
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2613
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2614
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2616
## -------------------- ##
2617
## Main body of script. ##
2618
## -------------------- ##
2621
ac_cpp='$CPP $CPPFLAGS'
2622
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2623
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2624
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2627
am__api_version='1.11'
2630
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2631
for ac_t in install-sh install.sh shtool; do
2632
if test -f "$ac_dir/$ac_t"; then
2634
ac_install_sh="$ac_aux_dir/$ac_t -c"
2639
if test -z "$ac_aux_dir"; then
2640
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2643
# These three variables are undocumented and unsupported,
2644
# and are intended to be withdrawn in a future Autoconf release.
2645
# They can cause serious problems if a builder's source tree is in a directory
2646
# whose full name contains unusual characters.
2647
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2648
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2649
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2652
# Find a good install program. We prefer a C program (faster),
2653
# so one script is as good as another. But avoid the broken or
2654
# incompatible versions:
2655
# SysV /etc/install, /usr/sbin/install
2656
# SunOS /usr/etc/install
2657
# IRIX /sbin/install
2659
# AmigaOS /C/install, which installs bootblocks on floppy discs
2660
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2661
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2662
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2663
# OS/2's system install, which has a completely different semantic
2664
# ./install, which can be erroneously created by make from ./install.sh.
2665
# Reject install programs that cannot install multiple files.
2666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2667
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2668
if test -z "$INSTALL"; then
2669
if test "${ac_cv_path_install+set}" = set; then :
2670
$as_echo_n "(cached) " >&6
2672
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2676
test -z "$as_dir" && as_dir=.
2677
# Account for people who put trailing slashes in PATH elements.
2678
case $as_dir/ in #((
2679
./ | .// | /[cC]/* | \
2680
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2681
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2684
# OSF1 and SCO ODT 3.0 have their own names for install.
2685
# Don't use installbsd from OSF since it installs stuff as root
2687
for ac_prog in ginstall scoinst install; do
2688
for ac_exec_ext in '' $ac_executable_extensions; do
2689
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2690
if test $ac_prog = install &&
2691
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2692
# AIX install. It has an incompatible calling convention.
2694
elif test $ac_prog = install &&
2695
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2696
# program-specific install script used by HP pwplus--don't use.
2699
rm -rf conftest.one conftest.two conftest.dir
2700
echo one > conftest.one
2701
echo two > conftest.two
2703
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2704
test -s conftest.one && test -s conftest.two &&
2705
test -s conftest.dir/conftest.one &&
2706
test -s conftest.dir/conftest.two
2708
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2721
rm -rf conftest.one conftest.two conftest.dir
2724
if test "${ac_cv_path_install+set}" = set; then
2725
INSTALL=$ac_cv_path_install
2727
# As a last resort, use the slow shell script. Don't cache a
2728
# value for INSTALL within a source directory, because that will
2729
# break other packages using the cache if that directory is
2730
# removed, or if the value is a relative name.
2731
INSTALL=$ac_install_sh
2734
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2735
$as_echo "$INSTALL" >&6; }
2737
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2738
# It thinks the first close brace ends the variable substitution.
2739
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2741
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2743
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2746
$as_echo_n "checking whether build environment is sane... " >&6; }
2749
echo timestamp > conftest.file
2750
# Reject unsafe characters in $srcdir or the absolute working directory
2751
# name. Accept space and tab only in the latter.
2755
*[\\\"\#\$\&\'\`$am_lf]*)
2756
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2759
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2760
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2763
# Do `set' in a subshell so we don't clobber the current shell's
2764
# arguments. Must try -L first in case configure is actually a
2765
# symlink; some systems play weird games with the mod time of symlinks
2766
# (eg FreeBSD returns the mod time of the symlink's containing
2769
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2770
if test "$*" = "X"; then
2772
set X `ls -t "$srcdir/configure" conftest.file`
2775
if test "$*" != "X $srcdir/configure conftest.file" \
2776
&& test "$*" != "X conftest.file $srcdir/configure"; then
2778
# If neither matched, then we have a broken ls. This can happen
2779
# if, for instance, CONFIG_SHELL is bash and it inherits a
2780
# broken ls alias from the environment. This has actually
2781
# happened. Such a system could not be considered "sane".
2782
as_fn_error "ls -t appears to fail. Make sure there is not a broken
2783
alias in your environment" "$LINENO" 5
2786
test "$2" = conftest.file
2792
as_fn_error "newly created file is older than distributed files!
2793
Check your system clock" "$LINENO" 5
2795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2796
$as_echo "yes" >&6; }
2797
test "$program_prefix" != NONE &&
2798
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2799
# Use a double $ so make ignores it.
2800
test "$program_suffix" != NONE &&
2801
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2802
# Double any \ or $.
2803
# By default was `s,x,x', remove it if useless.
2804
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2805
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2807
# expand $ac_aux_dir to an absolute path
2808
am_aux_dir=`cd $ac_aux_dir && pwd`
2810
if test x"${MISSING+set}" != xset; then
2813
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2815
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2818
# Use eval to expand $SHELL
2819
if eval "$MISSING --run true"; then
2820
am_missing_run="$MISSING --run "
2823
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2824
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2827
if test x"${install_sh}" != xset; then
2830
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2832
install_sh="\${SHELL} $am_aux_dir/install-sh"
2836
# Installed binaries are usually stripped using `strip' when the user
2837
# run `make install-strip'. However `strip' might not be the right
2838
# tool to use in cross-compilation environments, therefore Automake
2839
# will honor the `STRIP' environment variable to overrule this program.
2840
if test "$cross_compiling" != no; then
2841
if test -n "$ac_tool_prefix"; then
2842
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2843
set dummy ${ac_tool_prefix}strip; ac_word=$2
2844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2845
$as_echo_n "checking for $ac_word... " >&6; }
2846
if test "${ac_cv_prog_STRIP+set}" = set; then :
2847
$as_echo_n "(cached) " >&6
2849
if test -n "$STRIP"; then
2850
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2852
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2856
test -z "$as_dir" && as_dir=.
2857
for ac_exec_ext in '' $ac_executable_extensions; do
2858
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2859
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2860
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2869
STRIP=$ac_cv_prog_STRIP
2870
if test -n "$STRIP"; then
2871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2872
$as_echo "$STRIP" >&6; }
2874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2875
$as_echo "no" >&6; }
2880
if test -z "$ac_cv_prog_STRIP"; then
2882
# Extract the first word of "strip", so it can be a program name with args.
2883
set dummy strip; ac_word=$2
2884
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2885
$as_echo_n "checking for $ac_word... " >&6; }
2886
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2887
$as_echo_n "(cached) " >&6
2889
if test -n "$ac_ct_STRIP"; then
2890
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2892
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2896
test -z "$as_dir" && as_dir=.
2897
for ac_exec_ext in '' $ac_executable_extensions; do
2898
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2899
ac_cv_prog_ac_ct_STRIP="strip"
2900
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2909
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2910
if test -n "$ac_ct_STRIP"; then
2911
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2912
$as_echo "$ac_ct_STRIP" >&6; }
2914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2915
$as_echo "no" >&6; }
2918
if test "x$ac_ct_STRIP" = x; then
2921
case $cross_compiling:$ac_tool_warned in
2923
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2924
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2925
ac_tool_warned=yes ;;
2930
STRIP="$ac_cv_prog_STRIP"
2934
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2937
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2938
if test -z "$MKDIR_P"; then
2939
if test "${ac_cv_path_mkdir+set}" = set; then :
2940
$as_echo_n "(cached) " >&6
2942
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2946
test -z "$as_dir" && as_dir=.
2947
for ac_prog in mkdir gmkdir; do
2948
for ac_exec_ext in '' $ac_executable_extensions; do
2949
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2950
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2951
'mkdir (GNU coreutils) '* | \
2952
'mkdir (coreutils) '* | \
2953
'mkdir (fileutils) '4.1*)
2954
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2964
test -d ./--version && rmdir ./--version
2965
if test "${ac_cv_path_mkdir+set}" = set; then
2966
MKDIR_P="$ac_cv_path_mkdir -p"
2968
# As a last resort, use the slow shell script. Don't cache a
2969
# value for MKDIR_P within a source directory, because that will
2970
# break other packages using the cache if that directory is
2971
# removed, or if the value is a relative name.
2972
MKDIR_P="$ac_install_sh -d"
2975
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2976
$as_echo "$MKDIR_P" >&6; }
2980
[\\/$]* | ?:[\\/]*) ;;
2981
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2984
for ac_prog in gawk mawk nawk awk
2986
# Extract the first word of "$ac_prog", so it can be a program name with args.
2987
set dummy $ac_prog; ac_word=$2
2988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2989
$as_echo_n "checking for $ac_word... " >&6; }
2990
if test "${ac_cv_prog_AWK+set}" = set; then :
2991
$as_echo_n "(cached) " >&6
2993
if test -n "$AWK"; then
2994
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2996
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3000
test -z "$as_dir" && as_dir=.
3001
for ac_exec_ext in '' $ac_executable_extensions; do
3002
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3003
ac_cv_prog_AWK="$ac_prog"
3004
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3014
if test -n "$AWK"; then
3015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3016
$as_echo "$AWK" >&6; }
3018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019
$as_echo "no" >&6; }
3023
test -n "$AWK" && break
3026
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3027
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3029
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3030
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3031
$as_echo_n "(cached) " >&6
3033
cat >conftest.make <<\_ACEOF
3036
@echo '@@@%%%=$(MAKE)=@@@%%%'
3038
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3039
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3041
eval ac_cv_prog_make_${ac_make}_set=yes;;
3043
eval ac_cv_prog_make_${ac_make}_set=no;;
3047
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3049
$as_echo "yes" >&6; }
3052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3053
$as_echo "no" >&6; }
3054
SET_MAKE="MAKE=${MAKE-make}"
3057
rm -rf .tst 2>/dev/null
3058
mkdir .tst 2>/dev/null
3059
if test -d .tst; then
3064
rmdir .tst 2>/dev/null
3066
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3067
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3068
# is not polluted with repeated "-I."
3069
am__isrc=' -I$(srcdir)'
3070
# test to see if srcdir already configured
3071
if test -f $srcdir/config.status; then
3072
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3076
# test whether we have cygpath
3077
if test -z "$CYGPATH_W"; then
3078
if (cygpath --version) >/dev/null 2>/dev/null; then
3079
CYGPATH_W='cygpath -w'
3086
# Define the identity of the package.
3091
cat >>confdefs.h <<_ACEOF
3092
#define PACKAGE "$PACKAGE"
3096
cat >>confdefs.h <<_ACEOF
3097
#define VERSION "$VERSION"
3100
# Some tools Automake needs.
3102
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3105
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3108
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3111
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3114
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3116
# We need awk for the "check" target. The system "awk" is bad on
3118
# Always define AMTAR for backward compatibility.
3120
AMTAR=${AMTAR-"${am_missing_run}tar"}
3122
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3129
ac_config_headers="$ac_config_headers config.h"
3140
GTKHTML_API_VERSION=3.14
3142
cat >>confdefs.h <<_ACEOF
3143
#define GTKHTML_API_VERSION "${GTKHTML_API_VERSION}"
3148
EDITOR_API_VERSION=3.14
3150
cat >>confdefs.h <<_ACEOF
3151
#define EDITOR_API_VERSION "${EDITOR_API_VERSION}"
3156
GTKHTML_RELEASE_STRING=${PACKAGE}-${GTKHTML_API_VERSION}
3158
cat >>confdefs.h <<_ACEOF
3159
#define GTKHTML_RELEASE_STRING "${GTKHTML_RELEASE_STRING}"
3164
GETTEXT_PACKAGE=${GTKHTML_RELEASE_STRING}
3167
cat >>confdefs.h <<_ACEOF
3168
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
3172
I18N_LIB_CFLAGS="-DGNOME_EXPLICIT_TRANSLATION_DOMAIN=\\\"${GTKHTML_RELEASE_STRING}\\\""
3175
# Check whether --enable-silent-rules was given.
3176
if test "${enable_silent_rules+set}" = set; then :
3177
enableval=$enable_silent_rules;
3180
case $enable_silent_rules in
3181
yes) AM_DEFAULT_VERBOSITY=0;;
3182
no) AM_DEFAULT_VERBOSITY=1;;
3183
*) AM_DEFAULT_VERBOSITY=0;;
3189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3190
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3191
# Check whether --enable-maintainer-mode was given.
3192
if test "${enable_maintainer_mode+set}" = set; then :
3193
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3195
USE_MAINTAINER_MODE=no
3198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3199
$as_echo "$USE_MAINTAINER_MODE" >&6; }
3200
if test $USE_MAINTAINER_MODE = yes; then
3201
MAINTAINER_MODE_TRUE=
3202
MAINTAINER_MODE_FALSE='#'
3204
MAINTAINER_MODE_TRUE='#'
3205
MAINTAINER_MODE_FALSE=
3208
MAINT=$MAINTAINER_MODE_TRUE
3213
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3214
$as_echo_n "checking whether NLS is requested... " >&6; }
3215
# Check whether --enable-nls was given.
3216
if test "${enable_nls+set}" = set; then :
3217
enableval=$enable_nls; USE_NLS=$enableval
3222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3223
$as_echo "$USE_NLS" >&6; }
3226
DEPDIR="${am__leading_dot}deps"
3228
ac_config_commands="$ac_config_commands depfiles"
3231
am_make=${MAKE-make}
3232
cat > confinc << 'END'
3234
@echo this is the am__doit target
3237
# If we don't find an include directive, just comment out the code.
3238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3239
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3243
# First try GNU make style include.
3244
echo "include confinc" > confmf
3245
# Ignore all kinds of additional output from `make'.
3246
case `$am_make -s -f confmf 2> /dev/null` in #(
3247
*the\ am__doit\ target*)
3253
# Now try BSD make style include.
3254
if test "$am__include" = "#"; then
3255
echo '.include "confinc"' > confmf
3256
case `$am_make -s -f confmf 2> /dev/null` in #(
3257
*the\ am__doit\ target*)
3258
am__include=.include
3266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3267
$as_echo "$_am_result" >&6; }
3268
rm -f confinc confmf
3270
# Check whether --enable-dependency-tracking was given.
3271
if test "${enable_dependency_tracking+set}" = set; then :
3272
enableval=$enable_dependency_tracking;
3275
if test "x$enable_dependency_tracking" != xno; then
3276
am_depcomp="$ac_aux_dir/depcomp"
3279
if test "x$enable_dependency_tracking" != xno; then
3289
ac_cpp='$CPP $CPPFLAGS'
3290
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3291
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3292
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3293
if test -n "$ac_tool_prefix"; then
3294
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3295
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3297
$as_echo_n "checking for $ac_word... " >&6; }
3298
if test "${ac_cv_prog_CC+set}" = set; then :
3299
$as_echo_n "(cached) " >&6
3301
if test -n "$CC"; then
3302
ac_cv_prog_CC="$CC" # Let the user override the test.
3304
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3308
test -z "$as_dir" && as_dir=.
3309
for ac_exec_ext in '' $ac_executable_extensions; do
3310
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3311
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3312
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3322
if test -n "$CC"; then
3323
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3324
$as_echo "$CC" >&6; }
3326
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3327
$as_echo "no" >&6; }
3332
if test -z "$ac_cv_prog_CC"; then
3334
# Extract the first word of "gcc", so it can be a program name with args.
3335
set dummy gcc; ac_word=$2
3336
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3337
$as_echo_n "checking for $ac_word... " >&6; }
3338
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3339
$as_echo_n "(cached) " >&6
3341
if test -n "$ac_ct_CC"; then
3342
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3344
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3348
test -z "$as_dir" && as_dir=.
3349
for ac_exec_ext in '' $ac_executable_extensions; do
3350
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3351
ac_cv_prog_ac_ct_CC="gcc"
3352
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3361
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3362
if test -n "$ac_ct_CC"; then
3363
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3364
$as_echo "$ac_ct_CC" >&6; }
3366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3367
$as_echo "no" >&6; }
3370
if test "x$ac_ct_CC" = x; then
3373
case $cross_compiling:$ac_tool_warned in
3375
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3376
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3377
ac_tool_warned=yes ;;
3385
if test -z "$CC"; then
3386
if test -n "$ac_tool_prefix"; then
3387
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3388
set dummy ${ac_tool_prefix}cc; ac_word=$2
3389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3390
$as_echo_n "checking for $ac_word... " >&6; }
3391
if test "${ac_cv_prog_CC+set}" = set; then :
3392
$as_echo_n "(cached) " >&6
3394
if test -n "$CC"; then
3395
ac_cv_prog_CC="$CC" # Let the user override the test.
3397
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3401
test -z "$as_dir" && as_dir=.
3402
for ac_exec_ext in '' $ac_executable_extensions; do
3403
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3404
ac_cv_prog_CC="${ac_tool_prefix}cc"
3405
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3415
if test -n "$CC"; then
3416
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3417
$as_echo "$CC" >&6; }
3419
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3420
$as_echo "no" >&6; }
3426
if test -z "$CC"; then
3427
# Extract the first word of "cc", so it can be a program name with args.
3428
set dummy cc; ac_word=$2
3429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3430
$as_echo_n "checking for $ac_word... " >&6; }
3431
if test "${ac_cv_prog_CC+set}" = set; then :
3432
$as_echo_n "(cached) " >&6
3434
if test -n "$CC"; then
3435
ac_cv_prog_CC="$CC" # Let the user override the test.
3438
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442
test -z "$as_dir" && as_dir=.
3443
for ac_exec_ext in '' $ac_executable_extensions; do
3444
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3445
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3446
ac_prog_rejected=yes
3450
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3457
if test $ac_prog_rejected = yes; then
3458
# We found a bogon in the path, so make sure we never use it.
3459
set dummy $ac_cv_prog_CC
3461
if test $# != 0; then
3462
# We chose a different compiler from the bogus one.
3463
# However, it has the same basename, so the bogon will be chosen
3464
# first if we set CC to just the basename; use the full file name.
3466
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3472
if test -n "$CC"; then
3473
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3474
$as_echo "$CC" >&6; }
3476
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477
$as_echo "no" >&6; }
3482
if test -z "$CC"; then
3483
if test -n "$ac_tool_prefix"; then
3484
for ac_prog in cl.exe
3486
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3487
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3489
$as_echo_n "checking for $ac_word... " >&6; }
3490
if test "${ac_cv_prog_CC+set}" = set; then :
3491
$as_echo_n "(cached) " >&6
3493
if test -n "$CC"; then
3494
ac_cv_prog_CC="$CC" # Let the user override the test.
3496
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3500
test -z "$as_dir" && as_dir=.
3501
for ac_exec_ext in '' $ac_executable_extensions; do
3502
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3503
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3504
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3514
if test -n "$CC"; then
3515
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3516
$as_echo "$CC" >&6; }
3518
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3519
$as_echo "no" >&6; }
3523
test -n "$CC" && break
3526
if test -z "$CC"; then
3528
for ac_prog in cl.exe
3530
# Extract the first word of "$ac_prog", so it can be a program name with args.
3531
set dummy $ac_prog; ac_word=$2
3532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3533
$as_echo_n "checking for $ac_word... " >&6; }
3534
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3535
$as_echo_n "(cached) " >&6
3537
if test -n "$ac_ct_CC"; then
3538
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3540
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3544
test -z "$as_dir" && as_dir=.
3545
for ac_exec_ext in '' $ac_executable_extensions; do
3546
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3547
ac_cv_prog_ac_ct_CC="$ac_prog"
3548
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3557
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3558
if test -n "$ac_ct_CC"; then
3559
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3560
$as_echo "$ac_ct_CC" >&6; }
3562
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3563
$as_echo "no" >&6; }
3567
test -n "$ac_ct_CC" && break
3570
if test "x$ac_ct_CC" = x; then
3573
case $cross_compiling:$ac_tool_warned in
3575
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3576
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3577
ac_tool_warned=yes ;;
3586
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3587
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3588
as_fn_error "no acceptable C compiler found in \$PATH
3589
See \`config.log' for more details." "$LINENO" 5; }
3591
# Provide some information about the compiler.
3592
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3595
for ac_option in --version -v -V -qversion; do
3596
{ { ac_try="$ac_compiler $ac_option >&5"
3598
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3599
*) ac_try_echo=$ac_try;;
3601
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3602
$as_echo "$ac_try_echo"; } >&5
3603
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3605
if test -s conftest.err; then
3607
... rest of stderr output deleted ...
3608
10q' conftest.err >conftest.er1
3609
cat conftest.er1 >&5
3611
rm -f conftest.er1 conftest.err
3612
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3613
test $ac_status = 0; }
3616
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3617
/* end confdefs.h. */
3627
ac_clean_files_save=$ac_clean_files
3628
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3629
# Try to create an executable without -o first, disregard a.out.
3630
# It will help us diagnose broken compilers, and finding out an intuition
3632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3633
$as_echo_n "checking whether the C compiler works... " >&6; }
3634
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3636
# The possible output files:
3637
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3640
for ac_file in $ac_files
3643
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3644
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3649
if { { ac_try="$ac_link_default"
3651
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3652
*) ac_try_echo=$ac_try;;
3654
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3655
$as_echo "$ac_try_echo"; } >&5
3656
(eval "$ac_link_default") 2>&5
3658
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3659
test $ac_status = 0; }; then :
3660
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3661
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3662
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3663
# so that the user can short-circuit this test for compilers unknown to
3665
for ac_file in $ac_files ''
3667
test -f "$ac_file" || continue
3669
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3672
# We found the default executable, but exeext='' is most
3676
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3678
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3680
# We set ac_cv_exeext here because the later test for it is not
3681
# safe: cross compilers may not add the suffix if given an `-o'
3682
# argument, so we may need to know it at that point already.
3683
# Even if this section looks crufty: it has the advantage of
3690
test "$ac_cv_exeext" = no && ac_cv_exeext=
3695
if test -z "$ac_file"; then :
3696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3697
$as_echo "no" >&6; }
3698
$as_echo "$as_me: failed program was:" >&5
3699
sed 's/^/| /' conftest.$ac_ext >&5
3701
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3702
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3703
{ as_fn_set_status 77
3704
as_fn_error "C compiler cannot create executables
3705
See \`config.log' for more details." "$LINENO" 5; }; }
3707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3708
$as_echo "yes" >&6; }
3710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3711
$as_echo_n "checking for C compiler default output file name... " >&6; }
3712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3713
$as_echo "$ac_file" >&6; }
3714
ac_exeext=$ac_cv_exeext
3716
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3717
ac_clean_files=$ac_clean_files_save
3718
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3719
$as_echo_n "checking for suffix of executables... " >&6; }
3720
if { { ac_try="$ac_link"
3722
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723
*) ac_try_echo=$ac_try;;
3725
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3726
$as_echo "$ac_try_echo"; } >&5
3727
(eval "$ac_link") 2>&5
3729
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3730
test $ac_status = 0; }; then :
3731
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3732
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3733
# work properly (i.e., refer to `conftest.exe'), while it won't with
3735
for ac_file in conftest.exe conftest conftest.*; do
3736
test -f "$ac_file" || continue
3738
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3739
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3745
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3746
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3747
as_fn_error "cannot compute suffix of executables: cannot compile and link
3748
See \`config.log' for more details." "$LINENO" 5; }
3750
rm -f conftest conftest$ac_cv_exeext
3751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3752
$as_echo "$ac_cv_exeext" >&6; }
3754
rm -f conftest.$ac_ext
3755
EXEEXT=$ac_cv_exeext
3757
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3758
/* end confdefs.h. */
3763
FILE *f = fopen ("conftest.out", "w");
3764
return ferror (f) || fclose (f) != 0;
3770
ac_clean_files="$ac_clean_files conftest.out"
3771
# Check that the compiler produces executables we can run. If not, either
3772
# the compiler is broken, or we cross compile.
3773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3774
$as_echo_n "checking whether we are cross compiling... " >&6; }
3775
if test "$cross_compiling" != yes; then
3776
{ { ac_try="$ac_link"
3778
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3779
*) ac_try_echo=$ac_try;;
3781
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3782
$as_echo "$ac_try_echo"; } >&5
3783
(eval "$ac_link") 2>&5
3785
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3786
test $ac_status = 0; }
3787
if { ac_try='./conftest$ac_cv_exeext'
3788
{ { case "(($ac_try" in
3789
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3790
*) ac_try_echo=$ac_try;;
3792
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3793
$as_echo "$ac_try_echo"; } >&5
3794
(eval "$ac_try") 2>&5
3796
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3797
test $ac_status = 0; }; }; then
3800
if test "$cross_compiling" = maybe; then
3803
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3804
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3805
as_fn_error "cannot run C compiled programs.
3806
If you meant to cross compile, use \`--host'.
3807
See \`config.log' for more details." "$LINENO" 5; }
3811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3812
$as_echo "$cross_compiling" >&6; }
3814
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3815
ac_clean_files=$ac_clean_files_save
3816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3817
$as_echo_n "checking for suffix of object files... " >&6; }
3818
if test "${ac_cv_objext+set}" = set; then :
3819
$as_echo_n "(cached) " >&6
3821
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3822
/* end confdefs.h. */
3832
rm -f conftest.o conftest.obj
3833
if { { ac_try="$ac_compile"
3835
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3836
*) ac_try_echo=$ac_try;;
3838
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3839
$as_echo "$ac_try_echo"; } >&5
3840
(eval "$ac_compile") 2>&5
3842
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3843
test $ac_status = 0; }; then :
3844
for ac_file in conftest.o conftest.obj conftest.*; do
3845
test -f "$ac_file" || continue;
3847
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3848
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3853
$as_echo "$as_me: failed program was:" >&5
3854
sed 's/^/| /' conftest.$ac_ext >&5
3856
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858
as_fn_error "cannot compute suffix of object files: cannot compile
3859
See \`config.log' for more details." "$LINENO" 5; }
3861
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3863
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3864
$as_echo "$ac_cv_objext" >&6; }
3865
OBJEXT=$ac_cv_objext
3867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3868
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3869
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3870
$as_echo_n "(cached) " >&6
3872
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873
/* end confdefs.h. */
3886
if ac_fn_c_try_compile "$LINENO"; then :
3891
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3892
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3895
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3896
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3897
if test $ac_compiler_gnu = yes; then
3902
ac_test_CFLAGS=${CFLAGS+set}
3903
ac_save_CFLAGS=$CFLAGS
3904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3905
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3906
if test "${ac_cv_prog_cc_g+set}" = set; then :
3907
$as_echo_n "(cached) " >&6
3909
ac_save_c_werror_flag=$ac_c_werror_flag
3910
ac_c_werror_flag=yes
3913
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3914
/* end confdefs.h. */
3924
if ac_fn_c_try_compile "$LINENO"; then :
3928
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3929
/* end confdefs.h. */
3939
if ac_fn_c_try_compile "$LINENO"; then :
3942
ac_c_werror_flag=$ac_save_c_werror_flag
3944
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3945
/* end confdefs.h. */
3955
if ac_fn_c_try_compile "$LINENO"; then :
3958
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3960
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3962
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3963
ac_c_werror_flag=$ac_save_c_werror_flag
3965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3966
$as_echo "$ac_cv_prog_cc_g" >&6; }
3967
if test "$ac_test_CFLAGS" = set; then
3968
CFLAGS=$ac_save_CFLAGS
3969
elif test $ac_cv_prog_cc_g = yes; then
3970
if test "$GCC" = yes; then
3976
if test "$GCC" = yes; then
3982
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3983
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3984
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3985
$as_echo_n "(cached) " >&6
3987
ac_cv_prog_cc_c89=no
3989
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3990
/* end confdefs.h. */
3993
#include <sys/types.h>
3994
#include <sys/stat.h>
3995
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3996
struct buf { int x; };
3997
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3998
static char *e (p, i)
4004
static char *f (char * (*g) (char **, int), char **p, ...)
4009
s = g (p, va_arg (v,int));
4014
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4015
function prototypes and stuff, but not '\xHH' hex character constants.
4016
These don't provoke an error unfortunately, instead are silently treated
4017
as 'x'. The following induces an error, until -std is added to get
4018
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4019
array size at least. It's necessary to write '\x00'==0 to get something
4020
that's true only with -std. */
4021
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4023
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4024
inside strings and character constants. */
4026
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4028
int test (int i, double x);
4029
struct s1 {int (*f) (int a);};
4030
struct s2 {int (*f) (double a);};
4031
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4037
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4042
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4043
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4045
CC="$ac_save_CC $ac_arg"
4046
if ac_fn_c_try_compile "$LINENO"; then :
4047
ac_cv_prog_cc_c89=$ac_arg
4049
rm -f core conftest.err conftest.$ac_objext
4050
test "x$ac_cv_prog_cc_c89" != "xno" && break
4052
rm -f conftest.$ac_ext
4057
case "x$ac_cv_prog_cc_c89" in
4059
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4060
$as_echo "none needed" >&6; } ;;
4062
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4063
$as_echo "unsupported" >&6; } ;;
4065
CC="$CC $ac_cv_prog_cc_c89"
4066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4067
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4069
if test "x$ac_cv_prog_cc_c89" != xno; then :
4074
ac_cpp='$CPP $CPPFLAGS'
4075
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4076
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4077
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4079
depcc="$CC" am_compiler_list=
4081
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4082
$as_echo_n "checking dependency style of $depcc... " >&6; }
4083
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4084
$as_echo_n "(cached) " >&6
4086
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4087
# We make a subdir and do the tests there. Otherwise we can end up
4088
# making bogus files that we don't know about and never remove. For
4089
# instance it was reported that on HP-UX the gcc test will end up
4090
# making a dummy file named `D' -- because `-MD' means `put the output
4093
# Copy depcomp to subdir because otherwise we won't find it if we're
4094
# using a relative directory.
4095
cp "$am_depcomp" conftest.dir
4097
# We will build objects and dependencies in a subdirectory because
4098
# it helps to detect inapplicable dependency modes. For instance
4099
# both Tru64's cc and ICC support -MD to output dependencies as a
4100
# side effect of compilation, but ICC will put the dependencies in
4101
# the current directory while Tru64 will put them in the object
4105
am_cv_CC_dependencies_compiler_type=none
4106
if test "$am_compiler_list" = ""; then
4107
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4110
case " $depcc " in #(
4111
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4114
for depmode in $am_compiler_list; do
4115
# Setup a source with many dependencies, because some compilers
4116
# like to wrap large dependency lists on column 80 (with \), and
4117
# we should not choose a depcomp mode which is confused by this.
4119
# We need to recreate these files for each test, as the compiler may
4120
# overwrite some of them when testing with obscure command lines.
4121
# This happens at least with the AIX C compiler.
4123
for i in 1 2 3 4 5 6; do
4124
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4125
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4126
# Solaris 8's {/usr,}/bin/sh.
4127
touch sub/conftst$i.h
4129
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4131
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4132
# mode. It turns out that the SunPro C++ compiler does not properly
4133
# handle `-M -o', and we need to detect this. Also, some Intel
4134
# versions had trouble with output in subdirs
4135
am__obj=sub/conftest.${OBJEXT-o}
4136
am__minus_obj="-o $am__obj"
4139
# This depmode causes a compiler race in universal mode.
4140
test "$am__universal" = false || continue
4143
# after this tag, mechanisms are not by side-effect, so they'll
4144
# only be used when explicitly requested
4145
if test "x$enable_dependency_tracking" = xyes; then
4151
msvisualcpp | msvcmsys)
4152
# This compiler won't grok `-c -o', but also, the minuso test has
4153
# not run yet. These depmodes are late enough in the game, and
4154
# so weak that their functioning should not be impacted.
4155
am__obj=conftest.${OBJEXT-o}
4160
if depmode=$depmode \
4161
source=sub/conftest.c object=$am__obj \
4162
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4163
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4164
>/dev/null 2>conftest.err &&
4165
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4166
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4167
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4168
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4169
# icc doesn't choke on unknown options, it will just issue warnings
4170
# or remarks (even with -Werror). So we grep stderr for any message
4171
# that says an option was ignored or not supported.
4172
# When given -MP, icc 7.0 and 7.1 complain thusly:
4173
# icc: Command line warning: ignoring option '-M'; no argument required
4174
# The diagnosis changed in icc 8.0:
4175
# icc: Command line remark: option '-MP' not supported
4176
if (grep 'ignoring option' conftest.err ||
4177
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4178
am_cv_CC_dependencies_compiler_type=$depmode
4187
am_cv_CC_dependencies_compiler_type=none
4191
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4192
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4193
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4196
test "x$enable_dependency_tracking" != xno \
4197
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4199
am__fastdepCC_FALSE='#'
4201
am__fastdepCC_TRUE='#'
4202
am__fastdepCC_FALSE=
4209
case "$am__api_version" in
4211
as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4217
if test -n "0.36.3"; then
4218
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.36.3" >&5
4219
$as_echo_n "checking for intltool >= 0.36.3... " >&6; }
4221
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.36.3 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4222
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4223
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4226
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4227
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4228
as_fn_error "Your intltool is too old. You need intltool 0.36.3 or later." "$LINENO" 5
4231
# Extract the first word of "intltool-update", so it can be a program name with args.
4232
set dummy intltool-update; ac_word=$2
4233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4234
$as_echo_n "checking for $ac_word... " >&6; }
4235
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
4236
$as_echo_n "(cached) " >&6
4238
case $INTLTOOL_UPDATE in
4240
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4243
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4247
test -z "$as_dir" && as_dir=.
4248
for ac_exec_ext in '' $ac_executable_extensions; do
4249
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4250
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4251
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4261
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4262
if test -n "$INTLTOOL_UPDATE"; then
4263
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4264
$as_echo "$INTLTOOL_UPDATE" >&6; }
4266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4267
$as_echo "no" >&6; }
4271
# Extract the first word of "intltool-merge", so it can be a program name with args.
4272
set dummy intltool-merge; ac_word=$2
4273
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4274
$as_echo_n "checking for $ac_word... " >&6; }
4275
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
4276
$as_echo_n "(cached) " >&6
4278
case $INTLTOOL_MERGE in
4280
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4283
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4287
test -z "$as_dir" && as_dir=.
4288
for ac_exec_ext in '' $ac_executable_extensions; do
4289
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4290
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4291
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4301
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4302
if test -n "$INTLTOOL_MERGE"; then
4303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4304
$as_echo "$INTLTOOL_MERGE" >&6; }
4306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4307
$as_echo "no" >&6; }
4311
# Extract the first word of "intltool-extract", so it can be a program name with args.
4312
set dummy intltool-extract; ac_word=$2
4313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4314
$as_echo_n "checking for $ac_word... " >&6; }
4315
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
4316
$as_echo_n "(cached) " >&6
4318
case $INTLTOOL_EXTRACT in
4320
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4323
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327
test -z "$as_dir" && as_dir=.
4328
for ac_exec_ext in '' $ac_executable_extensions; do
4329
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4330
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4331
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4341
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4342
if test -n "$INTLTOOL_EXTRACT"; then
4343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4344
$as_echo "$INTLTOOL_EXTRACT" >&6; }
4346
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4347
$as_echo "no" >&6; }
4351
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4352
as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4355
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 $< $@'
4356
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 $< $@'
4357
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 $< $@'
4358
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 $< $@'
4359
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
4360
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 $< $@'
4361
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 $< $@'
4362
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 $< $@'
4363
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 $< $@'
4364
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 $< $@'
4365
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 $< $@'
4366
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
4367
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 $< $@'
4368
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 $< $@'
4369
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 $< $@'
4370
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 $< $@'
4371
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 $< $@'
4372
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 $< $@'
4373
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4471
# Check the gettext tools to make sure they are GNU
4472
# Extract the first word of "xgettext", so it can be a program name with args.
4473
set dummy xgettext; ac_word=$2
4474
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4475
$as_echo_n "checking for $ac_word... " >&6; }
4476
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4477
$as_echo_n "(cached) " >&6
4481
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4484
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4488
test -z "$as_dir" && as_dir=.
4489
for ac_exec_ext in '' $ac_executable_extensions; do
4490
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4491
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4492
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4502
XGETTEXT=$ac_cv_path_XGETTEXT
4503
if test -n "$XGETTEXT"; then
4504
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4505
$as_echo "$XGETTEXT" >&6; }
4507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4508
$as_echo "no" >&6; }
4512
# Extract the first word of "msgmerge", so it can be a program name with args.
4513
set dummy msgmerge; ac_word=$2
4514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4515
$as_echo_n "checking for $ac_word... " >&6; }
4516
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
4517
$as_echo_n "(cached) " >&6
4521
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4524
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528
test -z "$as_dir" && as_dir=.
4529
for ac_exec_ext in '' $ac_executable_extensions; do
4530
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4531
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4532
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4542
MSGMERGE=$ac_cv_path_MSGMERGE
4543
if test -n "$MSGMERGE"; then
4544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4545
$as_echo "$MSGMERGE" >&6; }
4547
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4548
$as_echo "no" >&6; }
4552
# Extract the first word of "msgfmt", so it can be a program name with args.
4553
set dummy msgfmt; ac_word=$2
4554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4555
$as_echo_n "checking for $ac_word... " >&6; }
4556
if test "${ac_cv_path_MSGFMT+set}" = set; then :
4557
$as_echo_n "(cached) " >&6
4561
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4564
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4568
test -z "$as_dir" && as_dir=.
4569
for ac_exec_ext in '' $ac_executable_extensions; do
4570
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4571
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4572
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4582
MSGFMT=$ac_cv_path_MSGFMT
4583
if test -n "$MSGFMT"; then
4584
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4585
$as_echo "$MSGFMT" >&6; }
4587
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4588
$as_echo "no" >&6; }
4592
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4593
set dummy gmsgfmt; ac_word=$2
4594
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4595
$as_echo_n "checking for $ac_word... " >&6; }
4596
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4597
$as_echo_n "(cached) " >&6
4601
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4604
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4608
test -z "$as_dir" && as_dir=.
4609
for ac_exec_ext in '' $ac_executable_extensions; do
4610
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4611
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4612
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4619
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4623
GMSGFMT=$ac_cv_path_GMSGFMT
4624
if test -n "$GMSGFMT"; then
4625
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4626
$as_echo "$GMSGFMT" >&6; }
4628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4629
$as_echo "no" >&6; }
4633
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4634
as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
4636
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4637
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4638
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4639
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4640
as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
4643
# Extract the first word of "perl", so it can be a program name with args.
4644
set dummy perl; ac_word=$2
4645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4646
$as_echo_n "checking for $ac_word... " >&6; }
4647
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
4648
$as_echo_n "(cached) " >&6
4650
case $INTLTOOL_PERL in
4652
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4655
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4659
test -z "$as_dir" && as_dir=.
4660
for ac_exec_ext in '' $ac_executable_extensions; do
4661
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4662
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4663
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4673
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4674
if test -n "$INTLTOOL_PERL"; then
4675
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4676
$as_echo "$INTLTOOL_PERL" >&6; }
4678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679
$as_echo "no" >&6; }
4683
if test -z "$INTLTOOL_PERL"; then
4684
as_fn_error "perl not found" "$LINENO" 5
4686
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4687
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4688
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4689
if test $? -ne 0; then
4690
as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
4692
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4694
$as_echo "$IT_PERL_VERSION" >&6; }
4696
if test "x" != "xno-xml"; then
4697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4698
$as_echo_n "checking for XML::Parser... " >&6; }
4699
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4700
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4701
$as_echo "ok" >&6; }
4703
as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
4707
# Substitute ALL_LINGUAS so we can use it in po/Makefile
4710
# Set DATADIRNAME correctly if it is not set yet
4711
# (copied from glib-gettext.m4)
4712
if test -z "$DATADIRNAME"; then
4713
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4714
/* end confdefs.h. */
4719
extern int _nl_msg_cat_cntr;
4720
return _nl_msg_cat_cntr
4725
if ac_fn_c_try_link "$LINENO"; then :
4730
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4731
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4743
rm -f core conftest.err conftest.$ac_objext \
4744
conftest$ac_exeext conftest.$ac_ext
4752
ac_cpp='$CPP $CPPFLAGS'
4753
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4754
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4755
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4756
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4757
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4758
# On Suns, sometimes $CPP names a directory.
4759
if test -n "$CPP" && test -d "$CPP"; then
4762
if test -z "$CPP"; then
4763
if test "${ac_cv_prog_CPP+set}" = set; then :
4764
$as_echo_n "(cached) " >&6
4766
# Double quotes because CPP needs to be expanded
4767
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4770
for ac_c_preproc_warn_flag in '' yes
4772
# Use a header file that comes with gcc, so configuring glibc
4773
# with a fresh cross-compiler works.
4774
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4775
# <limits.h> exists even on freestanding compilers.
4776
# On the NeXT, cc -E runs the code through the compiler's parser,
4777
# not just through cpp. "Syntax error" is here to catch this case.
4778
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4779
/* end confdefs.h. */
4781
# include <limits.h>
4783
# include <assert.h>
4787
if ac_fn_c_try_cpp "$LINENO"; then :
4790
# Broken: fails on valid input.
4793
rm -f conftest.err conftest.$ac_ext
4795
# OK, works on sane cases. Now check whether nonexistent headers
4796
# can be detected and how.
4797
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4798
/* end confdefs.h. */
4799
#include <ac_nonexistent.h>
4801
if ac_fn_c_try_cpp "$LINENO"; then :
4802
# Broken: success on invalid input.
4805
# Passes both tests.
4809
rm -f conftest.err conftest.$ac_ext
4812
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4813
rm -f conftest.err conftest.$ac_ext
4814
if $ac_preproc_ok; then :
4826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4827
$as_echo "$CPP" >&6; }
4829
for ac_c_preproc_warn_flag in '' yes
4831
# Use a header file that comes with gcc, so configuring glibc
4832
# with a fresh cross-compiler works.
4833
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4834
# <limits.h> exists even on freestanding compilers.
4835
# On the NeXT, cc -E runs the code through the compiler's parser,
4836
# not just through cpp. "Syntax error" is here to catch this case.
4837
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4838
/* end confdefs.h. */
4840
# include <limits.h>
4842
# include <assert.h>
4846
if ac_fn_c_try_cpp "$LINENO"; then :
4849
# Broken: fails on valid input.
4852
rm -f conftest.err conftest.$ac_ext
4854
# OK, works on sane cases. Now check whether nonexistent headers
4855
# can be detected and how.
4856
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4857
/* end confdefs.h. */
4858
#include <ac_nonexistent.h>
4860
if ac_fn_c_try_cpp "$LINENO"; then :
4861
# Broken: success on invalid input.
4864
# Passes both tests.
4868
rm -f conftest.err conftest.$ac_ext
4871
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4872
rm -f conftest.err conftest.$ac_ext
4873
if $ac_preproc_ok; then :
4876
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4877
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4878
as_fn_error "C preprocessor \"$CPP\" fails sanity check
4879
See \`config.log' for more details." "$LINENO" 5; }
4883
ac_cpp='$CPP $CPPFLAGS'
4884
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4885
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4886
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4890
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4891
if test "${ac_cv_path_GREP+set}" = set; then :
4892
$as_echo_n "(cached) " >&6
4894
if test -z "$GREP"; then
4895
ac_path_GREP_found=false
4896
# Loop through the user's path and test for each of PROGNAME-LIST
4897
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4898
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4901
test -z "$as_dir" && as_dir=.
4902
for ac_prog in grep ggrep; do
4903
for ac_exec_ext in '' $ac_executable_extensions; do
4904
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4905
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4906
# Check for GNU ac_path_GREP and select it if it is found.
4907
# Check for GNU $ac_path_GREP
4908
case `"$ac_path_GREP" --version 2>&1` in
4910
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4913
$as_echo_n 0123456789 >"conftest.in"
4916
cat "conftest.in" "conftest.in" >"conftest.tmp"
4917
mv "conftest.tmp" "conftest.in"
4918
cp "conftest.in" "conftest.nl"
4919
$as_echo 'GREP' >> "conftest.nl"
4920
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4921
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4922
as_fn_arith $ac_count + 1 && ac_count=$as_val
4923
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4924
# Best one so far, save it but keep looking for a better one
4925
ac_cv_path_GREP="$ac_path_GREP"
4926
ac_path_GREP_max=$ac_count
4928
# 10*(2^10) chars as input seems more than enough
4929
test $ac_count -gt 10 && break
4931
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4934
$ac_path_GREP_found && break 3
4939
if test -z "$ac_cv_path_GREP"; then
4940
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4943
ac_cv_path_GREP=$GREP
4947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4948
$as_echo "$ac_cv_path_GREP" >&6; }
4949
GREP="$ac_cv_path_GREP"
4952
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4953
$as_echo_n "checking for egrep... " >&6; }
4954
if test "${ac_cv_path_EGREP+set}" = set; then :
4955
$as_echo_n "(cached) " >&6
4957
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4958
then ac_cv_path_EGREP="$GREP -E"
4960
if test -z "$EGREP"; then
4961
ac_path_EGREP_found=false
4962
# Loop through the user's path and test for each of PROGNAME-LIST
4963
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4964
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4967
test -z "$as_dir" && as_dir=.
4968
for ac_prog in egrep; do
4969
for ac_exec_ext in '' $ac_executable_extensions; do
4970
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4971
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4972
# Check for GNU ac_path_EGREP and select it if it is found.
4973
# Check for GNU $ac_path_EGREP
4974
case `"$ac_path_EGREP" --version 2>&1` in
4976
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4979
$as_echo_n 0123456789 >"conftest.in"
4982
cat "conftest.in" "conftest.in" >"conftest.tmp"
4983
mv "conftest.tmp" "conftest.in"
4984
cp "conftest.in" "conftest.nl"
4985
$as_echo 'EGREP' >> "conftest.nl"
4986
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4987
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4988
as_fn_arith $ac_count + 1 && ac_count=$as_val
4989
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4990
# Best one so far, save it but keep looking for a better one
4991
ac_cv_path_EGREP="$ac_path_EGREP"
4992
ac_path_EGREP_max=$ac_count
4994
# 10*(2^10) chars as input seems more than enough
4995
test $ac_count -gt 10 && break
4997
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5000
$ac_path_EGREP_found && break 3
5005
if test -z "$ac_cv_path_EGREP"; then
5006
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5009
ac_cv_path_EGREP=$EGREP
5014
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5015
$as_echo "$ac_cv_path_EGREP" >&6; }
5016
EGREP="$ac_cv_path_EGREP"
5019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5020
$as_echo_n "checking for ANSI C header files... " >&6; }
5021
if test "${ac_cv_header_stdc+set}" = set; then :
5022
$as_echo_n "(cached) " >&6
5024
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5025
/* end confdefs.h. */
5039
if ac_fn_c_try_compile "$LINENO"; then :
5040
ac_cv_header_stdc=yes
5042
ac_cv_header_stdc=no
5044
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5046
if test $ac_cv_header_stdc = yes; then
5047
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5048
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5049
/* end confdefs.h. */
5053
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5054
$EGREP "memchr" >/dev/null 2>&1; then :
5057
ac_cv_header_stdc=no
5063
if test $ac_cv_header_stdc = yes; then
5064
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5065
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5066
/* end confdefs.h. */
5070
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5071
$EGREP "free" >/dev/null 2>&1; then :
5074
ac_cv_header_stdc=no
5080
if test $ac_cv_header_stdc = yes; then
5081
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5082
if test "$cross_compiling" = yes; then :
5085
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5086
/* end confdefs.h. */
5089
#if ((' ' & 0x0FF) == 0x020)
5090
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5091
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5093
# define ISLOWER(c) \
5094
(('a' <= (c) && (c) <= 'i') \
5095
|| ('j' <= (c) && (c) <= 'r') \
5096
|| ('s' <= (c) && (c) <= 'z'))
5097
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5100
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5105
for (i = 0; i < 256; i++)
5106
if (XOR (islower (i), ISLOWER (i))
5107
|| toupper (i) != TOUPPER (i))
5112
if ac_fn_c_try_run "$LINENO"; then :
5115
ac_cv_header_stdc=no
5117
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5118
conftest.$ac_objext conftest.beam conftest.$ac_ext
5123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5124
$as_echo "$ac_cv_header_stdc" >&6; }
5125
if test $ac_cv_header_stdc = yes; then
5127
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5131
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5132
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5133
inttypes.h stdint.h unistd.h
5135
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5136
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5138
eval as_val=\$$as_ac_Header
5139
if test "x$as_val" = x""yes; then :
5140
cat >>confdefs.h <<_ACEOF
5141
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5150
for ac_header in locale.h
5152
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
5153
if test "x$ac_cv_header_locale_h" = x""yes; then :
5154
cat >>confdefs.h <<_ACEOF
5155
#define HAVE_LOCALE_H 1
5162
if test $ac_cv_header_locale_h = yes; then
5163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
5164
$as_echo_n "checking for LC_MESSAGES... " >&6; }
5165
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
5166
$as_echo_n "(cached) " >&6
5168
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5169
/* end confdefs.h. */
5179
if ac_fn_c_try_link "$LINENO"; then :
5180
am_cv_val_LC_MESSAGES=yes
5182
am_cv_val_LC_MESSAGES=no
5184
rm -f core conftest.err conftest.$ac_objext \
5185
conftest$ac_exeext conftest.$ac_ext
5187
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
5188
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
5189
if test $am_cv_val_LC_MESSAGES = yes; then
5191
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
5198
gt_cv_have_gettext=no
5204
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
5205
if test "x$ac_cv_header_libintl_h" = x""yes; then :
5206
gt_cv_func_dgettext_libintl="no"
5207
libintl_extra_libs=""
5210
# First check in libc
5212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
5213
$as_echo_n "checking for ngettext in libc... " >&6; }
5214
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
5215
$as_echo_n "(cached) " >&6
5217
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5218
/* end confdefs.h. */
5220
#include <libintl.h>
5225
return !ngettext ("","", 1)
5230
if ac_fn_c_try_link "$LINENO"; then :
5231
gt_cv_func_ngettext_libc=yes
5233
gt_cv_func_ngettext_libc=no
5235
rm -f core conftest.err conftest.$ac_objext \
5236
conftest$ac_exeext conftest.$ac_ext
5239
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
5240
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
5242
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
5244
$as_echo_n "checking for dgettext in libc... " >&6; }
5245
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
5246
$as_echo_n "(cached) " >&6
5248
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5249
/* end confdefs.h. */
5251
#include <libintl.h>
5256
return !dgettext ("","")
5261
if ac_fn_c_try_link "$LINENO"; then :
5262
gt_cv_func_dgettext_libc=yes
5264
gt_cv_func_dgettext_libc=no
5266
rm -f core conftest.err conftest.$ac_objext \
5267
conftest$ac_exeext conftest.$ac_ext
5270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
5271
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
5274
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
5275
for ac_func in bind_textdomain_codeset
5277
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5278
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
5279
cat >>confdefs.h <<_ACEOF
5280
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5289
# If we don't have everything we want, check in libintl
5291
if test "$gt_cv_func_dgettext_libc" != "yes" \
5292
|| test "$gt_cv_func_ngettext_libc" != "yes" \
5293
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
5295
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
5296
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
5297
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
5298
$as_echo_n "(cached) " >&6
5300
ac_check_lib_save_LIBS=$LIBS
5302
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5303
/* end confdefs.h. */
5305
/* Override any GCC internal prototype to avoid an error.
5306
Use char because int might match the return type of a GCC
5307
builtin and then its argument prototype would still apply. */
5311
char bindtextdomain ();
5315
return bindtextdomain ();
5320
if ac_fn_c_try_link "$LINENO"; then :
5321
ac_cv_lib_intl_bindtextdomain=yes
5323
ac_cv_lib_intl_bindtextdomain=no
5325
rm -f core conftest.err conftest.$ac_objext \
5326
conftest$ac_exeext conftest.$ac_ext
5327
LIBS=$ac_check_lib_save_LIBS
5329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
5330
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
5331
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
5332
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5333
$as_echo_n "checking for ngettext in -lintl... " >&6; }
5334
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
5335
$as_echo_n "(cached) " >&6
5337
ac_check_lib_save_LIBS=$LIBS
5339
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340
/* end confdefs.h. */
5342
/* Override any GCC internal prototype to avoid an error.
5343
Use char because int might match the return type of a GCC
5344
builtin and then its argument prototype would still apply. */
5357
if ac_fn_c_try_link "$LINENO"; then :
5358
ac_cv_lib_intl_ngettext=yes
5360
ac_cv_lib_intl_ngettext=no
5362
rm -f core conftest.err conftest.$ac_objext \
5363
conftest$ac_exeext conftest.$ac_ext
5364
LIBS=$ac_check_lib_save_LIBS
5366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5367
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5368
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
5369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
5370
$as_echo_n "checking for dgettext in -lintl... " >&6; }
5371
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
5372
$as_echo_n "(cached) " >&6
5374
ac_check_lib_save_LIBS=$LIBS
5376
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5377
/* end confdefs.h. */
5379
/* Override any GCC internal prototype to avoid an error.
5380
Use char because int might match the return type of a GCC
5381
builtin and then its argument prototype would still apply. */
5394
if ac_fn_c_try_link "$LINENO"; then :
5395
ac_cv_lib_intl_dgettext=yes
5397
ac_cv_lib_intl_dgettext=no
5399
rm -f core conftest.err conftest.$ac_objext \
5400
conftest$ac_exeext conftest.$ac_ext
5401
LIBS=$ac_check_lib_save_LIBS
5403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
5404
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
5405
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
5406
gt_cv_func_dgettext_libintl=yes
5414
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
5415
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
5416
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
5417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
5419
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
5420
$as_echo_n "checking for ngettext in -lintl... " >&6; }
5421
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
5422
$as_echo_n "(cached) " >&6
5424
ac_check_lib_save_LIBS=$LIBS
5425
LIBS="-lintl -liconv $LIBS"
5426
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5427
/* end confdefs.h. */
5429
/* Override any GCC internal prototype to avoid an error.
5430
Use char because int might match the return type of a GCC
5431
builtin and then its argument prototype would still apply. */
5444
if ac_fn_c_try_link "$LINENO"; then :
5445
ac_cv_lib_intl_ngettext=yes
5447
ac_cv_lib_intl_ngettext=no
5449
rm -f core conftest.err conftest.$ac_objext \
5450
conftest$ac_exeext conftest.$ac_ext
5451
LIBS=$ac_check_lib_save_LIBS
5453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
5454
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
5455
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
5456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
5457
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
5458
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
5459
$as_echo_n "(cached) " >&6
5461
ac_check_lib_save_LIBS=$LIBS
5462
LIBS="-lintl -liconv $LIBS"
5463
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5464
/* end confdefs.h. */
5466
/* Override any GCC internal prototype to avoid an error.
5467
Use char because int might match the return type of a GCC
5468
builtin and then its argument prototype would still apply. */
5476
return dcgettext ();
5481
if ac_fn_c_try_link "$LINENO"; then :
5482
ac_cv_lib_intl_dcgettext=yes
5484
ac_cv_lib_intl_dcgettext=no
5486
rm -f core conftest.err conftest.$ac_objext \
5487
conftest$ac_exeext conftest.$ac_ext
5488
LIBS=$ac_check_lib_save_LIBS
5490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
5491
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
5492
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
5493
gt_cv_func_dgettext_libintl=yes
5494
libintl_extra_libs=-liconv
5506
# If we found libintl, then check in it for bind_textdomain_codeset();
5507
# we'll prefer libc if neither have bind_textdomain_codeset(),
5508
# and both have dgettext and ngettext
5510
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
5511
glib_save_LIBS="$LIBS"
5512
LIBS="$LIBS -lintl $libintl_extra_libs"
5513
unset ac_cv_func_bind_textdomain_codeset
5514
for ac_func in bind_textdomain_codeset
5516
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5517
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
5518
cat >>confdefs.h <<_ACEOF
5519
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
5525
LIBS="$glib_save_LIBS"
5527
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
5528
gt_cv_func_dgettext_libc=no
5530
if test "$gt_cv_func_dgettext_libc" = "yes" \
5531
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
5532
gt_cv_func_dgettext_libintl=no
5538
if test "$gt_cv_func_dgettext_libc" = "yes" \
5539
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
5540
gt_cv_have_gettext=yes
5543
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
5544
INTLLIBS="-lintl $libintl_extra_libs"
5547
if test "$gt_cv_have_gettext" = "yes"; then
5549
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
5551
# Extract the first word of "msgfmt", so it can be a program name with args.
5552
set dummy msgfmt; ac_word=$2
5553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5554
$as_echo_n "checking for $ac_word... " >&6; }
5555
if test "${ac_cv_path_MSGFMT+set}" = set; then :
5556
$as_echo_n "(cached) " >&6
5560
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5563
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5564
for ac_dir in $PATH; do
5565
test -z "$ac_dir" && ac_dir=.
5566
if test -f $ac_dir/$ac_word; then
5567
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
5568
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
5574
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
5578
MSGFMT="$ac_cv_path_MSGFMT"
5579
if test "$MSGFMT" != "no"; then
5580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5581
$as_echo "$MSGFMT" >&6; }
5583
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5584
$as_echo "no" >&6; }
5586
if test "$MSGFMT" != "no"; then
5587
glib_save_LIBS="$LIBS"
5588
LIBS="$LIBS $INTLLIBS"
5589
for ac_func in dcgettext
5591
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
5592
if test "x$ac_cv_func_dcgettext" = x""yes; then :
5593
cat >>confdefs.h <<_ACEOF
5594
#define HAVE_DCGETTEXT 1
5601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
5602
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
5603
cat >conftest.foo <<_ACEOF
5607
"Content-Type: text/plain; charset=UTF-8\n"
5608
"Project-Id-Version: test 1.0\n"
5609
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
5610
"Last-Translator: test <foo@bar.xx>\n"
5611
"Language-Team: C <LL@li.org>\n"
5612
"MIME-Version: 1.0\n"
5613
"Content-Transfer-Encoding: 8bit\n"
5616
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
5617
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
5619
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5620
test $ac_status = 0; }; then
5621
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5622
$as_echo "yes" >&6; }
5623
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624
$as_echo "no" >&6; }
5625
echo "$as_me: failed input was:" >&5
5626
sed 's/^/| /' conftest.foo >&5
5629
# Extract the first word of "gmsgfmt", so it can be a program name with args.
5630
set dummy gmsgfmt; ac_word=$2
5631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5632
$as_echo_n "checking for $ac_word... " >&6; }
5633
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
5634
$as_echo_n "(cached) " >&6
5638
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5641
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645
test -z "$as_dir" && as_dir=.
5646
for ac_exec_ext in '' $ac_executable_extensions; do
5647
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5648
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5649
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5656
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5660
GMSGFMT=$ac_cv_path_GMSGFMT
5661
if test -n "$GMSGFMT"; then
5662
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5663
$as_echo "$GMSGFMT" >&6; }
5665
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5666
$as_echo "no" >&6; }
5670
# Extract the first word of "xgettext", so it can be a program name with args.
5671
set dummy xgettext; ac_word=$2
5672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5673
$as_echo_n "checking for $ac_word... " >&6; }
5674
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
5675
$as_echo_n "(cached) " >&6
5679
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5682
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
5683
for ac_dir in $PATH; do
5684
test -z "$ac_dir" && ac_dir=.
5685
if test -f $ac_dir/$ac_word; then
5686
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
5687
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
5693
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
5697
XGETTEXT="$ac_cv_path_XGETTEXT"
5698
if test "$XGETTEXT" != ":"; then
5699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5700
$as_echo "$XGETTEXT" >&6; }
5702
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5703
$as_echo "no" >&6; }
5706
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5707
/* end confdefs.h. */
5712
extern int _nl_msg_cat_cntr;
5713
return _nl_msg_cat_cntr
5718
if ac_fn_c_try_link "$LINENO"; then :
5724
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5725
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
5740
rm -f core conftest.err conftest.$ac_objext \
5741
conftest$ac_exeext conftest.$ac_ext
5742
LIBS="$glib_save_LIBS"
5745
gt_cv_have_gettext=no
5753
if test "$gt_cv_have_gettext" = "yes" ; then
5755
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
5759
if test "$XGETTEXT" != ":"; then
5760
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
5763
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
5764
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
5769
# We need to process the po/ directory.
5772
ac_config_commands="$ac_config_commands default-1"
5775
for lang in $ALL_LINGUAS; do
5776
GMOFILES="$GMOFILES $lang.gmo"
5777
POFILES="$POFILES $lang.po"
5792
if test "$gt_cv_have_gettext" = "yes"; then
5793
if test "x$ALL_LINGUAS" = "x"; then
5796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
5797
$as_echo_n "checking for catalogs to be installed... " >&6; }
5799
for presentlang in $ALL_LINGUAS; do
5801
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
5802
desiredlanguages="$LINGUAS"
5804
desiredlanguages="$ALL_LINGUAS"
5806
for desiredlang in $desiredlanguages; do
5807
# Use the presentlang catalog if desiredlang is
5808
# a. equal to presentlang, or
5809
# b. a variant of presentlang (because in this case,
5810
# presentlang can be used as a fallback for messages
5811
# which are not translated in the desiredlang catalog).
5812
case "$desiredlang" in
5813
"$presentlang"*) useit=yes;;
5816
if test $useit = yes; then
5817
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
5820
LINGUAS=$NEW_LINGUAS
5821
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
5822
$as_echo "$LINGUAS" >&6; }
5825
if test -n "$LINGUAS"; then
5826
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
5831
if test -n "$ac_aux_dir"; then
5832
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
5834
if test -z "$MKINSTALLDIRS"; then
5835
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
5839
test -d po || mkdir po
5840
if test "x$srcdir" != "x."; then
5841
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
5842
posrcprefix="$srcdir/"
5844
posrcprefix="../$srcdir/"
5850
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
5851
< $srcdir/po/POTFILES.in > po/POTFILES
5855
list="-DG_DISABLE_DEPRECATED
5856
-DPANGO_DISABLE_DEPRECATED
5857
-DGDK_DISABLE_DEPRECATED
5858
-DGDK_PIXBUF_DISABLE_DEPRECATED
5859
-DGTK_DISABLE_DEPRECATED
5860
-DGNOME_DISABLE_DEPRECATED
5861
-DG_DISABLE_SINGLE_INCLUDES
5862
-DGTK_DISABLE_SINGLE_INCLUDES
5864
-Wno-missing-field-initializers
5866
-Wno-unused-parameter
5867
-Wdeclaration-after-statement
5868
-Werror-implicit-function-declaration
5869
-Wformat-nonliteral -Wformat-security -Winit-self
5870
-Wmissing-declarations -Wmissing-include-dirs
5871
-Wmissing-noreturn -Wnested-externs -Wpointer-arith
5872
-Wredundant-decls -Wundef -Wwrite-strings"
5874
flags_unsupported=""
5875
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported compiler flags" >&5
5876
$as_echo_n "checking for supported compiler flags... " >&6; }
5879
save_CFLAGS="$CFLAGS"
5880
CFLAGS="$CFLAGS $each"
5881
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5882
/* end confdefs.h. */
5892
if ac_fn_c_try_compile "$LINENO"; then :
5897
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5898
CFLAGS="$save_CFLAGS"
5900
if test "X$flag_ok" = Xyes ; then
5901
flags_supported="$flags_supported $each"
5903
flags_unsupported="$flags_unsupported $each"
5906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $flags_supported" >&5
5907
$as_echo "$flags_supported" >&6; }
5908
if test "X$flags_unsupported" != X ; then
5909
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unsupported compiler flags: $flags_unsupported" >&5
5910
$as_echo "$as_me: WARNING: unsupported compiler flags: $flags_unsupported" >&2;}
5912
WARNING_FLAGS="$WARNING_FLAGS $flags_supported"
5917
CFLAGS="$CFLAGS $WARNING_FLAGS -fno-strict-aliasing"
5920
ac_cpp='$CPP $CPPFLAGS'
5921
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5922
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5923
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5924
if test -n "$ac_tool_prefix"; then
5925
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5926
set dummy ${ac_tool_prefix}gcc; ac_word=$2
5927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5928
$as_echo_n "checking for $ac_word... " >&6; }
5929
if test "${ac_cv_prog_CC+set}" = set; then :
5930
$as_echo_n "(cached) " >&6
5932
if test -n "$CC"; then
5933
ac_cv_prog_CC="$CC" # Let the user override the test.
5935
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5939
test -z "$as_dir" && as_dir=.
5940
for ac_exec_ext in '' $ac_executable_extensions; do
5941
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5942
ac_cv_prog_CC="${ac_tool_prefix}gcc"
5943
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5953
if test -n "$CC"; then
5954
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5955
$as_echo "$CC" >&6; }
5957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5958
$as_echo "no" >&6; }
5963
if test -z "$ac_cv_prog_CC"; then
5965
# Extract the first word of "gcc", so it can be a program name with args.
5966
set dummy gcc; ac_word=$2
5967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5968
$as_echo_n "checking for $ac_word... " >&6; }
5969
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
5970
$as_echo_n "(cached) " >&6
5972
if test -n "$ac_ct_CC"; then
5973
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5975
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5979
test -z "$as_dir" && as_dir=.
5980
for ac_exec_ext in '' $ac_executable_extensions; do
5981
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5982
ac_cv_prog_ac_ct_CC="gcc"
5983
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5992
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5993
if test -n "$ac_ct_CC"; then
5994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5995
$as_echo "$ac_ct_CC" >&6; }
5997
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5998
$as_echo "no" >&6; }
6001
if test "x$ac_ct_CC" = x; then
6004
case $cross_compiling:$ac_tool_warned in
6006
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6007
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6008
ac_tool_warned=yes ;;
6016
if test -z "$CC"; then
6017
if test -n "$ac_tool_prefix"; then
6018
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
6019
set dummy ${ac_tool_prefix}cc; ac_word=$2
6020
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021
$as_echo_n "checking for $ac_word... " >&6; }
6022
if test "${ac_cv_prog_CC+set}" = set; then :
6023
$as_echo_n "(cached) " >&6
6025
if test -n "$CC"; then
6026
ac_cv_prog_CC="$CC" # Let the user override the test.
6028
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6032
test -z "$as_dir" && as_dir=.
6033
for ac_exec_ext in '' $ac_executable_extensions; do
6034
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6035
ac_cv_prog_CC="${ac_tool_prefix}cc"
6036
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6046
if test -n "$CC"; then
6047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6048
$as_echo "$CC" >&6; }
6050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051
$as_echo "no" >&6; }
6057
if test -z "$CC"; then
6058
# Extract the first word of "cc", so it can be a program name with args.
6059
set dummy cc; ac_word=$2
6060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6061
$as_echo_n "checking for $ac_word... " >&6; }
6062
if test "${ac_cv_prog_CC+set}" = set; then :
6063
$as_echo_n "(cached) " >&6
6065
if test -n "$CC"; then
6066
ac_cv_prog_CC="$CC" # Let the user override the test.
6069
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073
test -z "$as_dir" && as_dir=.
6074
for ac_exec_ext in '' $ac_executable_extensions; do
6075
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6076
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
6077
ac_prog_rejected=yes
6081
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6088
if test $ac_prog_rejected = yes; then
6089
# We found a bogon in the path, so make sure we never use it.
6090
set dummy $ac_cv_prog_CC
6092
if test $# != 0; then
6093
# We chose a different compiler from the bogus one.
6094
# However, it has the same basename, so the bogon will be chosen
6095
# first if we set CC to just the basename; use the full file name.
6097
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
6103
if test -n "$CC"; then
6104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6105
$as_echo "$CC" >&6; }
6107
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6108
$as_echo "no" >&6; }
6113
if test -z "$CC"; then
6114
if test -n "$ac_tool_prefix"; then
6115
for ac_prog in cl.exe
6117
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6118
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6120
$as_echo_n "checking for $ac_word... " >&6; }
6121
if test "${ac_cv_prog_CC+set}" = set; then :
6122
$as_echo_n "(cached) " >&6
6124
if test -n "$CC"; then
6125
ac_cv_prog_CC="$CC" # Let the user override the test.
6127
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6131
test -z "$as_dir" && as_dir=.
6132
for ac_exec_ext in '' $ac_executable_extensions; do
6133
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6134
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
6135
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6145
if test -n "$CC"; then
6146
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
6147
$as_echo "$CC" >&6; }
6149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150
$as_echo "no" >&6; }
6154
test -n "$CC" && break
6157
if test -z "$CC"; then
6159
for ac_prog in cl.exe
6161
# Extract the first word of "$ac_prog", so it can be a program name with args.
6162
set dummy $ac_prog; ac_word=$2
6163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6164
$as_echo_n "checking for $ac_word... " >&6; }
6165
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
6166
$as_echo_n "(cached) " >&6
6168
if test -n "$ac_ct_CC"; then
6169
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
6171
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6175
test -z "$as_dir" && as_dir=.
6176
for ac_exec_ext in '' $ac_executable_extensions; do
6177
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6178
ac_cv_prog_ac_ct_CC="$ac_prog"
6179
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6188
ac_ct_CC=$ac_cv_prog_ac_ct_CC
6189
if test -n "$ac_ct_CC"; then
6190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
6191
$as_echo "$ac_ct_CC" >&6; }
6193
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6194
$as_echo "no" >&6; }
6198
test -n "$ac_ct_CC" && break
6201
if test "x$ac_ct_CC" = x; then
6204
case $cross_compiling:$ac_tool_warned in
6206
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6207
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6208
ac_tool_warned=yes ;;
6217
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6218
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6219
as_fn_error "no acceptable C compiler found in \$PATH
6220
See \`config.log' for more details." "$LINENO" 5; }
6222
# Provide some information about the compiler.
6223
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
6226
for ac_option in --version -v -V -qversion; do
6227
{ { ac_try="$ac_compiler $ac_option >&5"
6229
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6230
*) ac_try_echo=$ac_try;;
6232
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6233
$as_echo "$ac_try_echo"; } >&5
6234
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
6236
if test -s conftest.err; then
6238
... rest of stderr output deleted ...
6239
10q' conftest.err >conftest.er1
6240
cat conftest.er1 >&5
6242
rm -f conftest.er1 conftest.err
6243
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6244
test $ac_status = 0; }
6247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
6248
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
6249
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
6250
$as_echo_n "(cached) " >&6
6252
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6253
/* end confdefs.h. */
6266
if ac_fn_c_try_compile "$LINENO"; then :
6271
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6272
ac_cv_c_compiler_gnu=$ac_compiler_gnu
6275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
6276
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
6277
if test $ac_compiler_gnu = yes; then
6282
ac_test_CFLAGS=${CFLAGS+set}
6283
ac_save_CFLAGS=$CFLAGS
6284
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
6285
$as_echo_n "checking whether $CC accepts -g... " >&6; }
6286
if test "${ac_cv_prog_cc_g+set}" = set; then :
6287
$as_echo_n "(cached) " >&6
6289
ac_save_c_werror_flag=$ac_c_werror_flag
6290
ac_c_werror_flag=yes
6293
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6294
/* end confdefs.h. */
6304
if ac_fn_c_try_compile "$LINENO"; then :
6308
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6309
/* end confdefs.h. */
6319
if ac_fn_c_try_compile "$LINENO"; then :
6322
ac_c_werror_flag=$ac_save_c_werror_flag
6324
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6325
/* end confdefs.h. */
6335
if ac_fn_c_try_compile "$LINENO"; then :
6338
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6340
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6342
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6343
ac_c_werror_flag=$ac_save_c_werror_flag
6345
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
6346
$as_echo "$ac_cv_prog_cc_g" >&6; }
6347
if test "$ac_test_CFLAGS" = set; then
6348
CFLAGS=$ac_save_CFLAGS
6349
elif test $ac_cv_prog_cc_g = yes; then
6350
if test "$GCC" = yes; then
6356
if test "$GCC" = yes; then
6362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6363
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6364
if test "${ac_cv_prog_cc_c89+set}" = set; then :
6365
$as_echo_n "(cached) " >&6
6367
ac_cv_prog_cc_c89=no
6369
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6370
/* end confdefs.h. */
6373
#include <sys/types.h>
6374
#include <sys/stat.h>
6375
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
6376
struct buf { int x; };
6377
FILE * (*rcsopen) (struct buf *, struct stat *, int);
6378
static char *e (p, i)
6384
static char *f (char * (*g) (char **, int), char **p, ...)
6389
s = g (p, va_arg (v,int));
6394
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
6395
function prototypes and stuff, but not '\xHH' hex character constants.
6396
These don't provoke an error unfortunately, instead are silently treated
6397
as 'x'. The following induces an error, until -std is added to get
6398
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
6399
array size at least. It's necessary to write '\x00'==0 to get something
6400
that's true only with -std. */
6401
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
6403
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
6404
inside strings and character constants. */
6406
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
6408
int test (int i, double x);
6409
struct s1 {int (*f) (int a);};
6410
struct s2 {int (*f) (double a);};
6411
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
6417
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
6422
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
6423
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
6425
CC="$ac_save_CC $ac_arg"
6426
if ac_fn_c_try_compile "$LINENO"; then :
6427
ac_cv_prog_cc_c89=$ac_arg
6429
rm -f core conftest.err conftest.$ac_objext
6430
test "x$ac_cv_prog_cc_c89" != "xno" && break
6432
rm -f conftest.$ac_ext
6437
case "x$ac_cv_prog_cc_c89" in
6439
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
6440
$as_echo "none needed" >&6; } ;;
6442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
6443
$as_echo "unsupported" >&6; } ;;
6445
CC="$CC $ac_cv_prog_cc_c89"
6446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
6447
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
6449
if test "x$ac_cv_prog_cc_c89" != xno; then :
6454
ac_cpp='$CPP $CPPFLAGS'
6455
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6456
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6457
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6459
depcc="$CC" am_compiler_list=
6461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6462
$as_echo_n "checking dependency style of $depcc... " >&6; }
6463
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
6464
$as_echo_n "(cached) " >&6
6466
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6467
# We make a subdir and do the tests there. Otherwise we can end up
6468
# making bogus files that we don't know about and never remove. For
6469
# instance it was reported that on HP-UX the gcc test will end up
6470
# making a dummy file named `D' -- because `-MD' means `put the output
6473
# Copy depcomp to subdir because otherwise we won't find it if we're
6474
# using a relative directory.
6475
cp "$am_depcomp" conftest.dir
6477
# We will build objects and dependencies in a subdirectory because
6478
# it helps to detect inapplicable dependency modes. For instance
6479
# both Tru64's cc and ICC support -MD to output dependencies as a
6480
# side effect of compilation, but ICC will put the dependencies in
6481
# the current directory while Tru64 will put them in the object
6485
am_cv_CC_dependencies_compiler_type=none
6486
if test "$am_compiler_list" = ""; then
6487
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6490
case " $depcc " in #(
6491
*\ -arch\ *\ -arch\ *) am__universal=true ;;
6494
for depmode in $am_compiler_list; do
6495
# Setup a source with many dependencies, because some compilers
6496
# like to wrap large dependency lists on column 80 (with \), and
6497
# we should not choose a depcomp mode which is confused by this.
6499
# We need to recreate these files for each test, as the compiler may
6500
# overwrite some of them when testing with obscure command lines.
6501
# This happens at least with the AIX C compiler.
6503
for i in 1 2 3 4 5 6; do
6504
echo '#include "conftst'$i'.h"' >> sub/conftest.c
6505
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6506
# Solaris 8's {/usr,}/bin/sh.
6507
touch sub/conftst$i.h
6509
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6511
# We check with `-c' and `-o' for the sake of the "dashmstdout"
6512
# mode. It turns out that the SunPro C++ compiler does not properly
6513
# handle `-M -o', and we need to detect this. Also, some Intel
6514
# versions had trouble with output in subdirs
6515
am__obj=sub/conftest.${OBJEXT-o}
6516
am__minus_obj="-o $am__obj"
6519
# This depmode causes a compiler race in universal mode.
6520
test "$am__universal" = false || continue
6523
# after this tag, mechanisms are not by side-effect, so they'll
6524
# only be used when explicitly requested
6525
if test "x$enable_dependency_tracking" = xyes; then
6531
msvisualcpp | msvcmsys)
6532
# This compiler won't grok `-c -o', but also, the minuso test has
6533
# not run yet. These depmodes are late enough in the game, and
6534
# so weak that their functioning should not be impacted.
6535
am__obj=conftest.${OBJEXT-o}
6540
if depmode=$depmode \
6541
source=sub/conftest.c object=$am__obj \
6542
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6543
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6544
>/dev/null 2>conftest.err &&
6545
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6546
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6547
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6548
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6549
# icc doesn't choke on unknown options, it will just issue warnings
6550
# or remarks (even with -Werror). So we grep stderr for any message
6551
# that says an option was ignored or not supported.
6552
# When given -MP, icc 7.0 and 7.1 complain thusly:
6553
# icc: Command line warning: ignoring option '-M'; no argument required
6554
# The diagnosis changed in icc 8.0:
6555
# icc: Command line remark: option '-MP' not supported
6556
if (grep 'ignoring option' conftest.err ||
6557
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6558
am_cv_CC_dependencies_compiler_type=$depmode
6567
am_cv_CC_dependencies_compiler_type=none
6571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6572
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6573
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6576
test "x$enable_dependency_tracking" != xno \
6577
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6579
am__fastdepCC_FALSE='#'
6581
am__fastdepCC_TRUE='#'
6582
am__fastdepCC_FALSE=
6587
ac_cpp='$CXXCPP $CPPFLAGS'
6588
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6589
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6590
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6591
if test -z "$CXX"; then
6592
if test -n "$CCC"; then
6595
if test -n "$ac_tool_prefix"; then
6596
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6598
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6599
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6600
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6601
$as_echo_n "checking for $ac_word... " >&6; }
6602
if test "${ac_cv_prog_CXX+set}" = set; then :
6603
$as_echo_n "(cached) " >&6
6605
if test -n "$CXX"; then
6606
ac_cv_prog_CXX="$CXX" # Let the user override the test.
6608
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6612
test -z "$as_dir" && as_dir=.
6613
for ac_exec_ext in '' $ac_executable_extensions; do
6614
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6615
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6616
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6626
if test -n "$CXX"; then
6627
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6628
$as_echo "$CXX" >&6; }
6630
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6631
$as_echo "no" >&6; }
6635
test -n "$CXX" && break
6638
if test -z "$CXX"; then
6640
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6642
# Extract the first word of "$ac_prog", so it can be a program name with args.
6643
set dummy $ac_prog; ac_word=$2
6644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6645
$as_echo_n "checking for $ac_word... " >&6; }
6646
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
6647
$as_echo_n "(cached) " >&6
6649
if test -n "$ac_ct_CXX"; then
6650
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6652
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6656
test -z "$as_dir" && as_dir=.
6657
for ac_exec_ext in '' $ac_executable_extensions; do
6658
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6659
ac_cv_prog_ac_ct_CXX="$ac_prog"
6660
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6669
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6670
if test -n "$ac_ct_CXX"; then
6671
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6672
$as_echo "$ac_ct_CXX" >&6; }
6674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6675
$as_echo "no" >&6; }
6679
test -n "$ac_ct_CXX" && break
6682
if test "x$ac_ct_CXX" = x; then
6685
case $cross_compiling:$ac_tool_warned in
6687
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6688
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6689
ac_tool_warned=yes ;;
6697
# Provide some information about the compiler.
6698
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6701
for ac_option in --version -v -V -qversion; do
6702
{ { ac_try="$ac_compiler $ac_option >&5"
6704
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6705
*) ac_try_echo=$ac_try;;
6707
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6708
$as_echo "$ac_try_echo"; } >&5
6709
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
6711
if test -s conftest.err; then
6713
... rest of stderr output deleted ...
6714
10q' conftest.err >conftest.er1
6715
cat conftest.er1 >&5
6717
rm -f conftest.er1 conftest.err
6718
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6719
test $ac_status = 0; }
6722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6723
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6724
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
6725
$as_echo_n "(cached) " >&6
6727
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6728
/* end confdefs.h. */
6741
if ac_fn_cxx_try_compile "$LINENO"; then :
6746
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6747
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6751
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6752
if test $ac_compiler_gnu = yes; then
6757
ac_test_CXXFLAGS=${CXXFLAGS+set}
6758
ac_save_CXXFLAGS=$CXXFLAGS
6759
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6760
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
6761
if test "${ac_cv_prog_cxx_g+set}" = set; then :
6762
$as_echo_n "(cached) " >&6
6764
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6765
ac_cxx_werror_flag=yes
6768
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6769
/* end confdefs.h. */
6779
if ac_fn_cxx_try_compile "$LINENO"; then :
6780
ac_cv_prog_cxx_g=yes
6783
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6784
/* end confdefs.h. */
6794
if ac_fn_cxx_try_compile "$LINENO"; then :
6797
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6799
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6800
/* end confdefs.h. */
6810
if ac_fn_cxx_try_compile "$LINENO"; then :
6811
ac_cv_prog_cxx_g=yes
6813
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6815
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6817
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6818
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6821
$as_echo "$ac_cv_prog_cxx_g" >&6; }
6822
if test "$ac_test_CXXFLAGS" = set; then
6823
CXXFLAGS=$ac_save_CXXFLAGS
6824
elif test $ac_cv_prog_cxx_g = yes; then
6825
if test "$GXX" = yes; then
6831
if test "$GXX" = yes; then
6838
ac_cpp='$CPP $CPPFLAGS'
6839
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6840
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6841
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6843
depcc="$CXX" am_compiler_list=
6845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6846
$as_echo_n "checking dependency style of $depcc... " >&6; }
6847
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
6848
$as_echo_n "(cached) " >&6
6850
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6851
# We make a subdir and do the tests there. Otherwise we can end up
6852
# making bogus files that we don't know about and never remove. For
6853
# instance it was reported that on HP-UX the gcc test will end up
6854
# making a dummy file named `D' -- because `-MD' means `put the output
6857
# Copy depcomp to subdir because otherwise we won't find it if we're
6858
# using a relative directory.
6859
cp "$am_depcomp" conftest.dir
6861
# We will build objects and dependencies in a subdirectory because
6862
# it helps to detect inapplicable dependency modes. For instance
6863
# both Tru64's cc and ICC support -MD to output dependencies as a
6864
# side effect of compilation, but ICC will put the dependencies in
6865
# the current directory while Tru64 will put them in the object
6869
am_cv_CXX_dependencies_compiler_type=none
6870
if test "$am_compiler_list" = ""; then
6871
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6874
case " $depcc " in #(
6875
*\ -arch\ *\ -arch\ *) am__universal=true ;;
6878
for depmode in $am_compiler_list; do
6879
# Setup a source with many dependencies, because some compilers
6880
# like to wrap large dependency lists on column 80 (with \), and
6881
# we should not choose a depcomp mode which is confused by this.
6883
# We need to recreate these files for each test, as the compiler may
6884
# overwrite some of them when testing with obscure command lines.
6885
# This happens at least with the AIX C compiler.
6887
for i in 1 2 3 4 5 6; do
6888
echo '#include "conftst'$i'.h"' >> sub/conftest.c
6889
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6890
# Solaris 8's {/usr,}/bin/sh.
6891
touch sub/conftst$i.h
6893
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6895
# We check with `-c' and `-o' for the sake of the "dashmstdout"
6896
# mode. It turns out that the SunPro C++ compiler does not properly
6897
# handle `-M -o', and we need to detect this. Also, some Intel
6898
# versions had trouble with output in subdirs
6899
am__obj=sub/conftest.${OBJEXT-o}
6900
am__minus_obj="-o $am__obj"
6903
# This depmode causes a compiler race in universal mode.
6904
test "$am__universal" = false || continue
6907
# after this tag, mechanisms are not by side-effect, so they'll
6908
# only be used when explicitly requested
6909
if test "x$enable_dependency_tracking" = xyes; then
6915
msvisualcpp | msvcmsys)
6916
# This compiler won't grok `-c -o', but also, the minuso test has
6917
# not run yet. These depmodes are late enough in the game, and
6918
# so weak that their functioning should not be impacted.
6919
am__obj=conftest.${OBJEXT-o}
6924
if depmode=$depmode \
6925
source=sub/conftest.c object=$am__obj \
6926
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6927
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6928
>/dev/null 2>conftest.err &&
6929
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6930
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6931
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6932
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6933
# icc doesn't choke on unknown options, it will just issue warnings
6934
# or remarks (even with -Werror). So we grep stderr for any message
6935
# that says an option was ignored or not supported.
6936
# When given -MP, icc 7.0 and 7.1 complain thusly:
6937
# icc: Command line warning: ignoring option '-M'; no argument required
6938
# The diagnosis changed in icc 8.0:
6939
# icc: Command line remark: option '-MP' not supported
6940
if (grep 'ignoring option' conftest.err ||
6941
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6942
am_cv_CXX_dependencies_compiler_type=$depmode
6951
am_cv_CXX_dependencies_compiler_type=none
6955
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6956
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6957
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6960
test "x$enable_dependency_tracking" != xno \
6961
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6962
am__fastdepCXX_TRUE=
6963
am__fastdepCXX_FALSE='#'
6965
am__fastdepCXX_TRUE='#'
6966
am__fastdepCXX_FALSE=
6970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
6971
$as_echo_n "checking for inline... " >&6; }
6972
if test "${ac_cv_c_inline+set}" = set; then :
6973
$as_echo_n "(cached) " >&6
6976
for ac_kw in inline __inline__ __inline; do
6977
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6978
/* end confdefs.h. */
6981
static $ac_kw foo_t static_foo () {return 0; }
6982
$ac_kw foo_t foo () {return 0; }
6986
if ac_fn_c_try_compile "$LINENO"; then :
6987
ac_cv_c_inline=$ac_kw
6989
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6990
test "$ac_cv_c_inline" != no && break
6994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
6995
$as_echo "$ac_cv_c_inline" >&6; }
6997
case $ac_cv_c_inline in
7000
case $ac_cv_c_inline in
7002
*) ac_val=$ac_cv_c_inline;;
7004
cat >>confdefs.h <<_ACEOF
7006
#define inline $ac_val
7012
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
7013
# for constant arguments. Useless!
7014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
7015
$as_echo_n "checking for working alloca.h... " >&6; }
7016
if test "${ac_cv_working_alloca_h+set}" = set; then :
7017
$as_echo_n "(cached) " >&6
7019
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7020
/* end confdefs.h. */
7025
char *p = (char *) alloca (2 * sizeof (int));
7031
if ac_fn_c_try_link "$LINENO"; then :
7032
ac_cv_working_alloca_h=yes
7034
ac_cv_working_alloca_h=no
7036
rm -f core conftest.err conftest.$ac_objext \
7037
conftest$ac_exeext conftest.$ac_ext
7039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
7040
$as_echo "$ac_cv_working_alloca_h" >&6; }
7041
if test $ac_cv_working_alloca_h = yes; then
7043
$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
7047
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
7048
$as_echo_n "checking for alloca... " >&6; }
7049
if test "${ac_cv_func_alloca_works+set}" = set; then :
7050
$as_echo_n "(cached) " >&6
7052
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7053
/* end confdefs.h. */
7055
# define alloca __builtin_alloca
7058
# include <malloc.h>
7059
# define alloca _alloca
7061
# ifdef HAVE_ALLOCA_H
7062
# include <alloca.h>
7067
# ifndef alloca /* predefined by HP cc +Olibcalls */
7078
char *p = (char *) alloca (1);
7084
if ac_fn_c_try_link "$LINENO"; then :
7085
ac_cv_func_alloca_works=yes
7087
ac_cv_func_alloca_works=no
7089
rm -f core conftest.err conftest.$ac_objext \
7090
conftest$ac_exeext conftest.$ac_ext
7092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
7093
$as_echo "$ac_cv_func_alloca_works" >&6; }
7095
if test $ac_cv_func_alloca_works = yes; then
7097
$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
7100
# The SVR3 libPW and SVR4 libucb both contain incompatible functions
7101
# that cause trouble. Some versions do not even contain alloca or
7102
# contain a buggy version. If you still want to use their alloca,
7103
# use ar to extract alloca.o from them instead of compiling alloca.c.
7105
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
7107
$as_echo "#define C_ALLOCA 1" >>confdefs.h
7110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
7111
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
7112
if test "${ac_cv_os_cray+set}" = set; then :
7113
$as_echo_n "(cached) " >&6
7115
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7116
/* end confdefs.h. */
7117
#if defined CRAY && ! defined CRAY2
7124
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7125
$EGREP "webecray" >/dev/null 2>&1; then :
7133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
7134
$as_echo "$ac_cv_os_cray" >&6; }
7135
if test $ac_cv_os_cray = yes; then
7136
for ac_func in _getb67 GETB67 getb67; do
7137
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7138
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7139
eval as_val=\$$as_ac_var
7140
if test "x$as_val" = x""yes; then :
7142
cat >>confdefs.h <<_ACEOF
7143
#define CRAY_STACKSEG_END $ac_func
7152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
7153
$as_echo_n "checking stack direction for C alloca... " >&6; }
7154
if test "${ac_cv_c_stack_direction+set}" = set; then :
7155
$as_echo_n "(cached) " >&6
7157
if test "$cross_compiling" = yes; then :
7158
ac_cv_c_stack_direction=0
7160
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7161
/* end confdefs.h. */
7162
$ac_includes_default
7164
find_stack_direction ()
7166
static char *addr = 0;
7171
return find_stack_direction ();
7174
return (&dummy > addr) ? 1 : -1;
7180
return find_stack_direction () < 0;
7183
if ac_fn_c_try_run "$LINENO"; then :
7184
ac_cv_c_stack_direction=1
7186
ac_cv_c_stack_direction=-1
7188
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7189
conftest.$ac_objext conftest.beam conftest.$ac_ext
7193
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
7194
$as_echo "$ac_cv_c_stack_direction" >&6; }
7195
cat >>confdefs.h <<_ACEOF
7196
#define STACK_DIRECTION $ac_cv_c_stack_direction
7202
for ac_header in stdlib.h
7204
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
7205
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
7206
cat >>confdefs.h <<_ACEOF
7207
#define HAVE_STDLIB_H 1
7214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
7215
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
7216
if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then :
7217
$as_echo_n "(cached) " >&6
7219
if test "$cross_compiling" = yes; then :
7220
ac_cv_func_malloc_0_nonnull=no
7222
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7223
/* end confdefs.h. */
7224
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
7225
# include <stdlib.h>
7233
return ! malloc (0);
7238
if ac_fn_c_try_run "$LINENO"; then :
7239
ac_cv_func_malloc_0_nonnull=yes
7241
ac_cv_func_malloc_0_nonnull=no
7243
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7244
conftest.$ac_objext conftest.beam conftest.$ac_ext
7248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
7249
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
7250
if test $ac_cv_func_malloc_0_nonnull = yes; then :
7252
$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
7255
$as_echo "#define HAVE_MALLOC 0" >>confdefs.h
7257
case " $LIBOBJS " in
7258
*" malloc.$ac_objext "* ) ;;
7259
*) LIBOBJS="$LIBOBJS malloc.$ac_objext"
7264
$as_echo "#define malloc rpl_malloc" >>confdefs.h
7269
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
7270
if test "x$ac_cv_type_size_t" = x""yes; then :
7274
cat >>confdefs.h <<_ACEOF
7275
#define size_t unsigned int
7281
for ac_func in memchr memmove memset regcomp setlocale strchr strcspn strrchr strstr strtol strtoull
7283
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7284
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
7285
eval as_val=\$$as_ac_var
7286
if test "x$as_val" = x""yes; then :
7287
cat >>confdefs.h <<_ACEOF
7288
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7294
for ac_header in fcntl.h libintl.h
7296
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7297
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7298
eval as_val=\$$as_ac_Header
7299
if test "x$as_val" = x""yes; then :
7300
cat >>confdefs.h <<_ACEOF
7301
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7312
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7313
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7318
macro_version='2.2.6b'
7319
macro_revision='1.3017'
7333
ltmain="$ac_aux_dir/ltmain.sh"
7335
# Make sure we can run config.sub.
7336
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
7337
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
7339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
7340
$as_echo_n "checking build system type... " >&6; }
7341
if test "${ac_cv_build+set}" = set; then :
7342
$as_echo_n "(cached) " >&6
7344
ac_build_alias=$build_alias
7345
test "x$ac_build_alias" = x &&
7346
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
7347
test "x$ac_build_alias" = x &&
7348
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
7349
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
7350
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
7353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
7354
$as_echo "$ac_cv_build" >&6; }
7355
case $ac_cv_build in
7357
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
7360
ac_save_IFS=$IFS; IFS='-'
7366
# Remember, the first character of IFS is used to create $*,
7367
# except with old shells:
7370
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
7374
$as_echo_n "checking host system type... " >&6; }
7375
if test "${ac_cv_host+set}" = set; then :
7376
$as_echo_n "(cached) " >&6
7378
if test "x$host_alias" = x; then
7379
ac_cv_host=$ac_cv_build
7381
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
7382
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
7386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
7387
$as_echo "$ac_cv_host" >&6; }
7390
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
7393
ac_save_IFS=$IFS; IFS='-'
7399
# Remember, the first character of IFS is used to create $*,
7400
# except with old shells:
7403
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7406
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7407
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
7408
if test "${ac_cv_path_SED+set}" = set; then :
7409
$as_echo_n "(cached) " >&6
7411
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7412
for ac_i in 1 2 3 4 5 6 7; do
7413
ac_script="$ac_script$as_nl$ac_script"
7415
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7416
{ ac_script=; unset ac_script;}
7417
if test -z "$SED"; then
7418
ac_path_SED_found=false
7419
# Loop through the user's path and test for each of PROGNAME-LIST
7420
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7424
test -z "$as_dir" && as_dir=.
7425
for ac_prog in sed gsed; do
7426
for ac_exec_ext in '' $ac_executable_extensions; do
7427
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7428
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
7429
# Check for GNU ac_path_SED and select it if it is found.
7430
# Check for GNU $ac_path_SED
7431
case `"$ac_path_SED" --version 2>&1` in
7433
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7436
$as_echo_n 0123456789 >"conftest.in"
7439
cat "conftest.in" "conftest.in" >"conftest.tmp"
7440
mv "conftest.tmp" "conftest.in"
7441
cp "conftest.in" "conftest.nl"
7442
$as_echo '' >> "conftest.nl"
7443
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7444
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7445
as_fn_arith $ac_count + 1 && ac_count=$as_val
7446
if test $ac_count -gt ${ac_path_SED_max-0}; then
7447
# Best one so far, save it but keep looking for a better one
7448
ac_cv_path_SED="$ac_path_SED"
7449
ac_path_SED_max=$ac_count
7451
# 10*(2^10) chars as input seems more than enough
7452
test $ac_count -gt 10 && break
7454
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7457
$ac_path_SED_found && break 3
7462
if test -z "$ac_cv_path_SED"; then
7463
as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
7470
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7471
$as_echo "$ac_cv_path_SED" >&6; }
7472
SED="$ac_cv_path_SED"
7475
test -z "$SED" && SED=sed
7476
Xsed="$SED -e 1s/^X//"
7488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7489
$as_echo_n "checking for fgrep... " >&6; }
7490
if test "${ac_cv_path_FGREP+set}" = set; then :
7491
$as_echo_n "(cached) " >&6
7493
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7494
then ac_cv_path_FGREP="$GREP -F"
7496
if test -z "$FGREP"; then
7497
ac_path_FGREP_found=false
7498
# Loop through the user's path and test for each of PROGNAME-LIST
7499
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7500
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7503
test -z "$as_dir" && as_dir=.
7504
for ac_prog in fgrep; do
7505
for ac_exec_ext in '' $ac_executable_extensions; do
7506
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7507
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
7508
# Check for GNU ac_path_FGREP and select it if it is found.
7509
# Check for GNU $ac_path_FGREP
7510
case `"$ac_path_FGREP" --version 2>&1` in
7512
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7515
$as_echo_n 0123456789 >"conftest.in"
7518
cat "conftest.in" "conftest.in" >"conftest.tmp"
7519
mv "conftest.tmp" "conftest.in"
7520
cp "conftest.in" "conftest.nl"
7521
$as_echo 'FGREP' >> "conftest.nl"
7522
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7523
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7524
as_fn_arith $ac_count + 1 && ac_count=$as_val
7525
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7526
# Best one so far, save it but keep looking for a better one
7527
ac_cv_path_FGREP="$ac_path_FGREP"
7528
ac_path_FGREP_max=$ac_count
7530
# 10*(2^10) chars as input seems more than enough
7531
test $ac_count -gt 10 && break
7533
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7536
$ac_path_FGREP_found && break 3
7541
if test -z "$ac_cv_path_FGREP"; then
7542
as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7545
ac_cv_path_FGREP=$FGREP
7550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7551
$as_echo "$ac_cv_path_FGREP" >&6; }
7552
FGREP="$ac_cv_path_FGREP"
7555
test -z "$GREP" && GREP=grep
7575
# Check whether --with-gnu-ld was given.
7576
if test "${with_gnu_ld+set}" = set; then :
7577
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7583
if test "$GCC" = yes; then
7584
# Check if gcc -print-prog-name=ld gives a path.
7585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7586
$as_echo_n "checking for ld used by $CC... " >&6; }
7589
# gcc leaves a trailing carriage return which upsets mingw
7590
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7592
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7595
# Accept absolute paths.
7597
re_direlt='/[^/][^/]*/\.\./'
7598
# Canonicalize the pathname of ld
7599
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7600
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7601
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7603
test -z "$LD" && LD="$ac_prog"
7606
# If it fails, then pretend we aren't using GCC.
7610
# If it is relative, then search for the first ld in PATH.
7614
elif test "$with_gnu_ld" = yes; then
7615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7616
$as_echo_n "checking for GNU ld... " >&6; }
7618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7619
$as_echo_n "checking for non-GNU ld... " >&6; }
7621
if test "${lt_cv_path_LD+set}" = set; then :
7622
$as_echo_n "(cached) " >&6
7624
if test -z "$LD"; then
7625
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7626
for ac_dir in $PATH; do
7628
test -z "$ac_dir" && ac_dir=.
7629
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7630
lt_cv_path_LD="$ac_dir/$ac_prog"
7631
# Check to see if the program is GNU ld. I'd rather use --version,
7632
# but apparently some variants of GNU ld only accept -v.
7633
# Break only if it was the GNU/non-GNU ld that we prefer.
7634
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7635
*GNU* | *'with BFD'*)
7636
test "$with_gnu_ld" != no && break
7639
test "$with_gnu_ld" != yes && break
7646
lt_cv_path_LD="$LD" # Let the user override the test with a path.
7651
if test -n "$LD"; then
7652
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7653
$as_echo "$LD" >&6; }
7655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656
$as_echo "no" >&6; }
7658
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
7659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7660
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7661
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
7662
$as_echo_n "(cached) " >&6
7664
# I'd rather use --version here, but apparently some GNU lds only accept -v.
7665
case `$LD -v 2>&1 </dev/null` in
7666
*GNU* | *'with BFD'*)
7667
lt_cv_prog_gnu_ld=yes
7670
lt_cv_prog_gnu_ld=no
7674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7675
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
7676
with_gnu_ld=$lt_cv_prog_gnu_ld
7686
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7687
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7688
if test "${lt_cv_path_NM+set}" = set; then :
7689
$as_echo_n "(cached) " >&6
7691
if test -n "$NM"; then
7692
# Let the user override the test.
7695
lt_nm_to_check="${ac_tool_prefix}nm"
7696
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7697
lt_nm_to_check="$lt_nm_to_check nm"
7699
for lt_tmp_nm in $lt_nm_to_check; do
7700
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7701
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7703
test -z "$ac_dir" && ac_dir=.
7704
tmp_nm="$ac_dir/$lt_tmp_nm"
7705
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7706
# Check to see if the nm accepts a BSD-compat flag.
7707
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
7708
# nm: unknown option "B" ignored
7709
# Tru64's nm complains that /dev/null is an invalid object file
7710
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7711
*/dev/null* | *'Invalid file or object type'*)
7712
lt_cv_path_NM="$tmp_nm -B"
7716
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7718
lt_cv_path_NM="$tmp_nm -p"
7722
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7723
continue # so that we can try to find one that supports BSD flags
7732
: ${lt_cv_path_NM=no}
7735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7736
$as_echo "$lt_cv_path_NM" >&6; }
7737
if test "$lt_cv_path_NM" != "no"; then
7740
# Didn't find any BSD compatible name lister, look for dumpbin.
7741
if test -n "$ac_tool_prefix"; then
7742
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
7744
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7745
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7746
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7747
$as_echo_n "checking for $ac_word... " >&6; }
7748
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
7749
$as_echo_n "(cached) " >&6
7751
if test -n "$DUMPBIN"; then
7752
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7754
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7758
test -z "$as_dir" && as_dir=.
7759
for ac_exec_ext in '' $ac_executable_extensions; do
7760
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7761
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7762
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7771
DUMPBIN=$ac_cv_prog_DUMPBIN
7772
if test -n "$DUMPBIN"; then
7773
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7774
$as_echo "$DUMPBIN" >&6; }
7776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7777
$as_echo "no" >&6; }
7781
test -n "$DUMPBIN" && break
7784
if test -z "$DUMPBIN"; then
7785
ac_ct_DUMPBIN=$DUMPBIN
7786
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
7788
# Extract the first word of "$ac_prog", so it can be a program name with args.
7789
set dummy $ac_prog; ac_word=$2
7790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7791
$as_echo_n "checking for $ac_word... " >&6; }
7792
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
7793
$as_echo_n "(cached) " >&6
7795
if test -n "$ac_ct_DUMPBIN"; then
7796
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7798
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7802
test -z "$as_dir" && as_dir=.
7803
for ac_exec_ext in '' $ac_executable_extensions; do
7804
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7805
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7806
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7815
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7816
if test -n "$ac_ct_DUMPBIN"; then
7817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7818
$as_echo "$ac_ct_DUMPBIN" >&6; }
7820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7821
$as_echo "no" >&6; }
7825
test -n "$ac_ct_DUMPBIN" && break
7828
if test "x$ac_ct_DUMPBIN" = x; then
7831
case $cross_compiling:$ac_tool_warned in
7833
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7834
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7835
ac_tool_warned=yes ;;
7837
DUMPBIN=$ac_ct_DUMPBIN
7842
if test "$DUMPBIN" != ":"; then
7846
test -z "$NM" && NM=nm
7853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7854
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
7855
if test "${lt_cv_nm_interface+set}" = set; then :
7856
$as_echo_n "(cached) " >&6
7858
lt_cv_nm_interface="BSD nm"
7859
echo "int some_variable = 0;" > conftest.$ac_ext
7860
(eval echo "\"\$as_me:7860: $ac_compile\"" >&5)
7861
(eval "$ac_compile" 2>conftest.err)
7862
cat conftest.err >&5
7863
(eval echo "\"\$as_me:7863: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7864
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7865
cat conftest.err >&5
7866
(eval echo "\"\$as_me:7866: output\"" >&5)
7867
cat conftest.out >&5
7868
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7869
lt_cv_nm_interface="MS dumpbin"
7873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7874
$as_echo "$lt_cv_nm_interface" >&6; }
7876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7877
$as_echo_n "checking whether ln -s works... " >&6; }
7879
if test "$LN_S" = "ln -s"; then
7880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7881
$as_echo "yes" >&6; }
7883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7884
$as_echo "no, using $LN_S" >&6; }
7887
# find the maximum length of command line arguments
7888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7889
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
7890
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
7891
$as_echo_n "(cached) " >&6
7898
# On DJGPP, this test can blow up pretty badly due to problems in libc
7899
# (any single argument exceeding 2000 bytes causes a buffer overrun
7900
# during glob expansion). Even if it were fixed, the result of this
7901
# check would be larger than it should be.
7902
lt_cv_sys_max_cmd_len=12288; # 12K is about right
7906
# Under GNU Hurd, this test is not required because there is
7907
# no limit to the length of command line arguments.
7908
# Libtool will interpret -1 as no limit whatsoever
7909
lt_cv_sys_max_cmd_len=-1;
7912
cygwin* | mingw* | cegcc*)
7913
# On Win9x/ME, this test blows up -- it succeeds, but takes
7914
# about 5 minutes as the teststring grows exponentially.
7915
# Worse, since 9x/ME are not pre-emptively multitasking,
7916
# you end up with a "frozen" computer, even though with patience
7917
# the test eventually succeeds (with a max line length of 256k).
7918
# Instead, let's just punt: use the minimum linelength reported by
7919
# all of the supported platforms: 8192 (on NT/2K/XP).
7920
lt_cv_sys_max_cmd_len=8192;
7924
# On AmigaOS with pdksh, this test takes hours, literally.
7925
# So we just punt and use a minimum line length of 8192.
7926
lt_cv_sys_max_cmd_len=8192;
7929
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7930
# This has been around since 386BSD, at least. Likely further.
7931
if test -x /sbin/sysctl; then
7932
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7933
elif test -x /usr/sbin/sysctl; then
7934
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7936
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7938
# And add a safety zone
7939
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7940
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7944
# We know the value 262144 and hardcode it with a safety zone (like BSD)
7945
lt_cv_sys_max_cmd_len=196608
7949
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7950
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7951
# nice to cause kernel panics so lets avoid the loop below.
7952
# First set a reasonable default.
7953
lt_cv_sys_max_cmd_len=16384
7955
if test -x /sbin/sysconfig; then
7956
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7957
*1*) lt_cv_sys_max_cmd_len=-1 ;;
7962
lt_cv_sys_max_cmd_len=102400
7964
sysv5* | sco5v6* | sysv4.2uw2*)
7965
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7966
if test -n "$kargmax"; then
7967
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7969
lt_cv_sys_max_cmd_len=32768
7973
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7974
if test -n "$lt_cv_sys_max_cmd_len"; then
7975
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7976
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7978
# Make teststring a little bigger before we do anything with it.
7979
# a 1K string should be a reasonable start.
7980
for i in 1 2 3 4 5 6 7 8 ; do
7981
teststring=$teststring$teststring
7983
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7984
# If test is not a shell built-in, we'll probably end up computing a
7985
# maximum length that is only half of the actual maximum length, but
7987
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
7988
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
7989
test $i != 17 # 1/2 MB should be enough
7992
teststring=$teststring$teststring
7994
# Only check the string length outside the loop.
7995
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7997
# Add a significant safety factor because C++ compilers can tack on
7998
# massive amounts of additional arguments before passing them to the
7999
# linker. It appears as though 1/2 is a usable value.
8000
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8007
if test -n $lt_cv_sys_max_cmd_len ; then
8008
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8009
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8011
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
8012
$as_echo "none" >&6; }
8014
max_cmd_len=$lt_cv_sys_max_cmd_len
8025
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
8026
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
8027
# Try some XSI features
8030
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
8032
&& eval 'test $(( 1 + 1 )) -eq 2 \
8033
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
8035
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
8036
$as_echo "$xsi_shell" >&6; }
8039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
8040
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
8042
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
8044
&& lt_shell_append=yes
8045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
8046
$as_echo "$lt_shell_append" >&6; }
8049
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8059
# test EBCDIC or ASCII
8060
case `echo X|tr X '\101'` in
8061
A) # ASCII based system
8062
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8063
lt_SP2NL='tr \040 \012'
8064
lt_NL2SP='tr \015\012 \040\040'
8066
*) # EBCDIC based system
8067
lt_SP2NL='tr \100 \n'
8068
lt_NL2SP='tr \r\n \100\100'
8080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8081
$as_echo_n "checking for $LD option to reload object files... " >&6; }
8082
if test "${lt_cv_ld_reload_flag+set}" = set; then :
8083
$as_echo_n "(cached) " >&6
8085
lt_cv_ld_reload_flag='-r'
8087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8088
$as_echo "$lt_cv_ld_reload_flag" >&6; }
8089
reload_flag=$lt_cv_ld_reload_flag
8090
case $reload_flag in
8092
*) reload_flag=" $reload_flag" ;;
8094
reload_cmds='$LD$reload_flag -o $output$reload_objs'
8097
if test "$GCC" = yes; then
8098
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8100
reload_cmds='$LD$reload_flag -o $output$reload_objs'
8113
if test -n "$ac_tool_prefix"; then
8114
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8115
set dummy ${ac_tool_prefix}objdump; ac_word=$2
8116
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8117
$as_echo_n "checking for $ac_word... " >&6; }
8118
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
8119
$as_echo_n "(cached) " >&6
8121
if test -n "$OBJDUMP"; then
8122
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8124
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8128
test -z "$as_dir" && as_dir=.
8129
for ac_exec_ext in '' $ac_executable_extensions; do
8130
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8131
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8132
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8141
OBJDUMP=$ac_cv_prog_OBJDUMP
8142
if test -n "$OBJDUMP"; then
8143
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8144
$as_echo "$OBJDUMP" >&6; }
8146
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8147
$as_echo "no" >&6; }
8152
if test -z "$ac_cv_prog_OBJDUMP"; then
8153
ac_ct_OBJDUMP=$OBJDUMP
8154
# Extract the first word of "objdump", so it can be a program name with args.
8155
set dummy objdump; ac_word=$2
8156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8157
$as_echo_n "checking for $ac_word... " >&6; }
8158
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
8159
$as_echo_n "(cached) " >&6
8161
if test -n "$ac_ct_OBJDUMP"; then
8162
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8164
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8168
test -z "$as_dir" && as_dir=.
8169
for ac_exec_ext in '' $ac_executable_extensions; do
8170
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8171
ac_cv_prog_ac_ct_OBJDUMP="objdump"
8172
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8181
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8182
if test -n "$ac_ct_OBJDUMP"; then
8183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8184
$as_echo "$ac_ct_OBJDUMP" >&6; }
8186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8187
$as_echo "no" >&6; }
8190
if test "x$ac_ct_OBJDUMP" = x; then
8193
case $cross_compiling:$ac_tool_warned in
8195
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8196
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8197
ac_tool_warned=yes ;;
8199
OBJDUMP=$ac_ct_OBJDUMP
8202
OBJDUMP="$ac_cv_prog_OBJDUMP"
8205
test -z "$OBJDUMP" && OBJDUMP=objdump
8212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8213
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
8214
if test "${lt_cv_deplibs_check_method+set}" = set; then :
8215
$as_echo_n "(cached) " >&6
8217
lt_cv_file_magic_cmd='$MAGIC_CMD'
8218
lt_cv_file_magic_test_file=
8219
lt_cv_deplibs_check_method='unknown'
8220
# Need to set the preceding variable on all platforms that support
8221
# interlibrary dependencies.
8222
# 'none' -- dependencies not supported.
8223
# `unknown' -- same as none, but documents that we really don't know.
8224
# 'pass_all' -- all dependencies passed with no checks.
8225
# 'test_compile' -- check by making test program.
8226
# 'file_magic [[regex]]' -- check by looking for files in library path
8227
# which responds to the $file_magic_cmd with a given extended regex.
8228
# If you have `file' or equivalent on your system and you're not sure
8229
# whether `pass_all' will *always* work, you probably want this one.
8233
lt_cv_deplibs_check_method=pass_all
8237
lt_cv_deplibs_check_method=pass_all
8241
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8242
lt_cv_file_magic_cmd='/usr/bin/file -L'
8243
lt_cv_file_magic_test_file=/shlib/libc.so
8247
# func_win32_libid is a shell function defined in ltmain.sh
8248
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8249
lt_cv_file_magic_cmd='func_win32_libid'
8253
# Base MSYS/MinGW do not provide the 'file' command needed by
8254
# func_win32_libid shell function, so use a weaker test based on 'objdump',
8255
# unless we find 'file', for example because we are cross-compiling.
8256
if ( file / ) >/dev/null 2>&1; then
8257
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8258
lt_cv_file_magic_cmd='func_win32_libid'
8260
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
8261
lt_cv_file_magic_cmd='$OBJDUMP -f'
8266
# use the weaker test based on 'objdump'. See mingw*.
8267
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8268
lt_cv_file_magic_cmd='$OBJDUMP -f'
8271
darwin* | rhapsody*)
8272
lt_cv_deplibs_check_method=pass_all
8275
freebsd* | dragonfly*)
8276
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8279
# Not sure whether the presence of OpenBSD here was a mistake.
8280
# Let's accept both of them until this is cleared up.
8281
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8282
lt_cv_file_magic_cmd=/usr/bin/file
8283
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8287
lt_cv_deplibs_check_method=pass_all
8292
lt_cv_deplibs_check_method=pass_all
8295
hpux10.20* | hpux11*)
8296
lt_cv_file_magic_cmd=/usr/bin/file
8299
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8300
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8303
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]'
8304
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8307
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
8308
lt_cv_file_magic_test_file=/usr/lib/libc.sl
8314
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8315
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8318
irix5* | irix6* | nonstopux*)
8320
*-32|*"-32 ") libmagic=32-bit;;
8321
*-n32|*"-n32 ") libmagic=N32;;
8322
*-64|*"-64 ") libmagic=64-bit;;
8323
*) libmagic=never-match;;
8325
lt_cv_deplibs_check_method=pass_all
8328
# This must be Linux ELF.
8329
linux* | k*bsd*-gnu)
8330
lt_cv_deplibs_check_method=pass_all
8334
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8335
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8337
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8342
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8343
lt_cv_file_magic_cmd=/usr/bin/file
8344
lt_cv_file_magic_test_file=/usr/lib/libnls.so
8348
lt_cv_deplibs_check_method=pass_all
8352
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8353
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8355
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8359
osf3* | osf4* | osf5*)
8360
lt_cv_deplibs_check_method=pass_all
8364
lt_cv_deplibs_check_method=pass_all
8368
lt_cv_deplibs_check_method=pass_all
8371
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8372
lt_cv_deplibs_check_method=pass_all
8376
case $host_vendor in
8378
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]'
8379
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8382
lt_cv_deplibs_check_method=pass_all
8385
lt_cv_file_magic_cmd='/bin/file'
8386
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8389
lt_cv_file_magic_cmd='/bin/file'
8390
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8391
lt_cv_file_magic_test_file=/lib/libc.so
8394
lt_cv_deplibs_check_method=pass_all
8397
lt_cv_deplibs_check_method=pass_all
8403
lt_cv_deplibs_check_method=pass_all
8408
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8409
$as_echo "$lt_cv_deplibs_check_method" >&6; }
8410
file_magic_cmd=$lt_cv_file_magic_cmd
8411
deplibs_check_method=$lt_cv_deplibs_check_method
8412
test -z "$deplibs_check_method" && deplibs_check_method=unknown
8425
if test -n "$ac_tool_prefix"; then
8426
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8427
set dummy ${ac_tool_prefix}ar; ac_word=$2
8428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8429
$as_echo_n "checking for $ac_word... " >&6; }
8430
if test "${ac_cv_prog_AR+set}" = set; then :
8431
$as_echo_n "(cached) " >&6
8433
if test -n "$AR"; then
8434
ac_cv_prog_AR="$AR" # Let the user override the test.
8436
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8440
test -z "$as_dir" && as_dir=.
8441
for ac_exec_ext in '' $ac_executable_extensions; do
8442
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8443
ac_cv_prog_AR="${ac_tool_prefix}ar"
8444
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8454
if test -n "$AR"; then
8455
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8456
$as_echo "$AR" >&6; }
8458
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8459
$as_echo "no" >&6; }
8464
if test -z "$ac_cv_prog_AR"; then
8466
# Extract the first word of "ar", so it can be a program name with args.
8467
set dummy ar; ac_word=$2
8468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8469
$as_echo_n "checking for $ac_word... " >&6; }
8470
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
8471
$as_echo_n "(cached) " >&6
8473
if test -n "$ac_ct_AR"; then
8474
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8476
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8480
test -z "$as_dir" && as_dir=.
8481
for ac_exec_ext in '' $ac_executable_extensions; do
8482
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8483
ac_cv_prog_ac_ct_AR="ar"
8484
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8493
ac_ct_AR=$ac_cv_prog_ac_ct_AR
8494
if test -n "$ac_ct_AR"; then
8495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8496
$as_echo "$ac_ct_AR" >&6; }
8498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8499
$as_echo "no" >&6; }
8502
if test "x$ac_ct_AR" = x; then
8505
case $cross_compiling:$ac_tool_warned in
8507
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8508
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8509
ac_tool_warned=yes ;;
8517
test -z "$AR" && AR=ar
8518
test -z "$AR_FLAGS" && AR_FLAGS=cru
8530
if test -n "$ac_tool_prefix"; then
8531
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8532
set dummy ${ac_tool_prefix}strip; ac_word=$2
8533
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8534
$as_echo_n "checking for $ac_word... " >&6; }
8535
if test "${ac_cv_prog_STRIP+set}" = set; then :
8536
$as_echo_n "(cached) " >&6
8538
if test -n "$STRIP"; then
8539
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8541
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8545
test -z "$as_dir" && as_dir=.
8546
for ac_exec_ext in '' $ac_executable_extensions; do
8547
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8548
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8549
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8558
STRIP=$ac_cv_prog_STRIP
8559
if test -n "$STRIP"; then
8560
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8561
$as_echo "$STRIP" >&6; }
8563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8564
$as_echo "no" >&6; }
8569
if test -z "$ac_cv_prog_STRIP"; then
8571
# Extract the first word of "strip", so it can be a program name with args.
8572
set dummy strip; ac_word=$2
8573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8574
$as_echo_n "checking for $ac_word... " >&6; }
8575
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
8576
$as_echo_n "(cached) " >&6
8578
if test -n "$ac_ct_STRIP"; then
8579
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8581
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8585
test -z "$as_dir" && as_dir=.
8586
for ac_exec_ext in '' $ac_executable_extensions; do
8587
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8588
ac_cv_prog_ac_ct_STRIP="strip"
8589
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8598
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8599
if test -n "$ac_ct_STRIP"; then
8600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8601
$as_echo "$ac_ct_STRIP" >&6; }
8603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8604
$as_echo "no" >&6; }
8607
if test "x$ac_ct_STRIP" = x; then
8610
case $cross_compiling:$ac_tool_warned in
8612
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8613
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8614
ac_tool_warned=yes ;;
8619
STRIP="$ac_cv_prog_STRIP"
8622
test -z "$STRIP" && STRIP=:
8629
if test -n "$ac_tool_prefix"; then
8630
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8631
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8633
$as_echo_n "checking for $ac_word... " >&6; }
8634
if test "${ac_cv_prog_RANLIB+set}" = set; then :
8635
$as_echo_n "(cached) " >&6
8637
if test -n "$RANLIB"; then
8638
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8640
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8644
test -z "$as_dir" && as_dir=.
8645
for ac_exec_ext in '' $ac_executable_extensions; do
8646
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8647
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8648
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8657
RANLIB=$ac_cv_prog_RANLIB
8658
if test -n "$RANLIB"; then
8659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8660
$as_echo "$RANLIB" >&6; }
8662
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8663
$as_echo "no" >&6; }
8668
if test -z "$ac_cv_prog_RANLIB"; then
8669
ac_ct_RANLIB=$RANLIB
8670
# Extract the first word of "ranlib", so it can be a program name with args.
8671
set dummy ranlib; ac_word=$2
8672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8673
$as_echo_n "checking for $ac_word... " >&6; }
8674
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
8675
$as_echo_n "(cached) " >&6
8677
if test -n "$ac_ct_RANLIB"; then
8678
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8680
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8684
test -z "$as_dir" && as_dir=.
8685
for ac_exec_ext in '' $ac_executable_extensions; do
8686
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8687
ac_cv_prog_ac_ct_RANLIB="ranlib"
8688
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8697
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8698
if test -n "$ac_ct_RANLIB"; then
8699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8700
$as_echo "$ac_ct_RANLIB" >&6; }
8702
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8703
$as_echo "no" >&6; }
8706
if test "x$ac_ct_RANLIB" = x; then
8709
case $cross_compiling:$ac_tool_warned in
8711
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8712
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8713
ac_tool_warned=yes ;;
8715
RANLIB=$ac_ct_RANLIB
8718
RANLIB="$ac_cv_prog_RANLIB"
8721
test -z "$RANLIB" && RANLIB=:
8728
# Determine commands to create old-style static archives.
8729
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8730
old_postinstall_cmds='chmod 644 $oldlib'
8731
old_postuninstall_cmds=
8733
if test -n "$RANLIB"; then
8736
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8739
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
8742
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
8778
# If no C compiler was specified, use CC.
8781
# If no C compiler flags were specified, use CFLAGS.
8782
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8784
# Allow CC to be a program name with arguments.
8788
# Check for command to grab the raw symbol name followed by C symbol from nm.
8789
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8790
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8791
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
8792
$as_echo_n "(cached) " >&6
8795
# These are sane defaults that work on at least a few old systems.
8796
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
8798
# Character class describing NM global symbol codes.
8799
symcode='[BCDEGRST]'
8801
# Regexp to match symbols that can be accessed directly from C.
8802
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8804
# Define system-specific variables.
8809
cygwin* | mingw* | pw32* | cegcc*)
8810
symcode='[ABCDGISTW]'
8813
if test "$host_cpu" = ia64; then
8814
symcode='[ABCDEGRST]'
8818
symcode='[BCDEGRST]'
8821
symcode='[BCDEGQRST]'
8832
sysv5* | sco5v6* | unixware* | OpenUNIX*)
8840
# If we're using GNU nm, then use its standard symbol codes.
8841
case `$NM -V 2>&1` in
8842
*GNU* | *'with BFD'*)
8843
symcode='[ABCDGIRSTW]' ;;
8846
# Transform an extracted symbol line into a proper C declaration.
8847
# Some systems (esp. on ia64) link data and code symbols differently,
8848
# so use this general approach.
8849
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8851
# Transform an extracted symbol line into symbol name and symbol address
8852
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8853
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
8855
# Handle CRLF in mingw tool chain
8859
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8863
# Try without a prefix underscore, then with it.
8864
for ac_symprfx in "" "_"; do
8866
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8867
symxfrm="\\1 $ac_symprfx\\2 \\2"
8869
# Write the raw and C identifiers.
8870
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8871
# Fake it for dumpbin and say T for any non-static function
8872
# and D for any global variable.
8873
# Also find C++ and __fastcall symbols from MSVC++,
8874
# which start with @ or ?.
8875
lt_cv_sys_global_symbol_pipe="$AWK '"\
8876
" {last_section=section; section=\$ 3};"\
8877
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8878
" \$ 0!~/External *\|/{next};"\
8879
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8880
" {if(hide[section]) next};"\
8881
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8882
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8883
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
8884
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8885
" ' prfx=^$ac_symprfx"
8887
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8890
# Check to see that the pipe works correctly.
8894
cat > conftest.$ac_ext <<_LT_EOF
8899
void nm_test_func(void);
8900
void nm_test_func(void){}
8904
int main(){nm_test_var='a';nm_test_func();return(0);}
8907
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8908
(eval $ac_compile) 2>&5
8910
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8911
test $ac_status = 0; }; then
8912
# Now try to grab the symbols.
8914
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
8915
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
8917
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8918
test $ac_status = 0; } && test -s "$nlist"; then
8919
# Try sorting and uniquifying the output.
8920
if sort "$nlist" | uniq > "$nlist"T; then
8921
mv -f "$nlist"T "$nlist"
8926
# Make sure that we snagged all the symbols we need.
8927
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8928
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8929
cat <<_LT_EOF > conftest.$ac_ext
8935
# Now generate the symbol file.
8936
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8938
cat <<_LT_EOF >> conftest.$ac_ext
8940
/* The mapping between symbol names and symbols. */
8945
lt__PROGRAM__LTX_preloaded_symbols[] =
8947
{ "@PROGRAM@", (void *) 0 },
8949
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8950
cat <<\_LT_EOF >> conftest.$ac_ext
8954
/* This works around a problem in FreeBSD linker */
8955
#ifdef FREEBSD_WORKAROUND
8956
static const void *lt_preloaded_setup() {
8957
return lt__PROGRAM__LTX_preloaded_symbols;
8965
# Now try linking the two files.
8966
mv conftest.$ac_objext conftstm.$ac_objext
8967
lt_save_LIBS="$LIBS"
8968
lt_save_CFLAGS="$CFLAGS"
8969
LIBS="conftstm.$ac_objext"
8970
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8971
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8972
(eval $ac_link) 2>&5
8974
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8975
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8978
LIBS="$lt_save_LIBS"
8979
CFLAGS="$lt_save_CFLAGS"
8981
echo "cannot find nm_test_func in $nlist" >&5
8984
echo "cannot find nm_test_var in $nlist" >&5
8987
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8990
echo "$progname: failed program was:" >&5
8991
cat conftest.$ac_ext >&5
8993
rm -rf conftest* conftst*
8995
# Do not use the global_symbol_pipe unless it works.
8996
if test "$pipe_works" = yes; then
8999
lt_cv_sys_global_symbol_pipe=
9005
if test -z "$lt_cv_sys_global_symbol_pipe"; then
9006
lt_cv_sys_global_symbol_to_cdecl=
9008
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9009
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9010
$as_echo "failed" >&6; }
9012
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9013
$as_echo "ok" >&6; }
9037
# Check whether --enable-libtool-lock was given.
9038
if test "${enable_libtool_lock+set}" = set; then :
9039
enableval=$enable_libtool_lock;
9042
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9044
# Some flags need to be propagated to the compiler or linker for good
9048
# Find out which ABI we are using.
9049
echo 'int i;' > conftest.$ac_ext
9050
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9051
(eval $ac_compile) 2>&5
9053
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9054
test $ac_status = 0; }; then
9055
case `/usr/bin/file conftest.$ac_objext` in
9067
# Find out which ABI we are using.
9068
echo '#line 9068 "configure"' > conftest.$ac_ext
9069
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9070
(eval $ac_compile) 2>&5
9072
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9073
test $ac_status = 0; }; then
9074
if test "$lt_cv_prog_gnu_ld" = yes; then
9075
case `/usr/bin/file conftest.$ac_objext` in
9077
LD="${LD-ld} -melf32bsmip"
9080
LD="${LD-ld} -melf32bmipn32"
9083
LD="${LD-ld} -melf64bmip"
9087
case `/usr/bin/file conftest.$ac_objext` in
9103
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
9104
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9105
# Find out which ABI we are using.
9106
echo 'int i;' > conftest.$ac_ext
9107
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9108
(eval $ac_compile) 2>&5
9110
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9111
test $ac_status = 0; }; then
9112
case `/usr/bin/file conftest.o` in
9115
x86_64-*kfreebsd*-gnu)
9116
LD="${LD-ld} -m elf_i386_fbsd"
9119
LD="${LD-ld} -m elf_i386"
9121
ppc64-*linux*|powerpc64-*linux*)
9122
LD="${LD-ld} -m elf32ppclinux"
9125
LD="${LD-ld} -m elf_s390"
9128
LD="${LD-ld} -m elf32_sparc"
9134
x86_64-*kfreebsd*-gnu)
9135
LD="${LD-ld} -m elf_x86_64_fbsd"
9138
LD="${LD-ld} -m elf_x86_64"
9140
ppc*-*linux*|powerpc*-*linux*)
9141
LD="${LD-ld} -m elf64ppc"
9143
s390*-*linux*|s390*-*tpf*)
9144
LD="${LD-ld} -m elf64_s390"
9147
LD="${LD-ld} -m elf64_sparc"
9157
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
9158
SAVE_CFLAGS="$CFLAGS"
9159
CFLAGS="$CFLAGS -belf"
9160
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9161
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9162
if test "${lt_cv_cc_needs_belf+set}" = set; then :
9163
$as_echo_n "(cached) " >&6
9166
ac_cpp='$CPP $CPPFLAGS'
9167
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9168
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9169
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9171
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9172
/* end confdefs.h. */
9182
if ac_fn_c_try_link "$LINENO"; then :
9183
lt_cv_cc_needs_belf=yes
9185
lt_cv_cc_needs_belf=no
9187
rm -f core conftest.err conftest.$ac_objext \
9188
conftest$ac_exeext conftest.$ac_ext
9190
ac_cpp='$CPP $CPPFLAGS'
9191
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9192
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9193
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9197
$as_echo "$lt_cv_cc_needs_belf" >&6; }
9198
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9199
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9200
CFLAGS="$SAVE_CFLAGS"
9204
# Find out which ABI we are using.
9205
echo 'int i;' > conftest.$ac_ext
9206
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9207
(eval $ac_compile) 2>&5
9209
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9210
test $ac_status = 0; }; then
9211
case `/usr/bin/file conftest.o` in
9213
case $lt_cv_prog_gnu_ld in
9214
yes*) LD="${LD-ld} -m elf64_sparc" ;;
9216
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9228
need_locks="$enable_libtool_lock"
9232
rhapsody* | darwin*)
9233
if test -n "$ac_tool_prefix"; then
9234
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9235
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9237
$as_echo_n "checking for $ac_word... " >&6; }
9238
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
9239
$as_echo_n "(cached) " >&6
9241
if test -n "$DSYMUTIL"; then
9242
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9244
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9248
test -z "$as_dir" && as_dir=.
9249
for ac_exec_ext in '' $ac_executable_extensions; do
9250
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9251
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9252
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9261
DSYMUTIL=$ac_cv_prog_DSYMUTIL
9262
if test -n "$DSYMUTIL"; then
9263
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9264
$as_echo "$DSYMUTIL" >&6; }
9266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9267
$as_echo "no" >&6; }
9272
if test -z "$ac_cv_prog_DSYMUTIL"; then
9273
ac_ct_DSYMUTIL=$DSYMUTIL
9274
# Extract the first word of "dsymutil", so it can be a program name with args.
9275
set dummy dsymutil; ac_word=$2
9276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9277
$as_echo_n "checking for $ac_word... " >&6; }
9278
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
9279
$as_echo_n "(cached) " >&6
9281
if test -n "$ac_ct_DSYMUTIL"; then
9282
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9284
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9288
test -z "$as_dir" && as_dir=.
9289
for ac_exec_ext in '' $ac_executable_extensions; do
9290
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9291
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9292
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9301
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9302
if test -n "$ac_ct_DSYMUTIL"; then
9303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9304
$as_echo "$ac_ct_DSYMUTIL" >&6; }
9306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9307
$as_echo "no" >&6; }
9310
if test "x$ac_ct_DSYMUTIL" = x; then
9313
case $cross_compiling:$ac_tool_warned in
9315
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9316
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9317
ac_tool_warned=yes ;;
9319
DSYMUTIL=$ac_ct_DSYMUTIL
9322
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9325
if test -n "$ac_tool_prefix"; then
9326
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9327
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9328
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9329
$as_echo_n "checking for $ac_word... " >&6; }
9330
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
9331
$as_echo_n "(cached) " >&6
9333
if test -n "$NMEDIT"; then
9334
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9336
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9340
test -z "$as_dir" && as_dir=.
9341
for ac_exec_ext in '' $ac_executable_extensions; do
9342
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9343
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9344
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9353
NMEDIT=$ac_cv_prog_NMEDIT
9354
if test -n "$NMEDIT"; then
9355
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9356
$as_echo "$NMEDIT" >&6; }
9358
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9359
$as_echo "no" >&6; }
9364
if test -z "$ac_cv_prog_NMEDIT"; then
9365
ac_ct_NMEDIT=$NMEDIT
9366
# Extract the first word of "nmedit", so it can be a program name with args.
9367
set dummy nmedit; ac_word=$2
9368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9369
$as_echo_n "checking for $ac_word... " >&6; }
9370
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
9371
$as_echo_n "(cached) " >&6
9373
if test -n "$ac_ct_NMEDIT"; then
9374
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9376
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9380
test -z "$as_dir" && as_dir=.
9381
for ac_exec_ext in '' $ac_executable_extensions; do
9382
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9383
ac_cv_prog_ac_ct_NMEDIT="nmedit"
9384
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9393
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9394
if test -n "$ac_ct_NMEDIT"; then
9395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9396
$as_echo "$ac_ct_NMEDIT" >&6; }
9398
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9399
$as_echo "no" >&6; }
9402
if test "x$ac_ct_NMEDIT" = x; then
9405
case $cross_compiling:$ac_tool_warned in
9407
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9408
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9409
ac_tool_warned=yes ;;
9411
NMEDIT=$ac_ct_NMEDIT
9414
NMEDIT="$ac_cv_prog_NMEDIT"
9417
if test -n "$ac_tool_prefix"; then
9418
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9419
set dummy ${ac_tool_prefix}lipo; ac_word=$2
9420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9421
$as_echo_n "checking for $ac_word... " >&6; }
9422
if test "${ac_cv_prog_LIPO+set}" = set; then :
9423
$as_echo_n "(cached) " >&6
9425
if test -n "$LIPO"; then
9426
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9428
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9432
test -z "$as_dir" && as_dir=.
9433
for ac_exec_ext in '' $ac_executable_extensions; do
9434
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9435
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9436
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9445
LIPO=$ac_cv_prog_LIPO
9446
if test -n "$LIPO"; then
9447
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9448
$as_echo "$LIPO" >&6; }
9450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9451
$as_echo "no" >&6; }
9456
if test -z "$ac_cv_prog_LIPO"; then
9458
# Extract the first word of "lipo", so it can be a program name with args.
9459
set dummy lipo; ac_word=$2
9460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9461
$as_echo_n "checking for $ac_word... " >&6; }
9462
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
9463
$as_echo_n "(cached) " >&6
9465
if test -n "$ac_ct_LIPO"; then
9466
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9468
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9472
test -z "$as_dir" && as_dir=.
9473
for ac_exec_ext in '' $ac_executable_extensions; do
9474
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9475
ac_cv_prog_ac_ct_LIPO="lipo"
9476
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9485
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9486
if test -n "$ac_ct_LIPO"; then
9487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9488
$as_echo "$ac_ct_LIPO" >&6; }
9490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9491
$as_echo "no" >&6; }
9494
if test "x$ac_ct_LIPO" = x; then
9497
case $cross_compiling:$ac_tool_warned in
9499
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9500
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9501
ac_tool_warned=yes ;;
9506
LIPO="$ac_cv_prog_LIPO"
9509
if test -n "$ac_tool_prefix"; then
9510
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9511
set dummy ${ac_tool_prefix}otool; ac_word=$2
9512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9513
$as_echo_n "checking for $ac_word... " >&6; }
9514
if test "${ac_cv_prog_OTOOL+set}" = set; then :
9515
$as_echo_n "(cached) " >&6
9517
if test -n "$OTOOL"; then
9518
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9520
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9524
test -z "$as_dir" && as_dir=.
9525
for ac_exec_ext in '' $ac_executable_extensions; do
9526
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9527
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9528
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9537
OTOOL=$ac_cv_prog_OTOOL
9538
if test -n "$OTOOL"; then
9539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9540
$as_echo "$OTOOL" >&6; }
9542
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9543
$as_echo "no" >&6; }
9548
if test -z "$ac_cv_prog_OTOOL"; then
9550
# Extract the first word of "otool", so it can be a program name with args.
9551
set dummy otool; ac_word=$2
9552
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9553
$as_echo_n "checking for $ac_word... " >&6; }
9554
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
9555
$as_echo_n "(cached) " >&6
9557
if test -n "$ac_ct_OTOOL"; then
9558
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9560
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9564
test -z "$as_dir" && as_dir=.
9565
for ac_exec_ext in '' $ac_executable_extensions; do
9566
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9567
ac_cv_prog_ac_ct_OTOOL="otool"
9568
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9577
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9578
if test -n "$ac_ct_OTOOL"; then
9579
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9580
$as_echo "$ac_ct_OTOOL" >&6; }
9582
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9583
$as_echo "no" >&6; }
9586
if test "x$ac_ct_OTOOL" = x; then
9589
case $cross_compiling:$ac_tool_warned in
9591
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9592
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9593
ac_tool_warned=yes ;;
9598
OTOOL="$ac_cv_prog_OTOOL"
9601
if test -n "$ac_tool_prefix"; then
9602
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9603
set dummy ${ac_tool_prefix}otool64; ac_word=$2
9604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9605
$as_echo_n "checking for $ac_word... " >&6; }
9606
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
9607
$as_echo_n "(cached) " >&6
9609
if test -n "$OTOOL64"; then
9610
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9612
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9616
test -z "$as_dir" && as_dir=.
9617
for ac_exec_ext in '' $ac_executable_extensions; do
9618
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9619
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9620
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9629
OTOOL64=$ac_cv_prog_OTOOL64
9630
if test -n "$OTOOL64"; then
9631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9632
$as_echo "$OTOOL64" >&6; }
9634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9635
$as_echo "no" >&6; }
9640
if test -z "$ac_cv_prog_OTOOL64"; then
9641
ac_ct_OTOOL64=$OTOOL64
9642
# Extract the first word of "otool64", so it can be a program name with args.
9643
set dummy otool64; ac_word=$2
9644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9645
$as_echo_n "checking for $ac_word... " >&6; }
9646
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
9647
$as_echo_n "(cached) " >&6
9649
if test -n "$ac_ct_OTOOL64"; then
9650
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9652
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9656
test -z "$as_dir" && as_dir=.
9657
for ac_exec_ext in '' $ac_executable_extensions; do
9658
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9659
ac_cv_prog_ac_ct_OTOOL64="otool64"
9660
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9669
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9670
if test -n "$ac_ct_OTOOL64"; then
9671
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9672
$as_echo "$ac_ct_OTOOL64" >&6; }
9674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9675
$as_echo "no" >&6; }
9678
if test "x$ac_ct_OTOOL64" = x; then
9681
case $cross_compiling:$ac_tool_warned in
9683
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9684
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9685
ac_tool_warned=yes ;;
9687
OTOOL64=$ac_ct_OTOOL64
9690
OTOOL64="$ac_cv_prog_OTOOL64"
9719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9720
$as_echo_n "checking for -single_module linker flag... " >&6; }
9721
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
9722
$as_echo_n "(cached) " >&6
9724
lt_cv_apple_cc_single_mod=no
9725
if test -z "${LT_MULTI_MODULE}"; then
9726
# By default we will add the -single_module flag. You can override
9727
# by either setting the environment variable LT_MULTI_MODULE
9728
# non-empty at configure time, or by adding -multi_module to the
9730
rm -rf libconftest.dylib*
9731
echo "int foo(void){return 1;}" > conftest.c
9732
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9733
-dynamiclib -Wl,-single_module conftest.c" >&5
9734
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9735
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9737
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
9738
lt_cv_apple_cc_single_mod=yes
9740
cat conftest.err >&5
9742
rm -rf libconftest.dylib*
9746
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9747
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9749
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9750
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
9751
$as_echo_n "(cached) " >&6
9753
lt_cv_ld_exported_symbols_list=no
9754
save_LDFLAGS=$LDFLAGS
9755
echo "_main" > conftest.sym
9756
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9757
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9758
/* end confdefs.h. */
9768
if ac_fn_c_try_link "$LINENO"; then :
9769
lt_cv_ld_exported_symbols_list=yes
9771
lt_cv_ld_exported_symbols_list=no
9773
rm -f core conftest.err conftest.$ac_objext \
9774
conftest$ac_exeext conftest.$ac_ext
9775
LDFLAGS="$save_LDFLAGS"
9778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9779
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9781
rhapsody* | darwin1.[012])
9782
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9784
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9785
darwin*) # darwin 5.x on
9786
# if running on 10.5 or later, the deployment target defaults
9787
# to the OS version, if on x86, and 10.4, the deployment
9788
# target defaults to 10.4. Don't you love it?
9789
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9790
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9791
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9793
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9795
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9799
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9800
_lt_dar_single_mod='$single_module'
9802
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9803
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9805
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9807
if test "$DSYMUTIL" != ":"; then
9808
_lt_dsymutil='~$DSYMUTIL $lib || :'
9815
for ac_header in dlfcn.h
9817
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9819
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
9820
cat >>confdefs.h <<_ACEOF
9821
#define HAVE_DLFCN_H 1
9831
ac_cpp='$CXXCPP $CPPFLAGS'
9832
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9833
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9834
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9835
if test -z "$CXX"; then
9836
if test -n "$CCC"; then
9839
if test -n "$ac_tool_prefix"; then
9840
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
9842
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9843
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9845
$as_echo_n "checking for $ac_word... " >&6; }
9846
if test "${ac_cv_prog_CXX+set}" = set; then :
9847
$as_echo_n "(cached) " >&6
9849
if test -n "$CXX"; then
9850
ac_cv_prog_CXX="$CXX" # Let the user override the test.
9852
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9856
test -z "$as_dir" && as_dir=.
9857
for ac_exec_ext in '' $ac_executable_extensions; do
9858
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9859
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
9860
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9870
if test -n "$CXX"; then
9871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
9872
$as_echo "$CXX" >&6; }
9874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9875
$as_echo "no" >&6; }
9879
test -n "$CXX" && break
9882
if test -z "$CXX"; then
9884
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
9886
# Extract the first word of "$ac_prog", so it can be a program name with args.
9887
set dummy $ac_prog; ac_word=$2
9888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9889
$as_echo_n "checking for $ac_word... " >&6; }
9890
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
9891
$as_echo_n "(cached) " >&6
9893
if test -n "$ac_ct_CXX"; then
9894
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
9896
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9900
test -z "$as_dir" && as_dir=.
9901
for ac_exec_ext in '' $ac_executable_extensions; do
9902
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9903
ac_cv_prog_ac_ct_CXX="$ac_prog"
9904
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9913
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
9914
if test -n "$ac_ct_CXX"; then
9915
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
9916
$as_echo "$ac_ct_CXX" >&6; }
9918
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9919
$as_echo "no" >&6; }
9923
test -n "$ac_ct_CXX" && break
9926
if test "x$ac_ct_CXX" = x; then
9929
case $cross_compiling:$ac_tool_warned in
9931
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9932
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9933
ac_tool_warned=yes ;;
9941
# Provide some information about the compiler.
9942
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
9945
for ac_option in --version -v -V -qversion; do
9946
{ { ac_try="$ac_compiler $ac_option >&5"
9948
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9949
*) ac_try_echo=$ac_try;;
9951
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9952
$as_echo "$ac_try_echo"; } >&5
9953
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
9955
if test -s conftest.err; then
9957
... rest of stderr output deleted ...
9958
10q' conftest.err >conftest.er1
9959
cat conftest.er1 >&5
9961
rm -f conftest.er1 conftest.err
9962
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9963
test $ac_status = 0; }
9966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
9967
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
9968
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
9969
$as_echo_n "(cached) " >&6
9971
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9972
/* end confdefs.h. */
9985
if ac_fn_cxx_try_compile "$LINENO"; then :
9990
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9991
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
9994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
9995
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
9996
if test $ac_compiler_gnu = yes; then
10001
ac_test_CXXFLAGS=${CXXFLAGS+set}
10002
ac_save_CXXFLAGS=$CXXFLAGS
10003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
10004
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
10005
if test "${ac_cv_prog_cxx_g+set}" = set; then :
10006
$as_echo_n "(cached) " >&6
10008
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
10009
ac_cxx_werror_flag=yes
10010
ac_cv_prog_cxx_g=no
10012
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10013
/* end confdefs.h. */
10023
if ac_fn_cxx_try_compile "$LINENO"; then :
10024
ac_cv_prog_cxx_g=yes
10027
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10028
/* end confdefs.h. */
10038
if ac_fn_cxx_try_compile "$LINENO"; then :
10041
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10043
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10044
/* end confdefs.h. */
10054
if ac_fn_cxx_try_compile "$LINENO"; then :
10055
ac_cv_prog_cxx_g=yes
10057
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10059
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10061
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10062
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
10064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
10065
$as_echo "$ac_cv_prog_cxx_g" >&6; }
10066
if test "$ac_test_CXXFLAGS" = set; then
10067
CXXFLAGS=$ac_save_CXXFLAGS
10068
elif test $ac_cv_prog_cxx_g = yes; then
10069
if test "$GXX" = yes; then
10075
if test "$GXX" = yes; then
10082
ac_cpp='$CPP $CPPFLAGS'
10083
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10084
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10085
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10087
depcc="$CXX" am_compiler_list=
10089
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
10090
$as_echo_n "checking dependency style of $depcc... " >&6; }
10091
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
10092
$as_echo_n "(cached) " >&6
10094
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
10095
# We make a subdir and do the tests there. Otherwise we can end up
10096
# making bogus files that we don't know about and never remove. For
10097
# instance it was reported that on HP-UX the gcc test will end up
10098
# making a dummy file named `D' -- because `-MD' means `put the output
10101
# Copy depcomp to subdir because otherwise we won't find it if we're
10102
# using a relative directory.
10103
cp "$am_depcomp" conftest.dir
10105
# We will build objects and dependencies in a subdirectory because
10106
# it helps to detect inapplicable dependency modes. For instance
10107
# both Tru64's cc and ICC support -MD to output dependencies as a
10108
# side effect of compilation, but ICC will put the dependencies in
10109
# the current directory while Tru64 will put them in the object
10113
am_cv_CXX_dependencies_compiler_type=none
10114
if test "$am_compiler_list" = ""; then
10115
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
10117
am__universal=false
10118
case " $depcc " in #(
10119
*\ -arch\ *\ -arch\ *) am__universal=true ;;
10122
for depmode in $am_compiler_list; do
10123
# Setup a source with many dependencies, because some compilers
10124
# like to wrap large dependency lists on column 80 (with \), and
10125
# we should not choose a depcomp mode which is confused by this.
10127
# We need to recreate these files for each test, as the compiler may
10128
# overwrite some of them when testing with obscure command lines.
10129
# This happens at least with the AIX C compiler.
10131
for i in 1 2 3 4 5 6; do
10132
echo '#include "conftst'$i'.h"' >> sub/conftest.c
10133
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
10134
# Solaris 8's {/usr,}/bin/sh.
10135
touch sub/conftst$i.h
10137
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
10139
# We check with `-c' and `-o' for the sake of the "dashmstdout"
10140
# mode. It turns out that the SunPro C++ compiler does not properly
10141
# handle `-M -o', and we need to detect this. Also, some Intel
10142
# versions had trouble with output in subdirs
10143
am__obj=sub/conftest.${OBJEXT-o}
10144
am__minus_obj="-o $am__obj"
10147
# This depmode causes a compiler race in universal mode.
10148
test "$am__universal" = false || continue
10151
# after this tag, mechanisms are not by side-effect, so they'll
10152
# only be used when explicitly requested
10153
if test "x$enable_dependency_tracking" = xyes; then
10159
msvisualcpp | msvcmsys)
10160
# This compiler won't grok `-c -o', but also, the minuso test has
10161
# not run yet. These depmodes are late enough in the game, and
10162
# so weak that their functioning should not be impacted.
10163
am__obj=conftest.${OBJEXT-o}
10168
if depmode=$depmode \
10169
source=sub/conftest.c object=$am__obj \
10170
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
10171
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
10172
>/dev/null 2>conftest.err &&
10173
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
10174
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
10175
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
10176
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
10177
# icc doesn't choke on unknown options, it will just issue warnings
10178
# or remarks (even with -Werror). So we grep stderr for any message
10179
# that says an option was ignored or not supported.
10180
# When given -MP, icc 7.0 and 7.1 complain thusly:
10181
# icc: Command line warning: ignoring option '-M'; no argument required
10182
# The diagnosis changed in icc 8.0:
10183
# icc: Command line remark: option '-MP' not supported
10184
if (grep 'ignoring option' conftest.err ||
10185
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
10186
am_cv_CXX_dependencies_compiler_type=$depmode
10193
rm -rf conftest.dir
10195
am_cv_CXX_dependencies_compiler_type=none
10199
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
10200
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
10201
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
10204
test "x$enable_dependency_tracking" != xno \
10205
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
10206
am__fastdepCXX_TRUE=
10207
am__fastdepCXX_FALSE='#'
10209
am__fastdepCXX_TRUE='#'
10210
am__fastdepCXX_FALSE=
10214
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
10215
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
10216
(test "X$CXX" != "Xg++"))) ; then
10218
ac_cpp='$CXXCPP $CPPFLAGS'
10219
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10220
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10221
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10222
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
10223
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
10224
if test -z "$CXXCPP"; then
10225
if test "${ac_cv_prog_CXXCPP+set}" = set; then :
10226
$as_echo_n "(cached) " >&6
10228
# Double quotes because CXXCPP needs to be expanded
10229
for CXXCPP in "$CXX -E" "/lib/cpp"
10231
ac_preproc_ok=false
10232
for ac_cxx_preproc_warn_flag in '' yes
10234
# Use a header file that comes with gcc, so configuring glibc
10235
# with a fresh cross-compiler works.
10236
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10237
# <limits.h> exists even on freestanding compilers.
10238
# On the NeXT, cc -E runs the code through the compiler's parser,
10239
# not just through cpp. "Syntax error" is here to catch this case.
10240
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10241
/* end confdefs.h. */
10243
# include <limits.h>
10245
# include <assert.h>
10249
if ac_fn_cxx_try_cpp "$LINENO"; then :
10252
# Broken: fails on valid input.
10255
rm -f conftest.err conftest.$ac_ext
10257
# OK, works on sane cases. Now check whether nonexistent headers
10258
# can be detected and how.
10259
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10260
/* end confdefs.h. */
10261
#include <ac_nonexistent.h>
10263
if ac_fn_cxx_try_cpp "$LINENO"; then :
10264
# Broken: success on invalid input.
10267
# Passes both tests.
10271
rm -f conftest.err conftest.$ac_ext
10274
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10275
rm -f conftest.err conftest.$ac_ext
10276
if $ac_preproc_ok; then :
10281
ac_cv_prog_CXXCPP=$CXXCPP
10284
CXXCPP=$ac_cv_prog_CXXCPP
10286
ac_cv_prog_CXXCPP=$CXXCPP
10288
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
10289
$as_echo "$CXXCPP" >&6; }
10290
ac_preproc_ok=false
10291
for ac_cxx_preproc_warn_flag in '' yes
10293
# Use a header file that comes with gcc, so configuring glibc
10294
# with a fresh cross-compiler works.
10295
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10296
# <limits.h> exists even on freestanding compilers.
10297
# On the NeXT, cc -E runs the code through the compiler's parser,
10298
# not just through cpp. "Syntax error" is here to catch this case.
10299
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10300
/* end confdefs.h. */
10302
# include <limits.h>
10304
# include <assert.h>
10308
if ac_fn_cxx_try_cpp "$LINENO"; then :
10311
# Broken: fails on valid input.
10314
rm -f conftest.err conftest.$ac_ext
10316
# OK, works on sane cases. Now check whether nonexistent headers
10317
# can be detected and how.
10318
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10319
/* end confdefs.h. */
10320
#include <ac_nonexistent.h>
10322
if ac_fn_cxx_try_cpp "$LINENO"; then :
10323
# Broken: success on invalid input.
10326
# Passes both tests.
10330
rm -f conftest.err conftest.$ac_ext
10333
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
10334
rm -f conftest.err conftest.$ac_ext
10335
if $ac_preproc_ok; then :
10338
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
10339
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
10340
_lt_caught_CXX_error=yes; }
10344
ac_cpp='$CPP $CPPFLAGS'
10345
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10346
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10347
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10350
_lt_caught_CXX_error=yes
10358
# Check whether --enable-static was given.
10359
if test "${enable_static+set}" = set; then :
10360
enableval=$enable_static; p=${PACKAGE-default}
10362
yes) enable_static=yes ;;
10363
no) enable_static=no ;;
10366
# Look at the argument we got. We use all the common list separators.
10367
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10368
for pkg in $enableval; do
10370
if test "X$pkg" = "X$p"; then
10387
enable_win32_dll=yes
10390
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
10391
if test -n "$ac_tool_prefix"; then
10392
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
10393
set dummy ${ac_tool_prefix}as; ac_word=$2
10394
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10395
$as_echo_n "checking for $ac_word... " >&6; }
10396
if test "${ac_cv_prog_AS+set}" = set; then :
10397
$as_echo_n "(cached) " >&6
10399
if test -n "$AS"; then
10400
ac_cv_prog_AS="$AS" # Let the user override the test.
10402
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10403
for as_dir in $PATH
10406
test -z "$as_dir" && as_dir=.
10407
for ac_exec_ext in '' $ac_executable_extensions; do
10408
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10409
ac_cv_prog_AS="${ac_tool_prefix}as"
10410
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10420
if test -n "$AS"; then
10421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
10422
$as_echo "$AS" >&6; }
10424
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10425
$as_echo "no" >&6; }
10430
if test -z "$ac_cv_prog_AS"; then
10432
# Extract the first word of "as", so it can be a program name with args.
10433
set dummy as; ac_word=$2
10434
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10435
$as_echo_n "checking for $ac_word... " >&6; }
10436
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
10437
$as_echo_n "(cached) " >&6
10439
if test -n "$ac_ct_AS"; then
10440
ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
10442
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10443
for as_dir in $PATH
10446
test -z "$as_dir" && as_dir=.
10447
for ac_exec_ext in '' $ac_executable_extensions; do
10448
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10449
ac_cv_prog_ac_ct_AS="as"
10450
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10459
ac_ct_AS=$ac_cv_prog_ac_ct_AS
10460
if test -n "$ac_ct_AS"; then
10461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
10462
$as_echo "$ac_ct_AS" >&6; }
10464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10465
$as_echo "no" >&6; }
10468
if test "x$ac_ct_AS" = x; then
10471
case $cross_compiling:$ac_tool_warned in
10473
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10474
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10475
ac_tool_warned=yes ;;
10480
AS="$ac_cv_prog_AS"
10483
if test -n "$ac_tool_prefix"; then
10484
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
10485
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
10486
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10487
$as_echo_n "checking for $ac_word... " >&6; }
10488
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
10489
$as_echo_n "(cached) " >&6
10491
if test -n "$DLLTOOL"; then
10492
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
10494
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10495
for as_dir in $PATH
10498
test -z "$as_dir" && as_dir=.
10499
for ac_exec_ext in '' $ac_executable_extensions; do
10500
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10501
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
10502
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10511
DLLTOOL=$ac_cv_prog_DLLTOOL
10512
if test -n "$DLLTOOL"; then
10513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
10514
$as_echo "$DLLTOOL" >&6; }
10516
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10517
$as_echo "no" >&6; }
10522
if test -z "$ac_cv_prog_DLLTOOL"; then
10523
ac_ct_DLLTOOL=$DLLTOOL
10524
# Extract the first word of "dlltool", so it can be a program name with args.
10525
set dummy dlltool; ac_word=$2
10526
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10527
$as_echo_n "checking for $ac_word... " >&6; }
10528
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
10529
$as_echo_n "(cached) " >&6
10531
if test -n "$ac_ct_DLLTOOL"; then
10532
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
10534
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10535
for as_dir in $PATH
10538
test -z "$as_dir" && as_dir=.
10539
for ac_exec_ext in '' $ac_executable_extensions; do
10540
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10541
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
10542
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10551
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
10552
if test -n "$ac_ct_DLLTOOL"; then
10553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
10554
$as_echo "$ac_ct_DLLTOOL" >&6; }
10556
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10557
$as_echo "no" >&6; }
10560
if test "x$ac_ct_DLLTOOL" = x; then
10563
case $cross_compiling:$ac_tool_warned in
10565
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10566
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10567
ac_tool_warned=yes ;;
10569
DLLTOOL=$ac_ct_DLLTOOL
10572
DLLTOOL="$ac_cv_prog_DLLTOOL"
10575
if test -n "$ac_tool_prefix"; then
10576
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
10577
set dummy ${ac_tool_prefix}objdump; ac_word=$2
10578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10579
$as_echo_n "checking for $ac_word... " >&6; }
10580
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
10581
$as_echo_n "(cached) " >&6
10583
if test -n "$OBJDUMP"; then
10584
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
10586
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10587
for as_dir in $PATH
10590
test -z "$as_dir" && as_dir=.
10591
for ac_exec_ext in '' $ac_executable_extensions; do
10592
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10593
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
10594
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10603
OBJDUMP=$ac_cv_prog_OBJDUMP
10604
if test -n "$OBJDUMP"; then
10605
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
10606
$as_echo "$OBJDUMP" >&6; }
10608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10609
$as_echo "no" >&6; }
10614
if test -z "$ac_cv_prog_OBJDUMP"; then
10615
ac_ct_OBJDUMP=$OBJDUMP
10616
# Extract the first word of "objdump", so it can be a program name with args.
10617
set dummy objdump; ac_word=$2
10618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10619
$as_echo_n "checking for $ac_word... " >&6; }
10620
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
10621
$as_echo_n "(cached) " >&6
10623
if test -n "$ac_ct_OBJDUMP"; then
10624
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
10626
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10627
for as_dir in $PATH
10630
test -z "$as_dir" && as_dir=.
10631
for ac_exec_ext in '' $ac_executable_extensions; do
10632
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10633
ac_cv_prog_ac_ct_OBJDUMP="objdump"
10634
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10643
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
10644
if test -n "$ac_ct_OBJDUMP"; then
10645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
10646
$as_echo "$ac_ct_OBJDUMP" >&6; }
10648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10649
$as_echo "no" >&6; }
10652
if test "x$ac_ct_OBJDUMP" = x; then
10655
case $cross_compiling:$ac_tool_warned in
10657
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10658
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10659
ac_tool_warned=yes ;;
10661
OBJDUMP=$ac_ct_OBJDUMP
10664
OBJDUMP="$ac_cv_prog_OBJDUMP"
10670
test -z "$AS" && AS=as
10676
test -z "$DLLTOOL" && DLLTOOL=dlltool
10682
test -z "$OBJDUMP" && OBJDUMP=objdump
10694
# Check whether --enable-shared was given.
10695
if test "${enable_shared+set}" = set; then :
10696
enableval=$enable_shared; p=${PACKAGE-default}
10698
yes) enable_shared=yes ;;
10699
no) enable_shared=no ;;
10702
# Look at the argument we got. We use all the common list separators.
10703
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10704
for pkg in $enableval; do
10706
if test "X$pkg" = "X$p"; then
10727
# Check whether --with-pic was given.
10728
if test "${with_pic+set}" = set; then :
10729
withval=$with_pic; pic_mode="$withval"
10735
test -z "$pic_mode" && pic_mode=default
10743
# Check whether --enable-fast-install was given.
10744
if test "${enable_fast_install+set}" = set; then :
10745
enableval=$enable_fast_install; p=${PACKAGE-default}
10747
yes) enable_fast_install=yes ;;
10748
no) enable_fast_install=no ;;
10750
enable_fast_install=no
10751
# Look at the argument we got. We use all the common list separators.
10752
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10753
for pkg in $enableval; do
10755
if test "X$pkg" = "X$p"; then
10756
enable_fast_install=yes
10763
enable_fast_install=yes
10776
# This can be used to rebuild libtool when needed
10777
LIBTOOL_DEPS="$ltmain"
10779
# Always use our own libtool.
10780
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10806
test -z "$LN_S" && LN_S="ln -s"
10821
if test -n "${ZSH_VERSION+set}" ; then
10822
setopt NO_GLOB_SUBST
10825
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10826
$as_echo_n "checking for objdir... " >&6; }
10827
if test "${lt_cv_objdir+set}" = set; then :
10828
$as_echo_n "(cached) " >&6
10830
rm -f .libs 2>/dev/null
10831
mkdir .libs 2>/dev/null
10832
if test -d .libs; then
10835
# MS-DOS does not allow filenames that begin with a dot.
10838
rmdir .libs 2>/dev/null
10840
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10841
$as_echo "$lt_cv_objdir" >&6; }
10842
objdir=$lt_cv_objdir
10848
cat >>confdefs.h <<_ACEOF
10849
#define LT_OBJDIR "$lt_cv_objdir/"
10870
# AIX sometimes has problems with the GCC collect2 program. For some
10871
# reason, if we set the COLLECT_NAMES environment variable, the problems
10872
# vanish in a puff of smoke.
10873
if test "X${COLLECT_NAMES+set}" != Xset; then
10875
export COLLECT_NAMES
10880
# Sed substitution that helps us do robust quoting. It backslashifies
10881
# metacharacters that are still active within double-quoted strings.
10882
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
10884
# Same as above, but do not quote variable references.
10885
double_quote_subst='s/\(["`\\]\)/\\\1/g'
10887
# Sed substitution to delay expansion of an escaped shell variable in a
10888
# double_quote_subst'ed string.
10889
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
10891
# Sed substitution to delay expansion of an escaped single quote.
10892
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
10894
# Sed substitution to avoid accidental globbing in evaled expressions
10895
no_glob_subst='s/\*/\\\*/g'
10897
# Global variables:
10899
can_build_shared=yes
10901
# All known linkers require a `.a' archive for static linking (except MSVC,
10902
# which needs '.lib').
10905
with_gnu_ld="$lt_cv_prog_gnu_ld"
10908
old_CFLAGS="$CFLAGS"
10910
# Set sane defaults for various variables
10911
test -z "$CC" && CC=cc
10912
test -z "$LTCC" && LTCC=$CC
10913
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10914
test -z "$LD" && LD=ld
10915
test -z "$ac_objext" && ac_objext=o
10917
for cc_temp in $compiler""; do
10919
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10920
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10925
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10928
# Only perform the check for file, if the check method requires it
10929
test -z "$MAGIC_CMD" && MAGIC_CMD=file
10930
case $deplibs_check_method in
10932
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10933
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10934
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10935
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
10936
$as_echo_n "(cached) " >&6
10940
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10943
lt_save_MAGIC_CMD="$MAGIC_CMD"
10944
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10945
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10946
for ac_dir in $ac_dummy; do
10948
test -z "$ac_dir" && ac_dir=.
10949
if test -f $ac_dir/${ac_tool_prefix}file; then
10950
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10951
if test -n "$file_magic_test_file"; then
10952
case $deplibs_check_method in
10954
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10955
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10956
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10957
$EGREP "$file_magic_regex" > /dev/null; then
10962
*** Warning: the command libtool uses to detect shared libraries,
10963
*** $file_magic_cmd, produces output that libtool cannot recognize.
10964
*** The result is that libtool may fail to recognize shared libraries
10965
*** as such. This will affect the creation of libtool libraries that
10966
*** depend on shared libraries, but programs linked with such libtool
10967
*** libraries will work regardless of this problem. Nevertheless, you
10968
*** may want to report the problem to your system manager and/or to
10969
*** bug-libtool@gnu.org
10979
MAGIC_CMD="$lt_save_MAGIC_CMD"
10984
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10985
if test -n "$MAGIC_CMD"; then
10986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10987
$as_echo "$MAGIC_CMD" >&6; }
10989
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10990
$as_echo "no" >&6; }
10997
if test -z "$lt_cv_path_MAGIC_CMD"; then
10998
if test -n "$ac_tool_prefix"; then
10999
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11000
$as_echo_n "checking for file... " >&6; }
11001
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
11002
$as_echo_n "(cached) " >&6
11006
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
11009
lt_save_MAGIC_CMD="$MAGIC_CMD"
11010
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11011
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11012
for ac_dir in $ac_dummy; do
11014
test -z "$ac_dir" && ac_dir=.
11015
if test -f $ac_dir/file; then
11016
lt_cv_path_MAGIC_CMD="$ac_dir/file"
11017
if test -n "$file_magic_test_file"; then
11018
case $deplibs_check_method in
11020
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11021
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11022
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11023
$EGREP "$file_magic_regex" > /dev/null; then
11028
*** Warning: the command libtool uses to detect shared libraries,
11029
*** $file_magic_cmd, produces output that libtool cannot recognize.
11030
*** The result is that libtool may fail to recognize shared libraries
11031
*** as such. This will affect the creation of libtool libraries that
11032
*** depend on shared libraries, but programs linked with such libtool
11033
*** libraries will work regardless of this problem. Nevertheless, you
11034
*** may want to report the problem to your system manager and/or to
11035
*** bug-libtool@gnu.org
11045
MAGIC_CMD="$lt_save_MAGIC_CMD"
11050
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
11051
if test -n "$MAGIC_CMD"; then
11052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11053
$as_echo "$MAGIC_CMD" >&6; }
11055
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11056
$as_echo "no" >&6; }
11069
# Use C for the default configuration in the libtool script
11073
ac_cpp='$CPP $CPPFLAGS'
11074
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11075
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11076
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11079
# Source file extension for C test sources.
11082
# Object file extension for compiled C test sources.
11086
# Code to be used in simple compile tests
11087
lt_simple_compile_test_code="int some_variable = 0;"
11089
# Code to be used in simple link tests
11090
lt_simple_link_test_code='int main(){return(0);}'
11098
# If no C compiler was specified, use CC.
11101
# If no C compiler flags were specified, use CFLAGS.
11102
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11104
# Allow CC to be a program name with arguments.
11107
# Save the default compiler, since it gets overwritten when the other
11108
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11109
compiler_DEFAULT=$CC
11111
# save warnings/boilerplate of simple test code
11112
ac_outfile=conftest.$ac_objext
11113
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11114
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11115
_lt_compiler_boilerplate=`cat conftest.err`
11118
ac_outfile=conftest.$ac_objext
11119
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11120
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11121
_lt_linker_boilerplate=`cat conftest.err`
11126
## There is no encapsulation within the following macros, do not change
11127
## the running order or otherwise move them around unless you know exactly
11128
## what you are doing...
11129
if test -n "$compiler"; then
11131
lt_prog_compiler_no_builtin_flag=
11133
if test "$GCC" = yes; then
11134
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
11136
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11137
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11138
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
11139
$as_echo_n "(cached) " >&6
11141
lt_cv_prog_compiler_rtti_exceptions=no
11142
ac_outfile=conftest.$ac_objext
11143
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11144
lt_compiler_flag="-fno-rtti -fno-exceptions"
11145
# Insert the option either (1) after the last *FLAGS variable, or
11146
# (2) before a word containing "conftest.", or (3) at the end.
11147
# Note that $ac_compile itself does not contain backslashes and begins
11148
# with a dollar sign (not a hyphen), so the echo should work correctly.
11149
# The option is referenced via a variable to avoid confusing sed.
11150
lt_compile=`echo "$ac_compile" | $SED \
11151
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11152
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11153
-e 's:$: $lt_compiler_flag:'`
11154
(eval echo "\"\$as_me:11154: $lt_compile\"" >&5)
11155
(eval "$lt_compile" 2>conftest.err)
11157
cat conftest.err >&5
11158
echo "$as_me:11158: \$? = $ac_status" >&5
11159
if (exit $ac_status) && test -s "$ac_outfile"; then
11160
# The compiler can only warn and ignore the option if not recognized
11161
# So say no if there are warnings other than the usual output.
11162
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11163
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11164
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11165
lt_cv_prog_compiler_rtti_exceptions=yes
11171
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11172
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11174
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
11175
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11187
lt_prog_compiler_wl=
11188
lt_prog_compiler_pic=
11189
lt_prog_compiler_static=
11191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11192
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11194
if test "$GCC" = yes; then
11195
lt_prog_compiler_wl='-Wl,'
11196
lt_prog_compiler_static='-static'
11200
# All AIX code is PIC.
11201
if test "$host_cpu" = ia64; then
11202
# AIX 5 now supports IA64 processor
11203
lt_prog_compiler_static='-Bstatic'
11210
# see comment about AmigaOS4 .so support
11211
lt_prog_compiler_pic='-fPIC'
11214
# FIXME: we need at least 68020 code to build shared libraries, but
11215
# adding the `-m68020' flag to GCC prevents building anything better,
11217
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11222
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11223
# PIC is the default for these OSes.
11226
mingw* | cygwin* | pw32* | os2* | cegcc*)
11227
# This hack is so that the source file can tell whether it is being
11228
# built for inclusion in a dll (and should export symbols for example).
11229
# Although the cygwin gcc ignores -fPIC, still need this for old-style
11230
# (--disable-auto-import) libraries
11231
lt_prog_compiler_pic='-DDLL_EXPORT'
11234
darwin* | rhapsody*)
11235
# PIC is the default on this platform
11236
# Common symbols not allowed in MH_DYLIB files
11237
lt_prog_compiler_pic='-fno-common'
11241
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11242
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11243
# sets the default TLS model and affects inlining.
11249
lt_prog_compiler_pic='-fPIC'
11255
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
11256
# Instead, we relocate shared libraries at runtime.
11260
# Just because we use GCC doesn't mean we suddenly get shared libraries
11261
# on systems that don't support them.
11262
lt_prog_compiler_can_build_shared=no
11267
# QNX uses GNU C++, but need to define -shared option too, otherwise
11268
# it will coredump.
11269
lt_prog_compiler_pic='-fPIC -shared'
11273
if test -d /usr/nec; then
11274
lt_prog_compiler_pic=-Kconform_pic
11279
lt_prog_compiler_pic='-fPIC'
11283
# PORTME Check for flag to pass linker flags through the system compiler.
11286
lt_prog_compiler_wl='-Wl,'
11287
if test "$host_cpu" = ia64; then
11288
# AIX 5 now supports IA64 processor
11289
lt_prog_compiler_static='-Bstatic'
11291
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11295
mingw* | cygwin* | pw32* | os2* | cegcc*)
11296
# This hack is so that the source file can tell whether it is being
11297
# built for inclusion in a dll (and should export symbols for example).
11298
lt_prog_compiler_pic='-DDLL_EXPORT'
11301
hpux9* | hpux10* | hpux11*)
11302
lt_prog_compiler_wl='-Wl,'
11303
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11304
# not for PA HP-UX.
11310
lt_prog_compiler_pic='+Z'
11313
# Is there a better lt_prog_compiler_static that works with the bundled CC?
11314
lt_prog_compiler_static='${wl}-a ${wl}archive'
11317
irix5* | irix6* | nonstopux*)
11318
lt_prog_compiler_wl='-Wl,'
11319
# PIC (with -KPIC) is the default.
11320
lt_prog_compiler_static='-non_shared'
11323
linux* | k*bsd*-gnu)
11324
case $cc_basename in
11325
# old Intel for x86_64 which still supported -KPIC.
11327
lt_prog_compiler_wl='-Wl,'
11328
lt_prog_compiler_pic='-KPIC'
11329
lt_prog_compiler_static='-static'
11331
# icc used to be incompatible with GCC.
11332
# ICC 10 doesn't accept -KPIC any more.
11334
lt_prog_compiler_wl='-Wl,'
11335
lt_prog_compiler_pic='-fPIC'
11336
lt_prog_compiler_static='-static'
11338
# Lahey Fortran 8.1.
11340
lt_prog_compiler_wl='-Wl,'
11341
lt_prog_compiler_pic='--shared'
11342
lt_prog_compiler_static='--static'
11344
pgcc* | pgf77* | pgf90* | pgf95*)
11345
# Portland Group compilers (*not* the Pentium gcc compiler,
11346
# which looks to be a dead project)
11347
lt_prog_compiler_wl='-Wl,'
11348
lt_prog_compiler_pic='-fpic'
11349
lt_prog_compiler_static='-Bstatic'
11352
lt_prog_compiler_wl='-Wl,'
11353
# All Alpha code is PIC.
11354
lt_prog_compiler_static='-non_shared'
11357
# IBM XL C 8.0/Fortran 10.1 on PPC
11358
lt_prog_compiler_wl='-Wl,'
11359
lt_prog_compiler_pic='-qpic'
11360
lt_prog_compiler_static='-qstaticlink'
11363
case `$CC -V 2>&1 | sed 5q` in
11366
lt_prog_compiler_pic='-KPIC'
11367
lt_prog_compiler_static='-Bstatic'
11368
lt_prog_compiler_wl='-Wl,'
11371
# Sun Fortran 8.3 passes all unrecognized flags to the linker
11372
lt_prog_compiler_pic='-KPIC'
11373
lt_prog_compiler_static='-Bstatic'
11374
lt_prog_compiler_wl=''
11382
lt_prog_compiler_pic='-KPIC'
11383
lt_prog_compiler_static='-Bstatic'
11387
# QNX uses GNU C++, but need to define -shared option too, otherwise
11388
# it will coredump.
11389
lt_prog_compiler_pic='-fPIC -shared'
11392
osf3* | osf4* | osf5*)
11393
lt_prog_compiler_wl='-Wl,'
11394
# All OSF/1 code is PIC.
11395
lt_prog_compiler_static='-non_shared'
11399
lt_prog_compiler_static='-non_shared'
11403
lt_prog_compiler_pic='-KPIC'
11404
lt_prog_compiler_static='-Bstatic'
11405
case $cc_basename in
11406
f77* | f90* | f95*)
11407
lt_prog_compiler_wl='-Qoption ld ';;
11409
lt_prog_compiler_wl='-Wl,';;
11414
lt_prog_compiler_wl='-Qoption ld '
11415
lt_prog_compiler_pic='-PIC'
11416
lt_prog_compiler_static='-Bstatic'
11419
sysv4 | sysv4.2uw2* | sysv4.3*)
11420
lt_prog_compiler_wl='-Wl,'
11421
lt_prog_compiler_pic='-KPIC'
11422
lt_prog_compiler_static='-Bstatic'
11426
if test -d /usr/nec ;then
11427
lt_prog_compiler_pic='-Kconform_pic'
11428
lt_prog_compiler_static='-Bstatic'
11432
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11433
lt_prog_compiler_wl='-Wl,'
11434
lt_prog_compiler_pic='-KPIC'
11435
lt_prog_compiler_static='-Bstatic'
11439
lt_prog_compiler_wl='-Wl,'
11440
lt_prog_compiler_can_build_shared=no
11444
lt_prog_compiler_pic='-pic'
11445
lt_prog_compiler_static='-Bstatic'
11449
lt_prog_compiler_can_build_shared=no
11455
# For platforms which do not support PIC, -DPIC is meaningless:
11457
lt_prog_compiler_pic=
11460
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
11464
$as_echo "$lt_prog_compiler_pic" >&6; }
11472
# Check to make sure the PIC flag actually works.
11474
if test -n "$lt_prog_compiler_pic"; then
11475
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11476
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11477
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
11478
$as_echo_n "(cached) " >&6
11480
lt_cv_prog_compiler_pic_works=no
11481
ac_outfile=conftest.$ac_objext
11482
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11483
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
11484
# Insert the option either (1) after the last *FLAGS variable, or
11485
# (2) before a word containing "conftest.", or (3) at the end.
11486
# Note that $ac_compile itself does not contain backslashes and begins
11487
# with a dollar sign (not a hyphen), so the echo should work correctly.
11488
# The option is referenced via a variable to avoid confusing sed.
11489
lt_compile=`echo "$ac_compile" | $SED \
11490
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11491
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11492
-e 's:$: $lt_compiler_flag:'`
11493
(eval echo "\"\$as_me:11493: $lt_compile\"" >&5)
11494
(eval "$lt_compile" 2>conftest.err)
11496
cat conftest.err >&5
11497
echo "$as_me:11497: \$? = $ac_status" >&5
11498
if (exit $ac_status) && test -s "$ac_outfile"; then
11499
# The compiler can only warn and ignore the option if not recognized
11500
# So say no if there are warnings other than the usual output.
11501
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11502
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11503
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11504
lt_cv_prog_compiler_pic_works=yes
11510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11511
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11513
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
11514
case $lt_prog_compiler_pic in
11516
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11519
lt_prog_compiler_pic=
11520
lt_prog_compiler_can_build_shared=no
11531
# Check to make sure the static flag actually works.
11533
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11534
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11535
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11536
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
11537
$as_echo_n "(cached) " >&6
11539
lt_cv_prog_compiler_static_works=no
11540
save_LDFLAGS="$LDFLAGS"
11541
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11542
echo "$lt_simple_link_test_code" > conftest.$ac_ext
11543
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11544
# The linker can only warn and ignore the option if not recognized
11545
# So say no if there are warnings
11546
if test -s conftest.err; then
11547
# Append any errors to the config.log.
11548
cat conftest.err 1>&5
11549
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11550
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11551
if diff conftest.exp conftest.er2 >/dev/null; then
11552
lt_cv_prog_compiler_static_works=yes
11555
lt_cv_prog_compiler_static_works=yes
11559
LDFLAGS="$save_LDFLAGS"
11562
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11563
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11565
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11568
lt_prog_compiler_static=
11577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11578
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11579
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
11580
$as_echo_n "(cached) " >&6
11582
lt_cv_prog_compiler_c_o=no
11583
$RM -r conftest 2>/dev/null
11587
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11589
lt_compiler_flag="-o out/conftest2.$ac_objext"
11590
# Insert the option either (1) after the last *FLAGS variable, or
11591
# (2) before a word containing "conftest.", or (3) at the end.
11592
# Note that $ac_compile itself does not contain backslashes and begins
11593
# with a dollar sign (not a hyphen), so the echo should work correctly.
11594
lt_compile=`echo "$ac_compile" | $SED \
11595
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11596
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11597
-e 's:$: $lt_compiler_flag:'`
11598
(eval echo "\"\$as_me:11598: $lt_compile\"" >&5)
11599
(eval "$lt_compile" 2>out/conftest.err)
11601
cat out/conftest.err >&5
11602
echo "$as_me:11602: \$? = $ac_status" >&5
11603
if (exit $ac_status) && test -s out/conftest2.$ac_objext
11605
# The compiler can only warn and ignore the option if not recognized
11606
# So say no if there are warnings
11607
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11608
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11609
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11610
lt_cv_prog_compiler_c_o=yes
11615
# SGI C++ compiler will create directory out/ii_files/ for
11616
# template instantiation
11617
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11618
$RM out/* && rmdir out
11624
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11625
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11633
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11634
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
11635
$as_echo_n "(cached) " >&6
11637
lt_cv_prog_compiler_c_o=no
11638
$RM -r conftest 2>/dev/null
11642
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11644
lt_compiler_flag="-o out/conftest2.$ac_objext"
11645
# Insert the option either (1) after the last *FLAGS variable, or
11646
# (2) before a word containing "conftest.", or (3) at the end.
11647
# Note that $ac_compile itself does not contain backslashes and begins
11648
# with a dollar sign (not a hyphen), so the echo should work correctly.
11649
lt_compile=`echo "$ac_compile" | $SED \
11650
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11651
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11652
-e 's:$: $lt_compiler_flag:'`
11653
(eval echo "\"\$as_me:11653: $lt_compile\"" >&5)
11654
(eval "$lt_compile" 2>out/conftest.err)
11656
cat out/conftest.err >&5
11657
echo "$as_me:11657: \$? = $ac_status" >&5
11658
if (exit $ac_status) && test -s out/conftest2.$ac_objext
11660
# The compiler can only warn and ignore the option if not recognized
11661
# So say no if there are warnings
11662
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11663
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11664
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11665
lt_cv_prog_compiler_c_o=yes
11670
# SGI C++ compiler will create directory out/ii_files/ for
11671
# template instantiation
11672
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11673
$RM out/* && rmdir out
11679
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11680
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11685
hard_links="nottested"
11686
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11687
# do not overwrite the value of need_locks provided by the user
11688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11689
$as_echo_n "checking if we can lock with hard links... " >&6; }
11692
ln conftest.a conftest.b 2>/dev/null && hard_links=no
11694
ln conftest.a conftest.b 2>&5 || hard_links=no
11695
ln conftest.a conftest.b 2>/dev/null && hard_links=no
11696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11697
$as_echo "$hard_links" >&6; }
11698
if test "$hard_links" = no; then
11699
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11700
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11713
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11716
allow_undefined_flag=
11717
always_export_symbols=no
11719
archive_expsym_cmds=
11720
compiler_needs_object=no
11721
enable_shared_with_static_runtimes=no
11722
export_dynamic_flag_spec=
11723
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11724
hardcode_automatic=no
11726
hardcode_direct_absolute=no
11727
hardcode_libdir_flag_spec=
11728
hardcode_libdir_flag_spec_ld=
11729
hardcode_libdir_separator=
11730
hardcode_minus_L=no
11731
hardcode_shlibpath_var=unsupported
11733
link_all_deplibs=unknown
11735
module_expsym_cmds=
11736
old_archive_from_new_cmds=
11737
old_archive_from_expsyms_cmds=
11738
thread_safe_flag_spec=
11739
whole_archive_flag_spec=
11740
# include_expsyms should be a list of space-separated symbols to be *always*
11741
# included in the symbol list
11743
# exclude_expsyms can be an extended regexp of symbols to exclude
11744
# it will be wrapped by ` (' and `)$', so one must not match beginning or
11745
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11746
# as well as any symbol that contains `d'.
11747
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11748
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11749
# platforms (ab)use it in PIC code, but their linkers get confused if
11750
# the symbol is explicitly referenced. Since portable code cannot
11751
# rely on this symbol name, it's probably fine to never include it in
11752
# preloaded symbol tables.
11753
# Exclude shared library initialization/finalization symbols.
11754
extract_expsyms_cmds=
11757
cygwin* | mingw* | pw32* | cegcc*)
11758
# FIXME: the MSVC++ port hasn't been tested in a loooong time
11759
# When not using gcc, we currently assume that we are using
11760
# Microsoft Visual C++.
11761
if test "$GCC" != yes; then
11766
# we just hope/assume this is gcc and not c89 (= MSVC++)
11775
if test "$with_gnu_ld" = yes; then
11776
# If archive_cmds runs LD, not CC, wlarc should be empty
11779
# Set some defaults for GNU ld with shared library support. These
11780
# are reset later if shared libraries are not supported. Putting them
11781
# here allows them to be overridden if necessary.
11782
runpath_var=LD_RUN_PATH
11783
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11784
export_dynamic_flag_spec='${wl}--export-dynamic'
11785
# ancient GNU ld didn't support --whole-archive et. al.
11786
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11787
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11789
whole_archive_flag_spec=
11791
supports_anon_versioning=no
11792
case `$LD -v 2>&1` in
11793
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11794
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11795
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11796
*\ 2.11.*) ;; # other 2.11 versions
11797
*) supports_anon_versioning=yes ;;
11800
# See if GNU ld supports shared libraries.
11803
# On AIX/PPC, the GNU linker is very broken
11804
if test "$host_cpu" != ia64; then
11808
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
11809
*** to be unable to reliably create shared libraries on AIX.
11810
*** Therefore, libtool is disabling shared libraries support. If you
11811
*** really care for shared libraries, you may want to modify your PATH
11812
*** so that a non-GNU linker is found, and then restart.
11821
# see comment about AmigaOS4 .so support
11822
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11823
archive_expsym_cmds=''
11826
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)'
11827
hardcode_libdir_flag_spec='-L$libdir'
11828
hardcode_minus_L=yes
11834
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11835
allow_undefined_flag=unsupported
11836
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11837
# support --undefined. This deserves some investigation. FIXME
11838
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11844
cygwin* | mingw* | pw32* | cegcc*)
11845
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11846
# as there is no search path for DLLs.
11847
hardcode_libdir_flag_spec='-L$libdir'
11848
allow_undefined_flag=unsupported
11849
always_export_symbols=no
11850
enable_shared_with_static_runtimes=yes
11851
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11853
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11854
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11855
# If the export-symbols file already is a .def file (1st line
11856
# is EXPORTS), use it as is; otherwise, prepend...
11857
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11858
cp $export_symbols $output_objdir/$soname.def;
11860
echo EXPORTS > $output_objdir/$soname.def;
11861
cat $export_symbols >> $output_objdir/$soname.def;
11863
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11871
hardcode_shlibpath_var=no
11872
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11873
export_dynamic_flag_spec='${wl}-E'
11874
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11875
# Instead, shared libraries are loaded at an image base (0x10000000 by
11876
# default) and relocated if they conflict, which is a slow very memory
11877
# consuming and fragmenting process. To avoid this, we pick a random,
11878
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11879
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
11880
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11881
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'
11884
gnu* | linux* | tpf* | k*bsd*-gnu)
11886
if test "$host_os" = linux-dietlibc; then
11887
case $cc_basename in
11888
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11891
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11892
&& test "$tmp_diet" = no
11895
tmp_sharedflag='-shared'
11896
case $cc_basename,$host_cpu in
11897
pgcc*) # Portland Group C compiler
11898
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'
11899
tmp_addflag=' $pic_flag'
11901
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
11902
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'
11903
tmp_addflag=' $pic_flag -Mnomain' ;;
11904
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11905
tmp_addflag=' -i_dynamic' ;;
11906
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11907
tmp_addflag=' -i_dynamic -nofor_main' ;;
11908
ifc* | ifort*) # Intel Fortran compiler
11909
tmp_addflag=' -nofor_main' ;;
11910
lf95*) # Lahey Fortran 8.1
11911
whole_archive_flag_spec=
11912
tmp_sharedflag='--shared' ;;
11913
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11914
tmp_sharedflag='-qmkshrobj'
11917
case `$CC -V 2>&1 | sed 5q` in
11918
*Sun\ C*) # Sun C 5.9
11919
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11920
compiler_needs_object=yes
11921
tmp_sharedflag='-G' ;;
11922
*Sun\ F*) # Sun Fortran 8.3
11923
tmp_sharedflag='-G' ;;
11925
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11927
if test "x$supports_anon_versioning" = xyes; then
11928
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11929
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11930
echo "local: *; };" >> $output_objdir/$libname.ver~
11931
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11934
case $cc_basename in
11936
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11937
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11938
hardcode_libdir_flag_spec=
11939
hardcode_libdir_flag_spec_ld='-rpath $libdir'
11940
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
11941
if test "x$supports_anon_versioning" = xyes; then
11942
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11943
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11944
echo "local: *; };" >> $output_objdir/$libname.ver~
11945
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11955
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11956
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11959
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11960
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11965
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11969
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11970
*** create shared libraries on Solaris systems. Therefore, libtool
11971
*** is disabling shared libraries support. We urge you to upgrade GNU
11972
*** binutils to release 2.9.1 or newer. Another option is to modify
11973
*** your PATH or compiler configuration so that the native linker is
11974
*** used, and then restart.
11977
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11978
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11979
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11985
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11986
case `$LD -v 2>&1` in
11987
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11991
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11992
*** reliably create shared libraries on SCO systems. Therefore, libtool
11993
*** is disabling shared libraries support. We urge you to upgrade GNU
11994
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11995
*** your PATH or compiler configuration so that the native linker is
11996
*** used, and then restart.
12001
# For security reasons, it is highly recommended that you always
12002
# use absolute paths for naming shared libraries, and exclude the
12003
# DT_RUNPATH tag from executables and libraries. But doing so
12004
# requires that you compile everything twice, which is a pain.
12005
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12006
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12007
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12008
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12017
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12019
hardcode_direct=yes
12020
hardcode_shlibpath_var=no
12024
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12025
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12026
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12033
if test "$ld_shlibs" = no; then
12035
hardcode_libdir_flag_spec=
12036
export_dynamic_flag_spec=
12037
whole_archive_flag_spec=
12040
# PORTME fill in a description of your system's linker (not GNU ld)
12043
allow_undefined_flag=unsupported
12044
always_export_symbols=yes
12045
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'
12046
# Note: this linker hardcodes the directories in LIBPATH if there
12047
# are no directories specified by -L.
12048
hardcode_minus_L=yes
12049
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12050
# Neither direct hardcoding nor static linking is supported with a
12052
hardcode_direct=unsupported
12057
if test "$host_cpu" = ia64; then
12058
# On IA64, the linker does run time linking by default, so we don't
12059
# have to do anything special.
12060
aix_use_runtimelinking=no
12061
exp_sym_flag='-Bexport'
12064
# If we're using GNU nm, then we don't want the "-C" option.
12065
# -C means demangle to AIX nm, but means don't demangle with GNU nm
12066
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12067
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'
12069
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'
12071
aix_use_runtimelinking=no
12073
# Test if we are trying to use run time linking or normal
12074
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
12075
# need to do runtime linking.
12076
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12077
for ld_flag in $LDFLAGS; do
12078
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12079
aix_use_runtimelinking=yes
12086
exp_sym_flag='-bexport'
12087
no_entry_flag='-bnoentry'
12090
# When large executables or shared objects are built, AIX ld can
12091
# have problems creating the table of contents. If linking a library
12092
# or program results in "error TOC overflow" add -mminimal-toc to
12093
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12094
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12097
hardcode_direct=yes
12098
hardcode_direct_absolute=yes
12099
hardcode_libdir_separator=':'
12100
link_all_deplibs=yes
12101
file_list_spec='${wl}-f,'
12103
if test "$GCC" = yes; then
12104
case $host_os in aix4.[012]|aix4.[012].*)
12105
# We only want to do this on AIX 4.2 and lower, the check
12106
# below for broken collect2 doesn't work under 4.3+
12107
collect2name=`${CC} -print-prog-name=collect2`
12108
if test -f "$collect2name" &&
12109
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12111
# We have reworked collect2
12114
# We have old collect2
12115
hardcode_direct=unsupported
12116
# It fails to find uninstalled libraries when the uninstalled
12117
# path is not listed in the libpath. Setting hardcode_minus_L
12118
# to unsupported forces relinking
12119
hardcode_minus_L=yes
12120
hardcode_libdir_flag_spec='-L$libdir'
12121
hardcode_libdir_separator=
12125
shared_flag='-shared'
12126
if test "$aix_use_runtimelinking" = yes; then
12127
shared_flag="$shared_flag "'${wl}-G'
12131
if test "$host_cpu" = ia64; then
12132
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12133
# chokes on -Wl,-G. The following line is correct:
12136
if test "$aix_use_runtimelinking" = yes; then
12137
shared_flag='${wl}-G'
12139
shared_flag='${wl}-bM:SRE'
12144
export_dynamic_flag_spec='${wl}-bexpall'
12145
# It seems that -bexpall does not export symbols beginning with
12146
# underscore (_), so it is better to generate a list of symbols to export.
12147
always_export_symbols=yes
12148
if test "$aix_use_runtimelinking" = yes; then
12149
# Warning - without using the other runtime loading flags (-brtl),
12150
# -berok will link without error, but may produce a broken library.
12151
allow_undefined_flag='-berok'
12152
# Determine the default libpath from the value encoded in an
12153
# empty executable.
12154
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155
/* end confdefs.h. */
12165
if ac_fn_c_try_link "$LINENO"; then :
12167
lt_aix_libpath_sed='
12168
/Import File Strings/,/^$/ {
12174
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12175
# Check for a 64-bit object if we didn't find anything.
12176
if test -z "$aix_libpath"; then
12177
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12180
rm -f core conftest.err conftest.$ac_objext \
12181
conftest$ac_exeext conftest.$ac_ext
12182
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12184
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12185
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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12187
if test "$host_cpu" = ia64; then
12188
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
12189
allow_undefined_flag="-z nodefs"
12190
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"
12192
# Determine the default libpath from the value encoded in an
12193
# empty executable.
12194
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12195
/* end confdefs.h. */
12205
if ac_fn_c_try_link "$LINENO"; then :
12207
lt_aix_libpath_sed='
12208
/Import File Strings/,/^$/ {
12214
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12215
# Check for a 64-bit object if we didn't find anything.
12216
if test -z "$aix_libpath"; then
12217
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12220
rm -f core conftest.err conftest.$ac_objext \
12221
conftest$ac_exeext conftest.$ac_ext
12222
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12224
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12225
# Warning - without using the other run time loading flags,
12226
# -berok will link without error, but may produce a broken library.
12227
no_undefined_flag=' ${wl}-bernotok'
12228
allow_undefined_flag=' ${wl}-berok'
12229
# Exported symbols can be pulled into shared objects from archives
12230
whole_archive_flag_spec='$convenience'
12231
archive_cmds_need_lc=yes
12232
# This is similar to how AIX traditionally builds its shared libraries.
12233
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'
12241
# see comment about AmigaOS4 .so support
12242
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12243
archive_expsym_cmds=''
12246
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)'
12247
hardcode_libdir_flag_spec='-L$libdir'
12248
hardcode_minus_L=yes
12254
export_dynamic_flag_spec=-rdynamic
12257
cygwin* | mingw* | pw32* | cegcc*)
12258
# When not using gcc, we currently assume that we are using
12259
# Microsoft Visual C++.
12260
# hardcode_libdir_flag_spec is actually meaningless, as there is
12261
# no search path for DLLs.
12262
hardcode_libdir_flag_spec=' '
12263
allow_undefined_flag=unsupported
12264
# Tell ltmain to make .lib files, not .a files.
12266
# Tell ltmain to make .dll files, not .so files.
12268
# FIXME: Setting linknames here is a bad hack.
12269
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12270
# The linker will automatically build a .lib file if we build a DLL.
12271
old_archive_from_new_cmds='true'
12272
# FIXME: Should let the user specify the lib program.
12273
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12274
fix_srcfile_path='`cygpath -w "$srcfile"`'
12275
enable_shared_with_static_runtimes=yes
12278
darwin* | rhapsody*)
12281
archive_cmds_need_lc=no
12283
hardcode_automatic=yes
12284
hardcode_shlibpath_var=unsupported
12285
whole_archive_flag_spec=''
12286
link_all_deplibs=yes
12287
allow_undefined_flag="$_lt_dar_allow_undefined"
12288
case $cc_basename in
12289
ifort*) _lt_dar_can_shared=yes ;;
12290
*) _lt_dar_can_shared=$GCC ;;
12292
if test "$_lt_dar_can_shared" = "yes"; then
12293
output_verbose_link_cmd=echo
12294
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12295
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12296
archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12297
module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12306
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12307
hardcode_libdir_flag_spec='-L$libdir'
12308
hardcode_shlibpath_var=no
12315
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12316
# support. Future versions do this automatically, but an explicit c++rt0.o
12317
# does not break anything, and helps significantly (at the cost of a little
12320
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12321
hardcode_libdir_flag_spec='-R$libdir'
12322
hardcode_direct=yes
12323
hardcode_shlibpath_var=no
12326
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
12328
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12329
hardcode_direct=yes
12330
hardcode_minus_L=yes
12331
hardcode_shlibpath_var=no
12334
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12335
freebsd* | dragonfly*)
12336
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12337
hardcode_libdir_flag_spec='-R$libdir'
12338
hardcode_direct=yes
12339
hardcode_shlibpath_var=no
12343
if test "$GCC" = yes; then
12344
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'
12346
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'
12348
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12349
hardcode_libdir_separator=:
12350
hardcode_direct=yes
12352
# hardcode_minus_L: Not really in the search PATH,
12353
# but as the default location of the library.
12354
hardcode_minus_L=yes
12355
export_dynamic_flag_spec='${wl}-E'
12359
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12360
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12362
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12364
if test "$with_gnu_ld" = no; then
12365
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12366
hardcode_libdir_flag_spec_ld='+b $libdir'
12367
hardcode_libdir_separator=:
12368
hardcode_direct=yes
12369
hardcode_direct_absolute=yes
12370
export_dynamic_flag_spec='${wl}-E'
12371
# hardcode_minus_L: Not really in the search PATH,
12372
# but as the default location of the library.
12373
hardcode_minus_L=yes
12378
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12381
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12384
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12387
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12393
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12396
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12399
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12403
if test "$with_gnu_ld" = no; then
12404
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12405
hardcode_libdir_separator=:
12410
hardcode_shlibpath_var=no
12413
hardcode_direct=yes
12414
hardcode_direct_absolute=yes
12415
export_dynamic_flag_spec='${wl}-E'
12417
# hardcode_minus_L: Not really in the search PATH,
12418
# but as the default location of the library.
12419
hardcode_minus_L=yes
12425
irix5* | irix6* | nonstopux*)
12426
if test "$GCC" = yes; then
12427
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12428
# Try to use the -exported_symbol ld option, if it does not
12429
# work, assume that -exports_file does not work either and
12430
# implicitly export all symbols.
12431
save_LDFLAGS="$LDFLAGS"
12432
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12433
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12434
/* end confdefs.h. */
12437
if ac_fn_c_try_link "$LINENO"; then :
12438
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
12441
rm -f core conftest.err conftest.$ac_objext \
12442
conftest$ac_exeext conftest.$ac_ext
12443
LDFLAGS="$save_LDFLAGS"
12445
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12446
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
12448
archive_cmds_need_lc='no'
12449
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12450
hardcode_libdir_separator=:
12452
link_all_deplibs=yes
12456
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12457
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12459
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12461
hardcode_libdir_flag_spec='-R$libdir'
12462
hardcode_direct=yes
12463
hardcode_shlibpath_var=no
12467
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12468
hardcode_direct=yes
12469
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12470
hardcode_libdir_separator=:
12471
hardcode_shlibpath_var=no
12478
if test -f /usr/libexec/ld.so; then
12479
hardcode_direct=yes
12480
hardcode_shlibpath_var=no
12481
hardcode_direct_absolute=yes
12482
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12483
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12484
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12485
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12486
export_dynamic_flag_spec='${wl}-E'
12489
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12490
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12491
hardcode_libdir_flag_spec='-R$libdir'
12494
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12495
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12505
hardcode_libdir_flag_spec='-L$libdir'
12506
hardcode_minus_L=yes
12507
allow_undefined_flag=unsupported
12508
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'
12509
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12513
if test "$GCC" = yes; then
12514
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12515
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12517
allow_undefined_flag=' -expect_unresolved \*'
12518
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12520
archive_cmds_need_lc='no'
12521
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12522
hardcode_libdir_separator=:
12525
osf4* | osf5*) # as osf3* with the addition of -msym flag
12526
if test "$GCC" = yes; then
12527
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12528
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12529
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12531
allow_undefined_flag=' -expect_unresolved \*'
12532
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12533
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
12534
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
12536
# Both c and cxx compiler support -rpath directly
12537
hardcode_libdir_flag_spec='-rpath $libdir'
12539
archive_cmds_need_lc='no'
12540
hardcode_libdir_separator=:
12544
no_undefined_flag=' -z defs'
12545
if test "$GCC" = yes; then
12547
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12548
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12549
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12551
case `$CC -V 2>&1` in
12554
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12555
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12556
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12560
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12561
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12562
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12566
hardcode_libdir_flag_spec='-R$libdir'
12567
hardcode_shlibpath_var=no
12569
solaris2.[0-5] | solaris2.[0-5].*) ;;
12571
# The compiler driver will combine and reorder linker options,
12572
# but understands `-z linker_flag'. GCC discards it without `$wl',
12573
# but is careful enough not to reorder.
12574
# Supported since Solaris 2.6 (maybe 2.5.1?)
12575
if test "$GCC" = yes; then
12576
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12578
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12582
link_all_deplibs=yes
12586
if test "x$host_vendor" = xsequent; then
12587
# Use $CC to link under sequent, because it throws in some extra .o
12588
# files that make .init and .fini sections work.
12589
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12591
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12593
hardcode_libdir_flag_spec='-L$libdir'
12594
hardcode_direct=yes
12595
hardcode_minus_L=yes
12596
hardcode_shlibpath_var=no
12600
case $host_vendor in
12602
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12603
hardcode_direct=yes # is this really true???
12606
## LD is ld it makes a PLAMLIB
12607
## CC just makes a GrossModule.
12608
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12609
reload_cmds='$CC -r -o $output$reload_objs'
12613
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12614
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12617
runpath_var='LD_RUN_PATH'
12618
hardcode_shlibpath_var=no
12622
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12623
hardcode_shlibpath_var=no
12624
export_dynamic_flag_spec='-Bexport'
12628
if test -d /usr/nec; then
12629
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12630
hardcode_shlibpath_var=no
12631
runpath_var=LD_RUN_PATH
12632
hardcode_runpath_var=yes
12637
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12638
no_undefined_flag='${wl}-z,text'
12639
archive_cmds_need_lc=no
12640
hardcode_shlibpath_var=no
12641
runpath_var='LD_RUN_PATH'
12643
if test "$GCC" = yes; then
12644
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12645
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12647
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12648
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12652
sysv5* | sco3.2v5* | sco5v6*)
12653
# Note: We can NOT use -z defs as we might desire, because we do not
12654
# link with -lc, and that would cause any symbols used from libc to
12655
# always be unresolved, which means just about no library would
12656
# ever link correctly. If we're not using GNU ld we use -z text
12657
# though, which does catch some bad symbols but isn't as heavy-handed
12659
no_undefined_flag='${wl}-z,text'
12660
allow_undefined_flag='${wl}-z,nodefs'
12661
archive_cmds_need_lc=no
12662
hardcode_shlibpath_var=no
12663
hardcode_libdir_flag_spec='${wl}-R,$libdir'
12664
hardcode_libdir_separator=':'
12665
link_all_deplibs=yes
12666
export_dynamic_flag_spec='${wl}-Bexport'
12667
runpath_var='LD_RUN_PATH'
12669
if test "$GCC" = yes; then
12670
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12671
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12673
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12674
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12679
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12680
hardcode_libdir_flag_spec='-L$libdir'
12681
hardcode_shlibpath_var=no
12689
if test x$host_vendor = xsni; then
12691
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12692
export_dynamic_flag_spec='${wl}-Blargedynsym'
12698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12699
$as_echo "$ld_shlibs" >&6; }
12700
test "$ld_shlibs" = no && can_build_shared=no
12702
with_gnu_ld=$with_gnu_ld
12719
# Do we need to explicitly link libc?
12721
case "x$archive_cmds_need_lc" in
12723
# Assume -lc should be added
12724
archive_cmds_need_lc=yes
12726
if test "$enable_shared" = yes && test "$GCC" = yes; then
12727
case $archive_cmds in
12729
# FIXME: we may have to deal with multi-command sequences.
12732
# Test whether the compiler implicitly links with -lc since on some
12733
# systems, -lgcc has to come before -lc. If gcc already passes -lc
12734
# to ld, don't add -lc before -lgcc.
12735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12736
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12738
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12740
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12741
(eval $ac_compile) 2>&5
12743
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12744
test $ac_status = 0; } 2>conftest.err; then
12747
libobjs=conftest.$ac_objext
12749
wl=$lt_prog_compiler_wl
12750
pic_flag=$lt_prog_compiler_pic
12756
lt_save_allow_undefined_flag=$allow_undefined_flag
12757
allow_undefined_flag=
12758
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12759
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12761
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12762
test $ac_status = 0; }
12764
archive_cmds_need_lc=no
12766
archive_cmds_need_lc=yes
12768
allow_undefined_flag=$lt_save_allow_undefined_flag
12770
cat conftest.err 1>&5
12773
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
12774
$as_echo "$archive_cmds_need_lc" >&6; }
12937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12938
$as_echo_n "checking dynamic linker characteristics... " >&6; }
12940
if test "$GCC" = yes; then
12942
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12943
*) lt_awk_arg="/^libraries:/" ;;
12945
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12946
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
12947
# if the path contains ";" then we assume it to be the separator
12948
# otherwise default to the standard path separator (i.e. ":") - it is
12949
# assumed that no part of a normal pathname contains ";" but that should
12950
# okay in the real world where ";" in dirpaths is itself problematic.
12951
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
12953
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12955
# Ok, now we have the path, separated by spaces, we can step through it
12956
# and add multilib dir if necessary.
12957
lt_tmp_lt_search_path_spec=
12958
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12959
for lt_sys_path in $lt_search_path_spec; do
12960
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12961
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12963
test -d "$lt_sys_path" && \
12964
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12967
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
12968
BEGIN {RS=" "; FS="/|\n";} {
12971
for (lt_i = NF; lt_i > 0; lt_i--) {
12972
if ($lt_i != "" && $lt_i != ".") {
12973
if ($lt_i == "..") {
12976
if (lt_count == 0) {
12977
lt_foo="/" $lt_i lt_foo;
12984
if (lt_foo != "") { lt_freq[lt_foo]++; }
12985
if (lt_freq[lt_foo] == 1) { print lt_foo; }
12987
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
12989
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12991
library_names_spec=
12992
libname_spec='lib$name'
12996
postuninstall_cmds=
13000
shlibpath_overrides_runpath=unknown
13002
dynamic_linker="$host_os ld.so"
13003
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13004
need_lib_prefix=unknown
13005
hardcode_into_libs=no
13007
# when you set need_version to no, make sure it does not cause -set_version
13008
# flags to be left without arguments
13009
need_version=unknown
13014
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13015
shlibpath_var=LIBPATH
13017
# AIX 3 has no versioning support, so we append a major version to the name.
13018
soname_spec='${libname}${release}${shared_ext}$major'
13025
hardcode_into_libs=yes
13026
if test "$host_cpu" = ia64; then
13027
# AIX 5 supports IA64
13028
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13029
shlibpath_var=LD_LIBRARY_PATH
13031
# With GCC up to 2.95.x, collect2 would create an import file
13032
# for dependence libraries. The import file would start with
13033
# the line `#! .'. This would cause the generated library to
13034
# depend on `.', always an invalid library. This was fixed in
13035
# development snapshots of GCC prior to 3.0.
13037
aix4 | aix4.[01] | aix4.[01].*)
13038
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13040
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13043
can_build_shared=no
13047
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13048
# soname into executable. Probably we can add versioning support to
13049
# collect2, so additional links can be useful in future.
13050
if test "$aix_use_runtimelinking" = yes; then
13051
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
13052
# instead of lib<name>.a to let people know that these are not
13053
# typical AIX shared libraries.
13054
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13056
# We preserve .a as extension for shared libraries through AIX4.2
13057
# and later when we are not doing run time linking.
13058
library_names_spec='${libname}${release}.a $libname.a'
13059
soname_spec='${libname}${release}${shared_ext}$major'
13061
shlibpath_var=LIBPATH
13068
# Since July 2007 AmigaOS4 officially supports .so libraries.
13069
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13070
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13073
library_names_spec='$libname.ixlibrary $libname.a'
13074
# Create ${libname}_ixlibrary.a entries in /sys/libs.
13075
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'
13081
library_names_spec='${libname}${shared_ext}'
13082
dynamic_linker="$host_os ld.so"
13083
shlibpath_var=LIBRARY_PATH
13089
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13090
soname_spec='${libname}${release}${shared_ext}$major'
13091
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13092
shlibpath_var=LD_LIBRARY_PATH
13093
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13094
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13095
# the default ld.so.conf also contains /usr/contrib/lib and
13096
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13097
# libtool to hard-code these into programs
13100
cygwin* | mingw* | pw32* | cegcc*)
13101
version_type=windows
13106
case $GCC,$host_os in
13107
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13108
library_names_spec='$libname.dll.a'
13109
# DLL is installed to $(libdir)/../bin by postinstall_cmds
13110
postinstall_cmds='base_file=`basename \${file}`~
13111
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13112
dldir=$destdir/`dirname \$dlpath`~
13113
test -d \$dldir || mkdir -p \$dldir~
13114
$install_prog $dir/$dlname \$dldir/$dlname~
13115
chmod a+x \$dldir/$dlname~
13116
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13117
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13119
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13120
dlpath=$dir/\$dldll~
13122
shlibpath_overrides_runpath=yes
13126
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
13127
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13128
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13131
# MinGW DLLs use traditional 'lib' prefix
13132
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13133
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13134
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13135
# It is most probably a Windows format PATH printed by
13136
# mingw gcc, but we are running on Cygwin. Gcc prints its search
13137
# path with ; separators, and with drive letters. We can handle the
13138
# drive letters (cygwin fileutils understands them), so leave them,
13139
# especially as we might pass files found there to a mingw objdump,
13140
# which wouldn't understand a cygwinified path. Ahh.
13141
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13143
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13147
# pw32 DLLs use 'pw' prefix rather than 'lib'
13148
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13154
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13157
dynamic_linker='Win32 ld.exe'
13158
# FIXME: first we should search . and the directory the executable is in
13162
darwin* | rhapsody*)
13163
dynamic_linker="$host_os dyld"
13164
version_type=darwin
13167
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13168
soname_spec='${libname}${release}${major}$shared_ext'
13169
shlibpath_overrides_runpath=yes
13170
shlibpath_var=DYLD_LIBRARY_PATH
13171
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13173
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13174
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13181
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13182
soname_spec='${libname}${release}${shared_ext}$major'
13183
shlibpath_var=LD_LIBRARY_PATH
13190
freebsd* | dragonfly*)
13191
# DragonFly does not have aout. When/if they implement a new
13192
# versioning mechanism, adjust this.
13193
if test -x /usr/bin/objformat; then
13194
objformat=`/usr/bin/objformat`
13197
freebsd[123]*) objformat=aout ;;
13198
*) objformat=elf ;;
13201
version_type=freebsd-$objformat
13202
case $version_type in
13204
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13209
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13213
shlibpath_var=LD_LIBRARY_PATH
13216
shlibpath_overrides_runpath=yes
13218
freebsd3.[01]* | freebsdelf3.[01]*)
13219
shlibpath_overrides_runpath=yes
13220
hardcode_into_libs=yes
13222
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13223
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13224
shlibpath_overrides_runpath=no
13225
hardcode_into_libs=yes
13227
*) # from 4.6 on, and DragonFly
13228
shlibpath_overrides_runpath=yes
13229
hardcode_into_libs=yes
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
hardcode_into_libs=yes
13244
hpux9* | hpux10* | hpux11*)
13245
# Give a soname corresponding to the major version so that dld.sl refuses to
13246
# link against other versions.
13253
hardcode_into_libs=yes
13254
dynamic_linker="$host_os dld.so"
13255
shlibpath_var=LD_LIBRARY_PATH
13256
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13257
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13258
soname_spec='${libname}${release}${shared_ext}$major'
13259
if test "X$HPUX_IA64_MODE" = X32; then
13260
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13262
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13264
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13268
hardcode_into_libs=yes
13269
dynamic_linker="$host_os dld.sl"
13270
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13271
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13272
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13273
soname_spec='${libname}${release}${shared_ext}$major'
13274
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13275
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13279
dynamic_linker="$host_os dld.sl"
13280
shlibpath_var=SHLIB_PATH
13281
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13282
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13283
soname_spec='${libname}${release}${shared_ext}$major'
13286
# HP-UX runs *really* slowly unless shared libraries are mode 555.
13287
postinstall_cmds='chmod 555 $lib'
13294
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13295
soname_spec='${libname}${release}${shared_ext}$major'
13296
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13297
shlibpath_var=LD_LIBRARY_PATH
13298
shlibpath_overrides_runpath=no
13299
hardcode_into_libs=yes
13302
irix5* | irix6* | nonstopux*)
13304
nonstopux*) version_type=nonstopux ;;
13306
if test "$lt_cv_prog_gnu_ld" = yes; then
13314
soname_spec='${libname}${release}${shared_ext}$major'
13315
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13317
irix5* | nonstopux*)
13318
libsuff= shlibsuff=
13321
case $LD in # libtool.m4 will add one of these switches to LD
13322
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13323
libsuff= shlibsuff= libmagic=32-bit;;
13324
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13325
libsuff=32 shlibsuff=N32 libmagic=N32;;
13326
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13327
libsuff=64 shlibsuff=64 libmagic=64-bit;;
13328
*) libsuff= shlibsuff= libmagic=never-match;;
13332
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13333
shlibpath_overrides_runpath=no
13334
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13335
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13336
hardcode_into_libs=yes
13339
# No shared lib support for Linux oldld, aout, or coff.
13340
linux*oldld* | linux*aout* | linux*coff*)
13344
# This must be Linux ELF.
13345
linux* | k*bsd*-gnu)
13349
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13350
soname_spec='${libname}${release}${shared_ext}$major'
13351
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13352
shlibpath_var=LD_LIBRARY_PATH
13353
shlibpath_overrides_runpath=no
13354
# Some binutils ld are patched to set DT_RUNPATH
13355
save_LDFLAGS=$LDFLAGS
13356
save_libdir=$libdir
13357
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13358
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13359
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13360
/* end confdefs.h. */
13370
if ac_fn_c_try_link "$LINENO"; then :
13371
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13372
shlibpath_overrides_runpath=yes
13375
rm -f core conftest.err conftest.$ac_objext \
13376
conftest$ac_exeext conftest.$ac_ext
13377
LDFLAGS=$save_LDFLAGS
13378
libdir=$save_libdir
13380
# This implies no fast_install, which is unacceptable.
13381
# Some rework will be needed to allow for fast_install
13382
# before this can be enabled.
13383
hardcode_into_libs=yes
13385
# Add ABI-specific directories to the system library path.
13386
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
13388
# Append ld.so.conf contents to the search path
13389
if test -f /etc/ld.so.conf; then
13390
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13391
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
13394
# We used to test for /lib/ld.so.1 and disable shared libraries on
13395
# powerpc, because MkLinux only supported shared libraries with the
13396
# GNU dynamic linker. Since this was broken with cross compilers,
13397
# most powerpc-linux boxes support dynamic linking these days and
13398
# people can always --disable-shared, the test was removed, and we
13399
# assume the GNU/Linux dynamic linker is in use.
13400
dynamic_linker='GNU/Linux ld.so'
13407
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13408
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13409
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13410
dynamic_linker='NetBSD (a.out) ld.so'
13412
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13413
soname_spec='${libname}${release}${shared_ext}$major'
13414
dynamic_linker='NetBSD ld.elf_so'
13416
shlibpath_var=LD_LIBRARY_PATH
13417
shlibpath_overrides_runpath=yes
13418
hardcode_into_libs=yes
13423
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13424
shlibpath_var=LD_LIBRARY_PATH
13425
shlibpath_overrides_runpath=yes
13432
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13433
soname_spec='${libname}${release}${shared_ext}$major'
13434
shlibpath_var=LD_LIBRARY_PATH
13435
shlibpath_overrides_runpath=no
13436
hardcode_into_libs=yes
13437
dynamic_linker='ldqnx.so'
13442
sys_lib_dlsearch_path_spec="/usr/lib"
13444
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13446
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13447
*) need_version=no ;;
13449
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13450
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13451
shlibpath_var=LD_LIBRARY_PATH
13452
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13454
openbsd2.[89] | openbsd2.[89].*)
13455
shlibpath_overrides_runpath=no
13458
shlibpath_overrides_runpath=yes
13462
shlibpath_overrides_runpath=yes
13467
libname_spec='$name'
13470
library_names_spec='$libname${shared_ext} $libname.a'
13471
dynamic_linker='OS/2 ld.exe'
13472
shlibpath_var=LIBPATH
13475
osf3* | osf4* | osf5*)
13479
soname_spec='${libname}${release}${shared_ext}$major'
13480
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13481
shlibpath_var=LD_LIBRARY_PATH
13482
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13483
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13494
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13495
soname_spec='${libname}${release}${shared_ext}$major'
13496
shlibpath_var=LD_LIBRARY_PATH
13497
shlibpath_overrides_runpath=yes
13498
hardcode_into_libs=yes
13499
# ldd complains unless libraries are executable
13500
postinstall_cmds='chmod +x $lib'
13505
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13506
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13507
shlibpath_var=LD_LIBRARY_PATH
13508
shlibpath_overrides_runpath=yes
13509
if test "$with_gnu_ld" = yes; then
13517
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13518
soname_spec='${libname}${release}${shared_ext}$major'
13519
shlibpath_var=LD_LIBRARY_PATH
13520
case $host_vendor in
13522
shlibpath_overrides_runpath=no
13524
runpath_var=LD_RUN_PATH
13532
shlibpath_overrides_runpath=no
13533
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13539
if test -d /usr/nec ;then
13541
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13542
soname_spec='$libname${shared_ext}.$major'
13543
shlibpath_var=LD_LIBRARY_PATH
13547
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13548
version_type=freebsd-elf
13551
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13552
soname_spec='${libname}${release}${shared_ext}$major'
13553
shlibpath_var=LD_LIBRARY_PATH
13554
shlibpath_overrides_runpath=yes
13555
hardcode_into_libs=yes
13556
if test "$with_gnu_ld" = yes; then
13557
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13559
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13562
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13566
sys_lib_dlsearch_path_spec='/usr/lib'
13570
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13574
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13575
shlibpath_var=LD_LIBRARY_PATH
13576
shlibpath_overrides_runpath=no
13577
hardcode_into_libs=yes
13582
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13583
soname_spec='${libname}${release}${shared_ext}$major'
13584
shlibpath_var=LD_LIBRARY_PATH
13591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13592
$as_echo "$dynamic_linker" >&6; }
13593
test "$dynamic_linker" = no && can_build_shared=no
13595
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13596
if test "$GCC" = yes; then
13597
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13600
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13601
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13603
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13604
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13694
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13696
if test -n "$hardcode_libdir_flag_spec" ||
13697
test -n "$runpath_var" ||
13698
test "X$hardcode_automatic" = "Xyes" ; then
13700
# We can hardcode non-existent directories.
13701
if test "$hardcode_direct" != no &&
13702
# If the only mechanism to avoid hardcoding is shlibpath_var, we
13703
# have to relink, otherwise we might link with an installed library
13704
# when we should be linking with a yet-to-be-installed one
13705
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13706
test "$hardcode_minus_L" != no; then
13707
# Linking always hardcodes the temporary library directory.
13708
hardcode_action=relink
13710
# We can link without hardcoding, and we can hardcode nonexisting dirs.
13711
hardcode_action=immediate
13714
# We cannot hardcode anything, or else we can only hardcode existing
13716
hardcode_action=unsupported
13718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13719
$as_echo "$hardcode_action" >&6; }
13721
if test "$hardcode_action" = relink ||
13722
test "$inherit_rpath" = yes; then
13723
# Fast installation is not supported
13724
enable_fast_install=no
13725
elif test "$shlibpath_overrides_runpath" = yes ||
13726
test "$enable_shared" = no; then
13727
# Fast installation is not necessary
13728
enable_fast_install=needless
13736
if test "x$enable_dlopen" != xyes; then
13737
enable_dlopen=unknown
13738
enable_dlopen_self=unknown
13739
enable_dlopen_self_static=unknown
13746
lt_cv_dlopen="load_add_on"
13748
lt_cv_dlopen_self=yes
13751
mingw* | pw32* | cegcc*)
13752
lt_cv_dlopen="LoadLibrary"
13757
lt_cv_dlopen="dlopen"
13762
# if libdl is installed we need to link against it
13763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13764
$as_echo_n "checking for dlopen in -ldl... " >&6; }
13765
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13766
$as_echo_n "(cached) " >&6
13768
ac_check_lib_save_LIBS=$LIBS
13770
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13771
/* end confdefs.h. */
13773
/* Override any GCC internal prototype to avoid an error.
13774
Use char because int might match the return type of a GCC
13775
builtin and then its argument prototype would still apply. */
13788
if ac_fn_c_try_link "$LINENO"; then :
13789
ac_cv_lib_dl_dlopen=yes
13791
ac_cv_lib_dl_dlopen=no
13793
rm -f core conftest.err conftest.$ac_objext \
13794
conftest$ac_exeext conftest.$ac_ext
13795
LIBS=$ac_check_lib_save_LIBS
13797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13798
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13799
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
13800
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13803
lt_cv_dlopen="dyld"
13805
lt_cv_dlopen_self=yes
13812
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13813
if test "x$ac_cv_func_shl_load" = x""yes; then :
13814
lt_cv_dlopen="shl_load"
13816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13817
$as_echo_n "checking for shl_load in -ldld... " >&6; }
13818
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
13819
$as_echo_n "(cached) " >&6
13821
ac_check_lib_save_LIBS=$LIBS
13823
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13824
/* end confdefs.h. */
13826
/* Override any GCC internal prototype to avoid an error.
13827
Use char because int might match the return type of a GCC
13828
builtin and then its argument prototype would still apply. */
13836
return shl_load ();
13841
if ac_fn_c_try_link "$LINENO"; then :
13842
ac_cv_lib_dld_shl_load=yes
13844
ac_cv_lib_dld_shl_load=no
13846
rm -f core conftest.err conftest.$ac_objext \
13847
conftest$ac_exeext conftest.$ac_ext
13848
LIBS=$ac_check_lib_save_LIBS
13850
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13851
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13852
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
13853
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13855
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13856
if test "x$ac_cv_func_dlopen" = x""yes; then :
13857
lt_cv_dlopen="dlopen"
13859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13860
$as_echo_n "checking for dlopen in -ldl... " >&6; }
13861
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
13862
$as_echo_n "(cached) " >&6
13864
ac_check_lib_save_LIBS=$LIBS
13866
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13867
/* end confdefs.h. */
13869
/* Override any GCC internal prototype to avoid an error.
13870
Use char because int might match the return type of a GCC
13871
builtin and then its argument prototype would still apply. */
13884
if ac_fn_c_try_link "$LINENO"; then :
13885
ac_cv_lib_dl_dlopen=yes
13887
ac_cv_lib_dl_dlopen=no
13889
rm -f core conftest.err conftest.$ac_objext \
13890
conftest$ac_exeext conftest.$ac_ext
13891
LIBS=$ac_check_lib_save_LIBS
13893
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13894
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13895
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
13896
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13899
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13900
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
13901
$as_echo_n "(cached) " >&6
13903
ac_check_lib_save_LIBS=$LIBS
13904
LIBS="-lsvld $LIBS"
13905
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13906
/* end confdefs.h. */
13908
/* Override any GCC internal prototype to avoid an error.
13909
Use char because int might match the return type of a GCC
13910
builtin and then its argument prototype would still apply. */
13923
if ac_fn_c_try_link "$LINENO"; then :
13924
ac_cv_lib_svld_dlopen=yes
13926
ac_cv_lib_svld_dlopen=no
13928
rm -f core conftest.err conftest.$ac_objext \
13929
conftest$ac_exeext conftest.$ac_ext
13930
LIBS=$ac_check_lib_save_LIBS
13932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13933
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13934
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
13935
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13938
$as_echo_n "checking for dld_link in -ldld... " >&6; }
13939
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
13940
$as_echo_n "(cached) " >&6
13942
ac_check_lib_save_LIBS=$LIBS
13944
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13945
/* end confdefs.h. */
13947
/* Override any GCC internal prototype to avoid an error.
13948
Use char because int might match the return type of a GCC
13949
builtin and then its argument prototype would still apply. */
13957
return dld_link ();
13962
if ac_fn_c_try_link "$LINENO"; then :
13963
ac_cv_lib_dld_dld_link=yes
13965
ac_cv_lib_dld_dld_link=no
13967
rm -f core conftest.err conftest.$ac_objext \
13968
conftest$ac_exeext conftest.$ac_ext
13969
LIBS=$ac_check_lib_save_LIBS
13971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13972
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13973
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
13974
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13995
if test "x$lt_cv_dlopen" != xno; then
14001
case $lt_cv_dlopen in
14003
save_CPPFLAGS="$CPPFLAGS"
14004
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14006
save_LDFLAGS="$LDFLAGS"
14007
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14010
LIBS="$lt_cv_dlopen_libs $LIBS"
14012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14013
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
14014
if test "${lt_cv_dlopen_self+set}" = set; then :
14015
$as_echo_n "(cached) " >&6
14017
if test "$cross_compiling" = yes; then :
14018
lt_cv_dlopen_self=cross
14020
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14021
lt_status=$lt_dlunknown
14022
cat > conftest.$ac_ext <<_LT_EOF
14023
#line 14023 "configure"
14024
#include "confdefs.h"
14033
# define LT_DLGLOBAL RTLD_GLOBAL
14036
# define LT_DLGLOBAL DL_GLOBAL
14038
# define LT_DLGLOBAL 0
14042
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14043
find out it does not work in some platform. */
14044
#ifndef LT_DLLAZY_OR_NOW
14046
# define LT_DLLAZY_OR_NOW RTLD_LAZY
14049
# define LT_DLLAZY_OR_NOW DL_LAZY
14052
# define LT_DLLAZY_OR_NOW RTLD_NOW
14055
# define LT_DLLAZY_OR_NOW DL_NOW
14057
# define LT_DLLAZY_OR_NOW 0
14064
void fnord() { int i=42;}
14067
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14068
int status = $lt_dlunknown;
14072
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14073
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14074
/* dlclose (self); */
14082
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14083
(eval $ac_link) 2>&5
14085
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14086
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14087
(./conftest; exit; ) >&5 2>/dev/null
14089
case x$lt_status in
14090
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14091
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14092
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14095
# compilation failed
14096
lt_cv_dlopen_self=no
14103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14104
$as_echo "$lt_cv_dlopen_self" >&6; }
14106
if test "x$lt_cv_dlopen_self" = xyes; then
14107
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14109
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14110
if test "${lt_cv_dlopen_self_static+set}" = set; then :
14111
$as_echo_n "(cached) " >&6
14113
if test "$cross_compiling" = yes; then :
14114
lt_cv_dlopen_self_static=cross
14116
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14117
lt_status=$lt_dlunknown
14118
cat > conftest.$ac_ext <<_LT_EOF
14119
#line 14119 "configure"
14120
#include "confdefs.h"
14129
# define LT_DLGLOBAL RTLD_GLOBAL
14132
# define LT_DLGLOBAL DL_GLOBAL
14134
# define LT_DLGLOBAL 0
14138
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14139
find out it does not work in some platform. */
14140
#ifndef LT_DLLAZY_OR_NOW
14142
# define LT_DLLAZY_OR_NOW RTLD_LAZY
14145
# define LT_DLLAZY_OR_NOW DL_LAZY
14148
# define LT_DLLAZY_OR_NOW RTLD_NOW
14151
# define LT_DLLAZY_OR_NOW DL_NOW
14153
# define LT_DLLAZY_OR_NOW 0
14160
void fnord() { int i=42;}
14163
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14164
int status = $lt_dlunknown;
14168
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14169
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14170
/* dlclose (self); */
14178
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14179
(eval $ac_link) 2>&5
14181
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14182
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14183
(./conftest; exit; ) >&5 2>/dev/null
14185
case x$lt_status in
14186
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14187
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14188
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14191
# compilation failed
14192
lt_cv_dlopen_self_static=no
14199
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14200
$as_echo "$lt_cv_dlopen_self_static" >&6; }
14203
CPPFLAGS="$save_CPPFLAGS"
14204
LDFLAGS="$save_LDFLAGS"
14209
case $lt_cv_dlopen_self in
14210
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14211
*) enable_dlopen_self=unknown ;;
14214
case $lt_cv_dlopen_self_static in
14215
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14216
*) enable_dlopen_self_static=unknown ;;
14238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14239
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
14240
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14241
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14242
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14244
$as_echo "yes" >&6; }
14246
# FIXME - insert some real tests, host_os isn't really good enough
14249
if test -n "$STRIP" ; then
14250
striplib="$STRIP -x"
14251
old_striplib="$STRIP -S"
14252
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14253
$as_echo "yes" >&6; }
14255
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14256
$as_echo "no" >&6; }
14260
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14261
$as_echo "no" >&6; }
14277
# Report which library types will actually be built
14278
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14279
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
14280
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14281
$as_echo "$can_build_shared" >&6; }
14283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14284
$as_echo_n "checking whether to build shared libraries... " >&6; }
14285
test "$can_build_shared" = "no" && enable_shared=no
14287
# On AIX, shared libraries and static libraries use the same namespace, and
14288
# are all built from PIC.
14291
test "$enable_shared" = yes && enable_static=no
14292
if test -n "$RANLIB"; then
14293
archive_cmds="$archive_cmds~\$RANLIB \$lib"
14294
postinstall_cmds='$RANLIB $lib'
14299
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14300
test "$enable_shared" = yes && enable_static=no
14304
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14305
$as_echo "$enable_shared" >&6; }
14307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14308
$as_echo_n "checking whether to build static libraries... " >&6; }
14309
# Make sure either enable_shared or enable_static is yes.
14310
test "$enable_shared" = yes || enable_static=yes
14311
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14312
$as_echo "$enable_static" >&6; }
14319
ac_cpp='$CPP $CPPFLAGS'
14320
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14321
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14322
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14328
ac_cpp='$CXXCPP $CPPFLAGS'
14329
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14330
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14331
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14333
archive_cmds_need_lc_CXX=no
14334
allow_undefined_flag_CXX=
14335
always_export_symbols_CXX=no
14336
archive_expsym_cmds_CXX=
14337
compiler_needs_object_CXX=no
14338
export_dynamic_flag_spec_CXX=
14339
hardcode_direct_CXX=no
14340
hardcode_direct_absolute_CXX=no
14341
hardcode_libdir_flag_spec_CXX=
14342
hardcode_libdir_flag_spec_ld_CXX=
14343
hardcode_libdir_separator_CXX=
14344
hardcode_minus_L_CXX=no
14345
hardcode_shlibpath_var_CXX=unsupported
14346
hardcode_automatic_CXX=no
14347
inherit_rpath_CXX=no
14349
module_expsym_cmds_CXX=
14350
link_all_deplibs_CXX=unknown
14351
old_archive_cmds_CXX=$old_archive_cmds
14352
no_undefined_flag_CXX=
14353
whole_archive_flag_spec_CXX=
14354
enable_shared_with_static_runtimes_CXX=no
14356
# Source file extension for C++ test sources.
14359
# Object file extension for compiled C++ test sources.
14363
# No sense in running all these tests if we already determined that
14364
# the CXX compiler isn't working. Some variables (like enable_shared)
14365
# are currently assumed to apply to all compilers on this platform,
14366
# and will be corrupted by setting them based on a non-working compiler.
14367
if test "$_lt_caught_CXX_error" != yes; then
14368
# Code to be used in simple compile tests
14369
lt_simple_compile_test_code="int some_variable = 0;"
14371
# Code to be used in simple link tests
14372
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14374
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14381
# If no C compiler was specified, use CC.
14384
# If no C compiler flags were specified, use CFLAGS.
14385
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14387
# Allow CC to be a program name with arguments.
14391
# save warnings/boilerplate of simple test code
14392
ac_outfile=conftest.$ac_objext
14393
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14394
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14395
_lt_compiler_boilerplate=`cat conftest.err`
14398
ac_outfile=conftest.$ac_objext
14399
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14400
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14401
_lt_linker_boilerplate=`cat conftest.err`
14405
# Allow CC to be a program name with arguments.
14410
lt_save_with_gnu_ld=$with_gnu_ld
14411
lt_save_path_LD=$lt_cv_path_LD
14412
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14413
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14415
$as_unset lt_cv_prog_gnu_ld
14417
if test -n "${lt_cv_path_LDCXX+set}"; then
14418
lt_cv_path_LD=$lt_cv_path_LDCXX
14420
$as_unset lt_cv_path_LD
14422
test -z "${LDCXX+set}" || LD=$LDCXX
14426
for cc_temp in $compiler""; do
14428
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14429
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14434
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
14437
if test -n "$compiler"; then
14438
# We don't want -fno-exception when compiling C++ code, so set the
14439
# no_builtin_flag separately
14440
if test "$GXX" = yes; then
14441
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14443
lt_prog_compiler_no_builtin_flag_CXX=
14446
if test "$GXX" = yes; then
14447
# Set up default GNU C++ configuration
14451
# Check whether --with-gnu-ld was given.
14452
if test "${with_gnu_ld+set}" = set; then :
14453
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14459
if test "$GCC" = yes; then
14460
# Check if gcc -print-prog-name=ld gives a path.
14461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14462
$as_echo_n "checking for ld used by $CC... " >&6; }
14465
# gcc leaves a trailing carriage return which upsets mingw
14466
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14468
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14471
# Accept absolute paths.
14473
re_direlt='/[^/][^/]*/\.\./'
14474
# Canonicalize the pathname of ld
14475
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14476
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14477
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14479
test -z "$LD" && LD="$ac_prog"
14482
# If it fails, then pretend we aren't using GCC.
14486
# If it is relative, then search for the first ld in PATH.
14487
with_gnu_ld=unknown
14490
elif test "$with_gnu_ld" = yes; then
14491
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14492
$as_echo_n "checking for GNU ld... " >&6; }
14494
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14495
$as_echo_n "checking for non-GNU ld... " >&6; }
14497
if test "${lt_cv_path_LD+set}" = set; then :
14498
$as_echo_n "(cached) " >&6
14500
if test -z "$LD"; then
14501
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14502
for ac_dir in $PATH; do
14504
test -z "$ac_dir" && ac_dir=.
14505
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14506
lt_cv_path_LD="$ac_dir/$ac_prog"
14507
# Check to see if the program is GNU ld. I'd rather use --version,
14508
# but apparently some variants of GNU ld only accept -v.
14509
# Break only if it was the GNU/non-GNU ld that we prefer.
14510
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14511
*GNU* | *'with BFD'*)
14512
test "$with_gnu_ld" != no && break
14515
test "$with_gnu_ld" != yes && break
14522
lt_cv_path_LD="$LD" # Let the user override the test with a path.
14526
LD="$lt_cv_path_LD"
14527
if test -n "$LD"; then
14528
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14529
$as_echo "$LD" >&6; }
14531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14532
$as_echo "no" >&6; }
14534
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
14535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14536
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14537
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
14538
$as_echo_n "(cached) " >&6
14540
# I'd rather use --version here, but apparently some GNU lds only accept -v.
14541
case `$LD -v 2>&1 </dev/null` in
14542
*GNU* | *'with BFD'*)
14543
lt_cv_prog_gnu_ld=yes
14546
lt_cv_prog_gnu_ld=no
14550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14551
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
14552
with_gnu_ld=$lt_cv_prog_gnu_ld
14560
# Check if GNU C++ uses GNU ld as the underlying linker, since the
14561
# archiving commands below assume that GNU ld is being used.
14562
if test "$with_gnu_ld" = yes; then
14563
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14564
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'
14566
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14567
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14569
# If archive_cmds runs LD, not CC, wlarc should be empty
14570
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14571
# investigate it a little bit more. (MM)
14574
# ancient GNU ld didn't support --whole-archive et. al.
14575
if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14576
$GREP 'no-whole-archive' > /dev/null; then
14577
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14579
whole_archive_flag_spec_CXX=
14585
# A generic and very simple default shared library creation
14586
# command for GNU C++ for the case where it uses the native
14587
# linker, instead of GNU ld. If possible, this setting should
14588
# overridden to take advantage of the native linker features on
14589
# the platform it is being used on.
14590
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14593
# Commands to make compiler produce verbose output that lists
14594
# what "hidden" libraries, object files and flags are used when
14595
# linking a shared library.
14596
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
14604
# PORTME: fill in a description of your system's C++ link characteristics
14605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14606
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14610
# FIXME: insert proper C++ library support
14614
if test "$host_cpu" = ia64; then
14615
# On IA64, the linker does run time linking by default, so we don't
14616
# have to do anything special.
14617
aix_use_runtimelinking=no
14618
exp_sym_flag='-Bexport'
14621
aix_use_runtimelinking=no
14623
# Test if we are trying to use run time linking or normal
14624
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
14625
# need to do runtime linking.
14626
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14627
for ld_flag in $LDFLAGS; do
14630
aix_use_runtimelinking=yes
14638
exp_sym_flag='-bexport'
14639
no_entry_flag='-bnoentry'
14642
# When large executables or shared objects are built, AIX ld can
14643
# have problems creating the table of contents. If linking a library
14644
# or program results in "error TOC overflow" add -mminimal-toc to
14645
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14646
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14648
archive_cmds_CXX=''
14649
hardcode_direct_CXX=yes
14650
hardcode_direct_absolute_CXX=yes
14651
hardcode_libdir_separator_CXX=':'
14652
link_all_deplibs_CXX=yes
14653
file_list_spec_CXX='${wl}-f,'
14655
if test "$GXX" = yes; then
14656
case $host_os in aix4.[012]|aix4.[012].*)
14657
# We only want to do this on AIX 4.2 and lower, the check
14658
# below for broken collect2 doesn't work under 4.3+
14659
collect2name=`${CC} -print-prog-name=collect2`
14660
if test -f "$collect2name" &&
14661
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14663
# We have reworked collect2
14666
# We have old collect2
14667
hardcode_direct_CXX=unsupported
14668
# It fails to find uninstalled libraries when the uninstalled
14669
# path is not listed in the libpath. Setting hardcode_minus_L
14670
# to unsupported forces relinking
14671
hardcode_minus_L_CXX=yes
14672
hardcode_libdir_flag_spec_CXX='-L$libdir'
14673
hardcode_libdir_separator_CXX=
14676
shared_flag='-shared'
14677
if test "$aix_use_runtimelinking" = yes; then
14678
shared_flag="$shared_flag "'${wl}-G'
14682
if test "$host_cpu" = ia64; then
14683
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14684
# chokes on -Wl,-G. The following line is correct:
14687
if test "$aix_use_runtimelinking" = yes; then
14688
shared_flag='${wl}-G'
14690
shared_flag='${wl}-bM:SRE'
14695
export_dynamic_flag_spec_CXX='${wl}-bexpall'
14696
# It seems that -bexpall does not export symbols beginning with
14697
# underscore (_), so it is better to generate a list of symbols to
14699
always_export_symbols_CXX=yes
14700
if test "$aix_use_runtimelinking" = yes; then
14701
# Warning - without using the other runtime loading flags (-brtl),
14702
# -berok will link without error, but may produce a broken library.
14703
allow_undefined_flag_CXX='-berok'
14704
# Determine the default libpath from the value encoded in an empty
14706
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14707
/* end confdefs.h. */
14717
if ac_fn_cxx_try_link "$LINENO"; then :
14719
lt_aix_libpath_sed='
14720
/Import File Strings/,/^$/ {
14726
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14727
# Check for a 64-bit object if we didn't find anything.
14728
if test -z "$aix_libpath"; then
14729
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14732
rm -f core conftest.err conftest.$ac_objext \
14733
conftest$ac_exeext conftest.$ac_ext
14734
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14736
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14738
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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14740
if test "$host_cpu" = ia64; then
14741
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14742
allow_undefined_flag_CXX="-z nodefs"
14743
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"
14745
# Determine the default libpath from the value encoded in an
14746
# empty executable.
14747
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14748
/* end confdefs.h. */
14758
if ac_fn_cxx_try_link "$LINENO"; then :
14760
lt_aix_libpath_sed='
14761
/Import File Strings/,/^$/ {
14767
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14768
# Check for a 64-bit object if we didn't find anything.
14769
if test -z "$aix_libpath"; then
14770
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14773
rm -f core conftest.err conftest.$ac_objext \
14774
conftest$ac_exeext conftest.$ac_ext
14775
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
14777
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14778
# Warning - without using the other run time loading flags,
14779
# -berok will link without error, but may produce a broken library.
14780
no_undefined_flag_CXX=' ${wl}-bernotok'
14781
allow_undefined_flag_CXX=' ${wl}-berok'
14782
# Exported symbols can be pulled into shared objects from archives
14783
whole_archive_flag_spec_CXX='$convenience'
14784
archive_cmds_need_lc_CXX=yes
14785
# This is similar to how AIX traditionally builds its shared
14787
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'
14793
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14794
allow_undefined_flag_CXX=unsupported
14795
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14796
# support --undefined. This deserves some investigation. FIXME
14797
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14804
case $cc_basename in
14806
# FIXME: insert proper C++ library support
14812
cygwin* | mingw* | pw32* | cegcc*)
14813
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14814
# as there is no search path for DLLs.
14815
hardcode_libdir_flag_spec_CXX='-L$libdir'
14816
allow_undefined_flag_CXX=unsupported
14817
always_export_symbols_CXX=no
14818
enable_shared_with_static_runtimes_CXX=yes
14820
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14821
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'
14822
# If the export-symbols file already is a .def file (1st line
14823
# is EXPORTS), use it as is; otherwise, prepend...
14824
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14825
cp $export_symbols $output_objdir/$soname.def;
14827
echo EXPORTS > $output_objdir/$soname.def;
14828
cat $export_symbols >> $output_objdir/$soname.def;
14830
$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'
14835
darwin* | rhapsody*)
14838
archive_cmds_need_lc_CXX=no
14839
hardcode_direct_CXX=no
14840
hardcode_automatic_CXX=yes
14841
hardcode_shlibpath_var_CXX=unsupported
14842
whole_archive_flag_spec_CXX=''
14843
link_all_deplibs_CXX=yes
14844
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
14845
case $cc_basename in
14846
ifort*) _lt_dar_can_shared=yes ;;
14847
*) _lt_dar_can_shared=$GCC ;;
14849
if test "$_lt_dar_can_shared" = "yes"; then
14850
output_verbose_link_cmd=echo
14851
archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14852
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14853
archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
14854
module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
14855
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
14856
archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
14857
archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
14867
case $cc_basename in
14869
# FIXME: insert proper C++ library support
14873
# Green Hills C++ Compiler
14874
# FIXME: insert proper C++ library support
14878
# FIXME: insert proper C++ library support
14885
# C++ shared libraries reported to be fairly broken before
14891
archive_cmds_need_lc_CXX=no
14894
freebsd* | dragonfly*)
14895
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14904
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14905
hardcode_libdir_separator_CXX=:
14906
export_dynamic_flag_spec_CXX='${wl}-E'
14907
hardcode_direct_CXX=yes
14908
hardcode_minus_L_CXX=yes # Not in the search PATH,
14909
# but as the default
14910
# location of the library.
14912
case $cc_basename in
14914
# FIXME: insert proper C++ library support
14918
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'
14919
# Commands to make compiler produce verbose output that lists
14920
# what "hidden" libraries, object files and flags are used when
14921
# linking a shared library.
14923
# There doesn't appear to be a way to prevent this compiler from
14924
# explicitly linking system object files so we need to strip them
14925
# from the output so that they don't get included in the library
14927
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
14930
if test "$GXX" = yes; then
14931
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'
14933
# FIXME: insert proper C++ library support
14941
if test $with_gnu_ld = no; then
14942
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
14943
hardcode_libdir_separator_CXX=:
14949
export_dynamic_flag_spec_CXX='${wl}-E'
14955
hardcode_direct_CXX=no
14956
hardcode_shlibpath_var_CXX=no
14959
hardcode_direct_CXX=yes
14960
hardcode_direct_absolute_CXX=yes
14961
hardcode_minus_L_CXX=yes # Not in the search PATH,
14962
# but as the default
14963
# location of the library.
14967
case $cc_basename in
14969
# FIXME: insert proper C++ library support
14975
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14978
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14981
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14984
# Commands to make compiler produce verbose output that lists
14985
# what "hidden" libraries, object files and flags are used when
14986
# linking a shared library.
14988
# There doesn't appear to be a way to prevent this compiler from
14989
# explicitly linking system object files so we need to strip them
14990
# from the output so that they don't get included in the library
14992
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 "X$list" | $Xsed'
14995
if test "$GXX" = yes; then
14996
if test $with_gnu_ld = no; then
14999
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15002
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15005
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'
15010
# FIXME: insert proper C++ library support
15018
hardcode_direct_CXX=no
15019
hardcode_shlibpath_var_CXX=no
15020
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15021
export_dynamic_flag_spec_CXX='${wl}-E'
15022
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15023
# Instead, shared libraries are loaded at an image base (0x10000000 by
15024
# default) and relocated if they conflict, which is a slow very memory
15025
# consuming and fragmenting process. To avoid this, we pick a random,
15026
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15027
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
15028
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'
15029
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'
15032
case $cc_basename in
15035
archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
15037
# Archives containing C++ object files must be created using
15038
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
15039
# necessary to make sure instantiated templates are included
15041
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15044
if test "$GXX" = yes; then
15045
if test "$with_gnu_ld" = no; then
15046
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15048
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
15051
link_all_deplibs_CXX=yes
15054
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15055
hardcode_libdir_separator_CXX=:
15056
inherit_rpath_CXX=yes
15059
linux* | k*bsd*-gnu)
15060
case $cc_basename in
15062
# Kuck and Associates, Inc. (KAI) C++ Compiler
15064
# KCC will only create a shared library if the output file
15065
# ends with ".so" (or ".sl" for HP-UX), so rename the library
15066
# to its proper name (with version) after linking.
15067
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'
15068
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'
15069
# Commands to make compiler produce verbose output that lists
15070
# what "hidden" libraries, object files and flags are used when
15071
# linking a shared library.
15073
# There doesn't appear to be a way to prevent this compiler from
15074
# explicitly linking system object files so we need to strip them
15075
# from the output so that they don't get included in the library
15077
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 "X$list" | $Xsed'
15079
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15080
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15082
# Archives containing C++ object files must be created using
15083
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
15084
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15089
# version 8.0 and above of icpc choke on multiply defined symbols
15090
# if we add $predep_objects and $postdep_objects, however 7.1 and
15091
# earlier do not add the objects themselves.
15092
case `$CC -V 2>&1` in
15094
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15095
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'
15097
*) # Version 8.0 or newer
15100
ia64*) tmp_idyn=' -i_dynamic';;
15102
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15103
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'
15106
archive_cmds_need_lc_CXX=no
15107
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15108
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15109
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15112
# Portland Group C++ compiler
15114
*pgCC\ [1-5]* | *pgcpp\ [1-5]*)
15115
prelink_cmds_CXX='tpldir=Template.dir~
15117
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15118
compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
15119
old_archive_cmds_CXX='tpldir=Template.dir~
15121
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15122
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
15124
archive_cmds_CXX='tpldir=Template.dir~
15126
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15127
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15128
archive_expsym_cmds_CXX='tpldir=Template.dir~
15130
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15131
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
15133
*) # Version 6 will use weak symbols
15134
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15135
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'
15139
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15140
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15141
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'
15145
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15146
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'
15148
runpath_var=LD_RUN_PATH
15149
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15150
hardcode_libdir_separator_CXX=:
15152
# Commands to make compiler produce verbose output that lists
15153
# what "hidden" libraries, object files and flags are used when
15154
# linking a shared library.
15156
# There doesn't appear to be a way to prevent this compiler from
15157
# explicitly linking system object files so we need to strip them
15158
# from the output so that they don't get included in the library
15160
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
15163
# IBM XL 8.0 on PPC, with GNU ld
15164
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15165
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15166
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15167
if test "x$supports_anon_versioning" = xyes; then
15168
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15169
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15170
echo "local: *; };" >> $output_objdir/$libname.ver~
15171
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15175
case `$CC -V 2>&1 | sed 5q` in
15178
no_undefined_flag_CXX=' -zdefs'
15179
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15180
archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
15181
hardcode_libdir_flag_spec_CXX='-R$libdir'
15182
whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
15183
compiler_needs_object_CXX=yes
15185
# Not sure whether something based on
15186
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15188
output_verbose_link_cmd='echo'
15190
# Archives containing C++ object files must be created using
15191
# "CC -xar", where "CC" is the Sun C++ compiler. This is
15192
# necessary to make sure instantiated templates are included
15194
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15202
# FIXME: insert proper C++ library support
15207
# FIXME: insert proper C++ library support
15212
case $cc_basename in
15214
# FIXME: insert proper C++ library support
15218
# FIXME: insert proper C++ library support
15225
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15226
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15228
hardcode_libdir_flag_spec_CXX='-R$libdir'
15229
hardcode_direct_CXX=yes
15230
hardcode_shlibpath_var_CXX=no
15232
# Workaround some broken pre-1.5 toolchains
15233
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15241
# C++ shared libraries are fairly broken
15246
if test -f /usr/libexec/ld.so; then
15247
hardcode_direct_CXX=yes
15248
hardcode_shlibpath_var_CXX=no
15249
hardcode_direct_absolute_CXX=yes
15250
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15251
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15252
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15253
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15254
export_dynamic_flag_spec_CXX='${wl}-E'
15255
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15257
output_verbose_link_cmd=echo
15263
osf3* | osf4* | osf5*)
15264
case $cc_basename in
15266
# Kuck and Associates, Inc. (KAI) C++ Compiler
15268
# KCC will only create a shared library if the output file
15269
# ends with ".so" (or ".sl" for HP-UX), so rename the library
15270
# to its proper name (with version) after linking.
15271
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'
15273
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15274
hardcode_libdir_separator_CXX=:
15276
# Archives containing C++ object files must be created using
15277
# the KAI C++ compiler.
15279
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15280
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15284
# Rational C++ 2.4.1
15285
# FIXME: insert proper C++ library support
15291
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15292
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
15293
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15296
allow_undefined_flag_CXX=' -expect_unresolved \*'
15297
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
15298
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15299
echo "-hidden">> $lib.exp~
15300
$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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
15302
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15306
hardcode_libdir_separator_CXX=:
15308
# Commands to make compiler produce verbose output that lists
15309
# what "hidden" libraries, object files and flags are used when
15310
# linking a shared library.
15312
# There doesn't appear to be a way to prevent this compiler from
15313
# explicitly linking system object files so we need to strip them
15314
# from the output so that they don't get included in the library
15316
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
15319
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15320
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15323
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 "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15326
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" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
15330
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15331
hardcode_libdir_separator_CXX=:
15333
# Commands to make compiler produce verbose output that lists
15334
# what "hidden" libraries, object files and flags are used when
15335
# linking a shared library.
15336
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15339
# FIXME: insert proper C++ library support
15347
# FIXME: insert proper C++ library support
15352
case $cc_basename in
15355
# FIXME: insert proper C++ library support
15360
# FIXME: insert proper C++ library support
15364
# FIXME: insert proper C++ library support
15371
case $cc_basename in
15373
# Sun C++ 4.2, 5.x and Centerline C++
15374
archive_cmds_need_lc_CXX=yes
15375
no_undefined_flag_CXX=' -zdefs'
15376
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15377
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15378
$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'
15380
hardcode_libdir_flag_spec_CXX='-R$libdir'
15381
hardcode_shlibpath_var_CXX=no
15383
solaris2.[0-5] | solaris2.[0-5].*) ;;
15385
# The compiler driver will combine and reorder linker options,
15386
# but understands `-z linker_flag'.
15387
# Supported since Solaris 2.6 (maybe 2.5.1?)
15388
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15391
link_all_deplibs_CXX=yes
15393
output_verbose_link_cmd='echo'
15395
# Archives containing C++ object files must be created using
15396
# "CC -xar", where "CC" is the Sun C++ compiler. This is
15397
# necessary to make sure instantiated templates are included
15399
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15402
# Green Hills C++ Compiler
15403
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15405
# The C++ compiler must be used to create the archive.
15406
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15409
# GNU C++ compiler with Solaris linker
15410
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15411
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15412
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15413
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15414
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15415
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15417
# Commands to make compiler produce verbose output that lists
15418
# what "hidden" libraries, object files and flags are used when
15419
# linking a shared library.
15420
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15422
# g++ 2.7 appears to require `-G' NOT `-shared' on this
15424
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15425
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15426
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15428
# Commands to make compiler produce verbose output that lists
15429
# what "hidden" libraries, object files and flags are used when
15430
# linking a shared library.
15431
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
15434
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15436
solaris2.[0-5] | solaris2.[0-5].*) ;;
15438
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15446
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15447
no_undefined_flag_CXX='${wl}-z,text'
15448
archive_cmds_need_lc_CXX=no
15449
hardcode_shlibpath_var_CXX=no
15450
runpath_var='LD_RUN_PATH'
15452
case $cc_basename in
15454
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15455
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15458
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15459
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15464
sysv5* | sco3.2v5* | sco5v6*)
15465
# Note: We can NOT use -z defs as we might desire, because we do not
15466
# link with -lc, and that would cause any symbols used from libc to
15467
# always be unresolved, which means just about no library would
15468
# ever link correctly. If we're not using GNU ld we use -z text
15469
# though, which does catch some bad symbols but isn't as heavy-handed
15471
no_undefined_flag_CXX='${wl}-z,text'
15472
allow_undefined_flag_CXX='${wl}-z,nodefs'
15473
archive_cmds_need_lc_CXX=no
15474
hardcode_shlibpath_var_CXX=no
15475
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15476
hardcode_libdir_separator_CXX=':'
15477
link_all_deplibs_CXX=yes
15478
export_dynamic_flag_spec_CXX='${wl}-Bexport'
15479
runpath_var='LD_RUN_PATH'
15481
case $cc_basename in
15483
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15484
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15487
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15488
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15494
case $cc_basename in
15496
# NonStop-UX NCC 3.20
15497
# FIXME: insert proper C++ library support
15501
# FIXME: insert proper C++ library support
15508
# FIXME: insert proper C++ library support
15513
# FIXME: insert proper C++ library support
15518
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15519
$as_echo "$ld_shlibs_CXX" >&6; }
15520
test "$ld_shlibs_CXX" = no && can_build_shared=no
15526
## There is no encapsulation within the following macros, do not change
15527
## the running order or otherwise move them around unless you know exactly
15528
## what you are doing...
15529
# Dependencies to place before and after the object being linked:
15530
predep_objects_CXX=
15531
postdep_objects_CXX=
15534
compiler_lib_search_path_CXX=
15536
cat > conftest.$ac_ext <<_LT_EOF
15540
Foo (void) { a = 0; }
15546
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15547
(eval $ac_compile) 2>&5
15549
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15550
test $ac_status = 0; }; then
15551
# Parse the compiler output and extract the necessary
15552
# objects, libraries and library flags.
15554
# Sentinel used to keep track of whether or not we are before
15555
# the conftest object file.
15556
pre_test_object_deps_done=no
15558
for p in `eval "$output_verbose_link_cmd"`; do
15562
# Some compilers place space between "-{L,R}" and the path.
15563
# Remove the space.
15564
if test $p = "-L" ||
15565
test $p = "-R"; then
15572
if test "$pre_test_object_deps_done" = no; then
15575
# Internal compiler library paths should come after those
15576
# provided the user. The postdeps already come after the
15577
# user supplied libs so there is no need to process them.
15578
if test -z "$compiler_lib_search_path_CXX"; then
15579
compiler_lib_search_path_CXX="${prev}${p}"
15581
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15584
# The "-l" case would never come before the object being
15585
# linked, so don't bother handling this case.
15588
if test -z "$postdeps_CXX"; then
15589
postdeps_CXX="${prev}${p}"
15591
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15597
# This assumes that the test object file only shows up
15598
# once in the compiler output.
15599
if test "$p" = "conftest.$objext"; then
15600
pre_test_object_deps_done=yes
15604
if test "$pre_test_object_deps_done" = no; then
15605
if test -z "$predep_objects_CXX"; then
15606
predep_objects_CXX="$p"
15608
predep_objects_CXX="$predep_objects_CXX $p"
15611
if test -z "$postdep_objects_CXX"; then
15612
postdep_objects_CXX="$p"
15614
postdep_objects_CXX="$postdep_objects_CXX $p"
15619
*) ;; # Ignore the rest.
15627
echo "libtool.m4: error: problem compiling CXX test program"
15630
$RM -f confest.$objext
15632
# PORTME: override above test on systems where it is broken
15635
# Interix 3.5 installs completely hosed .la files for C++, so rather than
15636
# hack all around it, let's just trust "g++" to DTRT.
15637
predep_objects_CXX=
15638
postdep_objects_CXX=
15643
case `$CC -V 2>&1 | sed 5q` in
15647
# The more standards-conforming stlport4 library is
15648
# incompatible with the Cstd library. Avoid specifying
15649
# it if it's in CXXFLAGS. Ignore libCrun as
15650
# -library=stlport4 depends on it.
15651
case " $CXX $CXXFLAGS " in
15652
*" -library=stlport4 "*)
15653
solaris_use_stlport4=yes
15657
if test "$solaris_use_stlport4" != yes; then
15658
postdeps_CXX='-library=Cstd -library=Crun'
15665
case $cc_basename in
15667
# The more standards-conforming stlport4 library is
15668
# incompatible with the Cstd library. Avoid specifying
15669
# it if it's in CXXFLAGS. Ignore libCrun as
15670
# -library=stlport4 depends on it.
15671
case " $CXX $CXXFLAGS " in
15672
*" -library=stlport4 "*)
15673
solaris_use_stlport4=yes
15677
# Adding this requires a known-good setup of shared libraries for
15678
# Sun compiler versions before 5.6, else PIC objects from an old
15679
# archive will be linked into the output, leading to subtle bugs.
15680
if test "$solaris_use_stlport4" != yes; then
15681
postdeps_CXX='-library=Cstd -library=Crun'
15689
case " $postdeps_CXX " in
15690
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
15692
compiler_lib_search_dirs_CXX=
15693
if test -n "${compiler_lib_search_path_CXX}"; then
15694
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
15727
lt_prog_compiler_wl_CXX=
15728
lt_prog_compiler_pic_CXX=
15729
lt_prog_compiler_static_CXX=
15731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15732
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15734
# C++ specific cases for pic, static, wl, etc.
15735
if test "$GXX" = yes; then
15736
lt_prog_compiler_wl_CXX='-Wl,'
15737
lt_prog_compiler_static_CXX='-static'
15741
# All AIX code is PIC.
15742
if test "$host_cpu" = ia64; then
15743
# AIX 5 now supports IA64 processor
15744
lt_prog_compiler_static_CXX='-Bstatic'
15751
# see comment about AmigaOS4 .so support
15752
lt_prog_compiler_pic_CXX='-fPIC'
15755
# FIXME: we need at least 68020 code to build shared libraries, but
15756
# adding the `-m68020' flag to GCC prevents building anything better,
15758
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15763
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15764
# PIC is the default for these OSes.
15766
mingw* | cygwin* | os2* | pw32* | cegcc*)
15767
# This hack is so that the source file can tell whether it is being
15768
# built for inclusion in a dll (and should export symbols for example).
15769
# Although the cygwin gcc ignores -fPIC, still need this for old-style
15770
# (--disable-auto-import) libraries
15771
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15773
darwin* | rhapsody*)
15774
# PIC is the default on this platform
15775
# Common symbols not allowed in MH_DYLIB files
15776
lt_prog_compiler_pic_CXX='-fno-common'
15779
# DJGPP does not support shared libraries at all
15780
lt_prog_compiler_pic_CXX=
15783
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
15784
# Instead, we relocate shared libraries at runtime.
15787
if test -d /usr/nec; then
15788
lt_prog_compiler_pic_CXX=-Kconform_pic
15792
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15793
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
15794
# sets the default TLS model and affects inlining.
15799
lt_prog_compiler_pic_CXX='-fPIC'
15804
# QNX uses GNU C++, but need to define -shared option too, otherwise
15805
# it will coredump.
15806
lt_prog_compiler_pic_CXX='-fPIC -shared'
15809
lt_prog_compiler_pic_CXX='-fPIC'
15815
# All AIX code is PIC.
15816
if test "$host_cpu" = ia64; then
15817
# AIX 5 now supports IA64 processor
15818
lt_prog_compiler_static_CXX='-Bstatic'
15820
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15824
case $cc_basename in
15826
# Green Hills C++ Compiler
15827
# _LT_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"
15832
case $cc_basename in
15834
lt_prog_compiler_pic_CXX='-KPIC'
15837
# Green Hills C++ Compiler
15838
lt_prog_compiler_pic_CXX='-pic'
15844
freebsd* | dragonfly*)
15845
# FreeBSD uses GNU C++
15847
hpux9* | hpux10* | hpux11*)
15848
case $cc_basename in
15850
lt_prog_compiler_wl_CXX='-Wl,'
15851
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15852
if test "$host_cpu" != ia64; then
15853
lt_prog_compiler_pic_CXX='+Z'
15857
lt_prog_compiler_wl_CXX='-Wl,'
15858
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
15864
lt_prog_compiler_pic_CXX='+Z'
15873
# This is c89, which is MS Visual C++ (no shared libs)
15874
# Anyone wants to do a port?
15876
irix5* | irix6* | nonstopux*)
15877
case $cc_basename in
15879
lt_prog_compiler_wl_CXX='-Wl,'
15880
lt_prog_compiler_static_CXX='-non_shared'
15881
# CC pic flag -KPIC is the default.
15887
linux* | k*bsd*-gnu)
15888
case $cc_basename in
15891
lt_prog_compiler_wl_CXX='--backend -Wl,'
15892
lt_prog_compiler_pic_CXX='-fPIC'
15895
# old Intel C++ for x86_64 which still supported -KPIC.
15896
lt_prog_compiler_wl_CXX='-Wl,'
15897
lt_prog_compiler_pic_CXX='-KPIC'
15898
lt_prog_compiler_static_CXX='-static'
15901
# Intel C++, used to be incompatible with GCC.
15902
# ICC 10 doesn't accept -KPIC any more.
15903
lt_prog_compiler_wl_CXX='-Wl,'
15904
lt_prog_compiler_pic_CXX='-fPIC'
15905
lt_prog_compiler_static_CXX='-static'
15908
# Portland Group C++ compiler
15909
lt_prog_compiler_wl_CXX='-Wl,'
15910
lt_prog_compiler_pic_CXX='-fpic'
15911
lt_prog_compiler_static_CXX='-Bstatic'
15915
# Make sure the PIC flag is empty. It appears that all Alpha
15916
# Linux and Compaq Tru64 Unix objects are PIC.
15917
lt_prog_compiler_pic_CXX=
15918
lt_prog_compiler_static_CXX='-non_shared'
15921
# IBM XL 8.0 on PPC
15922
lt_prog_compiler_wl_CXX='-Wl,'
15923
lt_prog_compiler_pic_CXX='-qpic'
15924
lt_prog_compiler_static_CXX='-qstaticlink'
15927
case `$CC -V 2>&1 | sed 5q` in
15930
lt_prog_compiler_pic_CXX='-KPIC'
15931
lt_prog_compiler_static_CXX='-Bstatic'
15932
lt_prog_compiler_wl_CXX='-Qoption ld '
15943
case $cc_basename in
15945
lt_prog_compiler_pic_CXX='-W c,exportall'
15954
# QNX uses GNU C++, but need to define -shared option too, otherwise
15955
# it will coredump.
15956
lt_prog_compiler_pic_CXX='-fPIC -shared'
15958
osf3* | osf4* | osf5*)
15959
case $cc_basename in
15961
lt_prog_compiler_wl_CXX='--backend -Wl,'
15964
# Rational C++ 2.4.1
15965
lt_prog_compiler_pic_CXX='-pic'
15968
# Digital/Compaq C++
15969
lt_prog_compiler_wl_CXX='-Wl,'
15970
# Make sure the PIC flag is empty. It appears that all Alpha
15971
# Linux and Compaq Tru64 Unix objects are PIC.
15972
lt_prog_compiler_pic_CXX=
15973
lt_prog_compiler_static_CXX='-non_shared'
15982
case $cc_basename in
15984
# Sun C++ 4.2, 5.x and Centerline C++
15985
lt_prog_compiler_pic_CXX='-KPIC'
15986
lt_prog_compiler_static_CXX='-Bstatic'
15987
lt_prog_compiler_wl_CXX='-Qoption ld '
15990
# Green Hills C++ Compiler
15991
lt_prog_compiler_pic_CXX='-PIC'
15998
case $cc_basename in
16001
lt_prog_compiler_pic_CXX='-pic'
16002
lt_prog_compiler_static_CXX='-Bstatic'
16006
lt_prog_compiler_pic_CXX='-pic'
16012
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16013
case $cc_basename in
16015
lt_prog_compiler_wl_CXX='-Wl,'
16016
lt_prog_compiler_pic_CXX='-KPIC'
16017
lt_prog_compiler_static_CXX='-Bstatic'
16022
case $cc_basename in
16024
# NonStop-UX NCC 3.20
16025
lt_prog_compiler_pic_CXX='-KPIC'
16034
lt_prog_compiler_can_build_shared_CXX=no
16040
# For platforms which do not support PIC, -DPIC is meaningless:
16042
lt_prog_compiler_pic_CXX=
16045
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
16049
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
16054
# Check to make sure the PIC flag actually works.
16056
if test -n "$lt_prog_compiler_pic_CXX"; then
16057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16058
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16059
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
16060
$as_echo_n "(cached) " >&6
16062
lt_cv_prog_compiler_pic_works_CXX=no
16063
ac_outfile=conftest.$ac_objext
16064
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16065
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16066
# Insert the option either (1) after the last *FLAGS variable, or
16067
# (2) before a word containing "conftest.", or (3) at the end.
16068
# Note that $ac_compile itself does not contain backslashes and begins
16069
# with a dollar sign (not a hyphen), so the echo should work correctly.
16070
# The option is referenced via a variable to avoid confusing sed.
16071
lt_compile=`echo "$ac_compile" | $SED \
16072
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16073
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16074
-e 's:$: $lt_compiler_flag:'`
16075
(eval echo "\"\$as_me:16075: $lt_compile\"" >&5)
16076
(eval "$lt_compile" 2>conftest.err)
16078
cat conftest.err >&5
16079
echo "$as_me:16079: \$? = $ac_status" >&5
16080
if (exit $ac_status) && test -s "$ac_outfile"; then
16081
# The compiler can only warn and ignore the option if not recognized
16082
# So say no if there are warnings other than the usual output.
16083
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
16084
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16085
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16086
lt_cv_prog_compiler_pic_works_CXX=yes
16092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16093
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16095
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16096
case $lt_prog_compiler_pic_CXX in
16098
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16101
lt_prog_compiler_pic_CXX=
16102
lt_prog_compiler_can_build_shared_CXX=no
16110
# Check to make sure the static flag actually works.
16112
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16114
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16115
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
16116
$as_echo_n "(cached) " >&6
16118
lt_cv_prog_compiler_static_works_CXX=no
16119
save_LDFLAGS="$LDFLAGS"
16120
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16121
echo "$lt_simple_link_test_code" > conftest.$ac_ext
16122
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16123
# The linker can only warn and ignore the option if not recognized
16124
# So say no if there are warnings
16125
if test -s conftest.err; then
16126
# Append any errors to the config.log.
16127
cat conftest.err 1>&5
16128
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
16129
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16130
if diff conftest.exp conftest.er2 >/dev/null; then
16131
lt_cv_prog_compiler_static_works_CXX=yes
16134
lt_cv_prog_compiler_static_works_CXX=yes
16138
LDFLAGS="$save_LDFLAGS"
16141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16142
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16144
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16147
lt_prog_compiler_static_CXX=
16153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16154
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16155
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
16156
$as_echo_n "(cached) " >&6
16158
lt_cv_prog_compiler_c_o_CXX=no
16159
$RM -r conftest 2>/dev/null
16163
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16165
lt_compiler_flag="-o out/conftest2.$ac_objext"
16166
# Insert the option either (1) after the last *FLAGS variable, or
16167
# (2) before a word containing "conftest.", or (3) at the end.
16168
# Note that $ac_compile itself does not contain backslashes and begins
16169
# with a dollar sign (not a hyphen), so the echo should work correctly.
16170
lt_compile=`echo "$ac_compile" | $SED \
16171
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16172
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16173
-e 's:$: $lt_compiler_flag:'`
16174
(eval echo "\"\$as_me:16174: $lt_compile\"" >&5)
16175
(eval "$lt_compile" 2>out/conftest.err)
16177
cat out/conftest.err >&5
16178
echo "$as_me:16178: \$? = $ac_status" >&5
16179
if (exit $ac_status) && test -s out/conftest2.$ac_objext
16181
# The compiler can only warn and ignore the option if not recognized
16182
# So say no if there are warnings
16183
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16184
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16185
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16186
lt_cv_prog_compiler_c_o_CXX=yes
16191
# SGI C++ compiler will create directory out/ii_files/ for
16192
# template instantiation
16193
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16194
$RM out/* && rmdir out
16200
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16201
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16206
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16207
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
16208
$as_echo_n "(cached) " >&6
16210
lt_cv_prog_compiler_c_o_CXX=no
16211
$RM -r conftest 2>/dev/null
16215
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16217
lt_compiler_flag="-o out/conftest2.$ac_objext"
16218
# Insert the option either (1) after the last *FLAGS variable, or
16219
# (2) before a word containing "conftest.", or (3) at the end.
16220
# Note that $ac_compile itself does not contain backslashes and begins
16221
# with a dollar sign (not a hyphen), so the echo should work correctly.
16222
lt_compile=`echo "$ac_compile" | $SED \
16223
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16224
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16225
-e 's:$: $lt_compiler_flag:'`
16226
(eval echo "\"\$as_me:16226: $lt_compile\"" >&5)
16227
(eval "$lt_compile" 2>out/conftest.err)
16229
cat out/conftest.err >&5
16230
echo "$as_me:16230: \$? = $ac_status" >&5
16231
if (exit $ac_status) && test -s out/conftest2.$ac_objext
16233
# The compiler can only warn and ignore the option if not recognized
16234
# So say no if there are warnings
16235
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
16236
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16237
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16238
lt_cv_prog_compiler_c_o_CXX=yes
16243
# SGI C++ compiler will create directory out/ii_files/ for
16244
# template instantiation
16245
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16246
$RM out/* && rmdir out
16252
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16253
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16258
hard_links="nottested"
16259
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16260
# do not overwrite the value of need_locks provided by the user
16261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16262
$as_echo_n "checking if we can lock with hard links... " >&6; }
16265
ln conftest.a conftest.b 2>/dev/null && hard_links=no
16267
ln conftest.a conftest.b 2>&5 || hard_links=no
16268
ln conftest.a conftest.b 2>/dev/null && hard_links=no
16269
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16270
$as_echo "$hard_links" >&6; }
16271
if test "$hard_links" = no; then
16272
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16273
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16282
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16283
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16285
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16288
# If we're using GNU nm, then we don't want the "-C" option.
16289
# -C means demangle to AIX nm, but means don't demangle with GNU nm
16290
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16291
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'
16293
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'
16297
export_symbols_cmds_CXX="$ltdll_cmds"
16299
cygwin* | mingw* | cegcc*)
16300
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'
16303
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16306
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16308
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16309
$as_echo "$ld_shlibs_CXX" >&6; }
16310
test "$ld_shlibs_CXX" = no && can_build_shared=no
16312
with_gnu_ld_CXX=$with_gnu_ld
16320
# Do we need to explicitly link libc?
16322
case "x$archive_cmds_need_lc_CXX" in
16324
# Assume -lc should be added
16325
archive_cmds_need_lc_CXX=yes
16327
if test "$enable_shared" = yes && test "$GCC" = yes; then
16328
case $archive_cmds_CXX in
16330
# FIXME: we may have to deal with multi-command sequences.
16333
# Test whether the compiler implicitly links with -lc since on some
16334
# systems, -lgcc has to come before -lc. If gcc already passes -lc
16335
# to ld, don't add -lc before -lgcc.
16336
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16337
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16339
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16341
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16342
(eval $ac_compile) 2>&5
16344
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16345
test $ac_status = 0; } 2>conftest.err; then
16348
libobjs=conftest.$ac_objext
16350
wl=$lt_prog_compiler_wl_CXX
16351
pic_flag=$lt_prog_compiler_pic_CXX
16357
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16358
allow_undefined_flag_CXX=
16359
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16360
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16362
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16363
test $ac_status = 0; }
16365
archive_cmds_need_lc_CXX=no
16367
archive_cmds_need_lc_CXX=yes
16369
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16371
cat conftest.err 1>&5
16374
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
16375
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
16445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16446
$as_echo_n "checking dynamic linker characteristics... " >&6; }
16448
library_names_spec=
16449
libname_spec='lib$name'
16453
postuninstall_cmds=
16457
shlibpath_overrides_runpath=unknown
16459
dynamic_linker="$host_os ld.so"
16460
sys_lib_dlsearch_path_spec="/lib /usr/lib"
16461
need_lib_prefix=unknown
16462
hardcode_into_libs=no
16464
# when you set need_version to no, make sure it does not cause -set_version
16465
# flags to be left without arguments
16466
need_version=unknown
16471
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16472
shlibpath_var=LIBPATH
16474
# AIX 3 has no versioning support, so we append a major version to the name.
16475
soname_spec='${libname}${release}${shared_ext}$major'
16482
hardcode_into_libs=yes
16483
if test "$host_cpu" = ia64; then
16484
# AIX 5 supports IA64
16485
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16486
shlibpath_var=LD_LIBRARY_PATH
16488
# With GCC up to 2.95.x, collect2 would create an import file
16489
# for dependence libraries. The import file would start with
16490
# the line `#! .'. This would cause the generated library to
16491
# depend on `.', always an invalid library. This was fixed in
16492
# development snapshots of GCC prior to 3.0.
16494
aix4 | aix4.[01] | aix4.[01].*)
16495
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16497
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16500
can_build_shared=no
16504
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16505
# soname into executable. Probably we can add versioning support to
16506
# collect2, so additional links can be useful in future.
16507
if test "$aix_use_runtimelinking" = yes; then
16508
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
16509
# instead of lib<name>.a to let people know that these are not
16510
# typical AIX shared libraries.
16511
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16513
# We preserve .a as extension for shared libraries through AIX4.2
16514
# and later when we are not doing run time linking.
16515
library_names_spec='${libname}${release}.a $libname.a'
16516
soname_spec='${libname}${release}${shared_ext}$major'
16518
shlibpath_var=LIBPATH
16525
# Since July 2007 AmigaOS4 officially supports .so libraries.
16526
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16527
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16530
library_names_spec='$libname.ixlibrary $libname.a'
16531
# Create ${libname}_ixlibrary.a entries in /sys/libs.
16532
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'
16538
library_names_spec='${libname}${shared_ext}'
16539
dynamic_linker="$host_os ld.so"
16540
shlibpath_var=LIBRARY_PATH
16546
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16547
soname_spec='${libname}${release}${shared_ext}$major'
16548
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16549
shlibpath_var=LD_LIBRARY_PATH
16550
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16551
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16552
# the default ld.so.conf also contains /usr/contrib/lib and
16553
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16554
# libtool to hard-code these into programs
16557
cygwin* | mingw* | pw32* | cegcc*)
16558
version_type=windows
16563
case $GCC,$host_os in
16564
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
16565
library_names_spec='$libname.dll.a'
16566
# DLL is installed to $(libdir)/../bin by postinstall_cmds
16567
postinstall_cmds='base_file=`basename \${file}`~
16568
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16569
dldir=$destdir/`dirname \$dlpath`~
16570
test -d \$dldir || mkdir -p \$dldir~
16571
$install_prog $dir/$dlname \$dldir/$dlname~
16572
chmod a+x \$dldir/$dlname~
16573
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16574
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16576
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16577
dlpath=$dir/\$dldll~
16579
shlibpath_overrides_runpath=yes
16583
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
16584
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16585
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
16588
# MinGW DLLs use traditional 'lib' prefix
16589
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16590
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16591
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16592
# It is most probably a Windows format PATH printed by
16593
# mingw gcc, but we are running on Cygwin. Gcc prints its search
16594
# path with ; separators, and with drive letters. We can handle the
16595
# drive letters (cygwin fileutils understands them), so leave them,
16596
# especially as we might pass files found there to a mingw objdump,
16597
# which wouldn't understand a cygwinified path. Ahh.
16598
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16600
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16604
# pw32 DLLs use 'pw' prefix rather than 'lib'
16605
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16611
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16614
dynamic_linker='Win32 ld.exe'
16615
# FIXME: first we should search . and the directory the executable is in
16619
darwin* | rhapsody*)
16620
dynamic_linker="$host_os dyld"
16621
version_type=darwin
16624
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16625
soname_spec='${libname}${release}${major}$shared_ext'
16626
shlibpath_overrides_runpath=yes
16627
shlibpath_var=DYLD_LIBRARY_PATH
16628
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16630
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16637
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16638
soname_spec='${libname}${release}${shared_ext}$major'
16639
shlibpath_var=LD_LIBRARY_PATH
16646
freebsd* | dragonfly*)
16647
# DragonFly does not have aout. When/if they implement a new
16648
# versioning mechanism, adjust this.
16649
if test -x /usr/bin/objformat; then
16650
objformat=`/usr/bin/objformat`
16653
freebsd[123]*) objformat=aout ;;
16654
*) objformat=elf ;;
16657
version_type=freebsd-$objformat
16658
case $version_type in
16660
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16665
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16669
shlibpath_var=LD_LIBRARY_PATH
16672
shlibpath_overrides_runpath=yes
16674
freebsd3.[01]* | freebsdelf3.[01]*)
16675
shlibpath_overrides_runpath=yes
16676
hardcode_into_libs=yes
16678
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16679
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16680
shlibpath_overrides_runpath=no
16681
hardcode_into_libs=yes
16683
*) # from 4.6 on, and DragonFly
16684
shlibpath_overrides_runpath=yes
16685
hardcode_into_libs=yes
16694
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16695
soname_spec='${libname}${release}${shared_ext}$major'
16696
shlibpath_var=LD_LIBRARY_PATH
16697
hardcode_into_libs=yes
16700
hpux9* | hpux10* | hpux11*)
16701
# Give a soname corresponding to the major version so that dld.sl refuses to
16702
# link against other versions.
16709
hardcode_into_libs=yes
16710
dynamic_linker="$host_os dld.so"
16711
shlibpath_var=LD_LIBRARY_PATH
16712
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16713
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16714
soname_spec='${libname}${release}${shared_ext}$major'
16715
if test "X$HPUX_IA64_MODE" = X32; then
16716
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16718
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16720
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16724
hardcode_into_libs=yes
16725
dynamic_linker="$host_os dld.sl"
16726
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16727
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16728
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16729
soname_spec='${libname}${release}${shared_ext}$major'
16730
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16731
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16735
dynamic_linker="$host_os dld.sl"
16736
shlibpath_var=SHLIB_PATH
16737
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16738
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16739
soname_spec='${libname}${release}${shared_ext}$major'
16742
# HP-UX runs *really* slowly unless shared libraries are mode 555.
16743
postinstall_cmds='chmod 555 $lib'
16750
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16751
soname_spec='${libname}${release}${shared_ext}$major'
16752
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16753
shlibpath_var=LD_LIBRARY_PATH
16754
shlibpath_overrides_runpath=no
16755
hardcode_into_libs=yes
16758
irix5* | irix6* | nonstopux*)
16760
nonstopux*) version_type=nonstopux ;;
16762
if test "$lt_cv_prog_gnu_ld" = yes; then
16770
soname_spec='${libname}${release}${shared_ext}$major'
16771
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16773
irix5* | nonstopux*)
16774
libsuff= shlibsuff=
16777
case $LD in # libtool.m4 will add one of these switches to LD
16778
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16779
libsuff= shlibsuff= libmagic=32-bit;;
16780
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16781
libsuff=32 shlibsuff=N32 libmagic=N32;;
16782
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16783
libsuff=64 shlibsuff=64 libmagic=64-bit;;
16784
*) libsuff= shlibsuff= libmagic=never-match;;
16788
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16789
shlibpath_overrides_runpath=no
16790
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16791
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16792
hardcode_into_libs=yes
16795
# No shared lib support for Linux oldld, aout, or coff.
16796
linux*oldld* | linux*aout* | linux*coff*)
16800
# This must be Linux ELF.
16801
linux* | k*bsd*-gnu)
16805
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16806
soname_spec='${libname}${release}${shared_ext}$major'
16807
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16808
shlibpath_var=LD_LIBRARY_PATH
16809
shlibpath_overrides_runpath=no
16810
# Some binutils ld are patched to set DT_RUNPATH
16811
save_LDFLAGS=$LDFLAGS
16812
save_libdir=$libdir
16813
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16814
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16815
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16816
/* end confdefs.h. */
16826
if ac_fn_cxx_try_link "$LINENO"; then :
16827
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16828
shlibpath_overrides_runpath=yes
16831
rm -f core conftest.err conftest.$ac_objext \
16832
conftest$ac_exeext conftest.$ac_ext
16833
LDFLAGS=$save_LDFLAGS
16834
libdir=$save_libdir
16836
# This implies no fast_install, which is unacceptable.
16837
# Some rework will be needed to allow for fast_install
16838
# before this can be enabled.
16839
hardcode_into_libs=yes
16841
# Add ABI-specific directories to the system library path.
16842
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
16844
# Append ld.so.conf contents to the search path
16845
if test -f /etc/ld.so.conf; then
16846
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
16847
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
16850
# We used to test for /lib/ld.so.1 and disable shared libraries on
16851
# powerpc, because MkLinux only supported shared libraries with the
16852
# GNU dynamic linker. Since this was broken with cross compilers,
16853
# most powerpc-linux boxes support dynamic linking these days and
16854
# people can always --disable-shared, the test was removed, and we
16855
# assume the GNU/Linux dynamic linker is in use.
16856
dynamic_linker='GNU/Linux ld.so'
16863
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16864
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16865
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16866
dynamic_linker='NetBSD (a.out) ld.so'
16868
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
16869
soname_spec='${libname}${release}${shared_ext}$major'
16870
dynamic_linker='NetBSD ld.elf_so'
16872
shlibpath_var=LD_LIBRARY_PATH
16873
shlibpath_overrides_runpath=yes
16874
hardcode_into_libs=yes
16879
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16880
shlibpath_var=LD_LIBRARY_PATH
16881
shlibpath_overrides_runpath=yes
16888
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16889
soname_spec='${libname}${release}${shared_ext}$major'
16890
shlibpath_var=LD_LIBRARY_PATH
16891
shlibpath_overrides_runpath=no
16892
hardcode_into_libs=yes
16893
dynamic_linker='ldqnx.so'
16898
sys_lib_dlsearch_path_spec="/usr/lib"
16900
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
16902
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
16903
*) need_version=no ;;
16905
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16906
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16907
shlibpath_var=LD_LIBRARY_PATH
16908
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16910
openbsd2.[89] | openbsd2.[89].*)
16911
shlibpath_overrides_runpath=no
16914
shlibpath_overrides_runpath=yes
16918
shlibpath_overrides_runpath=yes
16923
libname_spec='$name'
16926
library_names_spec='$libname${shared_ext} $libname.a'
16927
dynamic_linker='OS/2 ld.exe'
16928
shlibpath_var=LIBPATH
16931
osf3* | osf4* | osf5*)
16935
soname_spec='${libname}${release}${shared_ext}$major'
16936
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16937
shlibpath_var=LD_LIBRARY_PATH
16938
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16939
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16950
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16951
soname_spec='${libname}${release}${shared_ext}$major'
16952
shlibpath_var=LD_LIBRARY_PATH
16953
shlibpath_overrides_runpath=yes
16954
hardcode_into_libs=yes
16955
# ldd complains unless libraries are executable
16956
postinstall_cmds='chmod +x $lib'
16961
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16962
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16963
shlibpath_var=LD_LIBRARY_PATH
16964
shlibpath_overrides_runpath=yes
16965
if test "$with_gnu_ld" = yes; then
16973
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16974
soname_spec='${libname}${release}${shared_ext}$major'
16975
shlibpath_var=LD_LIBRARY_PATH
16976
case $host_vendor in
16978
shlibpath_overrides_runpath=no
16980
runpath_var=LD_RUN_PATH
16988
shlibpath_overrides_runpath=no
16989
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16995
if test -d /usr/nec ;then
16997
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16998
soname_spec='$libname${shared_ext}.$major'
16999
shlibpath_var=LD_LIBRARY_PATH
17003
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17004
version_type=freebsd-elf
17007
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17008
soname_spec='${libname}${release}${shared_ext}$major'
17009
shlibpath_var=LD_LIBRARY_PATH
17010
shlibpath_overrides_runpath=yes
17011
hardcode_into_libs=yes
17012
if test "$with_gnu_ld" = yes; then
17013
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17015
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17018
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17022
sys_lib_dlsearch_path_spec='/usr/lib'
17026
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17030
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17031
shlibpath_var=LD_LIBRARY_PATH
17032
shlibpath_overrides_runpath=no
17033
hardcode_into_libs=yes
17038
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17039
soname_spec='${libname}${release}${shared_ext}$major'
17040
shlibpath_var=LD_LIBRARY_PATH
17047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17048
$as_echo "$dynamic_linker" >&6; }
17049
test "$dynamic_linker" = no && can_build_shared=no
17051
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17052
if test "$GCC" = yes; then
17053
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17056
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17057
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17059
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17060
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17099
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17100
hardcode_action_CXX=
17101
if test -n "$hardcode_libdir_flag_spec_CXX" ||
17102
test -n "$runpath_var_CXX" ||
17103
test "X$hardcode_automatic_CXX" = "Xyes" ; then
17105
# We can hardcode non-existent directories.
17106
if test "$hardcode_direct_CXX" != no &&
17107
# If the only mechanism to avoid hardcoding is shlibpath_var, we
17108
# have to relink, otherwise we might link with an installed library
17109
# when we should be linking with a yet-to-be-installed one
17110
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17111
test "$hardcode_minus_L_CXX" != no; then
17112
# Linking always hardcodes the temporary library directory.
17113
hardcode_action_CXX=relink
17115
# We can link without hardcoding, and we can hardcode nonexisting dirs.
17116
hardcode_action_CXX=immediate
17119
# We cannot hardcode anything, or else we can only hardcode existing
17121
hardcode_action_CXX=unsupported
17123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17124
$as_echo "$hardcode_action_CXX" >&6; }
17126
if test "$hardcode_action_CXX" = relink ||
17127
test "$inherit_rpath_CXX" = yes; then
17128
# Fast installation is not supported
17129
enable_fast_install=no
17130
elif test "$shlibpath_overrides_runpath" = yes ||
17131
test "$enable_shared" = no; then
17132
# Fast installation is not necessary
17133
enable_fast_install=needless
17142
fi # test -n "$compiler"
17148
with_gnu_ld=$lt_save_with_gnu_ld
17149
lt_cv_path_LDCXX=$lt_cv_path_LD
17150
lt_cv_path_LD=$lt_save_path_LD
17151
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17152
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17153
fi # test "$_lt_caught_CXX_error" != yes
17156
ac_cpp='$CPP $CPPFLAGS'
17157
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17158
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17159
ac_compiler_gnu=$ac_cv_c_compiler_gnu
17173
ac_config_commands="$ac_config_commands libtool"
17178
# Only expand once:
17182
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
17183
set dummy glib-genmarshal; ac_word=$2
17184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17185
$as_echo_n "checking for $ac_word... " >&6; }
17186
if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then :
17187
$as_echo_n "(cached) " >&6
17189
case $GLIB_GENMARSHAL in
17191
ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
17194
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17195
for as_dir in $PATH
17198
test -z "$as_dir" && as_dir=.
17199
for ac_exec_ext in '' $ac_executable_extensions; do
17200
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17201
ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
17202
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17212
GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
17213
if test -n "$GLIB_GENMARSHAL"; then
17214
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
17215
$as_echo "$GLIB_GENMARSHAL" >&6; }
17217
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17218
$as_echo "no" >&6; }
17223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Win32" >&5
17224
$as_echo_n "checking for Win32... " >&6; }
17234
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
17235
$as_echo "$os_win32" >&6; }
17236
if test $os_win32 = yes; then
17250
GAIL_MODULES="gail >= 1.1.0"
17253
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17254
if test -n "$ac_tool_prefix"; then
17255
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17256
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17257
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17258
$as_echo_n "checking for $ac_word... " >&6; }
17259
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
17260
$as_echo_n "(cached) " >&6
17262
case $PKG_CONFIG in
17264
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17267
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17268
for as_dir in $PATH
17271
test -z "$as_dir" && as_dir=.
17272
for ac_exec_ext in '' $ac_executable_extensions; do
17273
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17274
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17275
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17285
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17286
if test -n "$PKG_CONFIG"; then
17287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17288
$as_echo "$PKG_CONFIG" >&6; }
17290
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17291
$as_echo "no" >&6; }
17296
if test -z "$ac_cv_path_PKG_CONFIG"; then
17297
ac_pt_PKG_CONFIG=$PKG_CONFIG
17298
# Extract the first word of "pkg-config", so it can be a program name with args.
17299
set dummy pkg-config; ac_word=$2
17300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17301
$as_echo_n "checking for $ac_word... " >&6; }
17302
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
17303
$as_echo_n "(cached) " >&6
17305
case $ac_pt_PKG_CONFIG in
17307
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17310
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17311
for as_dir in $PATH
17314
test -z "$as_dir" && as_dir=.
17315
for ac_exec_ext in '' $ac_executable_extensions; do
17316
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17317
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17318
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17328
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17329
if test -n "$ac_pt_PKG_CONFIG"; then
17330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17331
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
17333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17334
$as_echo "no" >&6; }
17337
if test "x$ac_pt_PKG_CONFIG" = x; then
17340
case $cross_compiling:$ac_tool_warned in
17342
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17343
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17344
ac_tool_warned=yes ;;
17346
PKG_CONFIG=$ac_pt_PKG_CONFIG
17349
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17353
if test -n "$PKG_CONFIG"; then
17354
_pkg_min_version=0.9.0
17355
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17356
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17357
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17358
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17359
$as_echo "yes" >&6; }
17361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17362
$as_echo "no" >&6; }
17369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GAIL" >&5
17370
$as_echo_n "checking for GAIL... " >&6; }
17372
if test -n "$GAIL_CFLAGS"; then
17373
pkg_cv_GAIL_CFLAGS="$GAIL_CFLAGS"
17374
elif test -n "$PKG_CONFIG"; then
17375
if test -n "$PKG_CONFIG" && \
17376
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GAIL_MODULES\""; } >&5
17377
($PKG_CONFIG --exists --print-errors "$GAIL_MODULES") 2>&5
17379
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17380
test $ac_status = 0; }; then
17381
pkg_cv_GAIL_CFLAGS=`$PKG_CONFIG --cflags "$GAIL_MODULES" 2>/dev/null`
17388
if test -n "$GAIL_LIBS"; then
17389
pkg_cv_GAIL_LIBS="$GAIL_LIBS"
17390
elif test -n "$PKG_CONFIG"; then
17391
if test -n "$PKG_CONFIG" && \
17392
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GAIL_MODULES\""; } >&5
17393
($PKG_CONFIG --exists --print-errors "$GAIL_MODULES") 2>&5
17395
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17396
test $ac_status = 0; }; then
17397
pkg_cv_GAIL_LIBS=`$PKG_CONFIG --libs "$GAIL_MODULES" 2>/dev/null`
17407
if test $pkg_failed = yes; then
17409
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17410
_pkg_short_errors_supported=yes
17412
_pkg_short_errors_supported=no
17414
if test $_pkg_short_errors_supported = yes; then
17415
GAIL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$GAIL_MODULES" 2>&1`
17417
GAIL_PKG_ERRORS=`$PKG_CONFIG --print-errors "$GAIL_MODULES" 2>&1`
17419
# Put the nasty error message in config.log where it belongs
17420
echo "$GAIL_PKG_ERRORS" >&5
17422
as_fn_error "Package requirements ($GAIL_MODULES) were not met:
17426
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17427
installed software in a non-standard prefix.
17429
Alternatively, you may set the environment variables GAIL_CFLAGS
17430
and GAIL_LIBS to avoid the need to call pkg-config.
17431
See the pkg-config man page for more details.
17433
elif test $pkg_failed = untried; then
17434
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17435
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17436
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
17437
is in your PATH or set the PKG_CONFIG environment variable to the full
17438
path to pkg-config.
17440
Alternatively, you may set the environment variables GAIL_CFLAGS
17441
and GAIL_LIBS to avoid the need to call pkg-config.
17442
See the pkg-config man page for more details.
17444
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17445
See \`config.log' for more details." "$LINENO" 5; }
17447
GAIL_CFLAGS=$pkg_cv_GAIL_CFLAGS
17448
GAIL_LIBS=$pkg_cv_GAIL_LIBS
17449
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17450
$as_echo "yes" >&6; }
17457
GTHREAD_MODULES="gthread-2.0"
17460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD" >&5
17461
$as_echo_n "checking for GTHREAD... " >&6; }
17463
if test -n "$GTHREAD_CFLAGS"; then
17464
pkg_cv_GTHREAD_CFLAGS="$GTHREAD_CFLAGS"
17465
elif test -n "$PKG_CONFIG"; then
17466
if test -n "$PKG_CONFIG" && \
17467
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GTHREAD_MODULES\""; } >&5
17468
($PKG_CONFIG --exists --print-errors "$GTHREAD_MODULES") 2>&5
17470
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17471
test $ac_status = 0; }; then
17472
pkg_cv_GTHREAD_CFLAGS=`$PKG_CONFIG --cflags "$GTHREAD_MODULES" 2>/dev/null`
17479
if test -n "$GTHREAD_LIBS"; then
17480
pkg_cv_GTHREAD_LIBS="$GTHREAD_LIBS"
17481
elif test -n "$PKG_CONFIG"; then
17482
if test -n "$PKG_CONFIG" && \
17483
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GTHREAD_MODULES\""; } >&5
17484
($PKG_CONFIG --exists --print-errors "$GTHREAD_MODULES") 2>&5
17486
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17487
test $ac_status = 0; }; then
17488
pkg_cv_GTHREAD_LIBS=`$PKG_CONFIG --libs "$GTHREAD_MODULES" 2>/dev/null`
17498
if test $pkg_failed = yes; then
17500
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17501
_pkg_short_errors_supported=yes
17503
_pkg_short_errors_supported=no
17505
if test $_pkg_short_errors_supported = yes; then
17506
GTHREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$GTHREAD_MODULES" 2>&1`
17508
GTHREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors "$GTHREAD_MODULES" 2>&1`
17510
# Put the nasty error message in config.log where it belongs
17511
echo "$GTHREAD_PKG_ERRORS" >&5
17513
as_fn_error "Package requirements ($GTHREAD_MODULES) were not met:
17515
$GTHREAD_PKG_ERRORS
17517
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17518
installed software in a non-standard prefix.
17520
Alternatively, you may set the environment variables GTHREAD_CFLAGS
17521
and GTHREAD_LIBS to avoid the need to call pkg-config.
17522
See the pkg-config man page for more details.
17524
elif test $pkg_failed = untried; then
17525
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17526
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17527
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
17528
is in your PATH or set the PKG_CONFIG environment variable to the full
17529
path to pkg-config.
17531
Alternatively, you may set the environment variables GTHREAD_CFLAGS
17532
and GTHREAD_LIBS to avoid the need to call pkg-config.
17533
See the pkg-config man page for more details.
17535
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17536
See \`config.log' for more details." "$LINENO" 5; }
17538
GTHREAD_CFLAGS=$pkg_cv_GTHREAD_CFLAGS
17539
GTHREAD_LIBS=$pkg_cv_GTHREAD_LIBS
17540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17541
$as_echo "yes" >&6; }
17547
GTKHTML_MODULES="gtk+-2.0 >= 2.18.0 enchant >= 1.1.7 gconf-2.0 iso-codes"
17550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKHTML" >&5
17551
$as_echo_n "checking for GTKHTML... " >&6; }
17553
if test -n "$GTKHTML_CFLAGS"; then
17554
pkg_cv_GTKHTML_CFLAGS="$GTKHTML_CFLAGS"
17555
elif test -n "$PKG_CONFIG"; then
17556
if test -n "$PKG_CONFIG" && \
17557
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GTKHTML_MODULES\""; } >&5
17558
($PKG_CONFIG --exists --print-errors "$GTKHTML_MODULES") 2>&5
17560
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17561
test $ac_status = 0; }; then
17562
pkg_cv_GTKHTML_CFLAGS=`$PKG_CONFIG --cflags "$GTKHTML_MODULES" 2>/dev/null`
17569
if test -n "$GTKHTML_LIBS"; then
17570
pkg_cv_GTKHTML_LIBS="$GTKHTML_LIBS"
17571
elif test -n "$PKG_CONFIG"; then
17572
if test -n "$PKG_CONFIG" && \
17573
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GTKHTML_MODULES\""; } >&5
17574
($PKG_CONFIG --exists --print-errors "$GTKHTML_MODULES") 2>&5
17576
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17577
test $ac_status = 0; }; then
17578
pkg_cv_GTKHTML_LIBS=`$PKG_CONFIG --libs "$GTKHTML_MODULES" 2>/dev/null`
17588
if test $pkg_failed = yes; then
17590
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17591
_pkg_short_errors_supported=yes
17593
_pkg_short_errors_supported=no
17595
if test $_pkg_short_errors_supported = yes; then
17596
GTKHTML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$GTKHTML_MODULES" 2>&1`
17598
GTKHTML_PKG_ERRORS=`$PKG_CONFIG --print-errors "$GTKHTML_MODULES" 2>&1`
17600
# Put the nasty error message in config.log where it belongs
17601
echo "$GTKHTML_PKG_ERRORS" >&5
17603
as_fn_error "Package requirements ($GTKHTML_MODULES) were not met:
17605
$GTKHTML_PKG_ERRORS
17607
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17608
installed software in a non-standard prefix.
17610
Alternatively, you may set the environment variables GTKHTML_CFLAGS
17611
and GTKHTML_LIBS to avoid the need to call pkg-config.
17612
See the pkg-config man page for more details.
17614
elif test $pkg_failed = untried; then
17615
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17616
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17617
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
17618
is in your PATH or set the PKG_CONFIG environment variable to the full
17619
path to pkg-config.
17621
Alternatively, you may set the environment variables GTKHTML_CFLAGS
17622
and GTKHTML_LIBS to avoid the need to call pkg-config.
17623
See the pkg-config man page for more details.
17625
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17626
See \`config.log' for more details." "$LINENO" 5; }
17628
GTKHTML_CFLAGS=$pkg_cv_GTKHTML_CFLAGS
17629
GTKHTML_LIBS=$pkg_cv_GTKHTML_LIBS
17630
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17631
$as_echo "yes" >&6; }
17639
# Check whether --with-glade-catalog was given.
17640
if test "${with_glade_catalog+set}" = set; then :
17641
withval=$with_glade_catalog; glade_catalog="$withval"
17646
if test "x$glade_catalog" = "xyes"; then
17649
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLADEUI" >&5
17650
$as_echo_n "checking for GLADEUI... " >&6; }
17652
if test -n "$GLADEUI_CFLAGS"; then
17653
pkg_cv_GLADEUI_CFLAGS="$GLADEUI_CFLAGS"
17654
elif test -n "$PKG_CONFIG"; then
17655
if test -n "$PKG_CONFIG" && \
17656
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gladeui-1.0\""; } >&5
17657
($PKG_CONFIG --exists --print-errors "gladeui-1.0") 2>&5
17659
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17660
test $ac_status = 0; }; then
17661
pkg_cv_GLADEUI_CFLAGS=`$PKG_CONFIG --cflags "gladeui-1.0" 2>/dev/null`
17668
if test -n "$GLADEUI_LIBS"; then
17669
pkg_cv_GLADEUI_LIBS="$GLADEUI_LIBS"
17670
elif test -n "$PKG_CONFIG"; then
17671
if test -n "$PKG_CONFIG" && \
17672
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gladeui-1.0\""; } >&5
17673
($PKG_CONFIG --exists --print-errors "gladeui-1.0") 2>&5
17675
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17676
test $ac_status = 0; }; then
17677
pkg_cv_GLADEUI_LIBS=`$PKG_CONFIG --libs "gladeui-1.0" 2>/dev/null`
17687
if test $pkg_failed = yes; then
17689
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17690
_pkg_short_errors_supported=yes
17692
_pkg_short_errors_supported=no
17694
if test $_pkg_short_errors_supported = yes; then
17695
GLADEUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gladeui-1.0" 2>&1`
17697
GLADEUI_PKG_ERRORS=`$PKG_CONFIG --print-errors "gladeui-1.0" 2>&1`
17699
# Put the nasty error message in config.log where it belongs
17700
echo "$GLADEUI_PKG_ERRORS" >&5
17702
as_fn_error "Package requirements (gladeui-1.0) were not met:
17704
$GLADEUI_PKG_ERRORS
17706
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17707
installed software in a non-standard prefix.
17709
Alternatively, you may set the environment variables GLADEUI_CFLAGS
17710
and GLADEUI_LIBS to avoid the need to call pkg-config.
17711
See the pkg-config man page for more details.
17713
elif test $pkg_failed = untried; then
17714
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17715
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17716
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
17717
is in your PATH or set the PKG_CONFIG environment variable to the full
17718
path to pkg-config.
17720
Alternatively, you may set the environment variables GLADEUI_CFLAGS
17721
and GLADEUI_LIBS to avoid the need to call pkg-config.
17722
See the pkg-config man page for more details.
17724
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17725
See \`config.log' for more details." "$LINENO" 5; }
17727
GLADEUI_CFLAGS=$pkg_cv_GLADEUI_CFLAGS
17728
GLADEUI_LIBS=$pkg_cv_GLADEUI_LIBS
17729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17730
$as_echo "yes" >&6; }
17734
if test x$glade_catalog = xyes; then
17735
GLADE_CATALOG_TRUE=
17736
GLADE_CATALOG_FALSE='#'
17738
GLADE_CATALOG_TRUE='#'
17739
GLADE_CATALOG_FALSE=
17743
ORBIT_IDL="`$PKG_CONFIG --variable=orbit_idl ORBit-2.0`"
17750
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
17751
$as_echo_n "checking for SOUP... " >&6; }
17753
if test -n "$SOUP_CFLAGS"; then
17754
pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
17755
elif test -n "$PKG_CONFIG"; then
17756
if test -n "$PKG_CONFIG" && \
17757
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26.0\""; } >&5
17758
($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26.0") 2>&5
17760
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17761
test $ac_status = 0; }; then
17762
pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.26.0" 2>/dev/null`
17769
if test -n "$SOUP_LIBS"; then
17770
pkg_cv_SOUP_LIBS="$SOUP_LIBS"
17771
elif test -n "$PKG_CONFIG"; then
17772
if test -n "$PKG_CONFIG" && \
17773
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.26.0\""; } >&5
17774
($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.26.0") 2>&5
17776
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17777
test $ac_status = 0; }; then
17778
pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.26.0" 2>/dev/null`
17788
if test $pkg_failed = yes; then
17790
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17791
_pkg_short_errors_supported=yes
17793
_pkg_short_errors_supported=no
17795
if test $_pkg_short_errors_supported = yes; then
17796
SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libsoup-2.4 >= 2.26.0" 2>&1`
17798
SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors "libsoup-2.4 >= 2.26.0" 2>&1`
17800
# Put the nasty error message in config.log where it belongs
17801
echo "$SOUP_PKG_ERRORS" >&5
17803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17804
$as_echo "no" >&6; }
17807
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
17808
$as_echo_n "checking for SOUP... " >&6; }
17810
if test -n "$SOUP_CFLAGS"; then
17811
pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
17812
elif test -n "$PKG_CONFIG"; then
17813
if test -n "$PKG_CONFIG" && \
17814
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
17815
($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
17817
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17818
test $ac_status = 0; }; then
17819
pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
17826
if test -n "$SOUP_LIBS"; then
17827
pkg_cv_SOUP_LIBS="$SOUP_LIBS"
17828
elif test -n "$PKG_CONFIG"; then
17829
if test -n "$PKG_CONFIG" && \
17830
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
17831
($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
17833
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17834
test $ac_status = 0; }; then
17835
pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
17845
if test $pkg_failed = yes; then
17847
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17848
_pkg_short_errors_supported=yes
17850
_pkg_short_errors_supported=no
17852
if test $_pkg_short_errors_supported = yes; then
17853
SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libsoup-2.4" 2>&1`
17855
SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors "libsoup-2.4" 2>&1`
17857
# Put the nasty error message in config.log where it belongs
17858
echo "$SOUP_PKG_ERRORS" >&5
17860
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17861
$as_echo "no" >&6; }
17863
elif test $pkg_failed = untried; then
17866
SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
17867
SOUP_LIBS=$pkg_cv_SOUP_LIBS
17868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17869
$as_echo "yes" >&6; }
17873
elif test $pkg_failed = untried; then
17876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
17877
$as_echo_n "checking for SOUP... " >&6; }
17879
if test -n "$SOUP_CFLAGS"; then
17880
pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
17881
elif test -n "$PKG_CONFIG"; then
17882
if test -n "$PKG_CONFIG" && \
17883
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
17884
($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
17886
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17887
test $ac_status = 0; }; then
17888
pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
17895
if test -n "$SOUP_LIBS"; then
17896
pkg_cv_SOUP_LIBS="$SOUP_LIBS"
17897
elif test -n "$PKG_CONFIG"; then
17898
if test -n "$PKG_CONFIG" && \
17899
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
17900
($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
17902
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17903
test $ac_status = 0; }; then
17904
pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
17914
if test $pkg_failed = yes; then
17916
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17917
_pkg_short_errors_supported=yes
17919
_pkg_short_errors_supported=no
17921
if test $_pkg_short_errors_supported = yes; then
17922
SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libsoup-2.4" 2>&1`
17924
SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors "libsoup-2.4" 2>&1`
17926
# Put the nasty error message in config.log where it belongs
17927
echo "$SOUP_PKG_ERRORS" >&5
17929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17930
$as_echo "no" >&6; }
17932
elif test $pkg_failed = untried; then
17935
SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
17936
SOUP_LIBS=$pkg_cv_SOUP_LIBS
17937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17938
$as_echo "yes" >&6; }
17943
SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
17944
SOUP_LIBS=$pkg_cv_SOUP_LIBS
17945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17946
$as_echo "yes" >&6; }
17952
if test x$have_soup != xno; then
17954
HAVE_SOUP_FALSE='#'
17960
if test x$HAVE_NEWSOUP != xno; then
17962
HAVE_NEWSOUP_FALSE='#'
17964
HAVE_NEWSOUP_TRUE='#'
17965
HAVE_NEWSOUP_FALSE=
17971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIT" >&5
17972
$as_echo_n "checking for GIT... " >&6; }
17974
if test -n "$GIT_CFLAGS"; then
17975
pkg_cv_GIT_CFLAGS="$GIT_CFLAGS"
17976
elif test -n "$PKG_CONFIG"; then
17977
if test -n "$PKG_CONFIG" && \
17978
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-icon-theme >= 2.22.0\""; } >&5
17979
($PKG_CONFIG --exists --print-errors "gnome-icon-theme >= 2.22.0") 2>&5
17981
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17982
test $ac_status = 0; }; then
17983
pkg_cv_GIT_CFLAGS=`$PKG_CONFIG --cflags "gnome-icon-theme >= 2.22.0" 2>/dev/null`
17990
if test -n "$GIT_LIBS"; then
17991
pkg_cv_GIT_LIBS="$GIT_LIBS"
17992
elif test -n "$PKG_CONFIG"; then
17993
if test -n "$PKG_CONFIG" && \
17994
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-icon-theme >= 2.22.0\""; } >&5
17995
($PKG_CONFIG --exists --print-errors "gnome-icon-theme >= 2.22.0") 2>&5
17997
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17998
test $ac_status = 0; }; then
17999
pkg_cv_GIT_LIBS=`$PKG_CONFIG --libs "gnome-icon-theme >= 2.22.0" 2>/dev/null`
18009
if test $pkg_failed = yes; then
18011
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18012
_pkg_short_errors_supported=yes
18014
_pkg_short_errors_supported=no
18016
if test $_pkg_short_errors_supported = yes; then
18017
GIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gnome-icon-theme >= 2.22.0" 2>&1`
18019
GIT_PKG_ERRORS=`$PKG_CONFIG --print-errors "gnome-icon-theme >= 2.22.0" 2>&1`
18021
# Put the nasty error message in config.log where it belongs
18022
echo "$GIT_PKG_ERRORS" >&5
18024
as_fn_error "Package requirements (gnome-icon-theme >= 2.22.0) were not met:
18028
Consider adjusting the PKG_CONFIG_PATH environment variable if you
18029
installed software in a non-standard prefix.
18031
Alternatively, you may set the environment variables GIT_CFLAGS
18032
and GIT_LIBS to avoid the need to call pkg-config.
18033
See the pkg-config man page for more details.
18035
elif test $pkg_failed = untried; then
18036
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18037
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18038
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
18039
is in your PATH or set the PKG_CONFIG environment variable to the full
18040
path to pkg-config.
18042
Alternatively, you may set the environment variables GIT_CFLAGS
18043
and GIT_LIBS to avoid the need to call pkg-config.
18044
See the pkg-config man page for more details.
18046
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18047
See \`config.log' for more details." "$LINENO" 5; }
18049
GIT_CFLAGS=$pkg_cv_GIT_CFLAGS
18050
GIT_LIBS=$pkg_cv_GIT_LIBS
18051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18052
$as_echo "yes" >&6; }
18056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iso-codes package" >&5
18057
$as_echo_n "checking for iso-codes package... " >&6; }
18059
if $PKG_CONFIG --exists iso-codes; then
18060
if $PKG_CONFIG iso-codes --atleast-version=0.49; then
18062
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_iso_codes" >&5
18063
$as_echo "$have_iso_codes" >&6; }
18065
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: iso-codes detected, but version 0.49 or later is required due to licensing" >&5
18066
$as_echo "$as_me: WARNING: iso-codes detected, but version 0.49 or later is required due to licensing" >&2;}
18069
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_iso_codes" >&5
18070
$as_echo "$have_iso_codes" >&6; }
18073
if test "x$have_iso_codes" = "xyes"; then
18074
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iso-codes has iso-639 and iso-3166 domains" >&5
18075
$as_echo_n "checking whether iso-codes has iso-639 and iso-3166 domains... " >&6; }
18076
if $PKG_CONFIG --variable=domains iso-codes | grep 639 >/dev/null 2>&1 && \
18077
$PKG_CONFIG --variable=domains iso-codes | grep 3166 >/dev/null 2>&1 ; then
18083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
18084
$as_echo "$result" >&6; }
18087
if test "x$have_iso_codes" = "xyes"; then
18089
cat >>confdefs.h <<_ACEOF
18090
#define ISO_CODES_PREFIX "`$PKG_CONFIG --variable=prefix iso-codes`"
18094
$as_echo "#define HAVE_ISO_CODES 1" >>confdefs.h
18098
for ac_func in regexec
18100
ac_fn_c_check_func "$LINENO" "regexec" "ac_cv_func_regexec"
18101
if test "x$ac_cv_func_regexec" = x""yes; then :
18102
cat >>confdefs.h <<_ACEOF
18103
#define HAVE_REGEXEC 1
18107
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for regexec in -lregex" >&5
18108
$as_echo_n "checking for regexec in -lregex... " >&6; }
18109
if test "${ac_cv_lib_regex_regexec+set}" = set; then :
18110
$as_echo_n "(cached) " >&6
18112
ac_check_lib_save_LIBS=$LIBS
18113
LIBS="-lregex $LIBS"
18114
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18115
/* end confdefs.h. */
18117
/* Override any GCC internal prototype to avoid an error.
18118
Use char because int might match the return type of a GCC
18119
builtin and then its argument prototype would still apply. */
18132
if ac_fn_c_try_link "$LINENO"; then :
18133
ac_cv_lib_regex_regexec=yes
18135
ac_cv_lib_regex_regexec=no
18137
rm -f core conftest.err conftest.$ac_objext \
18138
conftest$ac_exeext conftest.$ac_ext
18139
LIBS=$ac_check_lib_save_LIBS
18141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_regex_regexec" >&5
18142
$as_echo "$ac_cv_lib_regex_regexec" >&6; }
18143
if test "x$ac_cv_lib_regex_regexec" = x""yes; then :
18146
as_fn_error "No regex library found" "$LINENO" 5
18154
# Check whether --enable-shlib-factory was given.
18155
if test "${enable_shlib_factory+set}" = set; then :
18156
enableval=$enable_shlib_factory; enable_shlib_factory="$enableval"
18158
enable_shlib_factory="yes"
18162
if test "x$enable_shlib_factory" = "xyes"; then
18163
GNOME_GTKHTML_EDITOR_SHLIB=1
18164
GNOME_GTKHTML_EDITOR_TYPE="shlib"
18166
$as_echo "#define GNOME_GTKHTML_EDITOR_SHLIB /**/" >>confdefs.h
18169
GNOME_GTKHTML_EDITOR_TYPE="exe"
18173
if test x$enable_shlib_factory = xyes; then
18175
EDITOR_SHLIB_FALSE='#'
18177
EDITOR_SHLIB_TRUE='#'
18178
EDITOR_SHLIB_FALSE=
18194
ac_config_files="$ac_config_files Makefile gtkhtml-zip a11y/Makefile art/Makefile components/Makefile components/editor/Makefile components/editor/gtkhtml-editor.pc gtkhtml/Makefile gtkhtml/libgtkhtml.pc po/Makefile.in"
18196
cat >confcache <<\_ACEOF
18197
# This file is a shell script that caches the results of configure
18198
# tests run on this system so they can be shared between configure
18199
# scripts and configure runs, see configure's option --config-cache.
18200
# It is not useful on other systems. If it contains results you don't
18201
# want to keep, you may remove or edit it.
18203
# config.status only pays attention to the cache file if you give it
18204
# the --recheck option to rerun configure.
18206
# `ac_cv_env_foo' variables (set or unset) will be overridden when
18207
# loading this file, other *unset* `ac_cv_foo' will be assigned the
18208
# following values.
18212
# The following way of writing the cache mishandles newlines in values,
18213
# but we know of no workaround that is simple, portable, and efficient.
18214
# So, we kill variables containing newlines.
18215
# Ultrix sh set writes to stderr and can't be redirected directly,
18216
# and sets the high bit in the cache file unless we assign to the vars.
18218
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18219
eval ac_val=\$$ac_var
18223
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18224
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18227
_ | IFS | as_nl) ;; #(
18228
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18229
*) { eval $ac_var=; unset $ac_var;} ;;
18235
case $as_nl`(ac_space=' '; set) 2>&1` in #(
18236
*${as_nl}ac_space=\ *)
18237
# `set' does not quote correctly, so add quotes: double-quote
18238
# substitution turns \\\\ into \\, and sed turns \\ into \.
18241
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18244
# `set' quotes correctly as required by POSIX, so do not add quotes.
18245
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18254
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18256
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18258
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18259
if test -w "$cache_file"; then
18260
test "x$cache_file" != "x/dev/null" &&
18261
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18262
$as_echo "$as_me: updating cache $cache_file" >&6;}
18263
cat confcache >$cache_file
18265
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18266
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18271
test "x$prefix" = xNONE && prefix=$ac_default_prefix
18272
# Let make expand exec_prefix.
18273
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18275
DEFS=-DHAVE_CONFIG_H
18279
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18280
# 1. Remove the extension, and $U if already installed.
18281
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18282
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18283
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18284
# will be set to the directory where LIBOBJS objects are built.
18285
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18286
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18288
LIBOBJS=$ac_libobjs
18290
LTLIBOBJS=$ac_ltlibobjs
18293
if test -n "$EXEEXT"; then
18295
am__EXEEXT_FALSE='#'
18297
am__EXEEXT_TRUE='#'
18301
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18302
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
18303
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18305
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18306
as_fn_error "conditional \"AMDEP\" was never defined.
18307
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18309
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18310
as_fn_error "conditional \"am__fastdepCC\" was never defined.
18311
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18314
ac_config_commands="$ac_config_commands po/stamp-it"
18317
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18318
as_fn_error "conditional \"am__fastdepCC\" was never defined.
18319
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18321
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18322
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
18323
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18325
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18326
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
18327
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18329
if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
18330
as_fn_error "conditional \"OS_WIN32\" was never defined.
18331
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18333
if test -z "${GLADE_CATALOG_TRUE}" && test -z "${GLADE_CATALOG_FALSE}"; then
18334
as_fn_error "conditional \"GLADE_CATALOG\" was never defined.
18335
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18337
if test -z "${HAVE_SOUP_TRUE}" && test -z "${HAVE_SOUP_FALSE}"; then
18338
as_fn_error "conditional \"HAVE_SOUP\" was never defined.
18339
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18341
if test -z "${HAVE_NEWSOUP_TRUE}" && test -z "${HAVE_NEWSOUP_FALSE}"; then
18342
as_fn_error "conditional \"HAVE_NEWSOUP\" was never defined.
18343
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18345
if test -z "${EDITOR_SHLIB_TRUE}" && test -z "${EDITOR_SHLIB_FALSE}"; then
18346
as_fn_error "conditional \"EDITOR_SHLIB\" was never defined.
18347
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18350
: ${CONFIG_STATUS=./config.status}
18352
ac_clean_files_save=$ac_clean_files
18353
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18354
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18355
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18357
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18359
# Generated by $as_me.
18360
# Run this file to recreate the current configuration.
18361
# Compiler output produced by configure, useful for debugging
18362
# configure, is in config.log if it exists.
18365
ac_cs_recheck=false
18368
SHELL=\${CONFIG_SHELL-$SHELL}
18371
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18372
## -------------------- ##
18373
## M4sh Initialization. ##
18374
## -------------------- ##
18376
# Be more Bourne compatible
18377
DUALCASE=1; export DUALCASE # for MKS sh
18378
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18381
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18382
# is contrary to our usage. Disable this feature.
18383
alias -g '${1+"$@"}'='"$@"'
18384
setopt NO_GLOB_SUBST
18386
case `(set -o) 2>/dev/null` in #(
18398
# Printing a long string crashes Solaris 7 /usr/bin/printf.
18399
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18400
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18401
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18402
# Prefer a ksh shell builtin over an external printf program on Solaris,
18403
# but without wasting forks for bash or zsh.
18404
if test -z "$BASH_VERSION$ZSH_VERSION" \
18405
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18406
as_echo='print -r --'
18407
as_echo_n='print -rn --'
18408
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18409
as_echo='printf %s\n'
18410
as_echo_n='printf %s'
18412
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18413
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18414
as_echo_n='/usr/ucb/echo -n'
18416
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18417
as_echo_n_body='eval
18421
expr "X$arg" : "X\\(.*\\)$as_nl";
18422
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18424
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18426
export as_echo_n_body
18427
as_echo_n='sh -c $as_echo_n_body as_echo'
18429
export as_echo_body
18430
as_echo='sh -c $as_echo_body as_echo'
18433
# The user is always right.
18434
if test "${PATH_SEPARATOR+set}" != set; then
18436
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18437
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18444
# We need space, tab and new line, in precisely that order. Quoting is
18445
# there to prevent editors from complaining about space-tab.
18446
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
18447
# splitting by setting IFS to empty value.)
18450
# Find who we are. Look in the path if we contain no directory separator.
18452
*[\\/]* ) as_myself=$0 ;;
18453
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18454
for as_dir in $PATH
18457
test -z "$as_dir" && as_dir=.
18458
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18464
# We did not find ourselves, most probably we were run as `sh COMMAND'
18465
# in which case we are not to be found in the path.
18466
if test "x$as_myself" = x; then
18469
if test ! -f "$as_myself"; then
18470
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18474
# Unset variables that we do not need and which cause bugs (e.g. in
18475
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
18476
# suppresses any "Segmentation fault" message there. '((' could
18477
# trigger a bug in pdksh 5.2.14.
18478
for as_var in BASH_ENV ENV MAIL MAILPATH
18479
do eval test x\${$as_var+set} = xset \
18480
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18493
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18496
# as_fn_error ERROR [LINENO LOG_FD]
18497
# ---------------------------------
18498
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
18499
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
18500
# script with status $?, using 1 if that was 0.
18503
as_status=$?; test $as_status -eq 0 && as_status=1
18505
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
18506
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
18508
$as_echo "$as_me: error: $1" >&2
18509
as_fn_exit $as_status
18513
# as_fn_set_status STATUS
18514
# -----------------------
18515
# Set $? to STATUS, without forking.
18516
as_fn_set_status ()
18519
} # as_fn_set_status
18521
# as_fn_exit STATUS
18522
# -----------------
18523
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
18527
as_fn_set_status $1
18533
# Portably unset VAR.
18536
{ eval $1=; unset $1;}
18538
as_unset=as_fn_unset
18539
# as_fn_append VAR VALUE
18540
# ----------------------
18541
# Append the text in VALUE to the end of the definition contained in VAR. Take
18542
# advantage of any shell optimizations that allow amortized linear growth over
18543
# repeated appends, instead of the typical quadratic growth present in naive
18545
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
18546
eval 'as_fn_append ()
18557
# as_fn_arith ARG...
18558
# ------------------
18559
# Perform arithmetic evaluation on the ARGs, and store the result in the
18560
# global $as_val. Take advantage of shells that can avoid forks. The arguments
18561
# must be portable across $(()) and expr.
18562
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
18563
eval 'as_fn_arith ()
18570
as_val=`expr "$@" || test $? -eq 1`
18575
if expr a : '\(a\)' >/dev/null 2>&1 &&
18576
test "X`expr 00001 : '.*\(...\)'`" = X001; then
18582
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
18583
as_basename=basename
18588
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18594
as_me=`$as_basename -- "$0" ||
18595
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18596
X"$0" : 'X\(//\)$' \| \
18597
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
18599
sed '/^.*\/\([^/][^/]*\)\/*$/{
18613
# Avoid depending upon Character Ranges.
18614
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18615
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18616
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18617
as_cr_digits='0123456789'
18618
as_cr_alnum=$as_cr_Letters$as_cr_digits
18620
ECHO_C= ECHO_N= ECHO_T=
18621
case `echo -n x` in #(((((
18623
case `echo 'xy\c'` in
18624
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
18626
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
18633
rm -f conf$$ conf$$.exe conf$$.file
18634
if test -d conf$$.dir; then
18635
rm -f conf$$.dir/conf$$.file
18638
mkdir conf$$.dir 2>/dev/null
18640
if (echo >conf$$.file) 2>/dev/null; then
18641
if ln -s conf$$.file conf$$ 2>/dev/null; then
18643
# ... but there are two gotchas:
18644
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
18645
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
18646
# In both cases, we have to default to `cp -p'.
18647
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
18649
elif ln conf$$.file conf$$ 2>/dev/null; then
18657
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18658
rmdir conf$$.dir 2>/dev/null
18663
# Create "$as_dir" as a directory, including parents if necessary.
18668
-*) as_dir=./$as_dir;;
18670
test -d "$as_dir" || eval $as_mkdir_p || {
18674
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18675
*) as_qdir=$as_dir;;
18677
as_dirs="'$as_qdir' $as_dirs"
18678
as_dir=`$as_dirname -- "$as_dir" ||
18679
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18680
X"$as_dir" : 'X\(//\)[^/]' \| \
18681
X"$as_dir" : 'X\(//\)$' \| \
18682
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18683
$as_echo X"$as_dir" |
18684
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18688
/^X\(\/\/\)[^/].*/{
18701
test -d "$as_dir" && break
18703
test -z "$as_dirs" || eval "mkdir $as_dirs"
18704
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
18708
if mkdir -p . 2>/dev/null; then
18709
as_mkdir_p='mkdir -p "$as_dir"'
18711
test -d ./-p && rmdir ./-p
18715
if test -x / >/dev/null 2>&1; then
18716
as_test_x='test -x'
18718
if ls -dL / >/dev/null 2>&1; then
18725
if test -d "$1"; then
18731
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
18732
???[sx]*):;;*)false;;esac;fi
18736
as_executable_p=$as_test_x
18738
# Sed expression to map a string onto a valid CPP name.
18739
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18741
# Sed expression to map a string onto a valid variable name.
18742
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18746
## ----------------------------------- ##
18747
## Main body of $CONFIG_STATUS script. ##
18748
## ----------------------------------- ##
18750
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18752
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18753
# Save the log message, to keep $0 and so on meaningful, and to
18754
# report actual input values of CONFIG_FILES etc. instead of their
18755
# values after options handling.
18757
This file was extended by gtkhtml $as_me 3.30.3, which was
18758
generated by GNU Autoconf 2.65. Invocation command line was
18760
CONFIG_FILES = $CONFIG_FILES
18761
CONFIG_HEADERS = $CONFIG_HEADERS
18762
CONFIG_LINKS = $CONFIG_LINKS
18763
CONFIG_COMMANDS = $CONFIG_COMMANDS
18766
on `(hostname || uname -n) 2>/dev/null | sed 1q`
18771
case $ac_config_files in *"
18772
"*) set x $ac_config_files; shift; ac_config_files=$*;;
18775
case $ac_config_headers in *"
18776
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18780
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18781
# Files that config.status was made for.
18782
config_files="$ac_config_files"
18783
config_headers="$ac_config_headers"
18784
config_commands="$ac_config_commands"
18788
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18790
\`$as_me' instantiates files and other configuration actions
18791
from templates according to the current configuration. Unless the files
18792
and actions are specified as TAGs, all are instantiated by default.
18794
Usage: $0 [OPTION]... [TAG]...
18796
-h, --help print this help, then exit
18797
-V, --version print version number and configuration settings, then exit
18798
--config print configuration, then exit
18799
-q, --quiet, --silent
18800
do not print progress messages
18801
-d, --debug don't remove temporary files
18802
--recheck update $as_me by reconfiguring in the same conditions
18803
--file=FILE[:TEMPLATE]
18804
instantiate the configuration file FILE
18805
--header=FILE[:TEMPLATE]
18806
instantiate the configuration header FILE
18808
Configuration files:
18811
Configuration headers:
18814
Configuration commands:
18817
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=GtkHtml>."
18820
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18821
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18823
gtkhtml config.status 3.30.3
18824
configured by $0, generated by GNU Autoconf 2.65,
18825
with options \\"\$ac_cs_config\\"
18827
Copyright (C) 2009 Free Software Foundation, Inc.
18828
This config.status script is free software; the Free Software Foundation
18829
gives unlimited permission to copy, distribute and modify it."
18836
test -n "\$AWK" || AWK=awk
18839
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18840
# The default lists apply if the user does not specify any file.
18846
ac_option=`expr "X$1" : 'X\([^=]*\)='`
18847
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18858
# Handling of the options.
18859
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18861
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18862
$as_echo "$ac_cs_version"; exit ;;
18863
--config | --confi | --conf | --con | --co | --c )
18864
$as_echo "$ac_cs_config"; exit ;;
18865
--debug | --debu | --deb | --de | --d | -d )
18867
--file | --fil | --fi | --f )
18870
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18872
as_fn_append CONFIG_FILES " '$ac_optarg'"
18873
ac_need_defaults=false;;
18874
--header | --heade | --head | --hea )
18877
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18879
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18880
ac_need_defaults=false;;
18882
# Conflict between --help and --header
18883
as_fn_error "ambiguous option: \`$1'
18884
Try \`$0 --help' for more information.";;
18885
--help | --hel | -h )
18886
$as_echo "$ac_cs_usage"; exit ;;
18887
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
18888
| -silent | --silent | --silen | --sile | --sil | --si | --s)
18891
# This is an error.
18892
-*) as_fn_error "unrecognized option: \`$1'
18893
Try \`$0 --help' for more information." ;;
18895
*) as_fn_append ac_config_targets " $1"
18896
ac_need_defaults=false ;;
18902
ac_configure_extra_args=
18904
if $ac_cs_silent; then
18906
ac_configure_extra_args="$ac_configure_extra_args --silent"
18910
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18911
if \$ac_cs_recheck; then
18912
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18914
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18915
CONFIG_SHELL='$SHELL'
18916
export CONFIG_SHELL
18921
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18925
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18926
## Running $as_me. ##
18932
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18936
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18940
# The HP-UX ksh and POSIX shell print the target directory to stdout
18941
# if CDPATH is set.
18942
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18944
sed_quote_subst='$sed_quote_subst'
18945
double_quote_subst='$double_quote_subst'
18946
delay_variable_subst='$delay_variable_subst'
18947
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
18948
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
18949
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
18950
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
18951
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
18952
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
18953
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
18954
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
18955
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
18956
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
18957
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
18958
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
18959
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
18960
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
18961
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
18962
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
18963
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
18964
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
18965
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
18966
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
18967
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
18968
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
18969
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
18970
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
18971
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
18972
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
18973
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
18974
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
18975
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
18976
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
18977
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18978
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
18979
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
18980
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
18981
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18982
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
18983
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
18984
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18985
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18986
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
18987
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
18988
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
18989
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
18990
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
18991
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
18992
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
18993
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
18994
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
18995
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
18996
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
18997
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
18998
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
18999
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
19000
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
19001
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
19002
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
19003
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
19004
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
19005
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
19006
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
19007
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
19008
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
19009
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
19010
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
19011
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19012
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19013
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
19014
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
19015
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19016
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19017
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
19018
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19019
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19020
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19021
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19022
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19023
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19024
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
19025
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19026
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
19027
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
19028
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
19029
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
19030
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
19031
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
19032
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
19033
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19034
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
19035
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
19036
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
19037
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
19038
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
19039
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19040
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19041
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
19042
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19043
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
19044
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
19045
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
19046
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
19047
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
19048
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19049
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
19050
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
19051
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19052
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
19053
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
19054
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19055
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19056
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
19057
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
19058
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
19059
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19060
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
19061
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
19062
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
19063
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
19064
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
19065
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
19066
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
19067
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
19068
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
19069
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
19070
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
19071
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
19072
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
19073
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19074
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19075
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19076
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19077
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19078
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19079
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19080
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19081
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19082
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19083
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19084
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19085
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19086
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19087
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19088
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19089
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19090
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19091
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19092
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19093
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19094
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19095
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19096
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19097
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19098
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19099
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19100
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19101
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19102
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19103
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19104
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19105
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19106
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19107
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19108
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19109
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19110
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19111
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19112
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19113
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19114
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19115
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19116
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19117
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19118
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19119
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
19122
LTCFLAGS='$LTCFLAGS'
19123
compiler='$compiler_DEFAULT'
19125
# Quote evaled strings.
19136
deplibs_check_method \
19145
lt_cv_sys_global_symbol_pipe \
19146
lt_cv_sys_global_symbol_to_cdecl \
19147
lt_cv_sys_global_symbol_to_c_name_address \
19148
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19151
lt_prog_compiler_no_builtin_flag \
19152
lt_prog_compiler_wl \
19153
lt_prog_compiler_pic \
19154
lt_prog_compiler_static \
19155
lt_cv_prog_compiler_c_o \
19163
export_dynamic_flag_spec \
19164
whole_archive_flag_spec \
19165
compiler_needs_object \
19167
allow_undefined_flag \
19168
no_undefined_flag \
19169
hardcode_libdir_flag_spec \
19170
hardcode_libdir_flag_spec_ld \
19171
hardcode_libdir_separator \
19176
variables_saved_for_relink \
19178
library_names_spec \
19183
compiler_lib_search_dirs \
19188
compiler_lib_search_path \
19191
lt_prog_compiler_no_builtin_flag_CXX \
19192
lt_prog_compiler_wl_CXX \
19193
lt_prog_compiler_pic_CXX \
19194
lt_prog_compiler_static_CXX \
19195
lt_cv_prog_compiler_c_o_CXX \
19196
export_dynamic_flag_spec_CXX \
19197
whole_archive_flag_spec_CXX \
19198
compiler_needs_object_CXX \
19200
allow_undefined_flag_CXX \
19201
no_undefined_flag_CXX \
19202
hardcode_libdir_flag_spec_CXX \
19203
hardcode_libdir_flag_spec_ld_CXX \
19204
hardcode_libdir_separator_CXX \
19205
fix_srcfile_path_CXX \
19206
exclude_expsyms_CXX \
19207
include_expsyms_CXX \
19208
file_list_spec_CXX \
19209
compiler_lib_search_dirs_CXX \
19210
predep_objects_CXX \
19211
postdep_objects_CXX \
19214
compiler_lib_search_path_CXX; do
19215
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19216
*[\\\\\\\`\\"\\\$]*)
19217
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19220
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19225
# Double-quote double-evaled strings.
19226
for var in reload_cmds \
19227
old_postinstall_cmds \
19228
old_postuninstall_cmds \
19230
extract_expsyms_cmds \
19231
old_archive_from_new_cmds \
19232
old_archive_from_expsyms_cmds \
19234
archive_expsym_cmds \
19236
module_expsym_cmds \
19237
export_symbols_cmds \
19240
postuninstall_cmds \
19242
sys_lib_search_path_spec \
19243
sys_lib_dlsearch_path_spec \
19244
old_archive_cmds_CXX \
19245
old_archive_from_new_cmds_CXX \
19246
old_archive_from_expsyms_cmds_CXX \
19248
archive_expsym_cmds_CXX \
19250
module_expsym_cmds_CXX \
19251
export_symbols_cmds_CXX \
19252
prelink_cmds_CXX; do
19253
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
19254
*[\\\\\\\`\\"\\\$]*)
19255
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19258
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19263
# Fix-up fallback echo if it was mangled by the above quoting rules.
19265
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
19269
ac_aux_dir='$ac_aux_dir'
19270
xsi_shell='$xsi_shell'
19271
lt_shell_append='$lt_shell_append'
19273
# See if we are running on zsh, and set the options which allow our
19274
# commands through without removal of \ escapes INIT.
19275
if test -n "\${ZSH_VERSION+set}" ; then
19276
setopt NO_GLOB_SUBST
19282
TIMESTAMP='$TIMESTAMP'
19293
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19295
# Handling of arguments.
19296
for ac_config_target in $ac_config_targets
19298
case $ac_config_target in
19299
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
19300
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19301
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
19302
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19303
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19304
"gtkhtml-zip") CONFIG_FILES="$CONFIG_FILES gtkhtml-zip" ;;
19305
"a11y/Makefile") CONFIG_FILES="$CONFIG_FILES a11y/Makefile" ;;
19306
"art/Makefile") CONFIG_FILES="$CONFIG_FILES art/Makefile" ;;
19307
"components/Makefile") CONFIG_FILES="$CONFIG_FILES components/Makefile" ;;
19308
"components/editor/Makefile") CONFIG_FILES="$CONFIG_FILES components/editor/Makefile" ;;
19309
"components/editor/gtkhtml-editor.pc") CONFIG_FILES="$CONFIG_FILES components/editor/gtkhtml-editor.pc" ;;
19310
"gtkhtml/Makefile") CONFIG_FILES="$CONFIG_FILES gtkhtml/Makefile" ;;
19311
"gtkhtml/libgtkhtml.pc") CONFIG_FILES="$CONFIG_FILES gtkhtml/libgtkhtml.pc" ;;
19312
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
19313
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
19315
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19320
# If the user did not use the arguments to specify the items to instantiate,
19321
# then the envvar interface is used. Set only those that are not.
19322
# We use the long form for the default assignment because of an extremely
19323
# bizarre bug on SunOS 4.1.3.
19324
if $ac_need_defaults; then
19325
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19326
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19327
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19330
# Have a temporary directory for convenience. Make it in the build tree
19331
# simply because there is no reason against having it here, and in addition,
19332
# creating and moving files from /tmp can sometimes cause problems.
19333
# Hook for its removal unless debugging.
19334
# Note that there is a small window in which the directory will not be cleaned:
19335
# after its creation but before its name has been assigned to `$tmp'.
19339
trap 'exit_status=$?
19340
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
19342
trap 'as_fn_exit 1' 1 2 13 15
19344
# Create a (secure) tmp directory for tmp files.
19347
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19348
test -n "$tmp" && test -d "$tmp"
19351
tmp=./conf$$-$RANDOM
19352
(umask 077 && mkdir "$tmp")
19353
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
19355
# Set up the scripts for CONFIG_FILES section.
19356
# No need to generate them if there are no CONFIG_FILES.
19357
# This happens for instance with `./config.status config.h'.
19358
if test -n "$CONFIG_FILES"; then
19361
ac_cr=`echo X | tr X '\015'`
19362
# On cygwin, bash can eat \r inside `` if the user requested igncr.
19363
# But we know of no other shell where ac_cr would be empty at this
19364
# point, so we can use a bashism as a fallback.
19365
if test "x$ac_cr" = x; then
19366
eval ac_cr=\$\'\\r\'
19368
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19369
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19372
ac_cs_awk_cr=$ac_cr
19375
echo 'BEGIN {' >"$tmp/subs1.awk" &&
19380
echo "cat >conf$$subs.awk <<_ACEOF" &&
19381
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19383
} >conf$$subs.sh ||
19384
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
19385
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
19387
for ac_last_try in false false false false false :; do
19388
. ./conf$$subs.sh ||
19389
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
19391
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19392
if test $ac_delim_n = $ac_delim_num; then
19394
elif $ac_last_try; then
19395
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
19397
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19400
rm -f conf$$subs.sh
19402
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19403
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
19407
s/^/S["/; s/!.*/"]=/
19417
s/\(.\{148\}\)..*/\1/
19419
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19424
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19431
s/\(.\{148\}\)..*/\1/
19433
s/["\\]/\\&/g; s/^/"/; s/$/"/
19437
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19442
' <conf$$subs.awk | sed '
19447
' >>$CONFIG_STATUS || ac_write_fail=1
19448
rm -f conf$$subs.awk
19449
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19451
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
19452
for (key in S) S_is_set[key] = 1
19458
nfields = split(line, field, "@")
19460
len = length(field[1])
19461
for (i = 2; i < nfields; i++) {
19463
keylen = length(key)
19464
if (S_is_set[key]) {
19466
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
19467
len += length(value) + length(field[++i])
19478
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19479
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
19480
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19483
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
19484
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
19487
# VPATH may cause trouble with some makes, so we remove $(srcdir),
19488
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
19489
# trailing colons and then remove the whole line if VPATH becomes empty
19490
# (actually we leave an empty line to preserve line numbers).
19491
if test "x$srcdir" = x.; then
19492
ac_vpsub='/^[ ]*VPATH[ ]*=/{
19493
s/:*\$(srcdir):*/:/
19494
s/:*\${srcdir}:*/:/
19496
s/^\([^=]*=[ ]*\):*/\1/
19502
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19503
fi # test -n "$CONFIG_FILES"
19505
# Set up the scripts for CONFIG_HEADERS section.
19506
# No need to generate them if there are no CONFIG_HEADERS.
19507
# This happens for instance with `./config.status Makefile'.
19508
if test -n "$CONFIG_HEADERS"; then
19509
cat >"$tmp/defines.awk" <<\_ACAWK ||
19513
# Transform confdefs.h into an awk script `defines.awk', embedded as
19514
# here-document in config.status, that substitutes the proper values into
19515
# config.h.in to produce config.h.
19517
# Create a delimiter string that does not exist in confdefs.h, to ease
19518
# handling of long lines.
19520
for ac_last_try in false false :; do
19521
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
19522
if test -z "$ac_t"; then
19524
elif $ac_last_try; then
19525
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
19527
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19531
# For the awk script, D is an array of macro values keyed by name,
19532
# likewise P contains macro parameters if any. Preserve backslash
19533
# newline sequences.
19535
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
19537
s/.\{148\}/&'"$ac_delim"'/g
19540
s/^[ ]*#[ ]*define[ ][ ]*/ /
19547
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19549
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
19553
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
19554
D["\1"]=" \3\\\\\\n"\\/p
19556
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
19561
s/.\{148\}/&'"$ac_delim"'/g
19566
s/["\\]/\\&/g; s/^/"/; s/$/"/p
19569
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
19571
' <confdefs.h | sed '
19572
s/'"$ac_delim"'/"\\\
19573
"/g' >>$CONFIG_STATUS || ac_write_fail=1
19575
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19576
for (key in D) D_is_set[key] = 1
19579
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
19581
split(line, arg, " ")
19582
if (arg[1] == "#") {
19586
defundef = substr(arg[1], 2)
19589
split(mac1, mac2, "(") #)
19591
prefix = substr(line, 1, index(line, defundef) - 1)
19592
if (D_is_set[macro]) {
19593
# Preserve the white space surrounding the "#".
19594
print prefix "define", macro P[macro] D[macro]
19597
# Replace #undef with comments. This is necessary, for example,
19598
# in the case of _POSIX_SOURCE, which is predefined and required
19599
# on some systems where configure will not decide to define it.
19600
if (defundef == "undef") {
19601
print "/*", prefix defundef, macro, "*/"
19609
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19610
as_fn_error "could not setup config headers machinery" "$LINENO" 5
19611
fi # test -n "$CONFIG_HEADERS"
19614
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
19619
:[FHLC]) ac_mode=$ac_tag; continue;;
19621
case $ac_mode$ac_tag in
19623
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
19624
:[FH]-) ac_tag=-:-;;
19625
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
19642
-) ac_f="$tmp/stdin";;
19643
*) # Look for the file first in the build tree, then in the source tree
19644
# (if the path is not absolute). The absolute path cannot be DOS-style,
19645
# because $ac_f cannot contain `:'.
19649
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
19651
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
19653
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19654
as_fn_append ac_file_inputs " '$ac_f'"
19657
# Let's still pretend it is `configure' which instantiates (i.e., don't
19658
# use $as_me), people would be surprised to read:
19659
# /* config.h. Generated by config.status. */
19660
configure_input='Generated from '`
19661
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
19663
if test x"$ac_file" != x-; then
19664
configure_input="$ac_file. $configure_input"
19665
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
19666
$as_echo "$as_me: creating $ac_file" >&6;}
19668
# Neutralize special characters interpreted by sed in replacement strings.
19669
case $configure_input in #(
19670
*\&* | *\|* | *\\* )
19671
ac_sed_conf_input=`$as_echo "$configure_input" |
19672
sed 's/[\\\\&|]/\\\\&/g'`;; #(
19673
*) ac_sed_conf_input=$configure_input;;
19677
*:-:* | *:-) cat >"$tmp/stdin" \
19678
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
19683
ac_dir=`$as_dirname -- "$ac_file" ||
19684
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19685
X"$ac_file" : 'X\(//\)[^/]' \| \
19686
X"$ac_file" : 'X\(//\)$' \| \
19687
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
19688
$as_echo X"$ac_file" |
19689
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19693
/^X\(\/\/\)[^/].*/{
19706
as_dir="$ac_dir"; as_fn_mkdir_p
19710
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
19712
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
19713
# A ".." for each directory in $ac_dir_suffix.
19714
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
19715
case $ac_top_builddir_sub in
19716
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
19717
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
19720
ac_abs_top_builddir=$ac_pwd
19721
ac_abs_builddir=$ac_pwd$ac_dir_suffix
19722
# for backward compatibility:
19723
ac_top_builddir=$ac_top_build_prefix
19726
.) # We are building in place.
19728
ac_top_srcdir=$ac_top_builddir_sub
19729
ac_abs_top_srcdir=$ac_pwd ;;
19730
[\\/]* | ?:[\\/]* ) # Absolute name.
19731
ac_srcdir=$srcdir$ac_dir_suffix;
19732
ac_top_srcdir=$srcdir
19733
ac_abs_top_srcdir=$srcdir ;;
19734
*) # Relative name.
19735
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
19736
ac_top_srcdir=$ac_top_build_prefix$srcdir
19737
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19739
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19749
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19750
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19752
ac_MKDIR_P=$MKDIR_P
19754
[\\/$]* | ?:[\\/]* ) ;;
19755
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19759
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19760
# If the template does not know about datarootdir, expand it.
19761
# FIXME: This hack should be removed a few years after 2.60.
19762
ac_datarootdir_hack=; ac_datarootdir_seen=
19773
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19774
*datarootdir*) ac_datarootdir_seen=yes;;
19775
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19776
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19777
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19779
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19780
ac_datarootdir_hack='
19781
s&@datadir@&$datadir&g
19782
s&@docdir@&$docdir&g
19783
s&@infodir@&$infodir&g
19784
s&@localedir@&$localedir&g
19785
s&@mandir@&$mandir&g
19786
s&\\\${datarootdir}&$datarootdir&g' ;;
19790
# Neutralize VPATH when `$srcdir' = `.'.
19791
# Shell code in configure.ac might set extrasub.
19792
# FIXME: do we really want to maintain this feature?
19793
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19794
ac_sed_extra="$ac_vpsub
19797
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19799
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19800
s|@configure_input@|$ac_sed_conf_input|;t t
19801
s&@top_builddir@&$ac_top_builddir_sub&;t t
19802
s&@top_build_prefix@&$ac_top_build_prefix&;t t
19803
s&@srcdir@&$ac_srcdir&;t t
19804
s&@abs_srcdir@&$ac_abs_srcdir&;t t
19805
s&@top_srcdir@&$ac_top_srcdir&;t t
19806
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19807
s&@builddir@&$ac_builddir&;t t
19808
s&@abs_builddir@&$ac_abs_builddir&;t t
19809
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19810
s&@INSTALL@&$ac_INSTALL&;t t
19811
s&@MKDIR_P@&$ac_MKDIR_P&;t t
19812
$ac_datarootdir_hack
19814
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
19815
|| as_fn_error "could not create $ac_file" "$LINENO" 5
19817
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19818
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
19819
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
19820
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19821
which seems to be undefined. Please make sure it is defined." >&5
19822
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19823
which seems to be undefined. Please make sure it is defined." >&2;}
19827
-) cat "$tmp/out" && rm -f "$tmp/out";;
19828
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
19830
|| as_fn_error "could not create $ac_file" "$LINENO" 5
19836
if test x"$ac_file" != x-; then
19838
$as_echo "/* $configure_input */" \
19839
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
19840
} >"$tmp/config.h" \
19841
|| as_fn_error "could not create $ac_file" "$LINENO" 5
19842
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
19843
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19844
$as_echo "$as_me: $ac_file is unchanged" >&6;}
19847
mv "$tmp/config.h" "$ac_file" \
19848
|| as_fn_error "could not create $ac_file" "$LINENO" 5
19851
$as_echo "/* $configure_input */" \
19852
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
19853
|| as_fn_error "could not create -" "$LINENO" 5
19855
# Compute "$ac_file"'s index in $config_headers.
19858
for _am_header in $config_headers :; do
19859
case $_am_header in
19860
$_am_arg | $_am_arg:* )
19863
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
19866
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19867
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19868
X"$_am_arg" : 'X\(//\)[^/]' \| \
19869
X"$_am_arg" : 'X\(//\)$' \| \
19870
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19871
$as_echo X"$_am_arg" |
19872
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19876
/^X\(\/\/\)[^/].*/{
19888
s/.*/./; q'`/stamp-h$_am_stamp_count
19891
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19892
$as_echo "$as_me: executing $ac_file commands" >&6;}
19897
case $ac_file$ac_mode in
19898
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19899
# Autoconf 2.62 quotes --file arguments for eval, but not when files
19900
# are listed without --file. Let's play safe and only enable the eval
19901
# if we detect the quoting.
19902
case $CONFIG_FILES in
19903
*\'*) eval set x "$CONFIG_FILES" ;;
19904
*) set x $CONFIG_FILES ;;
19909
# Strip MF so we end up with the name of the file.
19910
mf=`echo "$mf" | sed -e 's/:.*$//'`
19911
# Check whether this is an Automake generated Makefile or not.
19912
# We used to match only the files named `Makefile.in', but
19913
# some people rename them; so instead we look at the file content.
19914
# Grep'ing the first line is not enough: some people post-process
19915
# each Makefile.in and add a new line on top of each file to say so.
19916
# Grep'ing the whole file is not good either: AIX grep has a line
19917
# limit of 2048, but all sed's we know have understand at least 4000.
19918
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19919
dirpart=`$as_dirname -- "$mf" ||
19920
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19921
X"$mf" : 'X\(//\)[^/]' \| \
19922
X"$mf" : 'X\(//\)$' \| \
19923
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19925
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19929
/^X\(\/\/\)[^/].*/{
19945
# Extract the definition of DEPDIR, am__include, and am__quote
19946
# from the Makefile without running `make'.
19947
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19948
test -z "$DEPDIR" && continue
19949
am__include=`sed -n 's/^am__include = //p' < "$mf"`
19950
test -z "am__include" && continue
19951
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19952
# When using ansi2knr, U may be empty or an underscore; expand it
19953
U=`sed -n 's/^U = //p' < "$mf"`
19954
# Find all dependency output files, they are included files with
19955
# $(DEPDIR) in their names. We invoke sed twice because it is the
19956
# simplest approach to changing $(DEPDIR) to its actual value in the
19958
for file in `sed -n "
19959
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19960
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
19961
# Make sure the directory exists.
19962
test -f "$dirpart/$file" && continue
19963
fdir=`$as_dirname -- "$file" ||
19964
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19965
X"$file" : 'X\(//\)[^/]' \| \
19966
X"$file" : 'X\(//\)$' \| \
19967
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19968
$as_echo X"$file" |
19969
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19973
/^X\(\/\/\)[^/].*/{
19986
as_dir=$dirpart/$fdir; as_fn_mkdir_p
19987
# echo "creating $dirpart/$file"
19988
echo '# dummy' > "$dirpart/$file"
19993
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
19994
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
19998
# See if we are running on zsh, and set the options which allow our
19999
# commands through without removal of \ escapes.
20000
if test -n "${ZSH_VERSION+set}" ; then
20001
setopt NO_GLOB_SUBST
20004
cfgfile="${ofile}T"
20005
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20008
cat <<_LT_EOF >> "$cfgfile"
20011
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20012
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20013
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20014
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
20016
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20017
# 2006, 2007, 2008 Free Software Foundation, Inc.
20018
# Written by Gordon Matzigkeit, 1996
20020
# This file is part of GNU Libtool.
20022
# GNU Libtool is free software; you can redistribute it and/or
20023
# modify it under the terms of the GNU General Public License as
20024
# published by the Free Software Foundation; either version 2 of
20025
# the License, or (at your option) any later version.
20027
# As a special exception to the GNU General Public License,
20028
# if you distribute this file as part of a program or library that
20029
# is built using GNU Libtool, you may include this file under the
20030
# same distribution terms that you use for the rest of that program.
20032
# GNU Libtool is distributed in the hope that it will be useful,
20033
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20034
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20035
# GNU General Public License for more details.
20037
# You should have received a copy of the GNU General Public License
20038
# along with GNU Libtool; see the file COPYING. If not, a copy
20039
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20040
# obtained by writing to the Free Software Foundation, Inc.,
20041
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20044
# The names of the tagged configurations supported by this script.
20045
available_tags="CXX "
20047
# ### BEGIN LIBTOOL CONFIG
20049
# Which release of libtool.m4 was used?
20050
macro_version=$macro_version
20051
macro_revision=$macro_revision
20053
# Whether or not to build static libraries.
20054
build_old_libs=$enable_static
20056
# Assembler program.
20059
# DLL creation program.
20062
# Object dumper program.
20065
# Whether or not to build shared libraries.
20066
build_libtool_libs=$enable_shared
20068
# What type of objects to build.
20071
# Whether or not to optimize for fast installation.
20072
fast_install=$enable_fast_install
20075
host_alias=$host_alias
20079
# The build system.
20080
build_alias=$build_alias
20084
# A sed program that does not truncate output.
20087
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
20088
Xsed="\$SED -e 1s/^X//"
20090
# A grep program that handles long lines.
20096
# A literal string matcher.
20099
# A BSD- or MS-compatible name lister.
20102
# Whether we need soft or hard links.
20105
# What is the maximum length of a command?
20106
max_cmd_len=$max_cmd_len
20108
# Object file suffix (normally "o").
20111
# Executable file suffix (normally "").
20114
# whether the shell understands "unset".
20117
# turn spaces into newlines.
20120
# turn newlines into spaces.
20123
# How to create reloadable object files.
20124
reload_flag=$lt_reload_flag
20125
reload_cmds=$lt_reload_cmds
20127
# Method to check whether dependent libraries are shared objects.
20128
deplibs_check_method=$lt_deplibs_check_method
20130
# Command to use when deplibs_check_method == "file_magic".
20131
file_magic_cmd=$lt_file_magic_cmd
20135
AR_FLAGS=$lt_AR_FLAGS
20137
# A symbol stripping program.
20140
# Commands used to install an old-style archive.
20142
old_postinstall_cmds=$lt_old_postinstall_cmds
20143
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20148
# LTCC compiler flags.
20149
LTCFLAGS=$lt_CFLAGS
20151
# Take the output of nm and produce a listing of raw symbols and C names.
20152
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20154
# Transform the output of nm in a proper C declaration.
20155
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20157
# Transform the output of nm in a C name address pair.
20158
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20160
# Transform the output of nm in a C name address pair when lib prefix is needed.
20161
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20163
# The name of the directory that contains temporary libtool files.
20166
# Shell to use when invoking shell scripts.
20169
# An echo program that does not interpret backslashes.
20172
# Used to examine libraries when file_magic_cmd begins with "file".
20173
MAGIC_CMD=$MAGIC_CMD
20175
# Must we lock files when doing compilation?
20176
need_locks=$lt_need_locks
20178
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20179
DSYMUTIL=$lt_DSYMUTIL
20181
# Tool to change global to local symbols on Mac OS X.
20184
# Tool to manipulate fat objects and archives on Mac OS X.
20187
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
20190
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20191
OTOOL64=$lt_OTOOL64
20193
# Old archive suffix (normally "a").
20196
# Shared library suffix (normally ".so").
20197
shrext_cmds=$lt_shrext_cmds
20199
# The commands to extract the exported symbol list from a shared archive.
20200
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20202
# Variables whose values should be saved in libtool wrapper scripts and
20203
# restored at link time.
20204
variables_saved_for_relink=$lt_variables_saved_for_relink
20206
# Do we need the "lib" prefix for modules?
20207
need_lib_prefix=$need_lib_prefix
20209
# Do we need a version for libraries?
20210
need_version=$need_version
20212
# Library versioning type.
20213
version_type=$version_type
20215
# Shared library runtime path variable.
20216
runpath_var=$runpath_var
20218
# Shared library path variable.
20219
shlibpath_var=$shlibpath_var
20221
# Is shlibpath searched before the hard-coded library search path?
20222
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20224
# Format of library name prefix.
20225
libname_spec=$lt_libname_spec
20227
# List of archive names. First name is the real one, the rest are links.
20228
# The last name is the one that the linker finds with -lNAME
20229
library_names_spec=$lt_library_names_spec
20231
# The coded name of the library, if different from the real name.
20232
soname_spec=$lt_soname_spec
20234
# Command to use after installation of a shared archive.
20235
postinstall_cmds=$lt_postinstall_cmds
20237
# Command to use after uninstallation of a shared archive.
20238
postuninstall_cmds=$lt_postuninstall_cmds
20240
# Commands used to finish a libtool library installation in a directory.
20241
finish_cmds=$lt_finish_cmds
20243
# As "finish_cmds", except a single script fragment to be evaled but
20245
finish_eval=$lt_finish_eval
20247
# Whether we should hardcode library paths into libraries.
20248
hardcode_into_libs=$hardcode_into_libs
20250
# Compile-time system search path for libraries.
20251
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20253
# Run-time system search path for libraries.
20254
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
20256
# Whether dlopen is supported.
20257
dlopen_support=$enable_dlopen
20259
# Whether dlopen of programs is supported.
20260
dlopen_self=$enable_dlopen_self
20262
# Whether dlopen of statically linked programs is supported.
20263
dlopen_self_static=$enable_dlopen_self_static
20265
# Commands to strip libraries.
20266
old_striplib=$lt_old_striplib
20267
striplib=$lt_striplib
20270
# The linker used to build libraries.
20273
# Commands used to build an old-style archive.
20274
old_archive_cmds=$lt_old_archive_cmds
20276
# A language specific compiler.
20279
# Is the compiler the GNU compiler?
20282
# Compiler flag to turn off builtin functions.
20283
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20285
# How to pass a linker flag through the compiler.
20286
wl=$lt_lt_prog_compiler_wl
20288
# Additional compiler flags for building library objects.
20289
pic_flag=$lt_lt_prog_compiler_pic
20291
# Compiler flag to prevent dynamic linking.
20292
link_static_flag=$lt_lt_prog_compiler_static
20294
# Does compiler simultaneously support -c and -o options?
20295
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20297
# Whether or not to add -lc for building shared libraries.
20298
build_libtool_need_lc=$archive_cmds_need_lc
20300
# Whether or not to disallow shared libs when runtime libs are static.
20301
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20303
# Compiler flag to allow reflexive dlopens.
20304
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20306
# Compiler flag to generate shared objects directly from archives.
20307
whole_archive_flag_spec=$lt_whole_archive_flag_spec
20309
# Whether the compiler copes with passing no objects directly.
20310
compiler_needs_object=$lt_compiler_needs_object
20312
# Create an old-style archive from a shared archive.
20313
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20315
# Create a temporary old-style archive to link instead of a shared archive.
20316
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20318
# Commands used to build a shared archive.
20319
archive_cmds=$lt_archive_cmds
20320
archive_expsym_cmds=$lt_archive_expsym_cmds
20322
# Commands used to build a loadable module if different from building
20323
# a shared archive.
20324
module_cmds=$lt_module_cmds
20325
module_expsym_cmds=$lt_module_expsym_cmds
20327
# Whether we are building with GNU ld or not.
20328
with_gnu_ld=$lt_with_gnu_ld
20330
# Flag that allows shared libraries with undefined symbols to be built.
20331
allow_undefined_flag=$lt_allow_undefined_flag
20333
# Flag that enforces no undefined symbols.
20334
no_undefined_flag=$lt_no_undefined_flag
20336
# Flag to hardcode \$libdir into a binary during linking.
20337
# This must work even if \$libdir does not exist
20338
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20340
# If ld is used when linking, flag to hardcode \$libdir into a binary
20341
# during linking. This must work even if \$libdir does not exist.
20342
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
20344
# Whether we need a single "-rpath" flag with a separated argument.
20345
hardcode_libdir_separator=$lt_hardcode_libdir_separator
20347
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20348
# DIR into the resulting binary.
20349
hardcode_direct=$hardcode_direct
20351
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20352
# DIR into the resulting binary and the resulting library dependency is
20353
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20354
# library is relocated.
20355
hardcode_direct_absolute=$hardcode_direct_absolute
20357
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20358
# into the resulting binary.
20359
hardcode_minus_L=$hardcode_minus_L
20361
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20362
# into the resulting binary.
20363
hardcode_shlibpath_var=$hardcode_shlibpath_var
20365
# Set to "yes" if building a shared library automatically hardcodes DIR
20366
# into the library and all subsequent libraries and executables linked
20368
hardcode_automatic=$hardcode_automatic
20370
# Set to yes if linker adds runtime paths of dependent libraries
20371
# to runtime path list.
20372
inherit_rpath=$inherit_rpath
20374
# Whether libtool must link a program against all its dependency libraries.
20375
link_all_deplibs=$link_all_deplibs
20377
# Fix the shell variable \$srcfile for the compiler.
20378
fix_srcfile_path=$lt_fix_srcfile_path
20380
# Set to "yes" if exported symbols are required.
20381
always_export_symbols=$always_export_symbols
20383
# The commands to list exported symbols.
20384
export_symbols_cmds=$lt_export_symbols_cmds
20386
# Symbols that should not be listed in the preloaded symbols.
20387
exclude_expsyms=$lt_exclude_expsyms
20389
# Symbols that must always be exported.
20390
include_expsyms=$lt_include_expsyms
20392
# Commands necessary for linking programs (against libraries) with templates.
20393
prelink_cmds=$lt_prelink_cmds
20395
# Specify filename containing input files.
20396
file_list_spec=$lt_file_list_spec
20398
# How to hardcode a shared library path into an executable.
20399
hardcode_action=$hardcode_action
20401
# The directories searched by this compiler when creating a shared library.
20402
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20404
# Dependencies to place before and after the objects being linked to
20405
# create a shared library.
20406
predep_objects=$lt_predep_objects
20407
postdep_objects=$lt_postdep_objects
20408
predeps=$lt_predeps
20409
postdeps=$lt_postdeps
20411
# The library search path used internally by the compiler when linking
20412
# a shared library.
20413
compiler_lib_search_path=$lt_compiler_lib_search_path
20415
# ### END LIBTOOL CONFIG
20421
cat <<\_LT_EOF >> "$cfgfile"
20422
# AIX sometimes has problems with the GCC collect2 program. For some
20423
# reason, if we set the COLLECT_NAMES environment variable, the problems
20424
# vanish in a puff of smoke.
20425
if test "X${COLLECT_NAMES+set}" != Xset; then
20427
export COLLECT_NAMES
20434
ltmain="$ac_aux_dir/ltmain.sh"
20437
# We use sed instead of cat because bash on DJGPP gets confused if
20438
# if finds mixed CR/LF and LF-only lines. Since sed operates in
20439
# text mode, it properly converts lines to CR/LF. This bash problem
20440
# is reportedly fixed, but why not run on old versions too?
20441
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20442
|| (rm -f "$cfgfile"; exit 1)
20446
cat << \_LT_EOF >> "$cfgfile"
20448
# func_dirname file append nondir_replacement
20449
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
20450
# otherwise set result to NONDIR_REPLACEMENT.
20454
*/*) func_dirname_result="${1%/*}${2}" ;;
20455
* ) func_dirname_result="${3}" ;;
20459
# func_basename file
20462
func_basename_result="${1##*/}"
20465
# func_dirname_and_basename file append nondir_replacement
20466
# perform func_basename and func_dirname in a single function
20468
# dirname: Compute the dirname of FILE. If nonempty,
20469
# add APPEND to the result, otherwise set result
20470
# to NONDIR_REPLACEMENT.
20471
# value returned in "$func_dirname_result"
20472
# basename: Compute filename of FILE.
20473
# value retuned in "$func_basename_result"
20474
# Implementation must be kept synchronized with func_dirname
20475
# and func_basename. For efficiency, we do not delegate to
20476
# those functions but instead duplicate the functionality here.
20477
func_dirname_and_basename ()
20480
*/*) func_dirname_result="${1%/*}${2}" ;;
20481
* ) func_dirname_result="${3}" ;;
20483
func_basename_result="${1##*/}"
20486
# func_stripname prefix suffix name
20487
# strip PREFIX and SUFFIX off of NAME.
20488
# PREFIX and SUFFIX must not contain globbing or regex special
20489
# characters, hashes, percent signs, but SUFFIX may contain a leading
20490
# dot (in which case that matches only a dot).
20493
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20494
# positional parameters, so assign one to ordinary parameter first.
20495
func_stripname_result=${3}
20496
func_stripname_result=${func_stripname_result#"${1}"}
20497
func_stripname_result=${func_stripname_result%"${2}"}
20503
func_opt_split_opt=${1%%=*}
20504
func_opt_split_arg=${1#*=}
20511
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
20512
*) func_lo2o_result=${1} ;;
20516
# func_xform libobj-or-source
20519
func_xform_result=${1%.*}.lo
20522
# func_arith arithmetic-term...
20525
func_arith_result=$(( $* ))
20529
# STRING may not start with a hyphen.
20532
func_len_result=${#1}
20537
*) # Bourne compatible functions.
20538
cat << \_LT_EOF >> "$cfgfile"
20540
# func_dirname file append nondir_replacement
20541
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
20542
# otherwise set result to NONDIR_REPLACEMENT.
20545
# Extract subdirectory from the argument.
20546
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
20547
if test "X$func_dirname_result" = "X${1}"; then
20548
func_dirname_result="${3}"
20550
func_dirname_result="$func_dirname_result${2}"
20554
# func_basename file
20557
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
20561
# func_stripname prefix suffix name
20562
# strip PREFIX and SUFFIX off of NAME.
20563
# PREFIX and SUFFIX must not contain globbing or regex special
20564
# characters, hashes, percent signs, but SUFFIX may contain a leading
20565
# dot (in which case that matches only a dot).
20566
# func_strip_suffix prefix name
20570
.*) func_stripname_result=`$ECHO "X${3}" \
20571
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
20572
*) func_stripname_result=`$ECHO "X${3}" \
20573
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
20578
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
20579
my_sed_long_arg='1s/^-[^=]*=//'
20584
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
20585
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
20591
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
20594
# func_xform libobj-or-source
20597
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
20600
# func_arith arithmetic-term...
20603
func_arith_result=`expr "$@"`
20607
# STRING may not start with a hyphen.
20610
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20616
case $lt_shell_append in
20618
cat << \_LT_EOF >> "$cfgfile"
20620
# func_append var value
20621
# Append VALUE to the end of shell variable VAR.
20629
cat << \_LT_EOF >> "$cfgfile"
20631
# func_append var value
20632
# Append VALUE to the end of shell variable VAR.
20643
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20644
|| (rm -f "$cfgfile"; exit 1)
20646
mv -f "$cfgfile" "$ofile" ||
20647
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20651
cat <<_LT_EOF >> "$ofile"
20653
# ### BEGIN LIBTOOL TAG CONFIG: CXX
20655
# The linker used to build libraries.
20658
# Commands used to build an old-style archive.
20659
old_archive_cmds=$lt_old_archive_cmds_CXX
20661
# A language specific compiler.
20662
CC=$lt_compiler_CXX
20664
# Is the compiler the GNU compiler?
20667
# Compiler flag to turn off builtin functions.
20668
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20670
# How to pass a linker flag through the compiler.
20671
wl=$lt_lt_prog_compiler_wl_CXX
20673
# Additional compiler flags for building library objects.
20674
pic_flag=$lt_lt_prog_compiler_pic_CXX
20676
# Compiler flag to prevent dynamic linking.
20677
link_static_flag=$lt_lt_prog_compiler_static_CXX
20679
# Does compiler simultaneously support -c and -o options?
20680
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
20682
# Whether or not to add -lc for building shared libraries.
20683
build_libtool_need_lc=$archive_cmds_need_lc_CXX
20685
# Whether or not to disallow shared libs when runtime libs are static.
20686
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
20688
# Compiler flag to allow reflexive dlopens.
20689
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
20691
# Compiler flag to generate shared objects directly from archives.
20692
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
20694
# Whether the compiler copes with passing no objects directly.
20695
compiler_needs_object=$lt_compiler_needs_object_CXX
20697
# Create an old-style archive from a shared archive.
20698
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
20700
# Create a temporary old-style archive to link instead of a shared archive.
20701
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
20703
# Commands used to build a shared archive.
20704
archive_cmds=$lt_archive_cmds_CXX
20705
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
20707
# Commands used to build a loadable module if different from building
20708
# a shared archive.
20709
module_cmds=$lt_module_cmds_CXX
20710
module_expsym_cmds=$lt_module_expsym_cmds_CXX
20712
# Whether we are building with GNU ld or not.
20713
with_gnu_ld=$lt_with_gnu_ld_CXX
20715
# Flag that allows shared libraries with undefined symbols to be built.
20716
allow_undefined_flag=$lt_allow_undefined_flag_CXX
20718
# Flag that enforces no undefined symbols.
20719
no_undefined_flag=$lt_no_undefined_flag_CXX
20721
# Flag to hardcode \$libdir into a binary during linking.
20722
# This must work even if \$libdir does not exist
20723
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
20725
# If ld is used when linking, flag to hardcode \$libdir into a binary
20726
# during linking. This must work even if \$libdir does not exist.
20727
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
20729
# Whether we need a single "-rpath" flag with a separated argument.
20730
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
20732
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20733
# DIR into the resulting binary.
20734
hardcode_direct=$hardcode_direct_CXX
20736
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
20737
# DIR into the resulting binary and the resulting library dependency is
20738
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
20739
# library is relocated.
20740
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
20742
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20743
# into the resulting binary.
20744
hardcode_minus_L=$hardcode_minus_L_CXX
20746
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20747
# into the resulting binary.
20748
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
20750
# Set to "yes" if building a shared library automatically hardcodes DIR
20751
# into the library and all subsequent libraries and executables linked
20753
hardcode_automatic=$hardcode_automatic_CXX
20755
# Set to yes if linker adds runtime paths of dependent libraries
20756
# to runtime path list.
20757
inherit_rpath=$inherit_rpath_CXX
20759
# Whether libtool must link a program against all its dependency libraries.
20760
link_all_deplibs=$link_all_deplibs_CXX
20762
# Fix the shell variable \$srcfile for the compiler.
20763
fix_srcfile_path=$lt_fix_srcfile_path_CXX
20765
# Set to "yes" if exported symbols are required.
20766
always_export_symbols=$always_export_symbols_CXX
20768
# The commands to list exported symbols.
20769
export_symbols_cmds=$lt_export_symbols_cmds_CXX
20771
# Symbols that should not be listed in the preloaded symbols.
20772
exclude_expsyms=$lt_exclude_expsyms_CXX
20774
# Symbols that must always be exported.
20775
include_expsyms=$lt_include_expsyms_CXX
20777
# Commands necessary for linking programs (against libraries) with templates.
20778
prelink_cmds=$lt_prelink_cmds_CXX
20780
# Specify filename containing input files.
20781
file_list_spec=$lt_file_list_spec_CXX
20783
# How to hardcode a shared library path into an executable.
20784
hardcode_action=$hardcode_action_CXX
20786
# The directories searched by this compiler when creating a shared library.
20787
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
20789
# Dependencies to place before and after the objects being linked to
20790
# create a shared library.
20791
predep_objects=$lt_predep_objects_CXX
20792
postdep_objects=$lt_postdep_objects_CXX
20793
predeps=$lt_predeps_CXX
20794
postdeps=$lt_postdeps_CXX
20796
# The library search path used internally by the compiler when linking
20797
# a shared library.
20798
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
20800
# ### END LIBTOOL TAG CONFIG: CXX
20805
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
20806
as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
20808
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
20813
'"s|^| $ac_top_srcdir/|" \
20814
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
20816
sed '/^POTFILES =/,/[^\\]$/ {
20820
' "po/Makefile.in" >"po/Makefile"
20821
rm -f "po/Makefile.tmp"
20822
mv "po/stamp-it.tmp" "po/stamp-it"
20831
ac_clean_files=$ac_clean_files_save
20833
test $ac_write_fail = 0 ||
20834
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
20837
# configure is writing to config.log, and then calls config.status.
20838
# config.status does its own redirection, appending to config.log.
20839
# Unfortunately, on DOS this fails, as config.log is still kept open
20840
# by configure, so config.status won't be able to write to it; its
20841
# output is simply discarded. So we exec the FD to /dev/null,
20842
# effectively closing config.log, so it can be properly (re)opened and
20843
# appended to by config.status. When coming back to configure, we
20844
# need to make the FD available again.
20845
if test "$no_create" != yes; then
20847
ac_config_status_args=
20848
test "$silent" = yes &&
20849
ac_config_status_args="$ac_config_status_args --quiet"
20851
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20853
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
20854
# would make configure fail if this is the last instruction.
20855
$ac_cs_success || as_fn_exit $?
20857
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20858
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20859
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20866
Cookies support in soup : ${HAVE_NEWSOUP}
20867
Editor component type : ${GNOME_GTKHTML_EDITOR_TYPE}