2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.64 for gmlive 0.22.2.
5
# Report bugs to <xihels@gmail.com>.
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
14
# Copyright (C) 2007 xihels@gmail.com
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 xihels@gmail.com
234
$0: about your system, including any error possibly output
235
$0: before this message. Then install a modern shell, or
236
$0: manually run the script under such a shell if you do
243
SHELL=${CONFIG_SHELL-/bin/sh}
245
# Unset more variables known to interfere with behavior of common tools.
246
CLICOLOR_FORCE= GREP_OPTIONS=
247
unset CLICOLOR_FORCE GREP_OPTIONS
249
## --------------------- ##
250
## M4sh Shell Functions. ##
251
## --------------------- ##
254
# Portably unset VAR.
257
{ eval $1=; unset $1;}
261
# as_fn_set_status STATUS
262
# -----------------------
263
# Set $? to STATUS, without forking.
271
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281
# Create "$as_dir" as a directory, including parents if necessary.
286
-*) as_dir=./$as_dir;;
288
test -d "$as_dir" || eval $as_mkdir_p || {
292
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295
as_dirs="'$as_qdir' $as_dirs"
296
as_dir=`$as_dirname -- "$as_dir" ||
297
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298
X"$as_dir" : 'X\(//\)[^/]' \| \
299
X"$as_dir" : 'X\(//\)$' \| \
300
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301
$as_echo X"$as_dir" |
302
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319
test -d "$as_dir" && break
321
test -z "$as_dirs" || eval "mkdir $as_dirs"
322
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
# as_fn_append VAR VALUE
327
# ----------------------
328
# Append the text in VALUE to the end of the definition contained in VAR. Take
329
# advantage of any shell optimizations that allow amortized linear growth over
330
# repeated appends, instead of the typical quadratic growth present in naive
332
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333
eval 'as_fn_append ()
346
# Perform arithmetic evaluation on the ARGs, and store the result in the
347
# global $as_val. Take advantage of shells that can avoid forks. The arguments
348
# must be portable across $(()) and expr.
349
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
357
as_val=`expr "$@" || test $? -eq 1`
362
# as_fn_error ERROR [LINENO LOG_FD]
363
# ---------------------------------
364
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366
# script with status $?, using 1 if that was 0.
369
as_status=$?; test $as_status -eq 0 && as_status=1
371
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
372
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374
$as_echo "$as_me: error: $1" >&2
375
as_fn_exit $as_status
378
if expr a : '\(a\)' >/dev/null 2>&1 &&
379
test "X`expr 00001 : '.*\(...\)'`" = X001; then
385
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397
as_me=`$as_basename -- "$0" ||
398
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399
X"$0" : 'X\(//\)$' \| \
400
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402
sed '/^.*\/\([^/][^/]*\)\/*$/{
416
# Avoid depending upon Character Ranges.
417
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420
as_cr_digits='0123456789'
421
as_cr_alnum=$as_cr_Letters$as_cr_digits
424
as_lineno_1=$LINENO as_lineno_1a=$LINENO
425
as_lineno_2=$LINENO as_lineno_2a=$LINENO
426
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
428
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444
chmod +x "$as_me.lineno" ||
445
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
447
# Don't try to exec as it changes $[0], causing all sort of problems
448
# (the dirname of $[0] is not the place where we might find the
449
# original and so on. Autoconf is especially sensitive to this).
451
# Exit status is that of the last command.
455
ECHO_C= ECHO_N= ECHO_T=
456
case `echo -n x` in #(((((
458
case `echo 'xy\c'` in
459
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
461
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
468
rm -f conf$$ conf$$.exe conf$$.file
469
if test -d conf$$.dir; then
470
rm -f conf$$.dir/conf$$.file
473
mkdir conf$$.dir 2>/dev/null
475
if (echo >conf$$.file) 2>/dev/null; then
476
if ln -s conf$$.file conf$$ 2>/dev/null; then
478
# ... but there are two gotchas:
479
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481
# In both cases, we have to default to `cp -p'.
482
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
484
elif ln conf$$.file conf$$ 2>/dev/null; then
492
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493
rmdir conf$$.dir 2>/dev/null
495
if mkdir -p . 2>/dev/null; then
496
as_mkdir_p='mkdir -p "$as_dir"'
498
test -d ./-p && rmdir ./-p
502
if test -x / >/dev/null 2>&1; then
505
if ls -dL / >/dev/null 2>&1; then
512
if test -d "$1"; then
518
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519
???[sx]*):;;*)false;;esac;fi
523
as_executable_p=$as_test_x
525
# Sed expression to map a string onto a valid CPP name.
526
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528
# Sed expression to map a string onto a valid variable name.
529
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
# Check that we are running under the correct shell.
534
SHELL=${CONFIG_SHELL-/bin/sh}
538
# Remove one level of quotation (which was required for Make).
539
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
544
if test "X$1" = X--no-reexec; then
545
# Discard the --no-reexec flag, and continue.
547
elif test "X$1" = X--fallback-echo; then
548
# Avoid inline document here, it may be left over
550
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
551
# Yippee, $ECHO works!
554
# Restart under the correct shell.
555
exec $SHELL "$0" --no-reexec ${1+"$@"}
558
if test "X$1" = X--fallback-echo; then
559
# used as fallback echo
567
# The HP-UX ksh and POSIX shell print the target directory to stdout
569
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
571
if test -z "$lt_ECHO"; then
572
if test "X${echo_test_string+set}" != Xset; then
573
# find a string as large as possible, as long as the shell can cope with it
574
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
575
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
576
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
577
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
584
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
585
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
586
test "X$echo_testing_string" = "X$echo_test_string"; then
589
# The Solaris, AIX, and Digital Unix default echo programs unquote
590
# backslashes. This makes it impossible to quote backslashes using
591
# echo "$something" | sed 's/\\/\\\\/g'
593
# So, first we look for a working echo in the user's PATH.
595
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
596
for dir in $PATH /usr/ucb; do
598
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
599
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
600
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
601
test "X$echo_testing_string" = "X$echo_test_string"; then
608
if test "X$ECHO" = Xecho; then
609
# We didn't find a better echo, so look for alternatives.
610
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
611
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
612
test "X$echo_testing_string" = "X$echo_test_string"; then
613
# This shell has a builtin print -r that does the trick.
615
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
616
test "X$CONFIG_SHELL" != X/bin/ksh; then
617
# If we have ksh, try running configure again with it.
618
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
619
export ORIGINAL_CONFIG_SHELL
620
CONFIG_SHELL=/bin/ksh
622
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
626
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
test "X$echo_testing_string" = "X$echo_test_string"; then
631
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
632
test "X$echo_testing_string" = 'X\t' &&
633
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
634
test "X$echo_testing_string" = "X$echo_test_string"; then
635
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
637
SHELL="$CONFIG_SHELL"
639
ECHO="$CONFIG_SHELL $0 --fallback-echo"
640
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
641
test "X$echo_testing_string" = 'X\t' &&
642
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
643
test "X$echo_testing_string" = "X$echo_test_string"; then
644
ECHO="$CONFIG_SHELL $0 --fallback-echo"
646
# maybe with a smaller string...
649
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
650
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
657
if test "$prev" != 'sed 50q "$0"'; then
658
echo_test_string=`eval $prev`
659
export echo_test_string
660
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
662
# Oops. We lost completely, so just stick with echo.
671
# Copy echo and quote the copy suitably for passing to libtool from
672
# the Makefile, instead of quoting the original, which is used later.
674
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
675
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
681
exec 7<&0 </dev/null 6>&1
684
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
685
# so uname gets run too.
686
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
691
ac_default_prefix=/usr/local
693
ac_config_libobj_dir=.
700
# Identity of this package.
701
PACKAGE_NAME='gmlive'
702
PACKAGE_TARNAME='gmlive'
703
PACKAGE_VERSION='0.22.2'
704
PACKAGE_STRING='gmlive 0.22.2'
705
PACKAGE_BUGREPORT='xihels@gmail.com'
708
ac_unique_file="src/main.cpp"
709
# Factoring default headers for most tests.
710
ac_includes_default="\
712
#ifdef HAVE_SYS_TYPES_H
713
# include <sys/types.h>
715
#ifdef HAVE_SYS_STAT_H
716
# include <sys/stat.h>
722
# ifdef HAVE_STDLIB_H
727
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
732
#ifdef HAVE_STRINGS_H
733
# include <strings.h>
735
#ifdef HAVE_INTTYPES_H
736
# include <inttypes.h>
745
ac_subst_vars='am__EXEEXT_FALSE
823
INTLTOOL_SERVICE_RULE
825
INTLTOOL_SCHEMAS_RULE
827
INTLTOOL_XML_NOMERGE_RULE
832
INTLTOOL_SOUNDLIST_RULE
839
INTLTOOL_DIRECTORY_RULE
840
INTLTOOL_DESKTOP_RULE
846
MAINTAINER_MODE_FALSE
856
INSTALL_STRIP_PROGRAM
898
program_transform_name
911
enable_option_checking
912
enable_maintainer_mode
914
enable_dependency_tracking
922
ac_precious_vars='build_alias
940
# Initialize some variables set by options.
942
ac_init_version=false
943
ac_unrecognized_opts=
945
# The variables have the same names as the options, with
946
# dashes changed to underlines.
954
program_transform_name=s,x,x,
962
# Installation directory options.
963
# These are left unexpanded so users can "make install exec_prefix=/foo"
964
# and all the variables that are supposed to be based on exec_prefix
965
# by default will actually change.
966
# Use braces instead of parens because sh, perl, etc. also accept them.
967
# (The list follows the same order as the GNU Coding Standards.)
968
bindir='${exec_prefix}/bin'
969
sbindir='${exec_prefix}/sbin'
970
libexecdir='${exec_prefix}/libexec'
971
datarootdir='${prefix}/share'
972
datadir='${datarootdir}'
973
sysconfdir='${prefix}/etc'
974
sharedstatedir='${prefix}/com'
975
localstatedir='${prefix}/var'
976
includedir='${prefix}/include'
977
oldincludedir='/usr/include'
978
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
979
infodir='${datarootdir}/info'
984
libdir='${exec_prefix}/lib'
985
localedir='${datarootdir}/locale'
986
mandir='${datarootdir}/man'
992
# If the previous option needs an argument, assign it.
993
if test -n "$ac_prev"; then
994
eval $ac_prev=\$ac_option
1000
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1004
# Accept the important Cygnus configure options, so we can diagnose typos.
1006
case $ac_dashdash$ac_option in
1010
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1012
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1013
bindir=$ac_optarg ;;
1015
-build | --build | --buil | --bui | --bu)
1016
ac_prev=build_alias ;;
1017
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1018
build_alias=$ac_optarg ;;
1020
-cache-file | --cache-file | --cache-fil | --cache-fi \
1021
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1022
ac_prev=cache_file ;;
1023
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1024
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1025
cache_file=$ac_optarg ;;
1027
--config-cache | -C)
1028
cache_file=config.cache ;;
1030
-datadir | --datadir | --datadi | --datad)
1032
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1033
datadir=$ac_optarg ;;
1035
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1036
| --dataroo | --dataro | --datar)
1037
ac_prev=datarootdir ;;
1038
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1039
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1040
datarootdir=$ac_optarg ;;
1042
-disable-* | --disable-*)
1043
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1044
# Reject names that are not valid shell variable names.
1045
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046
as_fn_error "invalid feature name: $ac_useropt"
1047
ac_useropt_orig=$ac_useropt
1048
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049
case $ac_user_opts in
1051
"enable_$ac_useropt"
1053
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1054
ac_unrecognized_sep=', ';;
1056
eval enable_$ac_useropt=no ;;
1058
-docdir | --docdir | --docdi | --doc | --do)
1060
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1061
docdir=$ac_optarg ;;
1063
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1065
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1066
dvidir=$ac_optarg ;;
1068
-enable-* | --enable-*)
1069
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1070
# Reject names that are not valid shell variable names.
1071
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1072
as_fn_error "invalid feature name: $ac_useropt"
1073
ac_useropt_orig=$ac_useropt
1074
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1075
case $ac_user_opts in
1077
"enable_$ac_useropt"
1079
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1080
ac_unrecognized_sep=', ';;
1082
eval enable_$ac_useropt=\$ac_optarg ;;
1084
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1085
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1086
| --exec | --exe | --ex)
1087
ac_prev=exec_prefix ;;
1088
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1089
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1090
| --exec=* | --exe=* | --ex=*)
1091
exec_prefix=$ac_optarg ;;
1093
-gas | --gas | --ga | --g)
1094
# Obsolete; use --with-gas.
1097
-help | --help | --hel | --he | -h)
1098
ac_init_help=long ;;
1099
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1100
ac_init_help=recursive ;;
1101
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1102
ac_init_help=short ;;
1104
-host | --host | --hos | --ho)
1105
ac_prev=host_alias ;;
1106
-host=* | --host=* | --hos=* | --ho=*)
1107
host_alias=$ac_optarg ;;
1109
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1111
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1113
htmldir=$ac_optarg ;;
1115
-includedir | --includedir | --includedi | --included | --include \
1116
| --includ | --inclu | --incl | --inc)
1117
ac_prev=includedir ;;
1118
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1119
| --includ=* | --inclu=* | --incl=* | --inc=*)
1120
includedir=$ac_optarg ;;
1122
-infodir | --infodir | --infodi | --infod | --info | --inf)
1124
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1125
infodir=$ac_optarg ;;
1127
-libdir | --libdir | --libdi | --libd)
1129
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1130
libdir=$ac_optarg ;;
1132
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1133
| --libexe | --libex | --libe)
1134
ac_prev=libexecdir ;;
1135
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1136
| --libexe=* | --libex=* | --libe=*)
1137
libexecdir=$ac_optarg ;;
1139
-localedir | --localedir | --localedi | --localed | --locale)
1140
ac_prev=localedir ;;
1141
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1142
localedir=$ac_optarg ;;
1144
-localstatedir | --localstatedir | --localstatedi | --localstated \
1145
| --localstate | --localstat | --localsta | --localst | --locals)
1146
ac_prev=localstatedir ;;
1147
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1148
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1149
localstatedir=$ac_optarg ;;
1151
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1153
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1154
mandir=$ac_optarg ;;
1156
-nfp | --nfp | --nf)
1157
# Obsolete; use --without-fp.
1160
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1161
| --no-cr | --no-c | -n)
1164
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1165
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1168
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1169
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1170
| --oldin | --oldi | --old | --ol | --o)
1171
ac_prev=oldincludedir ;;
1172
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1173
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1174
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1175
oldincludedir=$ac_optarg ;;
1177
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1179
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1180
prefix=$ac_optarg ;;
1182
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1183
| --program-pre | --program-pr | --program-p)
1184
ac_prev=program_prefix ;;
1185
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1186
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1187
program_prefix=$ac_optarg ;;
1189
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1190
| --program-suf | --program-su | --program-s)
1191
ac_prev=program_suffix ;;
1192
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1193
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1194
program_suffix=$ac_optarg ;;
1196
-program-transform-name | --program-transform-name \
1197
| --program-transform-nam | --program-transform-na \
1198
| --program-transform-n | --program-transform- \
1199
| --program-transform | --program-transfor \
1200
| --program-transfo | --program-transf \
1201
| --program-trans | --program-tran \
1202
| --progr-tra | --program-tr | --program-t)
1203
ac_prev=program_transform_name ;;
1204
-program-transform-name=* | --program-transform-name=* \
1205
| --program-transform-nam=* | --program-transform-na=* \
1206
| --program-transform-n=* | --program-transform-=* \
1207
| --program-transform=* | --program-transfor=* \
1208
| --program-transfo=* | --program-transf=* \
1209
| --program-trans=* | --program-tran=* \
1210
| --progr-tra=* | --program-tr=* | --program-t=*)
1211
program_transform_name=$ac_optarg ;;
1213
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1215
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1216
pdfdir=$ac_optarg ;;
1218
-psdir | --psdir | --psdi | --psd | --ps)
1220
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1223
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1224
| -silent | --silent | --silen | --sile | --sil)
1227
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1229
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1231
sbindir=$ac_optarg ;;
1233
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1234
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1235
| --sharedst | --shareds | --shared | --share | --shar \
1237
ac_prev=sharedstatedir ;;
1238
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1239
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1240
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1242
sharedstatedir=$ac_optarg ;;
1244
-site | --site | --sit)
1246
-site=* | --site=* | --sit=*)
1249
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1251
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1252
srcdir=$ac_optarg ;;
1254
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1255
| --syscon | --sysco | --sysc | --sys | --sy)
1256
ac_prev=sysconfdir ;;
1257
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1258
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1259
sysconfdir=$ac_optarg ;;
1261
-target | --target | --targe | --targ | --tar | --ta | --t)
1262
ac_prev=target_alias ;;
1263
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1264
target_alias=$ac_optarg ;;
1266
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1269
-version | --version | --versio | --versi | --vers | -V)
1270
ac_init_version=: ;;
1273
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1274
# Reject names that are not valid shell variable names.
1275
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1276
as_fn_error "invalid package name: $ac_useropt"
1277
ac_useropt_orig=$ac_useropt
1278
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1279
case $ac_user_opts in
1283
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1284
ac_unrecognized_sep=', ';;
1286
eval with_$ac_useropt=\$ac_optarg ;;
1288
-without-* | --without-*)
1289
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1290
# Reject names that are not valid shell variable names.
1291
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1292
as_fn_error "invalid package name: $ac_useropt"
1293
ac_useropt_orig=$ac_useropt
1294
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1295
case $ac_user_opts in
1299
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1300
ac_unrecognized_sep=', ';;
1302
eval with_$ac_useropt=no ;;
1305
# Obsolete; use --with-x.
1308
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1309
| --x-incl | --x-inc | --x-in | --x-i)
1310
ac_prev=x_includes ;;
1311
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1312
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1313
x_includes=$ac_optarg ;;
1315
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1316
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1317
ac_prev=x_libraries ;;
1318
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1319
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1320
x_libraries=$ac_optarg ;;
1322
-*) as_fn_error "unrecognized option: \`$ac_option'
1323
Try \`$0 --help' for more information."
1327
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1328
# Reject names that are not valid shell variable names.
1329
case $ac_envvar in #(
1330
'' | [0-9]* | *[!_$as_cr_alnum]* )
1331
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1333
eval $ac_envvar=\$ac_optarg
1334
export $ac_envvar ;;
1337
# FIXME: should be removed in autoconf 3.0.
1338
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1339
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1340
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1341
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1347
if test -n "$ac_prev"; then
1348
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1349
as_fn_error "missing argument to $ac_option"
1352
if test -n "$ac_unrecognized_opts"; then
1353
case $enable_option_checking in
1355
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1356
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1360
# Check all directory arguments for consistency.
1361
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1362
datadir sysconfdir sharedstatedir localstatedir includedir \
1363
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1364
libdir localedir mandir
1366
eval ac_val=\$$ac_var
1367
# Remove trailing slashes.
1370
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1371
eval $ac_var=\$ac_val;;
1373
# Be sure to have absolute directory names.
1375
[\\/$]* | ?:[\\/]* ) continue;;
1376
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1378
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1381
# There might be people who depend on the old broken behavior: `$host'
1382
# used to hold the argument of --host etc.
1383
# FIXME: To remove some day.
1386
target=$target_alias
1388
# FIXME: To remove some day.
1389
if test "x$host_alias" != x; then
1390
if test "x$build_alias" = x; then
1391
cross_compiling=maybe
1392
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1393
If a cross compiler is detected then cross compile mode will be used." >&2
1394
elif test "x$build_alias" != "x$host_alias"; then
1400
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1402
test "$silent" = yes && exec 6>/dev/null
1405
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1406
ac_ls_di=`ls -di .` &&
1407
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1408
as_fn_error "working directory cannot be determined"
1409
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1410
as_fn_error "pwd does not report name of working directory"
1413
# Find the source files, if location was not specified.
1414
if test -z "$srcdir"; then
1415
ac_srcdir_defaulted=yes
1416
# Try the directory containing this script, then the parent directory.
1417
ac_confdir=`$as_dirname -- "$as_myself" ||
1418
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1419
X"$as_myself" : 'X\(//\)[^/]' \| \
1420
X"$as_myself" : 'X\(//\)$' \| \
1421
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1422
$as_echo X"$as_myself" |
1423
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1441
if test ! -r "$srcdir/$ac_unique_file"; then
1445
ac_srcdir_defaulted=no
1447
if test ! -r "$srcdir/$ac_unique_file"; then
1448
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1449
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1451
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1453
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1455
# When building in place, set srcdir=.
1456
if test "$ac_abs_confdir" = "$ac_pwd"; then
1459
# Remove unnecessary trailing slashes from srcdir.
1460
# Double slashes in file names in object file debugging info
1461
# mess up M-x gdb in Emacs.
1463
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1465
for ac_var in $ac_precious_vars; do
1466
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1467
eval ac_env_${ac_var}_value=\$${ac_var}
1468
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1469
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1473
# Report the --help message.
1475
if test "$ac_init_help" = "long"; then
1476
# Omit some internal or obsolete options to make the list less imposing.
1477
# This message is too long to be a string in the A/UX 3.1 sh.
1479
\`configure' configures gmlive 0.22.2 to adapt to many kinds of systems.
1481
Usage: $0 [OPTION]... [VAR=VALUE]...
1483
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1484
VAR=VALUE. See below for descriptions of some of the useful variables.
1486
Defaults for the options are specified in brackets.
1489
-h, --help display this help and exit
1490
--help=short display options specific to this package
1491
--help=recursive display the short help of all the included packages
1492
-V, --version display version information and exit
1493
-q, --quiet, --silent do not print \`checking...' messages
1494
--cache-file=FILE cache test results in FILE [disabled]
1495
-C, --config-cache alias for \`--cache-file=config.cache'
1496
-n, --no-create do not create output files
1497
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1499
Installation directories:
1500
--prefix=PREFIX install architecture-independent files in PREFIX
1501
[$ac_default_prefix]
1502
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1505
By default, \`make install' will install all the files in
1506
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1507
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1508
for instance \`--prefix=\$HOME'.
1510
For better control, use the options below.
1512
Fine tuning of the installation directories:
1513
--bindir=DIR user executables [EPREFIX/bin]
1514
--sbindir=DIR system admin executables [EPREFIX/sbin]
1515
--libexecdir=DIR program executables [EPREFIX/libexec]
1516
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1517
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1518
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1519
--libdir=DIR object code libraries [EPREFIX/lib]
1520
--includedir=DIR C header files [PREFIX/include]
1521
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1522
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1523
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1524
--infodir=DIR info documentation [DATAROOTDIR/info]
1525
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1526
--mandir=DIR man documentation [DATAROOTDIR/man]
1527
--docdir=DIR documentation root [DATAROOTDIR/doc/gmlive]
1528
--htmldir=DIR html documentation [DOCDIR]
1529
--dvidir=DIR dvi documentation [DOCDIR]
1530
--pdfdir=DIR pdf documentation [DOCDIR]
1531
--psdir=DIR ps documentation [DOCDIR]
1537
--program-prefix=PREFIX prepend PREFIX to installed program names
1538
--program-suffix=SUFFIX append SUFFIX to installed program names
1539
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1542
--build=BUILD configure for building on BUILD [guessed]
1543
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1547
if test -n "$ac_init_help"; then
1548
case $ac_init_help in
1549
short | recursive ) echo "Configuration of gmlive 0.22.2:";;
1554
--disable-option-checking ignore unrecognized --enable/--with options
1555
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1556
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1557
--enable-maintainer-mode enable make rules and dependencies not useful
1558
(and sometimes confusing) to the casual installer
1559
--disable-nls do not use Native Language Support
1560
--disable-dependency-tracking speeds up one-time build
1561
--enable-dependency-tracking do not reject slow dependency extractors
1562
--enable-shared[=PKGS] build shared libraries [default=yes]
1563
--enable-static[=PKGS] build static libraries [default=yes]
1564
--enable-fast-install[=PKGS]
1565
optimize for fast installation [default=yes]
1566
--disable-libtool-lock avoid locking (might break parallel builds)
1569
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1570
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1571
--with-pic try to use only PIC/non-PIC objects [default=use
1573
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1575
Some influential environment variables:
1576
CC C compiler command
1577
CFLAGS C compiler flags
1578
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1579
nonstandard directory <lib dir>
1580
LIBS libraries to pass to the linker, e.g. -l<library>
1581
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1582
you have headers in a nonstandard directory <include dir>
1584
CXX C++ compiler command
1585
CXXFLAGS C++ compiler flags
1586
CXXCPP C++ preprocessor
1587
PKG_CONFIG path to pkg-config utility
1589
C compiler flags for PACKAGE, overriding pkg-config
1591
linker flags for PACKAGE, overriding pkg-config
1593
Use these variables to override the choices made by `configure' or to help
1594
it to find libraries and programs with nonstandard names/locations.
1596
Report bugs to <xihels@gmail.com>.
1601
if test "$ac_init_help" = "recursive"; then
1602
# If there are subdirs, report their specific --help.
1603
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1604
test -d "$ac_dir" ||
1605
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1610
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1612
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1613
# A ".." for each directory in $ac_dir_suffix.
1614
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1615
case $ac_top_builddir_sub in
1616
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1617
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1620
ac_abs_top_builddir=$ac_pwd
1621
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1622
# for backward compatibility:
1623
ac_top_builddir=$ac_top_build_prefix
1626
.) # We are building in place.
1628
ac_top_srcdir=$ac_top_builddir_sub
1629
ac_abs_top_srcdir=$ac_pwd ;;
1630
[\\/]* | ?:[\\/]* ) # Absolute name.
1631
ac_srcdir=$srcdir$ac_dir_suffix;
1632
ac_top_srcdir=$srcdir
1633
ac_abs_top_srcdir=$srcdir ;;
1635
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1636
ac_top_srcdir=$ac_top_build_prefix$srcdir
1637
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1639
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1641
cd "$ac_dir" || { ac_status=$?; continue; }
1642
# Check for guested configure.
1643
if test -f "$ac_srcdir/configure.gnu"; then
1645
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1646
elif test -f "$ac_srcdir/configure"; then
1648
$SHELL "$ac_srcdir/configure" --help=recursive
1650
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1652
cd "$ac_pwd" || { ac_status=$?; break; }
1656
test -n "$ac_init_help" && exit $ac_status
1657
if $ac_init_version; then
1659
gmlive configure 0.22.2
1660
generated by GNU Autoconf 2.64
1662
Copyright (C) 2009 Free Software Foundation, Inc.
1663
This configure script is free software; the Free Software Foundation
1664
gives unlimited permission to copy, distribute and modify it.
1666
Copyright (C) 2007 xihels@gmail.com
1671
## ------------------------ ##
1672
## Autoconf initialization. ##
1673
## ------------------------ ##
1675
# ac_fn_c_try_compile LINENO
1676
# --------------------------
1677
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1678
ac_fn_c_try_compile ()
1680
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681
rm -f conftest.$ac_objext
1682
if { { ac_try="$ac_compile"
1684
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685
*) ac_try_echo=$ac_try;;
1687
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688
$as_echo "$ac_try_echo"; } >&5
1689
(eval "$ac_compile") 2>conftest.err
1691
if test -s conftest.err; then
1692
grep -v '^ *+' conftest.err >conftest.er1
1693
cat conftest.er1 >&5
1694
mv -f conftest.er1 conftest.err
1696
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697
test $ac_status = 0; } && {
1698
test -z "$ac_c_werror_flag" ||
1699
test ! -s conftest.err
1700
} && test -s conftest.$ac_objext; then :
1703
$as_echo "$as_me: failed program was:" >&5
1704
sed 's/^/| /' conftest.$ac_ext >&5
1708
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1711
} # ac_fn_c_try_compile
1713
# ac_fn_c_try_link LINENO
1714
# -----------------------
1715
# Try to link conftest.$ac_ext, and return whether this succeeded.
1718
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719
rm -f conftest.$ac_objext conftest$ac_exeext
1720
if { { ac_try="$ac_link"
1722
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723
*) ac_try_echo=$ac_try;;
1725
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726
$as_echo "$ac_try_echo"; } >&5
1727
(eval "$ac_link") 2>conftest.err
1729
if test -s conftest.err; then
1730
grep -v '^ *+' conftest.err >conftest.er1
1731
cat conftest.er1 >&5
1732
mv -f conftest.er1 conftest.err
1734
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735
test $ac_status = 0; } && {
1736
test -z "$ac_c_werror_flag" ||
1737
test ! -s conftest.err
1738
} && test -s conftest$ac_exeext && {
1739
test "$cross_compiling" = yes ||
1740
$as_test_x conftest$ac_exeext
1744
$as_echo "$as_me: failed program was:" >&5
1745
sed 's/^/| /' conftest.$ac_ext >&5
1749
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1750
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1751
# interfere with the next link command; also delete a directory that is
1752
# left behind by Apple's compiler. We do this before executing the actions.
1753
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1754
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1757
} # ac_fn_c_try_link
1759
# ac_fn_c_check_func LINENO FUNC VAR
1760
# ----------------------------------
1761
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1762
ac_fn_c_check_func ()
1764
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1766
$as_echo_n "checking for $2... " >&6; }
1767
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1768
$as_echo_n "(cached) " >&6
1770
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1771
/* end confdefs.h. */
1772
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1773
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1774
#define $2 innocuous_$2
1776
/* System header to define __stub macros and hopefully few prototypes,
1777
which can conflict with char $2 (); below.
1778
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1779
<limits.h> exists even on freestanding compilers. */
1782
# include <limits.h>
1784
# include <assert.h>
1789
/* Override any GCC internal prototype to avoid an error.
1790
Use char because int might match the return type of a GCC
1791
builtin and then its argument prototype would still apply. */
1796
/* The GNU C library defines this for functions which it implements
1797
to always fail with ENOSYS. Some functions are actually named
1798
something starting with __ and the normal name is an alias. */
1799
#if defined __stub_$2 || defined __stub___$2
1811
if ac_fn_c_try_link "$LINENO"; then :
1816
rm -f core conftest.err conftest.$ac_objext \
1817
conftest$ac_exeext conftest.$ac_ext
1820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1821
$as_echo "$ac_res" >&6; }
1822
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1824
} # ac_fn_c_check_func
1826
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1827
# -------------------------------------------------------
1828
# Tests whether HEADER exists and can be compiled using the include files in
1829
# INCLUDES, setting the cache variable VAR accordingly.
1830
ac_fn_c_check_header_compile ()
1832
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1834
$as_echo_n "checking for $2... " >&6; }
1835
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1836
$as_echo_n "(cached) " >&6
1838
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1839
/* end confdefs.h. */
1843
if ac_fn_c_try_compile "$LINENO"; then :
1848
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1852
$as_echo "$ac_res" >&6; }
1853
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1855
} # ac_fn_c_check_header_compile
1857
# ac_fn_c_try_cpp LINENO
1858
# ----------------------
1859
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1862
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1863
if { { ac_try="$ac_cpp conftest.$ac_ext"
1865
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1866
*) ac_try_echo=$ac_try;;
1868
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1869
$as_echo "$ac_try_echo"; } >&5
1870
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1872
if test -s conftest.err; then
1873
grep -v '^ *+' conftest.err >conftest.er1
1874
cat conftest.er1 >&5
1875
mv -f conftest.er1 conftest.err
1877
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1878
test $ac_status = 0; } >/dev/null && {
1879
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1880
test ! -s conftest.err
1884
$as_echo "$as_me: failed program was:" >&5
1885
sed 's/^/| /' conftest.$ac_ext >&5
1889
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1894
# ac_fn_c_try_run LINENO
1895
# ----------------------
1896
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1897
# that executables *can* be run.
1900
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1901
if { { ac_try="$ac_link"
1903
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1904
*) ac_try_echo=$ac_try;;
1906
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1907
$as_echo "$ac_try_echo"; } >&5
1908
(eval "$ac_link") 2>&5
1910
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1911
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1912
{ { case "(($ac_try" in
1913
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1914
*) ac_try_echo=$ac_try;;
1916
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1917
$as_echo "$ac_try_echo"; } >&5
1918
(eval "$ac_try") 2>&5
1920
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1921
test $ac_status = 0; }; }; then :
1924
$as_echo "$as_me: program exited with status $ac_status" >&5
1925
$as_echo "$as_me: failed program was:" >&5
1926
sed 's/^/| /' conftest.$ac_ext >&5
1928
ac_retval=$ac_status
1930
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1931
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1936
# ac_fn_cxx_try_compile LINENO
1937
# ----------------------------
1938
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1939
ac_fn_cxx_try_compile ()
1941
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1942
rm -f conftest.$ac_objext
1943
if { { ac_try="$ac_compile"
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_compile") 2>conftest.err
1952
if test -s conftest.err; then
1953
grep -v '^ *+' conftest.err >conftest.er1
1954
cat conftest.er1 >&5
1955
mv -f conftest.er1 conftest.err
1957
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1958
test $ac_status = 0; } && {
1959
test -z "$ac_cxx_werror_flag" ||
1960
test ! -s conftest.err
1961
} && test -s conftest.$ac_objext; then :
1964
$as_echo "$as_me: failed program was:" >&5
1965
sed 's/^/| /' conftest.$ac_ext >&5
1969
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1972
} # ac_fn_cxx_try_compile
1974
# ac_fn_cxx_try_cpp LINENO
1975
# ------------------------
1976
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1977
ac_fn_cxx_try_cpp ()
1979
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1980
if { { ac_try="$ac_cpp conftest.$ac_ext"
1982
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1983
*) ac_try_echo=$ac_try;;
1985
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1986
$as_echo "$ac_try_echo"; } >&5
1987
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1989
if test -s conftest.err; then
1990
grep -v '^ *+' conftest.err >conftest.er1
1991
cat conftest.er1 >&5
1992
mv -f conftest.er1 conftest.err
1994
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1995
test $ac_status = 0; } >/dev/null && {
1996
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1997
test ! -s conftest.err
2001
$as_echo "$as_me: failed program was:" >&5
2002
sed 's/^/| /' conftest.$ac_ext >&5
2006
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2009
} # ac_fn_cxx_try_cpp
2011
# ac_fn_cxx_try_link LINENO
2012
# -------------------------
2013
# Try to link conftest.$ac_ext, and return whether this succeeded.
2014
ac_fn_cxx_try_link ()
2016
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017
rm -f conftest.$ac_objext conftest$ac_exeext
2018
if { { ac_try="$ac_link"
2020
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2021
*) ac_try_echo=$ac_try;;
2023
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2024
$as_echo "$ac_try_echo"; } >&5
2025
(eval "$ac_link") 2>conftest.err
2027
if test -s conftest.err; then
2028
grep -v '^ *+' conftest.err >conftest.er1
2029
cat conftest.er1 >&5
2030
mv -f conftest.er1 conftest.err
2032
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2033
test $ac_status = 0; } && {
2034
test -z "$ac_cxx_werror_flag" ||
2035
test ! -s conftest.err
2036
} && test -s conftest$ac_exeext && {
2037
test "$cross_compiling" = yes ||
2038
$as_test_x conftest$ac_exeext
2042
$as_echo "$as_me: failed program was:" >&5
2043
sed 's/^/| /' conftest.$ac_ext >&5
2047
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2048
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2049
# interfere with the next link command; also delete a directory that is
2050
# left behind by Apple's compiler. We do this before executing the actions.
2051
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2052
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2055
} # ac_fn_cxx_try_link
2057
# ac_fn_cxx_check_func LINENO FUNC VAR
2058
# ------------------------------------
2059
# Tests whether FUNC exists, setting the cache variable VAR accordingly
2060
ac_fn_cxx_check_func ()
2062
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2063
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2064
$as_echo_n "checking for $2... " >&6; }
2065
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2066
$as_echo_n "(cached) " >&6
2068
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069
/* end confdefs.h. */
2070
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2071
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2072
#define $2 innocuous_$2
2074
/* System header to define __stub macros and hopefully few prototypes,
2075
which can conflict with char $2 (); below.
2076
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2077
<limits.h> exists even on freestanding compilers. */
2080
# include <limits.h>
2082
# include <assert.h>
2087
/* Override any GCC internal prototype to avoid an error.
2088
Use char because int might match the return type of a GCC
2089
builtin and then its argument prototype would still apply. */
2094
/* The GNU C library defines this for functions which it implements
2095
to always fail with ENOSYS. Some functions are actually named
2096
something starting with __ and the normal name is an alias. */
2097
#if defined __stub_$2 || defined __stub___$2
2109
if ac_fn_cxx_try_link "$LINENO"; then :
2114
rm -f core conftest.err conftest.$ac_objext \
2115
conftest$ac_exeext conftest.$ac_ext
2118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2119
$as_echo "$ac_res" >&6; }
2120
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2122
} # ac_fn_cxx_check_func
2124
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2125
# ---------------------------------------------------------
2126
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2127
# the include files in INCLUDES and setting the cache variable VAR
2129
ac_fn_cxx_check_header_mongrel ()
2131
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2132
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2133
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2134
$as_echo_n "checking for $2... " >&6; }
2135
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2136
$as_echo_n "(cached) " >&6
2139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2140
$as_echo "$ac_res" >&6; }
2142
# Is the header compilable?
2143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2144
$as_echo_n "checking $2 usability... " >&6; }
2145
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2146
/* end confdefs.h. */
2150
if ac_fn_cxx_try_compile "$LINENO"; then :
2151
ac_header_compiler=yes
2153
ac_header_compiler=no
2155
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2157
$as_echo "$ac_header_compiler" >&6; }
2159
# Is the header present?
2160
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2161
$as_echo_n "checking $2 presence... " >&6; }
2162
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2163
/* end confdefs.h. */
2166
if ac_fn_cxx_try_cpp "$LINENO"; then :
2167
ac_header_preproc=yes
2169
ac_header_preproc=no
2171
rm -f conftest.err conftest.$ac_ext
2172
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2173
$as_echo "$ac_header_preproc" >&6; }
2175
# So? What about this header?
2176
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2178
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2179
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2180
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2181
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2184
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2185
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2186
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2187
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2188
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2189
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2190
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2191
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2192
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2193
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2195
## ------------------------------- ##
2196
## Report this to xihels@gmail.com ##
2197
## ------------------------------- ##
2199
) | sed "s/^/$as_me: WARNING: /" >&2
2202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2203
$as_echo_n "checking for $2... " >&6; }
2204
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2205
$as_echo_n "(cached) " >&6
2207
eval "$3=\$ac_header_compiler"
2210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2211
$as_echo "$ac_res" >&6; }
2213
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2215
} # ac_fn_cxx_check_header_mongrel
2216
cat >config.log <<_ACEOF
2217
This file contains any messages produced by compilers while
2218
running configure, to aid debugging if configure makes a mistake.
2220
It was created by gmlive $as_me 0.22.2, which was
2221
generated by GNU Autoconf 2.64. Invocation command line was
2233
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2234
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2235
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2236
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2237
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2239
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2240
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2242
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2243
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2244
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2245
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2246
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2247
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2248
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2252
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2256
test -z "$as_dir" && as_dir=.
2257
$as_echo "PATH: $as_dir"
2273
# Keep a trace of the command line.
2274
# Strip out --no-create and --no-recursion so they do not pile up.
2275
# Strip out --silent because we don't want to record it for future runs.
2276
# Also quote any args containing shell meta-characters.
2277
# Make two passes to allow for proper duplicate-argument suppression.
2281
ac_must_keep_next=false
2287
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2288
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2289
| -silent | --silent | --silen | --sile | --sil)
2292
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2295
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2297
as_fn_append ac_configure_args1 " '$ac_arg'"
2298
if test $ac_must_keep_next = true; then
2299
ac_must_keep_next=false # Got value, back to normal.
2302
*=* | --config-cache | -C | -disable-* | --disable-* \
2303
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2304
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2305
| -with-* | --with-* | -without-* | --without-* | --x)
2306
case "$ac_configure_args0 " in
2307
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2310
-* ) ac_must_keep_next=true ;;
2313
as_fn_append ac_configure_args " '$ac_arg'"
2318
{ ac_configure_args0=; unset ac_configure_args0;}
2319
{ ac_configure_args1=; unset ac_configure_args1;}
2321
# When interrupted or exit'd, cleanup temporary files, and complete
2322
# config.log. We remove comments because anyway the quotes in there
2323
# would cause problems or look ugly.
2324
# WARNING: Use '\'' to represent an apostrophe within the trap.
2325
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2326
trap 'exit_status=$?
2327
# Save into config.log some information that might help in debugging.
2332
## ---------------- ##
2333
## Cache variables. ##
2334
## ---------------- ##
2337
# The following way of writing the cache mishandles newlines in values,
2339
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2340
eval ac_val=\$$ac_var
2344
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2345
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2348
_ | IFS | as_nl) ;; #(
2349
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2350
*) { eval $ac_var=; unset $ac_var;} ;;
2355
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2356
*${as_nl}ac_space=\ *)
2358
"s/'\''/'\''\\\\'\'''\''/g;
2359
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2362
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2370
## ----------------- ##
2371
## Output variables. ##
2372
## ----------------- ##
2375
for ac_var in $ac_subst_vars
2377
eval ac_val=\$$ac_var
2379
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2381
$as_echo "$ac_var='\''$ac_val'\''"
2385
if test -n "$ac_subst_files"; then
2387
## ------------------- ##
2388
## File substitutions. ##
2389
## ------------------- ##
2392
for ac_var in $ac_subst_files
2394
eval ac_val=\$$ac_var
2396
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2398
$as_echo "$ac_var='\''$ac_val'\''"
2403
if test -s confdefs.h; then
2413
test "$ac_signal" != 0 &&
2414
$as_echo "$as_me: caught signal $ac_signal"
2415
$as_echo "$as_me: exit $exit_status"
2417
rm -f core *.core core.conftest.* &&
2418
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2421
for ac_signal in 1 2 13 15; do
2422
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2426
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2427
rm -f -r conftest* confdefs.h
2429
$as_echo "/* confdefs.h */" > confdefs.h
2431
# Predefined preprocessor variables.
2433
cat >>confdefs.h <<_ACEOF
2434
#define PACKAGE_NAME "$PACKAGE_NAME"
2437
cat >>confdefs.h <<_ACEOF
2438
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2441
cat >>confdefs.h <<_ACEOF
2442
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2445
cat >>confdefs.h <<_ACEOF
2446
#define PACKAGE_STRING "$PACKAGE_STRING"
2449
cat >>confdefs.h <<_ACEOF
2450
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2453
cat >>confdefs.h <<_ACEOF
2454
#define PACKAGE_URL "$PACKAGE_URL"
2458
# Let the site file select an alternate cache file if it wants to.
2459
# Prefer an explicitly selected file to automatically selected ones.
2462
if test -n "$CONFIG_SITE"; then
2463
ac_site_file1=$CONFIG_SITE
2464
elif test "x$prefix" != xNONE; then
2465
ac_site_file1=$prefix/share/config.site
2466
ac_site_file2=$prefix/etc/config.site
2468
ac_site_file1=$ac_default_prefix/share/config.site
2469
ac_site_file2=$ac_default_prefix/etc/config.site
2471
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2473
test "x$ac_site_file" = xNONE && continue
2474
if test -r "$ac_site_file"; then
2475
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2476
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2477
sed 's/^/| /' "$ac_site_file" >&5
2482
if test -r "$cache_file"; then
2483
# Some versions of bash will fail to source /dev/null (special
2484
# files actually), so we avoid doing that.
2485
if test -f "$cache_file"; then
2486
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2487
$as_echo "$as_me: loading cache $cache_file" >&6;}
2489
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2490
*) . "./$cache_file";;
2494
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2495
$as_echo "$as_me: creating cache $cache_file" >&6;}
2499
# Check that the precious variables saved in the cache have kept the same
2501
ac_cache_corrupted=false
2502
for ac_var in $ac_precious_vars; do
2503
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2504
eval ac_new_set=\$ac_env_${ac_var}_set
2505
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2506
eval ac_new_val=\$ac_env_${ac_var}_value
2507
case $ac_old_set,$ac_new_set in
2509
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2510
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2511
ac_cache_corrupted=: ;;
2513
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2514
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2515
ac_cache_corrupted=: ;;
2518
if test "x$ac_old_val" != "x$ac_new_val"; then
2519
# differences in whitespace do not lead to failure.
2520
ac_old_val_w=`echo x $ac_old_val`
2521
ac_new_val_w=`echo x $ac_new_val`
2522
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2523
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2524
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2525
ac_cache_corrupted=:
2527
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2528
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2529
eval $ac_var=\$ac_old_val
2531
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2532
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2533
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2534
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2537
# Pass precious variables to config.status.
2538
if test "$ac_new_set" = set; then
2540
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2541
*) ac_arg=$ac_var=$ac_new_val ;;
2543
case " $ac_configure_args " in
2544
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2545
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2549
if $ac_cache_corrupted; then
2550
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2551
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2552
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2553
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2554
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2556
## -------------------- ##
2557
## Main body of script. ##
2558
## -------------------- ##
2561
ac_cpp='$CPP $CPPFLAGS'
2562
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2563
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2564
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2569
ac_config_headers="$ac_config_headers config.h"
2571
am__api_version='1.11'
2574
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2575
for ac_t in install-sh install.sh shtool; do
2576
if test -f "$ac_dir/$ac_t"; then
2578
ac_install_sh="$ac_aux_dir/$ac_t -c"
2583
if test -z "$ac_aux_dir"; then
2584
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2587
# These three variables are undocumented and unsupported,
2588
# and are intended to be withdrawn in a future Autoconf release.
2589
# They can cause serious problems if a builder's source tree is in a directory
2590
# whose full name contains unusual characters.
2591
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2592
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2593
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2596
# Find a good install program. We prefer a C program (faster),
2597
# so one script is as good as another. But avoid the broken or
2598
# incompatible versions:
2599
# SysV /etc/install, /usr/sbin/install
2600
# SunOS /usr/etc/install
2601
# IRIX /sbin/install
2603
# AmigaOS /C/install, which installs bootblocks on floppy discs
2604
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2605
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2606
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2607
# OS/2's system install, which has a completely different semantic
2608
# ./install, which can be erroneously created by make from ./install.sh.
2609
# Reject install programs that cannot install multiple files.
2610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2611
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2612
if test -z "$INSTALL"; then
2613
if test "${ac_cv_path_install+set}" = set; then :
2614
$as_echo_n "(cached) " >&6
2616
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2620
test -z "$as_dir" && as_dir=.
2621
# Account for people who put trailing slashes in PATH elements.
2622
case $as_dir/ in #((
2623
./ | .// | /[cC]/* | \
2624
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2625
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2628
# OSF1 and SCO ODT 3.0 have their own names for install.
2629
# Don't use installbsd from OSF since it installs stuff as root
2631
for ac_prog in ginstall scoinst install; do
2632
for ac_exec_ext in '' $ac_executable_extensions; do
2633
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2634
if test $ac_prog = install &&
2635
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2636
# AIX install. It has an incompatible calling convention.
2638
elif test $ac_prog = install &&
2639
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2640
# program-specific install script used by HP pwplus--don't use.
2643
rm -rf conftest.one conftest.two conftest.dir
2644
echo one > conftest.one
2645
echo two > conftest.two
2647
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2648
test -s conftest.one && test -s conftest.two &&
2649
test -s conftest.dir/conftest.one &&
2650
test -s conftest.dir/conftest.two
2652
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2665
rm -rf conftest.one conftest.two conftest.dir
2668
if test "${ac_cv_path_install+set}" = set; then
2669
INSTALL=$ac_cv_path_install
2671
# As a last resort, use the slow shell script. Don't cache a
2672
# value for INSTALL within a source directory, because that will
2673
# break other packages using the cache if that directory is
2674
# removed, or if the value is a relative name.
2675
INSTALL=$ac_install_sh
2678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2679
$as_echo "$INSTALL" >&6; }
2681
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2682
# It thinks the first close brace ends the variable substitution.
2683
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2685
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2687
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2689
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2690
$as_echo_n "checking whether build environment is sane... " >&6; }
2693
echo timestamp > conftest.file
2694
# Reject unsafe characters in $srcdir or the absolute working directory
2695
# name. Accept space and tab only in the latter.
2699
*[\\\"\#\$\&\'\`$am_lf]*)
2700
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
2703
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2704
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2707
# Do `set' in a subshell so we don't clobber the current shell's
2708
# arguments. Must try -L first in case configure is actually a
2709
# symlink; some systems play weird games with the mod time of symlinks
2710
# (eg FreeBSD returns the mod time of the symlink's containing
2713
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2714
if test "$*" = "X"; then
2716
set X `ls -t "$srcdir/configure" conftest.file`
2719
if test "$*" != "X $srcdir/configure conftest.file" \
2720
&& test "$*" != "X conftest.file $srcdir/configure"; then
2722
# If neither matched, then we have a broken ls. This can happen
2723
# if, for instance, CONFIG_SHELL is bash and it inherits a
2724
# broken ls alias from the environment. This has actually
2725
# happened. Such a system could not be considered "sane".
2726
as_fn_error "ls -t appears to fail. Make sure there is not a broken
2727
alias in your environment" "$LINENO" 5
2730
test "$2" = conftest.file
2736
as_fn_error "newly created file is older than distributed files!
2737
Check your system clock" "$LINENO" 5
2739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2740
$as_echo "yes" >&6; }
2741
test "$program_prefix" != NONE &&
2742
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2743
# Use a double $ so make ignores it.
2744
test "$program_suffix" != NONE &&
2745
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2746
# Double any \ or $.
2747
# By default was `s,x,x', remove it if useless.
2748
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2749
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2751
# expand $ac_aux_dir to an absolute path
2752
am_aux_dir=`cd $ac_aux_dir && pwd`
2754
if test x"${MISSING+set}" != xset; then
2757
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2759
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2762
# Use eval to expand $SHELL
2763
if eval "$MISSING --run true"; then
2764
am_missing_run="$MISSING --run "
2767
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2768
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2771
if test x"${install_sh}" != xset; then
2774
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2776
install_sh="\${SHELL} $am_aux_dir/install-sh"
2780
# Installed binaries are usually stripped using `strip' when the user
2781
# run `make install-strip'. However `strip' might not be the right
2782
# tool to use in cross-compilation environments, therefore Automake
2783
# will honor the `STRIP' environment variable to overrule this program.
2784
if test "$cross_compiling" != no; then
2785
if test -n "$ac_tool_prefix"; then
2786
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2787
set dummy ${ac_tool_prefix}strip; ac_word=$2
2788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2789
$as_echo_n "checking for $ac_word... " >&6; }
2790
if test "${ac_cv_prog_STRIP+set}" = set; then :
2791
$as_echo_n "(cached) " >&6
2793
if test -n "$STRIP"; then
2794
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2796
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2800
test -z "$as_dir" && as_dir=.
2801
for ac_exec_ext in '' $ac_executable_extensions; do
2802
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2803
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2804
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2813
STRIP=$ac_cv_prog_STRIP
2814
if test -n "$STRIP"; then
2815
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2816
$as_echo "$STRIP" >&6; }
2818
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2819
$as_echo "no" >&6; }
2824
if test -z "$ac_cv_prog_STRIP"; then
2826
# Extract the first word of "strip", so it can be a program name with args.
2827
set dummy strip; ac_word=$2
2828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2829
$as_echo_n "checking for $ac_word... " >&6; }
2830
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2831
$as_echo_n "(cached) " >&6
2833
if test -n "$ac_ct_STRIP"; then
2834
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2836
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2840
test -z "$as_dir" && as_dir=.
2841
for ac_exec_ext in '' $ac_executable_extensions; do
2842
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2843
ac_cv_prog_ac_ct_STRIP="strip"
2844
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2853
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2854
if test -n "$ac_ct_STRIP"; then
2855
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2856
$as_echo "$ac_ct_STRIP" >&6; }
2858
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2859
$as_echo "no" >&6; }
2862
if test "x$ac_ct_STRIP" = x; then
2865
case $cross_compiling:$ac_tool_warned in
2867
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2868
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2869
ac_tool_warned=yes ;;
2874
STRIP="$ac_cv_prog_STRIP"
2878
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2881
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2882
if test -z "$MKDIR_P"; then
2883
if test "${ac_cv_path_mkdir+set}" = set; then :
2884
$as_echo_n "(cached) " >&6
2886
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2887
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2890
test -z "$as_dir" && as_dir=.
2891
for ac_prog in mkdir gmkdir; do
2892
for ac_exec_ext in '' $ac_executable_extensions; do
2893
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2894
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2895
'mkdir (GNU coreutils) '* | \
2896
'mkdir (coreutils) '* | \
2897
'mkdir (fileutils) '4.1*)
2898
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2908
if test "${ac_cv_path_mkdir+set}" = set; then
2909
MKDIR_P="$ac_cv_path_mkdir -p"
2911
# As a last resort, use the slow shell script. Don't cache a
2912
# value for MKDIR_P within a source directory, because that will
2913
# break other packages using the cache if that directory is
2914
# removed, or if the value is a relative name.
2915
test -d ./--version && rmdir ./--version
2916
MKDIR_P="$ac_install_sh -d"
2919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2920
$as_echo "$MKDIR_P" >&6; }
2924
[\\/$]* | ?:[\\/]*) ;;
2925
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2928
for ac_prog in gawk mawk nawk awk
2930
# Extract the first word of "$ac_prog", so it can be a program name with args.
2931
set dummy $ac_prog; ac_word=$2
2932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2933
$as_echo_n "checking for $ac_word... " >&6; }
2934
if test "${ac_cv_prog_AWK+set}" = set; then :
2935
$as_echo_n "(cached) " >&6
2937
if test -n "$AWK"; then
2938
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2940
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944
test -z "$as_dir" && as_dir=.
2945
for ac_exec_ext in '' $ac_executable_extensions; do
2946
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2947
ac_cv_prog_AWK="$ac_prog"
2948
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958
if test -n "$AWK"; then
2959
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2960
$as_echo "$AWK" >&6; }
2962
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963
$as_echo "no" >&6; }
2967
test -n "$AWK" && break
2970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2971
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2973
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2974
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2975
$as_echo_n "(cached) " >&6
2977
cat >conftest.make <<\_ACEOF
2980
@echo '@@@%%%=$(MAKE)=@@@%%%'
2982
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2983
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2985
eval ac_cv_prog_make_${ac_make}_set=yes;;
2987
eval ac_cv_prog_make_${ac_make}_set=no;;
2991
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2992
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2993
$as_echo "yes" >&6; }
2996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2997
$as_echo "no" >&6; }
2998
SET_MAKE="MAKE=${MAKE-make}"
3001
rm -rf .tst 2>/dev/null
3002
mkdir .tst 2>/dev/null
3003
if test -d .tst; then
3008
rmdir .tst 2>/dev/null
3010
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3011
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3012
# is not polluted with repeated "-I."
3013
am__isrc=' -I$(srcdir)'
3014
# test to see if srcdir already configured
3015
if test -f $srcdir/config.status; then
3016
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3020
# test whether we have cygpath
3021
if test -z "$CYGPATH_W"; then
3022
if (cygpath --version) >/dev/null 2>/dev/null; then
3023
CYGPATH_W='cygpath -w'
3030
# Define the identity of the package.
3035
# Some tools Automake needs.
3037
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3040
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3043
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3046
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3049
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3051
# We need awk for the "check" target. The system "awk" is bad on
3053
# Always define AMTAR for backward compatibility.
3055
AMTAR=${AMTAR-"${am_missing_run}tar"}
3057
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3066
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3067
# Check whether --enable-maintainer-mode was given.
3068
if test "${enable_maintainer_mode+set}" = set; then :
3069
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3071
USE_MAINTAINER_MODE=no
3074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3075
$as_echo "$USE_MAINTAINER_MODE" >&6; }
3076
if test $USE_MAINTAINER_MODE = yes; then
3077
MAINTAINER_MODE_TRUE=
3078
MAINTAINER_MODE_FALSE='#'
3080
MAINTAINER_MODE_TRUE='#'
3081
MAINTAINER_MODE_FALSE=
3084
MAINT=$MAINTAINER_MODE_TRUE
3088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3089
$as_echo_n "checking whether NLS is requested... " >&6; }
3090
# Check whether --enable-nls was given.
3091
if test "${enable_nls+set}" = set; then :
3092
enableval=$enable_nls; USE_NLS=$enableval
3097
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3098
$as_echo "$USE_NLS" >&6; }
3101
DEPDIR="${am__leading_dot}deps"
3103
ac_config_commands="$ac_config_commands depfiles"
3106
am_make=${MAKE-make}
3107
cat > confinc << 'END'
3109
@echo this is the am__doit target
3112
# If we don't find an include directive, just comment out the code.
3113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3114
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3118
# First try GNU make style include.
3119
echo "include confinc" > confmf
3120
# Ignore all kinds of additional output from `make'.
3121
case `$am_make -s -f confmf 2> /dev/null` in #(
3122
*the\ am__doit\ target*)
3128
# Now try BSD make style include.
3129
if test "$am__include" = "#"; then
3130
echo '.include "confinc"' > confmf
3131
case `$am_make -s -f confmf 2> /dev/null` in #(
3132
*the\ am__doit\ target*)
3133
am__include=.include
3141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3142
$as_echo "$_am_result" >&6; }
3143
rm -f confinc confmf
3145
# Check whether --enable-dependency-tracking was given.
3146
if test "${enable_dependency_tracking+set}" = set; then :
3147
enableval=$enable_dependency_tracking;
3150
if test "x$enable_dependency_tracking" != xno; then
3151
am_depcomp="$ac_aux_dir/depcomp"
3154
if test "x$enable_dependency_tracking" != xno; then
3164
ac_cpp='$CPP $CPPFLAGS'
3165
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3166
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3167
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3168
if test -n "$ac_tool_prefix"; then
3169
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3170
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3172
$as_echo_n "checking for $ac_word... " >&6; }
3173
if test "${ac_cv_prog_CC+set}" = set; then :
3174
$as_echo_n "(cached) " >&6
3176
if test -n "$CC"; then
3177
ac_cv_prog_CC="$CC" # Let the user override the test.
3179
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3183
test -z "$as_dir" && as_dir=.
3184
for ac_exec_ext in '' $ac_executable_extensions; do
3185
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3186
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3187
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3197
if test -n "$CC"; then
3198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3199
$as_echo "$CC" >&6; }
3201
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202
$as_echo "no" >&6; }
3207
if test -z "$ac_cv_prog_CC"; then
3209
# Extract the first word of "gcc", so it can be a program name with args.
3210
set dummy gcc; ac_word=$2
3211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3212
$as_echo_n "checking for $ac_word... " >&6; }
3213
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3214
$as_echo_n "(cached) " >&6
3216
if test -n "$ac_ct_CC"; then
3217
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3219
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3223
test -z "$as_dir" && as_dir=.
3224
for ac_exec_ext in '' $ac_executable_extensions; do
3225
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3226
ac_cv_prog_ac_ct_CC="gcc"
3227
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3236
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3237
if test -n "$ac_ct_CC"; then
3238
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3239
$as_echo "$ac_ct_CC" >&6; }
3241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242
$as_echo "no" >&6; }
3245
if test "x$ac_ct_CC" = x; then
3248
case $cross_compiling:$ac_tool_warned in
3250
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3251
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3252
ac_tool_warned=yes ;;
3260
if test -z "$CC"; then
3261
if test -n "$ac_tool_prefix"; then
3262
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3263
set dummy ${ac_tool_prefix}cc; ac_word=$2
3264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3265
$as_echo_n "checking for $ac_word... " >&6; }
3266
if test "${ac_cv_prog_CC+set}" = set; then :
3267
$as_echo_n "(cached) " >&6
3269
if test -n "$CC"; then
3270
ac_cv_prog_CC="$CC" # Let the user override the test.
3272
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276
test -z "$as_dir" && as_dir=.
3277
for ac_exec_ext in '' $ac_executable_extensions; do
3278
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3279
ac_cv_prog_CC="${ac_tool_prefix}cc"
3280
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3290
if test -n "$CC"; then
3291
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3292
$as_echo "$CC" >&6; }
3294
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295
$as_echo "no" >&6; }
3301
if test -z "$CC"; then
3302
# Extract the first word of "cc", so it can be a program name with args.
3303
set dummy cc; ac_word=$2
3304
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3305
$as_echo_n "checking for $ac_word... " >&6; }
3306
if test "${ac_cv_prog_CC+set}" = set; then :
3307
$as_echo_n "(cached) " >&6
3309
if test -n "$CC"; then
3310
ac_cv_prog_CC="$CC" # Let the user override the test.
3313
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317
test -z "$as_dir" && as_dir=.
3318
for ac_exec_ext in '' $ac_executable_extensions; do
3319
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3320
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3321
ac_prog_rejected=yes
3325
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332
if test $ac_prog_rejected = yes; then
3333
# We found a bogon in the path, so make sure we never use it.
3334
set dummy $ac_cv_prog_CC
3336
if test $# != 0; then
3337
# We chose a different compiler from the bogus one.
3338
# However, it has the same basename, so the bogon will be chosen
3339
# first if we set CC to just the basename; use the full file name.
3341
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3347
if test -n "$CC"; then
3348
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3349
$as_echo "$CC" >&6; }
3351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3352
$as_echo "no" >&6; }
3357
if test -z "$CC"; then
3358
if test -n "$ac_tool_prefix"; then
3359
for ac_prog in cl.exe
3361
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3362
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3364
$as_echo_n "checking for $ac_word... " >&6; }
3365
if test "${ac_cv_prog_CC+set}" = set; then :
3366
$as_echo_n "(cached) " >&6
3368
if test -n "$CC"; then
3369
ac_cv_prog_CC="$CC" # Let the user override the test.
3371
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3375
test -z "$as_dir" && as_dir=.
3376
for ac_exec_ext in '' $ac_executable_extensions; do
3377
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3378
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3379
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3389
if test -n "$CC"; then
3390
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3391
$as_echo "$CC" >&6; }
3393
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3394
$as_echo "no" >&6; }
3398
test -n "$CC" && break
3401
if test -z "$CC"; then
3403
for ac_prog in cl.exe
3405
# Extract the first word of "$ac_prog", so it can be a program name with args.
3406
set dummy $ac_prog; ac_word=$2
3407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3408
$as_echo_n "checking for $ac_word... " >&6; }
3409
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3410
$as_echo_n "(cached) " >&6
3412
if test -n "$ac_ct_CC"; then
3413
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3415
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3419
test -z "$as_dir" && as_dir=.
3420
for ac_exec_ext in '' $ac_executable_extensions; do
3421
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3422
ac_cv_prog_ac_ct_CC="$ac_prog"
3423
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3432
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3433
if test -n "$ac_ct_CC"; then
3434
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3435
$as_echo "$ac_ct_CC" >&6; }
3437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3438
$as_echo "no" >&6; }
3442
test -n "$ac_ct_CC" && break
3445
if test "x$ac_ct_CC" = x; then
3448
case $cross_compiling:$ac_tool_warned in
3450
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3451
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3452
ac_tool_warned=yes ;;
3461
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3462
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3463
as_fn_error "no acceptable C compiler found in \$PATH
3464
See \`config.log' for more details." "$LINENO" 5; }
3466
# Provide some information about the compiler.
3467
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3470
for ac_option in --version -v -V -qversion; do
3471
{ { ac_try="$ac_compiler $ac_option >&5"
3473
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3474
*) ac_try_echo=$ac_try;;
3476
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3477
$as_echo "$ac_try_echo"; } >&5
3478
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3480
if test -s conftest.err; then
3482
... rest of stderr output deleted ...
3483
10q' conftest.err >conftest.er1
3484
cat conftest.er1 >&5
3485
rm -f conftest.er1 conftest.err
3487
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3488
test $ac_status = 0; }
3491
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3492
/* end confdefs.h. */
3497
FILE *f = fopen ("conftest.out", "w");
3498
return ferror (f) || fclose (f) != 0;
3504
ac_clean_files_save=$ac_clean_files
3505
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3506
# Try to create an executable without -o first, disregard a.out.
3507
# It will help us diagnose broken compilers, and finding out an intuition
3509
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3510
$as_echo_n "checking for C compiler default output file name... " >&6; }
3511
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3513
# The possible output files:
3514
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3517
for ac_file in $ac_files
3520
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3521
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3526
if { { ac_try="$ac_link_default"
3528
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529
*) ac_try_echo=$ac_try;;
3531
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3532
$as_echo "$ac_try_echo"; } >&5
3533
(eval "$ac_link_default") 2>&5
3535
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3536
test $ac_status = 0; }; then :
3537
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3538
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3539
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3540
# so that the user can short-circuit this test for compilers unknown to
3542
for ac_file in $ac_files ''
3544
test -f "$ac_file" || continue
3546
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3549
# We found the default executable, but exeext='' is most
3553
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3555
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3557
# We set ac_cv_exeext here because the later test for it is not
3558
# safe: cross compilers may not add the suffix if given an `-o'
3559
# argument, so we may need to know it at that point already.
3560
# Even if this section looks crufty: it has the advantage of
3567
test "$ac_cv_exeext" = no && ac_cv_exeext=
3572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3573
$as_echo "$ac_file" >&6; }
3574
if test -z "$ac_file"; then :
3575
$as_echo "$as_me: failed program was:" >&5
3576
sed 's/^/| /' conftest.$ac_ext >&5
3578
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3579
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3580
{ as_fn_set_status 77
3581
as_fn_error "C compiler cannot create executables
3582
See \`config.log' for more details." "$LINENO" 5; }; }
3584
ac_exeext=$ac_cv_exeext
3586
# Check that the compiler produces executables we can run. If not, either
3587
# the compiler is broken, or we cross compile.
3588
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3589
$as_echo_n "checking whether the C compiler works... " >&6; }
3590
# If not cross compiling, check that we can run a simple program.
3591
if test "$cross_compiling" != yes; then
3592
if { ac_try='./$ac_file'
3593
{ { case "(($ac_try" in
3594
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3595
*) ac_try_echo=$ac_try;;
3597
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3598
$as_echo "$ac_try_echo"; } >&5
3599
(eval "$ac_try") 2>&5
3601
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3602
test $ac_status = 0; }; }; then
3605
if test "$cross_compiling" = maybe; then
3608
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3609
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3610
as_fn_error "cannot run C compiled programs.
3611
If you meant to cross compile, use \`--host'.
3612
See \`config.log' for more details." "$LINENO" 5; }
3616
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3617
$as_echo "yes" >&6; }
3619
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3620
ac_clean_files=$ac_clean_files_save
3621
# Check that the compiler produces executables we can run. If not, either
3622
# the compiler is broken, or we cross compile.
3623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3624
$as_echo_n "checking whether we are cross compiling... " >&6; }
3625
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3626
$as_echo "$cross_compiling" >&6; }
3628
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3629
$as_echo_n "checking for suffix of executables... " >&6; }
3630
if { { ac_try="$ac_link"
3632
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3633
*) ac_try_echo=$ac_try;;
3635
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3636
$as_echo "$ac_try_echo"; } >&5
3637
(eval "$ac_link") 2>&5
3639
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3640
test $ac_status = 0; }; then :
3641
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3642
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3643
# work properly (i.e., refer to `conftest.exe'), while it won't with
3645
for ac_file in conftest.exe conftest conftest.*; do
3646
test -f "$ac_file" || continue
3648
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3649
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3655
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3656
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3657
as_fn_error "cannot compute suffix of executables: cannot compile and link
3658
See \`config.log' for more details." "$LINENO" 5; }
3660
rm -f conftest$ac_cv_exeext
3661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3662
$as_echo "$ac_cv_exeext" >&6; }
3664
rm -f conftest.$ac_ext
3665
EXEEXT=$ac_cv_exeext
3667
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3668
$as_echo_n "checking for suffix of object files... " >&6; }
3669
if test "${ac_cv_objext+set}" = set; then :
3670
$as_echo_n "(cached) " >&6
3672
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3673
/* end confdefs.h. */
3683
rm -f conftest.o conftest.obj
3684
if { { ac_try="$ac_compile"
3686
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3687
*) ac_try_echo=$ac_try;;
3689
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3690
$as_echo "$ac_try_echo"; } >&5
3691
(eval "$ac_compile") 2>&5
3693
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3694
test $ac_status = 0; }; then :
3695
for ac_file in conftest.o conftest.obj conftest.*; do
3696
test -f "$ac_file" || continue;
3698
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3699
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3704
$as_echo "$as_me: failed program was:" >&5
3705
sed 's/^/| /' conftest.$ac_ext >&5
3707
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3708
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3709
as_fn_error "cannot compute suffix of object files: cannot compile
3710
See \`config.log' for more details." "$LINENO" 5; }
3712
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3714
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3715
$as_echo "$ac_cv_objext" >&6; }
3716
OBJEXT=$ac_cv_objext
3718
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3719
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3720
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3721
$as_echo_n "(cached) " >&6
3723
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3724
/* end confdefs.h. */
3737
if ac_fn_c_try_compile "$LINENO"; then :
3742
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3743
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3746
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3747
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3748
if test $ac_compiler_gnu = yes; then
3753
ac_test_CFLAGS=${CFLAGS+set}
3754
ac_save_CFLAGS=$CFLAGS
3755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3756
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3757
if test "${ac_cv_prog_cc_g+set}" = set; then :
3758
$as_echo_n "(cached) " >&6
3760
ac_save_c_werror_flag=$ac_c_werror_flag
3761
ac_c_werror_flag=yes
3764
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3765
/* end confdefs.h. */
3775
if ac_fn_c_try_compile "$LINENO"; then :
3779
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3780
/* end confdefs.h. */
3790
if ac_fn_c_try_compile "$LINENO"; then :
3793
ac_c_werror_flag=$ac_save_c_werror_flag
3795
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3796
/* end confdefs.h. */
3806
if ac_fn_c_try_compile "$LINENO"; then :
3809
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3811
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3813
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3814
ac_c_werror_flag=$ac_save_c_werror_flag
3816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3817
$as_echo "$ac_cv_prog_cc_g" >&6; }
3818
if test "$ac_test_CFLAGS" = set; then
3819
CFLAGS=$ac_save_CFLAGS
3820
elif test $ac_cv_prog_cc_g = yes; then
3821
if test "$GCC" = yes; then
3827
if test "$GCC" = yes; then
3833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3834
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3835
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3836
$as_echo_n "(cached) " >&6
3838
ac_cv_prog_cc_c89=no
3840
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3841
/* end confdefs.h. */
3844
#include <sys/types.h>
3845
#include <sys/stat.h>
3846
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3847
struct buf { int x; };
3848
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3849
static char *e (p, i)
3855
static char *f (char * (*g) (char **, int), char **p, ...)
3860
s = g (p, va_arg (v,int));
3865
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3866
function prototypes and stuff, but not '\xHH' hex character constants.
3867
These don't provoke an error unfortunately, instead are silently treated
3868
as 'x'. The following induces an error, until -std is added to get
3869
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3870
array size at least. It's necessary to write '\x00'==0 to get something
3871
that's true only with -std. */
3872
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3874
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3875
inside strings and character constants. */
3877
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3879
int test (int i, double x);
3880
struct s1 {int (*f) (int a);};
3881
struct s2 {int (*f) (double a);};
3882
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3888
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3893
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3894
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3896
CC="$ac_save_CC $ac_arg"
3897
if ac_fn_c_try_compile "$LINENO"; then :
3898
ac_cv_prog_cc_c89=$ac_arg
3900
rm -f core conftest.err conftest.$ac_objext
3901
test "x$ac_cv_prog_cc_c89" != "xno" && break
3903
rm -f conftest.$ac_ext
3908
case "x$ac_cv_prog_cc_c89" in
3910
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3911
$as_echo "none needed" >&6; } ;;
3913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3914
$as_echo "unsupported" >&6; } ;;
3916
CC="$CC $ac_cv_prog_cc_c89"
3917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3918
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3920
if test "x$ac_cv_prog_cc_c89" != xno; then :
3925
ac_cpp='$CPP $CPPFLAGS'
3926
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3927
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3928
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3930
depcc="$CC" am_compiler_list=
3932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3933
$as_echo_n "checking dependency style of $depcc... " >&6; }
3934
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3935
$as_echo_n "(cached) " >&6
3937
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3938
# We make a subdir and do the tests there. Otherwise we can end up
3939
# making bogus files that we don't know about and never remove. For
3940
# instance it was reported that on HP-UX the gcc test will end up
3941
# making a dummy file named `D' -- because `-MD' means `put the output
3944
# Copy depcomp to subdir because otherwise we won't find it if we're
3945
# using a relative directory.
3946
cp "$am_depcomp" conftest.dir
3948
# We will build objects and dependencies in a subdirectory because
3949
# it helps to detect inapplicable dependency modes. For instance
3950
# both Tru64's cc and ICC support -MD to output dependencies as a
3951
# side effect of compilation, but ICC will put the dependencies in
3952
# the current directory while Tru64 will put them in the object
3956
am_cv_CC_dependencies_compiler_type=none
3957
if test "$am_compiler_list" = ""; then
3958
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3961
case " $depcc " in #(
3962
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3965
for depmode in $am_compiler_list; do
3966
# Setup a source with many dependencies, because some compilers
3967
# like to wrap large dependency lists on column 80 (with \), and
3968
# we should not choose a depcomp mode which is confused by this.
3970
# We need to recreate these files for each test, as the compiler may
3971
# overwrite some of them when testing with obscure command lines.
3972
# This happens at least with the AIX C compiler.
3974
for i in 1 2 3 4 5 6; do
3975
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3976
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3977
# Solaris 8's {/usr,}/bin/sh.
3978
touch sub/conftst$i.h
3980
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3982
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3983
# mode. It turns out that the SunPro C++ compiler does not properly
3984
# handle `-M -o', and we need to detect this. Also, some Intel
3985
# versions had trouble with output in subdirs
3986
am__obj=sub/conftest.${OBJEXT-o}
3987
am__minus_obj="-o $am__obj"
3990
# This depmode causes a compiler race in universal mode.
3991
test "$am__universal" = false || continue
3994
# after this tag, mechanisms are not by side-effect, so they'll
3995
# only be used when explicitly requested
3996
if test "x$enable_dependency_tracking" = xyes; then
4002
msvisualcpp | msvcmsys)
4003
# This compiler won't grok `-c -o', but also, the minuso test has
4004
# not run yet. These depmodes are late enough in the game, and
4005
# so weak that their functioning should not be impacted.
4006
am__obj=conftest.${OBJEXT-o}
4011
if depmode=$depmode \
4012
source=sub/conftest.c object=$am__obj \
4013
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4014
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4015
>/dev/null 2>conftest.err &&
4016
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4017
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4018
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4019
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4020
# icc doesn't choke on unknown options, it will just issue warnings
4021
# or remarks (even with -Werror). So we grep stderr for any message
4022
# that says an option was ignored or not supported.
4023
# When given -MP, icc 7.0 and 7.1 complain thusly:
4024
# icc: Command line warning: ignoring option '-M'; no argument required
4025
# The diagnosis changed in icc 8.0:
4026
# icc: Command line remark: option '-MP' not supported
4027
if (grep 'ignoring option' conftest.err ||
4028
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4029
am_cv_CC_dependencies_compiler_type=$depmode
4038
am_cv_CC_dependencies_compiler_type=none
4042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4043
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4044
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4047
test "x$enable_dependency_tracking" != xno \
4048
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4050
am__fastdepCC_FALSE='#'
4052
am__fastdepCC_TRUE='#'
4053
am__fastdepCC_FALSE=
4060
case "$am__api_version" in
4062
as_fn_error "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4068
if test -n "0.35.0"; then
4069
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
4070
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
4072
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4073
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4074
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4076
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4077
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4078
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4079
as_fn_error "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
4082
# Extract the first word of "intltool-update", so it can be a program name with args.
4083
set dummy intltool-update; ac_word=$2
4084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4085
$as_echo_n "checking for $ac_word... " >&6; }
4086
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
4087
$as_echo_n "(cached) " >&6
4089
case $INTLTOOL_UPDATE in
4091
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4094
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4098
test -z "$as_dir" && as_dir=.
4099
for ac_exec_ext in '' $ac_executable_extensions; do
4100
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4101
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4102
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4112
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4113
if test -n "$INTLTOOL_UPDATE"; then
4114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4115
$as_echo "$INTLTOOL_UPDATE" >&6; }
4117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4118
$as_echo "no" >&6; }
4122
# Extract the first word of "intltool-merge", so it can be a program name with args.
4123
set dummy intltool-merge; ac_word=$2
4124
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4125
$as_echo_n "checking for $ac_word... " >&6; }
4126
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
4127
$as_echo_n "(cached) " >&6
4129
case $INTLTOOL_MERGE in
4131
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4134
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4138
test -z "$as_dir" && as_dir=.
4139
for ac_exec_ext in '' $ac_executable_extensions; do
4140
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4141
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4142
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4152
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4153
if test -n "$INTLTOOL_MERGE"; then
4154
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4155
$as_echo "$INTLTOOL_MERGE" >&6; }
4157
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4158
$as_echo "no" >&6; }
4162
# Extract the first word of "intltool-extract", so it can be a program name with args.
4163
set dummy intltool-extract; ac_word=$2
4164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4165
$as_echo_n "checking for $ac_word... " >&6; }
4166
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
4167
$as_echo_n "(cached) " >&6
4169
case $INTLTOOL_EXTRACT in
4171
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4174
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4178
test -z "$as_dir" && as_dir=.
4179
for ac_exec_ext in '' $ac_executable_extensions; do
4180
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4181
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4182
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4192
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4193
if test -n "$INTLTOOL_EXTRACT"; then
4194
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4195
$as_echo "$INTLTOOL_EXTRACT" >&6; }
4197
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4198
$as_echo "no" >&6; }
4202
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4203
as_fn_error "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4206
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 $< $@'
4207
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 $< $@'
4208
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 $< $@'
4209
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 $< $@'
4210
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
4211
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 $< $@'
4212
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 $< $@'
4213
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 $< $@'
4214
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 $< $@'
4215
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 $< $@'
4216
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 $< $@'
4217
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
4218
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 $< $@'
4219
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 $< $@'
4220
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 $< $@'
4221
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 $< $@'
4222
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 $< $@'
4223
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 $< $@'
4224
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 $< $@'
4322
# Check the gettext tools to make sure they are GNU
4323
# Extract the first word of "xgettext", so it can be a program name with args.
4324
set dummy xgettext; ac_word=$2
4325
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4326
$as_echo_n "checking for $ac_word... " >&6; }
4327
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
4328
$as_echo_n "(cached) " >&6
4332
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
4335
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4339
test -z "$as_dir" && as_dir=.
4340
for ac_exec_ext in '' $ac_executable_extensions; do
4341
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4342
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
4343
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4353
XGETTEXT=$ac_cv_path_XGETTEXT
4354
if test -n "$XGETTEXT"; then
4355
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
4356
$as_echo "$XGETTEXT" >&6; }
4358
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4359
$as_echo "no" >&6; }
4363
# Extract the first word of "msgmerge", so it can be a program name with args.
4364
set dummy msgmerge; ac_word=$2
4365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4366
$as_echo_n "checking for $ac_word... " >&6; }
4367
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
4368
$as_echo_n "(cached) " >&6
4372
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
4375
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4379
test -z "$as_dir" && as_dir=.
4380
for ac_exec_ext in '' $ac_executable_extensions; do
4381
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4382
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
4383
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4393
MSGMERGE=$ac_cv_path_MSGMERGE
4394
if test -n "$MSGMERGE"; then
4395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
4396
$as_echo "$MSGMERGE" >&6; }
4398
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4399
$as_echo "no" >&6; }
4403
# Extract the first word of "msgfmt", so it can be a program name with args.
4404
set dummy msgfmt; ac_word=$2
4405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4406
$as_echo_n "checking for $ac_word... " >&6; }
4407
if test "${ac_cv_path_MSGFMT+set}" = set; then :
4408
$as_echo_n "(cached) " >&6
4412
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
4415
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419
test -z "$as_dir" && as_dir=.
4420
for ac_exec_ext in '' $ac_executable_extensions; do
4421
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4422
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
4423
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4433
MSGFMT=$ac_cv_path_MSGFMT
4434
if test -n "$MSGFMT"; then
4435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
4436
$as_echo "$MSGFMT" >&6; }
4438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4439
$as_echo "no" >&6; }
4443
# Extract the first word of "gmsgfmt", so it can be a program name with args.
4444
set dummy gmsgfmt; ac_word=$2
4445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4446
$as_echo_n "checking for $ac_word... " >&6; }
4447
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
4448
$as_echo_n "(cached) " >&6
4452
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
4455
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4459
test -z "$as_dir" && as_dir=.
4460
for ac_exec_ext in '' $ac_executable_extensions; do
4461
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4462
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
4463
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4470
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
4474
GMSGFMT=$ac_cv_path_GMSGFMT
4475
if test -n "$GMSGFMT"; then
4476
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
4477
$as_echo "$GMSGFMT" >&6; }
4479
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4480
$as_echo "no" >&6; }
4484
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
4485
as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
4487
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
4488
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
4489
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
4490
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
4491
as_fn_error "GNU gettext tools not found; required for intltool" "$LINENO" 5
4494
# Extract the first word of "perl", so it can be a program name with args.
4495
set dummy perl; ac_word=$2
4496
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4497
$as_echo_n "checking for $ac_word... " >&6; }
4498
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
4499
$as_echo_n "(cached) " >&6
4501
case $INTLTOOL_PERL in
4503
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
4506
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4510
test -z "$as_dir" && as_dir=.
4511
for ac_exec_ext in '' $ac_executable_extensions; do
4512
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4513
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
4514
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4524
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
4525
if test -n "$INTLTOOL_PERL"; then
4526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
4527
$as_echo "$INTLTOOL_PERL" >&6; }
4529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4530
$as_echo "no" >&6; }
4534
if test -z "$INTLTOOL_PERL"; then
4535
as_fn_error "perl not found" "$LINENO" 5
4537
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
4538
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
4539
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
4540
if test $? -ne 0; then
4541
as_fn_error "perl 5.8.1 is required for intltool" "$LINENO" 5
4543
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
4544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
4545
$as_echo "$IT_PERL_VERSION" >&6; }
4547
if test "x" != "xno-xml"; then
4548
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
4549
$as_echo_n "checking for XML::Parser... " >&6; }
4550
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
4551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
4552
$as_echo "ok" >&6; }
4554
as_fn_error "XML::Parser perl module is required for intltool" "$LINENO" 5
4558
# Substitute ALL_LINGUAS so we can use it in po/Makefile
4561
# Set DATADIRNAME correctly if it is not set yet
4562
# (copied from glib-gettext.m4)
4563
if test -z "$DATADIRNAME"; then
4564
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4565
/* end confdefs.h. */
4570
extern int _nl_msg_cat_cntr;
4571
return _nl_msg_cat_cntr
4576
if ac_fn_c_try_link "$LINENO"; then :
4581
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
4582
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
4594
rm -f core conftest.err conftest.$ac_objext \
4595
conftest$ac_exeext conftest.$ac_ext
4604
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4605
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4610
macro_version='2.2.6'
4611
macro_revision='1.3012'
4625
ltmain="$ac_aux_dir/ltmain.sh"
4627
# Make sure we can run config.sub.
4628
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4629
as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4632
$as_echo_n "checking build system type... " >&6; }
4633
if test "${ac_cv_build+set}" = set; then :
4634
$as_echo_n "(cached) " >&6
4636
ac_build_alias=$build_alias
4637
test "x$ac_build_alias" = x &&
4638
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4639
test "x$ac_build_alias" = x &&
4640
as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
4641
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4642
as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4646
$as_echo "$ac_cv_build" >&6; }
4647
case $ac_cv_build in
4649
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
4652
ac_save_IFS=$IFS; IFS='-'
4658
# Remember, the first character of IFS is used to create $*,
4659
# except with old shells:
4662
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4665
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4666
$as_echo_n "checking host system type... " >&6; }
4667
if test "${ac_cv_host+set}" = set; then :
4668
$as_echo_n "(cached) " >&6
4670
if test "x$host_alias" = x; then
4671
ac_cv_host=$ac_cv_build
4673
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4674
as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4679
$as_echo "$ac_cv_host" >&6; }
4682
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
4685
ac_save_IFS=$IFS; IFS='-'
4691
# Remember, the first character of IFS is used to create $*,
4692
# except with old shells:
4695
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4699
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4700
if test "${ac_cv_path_SED+set}" = set; then :
4701
$as_echo_n "(cached) " >&6
4703
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4704
for ac_i in 1 2 3 4 5 6 7; do
4705
ac_script="$ac_script$as_nl$ac_script"
4707
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4708
{ ac_script=; unset ac_script;}
4709
if test -z "$SED"; then
4710
ac_path_SED_found=false
4711
# Loop through the user's path and test for each of PROGNAME-LIST
4712
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4716
test -z "$as_dir" && as_dir=.
4717
for ac_prog in sed gsed; do
4718
for ac_exec_ext in '' $ac_executable_extensions; do
4719
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4720
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4721
# Check for GNU ac_path_SED and select it if it is found.
4722
# Check for GNU $ac_path_SED
4723
case `"$ac_path_SED" --version 2>&1` in
4725
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4728
$as_echo_n 0123456789 >"conftest.in"
4731
cat "conftest.in" "conftest.in" >"conftest.tmp"
4732
mv "conftest.tmp" "conftest.in"
4733
cp "conftest.in" "conftest.nl"
4734
$as_echo '' >> "conftest.nl"
4735
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4736
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4737
as_fn_arith $ac_count + 1 && ac_count=$as_val
4738
if test $ac_count -gt ${ac_path_SED_max-0}; then
4739
# Best one so far, save it but keep looking for a better one
4740
ac_cv_path_SED="$ac_path_SED"
4741
ac_path_SED_max=$ac_count
4743
# 10*(2^10) chars as input seems more than enough
4744
test $ac_count -gt 10 && break
4746
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4749
$ac_path_SED_found && break 3
4754
if test -z "$ac_cv_path_SED"; then
4755
as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
4762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4763
$as_echo "$ac_cv_path_SED" >&6; }
4764
SED="$ac_cv_path_SED"
4767
test -z "$SED" && SED=sed
4768
Xsed="$SED -e 1s/^X//"
4780
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4781
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4782
if test "${ac_cv_path_GREP+set}" = set; then :
4783
$as_echo_n "(cached) " >&6
4785
if test -z "$GREP"; then
4786
ac_path_GREP_found=false
4787
# Loop through the user's path and test for each of PROGNAME-LIST
4788
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4789
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4792
test -z "$as_dir" && as_dir=.
4793
for ac_prog in grep ggrep; do
4794
for ac_exec_ext in '' $ac_executable_extensions; do
4795
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4796
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4797
# Check for GNU ac_path_GREP and select it if it is found.
4798
# Check for GNU $ac_path_GREP
4799
case `"$ac_path_GREP" --version 2>&1` in
4801
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4804
$as_echo_n 0123456789 >"conftest.in"
4807
cat "conftest.in" "conftest.in" >"conftest.tmp"
4808
mv "conftest.tmp" "conftest.in"
4809
cp "conftest.in" "conftest.nl"
4810
$as_echo 'GREP' >> "conftest.nl"
4811
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4812
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4813
as_fn_arith $ac_count + 1 && ac_count=$as_val
4814
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4815
# Best one so far, save it but keep looking for a better one
4816
ac_cv_path_GREP="$ac_path_GREP"
4817
ac_path_GREP_max=$ac_count
4819
# 10*(2^10) chars as input seems more than enough
4820
test $ac_count -gt 10 && break
4822
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4825
$ac_path_GREP_found && break 3
4830
if test -z "$ac_cv_path_GREP"; then
4831
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4834
ac_cv_path_GREP=$GREP
4838
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4839
$as_echo "$ac_cv_path_GREP" >&6; }
4840
GREP="$ac_cv_path_GREP"
4843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4844
$as_echo_n "checking for egrep... " >&6; }
4845
if test "${ac_cv_path_EGREP+set}" = set; then :
4846
$as_echo_n "(cached) " >&6
4848
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4849
then ac_cv_path_EGREP="$GREP -E"
4851
if test -z "$EGREP"; then
4852
ac_path_EGREP_found=false
4853
# Loop through the user's path and test for each of PROGNAME-LIST
4854
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4855
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4858
test -z "$as_dir" && as_dir=.
4859
for ac_prog in egrep; do
4860
for ac_exec_ext in '' $ac_executable_extensions; do
4861
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4862
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4863
# Check for GNU ac_path_EGREP and select it if it is found.
4864
# Check for GNU $ac_path_EGREP
4865
case `"$ac_path_EGREP" --version 2>&1` in
4867
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4870
$as_echo_n 0123456789 >"conftest.in"
4873
cat "conftest.in" "conftest.in" >"conftest.tmp"
4874
mv "conftest.tmp" "conftest.in"
4875
cp "conftest.in" "conftest.nl"
4876
$as_echo 'EGREP' >> "conftest.nl"
4877
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4878
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4879
as_fn_arith $ac_count + 1 && ac_count=$as_val
4880
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4881
# Best one so far, save it but keep looking for a better one
4882
ac_cv_path_EGREP="$ac_path_EGREP"
4883
ac_path_EGREP_max=$ac_count
4885
# 10*(2^10) chars as input seems more than enough
4886
test $ac_count -gt 10 && break
4888
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4891
$ac_path_EGREP_found && break 3
4896
if test -z "$ac_cv_path_EGREP"; then
4897
as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4900
ac_cv_path_EGREP=$EGREP
4905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4906
$as_echo "$ac_cv_path_EGREP" >&6; }
4907
EGREP="$ac_cv_path_EGREP"
4910
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4911
$as_echo_n "checking for fgrep... " >&6; }
4912
if test "${ac_cv_path_FGREP+set}" = set; then :
4913
$as_echo_n "(cached) " >&6
4915
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4916
then ac_cv_path_FGREP="$GREP -F"
4918
if test -z "$FGREP"; then
4919
ac_path_FGREP_found=false
4920
# Loop through the user's path and test for each of PROGNAME-LIST
4921
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4922
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4925
test -z "$as_dir" && as_dir=.
4926
for ac_prog in fgrep; do
4927
for ac_exec_ext in '' $ac_executable_extensions; do
4928
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4929
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4930
# Check for GNU ac_path_FGREP and select it if it is found.
4931
# Check for GNU $ac_path_FGREP
4932
case `"$ac_path_FGREP" --version 2>&1` in
4934
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4937
$as_echo_n 0123456789 >"conftest.in"
4940
cat "conftest.in" "conftest.in" >"conftest.tmp"
4941
mv "conftest.tmp" "conftest.in"
4942
cp "conftest.in" "conftest.nl"
4943
$as_echo 'FGREP' >> "conftest.nl"
4944
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4945
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4946
as_fn_arith $ac_count + 1 && ac_count=$as_val
4947
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4948
# Best one so far, save it but keep looking for a better one
4949
ac_cv_path_FGREP="$ac_path_FGREP"
4950
ac_path_FGREP_max=$ac_count
4952
# 10*(2^10) chars as input seems more than enough
4953
test $ac_count -gt 10 && break
4955
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4958
$ac_path_FGREP_found && break 3
4963
if test -z "$ac_cv_path_FGREP"; then
4964
as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4967
ac_cv_path_FGREP=$FGREP
4972
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4973
$as_echo "$ac_cv_path_FGREP" >&6; }
4974
FGREP="$ac_cv_path_FGREP"
4977
test -z "$GREP" && GREP=grep
4997
# Check whether --with-gnu-ld was given.
4998
if test "${with_gnu_ld+set}" = set; then :
4999
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5005
if test "$GCC" = yes; then
5006
# Check if gcc -print-prog-name=ld gives a path.
5007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5008
$as_echo_n "checking for ld used by $CC... " >&6; }
5011
# gcc leaves a trailing carriage return which upsets mingw
5012
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5014
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5017
# Accept absolute paths.
5019
re_direlt='/[^/][^/]*/\.\./'
5020
# Canonicalize the pathname of ld
5021
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5022
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5023
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5025
test -z "$LD" && LD="$ac_prog"
5028
# If it fails, then pretend we aren't using GCC.
5032
# If it is relative, then search for the first ld in PATH.
5036
elif test "$with_gnu_ld" = yes; then
5037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5038
$as_echo_n "checking for GNU ld... " >&6; }
5040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5041
$as_echo_n "checking for non-GNU ld... " >&6; }
5043
if test "${lt_cv_path_LD+set}" = set; then :
5044
$as_echo_n "(cached) " >&6
5046
if test -z "$LD"; then
5047
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5048
for ac_dir in $PATH; do
5050
test -z "$ac_dir" && ac_dir=.
5051
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5052
lt_cv_path_LD="$ac_dir/$ac_prog"
5053
# Check to see if the program is GNU ld. I'd rather use --version,
5054
# but apparently some variants of GNU ld only accept -v.
5055
# Break only if it was the GNU/non-GNU ld that we prefer.
5056
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5057
*GNU* | *'with BFD'*)
5058
test "$with_gnu_ld" != no && break
5061
test "$with_gnu_ld" != yes && break
5068
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5073
if test -n "$LD"; then
5074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5075
$as_echo "$LD" >&6; }
5077
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078
$as_echo "no" >&6; }
5080
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5081
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5082
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5083
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5084
$as_echo_n "(cached) " >&6
5086
# I'd rather use --version here, but apparently some GNU lds only accept -v.
5087
case `$LD -v 2>&1 </dev/null` in
5088
*GNU* | *'with BFD'*)
5089
lt_cv_prog_gnu_ld=yes
5092
lt_cv_prog_gnu_ld=no
5096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5097
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5098
with_gnu_ld=$lt_cv_prog_gnu_ld
5108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5109
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5110
if test "${lt_cv_path_NM+set}" = set; then :
5111
$as_echo_n "(cached) " >&6
5113
if test -n "$NM"; then
5114
# Let the user override the test.
5117
lt_nm_to_check="${ac_tool_prefix}nm"
5118
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5119
lt_nm_to_check="$lt_nm_to_check nm"
5121
for lt_tmp_nm in $lt_nm_to_check; do
5122
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5123
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5125
test -z "$ac_dir" && ac_dir=.
5126
tmp_nm="$ac_dir/$lt_tmp_nm"
5127
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5128
# Check to see if the nm accepts a BSD-compat flag.
5129
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5130
# nm: unknown option "B" ignored
5131
# Tru64's nm complains that /dev/null is an invalid object file
5132
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5133
*/dev/null* | *'Invalid file or object type'*)
5134
lt_cv_path_NM="$tmp_nm -B"
5138
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5140
lt_cv_path_NM="$tmp_nm -p"
5144
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5145
continue # so that we can try to find one that supports BSD flags
5154
: ${lt_cv_path_NM=no}
5157
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5158
$as_echo "$lt_cv_path_NM" >&6; }
5159
if test "$lt_cv_path_NM" != "no"; then
5162
# Didn't find any BSD compatible name lister, look for dumpbin.
5163
if test -n "$ac_tool_prefix"; then
5164
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5166
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5167
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5169
$as_echo_n "checking for $ac_word... " >&6; }
5170
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5171
$as_echo_n "(cached) " >&6
5173
if test -n "$DUMPBIN"; then
5174
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5176
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5180
test -z "$as_dir" && as_dir=.
5181
for ac_exec_ext in '' $ac_executable_extensions; do
5182
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5183
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5184
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5193
DUMPBIN=$ac_cv_prog_DUMPBIN
5194
if test -n "$DUMPBIN"; then
5195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5196
$as_echo "$DUMPBIN" >&6; }
5198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5199
$as_echo "no" >&6; }
5203
test -n "$DUMPBIN" && break
5206
if test -z "$DUMPBIN"; then
5207
ac_ct_DUMPBIN=$DUMPBIN
5208
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5210
# Extract the first word of "$ac_prog", so it can be a program name with args.
5211
set dummy $ac_prog; ac_word=$2
5212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5213
$as_echo_n "checking for $ac_word... " >&6; }
5214
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5215
$as_echo_n "(cached) " >&6
5217
if test -n "$ac_ct_DUMPBIN"; then
5218
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5220
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5224
test -z "$as_dir" && as_dir=.
5225
for ac_exec_ext in '' $ac_executable_extensions; do
5226
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5227
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5228
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5237
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5238
if test -n "$ac_ct_DUMPBIN"; then
5239
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5240
$as_echo "$ac_ct_DUMPBIN" >&6; }
5242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5243
$as_echo "no" >&6; }
5247
test -n "$ac_ct_DUMPBIN" && break
5250
if test "x$ac_ct_DUMPBIN" = x; then
5253
case $cross_compiling:$ac_tool_warned in
5255
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5256
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5257
ac_tool_warned=yes ;;
5259
DUMPBIN=$ac_ct_DUMPBIN
5264
if test "$DUMPBIN" != ":"; then
5268
test -z "$NM" && NM=nm
5275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5276
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5277
if test "${lt_cv_nm_interface+set}" = set; then :
5278
$as_echo_n "(cached) " >&6
5280
lt_cv_nm_interface="BSD nm"
5281
echo "int some_variable = 0;" > conftest.$ac_ext
5282
(eval echo "\"\$as_me:5282: $ac_compile\"" >&5)
5283
(eval "$ac_compile" 2>conftest.err)
5284
cat conftest.err >&5
5285
(eval echo "\"\$as_me:5285: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5286
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5287
cat conftest.err >&5
5288
(eval echo "\"\$as_me:5288: output\"" >&5)
5289
cat conftest.out >&5
5290
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5291
lt_cv_nm_interface="MS dumpbin"
5295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5296
$as_echo "$lt_cv_nm_interface" >&6; }
5298
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5299
$as_echo_n "checking whether ln -s works... " >&6; }
5301
if test "$LN_S" = "ln -s"; then
5302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5303
$as_echo "yes" >&6; }
5305
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5306
$as_echo "no, using $LN_S" >&6; }
5309
# find the maximum length of command line arguments
5310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5311
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5312
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5313
$as_echo_n "(cached) " >&6
5320
# On DJGPP, this test can blow up pretty badly due to problems in libc
5321
# (any single argument exceeding 2000 bytes causes a buffer overrun
5322
# during glob expansion). Even if it were fixed, the result of this
5323
# check would be larger than it should be.
5324
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5328
# Under GNU Hurd, this test is not required because there is
5329
# no limit to the length of command line arguments.
5330
# Libtool will interpret -1 as no limit whatsoever
5331
lt_cv_sys_max_cmd_len=-1;
5334
cygwin* | mingw* | cegcc*)
5335
# On Win9x/ME, this test blows up -- it succeeds, but takes
5336
# about 5 minutes as the teststring grows exponentially.
5337
# Worse, since 9x/ME are not pre-emptively multitasking,
5338
# you end up with a "frozen" computer, even though with patience
5339
# the test eventually succeeds (with a max line length of 256k).
5340
# Instead, let's just punt: use the minimum linelength reported by
5341
# all of the supported platforms: 8192 (on NT/2K/XP).
5342
lt_cv_sys_max_cmd_len=8192;
5346
# On AmigaOS with pdksh, this test takes hours, literally.
5347
# So we just punt and use a minimum line length of 8192.
5348
lt_cv_sys_max_cmd_len=8192;
5351
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5352
# This has been around since 386BSD, at least. Likely further.
5353
if test -x /sbin/sysctl; then
5354
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5355
elif test -x /usr/sbin/sysctl; then
5356
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5358
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5360
# And add a safety zone
5361
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5362
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5366
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5367
lt_cv_sys_max_cmd_len=196608
5371
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5372
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5373
# nice to cause kernel panics so lets avoid the loop below.
5374
# First set a reasonable default.
5375
lt_cv_sys_max_cmd_len=16384
5377
if test -x /sbin/sysconfig; then
5378
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5379
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5384
lt_cv_sys_max_cmd_len=102400
5386
sysv5* | sco5v6* | sysv4.2uw2*)
5387
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5388
if test -n "$kargmax"; then
5389
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5391
lt_cv_sys_max_cmd_len=32768
5395
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5396
if test -n "$lt_cv_sys_max_cmd_len"; then
5397
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5398
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5400
# Make teststring a little bigger before we do anything with it.
5401
# a 1K string should be a reasonable start.
5402
for i in 1 2 3 4 5 6 7 8 ; do
5403
teststring=$teststring$teststring
5405
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5406
# If test is not a shell built-in, we'll probably end up computing a
5407
# maximum length that is only half of the actual maximum length, but
5409
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5410
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5411
test $i != 17 # 1/2 MB should be enough
5414
teststring=$teststring$teststring
5416
# Only check the string length outside the loop.
5417
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5419
# Add a significant safety factor because C++ compilers can tack on
5420
# massive amounts of additional arguments before passing them to the
5421
# linker. It appears as though 1/2 is a usable value.
5422
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5429
if test -n $lt_cv_sys_max_cmd_len ; then
5430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5431
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5433
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5434
$as_echo "none" >&6; }
5436
max_cmd_len=$lt_cv_sys_max_cmd_len
5447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5448
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5449
# Try some XSI features
5452
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5454
&& eval 'test $(( 1 + 1 )) -eq 2 \
5455
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5457
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5458
$as_echo "$xsi_shell" >&6; }
5461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5462
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5464
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5466
&& lt_shell_append=yes
5467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5468
$as_echo "$lt_shell_append" >&6; }
5471
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5481
# test EBCDIC or ASCII
5482
case `echo X|tr X '\101'` in
5483
A) # ASCII based system
5484
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5485
lt_SP2NL='tr \040 \012'
5486
lt_NL2SP='tr \015\012 \040\040'
5488
*) # EBCDIC based system
5489
lt_SP2NL='tr \100 \n'
5490
lt_NL2SP='tr \r\n \100\100'
5502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5503
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5504
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5505
$as_echo_n "(cached) " >&6
5507
lt_cv_ld_reload_flag='-r'
5509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5510
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5511
reload_flag=$lt_cv_ld_reload_flag
5512
case $reload_flag in
5514
*) reload_flag=" $reload_flag" ;;
5516
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5519
if test "$GCC" = yes; then
5520
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5522
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5535
if test -n "$ac_tool_prefix"; then
5536
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5537
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5538
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5539
$as_echo_n "checking for $ac_word... " >&6; }
5540
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5541
$as_echo_n "(cached) " >&6
5543
if test -n "$OBJDUMP"; then
5544
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5546
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5550
test -z "$as_dir" && as_dir=.
5551
for ac_exec_ext in '' $ac_executable_extensions; do
5552
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5553
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5554
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5563
OBJDUMP=$ac_cv_prog_OBJDUMP
5564
if test -n "$OBJDUMP"; then
5565
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5566
$as_echo "$OBJDUMP" >&6; }
5568
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569
$as_echo "no" >&6; }
5574
if test -z "$ac_cv_prog_OBJDUMP"; then
5575
ac_ct_OBJDUMP=$OBJDUMP
5576
# Extract the first word of "objdump", so it can be a program name with args.
5577
set dummy objdump; ac_word=$2
5578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5579
$as_echo_n "checking for $ac_word... " >&6; }
5580
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5581
$as_echo_n "(cached) " >&6
5583
if test -n "$ac_ct_OBJDUMP"; then
5584
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5586
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5590
test -z "$as_dir" && as_dir=.
5591
for ac_exec_ext in '' $ac_executable_extensions; do
5592
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5593
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5594
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5603
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5604
if test -n "$ac_ct_OBJDUMP"; then
5605
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5606
$as_echo "$ac_ct_OBJDUMP" >&6; }
5608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5609
$as_echo "no" >&6; }
5612
if test "x$ac_ct_OBJDUMP" = x; then
5615
case $cross_compiling:$ac_tool_warned in
5617
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5618
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5619
ac_tool_warned=yes ;;
5621
OBJDUMP=$ac_ct_OBJDUMP
5624
OBJDUMP="$ac_cv_prog_OBJDUMP"
5627
test -z "$OBJDUMP" && OBJDUMP=objdump
5637
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5638
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5639
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5640
$as_echo_n "(cached) " >&6
5642
lt_cv_file_magic_cmd='$MAGIC_CMD'
5643
lt_cv_file_magic_test_file=
5644
lt_cv_deplibs_check_method='unknown'
5645
# Need to set the preceding variable on all platforms that support
5646
# interlibrary dependencies.
5647
# 'none' -- dependencies not supported.
5648
# `unknown' -- same as none, but documents that we really don't know.
5649
# 'pass_all' -- all dependencies passed with no checks.
5650
# 'test_compile' -- check by making test program.
5651
# 'file_magic [[regex]]' -- check by looking for files in library path
5652
# which responds to the $file_magic_cmd with a given extended regex.
5653
# If you have `file' or equivalent on your system and you're not sure
5654
# whether `pass_all' will *always* work, you probably want this one.
5658
lt_cv_deplibs_check_method=pass_all
5662
lt_cv_deplibs_check_method=pass_all
5666
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5667
lt_cv_file_magic_cmd='/usr/bin/file -L'
5668
lt_cv_file_magic_test_file=/shlib/libc.so
5672
# func_win32_libid is a shell function defined in ltmain.sh
5673
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5674
lt_cv_file_magic_cmd='func_win32_libid'
5678
# Base MSYS/MinGW do not provide the 'file' command needed by
5679
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5680
# unless we find 'file', for example because we are cross-compiling.
5681
if ( file / ) >/dev/null 2>&1; then
5682
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5683
lt_cv_file_magic_cmd='func_win32_libid'
5685
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5686
lt_cv_file_magic_cmd='$OBJDUMP -f'
5691
# use the weaker test based on 'objdump'. See mingw*.
5692
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5693
lt_cv_file_magic_cmd='$OBJDUMP -f'
5696
darwin* | rhapsody*)
5697
lt_cv_deplibs_check_method=pass_all
5700
freebsd* | dragonfly*)
5701
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5704
# Not sure whether the presence of OpenBSD here was a mistake.
5705
# Let's accept both of them until this is cleared up.
5706
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5707
lt_cv_file_magic_cmd=/usr/bin/file
5708
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5712
lt_cv_deplibs_check_method=pass_all
5717
lt_cv_deplibs_check_method=pass_all
5720
hpux10.20* | hpux11*)
5721
lt_cv_file_magic_cmd=/usr/bin/file
5724
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5725
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5728
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]'
5729
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5732
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5733
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5739
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5740
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5743
irix5* | irix6* | nonstopux*)
5745
*-32|*"-32 ") libmagic=32-bit;;
5746
*-n32|*"-n32 ") libmagic=N32;;
5747
*-64|*"-64 ") libmagic=64-bit;;
5748
*) libmagic=never-match;;
5750
lt_cv_deplibs_check_method=pass_all
5753
# This must be Linux ELF.
5754
linux* | k*bsd*-gnu)
5755
lt_cv_deplibs_check_method=pass_all
5759
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5760
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5762
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5767
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5768
lt_cv_file_magic_cmd=/usr/bin/file
5769
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5773
lt_cv_deplibs_check_method=pass_all
5777
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5778
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5780
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5784
osf3* | osf4* | osf5*)
5785
lt_cv_deplibs_check_method=pass_all
5789
lt_cv_deplibs_check_method=pass_all
5793
lt_cv_deplibs_check_method=pass_all
5796
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5797
lt_cv_deplibs_check_method=pass_all
5801
case $host_vendor in
5803
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]'
5804
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5807
lt_cv_deplibs_check_method=pass_all
5810
lt_cv_file_magic_cmd='/bin/file'
5811
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5814
lt_cv_file_magic_cmd='/bin/file'
5815
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5816
lt_cv_file_magic_test_file=/lib/libc.so
5819
lt_cv_deplibs_check_method=pass_all
5822
lt_cv_deplibs_check_method=pass_all
5828
lt_cv_deplibs_check_method=pass_all
5833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5834
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5835
file_magic_cmd=$lt_cv_file_magic_cmd
5836
deplibs_check_method=$lt_cv_deplibs_check_method
5837
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5850
if test -n "$ac_tool_prefix"; then
5851
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5852
set dummy ${ac_tool_prefix}ar; ac_word=$2
5853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854
$as_echo_n "checking for $ac_word... " >&6; }
5855
if test "${ac_cv_prog_AR+set}" = set; then :
5856
$as_echo_n "(cached) " >&6
5858
if test -n "$AR"; then
5859
ac_cv_prog_AR="$AR" # Let the user override the test.
5861
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865
test -z "$as_dir" && as_dir=.
5866
for ac_exec_ext in '' $ac_executable_extensions; do
5867
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5868
ac_cv_prog_AR="${ac_tool_prefix}ar"
5869
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5879
if test -n "$AR"; then
5880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5881
$as_echo "$AR" >&6; }
5883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884
$as_echo "no" >&6; }
5889
if test -z "$ac_cv_prog_AR"; then
5891
# Extract the first word of "ar", so it can be a program name with args.
5892
set dummy ar; ac_word=$2
5893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5894
$as_echo_n "checking for $ac_word... " >&6; }
5895
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5896
$as_echo_n "(cached) " >&6
5898
if test -n "$ac_ct_AR"; then
5899
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5901
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5905
test -z "$as_dir" && as_dir=.
5906
for ac_exec_ext in '' $ac_executable_extensions; do
5907
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5908
ac_cv_prog_ac_ct_AR="ar"
5909
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5919
if test -n "$ac_ct_AR"; then
5920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5921
$as_echo "$ac_ct_AR" >&6; }
5923
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5924
$as_echo "no" >&6; }
5927
if test "x$ac_ct_AR" = x; then
5930
case $cross_compiling:$ac_tool_warned in
5932
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5933
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5934
ac_tool_warned=yes ;;
5942
test -z "$AR" && AR=ar
5943
test -z "$AR_FLAGS" && AR_FLAGS=cru
5955
if test -n "$ac_tool_prefix"; then
5956
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5957
set dummy ${ac_tool_prefix}strip; ac_word=$2
5958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5959
$as_echo_n "checking for $ac_word... " >&6; }
5960
if test "${ac_cv_prog_STRIP+set}" = set; then :
5961
$as_echo_n "(cached) " >&6
5963
if test -n "$STRIP"; then
5964
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5966
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5970
test -z "$as_dir" && as_dir=.
5971
for ac_exec_ext in '' $ac_executable_extensions; do
5972
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5973
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5974
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5983
STRIP=$ac_cv_prog_STRIP
5984
if test -n "$STRIP"; then
5985
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5986
$as_echo "$STRIP" >&6; }
5988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5989
$as_echo "no" >&6; }
5994
if test -z "$ac_cv_prog_STRIP"; then
5996
# Extract the first word of "strip", so it can be a program name with args.
5997
set dummy strip; ac_word=$2
5998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5999
$as_echo_n "checking for $ac_word... " >&6; }
6000
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6001
$as_echo_n "(cached) " >&6
6003
if test -n "$ac_ct_STRIP"; then
6004
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6006
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6010
test -z "$as_dir" && as_dir=.
6011
for ac_exec_ext in '' $ac_executable_extensions; do
6012
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6013
ac_cv_prog_ac_ct_STRIP="strip"
6014
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6023
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6024
if test -n "$ac_ct_STRIP"; then
6025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6026
$as_echo "$ac_ct_STRIP" >&6; }
6028
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6029
$as_echo "no" >&6; }
6032
if test "x$ac_ct_STRIP" = x; then
6035
case $cross_compiling:$ac_tool_warned in
6037
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6038
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6039
ac_tool_warned=yes ;;
6044
STRIP="$ac_cv_prog_STRIP"
6047
test -z "$STRIP" && STRIP=:
6054
if test -n "$ac_tool_prefix"; then
6055
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6056
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6058
$as_echo_n "checking for $ac_word... " >&6; }
6059
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6060
$as_echo_n "(cached) " >&6
6062
if test -n "$RANLIB"; then
6063
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6065
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6069
test -z "$as_dir" && as_dir=.
6070
for ac_exec_ext in '' $ac_executable_extensions; do
6071
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6072
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6073
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6082
RANLIB=$ac_cv_prog_RANLIB
6083
if test -n "$RANLIB"; then
6084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6085
$as_echo "$RANLIB" >&6; }
6087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6088
$as_echo "no" >&6; }
6093
if test -z "$ac_cv_prog_RANLIB"; then
6094
ac_ct_RANLIB=$RANLIB
6095
# Extract the first word of "ranlib", so it can be a program name with args.
6096
set dummy ranlib; ac_word=$2
6097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6098
$as_echo_n "checking for $ac_word... " >&6; }
6099
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6100
$as_echo_n "(cached) " >&6
6102
if test -n "$ac_ct_RANLIB"; then
6103
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6105
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109
test -z "$as_dir" && as_dir=.
6110
for ac_exec_ext in '' $ac_executable_extensions; do
6111
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6112
ac_cv_prog_ac_ct_RANLIB="ranlib"
6113
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6122
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6123
if test -n "$ac_ct_RANLIB"; then
6124
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6125
$as_echo "$ac_ct_RANLIB" >&6; }
6127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6128
$as_echo "no" >&6; }
6131
if test "x$ac_ct_RANLIB" = x; then
6134
case $cross_compiling:$ac_tool_warned in
6136
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6137
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6138
ac_tool_warned=yes ;;
6140
RANLIB=$ac_ct_RANLIB
6143
RANLIB="$ac_cv_prog_RANLIB"
6146
test -z "$RANLIB" && RANLIB=:
6153
# Determine commands to create old-style static archives.
6154
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6155
old_postinstall_cmds='chmod 644 $oldlib'
6156
old_postuninstall_cmds=
6158
if test -n "$RANLIB"; then
6161
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6164
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6167
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6203
# If no C compiler was specified, use CC.
6206
# If no C compiler flags were specified, use CFLAGS.
6207
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6209
# Allow CC to be a program name with arguments.
6213
# Check for command to grab the raw symbol name followed by C symbol from nm.
6214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6215
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6216
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6217
$as_echo_n "(cached) " >&6
6220
# These are sane defaults that work on at least a few old systems.
6221
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6223
# Character class describing NM global symbol codes.
6224
symcode='[BCDEGRST]'
6226
# Regexp to match symbols that can be accessed directly from C.
6227
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6229
# Define system-specific variables.
6234
cygwin* | mingw* | pw32* | cegcc*)
6235
symcode='[ABCDGISTW]'
6238
if test "$host_cpu" = ia64; then
6239
symcode='[ABCDEGRST]'
6243
symcode='[BCDEGRST]'
6246
symcode='[BCDEGQRST]'
6257
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6265
# If we're using GNU nm, then use its standard symbol codes.
6266
case `$NM -V 2>&1` in
6267
*GNU* | *'with BFD'*)
6268
symcode='[ABCDGIRSTW]' ;;
6271
# Transform an extracted symbol line into a proper C declaration.
6272
# Some systems (esp. on ia64) link data and code symbols differently,
6273
# so use this general approach.
6274
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6276
# Transform an extracted symbol line into symbol name and symbol address
6277
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6278
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'"
6280
# Handle CRLF in mingw tool chain
6284
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6288
# Try without a prefix underscore, then with it.
6289
for ac_symprfx in "" "_"; do
6291
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6292
symxfrm="\\1 $ac_symprfx\\2 \\2"
6294
# Write the raw and C identifiers.
6295
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6296
# Fake it for dumpbin and say T for any non-static function
6297
# and D for any global variable.
6298
# Also find C++ and __fastcall symbols from MSVC++,
6299
# which start with @ or ?.
6300
lt_cv_sys_global_symbol_pipe="$AWK '"\
6301
" {last_section=section; section=\$ 3};"\
6302
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6303
" \$ 0!~/External *\|/{next};"\
6304
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6305
" {if(hide[section]) next};"\
6306
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6307
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6308
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6309
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6310
" ' prfx=^$ac_symprfx"
6312
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6315
# Check to see that the pipe works correctly.
6319
cat > conftest.$ac_ext <<_LT_EOF
6324
void nm_test_func(void);
6325
void nm_test_func(void){}
6329
int main(){nm_test_var='a';nm_test_func();return(0);}
6332
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6333
(eval $ac_compile) 2>&5
6335
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6336
test $ac_status = 0; }; then
6337
# Now try to grab the symbols.
6339
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6340
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6342
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6343
test $ac_status = 0; } && test -s "$nlist"; then
6344
# Try sorting and uniquifying the output.
6345
if sort "$nlist" | uniq > "$nlist"T; then
6346
mv -f "$nlist"T "$nlist"
6351
# Make sure that we snagged all the symbols we need.
6352
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6353
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6354
cat <<_LT_EOF > conftest.$ac_ext
6360
# Now generate the symbol file.
6361
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6363
cat <<_LT_EOF >> conftest.$ac_ext
6365
/* The mapping between symbol names and symbols. */
6370
lt__PROGRAM__LTX_preloaded_symbols[] =
6372
{ "@PROGRAM@", (void *) 0 },
6374
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6375
cat <<\_LT_EOF >> conftest.$ac_ext
6379
/* This works around a problem in FreeBSD linker */
6380
#ifdef FREEBSD_WORKAROUND
6381
static const void *lt_preloaded_setup() {
6382
return lt__PROGRAM__LTX_preloaded_symbols;
6390
# Now try linking the two files.
6391
mv conftest.$ac_objext conftstm.$ac_objext
6392
lt_save_LIBS="$LIBS"
6393
lt_save_CFLAGS="$CFLAGS"
6394
LIBS="conftstm.$ac_objext"
6395
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6396
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6397
(eval $ac_link) 2>&5
6399
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6400
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6403
LIBS="$lt_save_LIBS"
6404
CFLAGS="$lt_save_CFLAGS"
6406
echo "cannot find nm_test_func in $nlist" >&5
6409
echo "cannot find nm_test_var in $nlist" >&5
6412
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6415
echo "$progname: failed program was:" >&5
6416
cat conftest.$ac_ext >&5
6418
rm -rf conftest* conftst*
6420
# Do not use the global_symbol_pipe unless it works.
6421
if test "$pipe_works" = yes; then
6424
lt_cv_sys_global_symbol_pipe=
6430
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6431
lt_cv_sys_global_symbol_to_cdecl=
6433
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6434
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6435
$as_echo "failed" >&6; }
6437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6438
$as_echo "ok" >&6; }
6462
# Check whether --enable-libtool-lock was given.
6463
if test "${enable_libtool_lock+set}" = set; then :
6464
enableval=$enable_libtool_lock;
6467
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6469
# Some flags need to be propagated to the compiler or linker for good
6473
# Find out which ABI we are using.
6474
echo 'int i;' > conftest.$ac_ext
6475
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6476
(eval $ac_compile) 2>&5
6478
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6479
test $ac_status = 0; }; then
6480
case `/usr/bin/file conftest.$ac_objext` in
6492
# Find out which ABI we are using.
6493
echo '#line 6493 "configure"' > conftest.$ac_ext
6494
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6495
(eval $ac_compile) 2>&5
6497
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6498
test $ac_status = 0; }; then
6499
if test "$lt_cv_prog_gnu_ld" = yes; then
6500
case `/usr/bin/file conftest.$ac_objext` in
6502
LD="${LD-ld} -melf32bsmip"
6505
LD="${LD-ld} -melf32bmipn32"
6508
LD="${LD-ld} -melf64bmip"
6512
case `/usr/bin/file conftest.$ac_objext` in
6528
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6529
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6530
# Find out which ABI we are using.
6531
echo 'int i;' > conftest.$ac_ext
6532
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6533
(eval $ac_compile) 2>&5
6535
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6536
test $ac_status = 0; }; then
6537
case `/usr/bin/file conftest.o` in
6540
x86_64-*kfreebsd*-gnu)
6541
LD="${LD-ld} -m elf_i386_fbsd"
6544
LD="${LD-ld} -m elf_i386"
6546
ppc64-*linux*|powerpc64-*linux*)
6547
LD="${LD-ld} -m elf32ppclinux"
6550
LD="${LD-ld} -m elf_s390"
6553
LD="${LD-ld} -m elf32_sparc"
6559
x86_64-*kfreebsd*-gnu)
6560
LD="${LD-ld} -m elf_x86_64_fbsd"
6563
LD="${LD-ld} -m elf_x86_64"
6565
ppc*-*linux*|powerpc*-*linux*)
6566
LD="${LD-ld} -m elf64ppc"
6568
s390*-*linux*|s390*-*tpf*)
6569
LD="${LD-ld} -m elf64_s390"
6572
LD="${LD-ld} -m elf64_sparc"
6582
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6583
SAVE_CFLAGS="$CFLAGS"
6584
CFLAGS="$CFLAGS -belf"
6585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6586
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6587
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6588
$as_echo_n "(cached) " >&6
6591
ac_cpp='$CPP $CPPFLAGS'
6592
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6593
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6594
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6596
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6597
/* end confdefs.h. */
6607
if ac_fn_c_try_link "$LINENO"; then :
6608
lt_cv_cc_needs_belf=yes
6610
lt_cv_cc_needs_belf=no
6612
rm -f core conftest.err conftest.$ac_objext \
6613
conftest$ac_exeext conftest.$ac_ext
6615
ac_cpp='$CPP $CPPFLAGS'
6616
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6617
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6618
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6621
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6622
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6623
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6624
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6625
CFLAGS="$SAVE_CFLAGS"
6629
# Find out which ABI we are using.
6630
echo 'int i;' > conftest.$ac_ext
6631
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6632
(eval $ac_compile) 2>&5
6634
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6635
test $ac_status = 0; }; then
6636
case `/usr/bin/file conftest.o` in
6638
case $lt_cv_prog_gnu_ld in
6639
yes*) LD="${LD-ld} -m elf64_sparc" ;;
6641
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6653
need_locks="$enable_libtool_lock"
6657
rhapsody* | darwin*)
6658
if test -n "$ac_tool_prefix"; then
6659
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6660
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6662
$as_echo_n "checking for $ac_word... " >&6; }
6663
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6664
$as_echo_n "(cached) " >&6
6666
if test -n "$DSYMUTIL"; then
6667
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6669
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6673
test -z "$as_dir" && as_dir=.
6674
for ac_exec_ext in '' $ac_executable_extensions; do
6675
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6676
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6677
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6686
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6687
if test -n "$DSYMUTIL"; then
6688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6689
$as_echo "$DSYMUTIL" >&6; }
6691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6692
$as_echo "no" >&6; }
6697
if test -z "$ac_cv_prog_DSYMUTIL"; then
6698
ac_ct_DSYMUTIL=$DSYMUTIL
6699
# Extract the first word of "dsymutil", so it can be a program name with args.
6700
set dummy dsymutil; ac_word=$2
6701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6702
$as_echo_n "checking for $ac_word... " >&6; }
6703
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6704
$as_echo_n "(cached) " >&6
6706
if test -n "$ac_ct_DSYMUTIL"; then
6707
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6709
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713
test -z "$as_dir" && as_dir=.
6714
for ac_exec_ext in '' $ac_executable_extensions; do
6715
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6716
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6717
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6726
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6727
if test -n "$ac_ct_DSYMUTIL"; then
6728
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6729
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6732
$as_echo "no" >&6; }
6735
if test "x$ac_ct_DSYMUTIL" = x; then
6738
case $cross_compiling:$ac_tool_warned in
6740
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6741
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6742
ac_tool_warned=yes ;;
6744
DSYMUTIL=$ac_ct_DSYMUTIL
6747
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6750
if test -n "$ac_tool_prefix"; then
6751
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6752
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6754
$as_echo_n "checking for $ac_word... " >&6; }
6755
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6756
$as_echo_n "(cached) " >&6
6758
if test -n "$NMEDIT"; then
6759
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6761
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6765
test -z "$as_dir" && as_dir=.
6766
for ac_exec_ext in '' $ac_executable_extensions; do
6767
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6768
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6769
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6778
NMEDIT=$ac_cv_prog_NMEDIT
6779
if test -n "$NMEDIT"; then
6780
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6781
$as_echo "$NMEDIT" >&6; }
6783
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6784
$as_echo "no" >&6; }
6789
if test -z "$ac_cv_prog_NMEDIT"; then
6790
ac_ct_NMEDIT=$NMEDIT
6791
# Extract the first word of "nmedit", so it can be a program name with args.
6792
set dummy nmedit; ac_word=$2
6793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6794
$as_echo_n "checking for $ac_word... " >&6; }
6795
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6796
$as_echo_n "(cached) " >&6
6798
if test -n "$ac_ct_NMEDIT"; then
6799
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6801
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6805
test -z "$as_dir" && as_dir=.
6806
for ac_exec_ext in '' $ac_executable_extensions; do
6807
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6808
ac_cv_prog_ac_ct_NMEDIT="nmedit"
6809
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6818
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6819
if test -n "$ac_ct_NMEDIT"; then
6820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6821
$as_echo "$ac_ct_NMEDIT" >&6; }
6823
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6824
$as_echo "no" >&6; }
6827
if test "x$ac_ct_NMEDIT" = x; then
6830
case $cross_compiling:$ac_tool_warned in
6832
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6833
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6834
ac_tool_warned=yes ;;
6836
NMEDIT=$ac_ct_NMEDIT
6839
NMEDIT="$ac_cv_prog_NMEDIT"
6842
if test -n "$ac_tool_prefix"; then
6843
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6844
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6846
$as_echo_n "checking for $ac_word... " >&6; }
6847
if test "${ac_cv_prog_LIPO+set}" = set; then :
6848
$as_echo_n "(cached) " >&6
6850
if test -n "$LIPO"; then
6851
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6853
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6857
test -z "$as_dir" && as_dir=.
6858
for ac_exec_ext in '' $ac_executable_extensions; do
6859
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6860
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6861
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6870
LIPO=$ac_cv_prog_LIPO
6871
if test -n "$LIPO"; then
6872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6873
$as_echo "$LIPO" >&6; }
6875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6876
$as_echo "no" >&6; }
6881
if test -z "$ac_cv_prog_LIPO"; then
6883
# Extract the first word of "lipo", so it can be a program name with args.
6884
set dummy lipo; ac_word=$2
6885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6886
$as_echo_n "checking for $ac_word... " >&6; }
6887
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6888
$as_echo_n "(cached) " >&6
6890
if test -n "$ac_ct_LIPO"; then
6891
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6893
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6897
test -z "$as_dir" && as_dir=.
6898
for ac_exec_ext in '' $ac_executable_extensions; do
6899
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6900
ac_cv_prog_ac_ct_LIPO="lipo"
6901
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6910
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6911
if test -n "$ac_ct_LIPO"; then
6912
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6913
$as_echo "$ac_ct_LIPO" >&6; }
6915
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6916
$as_echo "no" >&6; }
6919
if test "x$ac_ct_LIPO" = x; then
6922
case $cross_compiling:$ac_tool_warned in
6924
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6925
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6926
ac_tool_warned=yes ;;
6931
LIPO="$ac_cv_prog_LIPO"
6934
if test -n "$ac_tool_prefix"; then
6935
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6936
set dummy ${ac_tool_prefix}otool; ac_word=$2
6937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6938
$as_echo_n "checking for $ac_word... " >&6; }
6939
if test "${ac_cv_prog_OTOOL+set}" = set; then :
6940
$as_echo_n "(cached) " >&6
6942
if test -n "$OTOOL"; then
6943
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6945
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6949
test -z "$as_dir" && as_dir=.
6950
for ac_exec_ext in '' $ac_executable_extensions; do
6951
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6952
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6953
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6962
OTOOL=$ac_cv_prog_OTOOL
6963
if test -n "$OTOOL"; then
6964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6965
$as_echo "$OTOOL" >&6; }
6967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6968
$as_echo "no" >&6; }
6973
if test -z "$ac_cv_prog_OTOOL"; then
6975
# Extract the first word of "otool", so it can be a program name with args.
6976
set dummy otool; ac_word=$2
6977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6978
$as_echo_n "checking for $ac_word... " >&6; }
6979
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6980
$as_echo_n "(cached) " >&6
6982
if test -n "$ac_ct_OTOOL"; then
6983
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6985
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6989
test -z "$as_dir" && as_dir=.
6990
for ac_exec_ext in '' $ac_executable_extensions; do
6991
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6992
ac_cv_prog_ac_ct_OTOOL="otool"
6993
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7002
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7003
if test -n "$ac_ct_OTOOL"; then
7004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7005
$as_echo "$ac_ct_OTOOL" >&6; }
7007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7008
$as_echo "no" >&6; }
7011
if test "x$ac_ct_OTOOL" = x; then
7014
case $cross_compiling:$ac_tool_warned in
7016
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7017
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7018
ac_tool_warned=yes ;;
7023
OTOOL="$ac_cv_prog_OTOOL"
7026
if test -n "$ac_tool_prefix"; then
7027
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7028
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7030
$as_echo_n "checking for $ac_word... " >&6; }
7031
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7032
$as_echo_n "(cached) " >&6
7034
if test -n "$OTOOL64"; then
7035
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7037
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7041
test -z "$as_dir" && as_dir=.
7042
for ac_exec_ext in '' $ac_executable_extensions; do
7043
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7044
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7045
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7054
OTOOL64=$ac_cv_prog_OTOOL64
7055
if test -n "$OTOOL64"; then
7056
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7057
$as_echo "$OTOOL64" >&6; }
7059
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7060
$as_echo "no" >&6; }
7065
if test -z "$ac_cv_prog_OTOOL64"; then
7066
ac_ct_OTOOL64=$OTOOL64
7067
# Extract the first word of "otool64", so it can be a program name with args.
7068
set dummy otool64; ac_word=$2
7069
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7070
$as_echo_n "checking for $ac_word... " >&6; }
7071
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7072
$as_echo_n "(cached) " >&6
7074
if test -n "$ac_ct_OTOOL64"; then
7075
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7077
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7081
test -z "$as_dir" && as_dir=.
7082
for ac_exec_ext in '' $ac_executable_extensions; do
7083
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7084
ac_cv_prog_ac_ct_OTOOL64="otool64"
7085
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7094
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7095
if test -n "$ac_ct_OTOOL64"; then
7096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7097
$as_echo "$ac_ct_OTOOL64" >&6; }
7099
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7100
$as_echo "no" >&6; }
7103
if test "x$ac_ct_OTOOL64" = x; then
7106
case $cross_compiling:$ac_tool_warned in
7108
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7109
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7110
ac_tool_warned=yes ;;
7112
OTOOL64=$ac_ct_OTOOL64
7115
OTOOL64="$ac_cv_prog_OTOOL64"
7144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7145
$as_echo_n "checking for -single_module linker flag... " >&6; }
7146
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7147
$as_echo_n "(cached) " >&6
7149
lt_cv_apple_cc_single_mod=no
7150
if test -z "${LT_MULTI_MODULE}"; then
7151
# By default we will add the -single_module flag. You can override
7152
# by either setting the environment variable LT_MULTI_MODULE
7153
# non-empty at configure time, or by adding -multi_module to the
7155
rm -rf libconftest.dylib*
7156
echo "int foo(void){return 1;}" > conftest.c
7157
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7158
-dynamiclib -Wl,-single_module conftest.c" >&5
7159
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7160
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7162
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7163
lt_cv_apple_cc_single_mod=yes
7165
cat conftest.err >&5
7167
rm -rf libconftest.dylib*
7171
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7172
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7173
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7174
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7175
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7176
$as_echo_n "(cached) " >&6
7178
lt_cv_ld_exported_symbols_list=no
7179
save_LDFLAGS=$LDFLAGS
7180
echo "_main" > conftest.sym
7181
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7182
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7183
/* end confdefs.h. */
7193
if ac_fn_c_try_link "$LINENO"; then :
7194
lt_cv_ld_exported_symbols_list=yes
7196
lt_cv_ld_exported_symbols_list=no
7198
rm -f core conftest.err conftest.$ac_objext \
7199
conftest$ac_exeext conftest.$ac_ext
7200
LDFLAGS="$save_LDFLAGS"
7203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7204
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7206
rhapsody* | darwin1.[012])
7207
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7209
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7210
darwin*) # darwin 5.x on
7211
# if running on 10.5 or later, the deployment target defaults
7212
# to the OS version, if on x86, and 10.4, the deployment
7213
# target defaults to 10.4. Don't you love it?
7214
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7215
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7216
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7218
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7220
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7224
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7225
_lt_dar_single_mod='$single_module'
7227
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7228
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7230
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7232
if test "$DSYMUTIL" != ":"; then
7233
_lt_dsymutil='~$DSYMUTIL $lib || :'
7241
ac_cpp='$CPP $CPPFLAGS'
7242
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7243
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7244
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7246
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7247
# On Suns, sometimes $CPP names a directory.
7248
if test -n "$CPP" && test -d "$CPP"; then
7251
if test -z "$CPP"; then
7252
if test "${ac_cv_prog_CPP+set}" = set; then :
7253
$as_echo_n "(cached) " >&6
7255
# Double quotes because CPP needs to be expanded
7256
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7259
for ac_c_preproc_warn_flag in '' yes
7261
# Use a header file that comes with gcc, so configuring glibc
7262
# with a fresh cross-compiler works.
7263
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7264
# <limits.h> exists even on freestanding compilers.
7265
# On the NeXT, cc -E runs the code through the compiler's parser,
7266
# not just through cpp. "Syntax error" is here to catch this case.
7267
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7268
/* end confdefs.h. */
7270
# include <limits.h>
7272
# include <assert.h>
7276
if ac_fn_c_try_cpp "$LINENO"; then :
7279
# Broken: fails on valid input.
7282
rm -f conftest.err conftest.$ac_ext
7284
# OK, works on sane cases. Now check whether nonexistent headers
7285
# can be detected and how.
7286
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7287
/* end confdefs.h. */
7288
#include <ac_nonexistent.h>
7290
if ac_fn_c_try_cpp "$LINENO"; then :
7291
# Broken: success on invalid input.
7294
# Passes both tests.
7298
rm -f conftest.err conftest.$ac_ext
7301
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7302
rm -f conftest.err conftest.$ac_ext
7303
if $ac_preproc_ok; then :
7315
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7316
$as_echo "$CPP" >&6; }
7318
for ac_c_preproc_warn_flag in '' yes
7320
# Use a header file that comes with gcc, so configuring glibc
7321
# with a fresh cross-compiler works.
7322
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7323
# <limits.h> exists even on freestanding compilers.
7324
# On the NeXT, cc -E runs the code through the compiler's parser,
7325
# not just through cpp. "Syntax error" is here to catch this case.
7326
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7327
/* end confdefs.h. */
7329
# include <limits.h>
7331
# include <assert.h>
7335
if ac_fn_c_try_cpp "$LINENO"; then :
7338
# Broken: fails on valid input.
7341
rm -f conftest.err conftest.$ac_ext
7343
# OK, works on sane cases. Now check whether nonexistent headers
7344
# can be detected and how.
7345
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7346
/* end confdefs.h. */
7347
#include <ac_nonexistent.h>
7349
if ac_fn_c_try_cpp "$LINENO"; then :
7350
# Broken: success on invalid input.
7353
# Passes both tests.
7357
rm -f conftest.err conftest.$ac_ext
7360
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7361
rm -f conftest.err conftest.$ac_ext
7362
if $ac_preproc_ok; then :
7365
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7366
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7367
as_fn_error "C preprocessor \"$CPP\" fails sanity check
7368
See \`config.log' for more details." "$LINENO" 5; }
7372
ac_cpp='$CPP $CPPFLAGS'
7373
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7374
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7375
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7378
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7379
$as_echo_n "checking for ANSI C header files... " >&6; }
7380
if test "${ac_cv_header_stdc+set}" = set; then :
7381
$as_echo_n "(cached) " >&6
7383
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7384
/* end confdefs.h. */
7398
if ac_fn_c_try_compile "$LINENO"; then :
7399
ac_cv_header_stdc=yes
7401
ac_cv_header_stdc=no
7403
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7405
if test $ac_cv_header_stdc = yes; then
7406
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7407
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7408
/* end confdefs.h. */
7412
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7413
$EGREP "memchr" >/dev/null 2>&1; then :
7416
ac_cv_header_stdc=no
7422
if test $ac_cv_header_stdc = yes; then
7423
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7424
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7425
/* end confdefs.h. */
7429
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7430
$EGREP "free" >/dev/null 2>&1; then :
7433
ac_cv_header_stdc=no
7439
if test $ac_cv_header_stdc = yes; then
7440
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7441
if test "$cross_compiling" = yes; then :
7444
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7445
/* end confdefs.h. */
7448
#if ((' ' & 0x0FF) == 0x020)
7449
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7450
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7452
# define ISLOWER(c) \
7453
(('a' <= (c) && (c) <= 'i') \
7454
|| ('j' <= (c) && (c) <= 'r') \
7455
|| ('s' <= (c) && (c) <= 'z'))
7456
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7459
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7464
for (i = 0; i < 256; i++)
7465
if (XOR (islower (i), ISLOWER (i))
7466
|| toupper (i) != TOUPPER (i))
7471
if ac_fn_c_try_run "$LINENO"; then :
7474
ac_cv_header_stdc=no
7476
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7477
conftest.$ac_objext conftest.beam conftest.$ac_ext
7482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7483
$as_echo "$ac_cv_header_stdc" >&6; }
7484
if test $ac_cv_header_stdc = yes; then
7486
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7490
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7491
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7492
inttypes.h stdint.h unistd.h
7494
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7495
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7497
eval as_val=\$$as_ac_Header
7498
if test "x$as_val" = x""yes; then :
7499
cat >>confdefs.h <<_ACEOF
7500
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7508
for ac_header in dlfcn.h
7510
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7512
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7513
cat >>confdefs.h <<_ACEOF
7514
#define HAVE_DLFCN_H 1
7533
# Check whether --enable-shared was given.
7534
if test "${enable_shared+set}" = set; then :
7535
enableval=$enable_shared; p=${PACKAGE-default}
7537
yes) enable_shared=yes ;;
7538
no) enable_shared=no ;;
7541
# Look at the argument we got. We use all the common list separators.
7542
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7543
for pkg in $enableval; do
7545
if test "X$pkg" = "X$p"; then
7564
# Check whether --enable-static was given.
7565
if test "${enable_static+set}" = set; then :
7566
enableval=$enable_static; p=${PACKAGE-default}
7568
yes) enable_static=yes ;;
7569
no) enable_static=no ;;
7572
# Look at the argument we got. We use all the common list separators.
7573
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7574
for pkg in $enableval; do
7576
if test "X$pkg" = "X$p"; then
7596
# Check whether --with-pic was given.
7597
if test "${with_pic+set}" = set; then :
7598
withval=$with_pic; pic_mode="$withval"
7604
test -z "$pic_mode" && pic_mode=default
7612
# Check whether --enable-fast-install was given.
7613
if test "${enable_fast_install+set}" = set; then :
7614
enableval=$enable_fast_install; p=${PACKAGE-default}
7616
yes) enable_fast_install=yes ;;
7617
no) enable_fast_install=no ;;
7619
enable_fast_install=no
7620
# Look at the argument we got. We use all the common list separators.
7621
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7622
for pkg in $enableval; do
7624
if test "X$pkg" = "X$p"; then
7625
enable_fast_install=yes
7632
enable_fast_install=yes
7645
# This can be used to rebuild libtool when needed
7646
LIBTOOL_DEPS="$ltmain"
7648
# Always use our own libtool.
7649
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7675
test -z "$LN_S" && LN_S="ln -s"
7690
if test -n "${ZSH_VERSION+set}" ; then
7691
setopt NO_GLOB_SUBST
7694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7695
$as_echo_n "checking for objdir... " >&6; }
7696
if test "${lt_cv_objdir+set}" = set; then :
7697
$as_echo_n "(cached) " >&6
7699
rm -f .libs 2>/dev/null
7700
mkdir .libs 2>/dev/null
7701
if test -d .libs; then
7704
# MS-DOS does not allow filenames that begin with a dot.
7707
rmdir .libs 2>/dev/null
7709
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7710
$as_echo "$lt_cv_objdir" >&6; }
7711
objdir=$lt_cv_objdir
7717
cat >>confdefs.h <<_ACEOF
7718
#define LT_OBJDIR "$lt_cv_objdir/"
7739
# AIX sometimes has problems with the GCC collect2 program. For some
7740
# reason, if we set the COLLECT_NAMES environment variable, the problems
7741
# vanish in a puff of smoke.
7742
if test "X${COLLECT_NAMES+set}" != Xset; then
7744
export COLLECT_NAMES
7749
# Sed substitution that helps us do robust quoting. It backslashifies
7750
# metacharacters that are still active within double-quoted strings.
7751
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7753
# Same as above, but do not quote variable references.
7754
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7756
# Sed substitution to delay expansion of an escaped shell variable in a
7757
# double_quote_subst'ed string.
7758
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7760
# Sed substitution to delay expansion of an escaped single quote.
7761
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7763
# Sed substitution to avoid accidental globbing in evaled expressions
7764
no_glob_subst='s/\*/\\\*/g'
7768
can_build_shared=yes
7770
# All known linkers require a `.a' archive for static linking (except MSVC,
7771
# which needs '.lib').
7774
with_gnu_ld="$lt_cv_prog_gnu_ld"
7777
old_CFLAGS="$CFLAGS"
7779
# Set sane defaults for various variables
7780
test -z "$CC" && CC=cc
7781
test -z "$LTCC" && LTCC=$CC
7782
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7783
test -z "$LD" && LD=ld
7784
test -z "$ac_objext" && ac_objext=o
7786
for cc_temp in $compiler""; do
7788
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7789
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7794
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7797
# Only perform the check for file, if the check method requires it
7798
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7799
case $deplibs_check_method in
7801
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7803
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7804
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7805
$as_echo_n "(cached) " >&6
7809
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7812
lt_save_MAGIC_CMD="$MAGIC_CMD"
7813
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7814
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7815
for ac_dir in $ac_dummy; do
7817
test -z "$ac_dir" && ac_dir=.
7818
if test -f $ac_dir/${ac_tool_prefix}file; then
7819
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7820
if test -n "$file_magic_test_file"; then
7821
case $deplibs_check_method in
7823
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7824
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7825
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7826
$EGREP "$file_magic_regex" > /dev/null; then
7831
*** Warning: the command libtool uses to detect shared libraries,
7832
*** $file_magic_cmd, produces output that libtool cannot recognize.
7833
*** The result is that libtool may fail to recognize shared libraries
7834
*** as such. This will affect the creation of libtool libraries that
7835
*** depend on shared libraries, but programs linked with such libtool
7836
*** libraries will work regardless of this problem. Nevertheless, you
7837
*** may want to report the problem to your system manager and/or to
7838
*** bug-libtool@gnu.org
7848
MAGIC_CMD="$lt_save_MAGIC_CMD"
7853
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7854
if test -n "$MAGIC_CMD"; then
7855
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7856
$as_echo "$MAGIC_CMD" >&6; }
7858
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7859
$as_echo "no" >&6; }
7866
if test -z "$lt_cv_path_MAGIC_CMD"; then
7867
if test -n "$ac_tool_prefix"; then
7868
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7869
$as_echo_n "checking for file... " >&6; }
7870
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7871
$as_echo_n "(cached) " >&6
7875
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7878
lt_save_MAGIC_CMD="$MAGIC_CMD"
7879
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7880
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7881
for ac_dir in $ac_dummy; do
7883
test -z "$ac_dir" && ac_dir=.
7884
if test -f $ac_dir/file; then
7885
lt_cv_path_MAGIC_CMD="$ac_dir/file"
7886
if test -n "$file_magic_test_file"; then
7887
case $deplibs_check_method in
7889
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7890
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7891
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7892
$EGREP "$file_magic_regex" > /dev/null; then
7897
*** Warning: the command libtool uses to detect shared libraries,
7898
*** $file_magic_cmd, produces output that libtool cannot recognize.
7899
*** The result is that libtool may fail to recognize shared libraries
7900
*** as such. This will affect the creation of libtool libraries that
7901
*** depend on shared libraries, but programs linked with such libtool
7902
*** libraries will work regardless of this problem. Nevertheless, you
7903
*** may want to report the problem to your system manager and/or to
7904
*** bug-libtool@gnu.org
7914
MAGIC_CMD="$lt_save_MAGIC_CMD"
7919
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7920
if test -n "$MAGIC_CMD"; then
7921
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7922
$as_echo "$MAGIC_CMD" >&6; }
7924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7925
$as_echo "no" >&6; }
7938
# Use C for the default configuration in the libtool script
7942
ac_cpp='$CPP $CPPFLAGS'
7943
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7944
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7945
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7948
# Source file extension for C test sources.
7951
# Object file extension for compiled C test sources.
7955
# Code to be used in simple compile tests
7956
lt_simple_compile_test_code="int some_variable = 0;"
7958
# Code to be used in simple link tests
7959
lt_simple_link_test_code='int main(){return(0);}'
7967
# If no C compiler was specified, use CC.
7970
# If no C compiler flags were specified, use CFLAGS.
7971
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7973
# Allow CC to be a program name with arguments.
7976
# Save the default compiler, since it gets overwritten when the other
7977
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7978
compiler_DEFAULT=$CC
7980
# save warnings/boilerplate of simple test code
7981
ac_outfile=conftest.$ac_objext
7982
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7983
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7984
_lt_compiler_boilerplate=`cat conftest.err`
7987
ac_outfile=conftest.$ac_objext
7988
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7989
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7990
_lt_linker_boilerplate=`cat conftest.err`
7994
if test -n "$compiler"; then
7996
lt_prog_compiler_no_builtin_flag=
7998
if test "$GCC" = yes; then
7999
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8002
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8003
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8004
$as_echo_n "(cached) " >&6
8006
lt_cv_prog_compiler_rtti_exceptions=no
8007
ac_outfile=conftest.$ac_objext
8008
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8009
lt_compiler_flag="-fno-rtti -fno-exceptions"
8010
# Insert the option either (1) after the last *FLAGS variable, or
8011
# (2) before a word containing "conftest.", or (3) at the end.
8012
# Note that $ac_compile itself does not contain backslashes and begins
8013
# with a dollar sign (not a hyphen), so the echo should work correctly.
8014
# The option is referenced via a variable to avoid confusing sed.
8015
lt_compile=`echo "$ac_compile" | $SED \
8016
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8017
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8018
-e 's:$: $lt_compiler_flag:'`
8019
(eval echo "\"\$as_me:8019: $lt_compile\"" >&5)
8020
(eval "$lt_compile" 2>conftest.err)
8022
cat conftest.err >&5
8023
echo "$as_me:8023: \$? = $ac_status" >&5
8024
if (exit $ac_status) && test -s "$ac_outfile"; then
8025
# The compiler can only warn and ignore the option if not recognized
8026
# So say no if there are warnings other than the usual output.
8027
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8028
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8029
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8030
lt_cv_prog_compiler_rtti_exceptions=yes
8036
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8037
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8039
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8040
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8052
lt_prog_compiler_wl=
8053
lt_prog_compiler_pic=
8054
lt_prog_compiler_static=
8056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8057
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8059
if test "$GCC" = yes; then
8060
lt_prog_compiler_wl='-Wl,'
8061
lt_prog_compiler_static='-static'
8065
# All AIX code is PIC.
8066
if test "$host_cpu" = ia64; then
8067
# AIX 5 now supports IA64 processor
8068
lt_prog_compiler_static='-Bstatic'
8075
# see comment about AmigaOS4 .so support
8076
lt_prog_compiler_pic='-fPIC'
8079
# FIXME: we need at least 68020 code to build shared libraries, but
8080
# adding the `-m68020' flag to GCC prevents building anything better,
8082
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8087
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8088
# PIC is the default for these OSes.
8091
mingw* | cygwin* | pw32* | os2* | cegcc*)
8092
# This hack is so that the source file can tell whether it is being
8093
# built for inclusion in a dll (and should export symbols for example).
8094
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8095
# (--disable-auto-import) libraries
8096
lt_prog_compiler_pic='-DDLL_EXPORT'
8099
darwin* | rhapsody*)
8100
# PIC is the default on this platform
8101
# Common symbols not allowed in MH_DYLIB files
8102
lt_prog_compiler_pic='-fno-common'
8106
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8107
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8108
# sets the default TLS model and affects inlining.
8114
lt_prog_compiler_pic='-fPIC'
8120
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8121
# Instead, we relocate shared libraries at runtime.
8125
# Just because we use GCC doesn't mean we suddenly get shared libraries
8126
# on systems that don't support them.
8127
lt_prog_compiler_can_build_shared=no
8132
# QNX uses GNU C++, but need to define -shared option too, otherwise
8134
lt_prog_compiler_pic='-fPIC -shared'
8138
if test -d /usr/nec; then
8139
lt_prog_compiler_pic=-Kconform_pic
8144
lt_prog_compiler_pic='-fPIC'
8148
# PORTME Check for flag to pass linker flags through the system compiler.
8151
lt_prog_compiler_wl='-Wl,'
8152
if test "$host_cpu" = ia64; then
8153
# AIX 5 now supports IA64 processor
8154
lt_prog_compiler_static='-Bstatic'
8156
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8160
mingw* | cygwin* | pw32* | os2* | cegcc*)
8161
# This hack is so that the source file can tell whether it is being
8162
# built for inclusion in a dll (and should export symbols for example).
8163
lt_prog_compiler_pic='-DDLL_EXPORT'
8166
hpux9* | hpux10* | hpux11*)
8167
lt_prog_compiler_wl='-Wl,'
8168
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8175
lt_prog_compiler_pic='+Z'
8178
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8179
lt_prog_compiler_static='${wl}-a ${wl}archive'
8182
irix5* | irix6* | nonstopux*)
8183
lt_prog_compiler_wl='-Wl,'
8184
# PIC (with -KPIC) is the default.
8185
lt_prog_compiler_static='-non_shared'
8188
linux* | k*bsd*-gnu)
8189
case $cc_basename in
8190
# old Intel for x86_64 which still supported -KPIC.
8192
lt_prog_compiler_wl='-Wl,'
8193
lt_prog_compiler_pic='-KPIC'
8194
lt_prog_compiler_static='-static'
8196
# icc used to be incompatible with GCC.
8197
# ICC 10 doesn't accept -KPIC any more.
8199
lt_prog_compiler_wl='-Wl,'
8200
lt_prog_compiler_pic='-fPIC'
8201
lt_prog_compiler_static='-static'
8203
# Lahey Fortran 8.1.
8205
lt_prog_compiler_wl='-Wl,'
8206
lt_prog_compiler_pic='--shared'
8207
lt_prog_compiler_static='--static'
8209
pgcc* | pgf77* | pgf90* | pgf95*)
8210
# Portland Group compilers (*not* the Pentium gcc compiler,
8211
# which looks to be a dead project)
8212
lt_prog_compiler_wl='-Wl,'
8213
lt_prog_compiler_pic='-fpic'
8214
lt_prog_compiler_static='-Bstatic'
8217
lt_prog_compiler_wl='-Wl,'
8218
# All Alpha code is PIC.
8219
lt_prog_compiler_static='-non_shared'
8222
# IBM XL C 8.0/Fortran 10.1 on PPC
8223
lt_prog_compiler_wl='-Wl,'
8224
lt_prog_compiler_pic='-qpic'
8225
lt_prog_compiler_static='-qstaticlink'
8228
case `$CC -V 2>&1 | sed 5q` in
8231
lt_prog_compiler_pic='-KPIC'
8232
lt_prog_compiler_static='-Bstatic'
8233
lt_prog_compiler_wl='-Wl,'
8236
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8237
lt_prog_compiler_pic='-KPIC'
8238
lt_prog_compiler_static='-Bstatic'
8239
lt_prog_compiler_wl=''
8247
lt_prog_compiler_pic='-KPIC'
8248
lt_prog_compiler_static='-Bstatic'
8252
# QNX uses GNU C++, but need to define -shared option too, otherwise
8254
lt_prog_compiler_pic='-fPIC -shared'
8257
osf3* | osf4* | osf5*)
8258
lt_prog_compiler_wl='-Wl,'
8259
# All OSF/1 code is PIC.
8260
lt_prog_compiler_static='-non_shared'
8264
lt_prog_compiler_static='-non_shared'
8268
lt_prog_compiler_pic='-KPIC'
8269
lt_prog_compiler_static='-Bstatic'
8270
case $cc_basename in
8272
lt_prog_compiler_wl='-Qoption ld ';;
8274
lt_prog_compiler_wl='-Wl,';;
8279
lt_prog_compiler_wl='-Qoption ld '
8280
lt_prog_compiler_pic='-PIC'
8281
lt_prog_compiler_static='-Bstatic'
8284
sysv4 | sysv4.2uw2* | sysv4.3*)
8285
lt_prog_compiler_wl='-Wl,'
8286
lt_prog_compiler_pic='-KPIC'
8287
lt_prog_compiler_static='-Bstatic'
8291
if test -d /usr/nec ;then
8292
lt_prog_compiler_pic='-Kconform_pic'
8293
lt_prog_compiler_static='-Bstatic'
8297
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8298
lt_prog_compiler_wl='-Wl,'
8299
lt_prog_compiler_pic='-KPIC'
8300
lt_prog_compiler_static='-Bstatic'
8304
lt_prog_compiler_wl='-Wl,'
8305
lt_prog_compiler_can_build_shared=no
8309
lt_prog_compiler_pic='-pic'
8310
lt_prog_compiler_static='-Bstatic'
8314
lt_prog_compiler_can_build_shared=no
8320
# For platforms which do not support PIC, -DPIC is meaningless:
8322
lt_prog_compiler_pic=
8325
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8329
$as_echo "$lt_prog_compiler_pic" >&6; }
8337
# Check to make sure the PIC flag actually works.
8339
if test -n "$lt_prog_compiler_pic"; then
8340
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8341
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8342
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8343
$as_echo_n "(cached) " >&6
8345
lt_cv_prog_compiler_pic_works=no
8346
ac_outfile=conftest.$ac_objext
8347
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8348
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8349
# Insert the option either (1) after the last *FLAGS variable, or
8350
# (2) before a word containing "conftest.", or (3) at the end.
8351
# Note that $ac_compile itself does not contain backslashes and begins
8352
# with a dollar sign (not a hyphen), so the echo should work correctly.
8353
# The option is referenced via a variable to avoid confusing sed.
8354
lt_compile=`echo "$ac_compile" | $SED \
8355
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8356
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8357
-e 's:$: $lt_compiler_flag:'`
8358
(eval echo "\"\$as_me:8358: $lt_compile\"" >&5)
8359
(eval "$lt_compile" 2>conftest.err)
8361
cat conftest.err >&5
8362
echo "$as_me:8362: \$? = $ac_status" >&5
8363
if (exit $ac_status) && test -s "$ac_outfile"; then
8364
# The compiler can only warn and ignore the option if not recognized
8365
# So say no if there are warnings other than the usual output.
8366
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8367
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8368
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8369
lt_cv_prog_compiler_pic_works=yes
8375
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8376
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8378
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8379
case $lt_prog_compiler_pic in
8381
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8384
lt_prog_compiler_pic=
8385
lt_prog_compiler_can_build_shared=no
8396
# Check to make sure the static flag actually works.
8398
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8400
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8401
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8402
$as_echo_n "(cached) " >&6
8404
lt_cv_prog_compiler_static_works=no
8405
save_LDFLAGS="$LDFLAGS"
8406
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8407
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8408
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8409
# The linker can only warn and ignore the option if not recognized
8410
# So say no if there are warnings
8411
if test -s conftest.err; then
8412
# Append any errors to the config.log.
8413
cat conftest.err 1>&5
8414
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8415
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8416
if diff conftest.exp conftest.er2 >/dev/null; then
8417
lt_cv_prog_compiler_static_works=yes
8420
lt_cv_prog_compiler_static_works=yes
8424
LDFLAGS="$save_LDFLAGS"
8427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8428
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8430
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8433
lt_prog_compiler_static=
8442
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8443
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8444
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8445
$as_echo_n "(cached) " >&6
8447
lt_cv_prog_compiler_c_o=no
8448
$RM -r conftest 2>/dev/null
8452
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8454
lt_compiler_flag="-o out/conftest2.$ac_objext"
8455
# Insert the option either (1) after the last *FLAGS variable, or
8456
# (2) before a word containing "conftest.", or (3) at the end.
8457
# Note that $ac_compile itself does not contain backslashes and begins
8458
# with a dollar sign (not a hyphen), so the echo should work correctly.
8459
lt_compile=`echo "$ac_compile" | $SED \
8460
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8461
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8462
-e 's:$: $lt_compiler_flag:'`
8463
(eval echo "\"\$as_me:8463: $lt_compile\"" >&5)
8464
(eval "$lt_compile" 2>out/conftest.err)
8466
cat out/conftest.err >&5
8467
echo "$as_me:8467: \$? = $ac_status" >&5
8468
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8470
# The compiler can only warn and ignore the option if not recognized
8471
# So say no if there are warnings
8472
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8473
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8474
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8475
lt_cv_prog_compiler_c_o=yes
8480
# SGI C++ compiler will create directory out/ii_files/ for
8481
# template instantiation
8482
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8483
$RM out/* && rmdir out
8489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8490
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8498
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8499
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8500
$as_echo_n "(cached) " >&6
8502
lt_cv_prog_compiler_c_o=no
8503
$RM -r conftest 2>/dev/null
8507
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8509
lt_compiler_flag="-o out/conftest2.$ac_objext"
8510
# Insert the option either (1) after the last *FLAGS variable, or
8511
# (2) before a word containing "conftest.", or (3) at the end.
8512
# Note that $ac_compile itself does not contain backslashes and begins
8513
# with a dollar sign (not a hyphen), so the echo should work correctly.
8514
lt_compile=`echo "$ac_compile" | $SED \
8515
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8516
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8517
-e 's:$: $lt_compiler_flag:'`
8518
(eval echo "\"\$as_me:8518: $lt_compile\"" >&5)
8519
(eval "$lt_compile" 2>out/conftest.err)
8521
cat out/conftest.err >&5
8522
echo "$as_me:8522: \$? = $ac_status" >&5
8523
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8525
# The compiler can only warn and ignore the option if not recognized
8526
# So say no if there are warnings
8527
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8528
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8529
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8530
lt_cv_prog_compiler_c_o=yes
8535
# SGI C++ compiler will create directory out/ii_files/ for
8536
# template instantiation
8537
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8538
$RM out/* && rmdir out
8544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8545
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8550
hard_links="nottested"
8551
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8552
# do not overwrite the value of need_locks provided by the user
8553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8554
$as_echo_n "checking if we can lock with hard links... " >&6; }
8557
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8559
ln conftest.a conftest.b 2>&5 || hard_links=no
8560
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8562
$as_echo "$hard_links" >&6; }
8563
if test "$hard_links" = no; then
8564
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8565
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8578
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8581
allow_undefined_flag=
8582
always_export_symbols=no
8584
archive_expsym_cmds=
8585
compiler_needs_object=no
8586
enable_shared_with_static_runtimes=no
8587
export_dynamic_flag_spec=
8588
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8589
hardcode_automatic=no
8591
hardcode_direct_absolute=no
8592
hardcode_libdir_flag_spec=
8593
hardcode_libdir_flag_spec_ld=
8594
hardcode_libdir_separator=
8596
hardcode_shlibpath_var=unsupported
8598
link_all_deplibs=unknown
8601
old_archive_from_new_cmds=
8602
old_archive_from_expsyms_cmds=
8603
thread_safe_flag_spec=
8604
whole_archive_flag_spec=
8605
# include_expsyms should be a list of space-separated symbols to be *always*
8606
# included in the symbol list
8608
# exclude_expsyms can be an extended regexp of symbols to exclude
8609
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8610
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8611
# as well as any symbol that contains `d'.
8612
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8613
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8614
# platforms (ab)use it in PIC code, but their linkers get confused if
8615
# the symbol is explicitly referenced. Since portable code cannot
8616
# rely on this symbol name, it's probably fine to never include it in
8617
# preloaded symbol tables.
8618
# Exclude shared library initialization/finalization symbols.
8619
extract_expsyms_cmds=
8622
cygwin* | mingw* | pw32* | cegcc*)
8623
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8624
# When not using gcc, we currently assume that we are using
8625
# Microsoft Visual C++.
8626
if test "$GCC" != yes; then
8631
# we just hope/assume this is gcc and not c89 (= MSVC++)
8640
if test "$with_gnu_ld" = yes; then
8641
# If archive_cmds runs LD, not CC, wlarc should be empty
8644
# Set some defaults for GNU ld with shared library support. These
8645
# are reset later if shared libraries are not supported. Putting them
8646
# here allows them to be overridden if necessary.
8647
runpath_var=LD_RUN_PATH
8648
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8649
export_dynamic_flag_spec='${wl}--export-dynamic'
8650
# ancient GNU ld didn't support --whole-archive et. al.
8651
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8652
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8654
whole_archive_flag_spec=
8656
supports_anon_versioning=no
8657
case `$LD -v 2>&1` in
8658
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8659
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8660
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8661
*\ 2.11.*) ;; # other 2.11 versions
8662
*) supports_anon_versioning=yes ;;
8665
# See if GNU ld supports shared libraries.
8668
# On AIX/PPC, the GNU linker is very broken
8669
if test "$host_cpu" != ia64; then
8673
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8674
*** to be unable to reliably create shared libraries on AIX.
8675
*** Therefore, libtool is disabling shared libraries support. If you
8676
*** really care for shared libraries, you may want to modify your PATH
8677
*** so that a non-GNU linker is found, and then restart.
8686
# see comment about AmigaOS4 .so support
8687
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8688
archive_expsym_cmds=''
8691
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)'
8692
hardcode_libdir_flag_spec='-L$libdir'
8693
hardcode_minus_L=yes
8699
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8700
allow_undefined_flag=unsupported
8701
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8702
# support --undefined. This deserves some investigation. FIXME
8703
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8709
cygwin* | mingw* | pw32* | cegcc*)
8710
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8711
# as there is no search path for DLLs.
8712
hardcode_libdir_flag_spec='-L$libdir'
8713
allow_undefined_flag=unsupported
8714
always_export_symbols=no
8715
enable_shared_with_static_runtimes=yes
8716
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8718
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8719
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8720
# If the export-symbols file already is a .def file (1st line
8721
# is EXPORTS), use it as is; otherwise, prepend...
8722
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8723
cp $export_symbols $output_objdir/$soname.def;
8725
echo EXPORTS > $output_objdir/$soname.def;
8726
cat $export_symbols >> $output_objdir/$soname.def;
8728
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8736
hardcode_shlibpath_var=no
8737
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8738
export_dynamic_flag_spec='${wl}-E'
8739
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8740
# Instead, shared libraries are loaded at an image base (0x10000000 by
8741
# default) and relocated if they conflict, which is a slow very memory
8742
# consuming and fragmenting process. To avoid this, we pick a random,
8743
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8744
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
8745
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8746
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'
8749
gnu* | linux* | tpf* | k*bsd*-gnu)
8751
if test "$host_os" = linux-dietlibc; then
8752
case $cc_basename in
8753
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8756
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8757
&& test "$tmp_diet" = no
8760
tmp_sharedflag='-shared'
8761
case $cc_basename,$host_cpu in
8762
pgcc*) # Portland Group C compiler
8763
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'
8764
tmp_addflag=' $pic_flag'
8766
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8767
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'
8768
tmp_addflag=' $pic_flag -Mnomain' ;;
8769
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8770
tmp_addflag=' -i_dynamic' ;;
8771
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8772
tmp_addflag=' -i_dynamic -nofor_main' ;;
8773
ifc* | ifort*) # Intel Fortran compiler
8774
tmp_addflag=' -nofor_main' ;;
8775
lf95*) # Lahey Fortran 8.1
8776
whole_archive_flag_spec=
8777
tmp_sharedflag='--shared' ;;
8778
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8779
tmp_sharedflag='-qmkshrobj'
8782
case `$CC -V 2>&1 | sed 5q` in
8783
*Sun\ C*) # Sun C 5.9
8784
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'
8785
compiler_needs_object=yes
8786
tmp_sharedflag='-G' ;;
8787
*Sun\ F*) # Sun Fortran 8.3
8788
tmp_sharedflag='-G' ;;
8790
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8792
if test "x$supports_anon_versioning" = xyes; then
8793
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8794
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8795
echo "local: *; };" >> $output_objdir/$libname.ver~
8796
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8799
case $cc_basename in
8801
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8802
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8803
hardcode_libdir_flag_spec=
8804
hardcode_libdir_flag_spec_ld='-rpath $libdir'
8805
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8806
if test "x$supports_anon_versioning" = xyes; then
8807
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8808
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8809
echo "local: *; };" >> $output_objdir/$libname.ver~
8810
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8820
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8821
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8824
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8825
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8830
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8834
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8835
*** create shared libraries on Solaris systems. Therefore, libtool
8836
*** is disabling shared libraries support. We urge you to upgrade GNU
8837
*** binutils to release 2.9.1 or newer. Another option is to modify
8838
*** your PATH or compiler configuration so that the native linker is
8839
*** used, and then restart.
8842
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8843
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8844
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8850
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8851
case `$LD -v 2>&1` in
8852
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8856
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8857
*** reliably create shared libraries on SCO systems. Therefore, libtool
8858
*** is disabling shared libraries support. We urge you to upgrade GNU
8859
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8860
*** your PATH or compiler configuration so that the native linker is
8861
*** used, and then restart.
8866
# For security reasons, it is highly recommended that you always
8867
# use absolute paths for naming shared libraries, and exclude the
8868
# DT_RUNPATH tag from executables and libraries. But doing so
8869
# requires that you compile everything twice, which is a pain.
8870
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8871
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8872
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8873
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8882
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8885
hardcode_shlibpath_var=no
8889
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8890
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8891
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8898
if test "$ld_shlibs" = no; then
8900
hardcode_libdir_flag_spec=
8901
export_dynamic_flag_spec=
8902
whole_archive_flag_spec=
8905
# PORTME fill in a description of your system's linker (not GNU ld)
8908
allow_undefined_flag=unsupported
8909
always_export_symbols=yes
8910
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'
8911
# Note: this linker hardcodes the directories in LIBPATH if there
8912
# are no directories specified by -L.
8913
hardcode_minus_L=yes
8914
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8915
# Neither direct hardcoding nor static linking is supported with a
8917
hardcode_direct=unsupported
8922
if test "$host_cpu" = ia64; then
8923
# On IA64, the linker does run time linking by default, so we don't
8924
# have to do anything special.
8925
aix_use_runtimelinking=no
8926
exp_sym_flag='-Bexport'
8929
# If we're using GNU nm, then we don't want the "-C" option.
8930
# -C means demangle to AIX nm, but means don't demangle with GNU nm
8931
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8932
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'
8934
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'
8936
aix_use_runtimelinking=no
8938
# Test if we are trying to use run time linking or normal
8939
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8940
# need to do runtime linking.
8941
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8942
for ld_flag in $LDFLAGS; do
8943
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8944
aix_use_runtimelinking=yes
8951
exp_sym_flag='-bexport'
8952
no_entry_flag='-bnoentry'
8955
# When large executables or shared objects are built, AIX ld can
8956
# have problems creating the table of contents. If linking a library
8957
# or program results in "error TOC overflow" add -mminimal-toc to
8958
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8959
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8963
hardcode_direct_absolute=yes
8964
hardcode_libdir_separator=':'
8965
link_all_deplibs=yes
8966
file_list_spec='${wl}-f,'
8968
if test "$GCC" = yes; then
8969
case $host_os in aix4.[012]|aix4.[012].*)
8970
# We only want to do this on AIX 4.2 and lower, the check
8971
# below for broken collect2 doesn't work under 4.3+
8972
collect2name=`${CC} -print-prog-name=collect2`
8973
if test -f "$collect2name" &&
8974
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8976
# We have reworked collect2
8979
# We have old collect2
8980
hardcode_direct=unsupported
8981
# It fails to find uninstalled libraries when the uninstalled
8982
# path is not listed in the libpath. Setting hardcode_minus_L
8983
# to unsupported forces relinking
8984
hardcode_minus_L=yes
8985
hardcode_libdir_flag_spec='-L$libdir'
8986
hardcode_libdir_separator=
8990
shared_flag='-shared'
8991
if test "$aix_use_runtimelinking" = yes; then
8992
shared_flag="$shared_flag "'${wl}-G'
8996
if test "$host_cpu" = ia64; then
8997
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8998
# chokes on -Wl,-G. The following line is correct:
9001
if test "$aix_use_runtimelinking" = yes; then
9002
shared_flag='${wl}-G'
9004
shared_flag='${wl}-bM:SRE'
9009
export_dynamic_flag_spec='${wl}-bexpall'
9010
# It seems that -bexpall does not export symbols beginning with
9011
# underscore (_), so it is better to generate a list of symbols to export.
9012
always_export_symbols=yes
9013
if test "$aix_use_runtimelinking" = yes; then
9014
# Warning - without using the other runtime loading flags (-brtl),
9015
# -berok will link without error, but may produce a broken library.
9016
allow_undefined_flag='-berok'
9017
# Determine the default libpath from the value encoded in an
9019
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9020
/* end confdefs.h. */
9030
if ac_fn_c_try_link "$LINENO"; then :
9032
lt_aix_libpath_sed='
9033
/Import File Strings/,/^$/ {
9039
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9040
# Check for a 64-bit object if we didn't find anything.
9041
if test -z "$aix_libpath"; then
9042
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9045
rm -f core conftest.err conftest.$ac_objext \
9046
conftest$ac_exeext conftest.$ac_ext
9047
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9049
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9050
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"
9052
if test "$host_cpu" = ia64; then
9053
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9054
allow_undefined_flag="-z nodefs"
9055
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"
9057
# Determine the default libpath from the value encoded in an
9059
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9060
/* end confdefs.h. */
9070
if ac_fn_c_try_link "$LINENO"; then :
9072
lt_aix_libpath_sed='
9073
/Import File Strings/,/^$/ {
9079
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9080
# Check for a 64-bit object if we didn't find anything.
9081
if test -z "$aix_libpath"; then
9082
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9085
rm -f core conftest.err conftest.$ac_objext \
9086
conftest$ac_exeext conftest.$ac_ext
9087
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9089
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9090
# Warning - without using the other run time loading flags,
9091
# -berok will link without error, but may produce a broken library.
9092
no_undefined_flag=' ${wl}-bernotok'
9093
allow_undefined_flag=' ${wl}-berok'
9094
# Exported symbols can be pulled into shared objects from archives
9095
whole_archive_flag_spec='$convenience'
9096
archive_cmds_need_lc=yes
9097
# This is similar to how AIX traditionally builds its shared libraries.
9098
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'
9106
# see comment about AmigaOS4 .so support
9107
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9108
archive_expsym_cmds=''
9111
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)'
9112
hardcode_libdir_flag_spec='-L$libdir'
9113
hardcode_minus_L=yes
9119
export_dynamic_flag_spec=-rdynamic
9122
cygwin* | mingw* | pw32* | cegcc*)
9123
# When not using gcc, we currently assume that we are using
9124
# Microsoft Visual C++.
9125
# hardcode_libdir_flag_spec is actually meaningless, as there is
9126
# no search path for DLLs.
9127
hardcode_libdir_flag_spec=' '
9128
allow_undefined_flag=unsupported
9129
# Tell ltmain to make .lib files, not .a files.
9131
# Tell ltmain to make .dll files, not .so files.
9133
# FIXME: Setting linknames here is a bad hack.
9134
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9135
# The linker will automatically build a .lib file if we build a DLL.
9136
old_archive_from_new_cmds='true'
9137
# FIXME: Should let the user specify the lib program.
9138
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9139
fix_srcfile_path='`cygpath -w "$srcfile"`'
9140
enable_shared_with_static_runtimes=yes
9143
darwin* | rhapsody*)
9146
archive_cmds_need_lc=no
9148
hardcode_automatic=yes
9149
hardcode_shlibpath_var=unsupported
9150
whole_archive_flag_spec=''
9151
link_all_deplibs=yes
9152
allow_undefined_flag="$_lt_dar_allow_undefined"
9153
case $cc_basename in
9154
ifort*) _lt_dar_can_shared=yes ;;
9155
*) _lt_dar_can_shared=$GCC ;;
9157
if test "$_lt_dar_can_shared" = "yes"; then
9158
output_verbose_link_cmd=echo
9159
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9160
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9161
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}"
9162
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}"
9171
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9172
hardcode_libdir_flag_spec='-L$libdir'
9173
hardcode_shlibpath_var=no
9180
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9181
# support. Future versions do this automatically, but an explicit c++rt0.o
9182
# does not break anything, and helps significantly (at the cost of a little
9185
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9186
hardcode_libdir_flag_spec='-R$libdir'
9188
hardcode_shlibpath_var=no
9191
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9193
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9195
hardcode_minus_L=yes
9196
hardcode_shlibpath_var=no
9199
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9200
freebsd* | dragonfly*)
9201
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9202
hardcode_libdir_flag_spec='-R$libdir'
9204
hardcode_shlibpath_var=no
9208
if test "$GCC" = yes; then
9209
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'
9211
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'
9213
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9214
hardcode_libdir_separator=:
9217
# hardcode_minus_L: Not really in the search PATH,
9218
# but as the default location of the library.
9219
hardcode_minus_L=yes
9220
export_dynamic_flag_spec='${wl}-E'
9224
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9225
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9227
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9229
if test "$with_gnu_ld" = no; then
9230
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9231
hardcode_libdir_flag_spec_ld='+b $libdir'
9232
hardcode_libdir_separator=:
9234
hardcode_direct_absolute=yes
9235
export_dynamic_flag_spec='${wl}-E'
9236
# hardcode_minus_L: Not really in the search PATH,
9237
# but as the default location of the library.
9238
hardcode_minus_L=yes
9243
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9246
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9249
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9252
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9258
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9261
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9264
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9268
if test "$with_gnu_ld" = no; then
9269
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9270
hardcode_libdir_separator=:
9275
hardcode_shlibpath_var=no
9279
hardcode_direct_absolute=yes
9280
export_dynamic_flag_spec='${wl}-E'
9282
# hardcode_minus_L: Not really in the search PATH,
9283
# but as the default location of the library.
9284
hardcode_minus_L=yes
9290
irix5* | irix6* | nonstopux*)
9291
if test "$GCC" = yes; then
9292
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'
9293
# Try to use the -exported_symbol ld option, if it does not
9294
# work, assume that -exports_file does not work either and
9295
# implicitly export all symbols.
9296
save_LDFLAGS="$LDFLAGS"
9297
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9298
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9299
/* end confdefs.h. */
9302
if ac_fn_c_try_link "$LINENO"; then :
9303
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'
9306
rm -f core conftest.err conftest.$ac_objext \
9307
conftest$ac_exeext conftest.$ac_ext
9308
LDFLAGS="$save_LDFLAGS"
9310
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'
9311
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'
9313
archive_cmds_need_lc='no'
9314
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9315
hardcode_libdir_separator=:
9317
link_all_deplibs=yes
9321
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9322
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9324
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9326
hardcode_libdir_flag_spec='-R$libdir'
9328
hardcode_shlibpath_var=no
9332
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9334
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9335
hardcode_libdir_separator=:
9336
hardcode_shlibpath_var=no
9343
if test -f /usr/libexec/ld.so; then
9345
hardcode_shlibpath_var=no
9346
hardcode_direct_absolute=yes
9347
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9348
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9349
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9350
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9351
export_dynamic_flag_spec='${wl}-E'
9354
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9355
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9356
hardcode_libdir_flag_spec='-R$libdir'
9359
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9360
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9370
hardcode_libdir_flag_spec='-L$libdir'
9371
hardcode_minus_L=yes
9372
allow_undefined_flag=unsupported
9373
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'
9374
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9378
if test "$GCC" = yes; then
9379
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9380
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'
9382
allow_undefined_flag=' -expect_unresolved \*'
9383
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'
9385
archive_cmds_need_lc='no'
9386
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9387
hardcode_libdir_separator=:
9390
osf4* | osf5*) # as osf3* with the addition of -msym flag
9391
if test "$GCC" = yes; then
9392
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9393
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'
9394
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9396
allow_undefined_flag=' -expect_unresolved \*'
9397
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'
9398
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~
9399
$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'
9401
# Both c and cxx compiler support -rpath directly
9402
hardcode_libdir_flag_spec='-rpath $libdir'
9404
archive_cmds_need_lc='no'
9405
hardcode_libdir_separator=:
9409
no_undefined_flag=' -z defs'
9410
if test "$GCC" = yes; then
9412
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9413
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9414
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9416
case `$CC -V 2>&1` in
9419
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9420
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9421
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9425
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9426
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9427
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9431
hardcode_libdir_flag_spec='-R$libdir'
9432
hardcode_shlibpath_var=no
9434
solaris2.[0-5] | solaris2.[0-5].*) ;;
9436
# The compiler driver will combine and reorder linker options,
9437
# but understands `-z linker_flag'. GCC discards it without `$wl',
9438
# but is careful enough not to reorder.
9439
# Supported since Solaris 2.6 (maybe 2.5.1?)
9440
if test "$GCC" = yes; then
9441
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9443
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9447
link_all_deplibs=yes
9451
if test "x$host_vendor" = xsequent; then
9452
# Use $CC to link under sequent, because it throws in some extra .o
9453
# files that make .init and .fini sections work.
9454
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9456
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9458
hardcode_libdir_flag_spec='-L$libdir'
9460
hardcode_minus_L=yes
9461
hardcode_shlibpath_var=no
9465
case $host_vendor in
9467
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9468
hardcode_direct=yes # is this really true???
9471
## LD is ld it makes a PLAMLIB
9472
## CC just makes a GrossModule.
9473
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9474
reload_cmds='$CC -r -o $output$reload_objs'
9478
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9479
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9482
runpath_var='LD_RUN_PATH'
9483
hardcode_shlibpath_var=no
9487
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9488
hardcode_shlibpath_var=no
9489
export_dynamic_flag_spec='-Bexport'
9493
if test -d /usr/nec; then
9494
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9495
hardcode_shlibpath_var=no
9496
runpath_var=LD_RUN_PATH
9497
hardcode_runpath_var=yes
9502
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9503
no_undefined_flag='${wl}-z,text'
9504
archive_cmds_need_lc=no
9505
hardcode_shlibpath_var=no
9506
runpath_var='LD_RUN_PATH'
9508
if test "$GCC" = yes; then
9509
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9510
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9512
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9513
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9517
sysv5* | sco3.2v5* | sco5v6*)
9518
# Note: We can NOT use -z defs as we might desire, because we do not
9519
# link with -lc, and that would cause any symbols used from libc to
9520
# always be unresolved, which means just about no library would
9521
# ever link correctly. If we're not using GNU ld we use -z text
9522
# though, which does catch some bad symbols but isn't as heavy-handed
9524
no_undefined_flag='${wl}-z,text'
9525
allow_undefined_flag='${wl}-z,nodefs'
9526
archive_cmds_need_lc=no
9527
hardcode_shlibpath_var=no
9528
hardcode_libdir_flag_spec='${wl}-R,$libdir'
9529
hardcode_libdir_separator=':'
9530
link_all_deplibs=yes
9531
export_dynamic_flag_spec='${wl}-Bexport'
9532
runpath_var='LD_RUN_PATH'
9534
if test "$GCC" = yes; then
9535
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9536
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9538
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9539
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9544
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9545
hardcode_libdir_flag_spec='-L$libdir'
9546
hardcode_shlibpath_var=no
9554
if test x$host_vendor = xsni; then
9556
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9557
export_dynamic_flag_spec='${wl}-Blargedynsym'
9563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9564
$as_echo "$ld_shlibs" >&6; }
9565
test "$ld_shlibs" = no && can_build_shared=no
9567
with_gnu_ld=$with_gnu_ld
9584
# Do we need to explicitly link libc?
9586
case "x$archive_cmds_need_lc" in
9588
# Assume -lc should be added
9589
archive_cmds_need_lc=yes
9591
if test "$enable_shared" = yes && test "$GCC" = yes; then
9592
case $archive_cmds in
9594
# FIXME: we may have to deal with multi-command sequences.
9597
# Test whether the compiler implicitly links with -lc since on some
9598
# systems, -lgcc has to come before -lc. If gcc already passes -lc
9599
# to ld, don't add -lc before -lgcc.
9600
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9601
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9603
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9605
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9606
(eval $ac_compile) 2>&5
9608
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9609
test $ac_status = 0; } 2>conftest.err; then
9612
libobjs=conftest.$ac_objext
9614
wl=$lt_prog_compiler_wl
9615
pic_flag=$lt_prog_compiler_pic
9621
lt_save_allow_undefined_flag=$allow_undefined_flag
9622
allow_undefined_flag=
9623
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9624
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9626
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9627
test $ac_status = 0; }
9629
archive_cmds_need_lc=no
9631
archive_cmds_need_lc=yes
9633
allow_undefined_flag=$lt_save_allow_undefined_flag
9635
cat conftest.err 1>&5
9638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9639
$as_echo "$archive_cmds_need_lc" >&6; }
9802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9803
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9805
if test "$GCC" = yes; then
9807
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9808
*) lt_awk_arg="/^libraries:/" ;;
9810
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9811
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9812
# if the path contains ";" then we assume it to be the separator
9813
# otherwise default to the standard path separator (i.e. ":") - it is
9814
# assumed that no part of a normal pathname contains ";" but that should
9815
# okay in the real world where ";" in dirpaths is itself problematic.
9816
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9818
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9820
# Ok, now we have the path, separated by spaces, we can step through it
9821
# and add multilib dir if necessary.
9822
lt_tmp_lt_search_path_spec=
9823
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9824
for lt_sys_path in $lt_search_path_spec; do
9825
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9826
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9828
test -d "$lt_sys_path" && \
9829
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9832
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9833
BEGIN {RS=" "; FS="/|\n";} {
9836
for (lt_i = NF; lt_i > 0; lt_i--) {
9837
if ($lt_i != "" && $lt_i != ".") {
9838
if ($lt_i == "..") {
9841
if (lt_count == 0) {
9842
lt_foo="/" $lt_i lt_foo;
9849
if (lt_foo != "") { lt_freq[lt_foo]++; }
9850
if (lt_freq[lt_foo] == 1) { print lt_foo; }
9852
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9854
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9857
libname_spec='lib$name'
9865
shlibpath_overrides_runpath=unknown
9867
dynamic_linker="$host_os ld.so"
9868
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9869
need_lib_prefix=unknown
9870
hardcode_into_libs=no
9872
# when you set need_version to no, make sure it does not cause -set_version
9873
# flags to be left without arguments
9874
need_version=unknown
9879
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9880
shlibpath_var=LIBPATH
9882
# AIX 3 has no versioning support, so we append a major version to the name.
9883
soname_spec='${libname}${release}${shared_ext}$major'
9890
hardcode_into_libs=yes
9891
if test "$host_cpu" = ia64; then
9892
# AIX 5 supports IA64
9893
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9894
shlibpath_var=LD_LIBRARY_PATH
9896
# With GCC up to 2.95.x, collect2 would create an import file
9897
# for dependence libraries. The import file would start with
9898
# the line `#! .'. This would cause the generated library to
9899
# depend on `.', always an invalid library. This was fixed in
9900
# development snapshots of GCC prior to 3.0.
9902
aix4 | aix4.[01] | aix4.[01].*)
9903
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9905
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9912
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9913
# soname into executable. Probably we can add versioning support to
9914
# collect2, so additional links can be useful in future.
9915
if test "$aix_use_runtimelinking" = yes; then
9916
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
9917
# instead of lib<name>.a to let people know that these are not
9918
# typical AIX shared libraries.
9919
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9921
# We preserve .a as extension for shared libraries through AIX4.2
9922
# and later when we are not doing run time linking.
9923
library_names_spec='${libname}${release}.a $libname.a'
9924
soname_spec='${libname}${release}${shared_ext}$major'
9926
shlibpath_var=LIBPATH
9933
# Since July 2007 AmigaOS4 officially supports .so libraries.
9934
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9935
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9938
library_names_spec='$libname.ixlibrary $libname.a'
9939
# Create ${libname}_ixlibrary.a entries in /sys/libs.
9940
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'
9946
library_names_spec='${libname}${shared_ext}'
9947
dynamic_linker="$host_os ld.so"
9948
shlibpath_var=LIBRARY_PATH
9954
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9955
soname_spec='${libname}${release}${shared_ext}$major'
9956
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9957
shlibpath_var=LD_LIBRARY_PATH
9958
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9959
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9960
# the default ld.so.conf also contains /usr/contrib/lib and
9961
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9962
# libtool to hard-code these into programs
9965
cygwin* | mingw* | pw32* | cegcc*)
9966
version_type=windows
9971
case $GCC,$host_os in
9972
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9973
library_names_spec='$libname.dll.a'
9974
# DLL is installed to $(libdir)/../bin by postinstall_cmds
9975
postinstall_cmds='base_file=`basename \${file}`~
9976
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9977
dldir=$destdir/`dirname \$dlpath`~
9978
test -d \$dldir || mkdir -p \$dldir~
9979
$install_prog $dir/$dlname \$dldir/$dlname~
9980
chmod a+x \$dldir/$dlname~
9981
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9982
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9984
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9985
dlpath=$dir/\$dldll~
9987
shlibpath_overrides_runpath=yes
9991
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9992
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9993
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9996
# MinGW DLLs use traditional 'lib' prefix
9997
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9998
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9999
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10000
# It is most probably a Windows format PATH printed by
10001
# mingw gcc, but we are running on Cygwin. Gcc prints its search
10002
# path with ; separators, and with drive letters. We can handle the
10003
# drive letters (cygwin fileutils understands them), so leave them,
10004
# especially as we might pass files found there to a mingw objdump,
10005
# which wouldn't understand a cygwinified path. Ahh.
10006
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10008
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10012
# pw32 DLLs use 'pw' prefix rather than 'lib'
10013
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10019
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10022
dynamic_linker='Win32 ld.exe'
10023
# FIXME: first we should search . and the directory the executable is in
10027
darwin* | rhapsody*)
10028
dynamic_linker="$host_os dyld"
10029
version_type=darwin
10032
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10033
soname_spec='${libname}${release}${major}$shared_ext'
10034
shlibpath_overrides_runpath=yes
10035
shlibpath_var=DYLD_LIBRARY_PATH
10036
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10038
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10039
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10046
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10047
soname_spec='${libname}${release}${shared_ext}$major'
10048
shlibpath_var=LD_LIBRARY_PATH
10055
freebsd* | dragonfly*)
10056
# DragonFly does not have aout. When/if they implement a new
10057
# versioning mechanism, adjust this.
10058
if test -x /usr/bin/objformat; then
10059
objformat=`/usr/bin/objformat`
10062
freebsd[123]*) objformat=aout ;;
10063
*) objformat=elf ;;
10066
version_type=freebsd-$objformat
10067
case $version_type in
10069
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10074
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10078
shlibpath_var=LD_LIBRARY_PATH
10081
shlibpath_overrides_runpath=yes
10083
freebsd3.[01]* | freebsdelf3.[01]*)
10084
shlibpath_overrides_runpath=yes
10085
hardcode_into_libs=yes
10087
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10088
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10089
shlibpath_overrides_runpath=no
10090
hardcode_into_libs=yes
10092
*) # from 4.6 on, and DragonFly
10093
shlibpath_overrides_runpath=yes
10094
hardcode_into_libs=yes
10103
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10104
soname_spec='${libname}${release}${shared_ext}$major'
10105
shlibpath_var=LD_LIBRARY_PATH
10106
hardcode_into_libs=yes
10109
hpux9* | hpux10* | hpux11*)
10110
# Give a soname corresponding to the major version so that dld.sl refuses to
10111
# link against other versions.
10118
hardcode_into_libs=yes
10119
dynamic_linker="$host_os dld.so"
10120
shlibpath_var=LD_LIBRARY_PATH
10121
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10122
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10123
soname_spec='${libname}${release}${shared_ext}$major'
10124
if test "X$HPUX_IA64_MODE" = X32; then
10125
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10127
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10129
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10133
hardcode_into_libs=yes
10134
dynamic_linker="$host_os dld.sl"
10135
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10136
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10137
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10138
soname_spec='${libname}${release}${shared_ext}$major'
10139
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10140
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10144
dynamic_linker="$host_os dld.sl"
10145
shlibpath_var=SHLIB_PATH
10146
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10147
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10148
soname_spec='${libname}${release}${shared_ext}$major'
10151
# HP-UX runs *really* slowly unless shared libraries are mode 555.
10152
postinstall_cmds='chmod 555 $lib'
10159
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10160
soname_spec='${libname}${release}${shared_ext}$major'
10161
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10162
shlibpath_var=LD_LIBRARY_PATH
10163
shlibpath_overrides_runpath=no
10164
hardcode_into_libs=yes
10167
irix5* | irix6* | nonstopux*)
10169
nonstopux*) version_type=nonstopux ;;
10171
if test "$lt_cv_prog_gnu_ld" = yes; then
10179
soname_spec='${libname}${release}${shared_ext}$major'
10180
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10182
irix5* | nonstopux*)
10183
libsuff= shlibsuff=
10186
case $LD in # libtool.m4 will add one of these switches to LD
10187
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10188
libsuff= shlibsuff= libmagic=32-bit;;
10189
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10190
libsuff=32 shlibsuff=N32 libmagic=N32;;
10191
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10192
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10193
*) libsuff= shlibsuff= libmagic=never-match;;
10197
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10198
shlibpath_overrides_runpath=no
10199
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10200
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10201
hardcode_into_libs=yes
10204
# No shared lib support for Linux oldld, aout, or coff.
10205
linux*oldld* | linux*aout* | linux*coff*)
10209
# This must be Linux ELF.
10210
linux* | k*bsd*-gnu)
10214
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10215
soname_spec='${libname}${release}${shared_ext}$major'
10216
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10217
shlibpath_var=LD_LIBRARY_PATH
10218
shlibpath_overrides_runpath=no
10219
# Some binutils ld are patched to set DT_RUNPATH
10220
save_LDFLAGS=$LDFLAGS
10221
save_libdir=$libdir
10222
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10223
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10224
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10225
/* end confdefs.h. */
10235
if ac_fn_c_try_link "$LINENO"; then :
10236
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10237
shlibpath_overrides_runpath=yes
10240
rm -f core conftest.err conftest.$ac_objext \
10241
conftest$ac_exeext conftest.$ac_ext
10242
LDFLAGS=$save_LDFLAGS
10243
libdir=$save_libdir
10245
# This implies no fast_install, which is unacceptable.
10246
# Some rework will be needed to allow for fast_install
10247
# before this can be enabled.
10248
hardcode_into_libs=yes
10250
# Append ld.so.conf contents to the search path
10251
if test -f /etc/ld.so.conf; then
10252
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' ' '`
10253
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10256
# We used to test for /lib/ld.so.1 and disable shared libraries on
10257
# powerpc, because MkLinux only supported shared libraries with the
10258
# GNU dynamic linker. Since this was broken with cross compilers,
10259
# most powerpc-linux boxes support dynamic linking these days and
10260
# people can always --disable-shared, the test was removed, and we
10261
# assume the GNU/Linux dynamic linker is in use.
10262
dynamic_linker='GNU/Linux ld.so'
10269
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10270
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10271
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10272
dynamic_linker='NetBSD (a.out) ld.so'
10274
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10275
soname_spec='${libname}${release}${shared_ext}$major'
10276
dynamic_linker='NetBSD ld.elf_so'
10278
shlibpath_var=LD_LIBRARY_PATH
10279
shlibpath_overrides_runpath=yes
10280
hardcode_into_libs=yes
10285
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10286
shlibpath_var=LD_LIBRARY_PATH
10287
shlibpath_overrides_runpath=yes
10294
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10295
soname_spec='${libname}${release}${shared_ext}$major'
10296
shlibpath_var=LD_LIBRARY_PATH
10297
shlibpath_overrides_runpath=no
10298
hardcode_into_libs=yes
10299
dynamic_linker='ldqnx.so'
10304
sys_lib_dlsearch_path_spec="/usr/lib"
10306
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10308
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10309
*) need_version=no ;;
10311
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10312
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10313
shlibpath_var=LD_LIBRARY_PATH
10314
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10316
openbsd2.[89] | openbsd2.[89].*)
10317
shlibpath_overrides_runpath=no
10320
shlibpath_overrides_runpath=yes
10324
shlibpath_overrides_runpath=yes
10329
libname_spec='$name'
10332
library_names_spec='$libname${shared_ext} $libname.a'
10333
dynamic_linker='OS/2 ld.exe'
10334
shlibpath_var=LIBPATH
10337
osf3* | osf4* | osf5*)
10341
soname_spec='${libname}${release}${shared_ext}$major'
10342
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10343
shlibpath_var=LD_LIBRARY_PATH
10344
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10345
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10356
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10357
soname_spec='${libname}${release}${shared_ext}$major'
10358
shlibpath_var=LD_LIBRARY_PATH
10359
shlibpath_overrides_runpath=yes
10360
hardcode_into_libs=yes
10361
# ldd complains unless libraries are executable
10362
postinstall_cmds='chmod +x $lib'
10367
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10368
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10369
shlibpath_var=LD_LIBRARY_PATH
10370
shlibpath_overrides_runpath=yes
10371
if test "$with_gnu_ld" = yes; then
10379
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10380
soname_spec='${libname}${release}${shared_ext}$major'
10381
shlibpath_var=LD_LIBRARY_PATH
10382
case $host_vendor in
10384
shlibpath_overrides_runpath=no
10386
runpath_var=LD_RUN_PATH
10394
shlibpath_overrides_runpath=no
10395
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10401
if test -d /usr/nec ;then
10403
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10404
soname_spec='$libname${shared_ext}.$major'
10405
shlibpath_var=LD_LIBRARY_PATH
10409
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10410
version_type=freebsd-elf
10413
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10414
soname_spec='${libname}${release}${shared_ext}$major'
10415
shlibpath_var=LD_LIBRARY_PATH
10416
shlibpath_overrides_runpath=yes
10417
hardcode_into_libs=yes
10418
if test "$with_gnu_ld" = yes; then
10419
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10421
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10424
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10428
sys_lib_dlsearch_path_spec='/usr/lib'
10432
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10436
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10437
shlibpath_var=LD_LIBRARY_PATH
10438
shlibpath_overrides_runpath=no
10439
hardcode_into_libs=yes
10444
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10445
soname_spec='${libname}${release}${shared_ext}$major'
10446
shlibpath_var=LD_LIBRARY_PATH
10453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10454
$as_echo "$dynamic_linker" >&6; }
10455
test "$dynamic_linker" = no && can_build_shared=no
10457
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10458
if test "$GCC" = yes; then
10459
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10462
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10463
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10465
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10466
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10556
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10558
if test -n "$hardcode_libdir_flag_spec" ||
10559
test -n "$runpath_var" ||
10560
test "X$hardcode_automatic" = "Xyes" ; then
10562
# We can hardcode non-existent directories.
10563
if test "$hardcode_direct" != no &&
10564
# If the only mechanism to avoid hardcoding is shlibpath_var, we
10565
# have to relink, otherwise we might link with an installed library
10566
# when we should be linking with a yet-to-be-installed one
10567
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10568
test "$hardcode_minus_L" != no; then
10569
# Linking always hardcodes the temporary library directory.
10570
hardcode_action=relink
10572
# We can link without hardcoding, and we can hardcode nonexisting dirs.
10573
hardcode_action=immediate
10576
# We cannot hardcode anything, or else we can only hardcode existing
10578
hardcode_action=unsupported
10580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10581
$as_echo "$hardcode_action" >&6; }
10583
if test "$hardcode_action" = relink ||
10584
test "$inherit_rpath" = yes; then
10585
# Fast installation is not supported
10586
enable_fast_install=no
10587
elif test "$shlibpath_overrides_runpath" = yes ||
10588
test "$enable_shared" = no; then
10589
# Fast installation is not necessary
10590
enable_fast_install=needless
10598
if test "x$enable_dlopen" != xyes; then
10599
enable_dlopen=unknown
10600
enable_dlopen_self=unknown
10601
enable_dlopen_self_static=unknown
10608
lt_cv_dlopen="load_add_on"
10610
lt_cv_dlopen_self=yes
10613
mingw* | pw32* | cegcc*)
10614
lt_cv_dlopen="LoadLibrary"
10619
lt_cv_dlopen="dlopen"
10624
# if libdl is installed we need to link against it
10625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10626
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10627
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10628
$as_echo_n "(cached) " >&6
10630
ac_check_lib_save_LIBS=$LIBS
10632
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10633
/* end confdefs.h. */
10635
/* Override any GCC internal prototype to avoid an error.
10636
Use char because int might match the return type of a GCC
10637
builtin and then its argument prototype would still apply. */
10650
if ac_fn_c_try_link "$LINENO"; then :
10651
ac_cv_lib_dl_dlopen=yes
10653
ac_cv_lib_dl_dlopen=no
10655
rm -f core conftest.err conftest.$ac_objext \
10656
conftest$ac_exeext conftest.$ac_ext
10657
LIBS=$ac_check_lib_save_LIBS
10659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10660
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10661
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10662
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10665
lt_cv_dlopen="dyld"
10667
lt_cv_dlopen_self=yes
10674
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10675
if test "x$ac_cv_func_shl_load" = x""yes; then :
10676
lt_cv_dlopen="shl_load"
10678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10679
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10680
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10681
$as_echo_n "(cached) " >&6
10683
ac_check_lib_save_LIBS=$LIBS
10685
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10686
/* end confdefs.h. */
10688
/* Override any GCC internal prototype to avoid an error.
10689
Use char because int might match the return type of a GCC
10690
builtin and then its argument prototype would still apply. */
10698
return shl_load ();
10703
if ac_fn_c_try_link "$LINENO"; then :
10704
ac_cv_lib_dld_shl_load=yes
10706
ac_cv_lib_dld_shl_load=no
10708
rm -f core conftest.err conftest.$ac_objext \
10709
conftest$ac_exeext conftest.$ac_ext
10710
LIBS=$ac_check_lib_save_LIBS
10712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10713
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10714
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10715
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10717
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10718
if test "x$ac_cv_func_dlopen" = x""yes; then :
10719
lt_cv_dlopen="dlopen"
10721
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10722
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10723
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10724
$as_echo_n "(cached) " >&6
10726
ac_check_lib_save_LIBS=$LIBS
10728
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10729
/* end confdefs.h. */
10731
/* Override any GCC internal prototype to avoid an error.
10732
Use char because int might match the return type of a GCC
10733
builtin and then its argument prototype would still apply. */
10746
if ac_fn_c_try_link "$LINENO"; then :
10747
ac_cv_lib_dl_dlopen=yes
10749
ac_cv_lib_dl_dlopen=no
10751
rm -f core conftest.err conftest.$ac_objext \
10752
conftest$ac_exeext conftest.$ac_ext
10753
LIBS=$ac_check_lib_save_LIBS
10755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10756
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10757
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10758
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10761
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10762
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10763
$as_echo_n "(cached) " >&6
10765
ac_check_lib_save_LIBS=$LIBS
10766
LIBS="-lsvld $LIBS"
10767
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10768
/* end confdefs.h. */
10770
/* Override any GCC internal prototype to avoid an error.
10771
Use char because int might match the return type of a GCC
10772
builtin and then its argument prototype would still apply. */
10785
if ac_fn_c_try_link "$LINENO"; then :
10786
ac_cv_lib_svld_dlopen=yes
10788
ac_cv_lib_svld_dlopen=no
10790
rm -f core conftest.err conftest.$ac_objext \
10791
conftest$ac_exeext conftest.$ac_ext
10792
LIBS=$ac_check_lib_save_LIBS
10794
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10795
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10796
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
10797
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10800
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10801
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
10802
$as_echo_n "(cached) " >&6
10804
ac_check_lib_save_LIBS=$LIBS
10806
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807
/* end confdefs.h. */
10809
/* Override any GCC internal prototype to avoid an error.
10810
Use char because int might match the return type of a GCC
10811
builtin and then its argument prototype would still apply. */
10819
return dld_link ();
10824
if ac_fn_c_try_link "$LINENO"; then :
10825
ac_cv_lib_dld_dld_link=yes
10827
ac_cv_lib_dld_dld_link=no
10829
rm -f core conftest.err conftest.$ac_objext \
10830
conftest$ac_exeext conftest.$ac_ext
10831
LIBS=$ac_check_lib_save_LIBS
10833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10834
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10835
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
10836
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10857
if test "x$lt_cv_dlopen" != xno; then
10863
case $lt_cv_dlopen in
10865
save_CPPFLAGS="$CPPFLAGS"
10866
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10868
save_LDFLAGS="$LDFLAGS"
10869
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10872
LIBS="$lt_cv_dlopen_libs $LIBS"
10874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
10875
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10876
if test "${lt_cv_dlopen_self+set}" = set; then :
10877
$as_echo_n "(cached) " >&6
10879
if test "$cross_compiling" = yes; then :
10880
lt_cv_dlopen_self=cross
10882
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10883
lt_status=$lt_dlunknown
10884
cat > conftest.$ac_ext <<_LT_EOF
10885
#line 10885 "configure"
10886
#include "confdefs.h"
10895
# define LT_DLGLOBAL RTLD_GLOBAL
10898
# define LT_DLGLOBAL DL_GLOBAL
10900
# define LT_DLGLOBAL 0
10904
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10905
find out it does not work in some platform. */
10906
#ifndef LT_DLLAZY_OR_NOW
10908
# define LT_DLLAZY_OR_NOW RTLD_LAZY
10911
# define LT_DLLAZY_OR_NOW DL_LAZY
10914
# define LT_DLLAZY_OR_NOW RTLD_NOW
10917
# define LT_DLLAZY_OR_NOW DL_NOW
10919
# define LT_DLLAZY_OR_NOW 0
10926
void fnord() { int i=42;}
10929
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10930
int status = $lt_dlunknown;
10934
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10935
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10936
/* dlclose (self); */
10944
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
10945
(eval $ac_link) 2>&5
10947
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10948
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
10949
(./conftest; exit; ) >&5 2>/dev/null
10951
case x$lt_status in
10952
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10953
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10954
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10957
# compilation failed
10958
lt_cv_dlopen_self=no
10965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
10966
$as_echo "$lt_cv_dlopen_self" >&6; }
10968
if test "x$lt_cv_dlopen_self" = xyes; then
10969
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
10971
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10972
if test "${lt_cv_dlopen_self_static+set}" = set; then :
10973
$as_echo_n "(cached) " >&6
10975
if test "$cross_compiling" = yes; then :
10976
lt_cv_dlopen_self_static=cross
10978
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10979
lt_status=$lt_dlunknown
10980
cat > conftest.$ac_ext <<_LT_EOF
10981
#line 10981 "configure"
10982
#include "confdefs.h"
10991
# define LT_DLGLOBAL RTLD_GLOBAL
10994
# define LT_DLGLOBAL DL_GLOBAL
10996
# define LT_DLGLOBAL 0
11000
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11001
find out it does not work in some platform. */
11002
#ifndef LT_DLLAZY_OR_NOW
11004
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11007
# define LT_DLLAZY_OR_NOW DL_LAZY
11010
# define LT_DLLAZY_OR_NOW RTLD_NOW
11013
# define LT_DLLAZY_OR_NOW DL_NOW
11015
# define LT_DLLAZY_OR_NOW 0
11022
void fnord() { int i=42;}
11025
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11026
int status = $lt_dlunknown;
11030
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11031
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11032
/* dlclose (self); */
11040
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11041
(eval $ac_link) 2>&5
11043
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11044
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11045
(./conftest; exit; ) >&5 2>/dev/null
11047
case x$lt_status in
11048
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11049
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11050
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11053
# compilation failed
11054
lt_cv_dlopen_self_static=no
11061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11062
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11065
CPPFLAGS="$save_CPPFLAGS"
11066
LDFLAGS="$save_LDFLAGS"
11071
case $lt_cv_dlopen_self in
11072
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11073
*) enable_dlopen_self=unknown ;;
11076
case $lt_cv_dlopen_self_static in
11077
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11078
*) enable_dlopen_self_static=unknown ;;
11100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11101
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11102
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11103
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11104
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11105
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11106
$as_echo "yes" >&6; }
11108
# FIXME - insert some real tests, host_os isn't really good enough
11111
if test -n "$STRIP" ; then
11112
striplib="$STRIP -x"
11113
old_striplib="$STRIP -S"
11114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11115
$as_echo "yes" >&6; }
11117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11118
$as_echo "no" >&6; }
11122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11123
$as_echo "no" >&6; }
11139
# Report which library types will actually be built
11140
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11141
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11142
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11143
$as_echo "$can_build_shared" >&6; }
11145
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11146
$as_echo_n "checking whether to build shared libraries... " >&6; }
11147
test "$can_build_shared" = "no" && enable_shared=no
11149
# On AIX, shared libraries and static libraries use the same namespace, and
11150
# are all built from PIC.
11153
test "$enable_shared" = yes && enable_static=no
11154
if test -n "$RANLIB"; then
11155
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11156
postinstall_cmds='$RANLIB $lib'
11161
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11162
test "$enable_shared" = yes && enable_static=no
11166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11167
$as_echo "$enable_shared" >&6; }
11169
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11170
$as_echo_n "checking whether to build static libraries... " >&6; }
11171
# Make sure either enable_shared or enable_static is yes.
11172
test "$enable_shared" = yes || enable_static=yes
11173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11174
$as_echo "$enable_static" >&6; }
11181
ac_cpp='$CPP $CPPFLAGS'
11182
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11183
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11184
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11200
ac_config_commands="$ac_config_commands libtool"
11205
# Only expand once:
11210
ac_cpp='$CXXCPP $CPPFLAGS'
11211
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11212
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11213
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11214
if test -z "$CXX"; then
11215
if test -n "$CCC"; then
11218
if test -n "$ac_tool_prefix"; then
11219
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11221
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11222
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11224
$as_echo_n "checking for $ac_word... " >&6; }
11225
if test "${ac_cv_prog_CXX+set}" = set; then :
11226
$as_echo_n "(cached) " >&6
11228
if test -n "$CXX"; then
11229
ac_cv_prog_CXX="$CXX" # Let the user override the test.
11231
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11232
for as_dir in $PATH
11235
test -z "$as_dir" && as_dir=.
11236
for ac_exec_ext in '' $ac_executable_extensions; do
11237
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11238
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11239
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11248
CXX=$ac_cv_prog_CXX
11249
if test -n "$CXX"; then
11250
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11251
$as_echo "$CXX" >&6; }
11253
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11254
$as_echo "no" >&6; }
11258
test -n "$CXX" && break
11261
if test -z "$CXX"; then
11263
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11265
# Extract the first word of "$ac_prog", so it can be a program name with args.
11266
set dummy $ac_prog; ac_word=$2
11267
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11268
$as_echo_n "checking for $ac_word... " >&6; }
11269
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11270
$as_echo_n "(cached) " >&6
11272
if test -n "$ac_ct_CXX"; then
11273
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11275
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11276
for as_dir in $PATH
11279
test -z "$as_dir" && as_dir=.
11280
for ac_exec_ext in '' $ac_executable_extensions; do
11281
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11282
ac_cv_prog_ac_ct_CXX="$ac_prog"
11283
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11292
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11293
if test -n "$ac_ct_CXX"; then
11294
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11295
$as_echo "$ac_ct_CXX" >&6; }
11297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11298
$as_echo "no" >&6; }
11302
test -n "$ac_ct_CXX" && break
11305
if test "x$ac_ct_CXX" = x; then
11308
case $cross_compiling:$ac_tool_warned in
11310
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11311
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11312
ac_tool_warned=yes ;;
11320
# Provide some information about the compiler.
11321
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11324
for ac_option in --version -v -V -qversion; do
11325
{ { ac_try="$ac_compiler $ac_option >&5"
11326
case "(($ac_try" in
11327
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11328
*) ac_try_echo=$ac_try;;
11330
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11331
$as_echo "$ac_try_echo"; } >&5
11332
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
11334
if test -s conftest.err; then
11336
... rest of stderr output deleted ...
11337
10q' conftest.err >conftest.er1
11338
cat conftest.er1 >&5
11339
rm -f conftest.er1 conftest.err
11341
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11342
test $ac_status = 0; }
11345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11346
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11347
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11348
$as_echo_n "(cached) " >&6
11350
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11351
/* end confdefs.h. */
11364
if ac_fn_cxx_try_compile "$LINENO"; then :
11365
ac_compiler_gnu=yes
11369
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11370
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11374
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11375
if test $ac_compiler_gnu = yes; then
11380
ac_test_CXXFLAGS=${CXXFLAGS+set}
11381
ac_save_CXXFLAGS=$CXXFLAGS
11382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11383
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
11384
if test "${ac_cv_prog_cxx_g+set}" = set; then :
11385
$as_echo_n "(cached) " >&6
11387
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11388
ac_cxx_werror_flag=yes
11389
ac_cv_prog_cxx_g=no
11391
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11392
/* end confdefs.h. */
11402
if ac_fn_cxx_try_compile "$LINENO"; then :
11403
ac_cv_prog_cxx_g=yes
11406
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11407
/* end confdefs.h. */
11417
if ac_fn_cxx_try_compile "$LINENO"; then :
11420
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11422
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11423
/* end confdefs.h. */
11433
if ac_fn_cxx_try_compile "$LINENO"; then :
11434
ac_cv_prog_cxx_g=yes
11436
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11438
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11440
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11441
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11444
$as_echo "$ac_cv_prog_cxx_g" >&6; }
11445
if test "$ac_test_CXXFLAGS" = set; then
11446
CXXFLAGS=$ac_save_CXXFLAGS
11447
elif test $ac_cv_prog_cxx_g = yes; then
11448
if test "$GXX" = yes; then
11454
if test "$GXX" = yes; then
11461
ac_cpp='$CPP $CPPFLAGS'
11462
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11463
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11464
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11466
depcc="$CXX" am_compiler_list=
11468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11469
$as_echo_n "checking dependency style of $depcc... " >&6; }
11470
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
11471
$as_echo_n "(cached) " >&6
11473
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11474
# We make a subdir and do the tests there. Otherwise we can end up
11475
# making bogus files that we don't know about and never remove. For
11476
# instance it was reported that on HP-UX the gcc test will end up
11477
# making a dummy file named `D' -- because `-MD' means `put the output
11480
# Copy depcomp to subdir because otherwise we won't find it if we're
11481
# using a relative directory.
11482
cp "$am_depcomp" conftest.dir
11484
# We will build objects and dependencies in a subdirectory because
11485
# it helps to detect inapplicable dependency modes. For instance
11486
# both Tru64's cc and ICC support -MD to output dependencies as a
11487
# side effect of compilation, but ICC will put the dependencies in
11488
# the current directory while Tru64 will put them in the object
11492
am_cv_CXX_dependencies_compiler_type=none
11493
if test "$am_compiler_list" = ""; then
11494
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11496
am__universal=false
11497
case " $depcc " in #(
11498
*\ -arch\ *\ -arch\ *) am__universal=true ;;
11501
for depmode in $am_compiler_list; do
11502
# Setup a source with many dependencies, because some compilers
11503
# like to wrap large dependency lists on column 80 (with \), and
11504
# we should not choose a depcomp mode which is confused by this.
11506
# We need to recreate these files for each test, as the compiler may
11507
# overwrite some of them when testing with obscure command lines.
11508
# This happens at least with the AIX C compiler.
11510
for i in 1 2 3 4 5 6; do
11511
echo '#include "conftst'$i'.h"' >> sub/conftest.c
11512
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11513
# Solaris 8's {/usr,}/bin/sh.
11514
touch sub/conftst$i.h
11516
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11518
# We check with `-c' and `-o' for the sake of the "dashmstdout"
11519
# mode. It turns out that the SunPro C++ compiler does not properly
11520
# handle `-M -o', and we need to detect this. Also, some Intel
11521
# versions had trouble with output in subdirs
11522
am__obj=sub/conftest.${OBJEXT-o}
11523
am__minus_obj="-o $am__obj"
11526
# This depmode causes a compiler race in universal mode.
11527
test "$am__universal" = false || continue
11530
# after this tag, mechanisms are not by side-effect, so they'll
11531
# only be used when explicitly requested
11532
if test "x$enable_dependency_tracking" = xyes; then
11538
msvisualcpp | msvcmsys)
11539
# This compiler won't grok `-c -o', but also, the minuso test has
11540
# not run yet. These depmodes are late enough in the game, and
11541
# so weak that their functioning should not be impacted.
11542
am__obj=conftest.${OBJEXT-o}
11547
if depmode=$depmode \
11548
source=sub/conftest.c object=$am__obj \
11549
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11550
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11551
>/dev/null 2>conftest.err &&
11552
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11553
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11554
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11555
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11556
# icc doesn't choke on unknown options, it will just issue warnings
11557
# or remarks (even with -Werror). So we grep stderr for any message
11558
# that says an option was ignored or not supported.
11559
# When given -MP, icc 7.0 and 7.1 complain thusly:
11560
# icc: Command line warning: ignoring option '-M'; no argument required
11561
# The diagnosis changed in icc 8.0:
11562
# icc: Command line remark: option '-MP' not supported
11563
if (grep 'ignoring option' conftest.err ||
11564
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11565
am_cv_CXX_dependencies_compiler_type=$depmode
11572
rm -rf conftest.dir
11574
am_cv_CXX_dependencies_compiler_type=none
11578
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
11579
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11580
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
11583
test "x$enable_dependency_tracking" != xno \
11584
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
11585
am__fastdepCXX_TRUE=
11586
am__fastdepCXX_FALSE='#'
11588
am__fastdepCXX_TRUE='#'
11589
am__fastdepCXX_FALSE=
11595
ac_cpp='$CXXCPP $CPPFLAGS'
11596
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11597
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11598
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11599
if test -z "$CXX"; then
11600
if test -n "$CCC"; then
11603
if test -n "$ac_tool_prefix"; then
11604
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11606
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11607
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11609
$as_echo_n "checking for $ac_word... " >&6; }
11610
if test "${ac_cv_prog_CXX+set}" = set; then :
11611
$as_echo_n "(cached) " >&6
11613
if test -n "$CXX"; then
11614
ac_cv_prog_CXX="$CXX" # Let the user override the test.
11616
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11617
for as_dir in $PATH
11620
test -z "$as_dir" && as_dir=.
11621
for ac_exec_ext in '' $ac_executable_extensions; do
11622
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11623
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11624
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11633
CXX=$ac_cv_prog_CXX
11634
if test -n "$CXX"; then
11635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11636
$as_echo "$CXX" >&6; }
11638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11639
$as_echo "no" >&6; }
11643
test -n "$CXX" && break
11646
if test -z "$CXX"; then
11648
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11650
# Extract the first word of "$ac_prog", so it can be a program name with args.
11651
set dummy $ac_prog; ac_word=$2
11652
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11653
$as_echo_n "checking for $ac_word... " >&6; }
11654
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
11655
$as_echo_n "(cached) " >&6
11657
if test -n "$ac_ct_CXX"; then
11658
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11660
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11661
for as_dir in $PATH
11664
test -z "$as_dir" && as_dir=.
11665
for ac_exec_ext in '' $ac_executable_extensions; do
11666
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11667
ac_cv_prog_ac_ct_CXX="$ac_prog"
11668
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11677
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11678
if test -n "$ac_ct_CXX"; then
11679
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11680
$as_echo "$ac_ct_CXX" >&6; }
11682
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11683
$as_echo "no" >&6; }
11687
test -n "$ac_ct_CXX" && break
11690
if test "x$ac_ct_CXX" = x; then
11693
case $cross_compiling:$ac_tool_warned in
11695
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11696
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11697
ac_tool_warned=yes ;;
11705
# Provide some information about the compiler.
11706
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11709
for ac_option in --version -v -V -qversion; do
11710
{ { ac_try="$ac_compiler $ac_option >&5"
11711
case "(($ac_try" in
11712
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11713
*) ac_try_echo=$ac_try;;
11715
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11716
$as_echo "$ac_try_echo"; } >&5
11717
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
11719
if test -s conftest.err; then
11721
... rest of stderr output deleted ...
11722
10q' conftest.err >conftest.er1
11723
cat conftest.er1 >&5
11724
rm -f conftest.er1 conftest.err
11726
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11727
test $ac_status = 0; }
11730
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11731
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11732
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
11733
$as_echo_n "(cached) " >&6
11735
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11736
/* end confdefs.h. */
11749
if ac_fn_cxx_try_compile "$LINENO"; then :
11750
ac_compiler_gnu=yes
11754
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11755
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11759
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11760
if test $ac_compiler_gnu = yes; then
11765
ac_test_CXXFLAGS=${CXXFLAGS+set}
11766
ac_save_CXXFLAGS=$CXXFLAGS
11767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11768
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
11769
if test "${ac_cv_prog_cxx_g+set}" = set; then :
11770
$as_echo_n "(cached) " >&6
11772
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11773
ac_cxx_werror_flag=yes
11774
ac_cv_prog_cxx_g=no
11776
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11777
/* end confdefs.h. */
11787
if ac_fn_cxx_try_compile "$LINENO"; then :
11788
ac_cv_prog_cxx_g=yes
11791
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11792
/* end confdefs.h. */
11802
if ac_fn_cxx_try_compile "$LINENO"; then :
11805
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11807
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11808
/* end confdefs.h. */
11818
if ac_fn_cxx_try_compile "$LINENO"; then :
11819
ac_cv_prog_cxx_g=yes
11821
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11823
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11825
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11826
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11829
$as_echo "$ac_cv_prog_cxx_g" >&6; }
11830
if test "$ac_test_CXXFLAGS" = set; then
11831
CXXFLAGS=$ac_save_CXXFLAGS
11832
elif test $ac_cv_prog_cxx_g = yes; then
11833
if test "$GXX" = yes; then
11839
if test "$GXX" = yes; then
11846
ac_cpp='$CPP $CPPFLAGS'
11847
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11848
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11849
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11851
depcc="$CXX" am_compiler_list=
11853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11854
$as_echo_n "checking dependency style of $depcc... " >&6; }
11855
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
11856
$as_echo_n "(cached) " >&6
11858
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11859
# We make a subdir and do the tests there. Otherwise we can end up
11860
# making bogus files that we don't know about and never remove. For
11861
# instance it was reported that on HP-UX the gcc test will end up
11862
# making a dummy file named `D' -- because `-MD' means `put the output
11865
# Copy depcomp to subdir because otherwise we won't find it if we're
11866
# using a relative directory.
11867
cp "$am_depcomp" conftest.dir
11869
# We will build objects and dependencies in a subdirectory because
11870
# it helps to detect inapplicable dependency modes. For instance
11871
# both Tru64's cc and ICC support -MD to output dependencies as a
11872
# side effect of compilation, but ICC will put the dependencies in
11873
# the current directory while Tru64 will put them in the object
11877
am_cv_CXX_dependencies_compiler_type=none
11878
if test "$am_compiler_list" = ""; then
11879
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11881
am__universal=false
11882
case " $depcc " in #(
11883
*\ -arch\ *\ -arch\ *) am__universal=true ;;
11886
for depmode in $am_compiler_list; do
11887
# Setup a source with many dependencies, because some compilers
11888
# like to wrap large dependency lists on column 80 (with \), and
11889
# we should not choose a depcomp mode which is confused by this.
11891
# We need to recreate these files for each test, as the compiler may
11892
# overwrite some of them when testing with obscure command lines.
11893
# This happens at least with the AIX C compiler.
11895
for i in 1 2 3 4 5 6; do
11896
echo '#include "conftst'$i'.h"' >> sub/conftest.c
11897
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11898
# Solaris 8's {/usr,}/bin/sh.
11899
touch sub/conftst$i.h
11901
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11903
# We check with `-c' and `-o' for the sake of the "dashmstdout"
11904
# mode. It turns out that the SunPro C++ compiler does not properly
11905
# handle `-M -o', and we need to detect this. Also, some Intel
11906
# versions had trouble with output in subdirs
11907
am__obj=sub/conftest.${OBJEXT-o}
11908
am__minus_obj="-o $am__obj"
11911
# This depmode causes a compiler race in universal mode.
11912
test "$am__universal" = false || continue
11915
# after this tag, mechanisms are not by side-effect, so they'll
11916
# only be used when explicitly requested
11917
if test "x$enable_dependency_tracking" = xyes; then
11923
msvisualcpp | msvcmsys)
11924
# This compiler won't grok `-c -o', but also, the minuso test has
11925
# not run yet. These depmodes are late enough in the game, and
11926
# so weak that their functioning should not be impacted.
11927
am__obj=conftest.${OBJEXT-o}
11932
if depmode=$depmode \
11933
source=sub/conftest.c object=$am__obj \
11934
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11935
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11936
>/dev/null 2>conftest.err &&
11937
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11938
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11939
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11940
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11941
# icc doesn't choke on unknown options, it will just issue warnings
11942
# or remarks (even with -Werror). So we grep stderr for any message
11943
# that says an option was ignored or not supported.
11944
# When given -MP, icc 7.0 and 7.1 complain thusly:
11945
# icc: Command line warning: ignoring option '-M'; no argument required
11946
# The diagnosis changed in icc 8.0:
11947
# icc: Command line remark: option '-MP' not supported
11948
if (grep 'ignoring option' conftest.err ||
11949
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11950
am_cv_CXX_dependencies_compiler_type=$depmode
11957
rm -rf conftest.dir
11959
am_cv_CXX_dependencies_compiler_type=none
11963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
11964
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11965
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
11968
test "x$enable_dependency_tracking" != xno \
11969
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
11970
am__fastdepCXX_TRUE=
11971
am__fastdepCXX_FALSE='#'
11973
am__fastdepCXX_TRUE='#'
11974
am__fastdepCXX_FALSE=
11978
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11979
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11980
(test "X$CXX" != "Xg++"))) ; then
11982
ac_cpp='$CXXCPP $CPPFLAGS'
11983
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11984
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11985
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11986
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11987
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11988
if test -z "$CXXCPP"; then
11989
if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11990
$as_echo_n "(cached) " >&6
11992
# Double quotes because CXXCPP needs to be expanded
11993
for CXXCPP in "$CXX -E" "/lib/cpp"
11995
ac_preproc_ok=false
11996
for ac_cxx_preproc_warn_flag in '' yes
11998
# Use a header file that comes with gcc, so configuring glibc
11999
# with a fresh cross-compiler works.
12000
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12001
# <limits.h> exists even on freestanding compilers.
12002
# On the NeXT, cc -E runs the code through the compiler's parser,
12003
# not just through cpp. "Syntax error" is here to catch this case.
12004
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12005
/* end confdefs.h. */
12007
# include <limits.h>
12009
# include <assert.h>
12013
if ac_fn_cxx_try_cpp "$LINENO"; then :
12016
# Broken: fails on valid input.
12019
rm -f conftest.err conftest.$ac_ext
12021
# OK, works on sane cases. Now check whether nonexistent headers
12022
# can be detected and how.
12023
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12024
/* end confdefs.h. */
12025
#include <ac_nonexistent.h>
12027
if ac_fn_cxx_try_cpp "$LINENO"; then :
12028
# Broken: success on invalid input.
12031
# Passes both tests.
12035
rm -f conftest.err conftest.$ac_ext
12038
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12039
rm -f conftest.err conftest.$ac_ext
12040
if $ac_preproc_ok; then :
12045
ac_cv_prog_CXXCPP=$CXXCPP
12048
CXXCPP=$ac_cv_prog_CXXCPP
12050
ac_cv_prog_CXXCPP=$CXXCPP
12052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12053
$as_echo "$CXXCPP" >&6; }
12054
ac_preproc_ok=false
12055
for ac_cxx_preproc_warn_flag in '' yes
12057
# Use a header file that comes with gcc, so configuring glibc
12058
# with a fresh cross-compiler works.
12059
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12060
# <limits.h> exists even on freestanding compilers.
12061
# On the NeXT, cc -E runs the code through the compiler's parser,
12062
# not just through cpp. "Syntax error" is here to catch this case.
12063
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12064
/* end confdefs.h. */
12066
# include <limits.h>
12068
# include <assert.h>
12072
if ac_fn_cxx_try_cpp "$LINENO"; then :
12075
# Broken: fails on valid input.
12078
rm -f conftest.err conftest.$ac_ext
12080
# OK, works on sane cases. Now check whether nonexistent headers
12081
# can be detected and how.
12082
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12083
/* end confdefs.h. */
12084
#include <ac_nonexistent.h>
12086
if ac_fn_cxx_try_cpp "$LINENO"; then :
12087
# Broken: success on invalid input.
12090
# Passes both tests.
12094
rm -f conftest.err conftest.$ac_ext
12097
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12098
rm -f conftest.err conftest.$ac_ext
12099
if $ac_preproc_ok; then :
12102
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12103
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12104
_lt_caught_CXX_error=yes; }
12108
ac_cpp='$CPP $CPPFLAGS'
12109
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12110
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12111
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12114
_lt_caught_CXX_error=yes
12121
ac_cpp='$CXXCPP $CPPFLAGS'
12122
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12123
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12124
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12126
archive_cmds_need_lc_CXX=no
12127
allow_undefined_flag_CXX=
12128
always_export_symbols_CXX=no
12129
archive_expsym_cmds_CXX=
12130
compiler_needs_object_CXX=no
12131
export_dynamic_flag_spec_CXX=
12132
hardcode_direct_CXX=no
12133
hardcode_direct_absolute_CXX=no
12134
hardcode_libdir_flag_spec_CXX=
12135
hardcode_libdir_flag_spec_ld_CXX=
12136
hardcode_libdir_separator_CXX=
12137
hardcode_minus_L_CXX=no
12138
hardcode_shlibpath_var_CXX=unsupported
12139
hardcode_automatic_CXX=no
12140
inherit_rpath_CXX=no
12142
module_expsym_cmds_CXX=
12143
link_all_deplibs_CXX=unknown
12144
old_archive_cmds_CXX=$old_archive_cmds
12145
no_undefined_flag_CXX=
12146
whole_archive_flag_spec_CXX=
12147
enable_shared_with_static_runtimes_CXX=no
12149
# Source file extension for C++ test sources.
12152
# Object file extension for compiled C++ test sources.
12156
# No sense in running all these tests if we already determined that
12157
# the CXX compiler isn't working. Some variables (like enable_shared)
12158
# are currently assumed to apply to all compilers on this platform,
12159
# and will be corrupted by setting them based on a non-working compiler.
12160
if test "$_lt_caught_CXX_error" != yes; then
12161
# Code to be used in simple compile tests
12162
lt_simple_compile_test_code="int some_variable = 0;"
12164
# Code to be used in simple link tests
12165
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12167
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12174
# If no C compiler was specified, use CC.
12177
# If no C compiler flags were specified, use CFLAGS.
12178
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12180
# Allow CC to be a program name with arguments.
12184
# save warnings/boilerplate of simple test code
12185
ac_outfile=conftest.$ac_objext
12186
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12187
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12188
_lt_compiler_boilerplate=`cat conftest.err`
12191
ac_outfile=conftest.$ac_objext
12192
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12193
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12194
_lt_linker_boilerplate=`cat conftest.err`
12198
# Allow CC to be a program name with arguments.
12203
lt_save_with_gnu_ld=$with_gnu_ld
12204
lt_save_path_LD=$lt_cv_path_LD
12205
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12206
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12208
$as_unset lt_cv_prog_gnu_ld
12210
if test -n "${lt_cv_path_LDCXX+set}"; then
12211
lt_cv_path_LD=$lt_cv_path_LDCXX
12213
$as_unset lt_cv_path_LD
12215
test -z "${LDCXX+set}" || LD=$LDCXX
12219
for cc_temp in $compiler""; do
12221
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12222
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12227
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12230
if test -n "$compiler"; then
12231
# We don't want -fno-exception when compiling C++ code, so set the
12232
# no_builtin_flag separately
12233
if test "$GXX" = yes; then
12234
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12236
lt_prog_compiler_no_builtin_flag_CXX=
12239
if test "$GXX" = yes; then
12240
# Set up default GNU C++ configuration
12244
# Check whether --with-gnu-ld was given.
12245
if test "${with_gnu_ld+set}" = set; then :
12246
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12252
if test "$GCC" = yes; then
12253
# Check if gcc -print-prog-name=ld gives a path.
12254
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12255
$as_echo_n "checking for ld used by $CC... " >&6; }
12258
# gcc leaves a trailing carriage return which upsets mingw
12259
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12261
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12264
# Accept absolute paths.
12266
re_direlt='/[^/][^/]*/\.\./'
12267
# Canonicalize the pathname of ld
12268
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12269
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12270
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12272
test -z "$LD" && LD="$ac_prog"
12275
# If it fails, then pretend we aren't using GCC.
12279
# If it is relative, then search for the first ld in PATH.
12280
with_gnu_ld=unknown
12283
elif test "$with_gnu_ld" = yes; then
12284
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12285
$as_echo_n "checking for GNU ld... " >&6; }
12287
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12288
$as_echo_n "checking for non-GNU ld... " >&6; }
12290
if test "${lt_cv_path_LD+set}" = set; then :
12291
$as_echo_n "(cached) " >&6
12293
if test -z "$LD"; then
12294
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12295
for ac_dir in $PATH; do
12297
test -z "$ac_dir" && ac_dir=.
12298
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12299
lt_cv_path_LD="$ac_dir/$ac_prog"
12300
# Check to see if the program is GNU ld. I'd rather use --version,
12301
# but apparently some variants of GNU ld only accept -v.
12302
# Break only if it was the GNU/non-GNU ld that we prefer.
12303
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12304
*GNU* | *'with BFD'*)
12305
test "$with_gnu_ld" != no && break
12308
test "$with_gnu_ld" != yes && break
12315
lt_cv_path_LD="$LD" # Let the user override the test with a path.
12319
LD="$lt_cv_path_LD"
12320
if test -n "$LD"; then
12321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12322
$as_echo "$LD" >&6; }
12324
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12325
$as_echo "no" >&6; }
12327
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12328
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12329
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12330
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12331
$as_echo_n "(cached) " >&6
12333
# I'd rather use --version here, but apparently some GNU lds only accept -v.
12334
case `$LD -v 2>&1 </dev/null` in
12335
*GNU* | *'with BFD'*)
12336
lt_cv_prog_gnu_ld=yes
12339
lt_cv_prog_gnu_ld=no
12343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12344
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12345
with_gnu_ld=$lt_cv_prog_gnu_ld
12353
# Check if GNU C++ uses GNU ld as the underlying linker, since the
12354
# archiving commands below assume that GNU ld is being used.
12355
if test "$with_gnu_ld" = yes; then
12356
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12357
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'
12359
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12360
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12362
# If archive_cmds runs LD, not CC, wlarc should be empty
12363
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12364
# investigate it a little bit more. (MM)
12367
# ancient GNU ld didn't support --whole-archive et. al.
12368
if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12369
$GREP 'no-whole-archive' > /dev/null; then
12370
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12372
whole_archive_flag_spec_CXX=
12378
# A generic and very simple default shared library creation
12379
# command for GNU C++ for the case where it uses the native
12380
# linker, instead of GNU ld. If possible, this setting should
12381
# overridden to take advantage of the native linker features on
12382
# the platform it is being used on.
12383
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12386
# Commands to make compiler produce verbose output that lists
12387
# what "hidden" libraries, object files and flags are used when
12388
# linking a shared library.
12389
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12397
# PORTME: fill in a description of your system's C++ link characteristics
12398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12399
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12403
# FIXME: insert proper C++ library support
12407
if test "$host_cpu" = ia64; then
12408
# On IA64, the linker does run time linking by default, so we don't
12409
# have to do anything special.
12410
aix_use_runtimelinking=no
12411
exp_sym_flag='-Bexport'
12414
aix_use_runtimelinking=no
12416
# Test if we are trying to use run time linking or normal
12417
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
12418
# need to do runtime linking.
12419
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12420
for ld_flag in $LDFLAGS; do
12423
aix_use_runtimelinking=yes
12431
exp_sym_flag='-bexport'
12432
no_entry_flag='-bnoentry'
12435
# When large executables or shared objects are built, AIX ld can
12436
# have problems creating the table of contents. If linking a library
12437
# or program results in "error TOC overflow" add -mminimal-toc to
12438
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12439
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12441
archive_cmds_CXX=''
12442
hardcode_direct_CXX=yes
12443
hardcode_direct_absolute_CXX=yes
12444
hardcode_libdir_separator_CXX=':'
12445
link_all_deplibs_CXX=yes
12446
file_list_spec_CXX='${wl}-f,'
12448
if test "$GXX" = yes; then
12449
case $host_os in aix4.[012]|aix4.[012].*)
12450
# We only want to do this on AIX 4.2 and lower, the check
12451
# below for broken collect2 doesn't work under 4.3+
12452
collect2name=`${CC} -print-prog-name=collect2`
12453
if test -f "$collect2name" &&
12454
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12456
# We have reworked collect2
12459
# We have old collect2
12460
hardcode_direct_CXX=unsupported
12461
# It fails to find uninstalled libraries when the uninstalled
12462
# path is not listed in the libpath. Setting hardcode_minus_L
12463
# to unsupported forces relinking
12464
hardcode_minus_L_CXX=yes
12465
hardcode_libdir_flag_spec_CXX='-L$libdir'
12466
hardcode_libdir_separator_CXX=
12469
shared_flag='-shared'
12470
if test "$aix_use_runtimelinking" = yes; then
12471
shared_flag="$shared_flag "'${wl}-G'
12475
if test "$host_cpu" = ia64; then
12476
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12477
# chokes on -Wl,-G. The following line is correct:
12480
if test "$aix_use_runtimelinking" = yes; then
12481
shared_flag='${wl}-G'
12483
shared_flag='${wl}-bM:SRE'
12488
export_dynamic_flag_spec_CXX='${wl}-bexpall'
12489
# It seems that -bexpall does not export symbols beginning with
12490
# underscore (_), so it is better to generate a list of symbols to
12492
always_export_symbols_CXX=yes
12493
if test "$aix_use_runtimelinking" = yes; then
12494
# Warning - without using the other runtime loading flags (-brtl),
12495
# -berok will link without error, but may produce a broken library.
12496
allow_undefined_flag_CXX='-berok'
12497
# Determine the default libpath from the value encoded in an empty
12499
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12500
/* end confdefs.h. */
12510
if ac_fn_cxx_try_link "$LINENO"; then :
12512
lt_aix_libpath_sed='
12513
/Import File Strings/,/^$/ {
12519
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12520
# Check for a 64-bit object if we didn't find anything.
12521
if test -z "$aix_libpath"; then
12522
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12525
rm -f core conftest.err conftest.$ac_objext \
12526
conftest$ac_exeext conftest.$ac_ext
12527
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12529
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12531
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"
12533
if test "$host_cpu" = ia64; then
12534
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12535
allow_undefined_flag_CXX="-z nodefs"
12536
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"
12538
# Determine the default libpath from the value encoded in an
12539
# empty executable.
12540
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12541
/* end confdefs.h. */
12551
if ac_fn_cxx_try_link "$LINENO"; then :
12553
lt_aix_libpath_sed='
12554
/Import File Strings/,/^$/ {
12560
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12561
# Check for a 64-bit object if we didn't find anything.
12562
if test -z "$aix_libpath"; then
12563
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12566
rm -f core conftest.err conftest.$ac_objext \
12567
conftest$ac_exeext conftest.$ac_ext
12568
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12570
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12571
# Warning - without using the other run time loading flags,
12572
# -berok will link without error, but may produce a broken library.
12573
no_undefined_flag_CXX=' ${wl}-bernotok'
12574
allow_undefined_flag_CXX=' ${wl}-berok'
12575
# Exported symbols can be pulled into shared objects from archives
12576
whole_archive_flag_spec_CXX='$convenience'
12577
archive_cmds_need_lc_CXX=yes
12578
# This is similar to how AIX traditionally builds its shared
12580
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'
12586
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12587
allow_undefined_flag_CXX=unsupported
12588
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12589
# support --undefined. This deserves some investigation. FIXME
12590
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12597
case $cc_basename in
12599
# FIXME: insert proper C++ library support
12605
cygwin* | mingw* | pw32* | cegcc*)
12606
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12607
# as there is no search path for DLLs.
12608
hardcode_libdir_flag_spec_CXX='-L$libdir'
12609
allow_undefined_flag_CXX=unsupported
12610
always_export_symbols_CXX=no
12611
enable_shared_with_static_runtimes_CXX=yes
12613
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12614
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'
12615
# If the export-symbols file already is a .def file (1st line
12616
# is EXPORTS), use it as is; otherwise, prepend...
12617
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12618
cp $export_symbols $output_objdir/$soname.def;
12620
echo EXPORTS > $output_objdir/$soname.def;
12621
cat $export_symbols >> $output_objdir/$soname.def;
12623
$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'
12628
darwin* | rhapsody*)
12631
archive_cmds_need_lc_CXX=no
12632
hardcode_direct_CXX=no
12633
hardcode_automatic_CXX=yes
12634
hardcode_shlibpath_var_CXX=unsupported
12635
whole_archive_flag_spec_CXX=''
12636
link_all_deplibs_CXX=yes
12637
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12638
case $cc_basename in
12639
ifort*) _lt_dar_can_shared=yes ;;
12640
*) _lt_dar_can_shared=$GCC ;;
12642
if test "$_lt_dar_can_shared" = "yes"; then
12643
output_verbose_link_cmd=echo
12644
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}"
12645
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12646
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}"
12647
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}"
12648
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12649
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}"
12650
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}"
12660
case $cc_basename in
12662
# FIXME: insert proper C++ library support
12666
# Green Hills C++ Compiler
12667
# FIXME: insert proper C++ library support
12671
# FIXME: insert proper C++ library support
12678
# C++ shared libraries reported to be fairly broken before
12684
archive_cmds_need_lc_CXX=no
12687
freebsd* | dragonfly*)
12688
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12697
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12698
hardcode_libdir_separator_CXX=:
12699
export_dynamic_flag_spec_CXX='${wl}-E'
12700
hardcode_direct_CXX=yes
12701
hardcode_minus_L_CXX=yes # Not in the search PATH,
12702
# but as the default
12703
# location of the library.
12705
case $cc_basename in
12707
# FIXME: insert proper C++ library support
12711
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'
12712
# Commands to make compiler produce verbose output that lists
12713
# what "hidden" libraries, object files and flags are used when
12714
# linking a shared library.
12716
# There doesn't appear to be a way to prevent this compiler from
12717
# explicitly linking system object files so we need to strip them
12718
# from the output so that they don't get included in the library
12720
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'
12723
if test "$GXX" = yes; then
12724
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'
12726
# FIXME: insert proper C++ library support
12734
if test $with_gnu_ld = no; then
12735
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12736
hardcode_libdir_separator_CXX=:
12742
export_dynamic_flag_spec_CXX='${wl}-E'
12748
hardcode_direct_CXX=no
12749
hardcode_shlibpath_var_CXX=no
12752
hardcode_direct_CXX=yes
12753
hardcode_direct_absolute_CXX=yes
12754
hardcode_minus_L_CXX=yes # Not in the search PATH,
12755
# but as the default
12756
# location of the library.
12760
case $cc_basename in
12762
# FIXME: insert proper C++ library support
12768
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12771
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12774
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12777
# Commands to make compiler produce verbose output that lists
12778
# what "hidden" libraries, object files and flags are used when
12779
# linking a shared library.
12781
# There doesn't appear to be a way to prevent this compiler from
12782
# explicitly linking system object files so we need to strip them
12783
# from the output so that they don't get included in the library
12785
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'
12788
if test "$GXX" = yes; then
12789
if test $with_gnu_ld = no; then
12792
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12795
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12798
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'
12803
# FIXME: insert proper C++ library support
12811
hardcode_direct_CXX=no
12812
hardcode_shlibpath_var_CXX=no
12813
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12814
export_dynamic_flag_spec_CXX='${wl}-E'
12815
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12816
# Instead, shared libraries are loaded at an image base (0x10000000 by
12817
# default) and relocated if they conflict, which is a slow very memory
12818
# consuming and fragmenting process. To avoid this, we pick a random,
12819
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12820
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
12821
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'
12822
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'
12825
case $cc_basename in
12828
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'
12830
# Archives containing C++ object files must be created using
12831
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
12832
# necessary to make sure instantiated templates are included
12834
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12837
if test "$GXX" = yes; then
12838
if test "$with_gnu_ld" = no; then
12839
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'
12841
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'
12844
link_all_deplibs_CXX=yes
12847
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12848
hardcode_libdir_separator_CXX=:
12849
inherit_rpath_CXX=yes
12852
linux* | k*bsd*-gnu)
12853
case $cc_basename in
12855
# Kuck and Associates, Inc. (KAI) C++ Compiler
12857
# KCC will only create a shared library if the output file
12858
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12859
# to its proper name (with version) after linking.
12860
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'
12861
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'
12862
# Commands to make compiler produce verbose output that lists
12863
# what "hidden" libraries, object files and flags are used when
12864
# linking a shared library.
12866
# There doesn't appear to be a way to prevent this compiler from
12867
# explicitly linking system object files so we need to strip them
12868
# from the output so that they don't get included in the library
12870
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'
12872
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12873
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12875
# Archives containing C++ object files must be created using
12876
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12877
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12882
# version 8.0 and above of icpc choke on multiply defined symbols
12883
# if we add $predep_objects and $postdep_objects, however 7.1 and
12884
# earlier do not add the objects themselves.
12885
case `$CC -V 2>&1` in
12887
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12888
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'
12890
*) # Version 8.0 or newer
12893
ia64*) tmp_idyn=' -i_dynamic';;
12895
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12896
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'
12899
archive_cmds_need_lc_CXX=no
12900
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12901
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12902
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12905
# Portland Group C++ compiler
12907
*pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12908
prelink_cmds_CXX='tpldir=Template.dir~
12910
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12911
compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12912
old_archive_cmds_CXX='tpldir=Template.dir~
12914
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12915
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12917
archive_cmds_CXX='tpldir=Template.dir~
12919
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12920
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12921
archive_expsym_cmds_CXX='tpldir=Template.dir~
12923
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12924
$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'
12926
*) # Version 6 will use weak symbols
12927
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12928
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'
12932
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12933
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12934
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'
12938
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12939
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'
12941
runpath_var=LD_RUN_PATH
12942
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12943
hardcode_libdir_separator_CXX=:
12945
# Commands to make compiler produce verbose output that lists
12946
# what "hidden" libraries, object files and flags are used when
12947
# linking a shared library.
12949
# There doesn't appear to be a way to prevent this compiler from
12950
# explicitly linking system object files so we need to strip them
12951
# from the output so that they don't get included in the library
12953
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'
12956
# IBM XL 8.0 on PPC, with GNU ld
12957
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12958
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12959
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12960
if test "x$supports_anon_versioning" = xyes; then
12961
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12962
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12963
echo "local: *; };" >> $output_objdir/$libname.ver~
12964
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12968
case `$CC -V 2>&1 | sed 5q` in
12971
no_undefined_flag_CXX=' -zdefs'
12972
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12973
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'
12974
hardcode_libdir_flag_spec_CXX='-R$libdir'
12975
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'
12976
compiler_needs_object_CXX=yes
12978
# Not sure whether something based on
12979
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12981
output_verbose_link_cmd='echo'
12983
# Archives containing C++ object files must be created using
12984
# "CC -xar", where "CC" is the Sun C++ compiler. This is
12985
# necessary to make sure instantiated templates are included
12987
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12995
# FIXME: insert proper C++ library support
13000
# FIXME: insert proper C++ library support
13005
case $cc_basename in
13007
# FIXME: insert proper C++ library support
13011
# FIXME: insert proper C++ library support
13018
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13019
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13021
hardcode_libdir_flag_spec_CXX='-R$libdir'
13022
hardcode_direct_CXX=yes
13023
hardcode_shlibpath_var_CXX=no
13025
# Workaround some broken pre-1.5 toolchains
13026
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13034
# C++ shared libraries are fairly broken
13039
if test -f /usr/libexec/ld.so; then
13040
hardcode_direct_CXX=yes
13041
hardcode_shlibpath_var_CXX=no
13042
hardcode_direct_absolute_CXX=yes
13043
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13044
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13045
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13046
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13047
export_dynamic_flag_spec_CXX='${wl}-E'
13048
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13050
output_verbose_link_cmd=echo
13056
osf3* | osf4* | osf5*)
13057
case $cc_basename in
13059
# Kuck and Associates, Inc. (KAI) C++ Compiler
13061
# KCC will only create a shared library if the output file
13062
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13063
# to its proper name (with version) after linking.
13064
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'
13066
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13067
hardcode_libdir_separator_CXX=:
13069
# Archives containing C++ object files must be created using
13070
# the KAI C++ compiler.
13072
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13073
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13077
# Rational C++ 2.4.1
13078
# FIXME: insert proper C++ library support
13084
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13085
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'
13086
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13089
allow_undefined_flag_CXX=' -expect_unresolved \*'
13090
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'
13091
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13092
echo "-hidden">> $lib.exp~
13093
$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~
13095
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13099
hardcode_libdir_separator_CXX=:
13101
# Commands to make compiler produce verbose output that lists
13102
# what "hidden" libraries, object files and flags are used when
13103
# linking a shared library.
13105
# There doesn't appear to be a way to prevent this compiler from
13106
# explicitly linking system object files so we need to strip them
13107
# from the output so that they don't get included in the library
13109
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'
13112
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13113
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13116
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'
13119
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'
13123
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13124
hardcode_libdir_separator_CXX=:
13126
# Commands to make compiler produce verbose output that lists
13127
# what "hidden" libraries, object files and flags are used when
13128
# linking a shared library.
13129
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13132
# FIXME: insert proper C++ library support
13140
# FIXME: insert proper C++ library support
13145
case $cc_basename in
13148
# FIXME: insert proper C++ library support
13153
# FIXME: insert proper C++ library support
13157
# FIXME: insert proper C++ library support
13164
case $cc_basename in
13166
# Sun C++ 4.2, 5.x and Centerline C++
13167
archive_cmds_need_lc_CXX=yes
13168
no_undefined_flag_CXX=' -zdefs'
13169
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13170
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13171
$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'
13173
hardcode_libdir_flag_spec_CXX='-R$libdir'
13174
hardcode_shlibpath_var_CXX=no
13176
solaris2.[0-5] | solaris2.[0-5].*) ;;
13178
# The compiler driver will combine and reorder linker options,
13179
# but understands `-z linker_flag'.
13180
# Supported since Solaris 2.6 (maybe 2.5.1?)
13181
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13184
link_all_deplibs_CXX=yes
13186
output_verbose_link_cmd='echo'
13188
# Archives containing C++ object files must be created using
13189
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13190
# necessary to make sure instantiated templates are included
13192
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13195
# Green Hills C++ Compiler
13196
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13198
# The C++ compiler must be used to create the archive.
13199
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13202
# GNU C++ compiler with Solaris linker
13203
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13204
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13205
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13206
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13207
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13208
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13210
# Commands to make compiler produce verbose output that lists
13211
# what "hidden" libraries, object files and flags are used when
13212
# linking a shared library.
13213
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13215
# g++ 2.7 appears to require `-G' NOT `-shared' on this
13217
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13218
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13219
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13221
# Commands to make compiler produce verbose output that lists
13222
# what "hidden" libraries, object files and flags are used when
13223
# linking a shared library.
13224
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13227
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13229
solaris2.[0-5] | solaris2.[0-5].*) ;;
13231
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13239
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13240
no_undefined_flag_CXX='${wl}-z,text'
13241
archive_cmds_need_lc_CXX=no
13242
hardcode_shlibpath_var_CXX=no
13243
runpath_var='LD_RUN_PATH'
13245
case $cc_basename in
13247
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13248
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13251
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13252
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13257
sysv5* | sco3.2v5* | sco5v6*)
13258
# Note: We can NOT use -z defs as we might desire, because we do not
13259
# link with -lc, and that would cause any symbols used from libc to
13260
# always be unresolved, which means just about no library would
13261
# ever link correctly. If we're not using GNU ld we use -z text
13262
# though, which does catch some bad symbols but isn't as heavy-handed
13264
no_undefined_flag_CXX='${wl}-z,text'
13265
allow_undefined_flag_CXX='${wl}-z,nodefs'
13266
archive_cmds_need_lc_CXX=no
13267
hardcode_shlibpath_var_CXX=no
13268
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13269
hardcode_libdir_separator_CXX=':'
13270
link_all_deplibs_CXX=yes
13271
export_dynamic_flag_spec_CXX='${wl}-Bexport'
13272
runpath_var='LD_RUN_PATH'
13274
case $cc_basename in
13276
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13277
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13280
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13281
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13287
case $cc_basename in
13289
# NonStop-UX NCC 3.20
13290
# FIXME: insert proper C++ library support
13294
# FIXME: insert proper C++ library support
13301
# FIXME: insert proper C++ library support
13306
# FIXME: insert proper C++ library support
13311
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13312
$as_echo "$ld_shlibs_CXX" >&6; }
13313
test "$ld_shlibs_CXX" = no && can_build_shared=no
13319
## There is no encapsulation within the following macros, do not change
13320
## the running order or otherwise move them around unless you know exactly
13321
## what you are doing...
13322
# Dependencies to place before and after the object being linked:
13323
predep_objects_CXX=
13324
postdep_objects_CXX=
13327
compiler_lib_search_path_CXX=
13329
cat > conftest.$ac_ext <<_LT_EOF
13333
Foo (void) { a = 0; }
13339
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13340
(eval $ac_compile) 2>&5
13342
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13343
test $ac_status = 0; }; then
13344
# Parse the compiler output and extract the necessary
13345
# objects, libraries and library flags.
13347
# Sentinel used to keep track of whether or not we are before
13348
# the conftest object file.
13349
pre_test_object_deps_done=no
13351
for p in `eval "$output_verbose_link_cmd"`; do
13355
# Some compilers place space between "-{L,R}" and the path.
13356
# Remove the space.
13357
if test $p = "-L" ||
13358
test $p = "-R"; then
13365
if test "$pre_test_object_deps_done" = no; then
13368
# Internal compiler library paths should come after those
13369
# provided the user. The postdeps already come after the
13370
# user supplied libs so there is no need to process them.
13371
if test -z "$compiler_lib_search_path_CXX"; then
13372
compiler_lib_search_path_CXX="${prev}${p}"
13374
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13377
# The "-l" case would never come before the object being
13378
# linked, so don't bother handling this case.
13381
if test -z "$postdeps_CXX"; then
13382
postdeps_CXX="${prev}${p}"
13384
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13390
# This assumes that the test object file only shows up
13391
# once in the compiler output.
13392
if test "$p" = "conftest.$objext"; then
13393
pre_test_object_deps_done=yes
13397
if test "$pre_test_object_deps_done" = no; then
13398
if test -z "$predep_objects_CXX"; then
13399
predep_objects_CXX="$p"
13401
predep_objects_CXX="$predep_objects_CXX $p"
13404
if test -z "$postdep_objects_CXX"; then
13405
postdep_objects_CXX="$p"
13407
postdep_objects_CXX="$postdep_objects_CXX $p"
13412
*) ;; # Ignore the rest.
13420
echo "libtool.m4: error: problem compiling CXX test program"
13423
$RM -f confest.$objext
13425
# PORTME: override above test on systems where it is broken
13428
# Interix 3.5 installs completely hosed .la files for C++, so rather than
13429
# hack all around it, let's just trust "g++" to DTRT.
13430
predep_objects_CXX=
13431
postdep_objects_CXX=
13436
case `$CC -V 2>&1 | sed 5q` in
13440
# The more standards-conforming stlport4 library is
13441
# incompatible with the Cstd library. Avoid specifying
13442
# it if it's in CXXFLAGS. Ignore libCrun as
13443
# -library=stlport4 depends on it.
13444
case " $CXX $CXXFLAGS " in
13445
*" -library=stlport4 "*)
13446
solaris_use_stlport4=yes
13450
if test "$solaris_use_stlport4" != yes; then
13451
postdeps_CXX='-library=Cstd -library=Crun'
13458
case $cc_basename in
13460
# The more standards-conforming stlport4 library is
13461
# incompatible with the Cstd library. Avoid specifying
13462
# it if it's in CXXFLAGS. Ignore libCrun as
13463
# -library=stlport4 depends on it.
13464
case " $CXX $CXXFLAGS " in
13465
*" -library=stlport4 "*)
13466
solaris_use_stlport4=yes
13470
# Adding this requires a known-good setup of shared libraries for
13471
# Sun compiler versions before 5.6, else PIC objects from an old
13472
# archive will be linked into the output, leading to subtle bugs.
13473
if test "$solaris_use_stlport4" != yes; then
13474
postdeps_CXX='-library=Cstd -library=Crun'
13482
case " $postdeps_CXX " in
13483
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13485
compiler_lib_search_dirs_CXX=
13486
if test -n "${compiler_lib_search_path_CXX}"; then
13487
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13520
lt_prog_compiler_wl_CXX=
13521
lt_prog_compiler_pic_CXX=
13522
lt_prog_compiler_static_CXX=
13524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13525
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13527
# C++ specific cases for pic, static, wl, etc.
13528
if test "$GXX" = yes; then
13529
lt_prog_compiler_wl_CXX='-Wl,'
13530
lt_prog_compiler_static_CXX='-static'
13534
# All AIX code is PIC.
13535
if test "$host_cpu" = ia64; then
13536
# AIX 5 now supports IA64 processor
13537
lt_prog_compiler_static_CXX='-Bstatic'
13544
# see comment about AmigaOS4 .so support
13545
lt_prog_compiler_pic_CXX='-fPIC'
13548
# FIXME: we need at least 68020 code to build shared libraries, but
13549
# adding the `-m68020' flag to GCC prevents building anything better,
13551
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13556
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13557
# PIC is the default for these OSes.
13559
mingw* | cygwin* | os2* | pw32* | cegcc*)
13560
# This hack is so that the source file can tell whether it is being
13561
# built for inclusion in a dll (and should export symbols for example).
13562
# Although the cygwin gcc ignores -fPIC, still need this for old-style
13563
# (--disable-auto-import) libraries
13564
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13566
darwin* | rhapsody*)
13567
# PIC is the default on this platform
13568
# Common symbols not allowed in MH_DYLIB files
13569
lt_prog_compiler_pic_CXX='-fno-common'
13572
# DJGPP does not support shared libraries at all
13573
lt_prog_compiler_pic_CXX=
13576
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
13577
# Instead, we relocate shared libraries at runtime.
13580
if test -d /usr/nec; then
13581
lt_prog_compiler_pic_CXX=-Kconform_pic
13585
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13586
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13587
# sets the default TLS model and affects inlining.
13592
lt_prog_compiler_pic_CXX='-fPIC'
13597
# QNX uses GNU C++, but need to define -shared option too, otherwise
13598
# it will coredump.
13599
lt_prog_compiler_pic_CXX='-fPIC -shared'
13602
lt_prog_compiler_pic_CXX='-fPIC'
13608
# All AIX code is PIC.
13609
if test "$host_cpu" = ia64; then
13610
# AIX 5 now supports IA64 processor
13611
lt_prog_compiler_static_CXX='-Bstatic'
13613
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13617
case $cc_basename in
13619
# Green Hills C++ Compiler
13620
# _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"
13625
case $cc_basename in
13627
lt_prog_compiler_pic_CXX='-KPIC'
13630
# Green Hills C++ Compiler
13631
lt_prog_compiler_pic_CXX='-pic'
13637
freebsd* | dragonfly*)
13638
# FreeBSD uses GNU C++
13640
hpux9* | hpux10* | hpux11*)
13641
case $cc_basename in
13643
lt_prog_compiler_wl_CXX='-Wl,'
13644
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13645
if test "$host_cpu" != ia64; then
13646
lt_prog_compiler_pic_CXX='+Z'
13650
lt_prog_compiler_wl_CXX='-Wl,'
13651
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13657
lt_prog_compiler_pic_CXX='+Z'
13666
# This is c89, which is MS Visual C++ (no shared libs)
13667
# Anyone wants to do a port?
13669
irix5* | irix6* | nonstopux*)
13670
case $cc_basename in
13672
lt_prog_compiler_wl_CXX='-Wl,'
13673
lt_prog_compiler_static_CXX='-non_shared'
13674
# CC pic flag -KPIC is the default.
13680
linux* | k*bsd*-gnu)
13681
case $cc_basename in
13684
lt_prog_compiler_wl_CXX='--backend -Wl,'
13685
lt_prog_compiler_pic_CXX='-fPIC'
13688
# old Intel C++ for x86_64 which still supported -KPIC.
13689
lt_prog_compiler_wl_CXX='-Wl,'
13690
lt_prog_compiler_pic_CXX='-KPIC'
13691
lt_prog_compiler_static_CXX='-static'
13694
# Intel C++, used to be incompatible with GCC.
13695
# ICC 10 doesn't accept -KPIC any more.
13696
lt_prog_compiler_wl_CXX='-Wl,'
13697
lt_prog_compiler_pic_CXX='-fPIC'
13698
lt_prog_compiler_static_CXX='-static'
13701
# Portland Group C++ compiler
13702
lt_prog_compiler_wl_CXX='-Wl,'
13703
lt_prog_compiler_pic_CXX='-fpic'
13704
lt_prog_compiler_static_CXX='-Bstatic'
13708
# Make sure the PIC flag is empty. It appears that all Alpha
13709
# Linux and Compaq Tru64 Unix objects are PIC.
13710
lt_prog_compiler_pic_CXX=
13711
lt_prog_compiler_static_CXX='-non_shared'
13714
# IBM XL 8.0 on PPC
13715
lt_prog_compiler_wl_CXX='-Wl,'
13716
lt_prog_compiler_pic_CXX='-qpic'
13717
lt_prog_compiler_static_CXX='-qstaticlink'
13720
case `$CC -V 2>&1 | sed 5q` in
13723
lt_prog_compiler_pic_CXX='-KPIC'
13724
lt_prog_compiler_static_CXX='-Bstatic'
13725
lt_prog_compiler_wl_CXX='-Qoption ld '
13736
case $cc_basename in
13738
lt_prog_compiler_pic_CXX='-W c,exportall'
13747
# QNX uses GNU C++, but need to define -shared option too, otherwise
13748
# it will coredump.
13749
lt_prog_compiler_pic_CXX='-fPIC -shared'
13751
osf3* | osf4* | osf5*)
13752
case $cc_basename in
13754
lt_prog_compiler_wl_CXX='--backend -Wl,'
13757
# Rational C++ 2.4.1
13758
lt_prog_compiler_pic_CXX='-pic'
13761
# Digital/Compaq C++
13762
lt_prog_compiler_wl_CXX='-Wl,'
13763
# Make sure the PIC flag is empty. It appears that all Alpha
13764
# Linux and Compaq Tru64 Unix objects are PIC.
13765
lt_prog_compiler_pic_CXX=
13766
lt_prog_compiler_static_CXX='-non_shared'
13775
case $cc_basename in
13777
# Sun C++ 4.2, 5.x and Centerline C++
13778
lt_prog_compiler_pic_CXX='-KPIC'
13779
lt_prog_compiler_static_CXX='-Bstatic'
13780
lt_prog_compiler_wl_CXX='-Qoption ld '
13783
# Green Hills C++ Compiler
13784
lt_prog_compiler_pic_CXX='-PIC'
13791
case $cc_basename in
13794
lt_prog_compiler_pic_CXX='-pic'
13795
lt_prog_compiler_static_CXX='-Bstatic'
13799
lt_prog_compiler_pic_CXX='-pic'
13805
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13806
case $cc_basename in
13808
lt_prog_compiler_wl_CXX='-Wl,'
13809
lt_prog_compiler_pic_CXX='-KPIC'
13810
lt_prog_compiler_static_CXX='-Bstatic'
13815
case $cc_basename in
13817
# NonStop-UX NCC 3.20
13818
lt_prog_compiler_pic_CXX='-KPIC'
13827
lt_prog_compiler_can_build_shared_CXX=no
13833
# For platforms which do not support PIC, -DPIC is meaningless:
13835
lt_prog_compiler_pic_CXX=
13838
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13841
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13842
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13847
# Check to make sure the PIC flag actually works.
13849
if test -n "$lt_prog_compiler_pic_CXX"; then
13850
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13851
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13852
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13853
$as_echo_n "(cached) " >&6
13855
lt_cv_prog_compiler_pic_works_CXX=no
13856
ac_outfile=conftest.$ac_objext
13857
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13858
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13859
# Insert the option either (1) after the last *FLAGS variable, or
13860
# (2) before a word containing "conftest.", or (3) at the end.
13861
# Note that $ac_compile itself does not contain backslashes and begins
13862
# with a dollar sign (not a hyphen), so the echo should work correctly.
13863
# The option is referenced via a variable to avoid confusing sed.
13864
lt_compile=`echo "$ac_compile" | $SED \
13865
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13866
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13867
-e 's:$: $lt_compiler_flag:'`
13868
(eval echo "\"\$as_me:13868: $lt_compile\"" >&5)
13869
(eval "$lt_compile" 2>conftest.err)
13871
cat conftest.err >&5
13872
echo "$as_me:13872: \$? = $ac_status" >&5
13873
if (exit $ac_status) && test -s "$ac_outfile"; then
13874
# The compiler can only warn and ignore the option if not recognized
13875
# So say no if there are warnings other than the usual output.
13876
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13877
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13878
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13879
lt_cv_prog_compiler_pic_works_CXX=yes
13885
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13886
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13888
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13889
case $lt_prog_compiler_pic_CXX in
13891
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13894
lt_prog_compiler_pic_CXX=
13895
lt_prog_compiler_can_build_shared_CXX=no
13903
# Check to make sure the static flag actually works.
13905
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13906
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13907
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13908
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13909
$as_echo_n "(cached) " >&6
13911
lt_cv_prog_compiler_static_works_CXX=no
13912
save_LDFLAGS="$LDFLAGS"
13913
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13914
echo "$lt_simple_link_test_code" > conftest.$ac_ext
13915
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13916
# The linker can only warn and ignore the option if not recognized
13917
# So say no if there are warnings
13918
if test -s conftest.err; then
13919
# Append any errors to the config.log.
13920
cat conftest.err 1>&5
13921
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13922
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13923
if diff conftest.exp conftest.er2 >/dev/null; then
13924
lt_cv_prog_compiler_static_works_CXX=yes
13927
lt_cv_prog_compiler_static_works_CXX=yes
13931
LDFLAGS="$save_LDFLAGS"
13934
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13935
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13937
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13940
lt_prog_compiler_static_CXX=
13946
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13947
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13948
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13949
$as_echo_n "(cached) " >&6
13951
lt_cv_prog_compiler_c_o_CXX=no
13952
$RM -r conftest 2>/dev/null
13956
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13958
lt_compiler_flag="-o out/conftest2.$ac_objext"
13959
# Insert the option either (1) after the last *FLAGS variable, or
13960
# (2) before a word containing "conftest.", or (3) at the end.
13961
# Note that $ac_compile itself does not contain backslashes and begins
13962
# with a dollar sign (not a hyphen), so the echo should work correctly.
13963
lt_compile=`echo "$ac_compile" | $SED \
13964
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13965
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13966
-e 's:$: $lt_compiler_flag:'`
13967
(eval echo "\"\$as_me:13967: $lt_compile\"" >&5)
13968
(eval "$lt_compile" 2>out/conftest.err)
13970
cat out/conftest.err >&5
13971
echo "$as_me:13971: \$? = $ac_status" >&5
13972
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13974
# The compiler can only warn and ignore the option if not recognized
13975
# So say no if there are warnings
13976
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13977
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13978
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13979
lt_cv_prog_compiler_c_o_CXX=yes
13984
# SGI C++ compiler will create directory out/ii_files/ for
13985
# template instantiation
13986
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13987
$RM out/* && rmdir out
13993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13994
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13999
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14000
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14001
$as_echo_n "(cached) " >&6
14003
lt_cv_prog_compiler_c_o_CXX=no
14004
$RM -r conftest 2>/dev/null
14008
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14010
lt_compiler_flag="-o out/conftest2.$ac_objext"
14011
# Insert the option either (1) after the last *FLAGS variable, or
14012
# (2) before a word containing "conftest.", or (3) at the end.
14013
# Note that $ac_compile itself does not contain backslashes and begins
14014
# with a dollar sign (not a hyphen), so the echo should work correctly.
14015
lt_compile=`echo "$ac_compile" | $SED \
14016
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14017
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14018
-e 's:$: $lt_compiler_flag:'`
14019
(eval echo "\"\$as_me:14019: $lt_compile\"" >&5)
14020
(eval "$lt_compile" 2>out/conftest.err)
14022
cat out/conftest.err >&5
14023
echo "$as_me:14023: \$? = $ac_status" >&5
14024
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14026
# The compiler can only warn and ignore the option if not recognized
14027
# So say no if there are warnings
14028
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
14029
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14030
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14031
lt_cv_prog_compiler_c_o_CXX=yes
14036
# SGI C++ compiler will create directory out/ii_files/ for
14037
# template instantiation
14038
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14039
$RM out/* && rmdir out
14045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14046
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14051
hard_links="nottested"
14052
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14053
# do not overwrite the value of need_locks provided by the user
14054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14055
$as_echo_n "checking if we can lock with hard links... " >&6; }
14058
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14060
ln conftest.a conftest.b 2>&5 || hard_links=no
14061
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14062
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14063
$as_echo "$hard_links" >&6; }
14064
if test "$hard_links" = no; then
14065
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14066
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14076
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14078
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14081
# If we're using GNU nm, then we don't want the "-C" option.
14082
# -C means demangle to AIX nm, but means don't demangle with GNU nm
14083
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14084
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'
14086
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'
14090
export_symbols_cmds_CXX="$ltdll_cmds"
14092
cygwin* | mingw* | cegcc*)
14093
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'
14096
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14099
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14102
$as_echo "$ld_shlibs_CXX" >&6; }
14103
test "$ld_shlibs_CXX" = no && can_build_shared=no
14105
with_gnu_ld_CXX=$with_gnu_ld
14113
# Do we need to explicitly link libc?
14115
case "x$archive_cmds_need_lc_CXX" in
14117
# Assume -lc should be added
14118
archive_cmds_need_lc_CXX=yes
14120
if test "$enable_shared" = yes && test "$GCC" = yes; then
14121
case $archive_cmds_CXX in
14123
# FIXME: we may have to deal with multi-command sequences.
14126
# Test whether the compiler implicitly links with -lc since on some
14127
# systems, -lgcc has to come before -lc. If gcc already passes -lc
14128
# to ld, don't add -lc before -lgcc.
14129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14130
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14132
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14134
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14135
(eval $ac_compile) 2>&5
14137
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14138
test $ac_status = 0; } 2>conftest.err; then
14141
libobjs=conftest.$ac_objext
14143
wl=$lt_prog_compiler_wl_CXX
14144
pic_flag=$lt_prog_compiler_pic_CXX
14150
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14151
allow_undefined_flag_CXX=
14152
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14153
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14155
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14156
test $ac_status = 0; }
14158
archive_cmds_need_lc_CXX=no
14160
archive_cmds_need_lc_CXX=yes
14162
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14164
cat conftest.err 1>&5
14167
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
14168
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
14238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14239
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14241
library_names_spec=
14242
libname_spec='lib$name'
14246
postuninstall_cmds=
14250
shlibpath_overrides_runpath=unknown
14252
dynamic_linker="$host_os ld.so"
14253
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14254
need_lib_prefix=unknown
14255
hardcode_into_libs=no
14257
# when you set need_version to no, make sure it does not cause -set_version
14258
# flags to be left without arguments
14259
need_version=unknown
14264
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14265
shlibpath_var=LIBPATH
14267
# AIX 3 has no versioning support, so we append a major version to the name.
14268
soname_spec='${libname}${release}${shared_ext}$major'
14275
hardcode_into_libs=yes
14276
if test "$host_cpu" = ia64; then
14277
# AIX 5 supports IA64
14278
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14279
shlibpath_var=LD_LIBRARY_PATH
14281
# With GCC up to 2.95.x, collect2 would create an import file
14282
# for dependence libraries. The import file would start with
14283
# the line `#! .'. This would cause the generated library to
14284
# depend on `.', always an invalid library. This was fixed in
14285
# development snapshots of GCC prior to 3.0.
14287
aix4 | aix4.[01] | aix4.[01].*)
14288
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14290
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14293
can_build_shared=no
14297
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14298
# soname into executable. Probably we can add versioning support to
14299
# collect2, so additional links can be useful in future.
14300
if test "$aix_use_runtimelinking" = yes; then
14301
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
14302
# instead of lib<name>.a to let people know that these are not
14303
# typical AIX shared libraries.
14304
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14306
# We preserve .a as extension for shared libraries through AIX4.2
14307
# and later when we are not doing run time linking.
14308
library_names_spec='${libname}${release}.a $libname.a'
14309
soname_spec='${libname}${release}${shared_ext}$major'
14311
shlibpath_var=LIBPATH
14318
# Since July 2007 AmigaOS4 officially supports .so libraries.
14319
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14320
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14323
library_names_spec='$libname.ixlibrary $libname.a'
14324
# Create ${libname}_ixlibrary.a entries in /sys/libs.
14325
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'
14331
library_names_spec='${libname}${shared_ext}'
14332
dynamic_linker="$host_os ld.so"
14333
shlibpath_var=LIBRARY_PATH
14339
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14340
soname_spec='${libname}${release}${shared_ext}$major'
14341
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14342
shlibpath_var=LD_LIBRARY_PATH
14343
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14344
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14345
# the default ld.so.conf also contains /usr/contrib/lib and
14346
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14347
# libtool to hard-code these into programs
14350
cygwin* | mingw* | pw32* | cegcc*)
14351
version_type=windows
14356
case $GCC,$host_os in
14357
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14358
library_names_spec='$libname.dll.a'
14359
# DLL is installed to $(libdir)/../bin by postinstall_cmds
14360
postinstall_cmds='base_file=`basename \${file}`~
14361
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14362
dldir=$destdir/`dirname \$dlpath`~
14363
test -d \$dldir || mkdir -p \$dldir~
14364
$install_prog $dir/$dlname \$dldir/$dlname~
14365
chmod a+x \$dldir/$dlname~
14366
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14367
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14369
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14370
dlpath=$dir/\$dldll~
14372
shlibpath_overrides_runpath=yes
14376
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
14377
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14378
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14381
# MinGW DLLs use traditional 'lib' prefix
14382
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14383
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14384
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14385
# It is most probably a Windows format PATH printed by
14386
# mingw gcc, but we are running on Cygwin. Gcc prints its search
14387
# path with ; separators, and with drive letters. We can handle the
14388
# drive letters (cygwin fileutils understands them), so leave them,
14389
# especially as we might pass files found there to a mingw objdump,
14390
# which wouldn't understand a cygwinified path. Ahh.
14391
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14393
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14397
# pw32 DLLs use 'pw' prefix rather than 'lib'
14398
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14404
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14407
dynamic_linker='Win32 ld.exe'
14408
# FIXME: first we should search . and the directory the executable is in
14412
darwin* | rhapsody*)
14413
dynamic_linker="$host_os dyld"
14414
version_type=darwin
14417
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14418
soname_spec='${libname}${release}${major}$shared_ext'
14419
shlibpath_overrides_runpath=yes
14420
shlibpath_var=DYLD_LIBRARY_PATH
14421
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14423
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14430
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14431
soname_spec='${libname}${release}${shared_ext}$major'
14432
shlibpath_var=LD_LIBRARY_PATH
14439
freebsd* | dragonfly*)
14440
# DragonFly does not have aout. When/if they implement a new
14441
# versioning mechanism, adjust this.
14442
if test -x /usr/bin/objformat; then
14443
objformat=`/usr/bin/objformat`
14446
freebsd[123]*) objformat=aout ;;
14447
*) objformat=elf ;;
14450
version_type=freebsd-$objformat
14451
case $version_type in
14453
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14458
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14462
shlibpath_var=LD_LIBRARY_PATH
14465
shlibpath_overrides_runpath=yes
14467
freebsd3.[01]* | freebsdelf3.[01]*)
14468
shlibpath_overrides_runpath=yes
14469
hardcode_into_libs=yes
14471
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14472
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14473
shlibpath_overrides_runpath=no
14474
hardcode_into_libs=yes
14476
*) # from 4.6 on, and DragonFly
14477
shlibpath_overrides_runpath=yes
14478
hardcode_into_libs=yes
14487
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14488
soname_spec='${libname}${release}${shared_ext}$major'
14489
shlibpath_var=LD_LIBRARY_PATH
14490
hardcode_into_libs=yes
14493
hpux9* | hpux10* | hpux11*)
14494
# Give a soname corresponding to the major version so that dld.sl refuses to
14495
# link against other versions.
14502
hardcode_into_libs=yes
14503
dynamic_linker="$host_os dld.so"
14504
shlibpath_var=LD_LIBRARY_PATH
14505
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14506
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14507
soname_spec='${libname}${release}${shared_ext}$major'
14508
if test "X$HPUX_IA64_MODE" = X32; then
14509
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14511
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14513
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14517
hardcode_into_libs=yes
14518
dynamic_linker="$host_os dld.sl"
14519
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14520
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14521
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14522
soname_spec='${libname}${release}${shared_ext}$major'
14523
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14524
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14528
dynamic_linker="$host_os dld.sl"
14529
shlibpath_var=SHLIB_PATH
14530
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14531
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14532
soname_spec='${libname}${release}${shared_ext}$major'
14535
# HP-UX runs *really* slowly unless shared libraries are mode 555.
14536
postinstall_cmds='chmod 555 $lib'
14543
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14544
soname_spec='${libname}${release}${shared_ext}$major'
14545
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14546
shlibpath_var=LD_LIBRARY_PATH
14547
shlibpath_overrides_runpath=no
14548
hardcode_into_libs=yes
14551
irix5* | irix6* | nonstopux*)
14553
nonstopux*) version_type=nonstopux ;;
14555
if test "$lt_cv_prog_gnu_ld" = yes; then
14563
soname_spec='${libname}${release}${shared_ext}$major'
14564
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14566
irix5* | nonstopux*)
14567
libsuff= shlibsuff=
14570
case $LD in # libtool.m4 will add one of these switches to LD
14571
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14572
libsuff= shlibsuff= libmagic=32-bit;;
14573
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14574
libsuff=32 shlibsuff=N32 libmagic=N32;;
14575
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14576
libsuff=64 shlibsuff=64 libmagic=64-bit;;
14577
*) libsuff= shlibsuff= libmagic=never-match;;
14581
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14582
shlibpath_overrides_runpath=no
14583
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14584
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14585
hardcode_into_libs=yes
14588
# No shared lib support for Linux oldld, aout, or coff.
14589
linux*oldld* | linux*aout* | linux*coff*)
14593
# This must be Linux ELF.
14594
linux* | k*bsd*-gnu)
14598
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14599
soname_spec='${libname}${release}${shared_ext}$major'
14600
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14601
shlibpath_var=LD_LIBRARY_PATH
14602
shlibpath_overrides_runpath=no
14603
# Some binutils ld are patched to set DT_RUNPATH
14604
save_LDFLAGS=$LDFLAGS
14605
save_libdir=$libdir
14606
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14607
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14608
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14609
/* end confdefs.h. */
14619
if ac_fn_cxx_try_link "$LINENO"; then :
14620
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14621
shlibpath_overrides_runpath=yes
14624
rm -f core conftest.err conftest.$ac_objext \
14625
conftest$ac_exeext conftest.$ac_ext
14626
LDFLAGS=$save_LDFLAGS
14627
libdir=$save_libdir
14629
# This implies no fast_install, which is unacceptable.
14630
# Some rework will be needed to allow for fast_install
14631
# before this can be enabled.
14632
hardcode_into_libs=yes
14634
# Append ld.so.conf contents to the search path
14635
if test -f /etc/ld.so.conf; then
14636
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' ' '`
14637
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14640
# We used to test for /lib/ld.so.1 and disable shared libraries on
14641
# powerpc, because MkLinux only supported shared libraries with the
14642
# GNU dynamic linker. Since this was broken with cross compilers,
14643
# most powerpc-linux boxes support dynamic linking these days and
14644
# people can always --disable-shared, the test was removed, and we
14645
# assume the GNU/Linux dynamic linker is in use.
14646
dynamic_linker='GNU/Linux ld.so'
14653
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14654
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14655
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14656
dynamic_linker='NetBSD (a.out) ld.so'
14658
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14659
soname_spec='${libname}${release}${shared_ext}$major'
14660
dynamic_linker='NetBSD ld.elf_so'
14662
shlibpath_var=LD_LIBRARY_PATH
14663
shlibpath_overrides_runpath=yes
14664
hardcode_into_libs=yes
14669
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14670
shlibpath_var=LD_LIBRARY_PATH
14671
shlibpath_overrides_runpath=yes
14678
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14679
soname_spec='${libname}${release}${shared_ext}$major'
14680
shlibpath_var=LD_LIBRARY_PATH
14681
shlibpath_overrides_runpath=no
14682
hardcode_into_libs=yes
14683
dynamic_linker='ldqnx.so'
14688
sys_lib_dlsearch_path_spec="/usr/lib"
14690
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14692
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14693
*) need_version=no ;;
14695
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14696
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14697
shlibpath_var=LD_LIBRARY_PATH
14698
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14700
openbsd2.[89] | openbsd2.[89].*)
14701
shlibpath_overrides_runpath=no
14704
shlibpath_overrides_runpath=yes
14708
shlibpath_overrides_runpath=yes
14713
libname_spec='$name'
14716
library_names_spec='$libname${shared_ext} $libname.a'
14717
dynamic_linker='OS/2 ld.exe'
14718
shlibpath_var=LIBPATH
14721
osf3* | osf4* | osf5*)
14725
soname_spec='${libname}${release}${shared_ext}$major'
14726
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14727
shlibpath_var=LD_LIBRARY_PATH
14728
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14729
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14740
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14741
soname_spec='${libname}${release}${shared_ext}$major'
14742
shlibpath_var=LD_LIBRARY_PATH
14743
shlibpath_overrides_runpath=yes
14744
hardcode_into_libs=yes
14745
# ldd complains unless libraries are executable
14746
postinstall_cmds='chmod +x $lib'
14751
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14752
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14753
shlibpath_var=LD_LIBRARY_PATH
14754
shlibpath_overrides_runpath=yes
14755
if test "$with_gnu_ld" = yes; then
14763
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14764
soname_spec='${libname}${release}${shared_ext}$major'
14765
shlibpath_var=LD_LIBRARY_PATH
14766
case $host_vendor in
14768
shlibpath_overrides_runpath=no
14770
runpath_var=LD_RUN_PATH
14778
shlibpath_overrides_runpath=no
14779
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14785
if test -d /usr/nec ;then
14787
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14788
soname_spec='$libname${shared_ext}.$major'
14789
shlibpath_var=LD_LIBRARY_PATH
14793
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14794
version_type=freebsd-elf
14797
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14798
soname_spec='${libname}${release}${shared_ext}$major'
14799
shlibpath_var=LD_LIBRARY_PATH
14800
shlibpath_overrides_runpath=yes
14801
hardcode_into_libs=yes
14802
if test "$with_gnu_ld" = yes; then
14803
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14805
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14808
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14812
sys_lib_dlsearch_path_spec='/usr/lib'
14816
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14820
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14821
shlibpath_var=LD_LIBRARY_PATH
14822
shlibpath_overrides_runpath=no
14823
hardcode_into_libs=yes
14828
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14829
soname_spec='${libname}${release}${shared_ext}$major'
14830
shlibpath_var=LD_LIBRARY_PATH
14837
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14838
$as_echo "$dynamic_linker" >&6; }
14839
test "$dynamic_linker" = no && can_build_shared=no
14841
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14842
if test "$GCC" = yes; then
14843
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14846
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14847
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14849
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14850
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14889
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14890
hardcode_action_CXX=
14891
if test -n "$hardcode_libdir_flag_spec_CXX" ||
14892
test -n "$runpath_var_CXX" ||
14893
test "X$hardcode_automatic_CXX" = "Xyes" ; then
14895
# We can hardcode non-existent directories.
14896
if test "$hardcode_direct_CXX" != no &&
14897
# If the only mechanism to avoid hardcoding is shlibpath_var, we
14898
# have to relink, otherwise we might link with an installed library
14899
# when we should be linking with a yet-to-be-installed one
14900
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14901
test "$hardcode_minus_L_CXX" != no; then
14902
# Linking always hardcodes the temporary library directory.
14903
hardcode_action_CXX=relink
14905
# We can link without hardcoding, and we can hardcode nonexisting dirs.
14906
hardcode_action_CXX=immediate
14909
# We cannot hardcode anything, or else we can only hardcode existing
14911
hardcode_action_CXX=unsupported
14913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14914
$as_echo "$hardcode_action_CXX" >&6; }
14916
if test "$hardcode_action_CXX" = relink ||
14917
test "$inherit_rpath_CXX" = yes; then
14918
# Fast installation is not supported
14919
enable_fast_install=no
14920
elif test "$shlibpath_overrides_runpath" = yes ||
14921
test "$enable_shared" = no; then
14922
# Fast installation is not necessary
14923
enable_fast_install=needless
14932
fi # test -n "$compiler"
14938
with_gnu_ld=$lt_save_with_gnu_ld
14939
lt_cv_path_LDCXX=$lt_cv_path_LD
14940
lt_cv_path_LD=$lt_save_path_LD
14941
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14942
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14943
fi # test "$_lt_caught_CXX_error" != yes
14946
ac_cpp='$CPP $CPPFLAGS'
14947
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14948
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14949
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14953
ac_cpp='$CXXCPP $CPPFLAGS'
14954
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14955
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14956
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14957
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14958
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14959
if test -z "$CXXCPP"; then
14960
if test "${ac_cv_prog_CXXCPP+set}" = set; then :
14961
$as_echo_n "(cached) " >&6
14963
# Double quotes because CXXCPP needs to be expanded
14964
for CXXCPP in "$CXX -E" "/lib/cpp"
14966
ac_preproc_ok=false
14967
for ac_cxx_preproc_warn_flag in '' yes
14969
# Use a header file that comes with gcc, so configuring glibc
14970
# with a fresh cross-compiler works.
14971
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14972
# <limits.h> exists even on freestanding compilers.
14973
# On the NeXT, cc -E runs the code through the compiler's parser,
14974
# not just through cpp. "Syntax error" is here to catch this case.
14975
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14976
/* end confdefs.h. */
14978
# include <limits.h>
14980
# include <assert.h>
14984
if ac_fn_cxx_try_cpp "$LINENO"; then :
14987
# Broken: fails on valid input.
14990
rm -f conftest.err conftest.$ac_ext
14992
# OK, works on sane cases. Now check whether nonexistent headers
14993
# can be detected and how.
14994
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14995
/* end confdefs.h. */
14996
#include <ac_nonexistent.h>
14998
if ac_fn_cxx_try_cpp "$LINENO"; then :
14999
# Broken: success on invalid input.
15002
# Passes both tests.
15006
rm -f conftest.err conftest.$ac_ext
15009
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15010
rm -f conftest.err conftest.$ac_ext
15011
if $ac_preproc_ok; then :
15016
ac_cv_prog_CXXCPP=$CXXCPP
15019
CXXCPP=$ac_cv_prog_CXXCPP
15021
ac_cv_prog_CXXCPP=$CXXCPP
15023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
15024
$as_echo "$CXXCPP" >&6; }
15025
ac_preproc_ok=false
15026
for ac_cxx_preproc_warn_flag in '' yes
15028
# Use a header file that comes with gcc, so configuring glibc
15029
# with a fresh cross-compiler works.
15030
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15031
# <limits.h> exists even on freestanding compilers.
15032
# On the NeXT, cc -E runs the code through the compiler's parser,
15033
# not just through cpp. "Syntax error" is here to catch this case.
15034
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15035
/* end confdefs.h. */
15037
# include <limits.h>
15039
# include <assert.h>
15043
if ac_fn_cxx_try_cpp "$LINENO"; then :
15046
# Broken: fails on valid input.
15049
rm -f conftest.err conftest.$ac_ext
15051
# OK, works on sane cases. Now check whether nonexistent headers
15052
# can be detected and how.
15053
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15054
/* end confdefs.h. */
15055
#include <ac_nonexistent.h>
15057
if ac_fn_cxx_try_cpp "$LINENO"; then :
15058
# Broken: success on invalid input.
15061
# Passes both tests.
15065
rm -f conftest.err conftest.$ac_ext
15068
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15069
rm -f conftest.err conftest.$ac_ext
15070
if $ac_preproc_ok; then :
15073
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15074
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15075
as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
15076
See \`config.log' for more details." "$LINENO" 5; }
15080
ac_cpp='$CPP $CPPFLAGS'
15081
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15082
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15083
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15087
ac_cpp='$CXXCPP $CPPFLAGS'
15088
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15089
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15090
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15093
# Checks for libraries.
15094
for ac_func in socket
15096
ac_fn_cxx_check_func "$LINENO" "socket" "ac_cv_func_socket"
15097
if test "x$ac_cv_func_socket" = x""yes; then :
15098
cat >>confdefs.h <<_ACEOF
15099
#define HAVE_SOCKET 1
15106
pkg_modules="gtkmm-2.4 >= 2.6.0 libxml-2.0 >= 2.6.0"
15109
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15110
if test -n "$ac_tool_prefix"; then
15111
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15112
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15114
$as_echo_n "checking for $ac_word... " >&6; }
15115
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
15116
$as_echo_n "(cached) " >&6
15118
case $PKG_CONFIG in
15120
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15123
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15124
for as_dir in $PATH
15127
test -z "$as_dir" && as_dir=.
15128
for ac_exec_ext in '' $ac_executable_extensions; do
15129
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15130
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15131
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15141
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15142
if test -n "$PKG_CONFIG"; then
15143
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15144
$as_echo "$PKG_CONFIG" >&6; }
15146
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15147
$as_echo "no" >&6; }
15152
if test -z "$ac_cv_path_PKG_CONFIG"; then
15153
ac_pt_PKG_CONFIG=$PKG_CONFIG
15154
# Extract the first word of "pkg-config", so it can be a program name with args.
15155
set dummy pkg-config; ac_word=$2
15156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15157
$as_echo_n "checking for $ac_word... " >&6; }
15158
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
15159
$as_echo_n "(cached) " >&6
15161
case $ac_pt_PKG_CONFIG in
15163
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15166
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15167
for as_dir in $PATH
15170
test -z "$as_dir" && as_dir=.
15171
for ac_exec_ext in '' $ac_executable_extensions; do
15172
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15173
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15174
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15184
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15185
if test -n "$ac_pt_PKG_CONFIG"; then
15186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15187
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15189
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15190
$as_echo "no" >&6; }
15193
if test "x$ac_pt_PKG_CONFIG" = x; then
15196
case $cross_compiling:$ac_tool_warned in
15198
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15199
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15200
ac_tool_warned=yes ;;
15202
PKG_CONFIG=$ac_pt_PKG_CONFIG
15205
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15209
if test -n "$PKG_CONFIG"; then
15210
_pkg_min_version=0.9.0
15211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15212
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15213
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15214
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15215
$as_echo "yes" >&6; }
15217
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15218
$as_echo "no" >&6; }
15225
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PACKAGE" >&5
15226
$as_echo_n "checking for PACKAGE... " >&6; }
15228
if test -n "$PACKAGE_CFLAGS"; then
15229
pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
15230
elif test -n "$PKG_CONFIG"; then
15231
if test -n "$PKG_CONFIG" && \
15232
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5
15233
($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
15235
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15236
test $ac_status = 0; }; then
15237
pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null`
15244
if test -n "$PACKAGE_LIBS"; then
15245
pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
15246
elif test -n "$PKG_CONFIG"; then
15247
if test -n "$PKG_CONFIG" && \
15248
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\""; } >&5
15249
($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
15251
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15252
test $ac_status = 0; }; then
15253
pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null`
15263
if test $pkg_failed = yes; then
15265
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15266
_pkg_short_errors_supported=yes
15268
_pkg_short_errors_supported=no
15270
if test $_pkg_short_errors_supported = yes; then
15271
PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$pkg_modules" 2>&1`
15273
PACKAGE_PKG_ERRORS=`$PKG_CONFIG --print-errors "$pkg_modules" 2>&1`
15275
# Put the nasty error message in config.log where it belongs
15276
echo "$PACKAGE_PKG_ERRORS" >&5
15278
as_fn_error "Package requirements ($pkg_modules) were not met:
15280
$PACKAGE_PKG_ERRORS
15282
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15283
installed software in a non-standard prefix.
15285
Alternatively, you may set the environment variables PACKAGE_CFLAGS
15286
and PACKAGE_LIBS to avoid the need to call pkg-config.
15287
See the pkg-config man page for more details.
15289
elif test $pkg_failed = untried; then
15290
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15291
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15292
as_fn_error "The pkg-config script could not be found or is too old. Make sure it
15293
is in your PATH or set the PKG_CONFIG environment variable to the full
15294
path to pkg-config.
15296
Alternatively, you may set the environment variables PACKAGE_CFLAGS
15297
and PACKAGE_LIBS to avoid the need to call pkg-config.
15298
See the pkg-config man page for more details.
15300
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15301
See \`config.log' for more details." "$LINENO" 5; }
15303
PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
15304
PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
15305
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15306
$as_echo "yes" >&6; }
15313
GETTEXT_PACKAGE=gmlive
15316
cat >>confdefs.h <<_ACEOF
15317
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
15323
for ac_header in locale.h
15325
ac_fn_cxx_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
15326
if test "x$ac_cv_header_locale_h" = x""yes; then :
15327
cat >>confdefs.h <<_ACEOF
15328
#define HAVE_LOCALE_H 1
15335
if test $ac_cv_header_locale_h = yes; then
15336
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
15337
$as_echo_n "checking for LC_MESSAGES... " >&6; }
15338
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
15339
$as_echo_n "(cached) " >&6
15341
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15342
/* end confdefs.h. */
15343
#include <locale.h>
15352
if ac_fn_cxx_try_link "$LINENO"; then :
15353
am_cv_val_LC_MESSAGES=yes
15355
am_cv_val_LC_MESSAGES=no
15357
rm -f core conftest.err conftest.$ac_objext \
15358
conftest$ac_exeext conftest.$ac_ext
15360
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
15361
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
15362
if test $am_cv_val_LC_MESSAGES = yes; then
15364
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
15371
gt_cv_have_gettext=no
15377
ac_fn_cxx_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15378
if test "x$ac_cv_header_libintl_h" = x""yes; then :
15379
gt_cv_func_dgettext_libintl="no"
15380
libintl_extra_libs=""
15383
# First check in libc
15385
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
15386
$as_echo_n "checking for ngettext in libc... " >&6; }
15387
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
15388
$as_echo_n "(cached) " >&6
15390
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15391
/* end confdefs.h. */
15393
#include <libintl.h>
15398
return !ngettext ("","", 1)
15403
if ac_fn_cxx_try_link "$LINENO"; then :
15404
gt_cv_func_ngettext_libc=yes
15406
gt_cv_func_ngettext_libc=no
15408
rm -f core conftest.err conftest.$ac_objext \
15409
conftest$ac_exeext conftest.$ac_ext
15412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
15413
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
15415
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
15417
$as_echo_n "checking for dgettext in libc... " >&6; }
15418
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
15419
$as_echo_n "(cached) " >&6
15421
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15422
/* end confdefs.h. */
15424
#include <libintl.h>
15429
return !dgettext ("","")
15434
if ac_fn_cxx_try_link "$LINENO"; then :
15435
gt_cv_func_dgettext_libc=yes
15437
gt_cv_func_dgettext_libc=no
15439
rm -f core conftest.err conftest.$ac_objext \
15440
conftest$ac_exeext conftest.$ac_ext
15443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
15444
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
15447
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15448
for ac_func in bind_textdomain_codeset
15450
ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15451
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
15452
cat >>confdefs.h <<_ACEOF
15453
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
15462
# If we don't have everything we want, check in libintl
15464
if test "$gt_cv_func_dgettext_libc" != "yes" \
15465
|| test "$gt_cv_func_ngettext_libc" != "yes" \
15466
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
15468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
15469
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
15470
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
15471
$as_echo_n "(cached) " >&6
15473
ac_check_lib_save_LIBS=$LIBS
15474
LIBS="-lintl $LIBS"
15475
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15476
/* end confdefs.h. */
15478
/* Override any GCC internal prototype to avoid an error.
15479
Use char because int might match the return type of a GCC
15480
builtin and then its argument prototype would still apply. */
15484
char bindtextdomain ();
15488
return bindtextdomain ();
15493
if ac_fn_cxx_try_link "$LINENO"; then :
15494
ac_cv_lib_intl_bindtextdomain=yes
15496
ac_cv_lib_intl_bindtextdomain=no
15498
rm -f core conftest.err conftest.$ac_objext \
15499
conftest$ac_exeext conftest.$ac_ext
15500
LIBS=$ac_check_lib_save_LIBS
15502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
15503
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
15504
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
15505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15506
$as_echo_n "checking for ngettext in -lintl... " >&6; }
15507
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
15508
$as_echo_n "(cached) " >&6
15510
ac_check_lib_save_LIBS=$LIBS
15511
LIBS="-lintl $LIBS"
15512
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15513
/* end confdefs.h. */
15515
/* Override any GCC internal prototype to avoid an error.
15516
Use char because int might match the return type of a GCC
15517
builtin and then its argument prototype would still apply. */
15525
return ngettext ();
15530
if ac_fn_cxx_try_link "$LINENO"; then :
15531
ac_cv_lib_intl_ngettext=yes
15533
ac_cv_lib_intl_ngettext=no
15535
rm -f core conftest.err conftest.$ac_objext \
15536
conftest$ac_exeext conftest.$ac_ext
15537
LIBS=$ac_check_lib_save_LIBS
15539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15540
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15541
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
15542
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
15543
$as_echo_n "checking for dgettext in -lintl... " >&6; }
15544
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
15545
$as_echo_n "(cached) " >&6
15547
ac_check_lib_save_LIBS=$LIBS
15548
LIBS="-lintl $LIBS"
15549
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15550
/* end confdefs.h. */
15552
/* Override any GCC internal prototype to avoid an error.
15553
Use char because int might match the return type of a GCC
15554
builtin and then its argument prototype would still apply. */
15562
return dgettext ();
15567
if ac_fn_cxx_try_link "$LINENO"; then :
15568
ac_cv_lib_intl_dgettext=yes
15570
ac_cv_lib_intl_dgettext=no
15572
rm -f core conftest.err conftest.$ac_objext \
15573
conftest$ac_exeext conftest.$ac_ext
15574
LIBS=$ac_check_lib_save_LIBS
15576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
15577
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
15578
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
15579
gt_cv_func_dgettext_libintl=yes
15587
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
15588
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
15589
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
15590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
15592
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15593
$as_echo_n "checking for ngettext in -lintl... " >&6; }
15594
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
15595
$as_echo_n "(cached) " >&6
15597
ac_check_lib_save_LIBS=$LIBS
15598
LIBS="-lintl -liconv $LIBS"
15599
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15600
/* end confdefs.h. */
15602
/* Override any GCC internal prototype to avoid an error.
15603
Use char because int might match the return type of a GCC
15604
builtin and then its argument prototype would still apply. */
15612
return ngettext ();
15617
if ac_fn_cxx_try_link "$LINENO"; then :
15618
ac_cv_lib_intl_ngettext=yes
15620
ac_cv_lib_intl_ngettext=no
15622
rm -f core conftest.err conftest.$ac_objext \
15623
conftest$ac_exeext conftest.$ac_ext
15624
LIBS=$ac_check_lib_save_LIBS
15626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15627
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15628
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
15629
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
15630
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
15631
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
15632
$as_echo_n "(cached) " >&6
15634
ac_check_lib_save_LIBS=$LIBS
15635
LIBS="-lintl -liconv $LIBS"
15636
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15637
/* end confdefs.h. */
15639
/* Override any GCC internal prototype to avoid an error.
15640
Use char because int might match the return type of a GCC
15641
builtin and then its argument prototype would still apply. */
15649
return dcgettext ();
15654
if ac_fn_cxx_try_link "$LINENO"; then :
15655
ac_cv_lib_intl_dcgettext=yes
15657
ac_cv_lib_intl_dcgettext=no
15659
rm -f core conftest.err conftest.$ac_objext \
15660
conftest$ac_exeext conftest.$ac_ext
15661
LIBS=$ac_check_lib_save_LIBS
15663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
15664
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
15665
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
15666
gt_cv_func_dgettext_libintl=yes
15667
libintl_extra_libs=-liconv
15679
# If we found libintl, then check in it for bind_textdomain_codeset();
15680
# we'll prefer libc if neither have bind_textdomain_codeset(),
15681
# and both have dgettext and ngettext
15683
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
15684
glib_save_LIBS="$LIBS"
15685
LIBS="$LIBS -lintl $libintl_extra_libs"
15686
unset ac_cv_func_bind_textdomain_codeset
15687
for ac_func in bind_textdomain_codeset
15689
ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15690
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
15691
cat >>confdefs.h <<_ACEOF
15692
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
15698
LIBS="$glib_save_LIBS"
15700
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
15701
gt_cv_func_dgettext_libc=no
15703
if test "$gt_cv_func_dgettext_libc" = "yes" \
15704
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
15705
gt_cv_func_dgettext_libintl=no
15711
if test "$gt_cv_func_dgettext_libc" = "yes" \
15712
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
15713
gt_cv_have_gettext=yes
15716
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
15717
INTLLIBS="-lintl $libintl_extra_libs"
15720
if test "$gt_cv_have_gettext" = "yes"; then
15722
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15724
# Extract the first word of "msgfmt", so it can be a program name with args.
15725
set dummy msgfmt; ac_word=$2
15726
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15727
$as_echo_n "checking for $ac_word... " >&6; }
15728
if test "${ac_cv_path_MSGFMT+set}" = set; then :
15729
$as_echo_n "(cached) " >&6
15733
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15736
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15737
for ac_dir in $PATH; do
15738
test -z "$ac_dir" && ac_dir=.
15739
if test -f $ac_dir/$ac_word; then
15740
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
15741
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
15747
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
15751
MSGFMT="$ac_cv_path_MSGFMT"
15752
if test "$MSGFMT" != "no"; then
15753
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15754
$as_echo "$MSGFMT" >&6; }
15756
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15757
$as_echo "no" >&6; }
15759
if test "$MSGFMT" != "no"; then
15760
glib_save_LIBS="$LIBS"
15761
LIBS="$LIBS $INTLLIBS"
15762
for ac_func in dcgettext
15764
ac_fn_cxx_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
15765
if test "x$ac_cv_func_dcgettext" = x""yes; then :
15766
cat >>confdefs.h <<_ACEOF
15767
#define HAVE_DCGETTEXT 1
15774
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
15775
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
15776
cat >conftest.foo <<_ACEOF
15780
"Content-Type: text/plain; charset=UTF-8\n"
15781
"Project-Id-Version: test 1.0\n"
15782
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
15783
"Last-Translator: test <foo@bar.xx>\n"
15784
"Language-Team: C <LL@li.org>\n"
15785
"MIME-Version: 1.0\n"
15786
"Content-Transfer-Encoding: 8bit\n"
15789
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
15790
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
15792
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15793
test $ac_status = 0; }; then
15794
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15795
$as_echo "yes" >&6; }
15796
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15797
$as_echo "no" >&6; }
15798
echo "$as_me: failed input was:" >&5
15799
sed 's/^/| /' conftest.foo >&5
15802
# Extract the first word of "gmsgfmt", so it can be a program name with args.
15803
set dummy gmsgfmt; ac_word=$2
15804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15805
$as_echo_n "checking for $ac_word... " >&6; }
15806
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
15807
$as_echo_n "(cached) " >&6
15811
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15814
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15815
for as_dir in $PATH
15818
test -z "$as_dir" && as_dir=.
15819
for ac_exec_ext in '' $ac_executable_extensions; do
15820
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15821
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15822
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15829
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15833
GMSGFMT=$ac_cv_path_GMSGFMT
15834
if test -n "$GMSGFMT"; then
15835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15836
$as_echo "$GMSGFMT" >&6; }
15838
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15839
$as_echo "no" >&6; }
15843
# Extract the first word of "xgettext", so it can be a program name with args.
15844
set dummy xgettext; ac_word=$2
15845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15846
$as_echo_n "checking for $ac_word... " >&6; }
15847
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
15848
$as_echo_n "(cached) " >&6
15850
case "$XGETTEXT" in
15852
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15855
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
15856
for ac_dir in $PATH; do
15857
test -z "$ac_dir" && ac_dir=.
15858
if test -f $ac_dir/$ac_word; then
15859
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
15860
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
15866
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
15870
XGETTEXT="$ac_cv_path_XGETTEXT"
15871
if test "$XGETTEXT" != ":"; then
15872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15873
$as_echo "$XGETTEXT" >&6; }
15875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15876
$as_echo "no" >&6; }
15879
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15880
/* end confdefs.h. */
15885
extern int _nl_msg_cat_cntr;
15886
return _nl_msg_cat_cntr
15891
if ac_fn_cxx_try_link "$LINENO"; then :
15897
ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15898
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
15913
rm -f core conftest.err conftest.$ac_objext \
15914
conftest$ac_exeext conftest.$ac_ext
15915
LIBS="$glib_save_LIBS"
15918
gt_cv_have_gettext=no
15926
if test "$gt_cv_have_gettext" = "yes" ; then
15928
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
15932
if test "$XGETTEXT" != ":"; then
15933
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15937
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15942
# We need to process the po/ directory.
15945
ac_config_commands="$ac_config_commands default-1"
15948
for lang in $ALL_LINGUAS; do
15949
GMOFILES="$GMOFILES $lang.gmo"
15950
POFILES="$POFILES $lang.po"
15965
if test "$gt_cv_have_gettext" = "yes"; then
15966
if test "x$ALL_LINGUAS" = "x"; then
15969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15970
$as_echo_n "checking for catalogs to be installed... " >&6; }
15972
for presentlang in $ALL_LINGUAS; do
15974
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15975
desiredlanguages="$LINGUAS"
15977
desiredlanguages="$ALL_LINGUAS"
15979
for desiredlang in $desiredlanguages; do
15980
# Use the presentlang catalog if desiredlang is
15981
# a. equal to presentlang, or
15982
# b. a variant of presentlang (because in this case,
15983
# presentlang can be used as a fallback for messages
15984
# which are not translated in the desiredlang catalog).
15985
case "$desiredlang" in
15986
"$presentlang"*) useit=yes;;
15989
if test $useit = yes; then
15990
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15993
LINGUAS=$NEW_LINGUAS
15994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15995
$as_echo "$LINGUAS" >&6; }
15998
if test -n "$LINGUAS"; then
15999
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
16004
if test -n "$ac_aux_dir"; then
16005
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
16007
if test -z "$MKINSTALLDIRS"; then
16008
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
16012
test -d po || mkdir po
16013
if test "x$srcdir" != "x."; then
16014
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
16015
posrcprefix="$srcdir/"
16017
posrcprefix="../$srcdir/"
16023
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
16024
< $srcdir/po/POTFILES.in > po/POTFILES
16027
ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in data/gmlive.desktop.in data/Makefile"
16029
cat >confcache <<\_ACEOF
16030
# This file is a shell script that caches the results of configure
16031
# tests run on this system so they can be shared between configure
16032
# scripts and configure runs, see configure's option --config-cache.
16033
# It is not useful on other systems. If it contains results you don't
16034
# want to keep, you may remove or edit it.
16036
# config.status only pays attention to the cache file if you give it
16037
# the --recheck option to rerun configure.
16039
# `ac_cv_env_foo' variables (set or unset) will be overridden when
16040
# loading this file, other *unset* `ac_cv_foo' will be assigned the
16041
# following values.
16045
# The following way of writing the cache mishandles newlines in values,
16046
# but we know of no workaround that is simple, portable, and efficient.
16047
# So, we kill variables containing newlines.
16048
# Ultrix sh set writes to stderr and can't be redirected directly,
16049
# and sets the high bit in the cache file unless we assign to the vars.
16051
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16052
eval ac_val=\$$ac_var
16056
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16057
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16060
_ | IFS | as_nl) ;; #(
16061
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16062
*) { eval $ac_var=; unset $ac_var;} ;;
16068
case $as_nl`(ac_space=' '; set) 2>&1` in #(
16069
*${as_nl}ac_space=\ *)
16070
# `set' does not quote correctly, so add quotes: double-quote
16071
# substitution turns \\\\ into \\, and sed turns \\ into \.
16074
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16077
# `set' quotes correctly as required by POSIX, so do not add quotes.
16078
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16087
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16089
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16091
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16092
if test -w "$cache_file"; then
16093
test "x$cache_file" != "x/dev/null" &&
16094
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16095
$as_echo "$as_me: updating cache $cache_file" >&6;}
16096
cat confcache >$cache_file
16098
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16099
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16104
test "x$prefix" = xNONE && prefix=$ac_default_prefix
16105
# Let make expand exec_prefix.
16106
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16108
DEFS=-DHAVE_CONFIG_H
16112
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16113
# 1. Remove the extension, and $U if already installed.
16114
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16115
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16116
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16117
# will be set to the directory where LIBOBJS objects are built.
16118
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16119
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16121
LIBOBJS=$ac_libobjs
16123
LTLIBOBJS=$ac_ltlibobjs
16126
if test -n "$EXEEXT"; then
16128
am__EXEEXT_FALSE='#'
16130
am__EXEEXT_TRUE='#'
16134
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16135
as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
16136
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16138
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16139
as_fn_error "conditional \"AMDEP\" was never defined.
16140
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16142
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16143
as_fn_error "conditional \"am__fastdepCC\" was never defined.
16144
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16147
ac_config_commands="$ac_config_commands po/stamp-it"
16150
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16151
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
16152
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16154
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16155
as_fn_error "conditional \"am__fastdepCXX\" was never defined.
16156
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16159
: ${CONFIG_STATUS=./config.status}
16161
ac_clean_files_save=$ac_clean_files
16162
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16163
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16164
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16166
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16168
# Generated by $as_me.
16169
# Run this file to recreate the current configuration.
16170
# Compiler output produced by configure, useful for debugging
16171
# configure, is in config.log if it exists.
16174
ac_cs_recheck=false
16177
SHELL=\${CONFIG_SHELL-$SHELL}
16180
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16181
## -------------------- ##
16182
## M4sh Initialization. ##
16183
## -------------------- ##
16185
# Be more Bourne compatible
16186
DUALCASE=1; export DUALCASE # for MKS sh
16187
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16190
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16191
# is contrary to our usage. Disable this feature.
16192
alias -g '${1+"$@"}'='"$@"'
16193
setopt NO_GLOB_SUBST
16195
case `(set -o) 2>/dev/null` in #(
16207
# Printing a long string crashes Solaris 7 /usr/bin/printf.
16208
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16209
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16210
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16211
# Prefer a ksh shell builtin over an external printf program on Solaris,
16212
# but without wasting forks for bash or zsh.
16213
if test -z "$BASH_VERSION$ZSH_VERSION" \
16214
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16215
as_echo='print -r --'
16216
as_echo_n='print -rn --'
16217
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16218
as_echo='printf %s\n'
16219
as_echo_n='printf %s'
16221
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16222
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16223
as_echo_n='/usr/ucb/echo -n'
16225
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16226
as_echo_n_body='eval
16230
expr "X$arg" : "X\\(.*\\)$as_nl";
16231
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16233
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16235
export as_echo_n_body
16236
as_echo_n='sh -c $as_echo_n_body as_echo'
16238
export as_echo_body
16239
as_echo='sh -c $as_echo_body as_echo'
16242
# The user is always right.
16243
if test "${PATH_SEPARATOR+set}" != set; then
16245
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16246
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16253
# We need space, tab and new line, in precisely that order. Quoting is
16254
# there to prevent editors from complaining about space-tab.
16255
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16256
# splitting by setting IFS to empty value.)
16259
# Find who we are. Look in the path if we contain no directory separator.
16261
*[\\/]* ) as_myself=$0 ;;
16262
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16263
for as_dir in $PATH
16266
test -z "$as_dir" && as_dir=.
16267
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16273
# We did not find ourselves, most probably we were run as `sh COMMAND'
16274
# in which case we are not to be found in the path.
16275
if test "x$as_myself" = x; then
16278
if test ! -f "$as_myself"; then
16279
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16283
# Unset variables that we do not need and which cause bugs (e.g. in
16284
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16285
# suppresses any "Segmentation fault" message there. '((' could
16286
# trigger a bug in pdksh 5.2.14.
16287
for as_var in BASH_ENV ENV MAIL MAILPATH
16288
do eval test x\${$as_var+set} = xset \
16289
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16302
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16305
# as_fn_error ERROR [LINENO LOG_FD]
16306
# ---------------------------------
16307
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16308
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16309
# script with status $?, using 1 if that was 0.
16312
as_status=$?; test $as_status -eq 0 && as_status=1
16314
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16315
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16317
$as_echo "$as_me: error: $1" >&2
16318
as_fn_exit $as_status
16322
# as_fn_set_status STATUS
16323
# -----------------------
16324
# Set $? to STATUS, without forking.
16325
as_fn_set_status ()
16328
} # as_fn_set_status
16330
# as_fn_exit STATUS
16331
# -----------------
16332
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16336
as_fn_set_status $1
16342
# Portably unset VAR.
16345
{ eval $1=; unset $1;}
16347
as_unset=as_fn_unset
16348
# as_fn_append VAR VALUE
16349
# ----------------------
16350
# Append the text in VALUE to the end of the definition contained in VAR. Take
16351
# advantage of any shell optimizations that allow amortized linear growth over
16352
# repeated appends, instead of the typical quadratic growth present in naive
16354
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16355
eval 'as_fn_append ()
16366
# as_fn_arith ARG...
16367
# ------------------
16368
# Perform arithmetic evaluation on the ARGs, and store the result in the
16369
# global $as_val. Take advantage of shells that can avoid forks. The arguments
16370
# must be portable across $(()) and expr.
16371
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16372
eval 'as_fn_arith ()
16379
as_val=`expr "$@" || test $? -eq 1`
16384
if expr a : '\(a\)' >/dev/null 2>&1 &&
16385
test "X`expr 00001 : '.*\(...\)'`" = X001; then
16391
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16392
as_basename=basename
16397
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16403
as_me=`$as_basename -- "$0" ||
16404
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16405
X"$0" : 'X\(//\)$' \| \
16406
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16408
sed '/^.*\/\([^/][^/]*\)\/*$/{
16422
# Avoid depending upon Character Ranges.
16423
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16424
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16425
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16426
as_cr_digits='0123456789'
16427
as_cr_alnum=$as_cr_Letters$as_cr_digits
16429
ECHO_C= ECHO_N= ECHO_T=
16430
case `echo -n x` in #(((((
16432
case `echo 'xy\c'` in
16433
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
16435
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16442
rm -f conf$$ conf$$.exe conf$$.file
16443
if test -d conf$$.dir; then
16444
rm -f conf$$.dir/conf$$.file
16447
mkdir conf$$.dir 2>/dev/null
16449
if (echo >conf$$.file) 2>/dev/null; then
16450
if ln -s conf$$.file conf$$ 2>/dev/null; then
16452
# ... but there are two gotchas:
16453
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16454
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16455
# In both cases, we have to default to `cp -p'.
16456
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16458
elif ln conf$$.file conf$$ 2>/dev/null; then
16466
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16467
rmdir conf$$.dir 2>/dev/null
16472
# Create "$as_dir" as a directory, including parents if necessary.
16477
-*) as_dir=./$as_dir;;
16479
test -d "$as_dir" || eval $as_mkdir_p || {
16483
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16484
*) as_qdir=$as_dir;;
16486
as_dirs="'$as_qdir' $as_dirs"
16487
as_dir=`$as_dirname -- "$as_dir" ||
16488
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16489
X"$as_dir" : 'X\(//\)[^/]' \| \
16490
X"$as_dir" : 'X\(//\)$' \| \
16491
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16492
$as_echo X"$as_dir" |
16493
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16497
/^X\(\/\/\)[^/].*/{
16510
test -d "$as_dir" && break
16512
test -z "$as_dirs" || eval "mkdir $as_dirs"
16513
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16517
if mkdir -p . 2>/dev/null; then
16518
as_mkdir_p='mkdir -p "$as_dir"'
16520
test -d ./-p && rmdir ./-p
16524
if test -x / >/dev/null 2>&1; then
16525
as_test_x='test -x'
16527
if ls -dL / >/dev/null 2>&1; then
16534
if test -d "$1"; then
16540
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16541
???[sx]*):;;*)false;;esac;fi
16545
as_executable_p=$as_test_x
16547
# Sed expression to map a string onto a valid CPP name.
16548
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16550
# Sed expression to map a string onto a valid variable name.
16551
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16555
## ----------------------------------- ##
16556
## Main body of $CONFIG_STATUS script. ##
16557
## ----------------------------------- ##
16559
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16561
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16562
# Save the log message, to keep $0 and so on meaningful, and to
16563
# report actual input values of CONFIG_FILES etc. instead of their
16564
# values after options handling.
16566
This file was extended by gmlive $as_me 0.22.2, which was
16567
generated by GNU Autoconf 2.64. Invocation command line was
16569
CONFIG_FILES = $CONFIG_FILES
16570
CONFIG_HEADERS = $CONFIG_HEADERS
16571
CONFIG_LINKS = $CONFIG_LINKS
16572
CONFIG_COMMANDS = $CONFIG_COMMANDS
16575
on `(hostname || uname -n) 2>/dev/null | sed 1q`
16580
case $ac_config_files in *"
16581
"*) set x $ac_config_files; shift; ac_config_files=$*;;
16584
case $ac_config_headers in *"
16585
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16589
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16590
# Files that config.status was made for.
16591
config_files="$ac_config_files"
16592
config_headers="$ac_config_headers"
16593
config_commands="$ac_config_commands"
16597
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16599
\`$as_me' instantiates files and other configuration actions
16600
from templates according to the current configuration. Unless the files
16601
and actions are specified as TAGs, all are instantiated by default.
16603
Usage: $0 [OPTION]... [TAG]...
16605
-h, --help print this help, then exit
16606
-V, --version print version number and configuration settings, then exit
16607
-q, --quiet, --silent
16608
do not print progress messages
16609
-d, --debug don't remove temporary files
16610
--recheck update $as_me by reconfiguring in the same conditions
16611
--file=FILE[:TEMPLATE]
16612
instantiate the configuration file FILE
16613
--header=FILE[:TEMPLATE]
16614
instantiate the configuration header FILE
16616
Configuration files:
16619
Configuration headers:
16622
Configuration commands:
16625
Report bugs to <xihels@gmail.com>."
16628
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16630
gmlive config.status 0.22.2
16631
configured by $0, generated by GNU Autoconf 2.64,
16632
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
16634
Copyright (C) 2009 Free Software Foundation, Inc.
16635
This config.status script is free software; the Free Software Foundation
16636
gives unlimited permission to copy, distribute and modify it."
16643
test -n "\$AWK" || AWK=awk
16646
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16647
# The default lists apply if the user does not specify any file.
16653
ac_option=`expr "X$1" : 'X\([^=]*\)='`
16654
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16665
# Handling of the options.
16666
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16668
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16669
$as_echo "$ac_cs_version"; exit ;;
16670
--debug | --debu | --deb | --de | --d | -d )
16672
--file | --fil | --fi | --f )
16675
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16677
as_fn_append CONFIG_FILES " '$ac_optarg'"
16678
ac_need_defaults=false;;
16679
--header | --heade | --head | --hea )
16682
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16684
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16685
ac_need_defaults=false;;
16687
# Conflict between --help and --header
16688
as_fn_error "ambiguous option: \`$1'
16689
Try \`$0 --help' for more information.";;
16690
--help | --hel | -h )
16691
$as_echo "$ac_cs_usage"; exit ;;
16692
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
16693
| -silent | --silent | --silen | --sile | --sil | --si | --s)
16696
# This is an error.
16697
-*) as_fn_error "unrecognized option: \`$1'
16698
Try \`$0 --help' for more information." ;;
16700
*) as_fn_append ac_config_targets " $1"
16701
ac_need_defaults=false ;;
16707
ac_configure_extra_args=
16709
if $ac_cs_silent; then
16711
ac_configure_extra_args="$ac_configure_extra_args --silent"
16715
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16716
if \$ac_cs_recheck; then
16717
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16719
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16720
CONFIG_SHELL='$SHELL'
16721
export CONFIG_SHELL
16726
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16730
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16731
## Running $as_me. ##
16737
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16741
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16744
# The HP-UX ksh and POSIX shell print the target directory to stdout
16745
# if CDPATH is set.
16746
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16748
sed_quote_subst='$sed_quote_subst'
16749
double_quote_subst='$double_quote_subst'
16750
delay_variable_subst='$delay_variable_subst'
16751
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16752
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16753
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16754
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16755
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16756
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16757
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16758
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16759
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16760
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16761
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16762
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16763
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16764
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16765
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16766
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16767
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16768
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16769
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16770
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16771
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16772
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16773
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16774
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16775
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16776
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16777
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16778
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16779
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16780
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16781
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16782
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16783
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16784
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16785
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16786
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16787
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16788
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16789
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16790
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16791
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16792
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16793
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16794
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16795
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"`'
16796
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"`'
16797
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16798
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16799
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16800
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16801
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16802
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16803
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16804
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16805
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16806
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16807
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16808
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16809
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16810
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16811
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16812
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16813
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16814
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16815
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16816
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16817
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16818
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16819
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16820
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16821
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16822
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16823
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16824
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16825
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16826
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16827
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16828
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16829
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16830
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16831
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16832
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16833
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16834
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16835
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16836
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16837
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16838
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16839
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16840
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16841
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16842
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16843
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16844
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16845
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16846
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16847
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16848
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16849
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16850
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16851
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16852
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16853
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16854
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16855
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16856
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16857
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16858
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16859
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16860
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16861
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16862
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16863
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16864
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16865
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16866
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16867
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16868
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16869
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16870
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16871
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16872
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16873
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16874
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16875
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16876
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16877
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16878
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16879
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16880
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16881
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16882
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16883
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16884
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16885
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16886
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16887
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16888
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16889
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16890
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16891
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16892
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16893
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16894
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16895
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16896
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16897
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16898
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16899
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16900
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16901
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16902
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16903
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16904
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16905
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16906
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16907
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16908
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16909
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16910
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16911
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16912
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16913
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16914
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16915
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16916
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16917
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16918
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16919
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16920
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16921
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16924
LTCFLAGS='$LTCFLAGS'
16925
compiler='$compiler_DEFAULT'
16927
# Quote evaled strings.
16939
deplibs_check_method \
16948
lt_cv_sys_global_symbol_pipe \
16949
lt_cv_sys_global_symbol_to_cdecl \
16950
lt_cv_sys_global_symbol_to_c_name_address \
16951
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16954
lt_prog_compiler_no_builtin_flag \
16955
lt_prog_compiler_wl \
16956
lt_prog_compiler_pic \
16957
lt_prog_compiler_static \
16958
lt_cv_prog_compiler_c_o \
16966
export_dynamic_flag_spec \
16967
whole_archive_flag_spec \
16968
compiler_needs_object \
16970
allow_undefined_flag \
16971
no_undefined_flag \
16972
hardcode_libdir_flag_spec \
16973
hardcode_libdir_flag_spec_ld \
16974
hardcode_libdir_separator \
16979
variables_saved_for_relink \
16981
library_names_spec \
16986
compiler_lib_search_dirs \
16991
compiler_lib_search_path \
16994
lt_prog_compiler_no_builtin_flag_CXX \
16995
lt_prog_compiler_wl_CXX \
16996
lt_prog_compiler_pic_CXX \
16997
lt_prog_compiler_static_CXX \
16998
lt_cv_prog_compiler_c_o_CXX \
16999
export_dynamic_flag_spec_CXX \
17000
whole_archive_flag_spec_CXX \
17001
compiler_needs_object_CXX \
17003
allow_undefined_flag_CXX \
17004
no_undefined_flag_CXX \
17005
hardcode_libdir_flag_spec_CXX \
17006
hardcode_libdir_flag_spec_ld_CXX \
17007
hardcode_libdir_separator_CXX \
17008
fix_srcfile_path_CXX \
17009
exclude_expsyms_CXX \
17010
include_expsyms_CXX \
17011
file_list_spec_CXX \
17012
compiler_lib_search_dirs_CXX \
17013
predep_objects_CXX \
17014
postdep_objects_CXX \
17017
compiler_lib_search_path_CXX; do
17018
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17019
*[\\\\\\\`\\"\\\$]*)
17020
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17023
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17028
# Double-quote double-evaled strings.
17029
for var in reload_cmds \
17030
old_postinstall_cmds \
17031
old_postuninstall_cmds \
17033
extract_expsyms_cmds \
17034
old_archive_from_new_cmds \
17035
old_archive_from_expsyms_cmds \
17037
archive_expsym_cmds \
17039
module_expsym_cmds \
17040
export_symbols_cmds \
17043
postuninstall_cmds \
17045
sys_lib_search_path_spec \
17046
sys_lib_dlsearch_path_spec \
17047
old_archive_cmds_CXX \
17048
old_archive_from_new_cmds_CXX \
17049
old_archive_from_expsyms_cmds_CXX \
17051
archive_expsym_cmds_CXX \
17053
module_expsym_cmds_CXX \
17054
export_symbols_cmds_CXX \
17055
prelink_cmds_CXX; do
17056
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
17057
*[\\\\\\\`\\"\\\$]*)
17058
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17061
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17066
# Fix-up fallback echo if it was mangled by the above quoting rules.
17068
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
17072
ac_aux_dir='$ac_aux_dir'
17073
xsi_shell='$xsi_shell'
17074
lt_shell_append='$lt_shell_append'
17076
# See if we are running on zsh, and set the options which allow our
17077
# commands through without removal of \ escapes INIT.
17078
if test -n "\${ZSH_VERSION+set}" ; then
17079
setopt NO_GLOB_SUBST
17085
TIMESTAMP='$TIMESTAMP'
17097
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17099
# Handling of arguments.
17100
for ac_config_target in $ac_config_targets
17102
case $ac_config_target in
17103
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17104
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17105
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17106
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
17107
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17108
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17109
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17110
"data/gmlive.desktop.in") CONFIG_FILES="$CONFIG_FILES data/gmlive.desktop.in" ;;
17111
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
17112
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
17114
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17119
# If the user did not use the arguments to specify the items to instantiate,
17120
# then the envvar interface is used. Set only those that are not.
17121
# We use the long form for the default assignment because of an extremely
17122
# bizarre bug on SunOS 4.1.3.
17123
if $ac_need_defaults; then
17124
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17125
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17126
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17129
# Have a temporary directory for convenience. Make it in the build tree
17130
# simply because there is no reason against having it here, and in addition,
17131
# creating and moving files from /tmp can sometimes cause problems.
17132
# Hook for its removal unless debugging.
17133
# Note that there is a small window in which the directory will not be cleaned:
17134
# after its creation but before its name has been assigned to `$tmp'.
17138
trap 'exit_status=$?
17139
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17141
trap 'as_fn_exit 1' 1 2 13 15
17143
# Create a (secure) tmp directory for tmp files.
17146
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17147
test -n "$tmp" && test -d "$tmp"
17150
tmp=./conf$$-$RANDOM
17151
(umask 077 && mkdir "$tmp")
17152
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
17154
# Set up the scripts for CONFIG_FILES section.
17155
# No need to generate them if there are no CONFIG_FILES.
17156
# This happens for instance with `./config.status config.h'.
17157
if test -n "$CONFIG_FILES"; then
17160
ac_cr=`echo X | tr X '\015'`
17161
# On cygwin, bash can eat \r inside `` if the user requested igncr.
17162
# But we know of no other shell where ac_cr would be empty at this
17163
# point, so we can use a bashism as a fallback.
17164
if test "x$ac_cr" = x; then
17165
eval ac_cr=\$\'\\r\'
17167
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17168
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17171
ac_cs_awk_cr=$ac_cr
17174
echo 'BEGIN {' >"$tmp/subs1.awk" &&
17179
echo "cat >conf$$subs.awk <<_ACEOF" &&
17180
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17182
} >conf$$subs.sh ||
17183
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17184
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17186
for ac_last_try in false false false false false :; do
17187
. ./conf$$subs.sh ||
17188
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17190
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17191
if test $ac_delim_n = $ac_delim_num; then
17193
elif $ac_last_try; then
17194
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
17196
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17199
rm -f conf$$subs.sh
17201
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17202
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
17206
s/^/S["/; s/!.*/"]=/
17216
s/\(.\{148\}\).*/\1/
17218
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17223
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17230
s/\(.\{148\}\).*/\1/
17232
s/["\\]/\\&/g; s/^/"/; s/$/"/
17236
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17241
' <conf$$subs.awk | sed '
17246
' >>$CONFIG_STATUS || ac_write_fail=1
17247
rm -f conf$$subs.awk
17248
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17250
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
17251
for (key in S) S_is_set[key] = 1
17257
nfields = split(line, field, "@")
17259
len = length(field[1])
17260
for (i = 2; i < nfields; i++) {
17262
keylen = length(key)
17263
if (S_is_set[key]) {
17265
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17266
len += length(value) + length(field[++i])
17277
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17278
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17279
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17282
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
17283
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
17286
# VPATH may cause trouble with some makes, so we remove $(srcdir),
17287
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
17288
# trailing colons and then remove the whole line if VPATH becomes empty
17289
# (actually we leave an empty line to preserve line numbers).
17290
if test "x$srcdir" = x.; then
17291
ac_vpsub='/^[ ]*VPATH[ ]*=/{
17292
s/:*\$(srcdir):*/:/
17293
s/:*\${srcdir}:*/:/
17295
s/^\([^=]*=[ ]*\):*/\1/
17301
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17302
fi # test -n "$CONFIG_FILES"
17304
# Set up the scripts for CONFIG_HEADERS section.
17305
# No need to generate them if there are no CONFIG_HEADERS.
17306
# This happens for instance with `./config.status Makefile'.
17307
if test -n "$CONFIG_HEADERS"; then
17308
cat >"$tmp/defines.awk" <<\_ACAWK ||
17312
# Transform confdefs.h into an awk script `defines.awk', embedded as
17313
# here-document in config.status, that substitutes the proper values into
17314
# config.h.in to produce config.h.
17316
# Create a delimiter string that does not exist in confdefs.h, to ease
17317
# handling of long lines.
17319
for ac_last_try in false false :; do
17320
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
17321
if test -z "$ac_t"; then
17323
elif $ac_last_try; then
17324
as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
17326
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17330
# For the awk script, D is an array of macro values keyed by name,
17331
# likewise P contains macro parameters if any. Preserve backslash
17332
# newline sequences.
17334
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17336
s/.\{148\}/&'"$ac_delim"'/g
17339
s/^[ ]*#[ ]*define[ ][ ]*/ /
17346
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17348
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17352
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17353
D["\1"]=" \3\\\\\\n"\\/p
17355
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17360
s/.\{148\}/&'"$ac_delim"'/g
17365
s/["\\]/\\&/g; s/^/"/; s/$/"/p
17368
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17370
' <confdefs.h | sed '
17371
s/'"$ac_delim"'/"\\\
17372
"/g' >>$CONFIG_STATUS || ac_write_fail=1
17374
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17375
for (key in D) D_is_set[key] = 1
17378
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17380
split(line, arg, " ")
17381
if (arg[1] == "#") {
17385
defundef = substr(arg[1], 2)
17388
split(mac1, mac2, "(") #)
17390
prefix = substr(line, 1, index(line, defundef) - 1)
17391
if (D_is_set[macro]) {
17392
# Preserve the white space surrounding the "#".
17393
print prefix "define", macro P[macro] D[macro]
17396
# Replace #undef with comments. This is necessary, for example,
17397
# in the case of _POSIX_SOURCE, which is predefined and required
17398
# on some systems where configure will not decide to define it.
17399
if (defundef == "undef") {
17400
print "/*", prefix defundef, macro, "*/"
17408
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17409
as_fn_error "could not setup config headers machinery" "$LINENO" 5
17410
fi # test -n "$CONFIG_HEADERS"
17413
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17418
:[FHLC]) ac_mode=$ac_tag; continue;;
17420
case $ac_mode$ac_tag in
17422
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
17423
:[FH]-) ac_tag=-:-;;
17424
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17441
-) ac_f="$tmp/stdin";;
17442
*) # Look for the file first in the build tree, then in the source tree
17443
# (if the path is not absolute). The absolute path cannot be DOS-style,
17444
# because $ac_f cannot contain `:'.
17448
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17450
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17452
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17453
as_fn_append ac_file_inputs " '$ac_f'"
17456
# Let's still pretend it is `configure' which instantiates (i.e., don't
17457
# use $as_me), people would be surprised to read:
17458
# /* config.h. Generated by config.status. */
17459
configure_input='Generated from '`
17460
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17462
if test x"$ac_file" != x-; then
17463
configure_input="$ac_file. $configure_input"
17464
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17465
$as_echo "$as_me: creating $ac_file" >&6;}
17467
# Neutralize special characters interpreted by sed in replacement strings.
17468
case $configure_input in #(
17469
*\&* | *\|* | *\\* )
17470
ac_sed_conf_input=`$as_echo "$configure_input" |
17471
sed 's/[\\\\&|]/\\\\&/g'`;; #(
17472
*) ac_sed_conf_input=$configure_input;;
17476
*:-:* | *:-) cat >"$tmp/stdin" \
17477
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
17482
ac_dir=`$as_dirname -- "$ac_file" ||
17483
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17484
X"$ac_file" : 'X\(//\)[^/]' \| \
17485
X"$ac_file" : 'X\(//\)$' \| \
17486
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17487
$as_echo X"$ac_file" |
17488
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17492
/^X\(\/\/\)[^/].*/{
17505
as_dir="$ac_dir"; as_fn_mkdir_p
17509
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17511
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17512
# A ".." for each directory in $ac_dir_suffix.
17513
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17514
case $ac_top_builddir_sub in
17515
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17516
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17519
ac_abs_top_builddir=$ac_pwd
17520
ac_abs_builddir=$ac_pwd$ac_dir_suffix
17521
# for backward compatibility:
17522
ac_top_builddir=$ac_top_build_prefix
17525
.) # We are building in place.
17527
ac_top_srcdir=$ac_top_builddir_sub
17528
ac_abs_top_srcdir=$ac_pwd ;;
17529
[\\/]* | ?:[\\/]* ) # Absolute name.
17530
ac_srcdir=$srcdir$ac_dir_suffix;
17531
ac_top_srcdir=$srcdir
17532
ac_abs_top_srcdir=$srcdir ;;
17533
*) # Relative name.
17534
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17535
ac_top_srcdir=$ac_top_build_prefix$srcdir
17536
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17538
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17548
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17549
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17551
ac_MKDIR_P=$MKDIR_P
17553
[\\/$]* | ?:[\\/]* ) ;;
17554
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17558
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17559
# If the template does not know about datarootdir, expand it.
17560
# FIXME: This hack should be removed a few years after 2.60.
17561
ac_datarootdir_hack=; ac_datarootdir_seen=
17572
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17573
*datarootdir*) ac_datarootdir_seen=yes;;
17574
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17575
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17576
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17578
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17579
ac_datarootdir_hack='
17580
s&@datadir@&$datadir&g
17581
s&@docdir@&$docdir&g
17582
s&@infodir@&$infodir&g
17583
s&@localedir@&$localedir&g
17584
s&@mandir@&$mandir&g
17585
s&\\\${datarootdir}&$datarootdir&g' ;;
17589
# Neutralize VPATH when `$srcdir' = `.'.
17590
# Shell code in configure.ac might set extrasub.
17591
# FIXME: do we really want to maintain this feature?
17592
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17593
ac_sed_extra="$ac_vpsub
17596
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17598
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17599
s|@configure_input@|$ac_sed_conf_input|;t t
17600
s&@top_builddir@&$ac_top_builddir_sub&;t t
17601
s&@top_build_prefix@&$ac_top_build_prefix&;t t
17602
s&@srcdir@&$ac_srcdir&;t t
17603
s&@abs_srcdir@&$ac_abs_srcdir&;t t
17604
s&@top_srcdir@&$ac_top_srcdir&;t t
17605
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17606
s&@builddir@&$ac_builddir&;t t
17607
s&@abs_builddir@&$ac_abs_builddir&;t t
17608
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17609
s&@INSTALL@&$ac_INSTALL&;t t
17610
s&@MKDIR_P@&$ac_MKDIR_P&;t t
17611
$ac_datarootdir_hack
17613
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17614
|| as_fn_error "could not create $ac_file" "$LINENO" 5
17616
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17617
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17618
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17619
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17620
which seems to be undefined. Please make sure it is defined." >&5
17621
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17622
which seems to be undefined. Please make sure it is defined." >&2;}
17626
-) cat "$tmp/out" && rm -f "$tmp/out";;
17627
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17629
|| as_fn_error "could not create $ac_file" "$LINENO" 5
17635
if test x"$ac_file" != x-; then
17637
$as_echo "/* $configure_input */" \
17638
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17639
} >"$tmp/config.h" \
17640
|| as_fn_error "could not create $ac_file" "$LINENO" 5
17641
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17642
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17643
$as_echo "$as_me: $ac_file is unchanged" >&6;}
17646
mv "$tmp/config.h" "$ac_file" \
17647
|| as_fn_error "could not create $ac_file" "$LINENO" 5
17650
$as_echo "/* $configure_input */" \
17651
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17652
|| as_fn_error "could not create -" "$LINENO" 5
17654
# Compute "$ac_file"'s index in $config_headers.
17657
for _am_header in $config_headers :; do
17658
case $_am_header in
17659
$_am_arg | $_am_arg:* )
17662
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
17665
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17666
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17667
X"$_am_arg" : 'X\(//\)[^/]' \| \
17668
X"$_am_arg" : 'X\(//\)$' \| \
17669
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17670
$as_echo X"$_am_arg" |
17671
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17675
/^X\(\/\/\)[^/].*/{
17687
s/.*/./; q'`/stamp-h$_am_stamp_count
17690
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17691
$as_echo "$as_me: executing $ac_file commands" >&6;}
17696
case $ac_file$ac_mode in
17697
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17698
# Autoconf 2.62 quotes --file arguments for eval, but not when files
17699
# are listed without --file. Let's play safe and only enable the eval
17700
# if we detect the quoting.
17701
case $CONFIG_FILES in
17702
*\'*) eval set x "$CONFIG_FILES" ;;
17703
*) set x $CONFIG_FILES ;;
17708
# Strip MF so we end up with the name of the file.
17709
mf=`echo "$mf" | sed -e 's/:.*$//'`
17710
# Check whether this is an Automake generated Makefile or not.
17711
# We used to match only the files named `Makefile.in', but
17712
# some people rename them; so instead we look at the file content.
17713
# Grep'ing the first line is not enough: some people post-process
17714
# each Makefile.in and add a new line on top of each file to say so.
17715
# Grep'ing the whole file is not good either: AIX grep has a line
17716
# limit of 2048, but all sed's we know have understand at least 4000.
17717
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17718
dirpart=`$as_dirname -- "$mf" ||
17719
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17720
X"$mf" : 'X\(//\)[^/]' \| \
17721
X"$mf" : 'X\(//\)$' \| \
17722
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17724
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17728
/^X\(\/\/\)[^/].*/{
17744
# Extract the definition of DEPDIR, am__include, and am__quote
17745
# from the Makefile without running `make'.
17746
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17747
test -z "$DEPDIR" && continue
17748
am__include=`sed -n 's/^am__include = //p' < "$mf"`
17749
test -z "am__include" && continue
17750
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17751
# When using ansi2knr, U may be empty or an underscore; expand it
17752
U=`sed -n 's/^U = //p' < "$mf"`
17753
# Find all dependency output files, they are included files with
17754
# $(DEPDIR) in their names. We invoke sed twice because it is the
17755
# simplest approach to changing $(DEPDIR) to its actual value in the
17757
for file in `sed -n "
17758
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17759
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17760
# Make sure the directory exists.
17761
test -f "$dirpart/$file" && continue
17762
fdir=`$as_dirname -- "$file" ||
17763
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17764
X"$file" : 'X\(//\)[^/]' \| \
17765
X"$file" : 'X\(//\)$' \| \
17766
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17767
$as_echo X"$file" |
17768
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17772
/^X\(\/\/\)[^/].*/{
17785
as_dir=$dirpart/$fdir; as_fn_mkdir_p
17786
# echo "creating $dirpart/$file"
17787
echo '# dummy' > "$dirpart/$file"
17794
# See if we are running on zsh, and set the options which allow our
17795
# commands through without removal of \ escapes.
17796
if test -n "${ZSH_VERSION+set}" ; then
17797
setopt NO_GLOB_SUBST
17800
cfgfile="${ofile}T"
17801
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17804
cat <<_LT_EOF >> "$cfgfile"
17807
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17808
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17809
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17810
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17812
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17813
# 2006, 2007, 2008 Free Software Foundation, Inc.
17814
# Written by Gordon Matzigkeit, 1996
17816
# This file is part of GNU Libtool.
17818
# GNU Libtool is free software; you can redistribute it and/or
17819
# modify it under the terms of the GNU General Public License as
17820
# published by the Free Software Foundation; either version 2 of
17821
# the License, or (at your option) any later version.
17823
# As a special exception to the GNU General Public License,
17824
# if you distribute this file as part of a program or library that
17825
# is built using GNU Libtool, you may include this file under the
17826
# same distribution terms that you use for the rest of that program.
17828
# GNU Libtool is distributed in the hope that it will be useful,
17829
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17830
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17831
# GNU General Public License for more details.
17833
# You should have received a copy of the GNU General Public License
17834
# along with GNU Libtool; see the file COPYING. If not, a copy
17835
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17836
# obtained by writing to the Free Software Foundation, Inc.,
17837
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17840
# The names of the tagged configurations supported by this script.
17841
available_tags="CXX "
17843
# ### BEGIN LIBTOOL CONFIG
17845
# Which release of libtool.m4 was used?
17846
macro_version=$macro_version
17847
macro_revision=$macro_revision
17849
# Whether or not to build shared libraries.
17850
build_libtool_libs=$enable_shared
17852
# Whether or not to build static libraries.
17853
build_old_libs=$enable_static
17855
# What type of objects to build.
17858
# Whether or not to optimize for fast installation.
17859
fast_install=$enable_fast_install
17862
host_alias=$host_alias
17866
# The build system.
17867
build_alias=$build_alias
17871
# A sed program that does not truncate output.
17874
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17875
Xsed="\$SED -e 1s/^X//"
17877
# A grep program that handles long lines.
17883
# A literal string matcher.
17886
# A BSD- or MS-compatible name lister.
17889
# Whether we need soft or hard links.
17892
# What is the maximum length of a command?
17893
max_cmd_len=$max_cmd_len
17895
# Object file suffix (normally "o").
17898
# Executable file suffix (normally "").
17901
# whether the shell understands "unset".
17904
# turn spaces into newlines.
17907
# turn newlines into spaces.
17910
# How to create reloadable object files.
17911
reload_flag=$lt_reload_flag
17912
reload_cmds=$lt_reload_cmds
17914
# An object symbol dumper.
17915
OBJDUMP=$lt_OBJDUMP
17917
# Method to check whether dependent libraries are shared objects.
17918
deplibs_check_method=$lt_deplibs_check_method
17920
# Command to use when deplibs_check_method == "file_magic".
17921
file_magic_cmd=$lt_file_magic_cmd
17925
AR_FLAGS=$lt_AR_FLAGS
17927
# A symbol stripping program.
17930
# Commands used to install an old-style archive.
17932
old_postinstall_cmds=$lt_old_postinstall_cmds
17933
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17938
# LTCC compiler flags.
17939
LTCFLAGS=$lt_CFLAGS
17941
# Take the output of nm and produce a listing of raw symbols and C names.
17942
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17944
# Transform the output of nm in a proper C declaration.
17945
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17947
# Transform the output of nm in a C name address pair.
17948
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17950
# Transform the output of nm in a C name address pair when lib prefix is needed.
17951
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17953
# The name of the directory that contains temporary libtool files.
17956
# Shell to use when invoking shell scripts.
17959
# An echo program that does not interpret backslashes.
17962
# Used to examine libraries when file_magic_cmd begins with "file".
17963
MAGIC_CMD=$MAGIC_CMD
17965
# Must we lock files when doing compilation?
17966
need_locks=$lt_need_locks
17968
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17969
DSYMUTIL=$lt_DSYMUTIL
17971
# Tool to change global to local symbols on Mac OS X.
17974
# Tool to manipulate fat objects and archives on Mac OS X.
17977
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17980
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17981
OTOOL64=$lt_OTOOL64
17983
# Old archive suffix (normally "a").
17986
# Shared library suffix (normally ".so").
17987
shrext_cmds=$lt_shrext_cmds
17989
# The commands to extract the exported symbol list from a shared archive.
17990
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17992
# Variables whose values should be saved in libtool wrapper scripts and
17993
# restored at link time.
17994
variables_saved_for_relink=$lt_variables_saved_for_relink
17996
# Do we need the "lib" prefix for modules?
17997
need_lib_prefix=$need_lib_prefix
17999
# Do we need a version for libraries?
18000
need_version=$need_version
18002
# Library versioning type.
18003
version_type=$version_type
18005
# Shared library runtime path variable.
18006
runpath_var=$runpath_var
18008
# Shared library path variable.
18009
shlibpath_var=$shlibpath_var
18011
# Is shlibpath searched before the hard-coded library search path?
18012
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18014
# Format of library name prefix.
18015
libname_spec=$lt_libname_spec
18017
# List of archive names. First name is the real one, the rest are links.
18018
# The last name is the one that the linker finds with -lNAME
18019
library_names_spec=$lt_library_names_spec
18021
# The coded name of the library, if different from the real name.
18022
soname_spec=$lt_soname_spec
18024
# Command to use after installation of a shared archive.
18025
postinstall_cmds=$lt_postinstall_cmds
18027
# Command to use after uninstallation of a shared archive.
18028
postuninstall_cmds=$lt_postuninstall_cmds
18030
# Commands used to finish a libtool library installation in a directory.
18031
finish_cmds=$lt_finish_cmds
18033
# As "finish_cmds", except a single script fragment to be evaled but
18035
finish_eval=$lt_finish_eval
18037
# Whether we should hardcode library paths into libraries.
18038
hardcode_into_libs=$hardcode_into_libs
18040
# Compile-time system search path for libraries.
18041
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18043
# Run-time system search path for libraries.
18044
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18046
# Whether dlopen is supported.
18047
dlopen_support=$enable_dlopen
18049
# Whether dlopen of programs is supported.
18050
dlopen_self=$enable_dlopen_self
18052
# Whether dlopen of statically linked programs is supported.
18053
dlopen_self_static=$enable_dlopen_self_static
18055
# Commands to strip libraries.
18056
old_striplib=$lt_old_striplib
18057
striplib=$lt_striplib
18060
# The linker used to build libraries.
18063
# Commands used to build an old-style archive.
18064
old_archive_cmds=$lt_old_archive_cmds
18066
# A language specific compiler.
18069
# Is the compiler the GNU compiler?
18072
# Compiler flag to turn off builtin functions.
18073
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18075
# How to pass a linker flag through the compiler.
18076
wl=$lt_lt_prog_compiler_wl
18078
# Additional compiler flags for building library objects.
18079
pic_flag=$lt_lt_prog_compiler_pic
18081
# Compiler flag to prevent dynamic linking.
18082
link_static_flag=$lt_lt_prog_compiler_static
18084
# Does compiler simultaneously support -c and -o options?
18085
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18087
# Whether or not to add -lc for building shared libraries.
18088
build_libtool_need_lc=$archive_cmds_need_lc
18090
# Whether or not to disallow shared libs when runtime libs are static.
18091
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18093
# Compiler flag to allow reflexive dlopens.
18094
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18096
# Compiler flag to generate shared objects directly from archives.
18097
whole_archive_flag_spec=$lt_whole_archive_flag_spec
18099
# Whether the compiler copes with passing no objects directly.
18100
compiler_needs_object=$lt_compiler_needs_object
18102
# Create an old-style archive from a shared archive.
18103
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18105
# Create a temporary old-style archive to link instead of a shared archive.
18106
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18108
# Commands used to build a shared archive.
18109
archive_cmds=$lt_archive_cmds
18110
archive_expsym_cmds=$lt_archive_expsym_cmds
18112
# Commands used to build a loadable module if different from building
18113
# a shared archive.
18114
module_cmds=$lt_module_cmds
18115
module_expsym_cmds=$lt_module_expsym_cmds
18117
# Whether we are building with GNU ld or not.
18118
with_gnu_ld=$lt_with_gnu_ld
18120
# Flag that allows shared libraries with undefined symbols to be built.
18121
allow_undefined_flag=$lt_allow_undefined_flag
18123
# Flag that enforces no undefined symbols.
18124
no_undefined_flag=$lt_no_undefined_flag
18126
# Flag to hardcode \$libdir into a binary during linking.
18127
# This must work even if \$libdir does not exist
18128
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18130
# If ld is used when linking, flag to hardcode \$libdir into a binary
18131
# during linking. This must work even if \$libdir does not exist.
18132
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18134
# Whether we need a single "-rpath" flag with a separated argument.
18135
hardcode_libdir_separator=$lt_hardcode_libdir_separator
18137
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18138
# DIR into the resulting binary.
18139
hardcode_direct=$hardcode_direct
18141
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18142
# DIR into the resulting binary and the resulting library dependency is
18143
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18144
# library is relocated.
18145
hardcode_direct_absolute=$hardcode_direct_absolute
18147
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18148
# into the resulting binary.
18149
hardcode_minus_L=$hardcode_minus_L
18151
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18152
# into the resulting binary.
18153
hardcode_shlibpath_var=$hardcode_shlibpath_var
18155
# Set to "yes" if building a shared library automatically hardcodes DIR
18156
# into the library and all subsequent libraries and executables linked
18158
hardcode_automatic=$hardcode_automatic
18160
# Set to yes if linker adds runtime paths of dependent libraries
18161
# to runtime path list.
18162
inherit_rpath=$inherit_rpath
18164
# Whether libtool must link a program against all its dependency libraries.
18165
link_all_deplibs=$link_all_deplibs
18167
# Fix the shell variable \$srcfile for the compiler.
18168
fix_srcfile_path=$lt_fix_srcfile_path
18170
# Set to "yes" if exported symbols are required.
18171
always_export_symbols=$always_export_symbols
18173
# The commands to list exported symbols.
18174
export_symbols_cmds=$lt_export_symbols_cmds
18176
# Symbols that should not be listed in the preloaded symbols.
18177
exclude_expsyms=$lt_exclude_expsyms
18179
# Symbols that must always be exported.
18180
include_expsyms=$lt_include_expsyms
18182
# Commands necessary for linking programs (against libraries) with templates.
18183
prelink_cmds=$lt_prelink_cmds
18185
# Specify filename containing input files.
18186
file_list_spec=$lt_file_list_spec
18188
# How to hardcode a shared library path into an executable.
18189
hardcode_action=$hardcode_action
18191
# The directories searched by this compiler when creating a shared library.
18192
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18194
# Dependencies to place before and after the objects being linked to
18195
# create a shared library.
18196
predep_objects=$lt_predep_objects
18197
postdep_objects=$lt_postdep_objects
18198
predeps=$lt_predeps
18199
postdeps=$lt_postdeps
18201
# The library search path used internally by the compiler when linking
18202
# a shared library.
18203
compiler_lib_search_path=$lt_compiler_lib_search_path
18205
# ### END LIBTOOL CONFIG
18211
cat <<\_LT_EOF >> "$cfgfile"
18212
# AIX sometimes has problems with the GCC collect2 program. For some
18213
# reason, if we set the COLLECT_NAMES environment variable, the problems
18214
# vanish in a puff of smoke.
18215
if test "X${COLLECT_NAMES+set}" != Xset; then
18217
export COLLECT_NAMES
18224
ltmain="$ac_aux_dir/ltmain.sh"
18227
# We use sed instead of cat because bash on DJGPP gets confused if
18228
# if finds mixed CR/LF and LF-only lines. Since sed operates in
18229
# text mode, it properly converts lines to CR/LF. This bash problem
18230
# is reportedly fixed, but why not run on old versions too?
18231
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
18232
|| (rm -f "$cfgfile"; exit 1)
18236
cat << \_LT_EOF >> "$cfgfile"
18238
# func_dirname file append nondir_replacement
18239
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
18240
# otherwise set result to NONDIR_REPLACEMENT.
18244
*/*) func_dirname_result="${1%/*}${2}" ;;
18245
* ) func_dirname_result="${3}" ;;
18249
# func_basename file
18252
func_basename_result="${1##*/}"
18255
# func_dirname_and_basename file append nondir_replacement
18256
# perform func_basename and func_dirname in a single function
18258
# dirname: Compute the dirname of FILE. If nonempty,
18259
# add APPEND to the result, otherwise set result
18260
# to NONDIR_REPLACEMENT.
18261
# value returned in "$func_dirname_result"
18262
# basename: Compute filename of FILE.
18263
# value retuned in "$func_basename_result"
18264
# Implementation must be kept synchronized with func_dirname
18265
# and func_basename. For efficiency, we do not delegate to
18266
# those functions but instead duplicate the functionality here.
18267
func_dirname_and_basename ()
18270
*/*) func_dirname_result="${1%/*}${2}" ;;
18271
* ) func_dirname_result="${3}" ;;
18273
func_basename_result="${1##*/}"
18276
# func_stripname prefix suffix name
18277
# strip PREFIX and SUFFIX off of NAME.
18278
# PREFIX and SUFFIX must not contain globbing or regex special
18279
# characters, hashes, percent signs, but SUFFIX may contain a leading
18280
# dot (in which case that matches only a dot).
18283
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
18284
# positional parameters, so assign one to ordinary parameter first.
18285
func_stripname_result=${3}
18286
func_stripname_result=${func_stripname_result#"${1}"}
18287
func_stripname_result=${func_stripname_result%"${2}"}
18293
func_opt_split_opt=${1%%=*}
18294
func_opt_split_arg=${1#*=}
18301
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
18302
*) func_lo2o_result=${1} ;;
18306
# func_xform libobj-or-source
18309
func_xform_result=${1%.*}.lo
18312
# func_arith arithmetic-term...
18315
func_arith_result=$(( $* ))
18319
# STRING may not start with a hyphen.
18322
func_len_result=${#1}
18327
*) # Bourne compatible functions.
18328
cat << \_LT_EOF >> "$cfgfile"
18330
# func_dirname file append nondir_replacement
18331
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
18332
# otherwise set result to NONDIR_REPLACEMENT.
18335
# Extract subdirectory from the argument.
18336
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
18337
if test "X$func_dirname_result" = "X${1}"; then
18338
func_dirname_result="${3}"
18340
func_dirname_result="$func_dirname_result${2}"
18344
# func_basename file
18347
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
18351
# func_stripname prefix suffix name
18352
# strip PREFIX and SUFFIX off of NAME.
18353
# PREFIX and SUFFIX must not contain globbing or regex special
18354
# characters, hashes, percent signs, but SUFFIX may contain a leading
18355
# dot (in which case that matches only a dot).
18356
# func_strip_suffix prefix name
18360
.*) func_stripname_result=`$ECHO "X${3}" \
18361
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
18362
*) func_stripname_result=`$ECHO "X${3}" \
18363
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
18368
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
18369
my_sed_long_arg='1s/^-[^=]*=//'
18374
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18375
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18381
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18384
# func_xform libobj-or-source
18387
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18390
# func_arith arithmetic-term...
18393
func_arith_result=`expr "$@"`
18397
# STRING may not start with a hyphen.
18400
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18406
case $lt_shell_append in
18408
cat << \_LT_EOF >> "$cfgfile"
18410
# func_append var value
18411
# Append VALUE to the end of shell variable VAR.
18419
cat << \_LT_EOF >> "$cfgfile"
18421
# func_append var value
18422
# Append VALUE to the end of shell variable VAR.
18433
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18434
|| (rm -f "$cfgfile"; exit 1)
18436
mv -f "$cfgfile" "$ofile" ||
18437
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18441
cat <<_LT_EOF >> "$ofile"
18443
# ### BEGIN LIBTOOL TAG CONFIG: CXX
18445
# The linker used to build libraries.
18448
# Commands used to build an old-style archive.
18449
old_archive_cmds=$lt_old_archive_cmds_CXX
18451
# A language specific compiler.
18452
CC=$lt_compiler_CXX
18454
# Is the compiler the GNU compiler?
18457
# Compiler flag to turn off builtin functions.
18458
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18460
# How to pass a linker flag through the compiler.
18461
wl=$lt_lt_prog_compiler_wl_CXX
18463
# Additional compiler flags for building library objects.
18464
pic_flag=$lt_lt_prog_compiler_pic_CXX
18466
# Compiler flag to prevent dynamic linking.
18467
link_static_flag=$lt_lt_prog_compiler_static_CXX
18469
# Does compiler simultaneously support -c and -o options?
18470
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18472
# Whether or not to add -lc for building shared libraries.
18473
build_libtool_need_lc=$archive_cmds_need_lc_CXX
18475
# Whether or not to disallow shared libs when runtime libs are static.
18476
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18478
# Compiler flag to allow reflexive dlopens.
18479
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18481
# Compiler flag to generate shared objects directly from archives.
18482
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18484
# Whether the compiler copes with passing no objects directly.
18485
compiler_needs_object=$lt_compiler_needs_object_CXX
18487
# Create an old-style archive from a shared archive.
18488
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18490
# Create a temporary old-style archive to link instead of a shared archive.
18491
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18493
# Commands used to build a shared archive.
18494
archive_cmds=$lt_archive_cmds_CXX
18495
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18497
# Commands used to build a loadable module if different from building
18498
# a shared archive.
18499
module_cmds=$lt_module_cmds_CXX
18500
module_expsym_cmds=$lt_module_expsym_cmds_CXX
18502
# Whether we are building with GNU ld or not.
18503
with_gnu_ld=$lt_with_gnu_ld_CXX
18505
# Flag that allows shared libraries with undefined symbols to be built.
18506
allow_undefined_flag=$lt_allow_undefined_flag_CXX
18508
# Flag that enforces no undefined symbols.
18509
no_undefined_flag=$lt_no_undefined_flag_CXX
18511
# Flag to hardcode \$libdir into a binary during linking.
18512
# This must work even if \$libdir does not exist
18513
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18515
# If ld is used when linking, flag to hardcode \$libdir into a binary
18516
# during linking. This must work even if \$libdir does not exist.
18517
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18519
# Whether we need a single "-rpath" flag with a separated argument.
18520
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18522
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18523
# DIR into the resulting binary.
18524
hardcode_direct=$hardcode_direct_CXX
18526
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18527
# DIR into the resulting binary and the resulting library dependency is
18528
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18529
# library is relocated.
18530
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18532
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18533
# into the resulting binary.
18534
hardcode_minus_L=$hardcode_minus_L_CXX
18536
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18537
# into the resulting binary.
18538
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18540
# Set to "yes" if building a shared library automatically hardcodes DIR
18541
# into the library and all subsequent libraries and executables linked
18543
hardcode_automatic=$hardcode_automatic_CXX
18545
# Set to yes if linker adds runtime paths of dependent libraries
18546
# to runtime path list.
18547
inherit_rpath=$inherit_rpath_CXX
18549
# Whether libtool must link a program against all its dependency libraries.
18550
link_all_deplibs=$link_all_deplibs_CXX
18552
# Fix the shell variable \$srcfile for the compiler.
18553
fix_srcfile_path=$lt_fix_srcfile_path_CXX
18555
# Set to "yes" if exported symbols are required.
18556
always_export_symbols=$always_export_symbols_CXX
18558
# The commands to list exported symbols.
18559
export_symbols_cmds=$lt_export_symbols_cmds_CXX
18561
# Symbols that should not be listed in the preloaded symbols.
18562
exclude_expsyms=$lt_exclude_expsyms_CXX
18564
# Symbols that must always be exported.
18565
include_expsyms=$lt_include_expsyms_CXX
18567
# Commands necessary for linking programs (against libraries) with templates.
18568
prelink_cmds=$lt_prelink_cmds_CXX
18570
# Specify filename containing input files.
18571
file_list_spec=$lt_file_list_spec_CXX
18573
# How to hardcode a shared library path into an executable.
18574
hardcode_action=$hardcode_action_CXX
18576
# The directories searched by this compiler when creating a shared library.
18577
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18579
# Dependencies to place before and after the objects being linked to
18580
# create a shared library.
18581
predep_objects=$lt_predep_objects_CXX
18582
postdep_objects=$lt_postdep_objects_CXX
18583
predeps=$lt_predeps_CXX
18584
postdeps=$lt_postdeps_CXX
18586
# The library search path used internally by the compiler when linking
18587
# a shared library.
18588
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18590
# ### END LIBTOOL TAG CONFIG: CXX
18594
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
18595
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
18598
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18599
as_fn_error "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18601
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
18606
'"s|^| $ac_top_srcdir/|" \
18607
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
18609
sed '/^POTFILES =/,/[^\\]$/ {
18613
' "po/Makefile.in" >"po/Makefile"
18614
rm -f "po/Makefile.tmp"
18615
mv "po/stamp-it.tmp" "po/stamp-it"
18624
ac_clean_files=$ac_clean_files_save
18626
test $ac_write_fail = 0 ||
18627
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
18630
# configure is writing to config.log, and then calls config.status.
18631
# config.status does its own redirection, appending to config.log.
18632
# Unfortunately, on DOS this fails, as config.log is still kept open
18633
# by configure, so config.status won't be able to write to it; its
18634
# output is simply discarded. So we exec the FD to /dev/null,
18635
# effectively closing config.log, so it can be properly (re)opened and
18636
# appended to by config.status. When coming back to configure, we
18637
# need to make the FD available again.
18638
if test "$no_create" != yes; then
18640
ac_config_status_args=
18641
test "$silent" = yes &&
18642
ac_config_status_args="$ac_config_status_args --quiet"
18644
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18646
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
18647
# would make configure fail if this is the last instruction.
18648
$ac_cs_success || as_fn_exit $?
18650
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18651
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18652
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}