2
@%:@ Guess values for system-dependent variables and create Makefiles.
3
@%:@ Generated by GNU Autoconf 2.67.
6
@%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
@%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11
@%:@ This configure script is free software; the Free Software Foundation
12
@%:@ gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in @%:@(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
93
*[\\/]* ) as_myself=$0 ;;
94
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98
test -z "$as_dir" && as_dir=.
99
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105
# We did not find ourselves, most probably we were run as `sh COMMAND'
106
# in which case we are not to be found in the path.
107
if test "x$as_myself" = x; then
110
if test ! -f "$as_myself"; then
111
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115
# Unset variables that we do not need and which cause bugs (e.g. in
116
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117
# suppresses any "Segmentation fault" message there. '((' could
118
# trigger a bug in pdksh 5.2.14.
119
for as_var in BASH_ENV ENV MAIL MAILPATH
120
do eval test x\${$as_var+set} = xset \
121
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
if test "x$CONFIG_SHELL" = x; then
137
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
# is contrary to our usage. Disable this feature.
142
alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
case \`(set -o) 2>/dev/null\` in @%:@(
147
set -o posix ;; @%:@(
153
as_required="as_fn_return () { (exit \$1); }
154
as_fn_success () { as_fn_return 0; }
155
as_fn_failure () { as_fn_return 1; }
156
as_fn_ret_success () { return 0; }
157
as_fn_ret_failure () { return 1; }
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
exitcode=1; echo positional parameters were not saved.
169
test x\$exitcode = x0 || exit 1"
170
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174
test \$(( 1 + 1 )) = 2 || exit 1"
175
if (eval "$as_required") 2>/dev/null; then :
180
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188
test -z "$as_dir" && as_dir=.
190
case $as_dir in @%:@(
192
for as_base in sh bash ksh sh5; do
193
# Try only shells that exist, to save several forks.
194
as_shell=$as_dir/$as_base
195
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197
CONFIG_SHELL=$as_shell as_have_required=yes
198
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
206
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208
CONFIG_SHELL=$SHELL as_have_required=yes
213
if test "x$CONFIG_SHELL" != x; then :
214
# We cannot yet assume a decent shell, so we have to provide a
215
# neutralization value for shells without unset; and this also
216
# works around shells that cannot unset nonexistent variables.
219
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224
if test x$as_have_required = xno; then :
225
$as_echo "$0: This script requires a shell more modern than all"
226
$as_echo "$0: the shells that I found on your system."
227
if test x${ZSH_VERSION+set} = xset ; then
228
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
231
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232
$0: including any error possibly output before this
233
$0: message. Then install a modern shell, or manually run
234
$0: the script under such a shell if you do have one."
240
SHELL=${CONFIG_SHELL-/bin/sh}
242
# Unset more variables known to interfere with behavior of common tools.
243
CLICOLOR_FORCE= GREP_OPTIONS=
244
unset CLICOLOR_FORCE GREP_OPTIONS
246
## --------------------- ##
247
## M4sh Shell Functions. ##
248
## --------------------- ##
251
@%:@ Portably unset VAR.
254
{ eval $1=; unset $1;}
258
@%:@ as_fn_set_status STATUS
259
@%:@ -----------------------
260
@%:@ Set @S|@? to STATUS, without forking.
264
} @%:@ as_fn_set_status
266
@%:@ as_fn_exit STATUS
267
@%:@ -----------------
268
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
283
-*) as_dir=./$as_dir;;
285
test -d "$as_dir" || eval $as_mkdir_p || {
289
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292
as_dirs="'$as_qdir' $as_dirs"
293
as_dir=`$as_dirname -- "$as_dir" ||
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295
X"$as_dir" : 'X\(//\)[^/]' \| \
296
X"$as_dir" : 'X\(//\)$' \| \
297
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298
$as_echo X"$as_dir" |
299
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316
test -d "$as_dir" && break
318
test -z "$as_dirs" || eval "mkdir $as_dirs"
319
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
323
@%:@ as_fn_append VAR VALUE
324
@%:@ ----------------------
325
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
326
@%:@ advantage of any shell optimizations that allow amortized linear growth over
327
@%:@ repeated appends, instead of the typical quadratic growth present in naive
328
@%:@ implementations.
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
eval 'as_fn_append ()
341
@%:@ as_fn_arith ARG...
342
@%:@ ------------------
343
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
344
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
345
@%:@ must be portable across @S|@(()) and expr.
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354
as_val=`expr "$@" || test $? -eq 1`
359
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
360
@%:@ ----------------------------------------
361
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
@%:@ script with STATUS, using 1 if that was 0.
366
as_status=$1; test $as_status -eq 0 && as_status=1
368
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371
$as_echo "$as_me: error: $2" >&2
372
as_fn_exit $as_status
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
376
test "X`expr 00001 : '.*\(...\)'`" = X001; then
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394
as_me=`$as_basename -- "$0" ||
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
X"$0" : 'X\(//\)$' \| \
397
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399
sed '/^.*\/\([^/][^/]*\)\/*$/{
413
# Avoid depending upon Character Ranges.
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417
as_cr_digits='0123456789'
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
421
as_lineno_1=$LINENO as_lineno_1a=$LINENO
422
as_lineno_2=$LINENO as_lineno_2a=$LINENO
423
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441
chmod +x "$as_me.lineno" ||
442
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
444
# Don't try to exec as it changes $[0], causing all sort of problems
445
# (the dirname of $[0] is not the place where we might find the
446
# original and so on. Autoconf is especially sensitive to this).
448
# Exit status is that of the last command.
452
ECHO_C= ECHO_N= ECHO_T=
453
case `echo -n x` in @%:@(((((
455
case `echo 'xy\c'` in
456
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
458
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465
rm -f conf$$ conf$$.exe conf$$.file
466
if test -d conf$$.dir; then
467
rm -f conf$$.dir/conf$$.file
470
mkdir conf$$.dir 2>/dev/null
472
if (echo >conf$$.file) 2>/dev/null; then
473
if ln -s conf$$.file conf$$ 2>/dev/null; then
475
# ... but there are two gotchas:
476
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478
# In both cases, we have to default to `cp -p'.
479
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
481
elif ln conf$$.file conf$$ 2>/dev/null; then
489
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
490
rmdir conf$$.dir 2>/dev/null
492
if mkdir -p . 2>/dev/null; then
493
as_mkdir_p='mkdir -p "$as_dir"'
495
test -d ./-p && rmdir ./-p
499
if test -x / >/dev/null 2>&1; then
502
if ls -dL / >/dev/null 2>&1; then
509
if test -d "$1"; then
515
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
516
???[sx]*):;;*)false;;esac;fi
520
as_executable_p=$as_test_x
522
# Sed expression to map a string onto a valid CPP name.
523
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525
# Sed expression to map a string onto a valid variable name.
526
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
530
# Check that we are running under the correct shell.
531
SHELL=${CONFIG_SHELL-/bin/sh}
535
# Remove one level of quotation (which was required for Make).
536
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
541
if test "X$1" = X--no-reexec; then
542
# Discard the --no-reexec flag, and continue.
544
elif test "X$1" = X--fallback-echo; then
545
# Avoid inline document here, it may be left over
547
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
548
# Yippee, $ECHO works!
551
# Restart under the correct shell.
552
exec $SHELL "$0" --no-reexec ${1+"$@"}
555
if test "X$1" = X--fallback-echo; then
556
# used as fallback echo
564
# The HP-UX ksh and POSIX shell print the target directory to stdout
566
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
568
if test -z "$lt_ECHO"; then
569
if test "X${echo_test_string+set}" != Xset; then
570
# find a string as large as possible, as long as the shell can cope with it
571
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
572
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
573
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
574
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
581
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
582
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
583
test "X$echo_testing_string" = "X$echo_test_string"; then
586
# The Solaris, AIX, and Digital Unix default echo programs unquote
587
# backslashes. This makes it impossible to quote backslashes using
588
# echo "$something" | sed 's/\\/\\\\/g'
590
# So, first we look for a working echo in the user's PATH.
592
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
593
for dir in $PATH /usr/ucb; do
595
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
596
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
597
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
598
test "X$echo_testing_string" = "X$echo_test_string"; then
605
if test "X$ECHO" = Xecho; then
606
# We didn't find a better echo, so look for alternatives.
607
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
608
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
609
test "X$echo_testing_string" = "X$echo_test_string"; then
610
# This shell has a builtin print -r that does the trick.
612
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
613
test "X$CONFIG_SHELL" != X/bin/ksh; then
614
# If we have ksh, try running configure again with it.
615
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
616
export ORIGINAL_CONFIG_SHELL
617
CONFIG_SHELL=/bin/ksh
619
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
623
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
624
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
625
test "X$echo_testing_string" = "X$echo_test_string"; then
628
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
629
test "X$echo_testing_string" = 'X\t' &&
630
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
631
test "X$echo_testing_string" = "X$echo_test_string"; then
632
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
634
SHELL="$CONFIG_SHELL"
636
ECHO="$CONFIG_SHELL $0 --fallback-echo"
637
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
638
test "X$echo_testing_string" = 'X\t' &&
639
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
640
test "X$echo_testing_string" = "X$echo_test_string"; then
641
ECHO="$CONFIG_SHELL $0 --fallback-echo"
643
# maybe with a smaller string...
646
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
647
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
654
if test "$prev" != 'sed 50q "$0"'; then
655
echo_test_string=`eval $prev`
656
export echo_test_string
657
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
659
# Oops. We lost completely, so just stick with echo.
668
# Copy echo and quote the copy suitably for passing to libtool from
669
# the Makefile, instead of quoting the original, which is used later.
671
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
672
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
678
test -n "$DJDIR" || exec 7<&0 </dev/null
682
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
683
# so uname gets run too.
684
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
689
ac_default_prefix=/usr/local
691
ac_config_libobj_dir=.
698
# Identity of this package.
706
ac_unique_file="pgm/Makefile.in"
707
# Factoring default headers for most tests.
708
ac_includes_default="\
710
#ifdef HAVE_SYS_TYPES_H
711
# include <sys/types.h>
713
#ifdef HAVE_SYS_STAT_H
714
# include <sys/stat.h>
720
# ifdef HAVE_STDLIB_H
725
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
730
#ifdef HAVE_STRINGS_H
731
# include <strings.h>
733
#ifdef HAVE_INTTYPES_H
734
# include <inttypes.h>
743
ac_subst_vars='am__EXEEXT_FALSE
808
INSTALL_STRIP_PROGRAM
850
program_transform_name
863
enable_option_checking
864
enable_dependency_tracking
872
ac_precious_vars='build_alias
887
# Initialize some variables set by options.
889
ac_init_version=false
890
ac_unrecognized_opts=
892
# The variables have the same names as the options, with
893
# dashes changed to underlines.
901
program_transform_name=s,x,x,
909
# Installation directory options.
910
# These are left unexpanded so users can "make install exec_prefix=/foo"
911
# and all the variables that are supposed to be based on exec_prefix
912
# by default will actually change.
913
# Use braces instead of parens because sh, perl, etc. also accept them.
914
# (The list follows the same order as the GNU Coding Standards.)
915
bindir='${exec_prefix}/bin'
916
sbindir='${exec_prefix}/sbin'
917
libexecdir='${exec_prefix}/libexec'
918
datarootdir='${prefix}/share'
919
datadir='${datarootdir}'
920
sysconfdir='${prefix}/etc'
921
sharedstatedir='${prefix}/com'
922
localstatedir='${prefix}/var'
923
includedir='${prefix}/include'
924
oldincludedir='/usr/include'
925
docdir='${datarootdir}/doc/${PACKAGE}'
926
infodir='${datarootdir}/info'
931
libdir='${exec_prefix}/lib'
932
localedir='${datarootdir}/locale'
933
mandir='${datarootdir}/man'
939
# If the previous option needs an argument, assign it.
940
if test -n "$ac_prev"; then
941
eval $ac_prev=\$ac_option
947
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
952
# Accept the important Cygnus configure options, so we can diagnose typos.
954
case $ac_dashdash$ac_option in
958
-bindir | --bindir | --bindi | --bind | --bin | --bi)
960
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
963
-build | --build | --buil | --bui | --bu)
964
ac_prev=build_alias ;;
965
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
966
build_alias=$ac_optarg ;;
968
-cache-file | --cache-file | --cache-fil | --cache-fi \
969
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
970
ac_prev=cache_file ;;
971
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
972
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
973
cache_file=$ac_optarg ;;
976
cache_file=config.cache ;;
978
-datadir | --datadir | --datadi | --datad)
980
-datadir=* | --datadir=* | --datadi=* | --datad=*)
981
datadir=$ac_optarg ;;
983
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
984
| --dataroo | --dataro | --datar)
985
ac_prev=datarootdir ;;
986
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
987
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
988
datarootdir=$ac_optarg ;;
990
-disable-* | --disable-*)
991
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992
# Reject names that are not valid shell variable names.
993
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994
as_fn_error $? "invalid feature name: $ac_useropt"
995
ac_useropt_orig=$ac_useropt
996
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997
case $ac_user_opts in
1001
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002
ac_unrecognized_sep=', ';;
1004
eval enable_$ac_useropt=no ;;
1006
-docdir | --docdir | --docdi | --doc | --do)
1008
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1009
docdir=$ac_optarg ;;
1011
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1013
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1014
dvidir=$ac_optarg ;;
1016
-enable-* | --enable-*)
1017
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018
# Reject names that are not valid shell variable names.
1019
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020
as_fn_error $? "invalid feature name: $ac_useropt"
1021
ac_useropt_orig=$ac_useropt
1022
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023
case $ac_user_opts in
1025
"enable_$ac_useropt"
1027
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028
ac_unrecognized_sep=', ';;
1030
eval enable_$ac_useropt=\$ac_optarg ;;
1032
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1033
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1034
| --exec | --exe | --ex)
1035
ac_prev=exec_prefix ;;
1036
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1037
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1038
| --exec=* | --exe=* | --ex=*)
1039
exec_prefix=$ac_optarg ;;
1041
-gas | --gas | --ga | --g)
1042
# Obsolete; use --with-gas.
1045
-help | --help | --hel | --he | -h)
1046
ac_init_help=long ;;
1047
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1048
ac_init_help=recursive ;;
1049
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1050
ac_init_help=short ;;
1052
-host | --host | --hos | --ho)
1053
ac_prev=host_alias ;;
1054
-host=* | --host=* | --hos=* | --ho=*)
1055
host_alias=$ac_optarg ;;
1057
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1059
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1061
htmldir=$ac_optarg ;;
1063
-includedir | --includedir | --includedi | --included | --include \
1064
| --includ | --inclu | --incl | --inc)
1065
ac_prev=includedir ;;
1066
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1067
| --includ=* | --inclu=* | --incl=* | --inc=*)
1068
includedir=$ac_optarg ;;
1070
-infodir | --infodir | --infodi | --infod | --info | --inf)
1072
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1073
infodir=$ac_optarg ;;
1075
-libdir | --libdir | --libdi | --libd)
1077
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1078
libdir=$ac_optarg ;;
1080
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1081
| --libexe | --libex | --libe)
1082
ac_prev=libexecdir ;;
1083
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1084
| --libexe=* | --libex=* | --libe=*)
1085
libexecdir=$ac_optarg ;;
1087
-localedir | --localedir | --localedi | --localed | --locale)
1088
ac_prev=localedir ;;
1089
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1090
localedir=$ac_optarg ;;
1092
-localstatedir | --localstatedir | --localstatedi | --localstated \
1093
| --localstate | --localstat | --localsta | --localst | --locals)
1094
ac_prev=localstatedir ;;
1095
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1096
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1097
localstatedir=$ac_optarg ;;
1099
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1101
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1102
mandir=$ac_optarg ;;
1104
-nfp | --nfp | --nf)
1105
# Obsolete; use --without-fp.
1108
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1109
| --no-cr | --no-c | -n)
1112
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1113
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1116
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1117
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1118
| --oldin | --oldi | --old | --ol | --o)
1119
ac_prev=oldincludedir ;;
1120
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1121
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1122
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1123
oldincludedir=$ac_optarg ;;
1125
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1127
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1128
prefix=$ac_optarg ;;
1130
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1131
| --program-pre | --program-pr | --program-p)
1132
ac_prev=program_prefix ;;
1133
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1134
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1135
program_prefix=$ac_optarg ;;
1137
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1138
| --program-suf | --program-su | --program-s)
1139
ac_prev=program_suffix ;;
1140
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1141
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1142
program_suffix=$ac_optarg ;;
1144
-program-transform-name | --program-transform-name \
1145
| --program-transform-nam | --program-transform-na \
1146
| --program-transform-n | --program-transform- \
1147
| --program-transform | --program-transfor \
1148
| --program-transfo | --program-transf \
1149
| --program-trans | --program-tran \
1150
| --progr-tra | --program-tr | --program-t)
1151
ac_prev=program_transform_name ;;
1152
-program-transform-name=* | --program-transform-name=* \
1153
| --program-transform-nam=* | --program-transform-na=* \
1154
| --program-transform-n=* | --program-transform-=* \
1155
| --program-transform=* | --program-transfor=* \
1156
| --program-transfo=* | --program-transf=* \
1157
| --program-trans=* | --program-tran=* \
1158
| --progr-tra=* | --program-tr=* | --program-t=*)
1159
program_transform_name=$ac_optarg ;;
1161
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1163
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1164
pdfdir=$ac_optarg ;;
1166
-psdir | --psdir | --psdi | --psd | --ps)
1168
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1171
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1172
| -silent | --silent | --silen | --sile | --sil)
1175
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1177
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1179
sbindir=$ac_optarg ;;
1181
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1182
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1183
| --sharedst | --shareds | --shared | --share | --shar \
1185
ac_prev=sharedstatedir ;;
1186
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1187
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1188
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1190
sharedstatedir=$ac_optarg ;;
1192
-site | --site | --sit)
1194
-site=* | --site=* | --sit=*)
1197
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1199
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1200
srcdir=$ac_optarg ;;
1202
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1203
| --syscon | --sysco | --sysc | --sys | --sy)
1204
ac_prev=sysconfdir ;;
1205
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1206
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1207
sysconfdir=$ac_optarg ;;
1209
-target | --target | --targe | --targ | --tar | --ta | --t)
1210
ac_prev=target_alias ;;
1211
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1212
target_alias=$ac_optarg ;;
1214
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1217
-version | --version | --versio | --versi | --vers | -V)
1218
ac_init_version=: ;;
1221
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222
# Reject names that are not valid shell variable names.
1223
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1224
as_fn_error $? "invalid package name: $ac_useropt"
1225
ac_useropt_orig=$ac_useropt
1226
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227
case $ac_user_opts in
1231
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232
ac_unrecognized_sep=', ';;
1234
eval with_$ac_useropt=\$ac_optarg ;;
1236
-without-* | --without-*)
1237
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238
# Reject names that are not valid shell variable names.
1239
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1240
as_fn_error $? "invalid package name: $ac_useropt"
1241
ac_useropt_orig=$ac_useropt
1242
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243
case $ac_user_opts in
1247
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248
ac_unrecognized_sep=', ';;
1250
eval with_$ac_useropt=no ;;
1253
# Obsolete; use --with-x.
1256
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1257
| --x-incl | --x-inc | --x-in | --x-i)
1258
ac_prev=x_includes ;;
1259
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1260
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1261
x_includes=$ac_optarg ;;
1263
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1264
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1265
ac_prev=x_libraries ;;
1266
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1267
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1268
x_libraries=$ac_optarg ;;
1270
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1271
Try \`$0 --help' for more information"
1275
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1276
# Reject names that are not valid shell variable names.
1277
case $ac_envvar in #(
1278
'' | [0-9]* | *[!_$as_cr_alnum]* )
1279
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1281
eval $ac_envvar=\$ac_optarg
1282
export $ac_envvar ;;
1285
# FIXME: should be removed in autoconf 3.0.
1286
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1288
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1295
if test -n "$ac_prev"; then
1296
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1297
as_fn_error $? "missing argument to $ac_option"
1300
if test -n "$ac_unrecognized_opts"; then
1301
case $enable_option_checking in
1303
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1304
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1308
# Check all directory arguments for consistency.
1309
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310
datadir sysconfdir sharedstatedir localstatedir includedir \
1311
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312
libdir localedir mandir
1314
eval ac_val=\$$ac_var
1315
# Remove trailing slashes.
1318
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319
eval $ac_var=\$ac_val;;
1321
# Be sure to have absolute directory names.
1323
[\\/$]* | ?:[\\/]* ) continue;;
1324
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1326
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1329
# There might be people who depend on the old broken behavior: `$host'
1330
# used to hold the argument of --host etc.
1331
# FIXME: To remove some day.
1334
target=$target_alias
1336
# FIXME: To remove some day.
1337
if test "x$host_alias" != x; then
1338
if test "x$build_alias" = x; then
1339
cross_compiling=maybe
1340
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1341
If a cross compiler is detected then cross compile mode will be used" >&2
1342
elif test "x$build_alias" != "x$host_alias"; then
1348
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1350
test "$silent" = yes && exec 6>/dev/null
1353
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1354
ac_ls_di=`ls -di .` &&
1355
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1356
as_fn_error $? "working directory cannot be determined"
1357
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358
as_fn_error $? "pwd does not report name of working directory"
1361
# Find the source files, if location was not specified.
1362
if test -z "$srcdir"; then
1363
ac_srcdir_defaulted=yes
1364
# Try the directory containing this script, then the parent directory.
1365
ac_confdir=`$as_dirname -- "$as_myself" ||
1366
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367
X"$as_myself" : 'X\(//\)[^/]' \| \
1368
X"$as_myself" : 'X\(//\)$' \| \
1369
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1370
$as_echo X"$as_myself" |
1371
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1389
if test ! -r "$srcdir/$ac_unique_file"; then
1393
ac_srcdir_defaulted=no
1395
if test ! -r "$srcdir/$ac_unique_file"; then
1396
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1397
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1399
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1401
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1403
# When building in place, set srcdir=.
1404
if test "$ac_abs_confdir" = "$ac_pwd"; then
1407
# Remove unnecessary trailing slashes from srcdir.
1408
# Double slashes in file names in object file debugging info
1409
# mess up M-x gdb in Emacs.
1411
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1413
for ac_var in $ac_precious_vars; do
1414
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1415
eval ac_env_${ac_var}_value=\$${ac_var}
1416
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1417
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1421
# Report the --help message.
1423
if test "$ac_init_help" = "long"; then
1424
# Omit some internal or obsolete options to make the list less imposing.
1425
# This message is too long to be a string in the A/UX 3.1 sh.
1427
\`configure' configures this package to adapt to many kinds of systems.
1429
Usage: $0 [OPTION]... [VAR=VALUE]...
1431
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432
VAR=VALUE. See below for descriptions of some of the useful variables.
1434
Defaults for the options are specified in brackets.
1437
-h, --help display this help and exit
1438
--help=short display options specific to this package
1439
--help=recursive display the short help of all the included packages
1440
-V, --version display version information and exit
1441
-q, --quiet, --silent do not print \`checking ...' messages
1442
--cache-file=FILE cache test results in FILE [disabled]
1443
-C, --config-cache alias for \`--cache-file=config.cache'
1444
-n, --no-create do not create output files
1445
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1447
Installation directories:
1448
--prefix=PREFIX install architecture-independent files in PREFIX
1449
@<:@@S|@ac_default_prefix@:>@
1450
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1453
By default, \`make install' will install all the files in
1454
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1455
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456
for instance \`--prefix=\$HOME'.
1458
For better control, use the options below.
1460
Fine tuning of the installation directories:
1461
--bindir=DIR user executables [EPREFIX/bin]
1462
--sbindir=DIR system admin executables [EPREFIX/sbin]
1463
--libexecdir=DIR program executables [EPREFIX/libexec]
1464
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1465
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1466
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1467
--libdir=DIR object code libraries [EPREFIX/lib]
1468
--includedir=DIR C header files [PREFIX/include]
1469
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1470
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1471
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1472
--infodir=DIR info documentation [DATAROOTDIR/info]
1473
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1474
--mandir=DIR man documentation [DATAROOTDIR/man]
1475
--docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
1476
--htmldir=DIR html documentation [DOCDIR]
1477
--dvidir=DIR dvi documentation [DOCDIR]
1478
--pdfdir=DIR pdf documentation [DOCDIR]
1479
--psdir=DIR ps documentation [DOCDIR]
1485
--program-prefix=PREFIX prepend PREFIX to installed program names
1486
--program-suffix=SUFFIX append SUFFIX to installed program names
1487
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1490
--build=BUILD configure for building on BUILD [guessed]
1491
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1495
if test -n "$ac_init_help"; then
1500
--disable-option-checking ignore unrecognized --enable/--with options
1501
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1502
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1503
--disable-dependency-tracking speeds up one-time build
1504
--enable-dependency-tracking do not reject slow dependency extractors
1505
--enable-shared@<:@=PKGS@:>@ build shared libraries @<:@default=yes@:>@
1506
--enable-static@<:@=PKGS@:>@ build static libraries @<:@default=yes@:>@
1507
--enable-fast-install@<:@=PKGS@:>@
1508
optimize for fast installation @<:@default=yes@:>@
1509
--disable-libtool-lock avoid locking (might break parallel builds)
1512
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1513
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1514
--with-pic try to use only PIC/non-PIC objects @<:@default=use
1516
--with-gnu-ld assume the C compiler uses GNU ld @<:@default=no@:>@
1518
Some influential environment variables:
1519
CC C compiler command
1520
CFLAGS C compiler flags
1521
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1522
nonstandard directory <lib dir>
1523
LIBS libraries to pass to the linker, e.g. -l<library>
1524
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1525
you have headers in a nonstandard directory <include dir>
1526
CXX C++ compiler command
1527
CXXFLAGS C++ compiler flags
1529
CXXCPP C++ preprocessor
1531
Use these variables to override the choices made by `configure' or to help
1532
it to find libraries and programs with nonstandard names/locations.
1534
Report bugs to the package provider.
1539
if test "$ac_init_help" = "recursive"; then
1540
# If there are subdirs, report their specific --help.
1541
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1542
test -d "$ac_dir" ||
1543
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1548
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1550
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1551
# A ".." for each directory in $ac_dir_suffix.
1552
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1553
case $ac_top_builddir_sub in
1554
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1555
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1558
ac_abs_top_builddir=$ac_pwd
1559
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1560
# for backward compatibility:
1561
ac_top_builddir=$ac_top_build_prefix
1564
.) # We are building in place.
1566
ac_top_srcdir=$ac_top_builddir_sub
1567
ac_abs_top_srcdir=$ac_pwd ;;
1568
[\\/]* | ?:[\\/]* ) # Absolute name.
1569
ac_srcdir=$srcdir$ac_dir_suffix;
1570
ac_top_srcdir=$srcdir
1571
ac_abs_top_srcdir=$srcdir ;;
1573
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1574
ac_top_srcdir=$ac_top_build_prefix$srcdir
1575
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1577
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1579
cd "$ac_dir" || { ac_status=$?; continue; }
1580
# Check for guested configure.
1581
if test -f "$ac_srcdir/configure.gnu"; then
1583
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1584
elif test -f "$ac_srcdir/configure"; then
1586
$SHELL "$ac_srcdir/configure" --help=recursive
1588
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1590
cd "$ac_pwd" || { ac_status=$?; break; }
1594
test -n "$ac_init_help" && exit $ac_status
1595
if $ac_init_version; then
1598
generated by GNU Autoconf 2.67
1600
Copyright (C) 2010 Free Software Foundation, Inc.
1601
This configure script is free software; the Free Software Foundation
1602
gives unlimited permission to copy, distribute and modify it.
1607
## ------------------------ ##
1608
## Autoconf initialization. ##
1609
## ------------------------ ##
1611
@%:@ ac_fn_c_try_compile LINENO
1612
@%:@ --------------------------
1613
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1614
ac_fn_c_try_compile ()
1616
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617
rm -f conftest.$ac_objext
1618
if { { ac_try="$ac_compile"
1620
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1621
*) ac_try_echo=$ac_try;;
1623
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624
$as_echo "$ac_try_echo"; } >&5
1625
(eval "$ac_compile") 2>conftest.err
1627
if test -s conftest.err; then
1628
grep -v '^ *+' conftest.err >conftest.er1
1629
cat conftest.er1 >&5
1630
mv -f conftest.er1 conftest.err
1632
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633
test $ac_status = 0; } && {
1634
test -z "$ac_c_werror_flag" ||
1635
test ! -s conftest.err
1636
} && test -s conftest.$ac_objext; then :
1639
$as_echo "$as_me: failed program was:" >&5
1640
sed 's/^/| /' conftest.$ac_ext >&5
1644
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1645
as_fn_set_status $ac_retval
1647
} @%:@ ac_fn_c_try_compile
1649
@%:@ ac_fn_cxx_try_compile LINENO
1650
@%:@ ----------------------------
1651
@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1652
ac_fn_cxx_try_compile ()
1654
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655
rm -f conftest.$ac_objext
1656
if { { ac_try="$ac_compile"
1658
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1659
*) ac_try_echo=$ac_try;;
1661
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662
$as_echo "$ac_try_echo"; } >&5
1663
(eval "$ac_compile") 2>conftest.err
1665
if test -s conftest.err; then
1666
grep -v '^ *+' conftest.err >conftest.er1
1667
cat conftest.er1 >&5
1668
mv -f conftest.er1 conftest.err
1670
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671
test $ac_status = 0; } && {
1672
test -z "$ac_cxx_werror_flag" ||
1673
test ! -s conftest.err
1674
} && test -s conftest.$ac_objext; then :
1677
$as_echo "$as_me: failed program was:" >&5
1678
sed 's/^/| /' conftest.$ac_ext >&5
1682
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1683
as_fn_set_status $ac_retval
1685
} @%:@ ac_fn_cxx_try_compile
1687
@%:@ ac_fn_c_try_cpp LINENO
1688
@%:@ ----------------------
1689
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1692
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693
if { { ac_try="$ac_cpp conftest.$ac_ext"
1695
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696
*) ac_try_echo=$ac_try;;
1698
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699
$as_echo "$ac_try_echo"; } >&5
1700
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1702
if test -s conftest.err; then
1703
grep -v '^ *+' conftest.err >conftest.er1
1704
cat conftest.er1 >&5
1705
mv -f conftest.er1 conftest.err
1707
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708
test $ac_status = 0; } > conftest.i && {
1709
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1710
test ! -s conftest.err
1714
$as_echo "$as_me: failed program was:" >&5
1715
sed 's/^/| /' conftest.$ac_ext >&5
1719
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1720
as_fn_set_status $ac_retval
1722
} @%:@ ac_fn_c_try_cpp
1724
@%:@ ac_fn_c_try_link LINENO
1725
@%:@ -----------------------
1726
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1729
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1730
rm -f conftest.$ac_objext conftest$ac_exeext
1731
if { { ac_try="$ac_link"
1733
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734
*) ac_try_echo=$ac_try;;
1736
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737
$as_echo "$ac_try_echo"; } >&5
1738
(eval "$ac_link") 2>conftest.err
1740
if test -s conftest.err; then
1741
grep -v '^ *+' conftest.err >conftest.er1
1742
cat conftest.er1 >&5
1743
mv -f conftest.er1 conftest.err
1745
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746
test $ac_status = 0; } && {
1747
test -z "$ac_c_werror_flag" ||
1748
test ! -s conftest.err
1749
} && test -s conftest$ac_exeext && {
1750
test "$cross_compiling" = yes ||
1751
$as_test_x conftest$ac_exeext
1755
$as_echo "$as_me: failed program was:" >&5
1756
sed 's/^/| /' conftest.$ac_ext >&5
1760
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1761
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1762
# interfere with the next link command; also delete a directory that is
1763
# left behind by Apple's compiler. We do this before executing the actions.
1764
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1765
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1766
as_fn_set_status $ac_retval
1768
} @%:@ ac_fn_c_try_link
1770
@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1771
@%:@ -------------------------------------------------------
1772
@%:@ Tests whether HEADER exists and can be compiled using the include files in
1773
@%:@ INCLUDES, setting the cache variable VAR accordingly.
1774
ac_fn_c_check_header_compile ()
1776
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1778
$as_echo_n "checking for $2... " >&6; }
1779
if eval "test \"\${$3+set}\"" = set; then :
1780
$as_echo_n "(cached) " >&6
1782
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1783
/* end confdefs.h. */
1787
if ac_fn_c_try_compile "$LINENO"; then :
1792
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1796
$as_echo "$ac_res" >&6; }
1797
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1799
} @%:@ ac_fn_c_check_header_compile
1801
@%:@ ac_fn_c_try_run LINENO
1802
@%:@ ----------------------
1803
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
1804
@%:@ that executables *can* be run.
1807
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808
if { { ac_try="$ac_link"
1810
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1811
*) ac_try_echo=$ac_try;;
1813
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1814
$as_echo "$ac_try_echo"; } >&5
1815
(eval "$ac_link") 2>&5
1817
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1818
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1819
{ { case "(($ac_try" in
1820
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1821
*) ac_try_echo=$ac_try;;
1823
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824
$as_echo "$ac_try_echo"; } >&5
1825
(eval "$ac_try") 2>&5
1827
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828
test $ac_status = 0; }; }; then :
1831
$as_echo "$as_me: program exited with status $ac_status" >&5
1832
$as_echo "$as_me: failed program was:" >&5
1833
sed 's/^/| /' conftest.$ac_ext >&5
1835
ac_retval=$ac_status
1837
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1838
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1839
as_fn_set_status $ac_retval
1841
} @%:@ ac_fn_c_try_run
1843
@%:@ ac_fn_c_check_func LINENO FUNC VAR
1844
@%:@ ----------------------------------
1845
@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
1846
ac_fn_c_check_func ()
1848
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1849
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1850
$as_echo_n "checking for $2... " >&6; }
1851
if eval "test \"\${$3+set}\"" = set; then :
1852
$as_echo_n "(cached) " >&6
1854
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1855
/* end confdefs.h. */
1856
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1857
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1858
#define $2 innocuous_$2
1860
/* System header to define __stub macros and hopefully few prototypes,
1861
which can conflict with char $2 (); below.
1862
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1863
<limits.h> exists even on freestanding compilers. */
1866
# include <limits.h>
1868
# include <assert.h>
1873
/* Override any GCC internal prototype to avoid an error.
1874
Use char because int might match the return type of a GCC
1875
builtin and then its argument prototype would still apply. */
1880
/* The GNU C library defines this for functions which it implements
1881
to always fail with ENOSYS. Some functions are actually named
1882
something starting with __ and the normal name is an alias. */
1883
#if defined __stub_$2 || defined __stub___$2
1895
if ac_fn_c_try_link "$LINENO"; then :
1900
rm -f core conftest.err conftest.$ac_objext \
1901
conftest$ac_exeext conftest.$ac_ext
1904
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1905
$as_echo "$ac_res" >&6; }
1906
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1908
} @%:@ ac_fn_c_check_func
1910
@%:@ ac_fn_cxx_try_cpp LINENO
1911
@%:@ ------------------------
1912
@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
1913
ac_fn_cxx_try_cpp ()
1915
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1916
if { { ac_try="$ac_cpp conftest.$ac_ext"
1918
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1919
*) ac_try_echo=$ac_try;;
1921
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1922
$as_echo "$ac_try_echo"; } >&5
1923
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1925
if test -s conftest.err; then
1926
grep -v '^ *+' conftest.err >conftest.er1
1927
cat conftest.er1 >&5
1928
mv -f conftest.er1 conftest.err
1930
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931
test $ac_status = 0; } > conftest.i && {
1932
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1933
test ! -s conftest.err
1937
$as_echo "$as_me: failed program was:" >&5
1938
sed 's/^/| /' conftest.$ac_ext >&5
1942
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1943
as_fn_set_status $ac_retval
1945
} @%:@ ac_fn_cxx_try_cpp
1947
@%:@ ac_fn_cxx_try_link LINENO
1948
@%:@ -------------------------
1949
@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
1950
ac_fn_cxx_try_link ()
1952
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953
rm -f conftest.$ac_objext conftest$ac_exeext
1954
if { { ac_try="$ac_link"
1956
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1957
*) ac_try_echo=$ac_try;;
1959
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1960
$as_echo "$ac_try_echo"; } >&5
1961
(eval "$ac_link") 2>conftest.err
1963
if test -s conftest.err; then
1964
grep -v '^ *+' conftest.err >conftest.er1
1965
cat conftest.er1 >&5
1966
mv -f conftest.er1 conftest.err
1968
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1969
test $ac_status = 0; } && {
1970
test -z "$ac_cxx_werror_flag" ||
1971
test ! -s conftest.err
1972
} && test -s conftest$ac_exeext && {
1973
test "$cross_compiling" = yes ||
1974
$as_test_x conftest$ac_exeext
1978
$as_echo "$as_me: failed program was:" >&5
1979
sed 's/^/| /' conftest.$ac_ext >&5
1983
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1984
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1985
# interfere with the next link command; also delete a directory that is
1986
# left behind by Apple's compiler. We do this before executing the actions.
1987
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1988
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1989
as_fn_set_status $ac_retval
1991
} @%:@ ac_fn_cxx_try_link
1993
@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1994
@%:@ -------------------------------------------
1995
@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
1996
@%:@ variable VAR accordingly.
1997
ac_fn_c_check_type ()
1999
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2001
$as_echo_n "checking for $2... " >&6; }
2002
if eval "test \"\${$3+set}\"" = set; then :
2003
$as_echo_n "(cached) " >&6
2006
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2007
/* end confdefs.h. */
2018
if ac_fn_c_try_compile "$LINENO"; then :
2019
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2020
/* end confdefs.h. */
2031
if ac_fn_c_try_compile "$LINENO"; then :
2036
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2038
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2041
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2042
$as_echo "$ac_res" >&6; }
2043
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2045
} @%:@ ac_fn_c_check_type
2047
@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2048
@%:@ -------------------------------------------------------
2049
@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
2050
@%:@ the include files in INCLUDES and setting the cache variable VAR
2052
ac_fn_c_check_header_mongrel ()
2054
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2055
if eval "test \"\${$3+set}\"" = set; then :
2056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2057
$as_echo_n "checking for $2... " >&6; }
2058
if eval "test \"\${$3+set}\"" = set; then :
2059
$as_echo_n "(cached) " >&6
2062
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2063
$as_echo "$ac_res" >&6; }
2065
# Is the header compilable?
2066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2067
$as_echo_n "checking $2 usability... " >&6; }
2068
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2069
/* end confdefs.h. */
2073
if ac_fn_c_try_compile "$LINENO"; then :
2074
ac_header_compiler=yes
2076
ac_header_compiler=no
2078
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2080
$as_echo "$ac_header_compiler" >&6; }
2082
# Is the header present?
2083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2084
$as_echo_n "checking $2 presence... " >&6; }
2085
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2086
/* end confdefs.h. */
2089
if ac_fn_c_try_cpp "$LINENO"; then :
2090
ac_header_preproc=yes
2092
ac_header_preproc=no
2094
rm -f conftest.err conftest.i conftest.$ac_ext
2095
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2096
$as_echo "$ac_header_preproc" >&6; }
2098
# So? What about this header?
2099
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2101
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2102
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2103
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2104
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2107
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2108
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2109
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2110
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2111
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2112
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2113
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2114
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2115
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2116
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2120
$as_echo_n "checking for $2... " >&6; }
2121
if eval "test \"\${$3+set}\"" = set; then :
2122
$as_echo_n "(cached) " >&6
2124
eval "$3=\$ac_header_compiler"
2127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2128
$as_echo "$ac_res" >&6; }
2130
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2132
} @%:@ ac_fn_c_check_header_mongrel
2133
cat >config.log <<_ACEOF
2134
This file contains any messages produced by compilers while
2135
running configure, to aid debugging if configure makes a mistake.
2137
It was created by $as_me, which was
2138
generated by GNU Autoconf 2.67. Invocation command line was
2150
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2151
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2152
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2153
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2154
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2156
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2157
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2159
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2160
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2161
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2162
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2163
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2164
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2165
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2169
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2173
test -z "$as_dir" && as_dir=.
2174
$as_echo "PATH: $as_dir"
2190
# Keep a trace of the command line.
2191
# Strip out --no-create and --no-recursion so they do not pile up.
2192
# Strip out --silent because we don't want to record it for future runs.
2193
# Also quote any args containing shell meta-characters.
2194
# Make two passes to allow for proper duplicate-argument suppression.
2198
ac_must_keep_next=false
2204
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2205
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2206
| -silent | --silent | --silen | --sile | --sil)
2209
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2212
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2214
as_fn_append ac_configure_args1 " '$ac_arg'"
2215
if test $ac_must_keep_next = true; then
2216
ac_must_keep_next=false # Got value, back to normal.
2219
*=* | --config-cache | -C | -disable-* | --disable-* \
2220
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2221
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2222
| -with-* | --with-* | -without-* | --without-* | --x)
2223
case "$ac_configure_args0 " in
2224
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2227
-* ) ac_must_keep_next=true ;;
2230
as_fn_append ac_configure_args " '$ac_arg'"
2235
{ ac_configure_args0=; unset ac_configure_args0;}
2236
{ ac_configure_args1=; unset ac_configure_args1;}
2238
# When interrupted or exit'd, cleanup temporary files, and complete
2239
# config.log. We remove comments because anyway the quotes in there
2240
# would cause problems or look ugly.
2241
# WARNING: Use '\'' to represent an apostrophe within the trap.
2242
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2243
trap 'exit_status=$?
2244
# Save into config.log some information that might help in debugging.
2248
$as_echo "## ---------------- ##
2249
## Cache variables. ##
2250
## ---------------- ##"
2252
# The following way of writing the cache mishandles newlines in values,
2254
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2255
eval ac_val=\$$ac_var
2259
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2260
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2263
_ | IFS | as_nl) ;; #(
2264
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2265
*) { eval $ac_var=; unset $ac_var;} ;;
2270
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2271
*${as_nl}ac_space=\ *)
2273
"s/'\''/'\''\\\\'\'''\''/g;
2274
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2277
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2284
$as_echo "## ----------------- ##
2285
## Output variables. ##
2286
## ----------------- ##"
2288
for ac_var in $ac_subst_vars
2290
eval ac_val=\$$ac_var
2292
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2294
$as_echo "$ac_var='\''$ac_val'\''"
2298
if test -n "$ac_subst_files"; then
2299
$as_echo "## ------------------- ##
2300
## File substitutions. ##
2301
## ------------------- ##"
2303
for ac_var in $ac_subst_files
2305
eval ac_val=\$$ac_var
2307
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2309
$as_echo "$ac_var='\''$ac_val'\''"
2314
if test -s confdefs.h; then
2315
$as_echo "## ----------- ##
2322
test "$ac_signal" != 0 &&
2323
$as_echo "$as_me: caught signal $ac_signal"
2324
$as_echo "$as_me: exit $exit_status"
2326
rm -f core *.core core.conftest.* &&
2327
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2330
for ac_signal in 1 2 13 15; do
2331
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2335
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2336
rm -f -r conftest* confdefs.h
2338
$as_echo "/* confdefs.h */" > confdefs.h
2340
# Predefined preprocessor variables.
2342
cat >>confdefs.h <<_ACEOF
2343
@%:@define PACKAGE_NAME "$PACKAGE_NAME"
2346
cat >>confdefs.h <<_ACEOF
2347
@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2350
cat >>confdefs.h <<_ACEOF
2351
@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
2354
cat >>confdefs.h <<_ACEOF
2355
@%:@define PACKAGE_STRING "$PACKAGE_STRING"
2358
cat >>confdefs.h <<_ACEOF
2359
@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2362
cat >>confdefs.h <<_ACEOF
2363
@%:@define PACKAGE_URL "$PACKAGE_URL"
2367
# Let the site file select an alternate cache file if it wants to.
2368
# Prefer an explicitly selected file to automatically selected ones.
2371
if test -n "$CONFIG_SITE"; then
2372
# We do not want a PATH search for config.site.
2373
case $CONFIG_SITE in @%:@((
2374
-*) ac_site_file1=./$CONFIG_SITE;;
2375
*/*) ac_site_file1=$CONFIG_SITE;;
2376
*) ac_site_file1=./$CONFIG_SITE;;
2378
elif test "x$prefix" != xNONE; then
2379
ac_site_file1=$prefix/share/config.site
2380
ac_site_file2=$prefix/etc/config.site
2382
ac_site_file1=$ac_default_prefix/share/config.site
2383
ac_site_file2=$ac_default_prefix/etc/config.site
2385
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2387
test "x$ac_site_file" = xNONE && continue
2388
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2389
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2390
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2391
sed 's/^/| /' "$ac_site_file" >&5
2393
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2394
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2395
as_fn_error $? "failed to load site script $ac_site_file
2396
See \`config.log' for more details" "$LINENO" 5 ; }
2400
if test -r "$cache_file"; then
2401
# Some versions of bash will fail to source /dev/null (special files
2402
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2403
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2404
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2405
$as_echo "$as_me: loading cache $cache_file" >&6;}
2407
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2408
*) . "./$cache_file";;
2412
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2413
$as_echo "$as_me: creating cache $cache_file" >&6;}
2417
# Check that the precious variables saved in the cache have kept the same
2419
ac_cache_corrupted=false
2420
for ac_var in $ac_precious_vars; do
2421
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2422
eval ac_new_set=\$ac_env_${ac_var}_set
2423
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2424
eval ac_new_val=\$ac_env_${ac_var}_value
2425
case $ac_old_set,$ac_new_set in
2427
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2428
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2429
ac_cache_corrupted=: ;;
2431
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2432
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2433
ac_cache_corrupted=: ;;
2436
if test "x$ac_old_val" != "x$ac_new_val"; then
2437
# differences in whitespace do not lead to failure.
2438
ac_old_val_w=`echo x $ac_old_val`
2439
ac_new_val_w=`echo x $ac_new_val`
2440
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2441
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2442
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2443
ac_cache_corrupted=:
2445
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2446
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2447
eval $ac_var=\$ac_old_val
2449
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2450
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2451
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2452
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2455
# Pass precious variables to config.status.
2456
if test "$ac_new_set" = set; then
2458
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2459
*) ac_arg=$ac_var=$ac_new_val ;;
2461
case " $ac_configure_args " in
2462
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2463
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2467
if $ac_cache_corrupted; then
2468
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2469
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2470
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2471
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2472
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2474
## -------------------- ##
2475
## Main body of script. ##
2476
## -------------------- ##
2479
ac_cpp='$CPP $CPPFLAGS'
2480
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2481
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2482
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2485
am__api_version='1.11'
2488
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2489
if test -f "$ac_dir/install-sh"; then
2491
ac_install_sh="$ac_aux_dir/install-sh -c"
2493
elif test -f "$ac_dir/install.sh"; then
2495
ac_install_sh="$ac_aux_dir/install.sh -c"
2497
elif test -f "$ac_dir/shtool"; then
2499
ac_install_sh="$ac_aux_dir/shtool install -c"
2503
if test -z "$ac_aux_dir"; then
2504
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2507
# These three variables are undocumented and unsupported,
2508
# and are intended to be withdrawn in a future Autoconf release.
2509
# They can cause serious problems if a builder's source tree is in a directory
2510
# whose full name contains unusual characters.
2511
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2512
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2513
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2516
# Find a good install program. We prefer a C program (faster),
2517
# so one script is as good as another. But avoid the broken or
2518
# incompatible versions:
2519
# SysV /etc/install, /usr/sbin/install
2520
# SunOS /usr/etc/install
2521
# IRIX /sbin/install
2523
# AmigaOS /C/install, which installs bootblocks on floppy discs
2524
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2525
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2526
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2527
# OS/2's system install, which has a completely different semantic
2528
# ./install, which can be erroneously created by make from ./install.sh.
2529
# Reject install programs that cannot install multiple files.
2530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2531
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2532
if test -z "$INSTALL"; then
2533
if test "${ac_cv_path_install+set}" = set; then :
2534
$as_echo_n "(cached) " >&6
2536
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2540
test -z "$as_dir" && as_dir=.
2541
# Account for people who put trailing slashes in PATH elements.
2542
case $as_dir/ in @%:@((
2543
./ | .// | /[cC]/* | \
2544
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2545
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2548
# OSF1 and SCO ODT 3.0 have their own names for install.
2549
# Don't use installbsd from OSF since it installs stuff as root
2551
for ac_prog in ginstall scoinst install; do
2552
for ac_exec_ext in '' $ac_executable_extensions; do
2553
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2554
if test $ac_prog = install &&
2555
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2556
# AIX install. It has an incompatible calling convention.
2558
elif test $ac_prog = install &&
2559
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2560
# program-specific install script used by HP pwplus--don't use.
2563
rm -rf conftest.one conftest.two conftest.dir
2564
echo one > conftest.one
2565
echo two > conftest.two
2567
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2568
test -s conftest.one && test -s conftest.two &&
2569
test -s conftest.dir/conftest.one &&
2570
test -s conftest.dir/conftest.two
2572
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2585
rm -rf conftest.one conftest.two conftest.dir
2588
if test "${ac_cv_path_install+set}" = set; then
2589
INSTALL=$ac_cv_path_install
2591
# As a last resort, use the slow shell script. Don't cache a
2592
# value for INSTALL within a source directory, because that will
2593
# break other packages using the cache if that directory is
2594
# removed, or if the value is a relative name.
2595
INSTALL=$ac_install_sh
2598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2599
$as_echo "$INSTALL" >&6; }
2601
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2602
# It thinks the first close brace ends the variable substitution.
2603
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2605
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2607
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2610
$as_echo_n "checking whether build environment is sane... " >&6; }
2613
echo timestamp > conftest.file
2614
# Reject unsafe characters in $srcdir or the absolute working directory
2615
# name. Accept space and tab only in the latter.
2619
*[\\\"\#\$\&\'\`$am_lf]*)
2620
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2623
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2624
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2627
# Do `set' in a subshell so we don't clobber the current shell's
2628
# arguments. Must try -L first in case configure is actually a
2629
# symlink; some systems play weird games with the mod time of symlinks
2630
# (eg FreeBSD returns the mod time of the symlink's containing
2633
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2634
if test "$*" = "X"; then
2636
set X `ls -t "$srcdir/configure" conftest.file`
2639
if test "$*" != "X $srcdir/configure conftest.file" \
2640
&& test "$*" != "X conftest.file $srcdir/configure"; then
2642
# If neither matched, then we have a broken ls. This can happen
2643
# if, for instance, CONFIG_SHELL is bash and it inherits a
2644
# broken ls alias from the environment. This has actually
2645
# happened. Such a system could not be considered "sane".
2646
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2647
alias in your environment" "$LINENO" 5
2650
test "$2" = conftest.file
2656
as_fn_error $? "newly created file is older than distributed files!
2657
Check your system clock" "$LINENO" 5
2659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2660
$as_echo "yes" >&6; }
2661
test "$program_prefix" != NONE &&
2662
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2663
# Use a double $ so make ignores it.
2664
test "$program_suffix" != NONE &&
2665
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2666
# Double any \ or $.
2667
# By default was `s,x,x', remove it if useless.
2668
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2669
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2671
# expand $ac_aux_dir to an absolute path
2672
am_aux_dir=`cd $ac_aux_dir && pwd`
2674
if test x"${MISSING+set}" != xset; then
2677
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2679
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2682
# Use eval to expand $SHELL
2683
if eval "$MISSING --run true"; then
2684
am_missing_run="$MISSING --run "
2687
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2688
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2691
if test x"${install_sh}" != xset; then
2694
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2696
install_sh="\${SHELL} $am_aux_dir/install-sh"
2700
# Installed binaries are usually stripped using `strip' when the user
2701
# run `make install-strip'. However `strip' might not be the right
2702
# tool to use in cross-compilation environments, therefore Automake
2703
# will honor the `STRIP' environment variable to overrule this program.
2704
if test "$cross_compiling" != no; then
2705
if test -n "$ac_tool_prefix"; then
2706
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2707
set dummy ${ac_tool_prefix}strip; ac_word=$2
2708
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2709
$as_echo_n "checking for $ac_word... " >&6; }
2710
if test "${ac_cv_prog_STRIP+set}" = set; then :
2711
$as_echo_n "(cached) " >&6
2713
if test -n "$STRIP"; then
2714
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2716
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2720
test -z "$as_dir" && as_dir=.
2721
for ac_exec_ext in '' $ac_executable_extensions; do
2722
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2723
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2724
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2733
STRIP=$ac_cv_prog_STRIP
2734
if test -n "$STRIP"; then
2735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2736
$as_echo "$STRIP" >&6; }
2738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2739
$as_echo "no" >&6; }
2744
if test -z "$ac_cv_prog_STRIP"; then
2746
# Extract the first word of "strip", so it can be a program name with args.
2747
set dummy strip; ac_word=$2
2748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2749
$as_echo_n "checking for $ac_word... " >&6; }
2750
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2751
$as_echo_n "(cached) " >&6
2753
if test -n "$ac_ct_STRIP"; then
2754
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2756
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2760
test -z "$as_dir" && as_dir=.
2761
for ac_exec_ext in '' $ac_executable_extensions; do
2762
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2763
ac_cv_prog_ac_ct_STRIP="strip"
2764
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2773
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2774
if test -n "$ac_ct_STRIP"; then
2775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2776
$as_echo "$ac_ct_STRIP" >&6; }
2778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2779
$as_echo "no" >&6; }
2782
if test "x$ac_ct_STRIP" = x; then
2785
case $cross_compiling:$ac_tool_warned in
2787
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2788
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2789
ac_tool_warned=yes ;;
2794
STRIP="$ac_cv_prog_STRIP"
2798
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2801
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2802
if test -z "$MKDIR_P"; then
2803
if test "${ac_cv_path_mkdir+set}" = set; then :
2804
$as_echo_n "(cached) " >&6
2806
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2807
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2810
test -z "$as_dir" && as_dir=.
2811
for ac_prog in mkdir gmkdir; do
2812
for ac_exec_ext in '' $ac_executable_extensions; do
2813
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2814
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2815
'mkdir (GNU coreutils) '* | \
2816
'mkdir (coreutils) '* | \
2817
'mkdir (fileutils) '4.1*)
2818
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2828
test -d ./--version && rmdir ./--version
2829
if test "${ac_cv_path_mkdir+set}" = set; then
2830
MKDIR_P="$ac_cv_path_mkdir -p"
2832
# As a last resort, use the slow shell script. Don't cache a
2833
# value for MKDIR_P within a source directory, because that will
2834
# break other packages using the cache if that directory is
2835
# removed, or if the value is a relative name.
2836
MKDIR_P="$ac_install_sh -d"
2839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2840
$as_echo "$MKDIR_P" >&6; }
2844
[\\/$]* | ?:[\\/]*) ;;
2845
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2848
for ac_prog in gawk mawk nawk awk
2850
# Extract the first word of "$ac_prog", so it can be a program name with args.
2851
set dummy $ac_prog; ac_word=$2
2852
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2853
$as_echo_n "checking for $ac_word... " >&6; }
2854
if test "${ac_cv_prog_AWK+set}" = set; then :
2855
$as_echo_n "(cached) " >&6
2857
if test -n "$AWK"; then
2858
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2860
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2864
test -z "$as_dir" && as_dir=.
2865
for ac_exec_ext in '' $ac_executable_extensions; do
2866
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2867
ac_cv_prog_AWK="$ac_prog"
2868
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2878
if test -n "$AWK"; then
2879
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2880
$as_echo "$AWK" >&6; }
2882
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883
$as_echo "no" >&6; }
2887
test -n "$AWK" && break
2890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2891
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2893
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2894
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2895
$as_echo_n "(cached) " >&6
2897
cat >conftest.make <<\_ACEOF
2900
@echo '@@@%%%=$(MAKE)=@@@%%%'
2902
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2903
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2905
eval ac_cv_prog_make_${ac_make}_set=yes;;
2907
eval ac_cv_prog_make_${ac_make}_set=no;;
2911
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2912
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2913
$as_echo "yes" >&6; }
2916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2917
$as_echo "no" >&6; }
2918
SET_MAKE="MAKE=${MAKE-make}"
2921
rm -rf .tst 2>/dev/null
2922
mkdir .tst 2>/dev/null
2923
if test -d .tst; then
2928
rmdir .tst 2>/dev/null
2930
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2931
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2932
# is not polluted with repeated "-I."
2933
am__isrc=' -I$(srcdir)'
2934
# test to see if srcdir already configured
2935
if test -f $srcdir/config.status; then
2936
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2940
# test whether we have cygpath
2941
if test -z "$CYGPATH_W"; then
2942
if (cygpath --version) >/dev/null 2>/dev/null; then
2943
CYGPATH_W='cygpath -w'
2950
# Define the identity of the package.
2955
cat >>confdefs.h <<_ACEOF
2956
@%:@define PACKAGE "$PACKAGE"
2960
cat >>confdefs.h <<_ACEOF
2961
@%:@define VERSION "$VERSION"
2964
# Some tools Automake needs.
2966
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2969
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2972
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2975
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2978
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2980
# We need awk for the "check" target. The system "awk" is bad on
2982
# Always define AMTAR for backward compatibility.
2984
AMTAR=${AMTAR-"${am_missing_run}tar"}
2986
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2992
ac_config_headers="$ac_config_headers config.h"
2994
for ac_prog in gawk mawk nawk awk
2996
# Extract the first word of "$ac_prog", so it can be a program name with args.
2997
set dummy $ac_prog; ac_word=$2
2998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2999
$as_echo_n "checking for $ac_word... " >&6; }
3000
if test "${ac_cv_prog_AWK+set}" = set; then :
3001
$as_echo_n "(cached) " >&6
3003
if test -n "$AWK"; then
3004
ac_cv_prog_AWK="$AWK" # Let the user override the test.
3006
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3010
test -z "$as_dir" && as_dir=.
3011
for ac_exec_ext in '' $ac_executable_extensions; do
3012
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3013
ac_cv_prog_AWK="$ac_prog"
3014
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3024
if test -n "$AWK"; then
3025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3026
$as_echo "$AWK" >&6; }
3028
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3029
$as_echo "no" >&6; }
3033
test -n "$AWK" && break
3037
ac_cpp='$CPP $CPPFLAGS'
3038
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3039
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3040
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3041
if test -n "$ac_tool_prefix"; then
3042
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3043
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3045
$as_echo_n "checking for $ac_word... " >&6; }
3046
if test "${ac_cv_prog_CC+set}" = set; then :
3047
$as_echo_n "(cached) " >&6
3049
if test -n "$CC"; then
3050
ac_cv_prog_CC="$CC" # Let the user override the test.
3052
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3056
test -z "$as_dir" && as_dir=.
3057
for ac_exec_ext in '' $ac_executable_extensions; do
3058
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3059
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3060
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3070
if test -n "$CC"; then
3071
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3072
$as_echo "$CC" >&6; }
3074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3075
$as_echo "no" >&6; }
3080
if test -z "$ac_cv_prog_CC"; then
3082
# Extract the first word of "gcc", so it can be a program name with args.
3083
set dummy gcc; ac_word=$2
3084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3085
$as_echo_n "checking for $ac_word... " >&6; }
3086
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3087
$as_echo_n "(cached) " >&6
3089
if test -n "$ac_ct_CC"; then
3090
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3092
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096
test -z "$as_dir" && as_dir=.
3097
for ac_exec_ext in '' $ac_executable_extensions; do
3098
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3099
ac_cv_prog_ac_ct_CC="gcc"
3100
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3109
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3110
if test -n "$ac_ct_CC"; then
3111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3112
$as_echo "$ac_ct_CC" >&6; }
3114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3115
$as_echo "no" >&6; }
3118
if test "x$ac_ct_CC" = x; then
3121
case $cross_compiling:$ac_tool_warned in
3123
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3124
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3125
ac_tool_warned=yes ;;
3133
if test -z "$CC"; then
3134
if test -n "$ac_tool_prefix"; then
3135
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3136
set dummy ${ac_tool_prefix}cc; ac_word=$2
3137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3138
$as_echo_n "checking for $ac_word... " >&6; }
3139
if test "${ac_cv_prog_CC+set}" = set; then :
3140
$as_echo_n "(cached) " >&6
3142
if test -n "$CC"; then
3143
ac_cv_prog_CC="$CC" # Let the user override the test.
3145
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3149
test -z "$as_dir" && as_dir=.
3150
for ac_exec_ext in '' $ac_executable_extensions; do
3151
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3152
ac_cv_prog_CC="${ac_tool_prefix}cc"
3153
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3163
if test -n "$CC"; then
3164
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3165
$as_echo "$CC" >&6; }
3167
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3168
$as_echo "no" >&6; }
3174
if test -z "$CC"; then
3175
# Extract the first word of "cc", so it can be a program name with args.
3176
set dummy cc; ac_word=$2
3177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3178
$as_echo_n "checking for $ac_word... " >&6; }
3179
if test "${ac_cv_prog_CC+set}" = set; then :
3180
$as_echo_n "(cached) " >&6
3182
if test -n "$CC"; then
3183
ac_cv_prog_CC="$CC" # Let the user override the test.
3186
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3190
test -z "$as_dir" && as_dir=.
3191
for ac_exec_ext in '' $ac_executable_extensions; do
3192
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3193
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3194
ac_prog_rejected=yes
3198
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3205
if test $ac_prog_rejected = yes; then
3206
# We found a bogon in the path, so make sure we never use it.
3207
set dummy $ac_cv_prog_CC
3209
if test $@%:@ != 0; then
3210
# We chose a different compiler from the bogus one.
3211
# However, it has the same basename, so the bogon will be chosen
3212
# first if we set CC to just the basename; use the full file name.
3214
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3220
if test -n "$CC"; then
3221
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3222
$as_echo "$CC" >&6; }
3224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3225
$as_echo "no" >&6; }
3230
if test -z "$CC"; then
3231
if test -n "$ac_tool_prefix"; then
3232
for ac_prog in cl.exe
3234
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3235
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3237
$as_echo_n "checking for $ac_word... " >&6; }
3238
if test "${ac_cv_prog_CC+set}" = set; then :
3239
$as_echo_n "(cached) " >&6
3241
if test -n "$CC"; then
3242
ac_cv_prog_CC="$CC" # Let the user override the test.
3244
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3248
test -z "$as_dir" && as_dir=.
3249
for ac_exec_ext in '' $ac_executable_extensions; do
3250
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3251
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3252
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3262
if test -n "$CC"; then
3263
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3264
$as_echo "$CC" >&6; }
3266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3267
$as_echo "no" >&6; }
3271
test -n "$CC" && break
3274
if test -z "$CC"; then
3276
for ac_prog in cl.exe
3278
# Extract the first word of "$ac_prog", so it can be a program name with args.
3279
set dummy $ac_prog; ac_word=$2
3280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3281
$as_echo_n "checking for $ac_word... " >&6; }
3282
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3283
$as_echo_n "(cached) " >&6
3285
if test -n "$ac_ct_CC"; then
3286
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3288
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3292
test -z "$as_dir" && as_dir=.
3293
for ac_exec_ext in '' $ac_executable_extensions; do
3294
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3295
ac_cv_prog_ac_ct_CC="$ac_prog"
3296
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3305
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3306
if test -n "$ac_ct_CC"; then
3307
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3308
$as_echo "$ac_ct_CC" >&6; }
3310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311
$as_echo "no" >&6; }
3315
test -n "$ac_ct_CC" && break
3318
if test "x$ac_ct_CC" = x; then
3321
case $cross_compiling:$ac_tool_warned in
3323
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3324
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3325
ac_tool_warned=yes ;;
3334
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3335
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3336
as_fn_error $? "no acceptable C compiler found in \$PATH
3337
See \`config.log' for more details" "$LINENO" 5 ; }
3339
# Provide some information about the compiler.
3340
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3343
for ac_option in --version -v -V -qversion; do
3344
{ { ac_try="$ac_compiler $ac_option >&5"
3346
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3347
*) ac_try_echo=$ac_try;;
3349
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3350
$as_echo "$ac_try_echo"; } >&5
3351
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3353
if test -s conftest.err; then
3355
... rest of stderr output deleted ...
3356
10q' conftest.err >conftest.er1
3357
cat conftest.er1 >&5
3359
rm -f conftest.er1 conftest.err
3360
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3361
test $ac_status = 0; }
3364
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365
/* end confdefs.h. */
3375
ac_clean_files_save=$ac_clean_files
3376
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3377
# Try to create an executable without -o first, disregard a.out.
3378
# It will help us diagnose broken compilers, and finding out an intuition
3380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3381
$as_echo_n "checking whether the C compiler works... " >&6; }
3382
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3384
# The possible output files:
3385
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3388
for ac_file in $ac_files
3391
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3392
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3397
if { { ac_try="$ac_link_default"
3399
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3400
*) ac_try_echo=$ac_try;;
3402
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3403
$as_echo "$ac_try_echo"; } >&5
3404
(eval "$ac_link_default") 2>&5
3406
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3407
test $ac_status = 0; }; then :
3408
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3409
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3410
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3411
# so that the user can short-circuit this test for compilers unknown to
3413
for ac_file in $ac_files ''
3415
test -f "$ac_file" || continue
3417
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3420
# We found the default executable, but exeext='' is most
3424
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3426
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3428
# We set ac_cv_exeext here because the later test for it is not
3429
# safe: cross compilers may not add the suffix if given an `-o'
3430
# argument, so we may need to know it at that point already.
3431
# Even if this section looks crufty: it has the advantage of
3438
test "$ac_cv_exeext" = no && ac_cv_exeext=
3443
if test -z "$ac_file"; then :
3444
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3445
$as_echo "no" >&6; }
3446
$as_echo "$as_me: failed program was:" >&5
3447
sed 's/^/| /' conftest.$ac_ext >&5
3449
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3450
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3451
as_fn_error 77 "C compiler cannot create executables
3452
See \`config.log' for more details" "$LINENO" 5 ; }
3454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3455
$as_echo "yes" >&6; }
3457
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3458
$as_echo_n "checking for C compiler default output file name... " >&6; }
3459
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3460
$as_echo "$ac_file" >&6; }
3461
ac_exeext=$ac_cv_exeext
3463
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3464
ac_clean_files=$ac_clean_files_save
3465
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3466
$as_echo_n "checking for suffix of executables... " >&6; }
3467
if { { ac_try="$ac_link"
3469
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3470
*) ac_try_echo=$ac_try;;
3472
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3473
$as_echo "$ac_try_echo"; } >&5
3474
(eval "$ac_link") 2>&5
3476
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3477
test $ac_status = 0; }; then :
3478
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3479
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3480
# work properly (i.e., refer to `conftest.exe'), while it won't with
3482
for ac_file in conftest.exe conftest conftest.*; do
3483
test -f "$ac_file" || continue
3485
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3486
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3492
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3493
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3494
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3495
See \`config.log' for more details" "$LINENO" 5 ; }
3497
rm -f conftest conftest$ac_cv_exeext
3498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3499
$as_echo "$ac_cv_exeext" >&6; }
3501
rm -f conftest.$ac_ext
3502
EXEEXT=$ac_cv_exeext
3504
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3505
/* end confdefs.h. */
3506
@%:@include <stdio.h>
3510
FILE *f = fopen ("conftest.out", "w");
3511
return ferror (f) || fclose (f) != 0;
3517
ac_clean_files="$ac_clean_files conftest.out"
3518
# Check that the compiler produces executables we can run. If not, either
3519
# the compiler is broken, or we cross compile.
3520
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3521
$as_echo_n "checking whether we are cross compiling... " >&6; }
3522
if test "$cross_compiling" != yes; then
3523
{ { ac_try="$ac_link"
3525
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3526
*) ac_try_echo=$ac_try;;
3528
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3529
$as_echo "$ac_try_echo"; } >&5
3530
(eval "$ac_link") 2>&5
3532
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3533
test $ac_status = 0; }
3534
if { ac_try='./conftest$ac_cv_exeext'
3535
{ { case "(($ac_try" in
3536
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3537
*) ac_try_echo=$ac_try;;
3539
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3540
$as_echo "$ac_try_echo"; } >&5
3541
(eval "$ac_try") 2>&5
3543
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3544
test $ac_status = 0; }; }; then
3547
if test "$cross_compiling" = maybe; then
3550
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3551
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3552
as_fn_error $? "cannot run C compiled programs.
3553
If you meant to cross compile, use \`--host'.
3554
See \`config.log' for more details" "$LINENO" 5 ; }
3558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3559
$as_echo "$cross_compiling" >&6; }
3561
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3562
ac_clean_files=$ac_clean_files_save
3563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3564
$as_echo_n "checking for suffix of object files... " >&6; }
3565
if test "${ac_cv_objext+set}" = set; then :
3566
$as_echo_n "(cached) " >&6
3568
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3569
/* end confdefs.h. */
3579
rm -f conftest.o conftest.obj
3580
if { { ac_try="$ac_compile"
3582
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3583
*) ac_try_echo=$ac_try;;
3585
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3586
$as_echo "$ac_try_echo"; } >&5
3587
(eval "$ac_compile") 2>&5
3589
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3590
test $ac_status = 0; }; then :
3591
for ac_file in conftest.o conftest.obj conftest.*; do
3592
test -f "$ac_file" || continue;
3594
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3595
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3600
$as_echo "$as_me: failed program was:" >&5
3601
sed 's/^/| /' conftest.$ac_ext >&5
3603
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3604
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3605
as_fn_error $? "cannot compute suffix of object files: cannot compile
3606
See \`config.log' for more details" "$LINENO" 5 ; }
3608
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3611
$as_echo "$ac_cv_objext" >&6; }
3612
OBJEXT=$ac_cv_objext
3614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3615
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3616
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3617
$as_echo_n "(cached) " >&6
3619
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3620
/* end confdefs.h. */
3633
if ac_fn_c_try_compile "$LINENO"; then :
3638
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3639
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3643
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3644
if test $ac_compiler_gnu = yes; then
3649
ac_test_CFLAGS=${CFLAGS+set}
3650
ac_save_CFLAGS=$CFLAGS
3651
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3652
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3653
if test "${ac_cv_prog_cc_g+set}" = set; then :
3654
$as_echo_n "(cached) " >&6
3656
ac_save_c_werror_flag=$ac_c_werror_flag
3657
ac_c_werror_flag=yes
3660
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3661
/* end confdefs.h. */
3671
if ac_fn_c_try_compile "$LINENO"; then :
3675
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3676
/* end confdefs.h. */
3686
if ac_fn_c_try_compile "$LINENO"; then :
3689
ac_c_werror_flag=$ac_save_c_werror_flag
3691
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3692
/* end confdefs.h. */
3702
if ac_fn_c_try_compile "$LINENO"; then :
3705
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3707
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3709
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3710
ac_c_werror_flag=$ac_save_c_werror_flag
3712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3713
$as_echo "$ac_cv_prog_cc_g" >&6; }
3714
if test "$ac_test_CFLAGS" = set; then
3715
CFLAGS=$ac_save_CFLAGS
3716
elif test $ac_cv_prog_cc_g = yes; then
3717
if test "$GCC" = yes; then
3723
if test "$GCC" = yes; then
3729
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3730
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3731
if test "${ac_cv_prog_cc_c89+set}" = set; then :
3732
$as_echo_n "(cached) " >&6
3734
ac_cv_prog_cc_c89=no
3736
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3737
/* end confdefs.h. */
3740
#include <sys/types.h>
3741
#include <sys/stat.h>
3742
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3743
struct buf { int x; };
3744
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3745
static char *e (p, i)
3751
static char *f (char * (*g) (char **, int), char **p, ...)
3756
s = g (p, va_arg (v,int));
3761
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3762
function prototypes and stuff, but not '\xHH' hex character constants.
3763
These don't provoke an error unfortunately, instead are silently treated
3764
as 'x'. The following induces an error, until -std is added to get
3765
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3766
array size at least. It's necessary to write '\x00'==0 to get something
3767
that's true only with -std. */
3768
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3770
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3771
inside strings and character constants. */
3773
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3775
int test (int i, double x);
3776
struct s1 {int (*f) (int a);};
3777
struct s2 {int (*f) (double a);};
3778
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3784
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3789
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3790
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3792
CC="$ac_save_CC $ac_arg"
3793
if ac_fn_c_try_compile "$LINENO"; then :
3794
ac_cv_prog_cc_c89=$ac_arg
3796
rm -f core conftest.err conftest.$ac_objext
3797
test "x$ac_cv_prog_cc_c89" != "xno" && break
3799
rm -f conftest.$ac_ext
3804
case "x$ac_cv_prog_cc_c89" in
3806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3807
$as_echo "none needed" >&6; } ;;
3809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3810
$as_echo "unsupported" >&6; } ;;
3812
CC="$CC $ac_cv_prog_cc_c89"
3813
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3814
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3816
if test "x$ac_cv_prog_cc_c89" != xno; then :
3821
ac_cpp='$CPP $CPPFLAGS'
3822
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3823
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3824
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3825
DEPDIR="${am__leading_dot}deps"
3827
ac_config_commands="$ac_config_commands depfiles"
3830
am_make=${MAKE-make}
3831
cat > confinc << 'END'
3833
@echo this is the am__doit target
3836
# If we don't find an include directive, just comment out the code.
3837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3838
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3842
# First try GNU make style include.
3843
echo "include confinc" > confmf
3844
# Ignore all kinds of additional output from `make'.
3845
case `$am_make -s -f confmf 2> /dev/null` in #(
3846
*the\ am__doit\ target*)
3852
# Now try BSD make style include.
3853
if test "$am__include" = "#"; then
3854
echo '.include "confinc"' > confmf
3855
case `$am_make -s -f confmf 2> /dev/null` in #(
3856
*the\ am__doit\ target*)
3857
am__include=.include
3865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3866
$as_echo "$_am_result" >&6; }
3867
rm -f confinc confmf
3869
@%:@ Check whether --enable-dependency-tracking was given.
3870
if test "${enable_dependency_tracking+set}" = set; then :
3871
enableval=$enable_dependency_tracking;
3874
if test "x$enable_dependency_tracking" != xno; then
3875
am_depcomp="$ac_aux_dir/depcomp"
3878
if test "x$enable_dependency_tracking" != xno; then
3888
depcc="$CC" am_compiler_list=
3890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3891
$as_echo_n "checking dependency style of $depcc... " >&6; }
3892
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3893
$as_echo_n "(cached) " >&6
3895
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3896
# We make a subdir and do the tests there. Otherwise we can end up
3897
# making bogus files that we don't know about and never remove. For
3898
# instance it was reported that on HP-UX the gcc test will end up
3899
# making a dummy file named `D' -- because `-MD' means `put the output
3902
# Copy depcomp to subdir because otherwise we won't find it if we're
3903
# using a relative directory.
3904
cp "$am_depcomp" conftest.dir
3906
# We will build objects and dependencies in a subdirectory because
3907
# it helps to detect inapplicable dependency modes. For instance
3908
# both Tru64's cc and ICC support -MD to output dependencies as a
3909
# side effect of compilation, but ICC will put the dependencies in
3910
# the current directory while Tru64 will put them in the object
3914
am_cv_CC_dependencies_compiler_type=none
3915
if test "$am_compiler_list" = ""; then
3916
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3919
case " $depcc " in #(
3920
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3923
for depmode in $am_compiler_list; do
3924
# Setup a source with many dependencies, because some compilers
3925
# like to wrap large dependency lists on column 80 (with \), and
3926
# we should not choose a depcomp mode which is confused by this.
3928
# We need to recreate these files for each test, as the compiler may
3929
# overwrite some of them when testing with obscure command lines.
3930
# This happens at least with the AIX C compiler.
3932
for i in 1 2 3 4 5 6; do
3933
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3934
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3935
# Solaris 8's {/usr,}/bin/sh.
3936
touch sub/conftst$i.h
3938
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3940
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3941
# mode. It turns out that the SunPro C++ compiler does not properly
3942
# handle `-M -o', and we need to detect this. Also, some Intel
3943
# versions had trouble with output in subdirs
3944
am__obj=sub/conftest.${OBJEXT-o}
3945
am__minus_obj="-o $am__obj"
3948
# This depmode causes a compiler race in universal mode.
3949
test "$am__universal" = false || continue
3952
# after this tag, mechanisms are not by side-effect, so they'll
3953
# only be used when explicitly requested
3954
if test "x$enable_dependency_tracking" = xyes; then
3960
msvisualcpp | msvcmsys)
3961
# This compiler won't grok `-c -o', but also, the minuso test has
3962
# not run yet. These depmodes are late enough in the game, and
3963
# so weak that their functioning should not be impacted.
3964
am__obj=conftest.${OBJEXT-o}
3969
if depmode=$depmode \
3970
source=sub/conftest.c object=$am__obj \
3971
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3972
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3973
>/dev/null 2>conftest.err &&
3974
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3975
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3976
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3977
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3978
# icc doesn't choke on unknown options, it will just issue warnings
3979
# or remarks (even with -Werror). So we grep stderr for any message
3980
# that says an option was ignored or not supported.
3981
# When given -MP, icc 7.0 and 7.1 complain thusly:
3982
# icc: Command line warning: ignoring option '-M'; no argument required
3983
# The diagnosis changed in icc 8.0:
3984
# icc: Command line remark: option '-MP' not supported
3985
if (grep 'ignoring option' conftest.err ||
3986
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3987
am_cv_CC_dependencies_compiler_type=$depmode
3996
am_cv_CC_dependencies_compiler_type=none
4000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4001
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4002
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4005
test "x$enable_dependency_tracking" != xno \
4006
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4008
am__fastdepCC_FALSE='#'
4010
am__fastdepCC_TRUE='#'
4011
am__fastdepCC_FALSE=
4016
ac_cpp='$CXXCPP $CPPFLAGS'
4017
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4018
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4019
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4020
if test -z "$CXX"; then
4021
if test -n "$CCC"; then
4024
if test -n "$ac_tool_prefix"; then
4025
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4027
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4028
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4030
$as_echo_n "checking for $ac_word... " >&6; }
4031
if test "${ac_cv_prog_CXX+set}" = set; then :
4032
$as_echo_n "(cached) " >&6
4034
if test -n "$CXX"; then
4035
ac_cv_prog_CXX="$CXX" # Let the user override the test.
4037
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4041
test -z "$as_dir" && as_dir=.
4042
for ac_exec_ext in '' $ac_executable_extensions; do
4043
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4044
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4045
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4055
if test -n "$CXX"; then
4056
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4057
$as_echo "$CXX" >&6; }
4059
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4060
$as_echo "no" >&6; }
4064
test -n "$CXX" && break
4067
if test -z "$CXX"; then
4069
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4071
# Extract the first word of "$ac_prog", so it can be a program name with args.
4072
set dummy $ac_prog; ac_word=$2
4073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4074
$as_echo_n "checking for $ac_word... " >&6; }
4075
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4076
$as_echo_n "(cached) " >&6
4078
if test -n "$ac_ct_CXX"; then
4079
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4081
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4085
test -z "$as_dir" && as_dir=.
4086
for ac_exec_ext in '' $ac_executable_extensions; do
4087
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4088
ac_cv_prog_ac_ct_CXX="$ac_prog"
4089
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4098
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4099
if test -n "$ac_ct_CXX"; then
4100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4101
$as_echo "$ac_ct_CXX" >&6; }
4103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4104
$as_echo "no" >&6; }
4108
test -n "$ac_ct_CXX" && break
4111
if test "x$ac_ct_CXX" = x; then
4114
case $cross_compiling:$ac_tool_warned in
4116
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4117
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4118
ac_tool_warned=yes ;;
4126
# Provide some information about the compiler.
4127
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4130
for ac_option in --version -v -V -qversion; do
4131
{ { ac_try="$ac_compiler $ac_option >&5"
4133
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4134
*) ac_try_echo=$ac_try;;
4136
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4137
$as_echo "$ac_try_echo"; } >&5
4138
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4140
if test -s conftest.err; then
4142
... rest of stderr output deleted ...
4143
10q' conftest.err >conftest.er1
4144
cat conftest.er1 >&5
4146
rm -f conftest.er1 conftest.err
4147
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4148
test $ac_status = 0; }
4151
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4152
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4153
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4154
$as_echo_n "(cached) " >&6
4156
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157
/* end confdefs.h. */
4170
if ac_fn_cxx_try_compile "$LINENO"; then :
4175
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4179
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4180
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4181
if test $ac_compiler_gnu = yes; then
4186
ac_test_CXXFLAGS=${CXXFLAGS+set}
4187
ac_save_CXXFLAGS=$CXXFLAGS
4188
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4189
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4190
if test "${ac_cv_prog_cxx_g+set}" = set; then :
4191
$as_echo_n "(cached) " >&6
4193
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4194
ac_cxx_werror_flag=yes
4197
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198
/* end confdefs.h. */
4208
if ac_fn_cxx_try_compile "$LINENO"; then :
4209
ac_cv_prog_cxx_g=yes
4212
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213
/* end confdefs.h. */
4223
if ac_fn_cxx_try_compile "$LINENO"; then :
4226
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4228
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4229
/* end confdefs.h. */
4239
if ac_fn_cxx_try_compile "$LINENO"; then :
4240
ac_cv_prog_cxx_g=yes
4242
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4244
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4246
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4247
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4249
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4250
$as_echo "$ac_cv_prog_cxx_g" >&6; }
4251
if test "$ac_test_CXXFLAGS" = set; then
4252
CXXFLAGS=$ac_save_CXXFLAGS
4253
elif test $ac_cv_prog_cxx_g = yes; then
4254
if test "$GXX" = yes; then
4260
if test "$GXX" = yes; then
4267
ac_cpp='$CPP $CPPFLAGS'
4268
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4269
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4270
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4272
depcc="$CXX" am_compiler_list=
4274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4275
$as_echo_n "checking dependency style of $depcc... " >&6; }
4276
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
4277
$as_echo_n "(cached) " >&6
4279
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4280
# We make a subdir and do the tests there. Otherwise we can end up
4281
# making bogus files that we don't know about and never remove. For
4282
# instance it was reported that on HP-UX the gcc test will end up
4283
# making a dummy file named `D' -- because `-MD' means `put the output
4286
# Copy depcomp to subdir because otherwise we won't find it if we're
4287
# using a relative directory.
4288
cp "$am_depcomp" conftest.dir
4290
# We will build objects and dependencies in a subdirectory because
4291
# it helps to detect inapplicable dependency modes. For instance
4292
# both Tru64's cc and ICC support -MD to output dependencies as a
4293
# side effect of compilation, but ICC will put the dependencies in
4294
# the current directory while Tru64 will put them in the object
4298
am_cv_CXX_dependencies_compiler_type=none
4299
if test "$am_compiler_list" = ""; then
4300
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4303
case " $depcc " in #(
4304
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4307
for depmode in $am_compiler_list; do
4308
# Setup a source with many dependencies, because some compilers
4309
# like to wrap large dependency lists on column 80 (with \), and
4310
# we should not choose a depcomp mode which is confused by this.
4312
# We need to recreate these files for each test, as the compiler may
4313
# overwrite some of them when testing with obscure command lines.
4314
# This happens at least with the AIX C compiler.
4316
for i in 1 2 3 4 5 6; do
4317
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4318
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4319
# Solaris 8's {/usr,}/bin/sh.
4320
touch sub/conftst$i.h
4322
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4324
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4325
# mode. It turns out that the SunPro C++ compiler does not properly
4326
# handle `-M -o', and we need to detect this. Also, some Intel
4327
# versions had trouble with output in subdirs
4328
am__obj=sub/conftest.${OBJEXT-o}
4329
am__minus_obj="-o $am__obj"
4332
# This depmode causes a compiler race in universal mode.
4333
test "$am__universal" = false || continue
4336
# after this tag, mechanisms are not by side-effect, so they'll
4337
# only be used when explicitly requested
4338
if test "x$enable_dependency_tracking" = xyes; then
4344
msvisualcpp | msvcmsys)
4345
# This compiler won't grok `-c -o', but also, the minuso test has
4346
# not run yet. These depmodes are late enough in the game, and
4347
# so weak that their functioning should not be impacted.
4348
am__obj=conftest.${OBJEXT-o}
4353
if depmode=$depmode \
4354
source=sub/conftest.c object=$am__obj \
4355
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4356
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4357
>/dev/null 2>conftest.err &&
4358
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4359
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4360
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4361
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4362
# icc doesn't choke on unknown options, it will just issue warnings
4363
# or remarks (even with -Werror). So we grep stderr for any message
4364
# that says an option was ignored or not supported.
4365
# When given -MP, icc 7.0 and 7.1 complain thusly:
4366
# icc: Command line warning: ignoring option '-M'; no argument required
4367
# The diagnosis changed in icc 8.0:
4368
# icc: Command line remark: option '-MP' not supported
4369
if (grep 'ignoring option' conftest.err ||
4370
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4371
am_cv_CXX_dependencies_compiler_type=$depmode
4380
am_cv_CXX_dependencies_compiler_type=none
4384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4385
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4386
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4389
test "x$enable_dependency_tracking" != xno \
4390
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4391
am__fastdepCXX_TRUE=
4392
am__fastdepCXX_FALSE='#'
4394
am__fastdepCXX_TRUE='#'
4395
am__fastdepCXX_FALSE=
4400
ac_cpp='$CPP $CPPFLAGS'
4401
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4402
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4403
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4404
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4405
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4406
# On Suns, sometimes $CPP names a directory.
4407
if test -n "$CPP" && test -d "$CPP"; then
4410
if test -z "$CPP"; then
4411
if test "${ac_cv_prog_CPP+set}" = set; then :
4412
$as_echo_n "(cached) " >&6
4414
# Double quotes because CPP needs to be expanded
4415
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4418
for ac_c_preproc_warn_flag in '' yes
4420
# Use a header file that comes with gcc, so configuring glibc
4421
# with a fresh cross-compiler works.
4422
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4423
# <limits.h> exists even on freestanding compilers.
4424
# On the NeXT, cc -E runs the code through the compiler's parser,
4425
# not just through cpp. "Syntax error" is here to catch this case.
4426
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4427
/* end confdefs.h. */
4429
@%:@ include <limits.h>
4431
@%:@ include <assert.h>
4435
if ac_fn_c_try_cpp "$LINENO"; then :
4438
# Broken: fails on valid input.
4441
rm -f conftest.err conftest.i conftest.$ac_ext
4443
# OK, works on sane cases. Now check whether nonexistent headers
4444
# can be detected and how.
4445
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446
/* end confdefs.h. */
4447
@%:@include <ac_nonexistent.h>
4449
if ac_fn_c_try_cpp "$LINENO"; then :
4450
# Broken: success on invalid input.
4453
# Passes both tests.
4457
rm -f conftest.err conftest.i conftest.$ac_ext
4460
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4461
rm -f conftest.i conftest.err conftest.$ac_ext
4462
if $ac_preproc_ok; then :
4474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4475
$as_echo "$CPP" >&6; }
4477
for ac_c_preproc_warn_flag in '' yes
4479
# Use a header file that comes with gcc, so configuring glibc
4480
# with a fresh cross-compiler works.
4481
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4482
# <limits.h> exists even on freestanding compilers.
4483
# On the NeXT, cc -E runs the code through the compiler's parser,
4484
# not just through cpp. "Syntax error" is here to catch this case.
4485
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4486
/* end confdefs.h. */
4488
@%:@ include <limits.h>
4490
@%:@ include <assert.h>
4494
if ac_fn_c_try_cpp "$LINENO"; then :
4497
# Broken: fails on valid input.
4500
rm -f conftest.err conftest.i conftest.$ac_ext
4502
# OK, works on sane cases. Now check whether nonexistent headers
4503
# can be detected and how.
4504
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505
/* end confdefs.h. */
4506
@%:@include <ac_nonexistent.h>
4508
if ac_fn_c_try_cpp "$LINENO"; then :
4509
# Broken: success on invalid input.
4512
# Passes both tests.
4516
rm -f conftest.err conftest.i conftest.$ac_ext
4519
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4520
rm -f conftest.i conftest.err conftest.$ac_ext
4521
if $ac_preproc_ok; then :
4524
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4525
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4526
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4527
See \`config.log' for more details" "$LINENO" 5 ; }
4531
ac_cpp='$CPP $CPPFLAGS'
4532
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4533
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4534
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4538
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4539
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4544
macro_version='2.2.6b'
4545
macro_revision='1.3017'
4559
ltmain="$ac_aux_dir/ltmain.sh"
4561
# Make sure we can run config.sub.
4562
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4563
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4566
$as_echo_n "checking build system type... " >&6; }
4567
if test "${ac_cv_build+set}" = set; then :
4568
$as_echo_n "(cached) " >&6
4570
ac_build_alias=$build_alias
4571
test "x$ac_build_alias" = x &&
4572
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4573
test "x$ac_build_alias" = x &&
4574
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4575
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4576
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4579
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4580
$as_echo "$ac_cv_build" >&6; }
4581
case $ac_cv_build in
4583
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
4586
ac_save_IFS=$IFS; IFS='-'
4592
# Remember, the first character of IFS is used to create $*,
4593
# except with old shells:
4596
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4599
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4600
$as_echo_n "checking host system type... " >&6; }
4601
if test "${ac_cv_host+set}" = set; then :
4602
$as_echo_n "(cached) " >&6
4604
if test "x$host_alias" = x; then
4605
ac_cv_host=$ac_cv_build
4607
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4608
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4613
$as_echo "$ac_cv_host" >&6; }
4616
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
4619
ac_save_IFS=$IFS; IFS='-'
4625
# Remember, the first character of IFS is used to create $*,
4626
# except with old shells:
4629
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4633
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4634
if test "${ac_cv_path_SED+set}" = set; then :
4635
$as_echo_n "(cached) " >&6
4637
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4638
for ac_i in 1 2 3 4 5 6 7; do
4639
ac_script="$ac_script$as_nl$ac_script"
4641
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4642
{ ac_script=; unset ac_script;}
4643
if test -z "$SED"; then
4644
ac_path_SED_found=false
4645
# Loop through the user's path and test for each of PROGNAME-LIST
4646
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4650
test -z "$as_dir" && as_dir=.
4651
for ac_prog in sed gsed; do
4652
for ac_exec_ext in '' $ac_executable_extensions; do
4653
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4654
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4655
# Check for GNU ac_path_SED and select it if it is found.
4656
# Check for GNU $ac_path_SED
4657
case `"$ac_path_SED" --version 2>&1` in
4659
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4662
$as_echo_n 0123456789 >"conftest.in"
4665
cat "conftest.in" "conftest.in" >"conftest.tmp"
4666
mv "conftest.tmp" "conftest.in"
4667
cp "conftest.in" "conftest.nl"
4668
$as_echo '' >> "conftest.nl"
4669
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4670
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4671
as_fn_arith $ac_count + 1 && ac_count=$as_val
4672
if test $ac_count -gt ${ac_path_SED_max-0}; then
4673
# Best one so far, save it but keep looking for a better one
4674
ac_cv_path_SED="$ac_path_SED"
4675
ac_path_SED_max=$ac_count
4677
# 10*(2^10) chars as input seems more than enough
4678
test $ac_count -gt 10 && break
4680
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4683
$ac_path_SED_found && break 3
4688
if test -z "$ac_cv_path_SED"; then
4689
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4697
$as_echo "$ac_cv_path_SED" >&6; }
4698
SED="$ac_cv_path_SED"
4701
test -z "$SED" && SED=sed
4702
Xsed="$SED -e 1s/^X//"
4714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4715
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4716
if test "${ac_cv_path_GREP+set}" = set; then :
4717
$as_echo_n "(cached) " >&6
4719
if test -z "$GREP"; then
4720
ac_path_GREP_found=false
4721
# Loop through the user's path and test for each of PROGNAME-LIST
4722
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4723
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4726
test -z "$as_dir" && as_dir=.
4727
for ac_prog in grep ggrep; do
4728
for ac_exec_ext in '' $ac_executable_extensions; do
4729
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4730
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4731
# Check for GNU ac_path_GREP and select it if it is found.
4732
# Check for GNU $ac_path_GREP
4733
case `"$ac_path_GREP" --version 2>&1` in
4735
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4738
$as_echo_n 0123456789 >"conftest.in"
4741
cat "conftest.in" "conftest.in" >"conftest.tmp"
4742
mv "conftest.tmp" "conftest.in"
4743
cp "conftest.in" "conftest.nl"
4744
$as_echo 'GREP' >> "conftest.nl"
4745
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4746
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4747
as_fn_arith $ac_count + 1 && ac_count=$as_val
4748
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4749
# Best one so far, save it but keep looking for a better one
4750
ac_cv_path_GREP="$ac_path_GREP"
4751
ac_path_GREP_max=$ac_count
4753
# 10*(2^10) chars as input seems more than enough
4754
test $ac_count -gt 10 && break
4756
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4759
$ac_path_GREP_found && break 3
4764
if test -z "$ac_cv_path_GREP"; then
4765
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4768
ac_cv_path_GREP=$GREP
4772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4773
$as_echo "$ac_cv_path_GREP" >&6; }
4774
GREP="$ac_cv_path_GREP"
4777
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4778
$as_echo_n "checking for egrep... " >&6; }
4779
if test "${ac_cv_path_EGREP+set}" = set; then :
4780
$as_echo_n "(cached) " >&6
4782
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4783
then ac_cv_path_EGREP="$GREP -E"
4785
if test -z "$EGREP"; then
4786
ac_path_EGREP_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 egrep; do
4794
for ac_exec_ext in '' $ac_executable_extensions; do
4795
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4796
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4797
# Check for GNU ac_path_EGREP and select it if it is found.
4798
# Check for GNU $ac_path_EGREP
4799
case `"$ac_path_EGREP" --version 2>&1` in
4801
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_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 'EGREP' >> "conftest.nl"
4811
"$ac_path_EGREP" 'EGREP$' < "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_EGREP_max-0}; then
4815
# Best one so far, save it but keep looking for a better one
4816
ac_cv_path_EGREP="$ac_path_EGREP"
4817
ac_path_EGREP_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_EGREP_found && break 3
4830
if test -z "$ac_cv_path_EGREP"; then
4831
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4834
ac_cv_path_EGREP=$EGREP
4839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4840
$as_echo "$ac_cv_path_EGREP" >&6; }
4841
EGREP="$ac_cv_path_EGREP"
4844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4845
$as_echo_n "checking for fgrep... " >&6; }
4846
if test "${ac_cv_path_FGREP+set}" = set; then :
4847
$as_echo_n "(cached) " >&6
4849
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4850
then ac_cv_path_FGREP="$GREP -F"
4852
if test -z "$FGREP"; then
4853
ac_path_FGREP_found=false
4854
# Loop through the user's path and test for each of PROGNAME-LIST
4855
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4856
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4859
test -z "$as_dir" && as_dir=.
4860
for ac_prog in fgrep; do
4861
for ac_exec_ext in '' $ac_executable_extensions; do
4862
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4863
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4864
# Check for GNU ac_path_FGREP and select it if it is found.
4865
# Check for GNU $ac_path_FGREP
4866
case `"$ac_path_FGREP" --version 2>&1` in
4868
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4871
$as_echo_n 0123456789 >"conftest.in"
4874
cat "conftest.in" "conftest.in" >"conftest.tmp"
4875
mv "conftest.tmp" "conftest.in"
4876
cp "conftest.in" "conftest.nl"
4877
$as_echo 'FGREP' >> "conftest.nl"
4878
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4879
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4880
as_fn_arith $ac_count + 1 && ac_count=$as_val
4881
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4882
# Best one so far, save it but keep looking for a better one
4883
ac_cv_path_FGREP="$ac_path_FGREP"
4884
ac_path_FGREP_max=$ac_count
4886
# 10*(2^10) chars as input seems more than enough
4887
test $ac_count -gt 10 && break
4889
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4892
$ac_path_FGREP_found && break 3
4897
if test -z "$ac_cv_path_FGREP"; then
4898
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4901
ac_cv_path_FGREP=$FGREP
4906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4907
$as_echo "$ac_cv_path_FGREP" >&6; }
4908
FGREP="$ac_cv_path_FGREP"
4911
test -z "$GREP" && GREP=grep
4931
@%:@ Check whether --with-gnu-ld was given.
4932
if test "${with_gnu_ld+set}" = set; then :
4933
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4939
if test "$GCC" = yes; then
4940
# Check if gcc -print-prog-name=ld gives a path.
4941
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4942
$as_echo_n "checking for ld used by $CC... " >&6; }
4945
# gcc leaves a trailing carriage return which upsets mingw
4946
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4948
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4951
# Accept absolute paths.
4953
re_direlt='/[^/][^/]*/\.\./'
4954
# Canonicalize the pathname of ld
4955
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4956
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4957
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4959
test -z "$LD" && LD="$ac_prog"
4962
# If it fails, then pretend we aren't using GCC.
4966
# If it is relative, then search for the first ld in PATH.
4970
elif test "$with_gnu_ld" = yes; then
4971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4972
$as_echo_n "checking for GNU ld... " >&6; }
4974
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4975
$as_echo_n "checking for non-GNU ld... " >&6; }
4977
if test "${lt_cv_path_LD+set}" = set; then :
4978
$as_echo_n "(cached) " >&6
4980
if test -z "$LD"; then
4981
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4982
for ac_dir in $PATH; do
4984
test -z "$ac_dir" && ac_dir=.
4985
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4986
lt_cv_path_LD="$ac_dir/$ac_prog"
4987
# Check to see if the program is GNU ld. I'd rather use --version,
4988
# but apparently some variants of GNU ld only accept -v.
4989
# Break only if it was the GNU/non-GNU ld that we prefer.
4990
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4991
*GNU* | *'with BFD'*)
4992
test "$with_gnu_ld" != no && break
4995
test "$with_gnu_ld" != yes && break
5002
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5007
if test -n "$LD"; then
5008
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5009
$as_echo "$LD" >&6; }
5011
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5012
$as_echo "no" >&6; }
5014
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5015
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5016
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5017
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5018
$as_echo_n "(cached) " >&6
5020
# I'd rather use --version here, but apparently some GNU lds only accept -v.
5021
case `$LD -v 2>&1 </dev/null` in
5022
*GNU* | *'with BFD'*)
5023
lt_cv_prog_gnu_ld=yes
5026
lt_cv_prog_gnu_ld=no
5030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5031
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5032
with_gnu_ld=$lt_cv_prog_gnu_ld
5042
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5043
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5044
if test "${lt_cv_path_NM+set}" = set; then :
5045
$as_echo_n "(cached) " >&6
5047
if test -n "$NM"; then
5048
# Let the user override the test.
5051
lt_nm_to_check="${ac_tool_prefix}nm"
5052
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5053
lt_nm_to_check="$lt_nm_to_check nm"
5055
for lt_tmp_nm in $lt_nm_to_check; do
5056
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5057
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5059
test -z "$ac_dir" && ac_dir=.
5060
tmp_nm="$ac_dir/$lt_tmp_nm"
5061
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5062
# Check to see if the nm accepts a BSD-compat flag.
5063
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5064
# nm: unknown option "B" ignored
5065
# Tru64's nm complains that /dev/null is an invalid object file
5066
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5067
*/dev/null* | *'Invalid file or object type'*)
5068
lt_cv_path_NM="$tmp_nm -B"
5072
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5074
lt_cv_path_NM="$tmp_nm -p"
5078
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5079
continue # so that we can try to find one that supports BSD flags
5088
: ${lt_cv_path_NM=no}
5091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5092
$as_echo "$lt_cv_path_NM" >&6; }
5093
if test "$lt_cv_path_NM" != "no"; then
5096
# Didn't find any BSD compatible name lister, look for dumpbin.
5097
if test -n "$ac_tool_prefix"; then
5098
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5100
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5101
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5102
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5103
$as_echo_n "checking for $ac_word... " >&6; }
5104
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5105
$as_echo_n "(cached) " >&6
5107
if test -n "$DUMPBIN"; then
5108
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5110
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114
test -z "$as_dir" && as_dir=.
5115
for ac_exec_ext in '' $ac_executable_extensions; do
5116
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5117
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5118
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5127
DUMPBIN=$ac_cv_prog_DUMPBIN
5128
if test -n "$DUMPBIN"; then
5129
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5130
$as_echo "$DUMPBIN" >&6; }
5132
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5133
$as_echo "no" >&6; }
5137
test -n "$DUMPBIN" && break
5140
if test -z "$DUMPBIN"; then
5141
ac_ct_DUMPBIN=$DUMPBIN
5142
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5144
# Extract the first word of "$ac_prog", so it can be a program name with args.
5145
set dummy $ac_prog; ac_word=$2
5146
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5147
$as_echo_n "checking for $ac_word... " >&6; }
5148
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5149
$as_echo_n "(cached) " >&6
5151
if test -n "$ac_ct_DUMPBIN"; then
5152
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5154
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5158
test -z "$as_dir" && as_dir=.
5159
for ac_exec_ext in '' $ac_executable_extensions; do
5160
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5161
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5162
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5171
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5172
if test -n "$ac_ct_DUMPBIN"; then
5173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5174
$as_echo "$ac_ct_DUMPBIN" >&6; }
5176
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177
$as_echo "no" >&6; }
5181
test -n "$ac_ct_DUMPBIN" && break
5184
if test "x$ac_ct_DUMPBIN" = x; then
5187
case $cross_compiling:$ac_tool_warned in
5189
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5190
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5191
ac_tool_warned=yes ;;
5193
DUMPBIN=$ac_ct_DUMPBIN
5198
if test "$DUMPBIN" != ":"; then
5202
test -z "$NM" && NM=nm
5209
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5210
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5211
if test "${lt_cv_nm_interface+set}" = set; then :
5212
$as_echo_n "(cached) " >&6
5214
lt_cv_nm_interface="BSD nm"
5215
echo "int some_variable = 0;" > conftest.$ac_ext
5216
(eval echo "\"\$as_me:__oline__: $ac_compile\"" >&5)
5217
(eval "$ac_compile" 2>conftest.err)
5218
cat conftest.err >&5
5219
(eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5220
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5221
cat conftest.err >&5
5222
(eval echo "\"\$as_me:__oline__: output\"" >&5)
5223
cat conftest.out >&5
5224
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5225
lt_cv_nm_interface="MS dumpbin"
5229
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5230
$as_echo "$lt_cv_nm_interface" >&6; }
5232
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5233
$as_echo_n "checking whether ln -s works... " >&6; }
5235
if test "$LN_S" = "ln -s"; then
5236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5237
$as_echo "yes" >&6; }
5239
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5240
$as_echo "no, using $LN_S" >&6; }
5243
# find the maximum length of command line arguments
5244
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5245
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5246
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5247
$as_echo_n "(cached) " >&6
5254
# On DJGPP, this test can blow up pretty badly due to problems in libc
5255
# (any single argument exceeding 2000 bytes causes a buffer overrun
5256
# during glob expansion). Even if it were fixed, the result of this
5257
# check would be larger than it should be.
5258
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5262
# Under GNU Hurd, this test is not required because there is
5263
# no limit to the length of command line arguments.
5264
# Libtool will interpret -1 as no limit whatsoever
5265
lt_cv_sys_max_cmd_len=-1;
5268
cygwin* | mingw* | cegcc*)
5269
# On Win9x/ME, this test blows up -- it succeeds, but takes
5270
# about 5 minutes as the teststring grows exponentially.
5271
# Worse, since 9x/ME are not pre-emptively multitasking,
5272
# you end up with a "frozen" computer, even though with patience
5273
# the test eventually succeeds (with a max line length of 256k).
5274
# Instead, let's just punt: use the minimum linelength reported by
5275
# all of the supported platforms: 8192 (on NT/2K/XP).
5276
lt_cv_sys_max_cmd_len=8192;
5280
# On AmigaOS with pdksh, this test takes hours, literally.
5281
# So we just punt and use a minimum line length of 8192.
5282
lt_cv_sys_max_cmd_len=8192;
5285
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5286
# This has been around since 386BSD, at least. Likely further.
5287
if test -x /sbin/sysctl; then
5288
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5289
elif test -x /usr/sbin/sysctl; then
5290
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5292
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5294
# And add a safety zone
5295
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5296
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5300
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5301
lt_cv_sys_max_cmd_len=196608
5305
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5306
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5307
# nice to cause kernel panics so lets avoid the loop below.
5308
# First set a reasonable default.
5309
lt_cv_sys_max_cmd_len=16384
5311
if test -x /sbin/sysconfig; then
5312
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5313
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5318
lt_cv_sys_max_cmd_len=102400
5320
sysv5* | sco5v6* | sysv4.2uw2*)
5321
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5322
if test -n "$kargmax"; then
5323
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5325
lt_cv_sys_max_cmd_len=32768
5329
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5330
if test -n "$lt_cv_sys_max_cmd_len"; then
5331
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5332
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5334
# Make teststring a little bigger before we do anything with it.
5335
# a 1K string should be a reasonable start.
5336
for i in 1 2 3 4 5 6 7 8 ; do
5337
teststring=$teststring$teststring
5339
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5340
# If test is not a shell built-in, we'll probably end up computing a
5341
# maximum length that is only half of the actual maximum length, but
5343
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5344
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5345
test $i != 17 # 1/2 MB should be enough
5348
teststring=$teststring$teststring
5350
# Only check the string length outside the loop.
5351
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5353
# Add a significant safety factor because C++ compilers can tack on
5354
# massive amounts of additional arguments before passing them to the
5355
# linker. It appears as though 1/2 is a usable value.
5356
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5363
if test -n $lt_cv_sys_max_cmd_len ; then
5364
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5365
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5367
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5368
$as_echo "none" >&6; }
5370
max_cmd_len=$lt_cv_sys_max_cmd_len
5381
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5382
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5383
# Try some XSI features
5386
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5388
&& eval 'test $(( 1 + 1 )) -eq 2 \
5389
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5391
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5392
$as_echo "$xsi_shell" >&6; }
5395
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5396
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5398
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5400
&& lt_shell_append=yes
5401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5402
$as_echo "$lt_shell_append" >&6; }
5405
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5415
# test EBCDIC or ASCII
5416
case `echo X|tr X '\101'` in
5417
A) # ASCII based system
5418
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5419
lt_SP2NL='tr \040 \012'
5420
lt_NL2SP='tr \015\012 \040\040'
5422
*) # EBCDIC based system
5423
lt_SP2NL='tr \100 \n'
5424
lt_NL2SP='tr \r\n \100\100'
5436
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5437
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5438
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5439
$as_echo_n "(cached) " >&6
5441
lt_cv_ld_reload_flag='-r'
5443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5444
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5445
reload_flag=$lt_cv_ld_reload_flag
5446
case $reload_flag in
5448
*) reload_flag=" $reload_flag" ;;
5450
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5453
if test "$GCC" = yes; then
5454
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5456
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5469
if test -n "$ac_tool_prefix"; then
5470
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5471
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473
$as_echo_n "checking for $ac_word... " >&6; }
5474
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5475
$as_echo_n "(cached) " >&6
5477
if test -n "$OBJDUMP"; then
5478
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5480
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484
test -z "$as_dir" && as_dir=.
5485
for ac_exec_ext in '' $ac_executable_extensions; do
5486
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5487
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5488
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5497
OBJDUMP=$ac_cv_prog_OBJDUMP
5498
if test -n "$OBJDUMP"; then
5499
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5500
$as_echo "$OBJDUMP" >&6; }
5502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503
$as_echo "no" >&6; }
5508
if test -z "$ac_cv_prog_OBJDUMP"; then
5509
ac_ct_OBJDUMP=$OBJDUMP
5510
# Extract the first word of "objdump", so it can be a program name with args.
5511
set dummy objdump; ac_word=$2
5512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513
$as_echo_n "checking for $ac_word... " >&6; }
5514
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5515
$as_echo_n "(cached) " >&6
5517
if test -n "$ac_ct_OBJDUMP"; then
5518
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5520
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5524
test -z "$as_dir" && as_dir=.
5525
for ac_exec_ext in '' $ac_executable_extensions; do
5526
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5527
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5528
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5537
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5538
if test -n "$ac_ct_OBJDUMP"; then
5539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5540
$as_echo "$ac_ct_OBJDUMP" >&6; }
5542
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5543
$as_echo "no" >&6; }
5546
if test "x$ac_ct_OBJDUMP" = x; then
5549
case $cross_compiling:$ac_tool_warned in
5551
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5552
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5553
ac_tool_warned=yes ;;
5555
OBJDUMP=$ac_ct_OBJDUMP
5558
OBJDUMP="$ac_cv_prog_OBJDUMP"
5561
test -z "$OBJDUMP" && OBJDUMP=objdump
5571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5572
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5573
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5574
$as_echo_n "(cached) " >&6
5576
lt_cv_file_magic_cmd='$MAGIC_CMD'
5577
lt_cv_file_magic_test_file=
5578
lt_cv_deplibs_check_method='unknown'
5579
# Need to set the preceding variable on all platforms that support
5580
# interlibrary dependencies.
5581
# 'none' -- dependencies not supported.
5582
# `unknown' -- same as none, but documents that we really don't know.
5583
# 'pass_all' -- all dependencies passed with no checks.
5584
# 'test_compile' -- check by making test program.
5585
# 'file_magic [[regex]]' -- check by looking for files in library path
5586
# which responds to the $file_magic_cmd with a given extended regex.
5587
# If you have `file' or equivalent on your system and you're not sure
5588
# whether `pass_all' will *always* work, you probably want this one.
5592
lt_cv_deplibs_check_method=pass_all
5596
lt_cv_deplibs_check_method=pass_all
5600
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5601
lt_cv_file_magic_cmd='/usr/bin/file -L'
5602
lt_cv_file_magic_test_file=/shlib/libc.so
5606
# func_win32_libid is a shell function defined in ltmain.sh
5607
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5608
lt_cv_file_magic_cmd='func_win32_libid'
5612
# Base MSYS/MinGW do not provide the 'file' command needed by
5613
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5614
# unless we find 'file', for example because we are cross-compiling.
5615
if ( file / ) >/dev/null 2>&1; then
5616
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5617
lt_cv_file_magic_cmd='func_win32_libid'
5619
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5620
lt_cv_file_magic_cmd='$OBJDUMP -f'
5625
# use the weaker test based on 'objdump'. See mingw*.
5626
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5627
lt_cv_file_magic_cmd='$OBJDUMP -f'
5630
darwin* | rhapsody*)
5631
lt_cv_deplibs_check_method=pass_all
5634
freebsd* | dragonfly*)
5635
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5638
# Not sure whether the presence of OpenBSD here was a mistake.
5639
# Let's accept both of them until this is cleared up.
5640
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5641
lt_cv_file_magic_cmd=/usr/bin/file
5642
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5646
lt_cv_deplibs_check_method=pass_all
5651
lt_cv_deplibs_check_method=pass_all
5654
hpux10.20* | hpux11*)
5655
lt_cv_file_magic_cmd=/usr/bin/file
5658
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5659
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5662
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]'
5663
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5666
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5667
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5673
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5674
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5677
irix5* | irix6* | nonstopux*)
5679
*-32|*"-32 ") libmagic=32-bit;;
5680
*-n32|*"-n32 ") libmagic=N32;;
5681
*-64|*"-64 ") libmagic=64-bit;;
5682
*) libmagic=never-match;;
5684
lt_cv_deplibs_check_method=pass_all
5687
# This must be Linux ELF.
5688
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5689
lt_cv_deplibs_check_method=pass_all
5692
netbsd* | netbsdelf*-gnu)
5693
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5694
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5696
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5701
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5702
lt_cv_file_magic_cmd=/usr/bin/file
5703
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5707
lt_cv_deplibs_check_method=pass_all
5711
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5712
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5714
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5718
osf3* | osf4* | osf5*)
5719
lt_cv_deplibs_check_method=pass_all
5723
lt_cv_deplibs_check_method=pass_all
5727
lt_cv_deplibs_check_method=pass_all
5730
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5731
lt_cv_deplibs_check_method=pass_all
5735
case $host_vendor in
5737
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]'
5738
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5741
lt_cv_deplibs_check_method=pass_all
5744
lt_cv_file_magic_cmd='/bin/file'
5745
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5748
lt_cv_file_magic_cmd='/bin/file'
5749
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5750
lt_cv_file_magic_test_file=/lib/libc.so
5753
lt_cv_deplibs_check_method=pass_all
5756
lt_cv_deplibs_check_method=pass_all
5762
lt_cv_deplibs_check_method=pass_all
5767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5768
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5769
file_magic_cmd=$lt_cv_file_magic_cmd
5770
deplibs_check_method=$lt_cv_deplibs_check_method
5771
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5784
if test -n "$ac_tool_prefix"; then
5785
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5786
set dummy ${ac_tool_prefix}ar; ac_word=$2
5787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5788
$as_echo_n "checking for $ac_word... " >&6; }
5789
if test "${ac_cv_prog_AR+set}" = set; then :
5790
$as_echo_n "(cached) " >&6
5792
if test -n "$AR"; then
5793
ac_cv_prog_AR="$AR" # Let the user override the test.
5795
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5799
test -z "$as_dir" && as_dir=.
5800
for ac_exec_ext in '' $ac_executable_extensions; do
5801
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5802
ac_cv_prog_AR="${ac_tool_prefix}ar"
5803
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813
if test -n "$AR"; then
5814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5815
$as_echo "$AR" >&6; }
5817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5818
$as_echo "no" >&6; }
5823
if test -z "$ac_cv_prog_AR"; then
5825
# Extract the first word of "ar", so it can be a program name with args.
5826
set dummy ar; ac_word=$2
5827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5828
$as_echo_n "checking for $ac_word... " >&6; }
5829
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5830
$as_echo_n "(cached) " >&6
5832
if test -n "$ac_ct_AR"; then
5833
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5835
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5839
test -z "$as_dir" && as_dir=.
5840
for ac_exec_ext in '' $ac_executable_extensions; do
5841
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5842
ac_cv_prog_ac_ct_AR="ar"
5843
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5852
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5853
if test -n "$ac_ct_AR"; then
5854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5855
$as_echo "$ac_ct_AR" >&6; }
5857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5858
$as_echo "no" >&6; }
5861
if test "x$ac_ct_AR" = x; then
5864
case $cross_compiling:$ac_tool_warned in
5866
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5867
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5868
ac_tool_warned=yes ;;
5876
test -z "$AR" && AR=ar
5877
test -z "$AR_FLAGS" && AR_FLAGS=cru
5889
if test -n "$ac_tool_prefix"; then
5890
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5891
set dummy ${ac_tool_prefix}strip; ac_word=$2
5892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5893
$as_echo_n "checking for $ac_word... " >&6; }
5894
if test "${ac_cv_prog_STRIP+set}" = set; then :
5895
$as_echo_n "(cached) " >&6
5897
if test -n "$STRIP"; then
5898
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5900
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5904
test -z "$as_dir" && as_dir=.
5905
for ac_exec_ext in '' $ac_executable_extensions; do
5906
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5907
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5908
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5917
STRIP=$ac_cv_prog_STRIP
5918
if test -n "$STRIP"; then
5919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5920
$as_echo "$STRIP" >&6; }
5922
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5923
$as_echo "no" >&6; }
5928
if test -z "$ac_cv_prog_STRIP"; then
5930
# Extract the first word of "strip", so it can be a program name with args.
5931
set dummy strip; ac_word=$2
5932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5933
$as_echo_n "checking for $ac_word... " >&6; }
5934
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
5935
$as_echo_n "(cached) " >&6
5937
if test -n "$ac_ct_STRIP"; then
5938
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5940
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944
test -z "$as_dir" && as_dir=.
5945
for ac_exec_ext in '' $ac_executable_extensions; do
5946
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5947
ac_cv_prog_ac_ct_STRIP="strip"
5948
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5957
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5958
if test -n "$ac_ct_STRIP"; then
5959
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5960
$as_echo "$ac_ct_STRIP" >&6; }
5962
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5963
$as_echo "no" >&6; }
5966
if test "x$ac_ct_STRIP" = x; then
5969
case $cross_compiling:$ac_tool_warned in
5971
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5972
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5973
ac_tool_warned=yes ;;
5978
STRIP="$ac_cv_prog_STRIP"
5981
test -z "$STRIP" && STRIP=:
5988
if test -n "$ac_tool_prefix"; then
5989
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5990
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5991
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5992
$as_echo_n "checking for $ac_word... " >&6; }
5993
if test "${ac_cv_prog_RANLIB+set}" = set; then :
5994
$as_echo_n "(cached) " >&6
5996
if test -n "$RANLIB"; then
5997
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5999
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6003
test -z "$as_dir" && as_dir=.
6004
for ac_exec_ext in '' $ac_executable_extensions; do
6005
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6006
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6007
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6016
RANLIB=$ac_cv_prog_RANLIB
6017
if test -n "$RANLIB"; then
6018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6019
$as_echo "$RANLIB" >&6; }
6021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6022
$as_echo "no" >&6; }
6027
if test -z "$ac_cv_prog_RANLIB"; then
6028
ac_ct_RANLIB=$RANLIB
6029
# Extract the first word of "ranlib", so it can be a program name with args.
6030
set dummy ranlib; ac_word=$2
6031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6032
$as_echo_n "checking for $ac_word... " >&6; }
6033
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6034
$as_echo_n "(cached) " >&6
6036
if test -n "$ac_ct_RANLIB"; then
6037
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6039
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6043
test -z "$as_dir" && as_dir=.
6044
for ac_exec_ext in '' $ac_executable_extensions; do
6045
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6046
ac_cv_prog_ac_ct_RANLIB="ranlib"
6047
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6056
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6057
if test -n "$ac_ct_RANLIB"; then
6058
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6059
$as_echo "$ac_ct_RANLIB" >&6; }
6061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062
$as_echo "no" >&6; }
6065
if test "x$ac_ct_RANLIB" = x; then
6068
case $cross_compiling:$ac_tool_warned in
6070
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6071
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6072
ac_tool_warned=yes ;;
6074
RANLIB=$ac_ct_RANLIB
6077
RANLIB="$ac_cv_prog_RANLIB"
6080
test -z "$RANLIB" && RANLIB=:
6087
# Determine commands to create old-style static archives.
6088
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6089
old_postinstall_cmds='chmod 644 $oldlib'
6090
old_postuninstall_cmds=
6092
if test -n "$RANLIB"; then
6095
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6098
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6101
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6137
# If no C compiler was specified, use CC.
6140
# If no C compiler flags were specified, use CFLAGS.
6141
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6143
# Allow CC to be a program name with arguments.
6147
# Check for command to grab the raw symbol name followed by C symbol from nm.
6148
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6149
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6150
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6151
$as_echo_n "(cached) " >&6
6154
# These are sane defaults that work on at least a few old systems.
6155
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6157
# Character class describing NM global symbol codes.
6158
symcode='[BCDEGRST]'
6160
# Regexp to match symbols that can be accessed directly from C.
6161
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6163
# Define system-specific variables.
6168
cygwin* | mingw* | pw32* | cegcc*)
6169
symcode='[ABCDGISTW]'
6172
if test "$host_cpu" = ia64; then
6173
symcode='[ABCDEGRST]'
6177
symcode='[BCDEGRST]'
6180
symcode='[BCDEGQRST]'
6191
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6199
# If we're using GNU nm, then use its standard symbol codes.
6200
case `$NM -V 2>&1` in
6201
*GNU* | *'with BFD'*)
6202
symcode='[ABCDGIRSTW]' ;;
6205
# Transform an extracted symbol line into a proper C declaration.
6206
# Some systems (esp. on ia64) link data and code symbols differently,
6207
# so use this general approach.
6208
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6210
# Transform an extracted symbol line into symbol name and symbol address
6211
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6212
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'"
6214
# Handle CRLF in mingw tool chain
6218
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6222
# Try without a prefix underscore, then with it.
6223
for ac_symprfx in "" "_"; do
6225
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6226
symxfrm="\\1 $ac_symprfx\\2 \\2"
6228
# Write the raw and C identifiers.
6229
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6230
# Fake it for dumpbin and say T for any non-static function
6231
# and D for any global variable.
6232
# Also find C++ and __fastcall symbols from MSVC++,
6233
# which start with @ or ?.
6234
lt_cv_sys_global_symbol_pipe="$AWK '"\
6235
" {last_section=section; section=\$ 3};"\
6236
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6237
" \$ 0!~/External *\|/{next};"\
6238
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6239
" {if(hide[section]) next};"\
6240
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6241
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6242
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6243
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6244
" ' prfx=^$ac_symprfx"
6246
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6249
# Check to see that the pipe works correctly.
6253
cat > conftest.$ac_ext <<_LT_EOF
6258
void nm_test_func(void);
6259
void nm_test_func(void){}
6263
int main(){nm_test_var='a';nm_test_func();return(0);}
6266
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6267
(eval $ac_compile) 2>&5
6269
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6270
test $ac_status = 0; }; then
6271
# Now try to grab the symbols.
6273
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6274
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6276
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6277
test $ac_status = 0; } && test -s "$nlist"; then
6278
# Try sorting and uniquifying the output.
6279
if sort "$nlist" | uniq > "$nlist"T; then
6280
mv -f "$nlist"T "$nlist"
6285
# Make sure that we snagged all the symbols we need.
6286
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6287
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6288
cat <<_LT_EOF > conftest.$ac_ext
6294
# Now generate the symbol file.
6295
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6297
cat <<_LT_EOF >> conftest.$ac_ext
6299
/* The mapping between symbol names and symbols. */
6304
lt__PROGRAM__LTX_preloaded_symbols[] =
6306
{ "@PROGRAM@", (void *) 0 },
6308
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6309
cat <<\_LT_EOF >> conftest.$ac_ext
6313
/* This works around a problem in FreeBSD linker */
6314
#ifdef FREEBSD_WORKAROUND
6315
static const void *lt_preloaded_setup() {
6316
return lt__PROGRAM__LTX_preloaded_symbols;
6324
# Now try linking the two files.
6325
mv conftest.$ac_objext conftstm.$ac_objext
6326
lt_save_LIBS="$LIBS"
6327
lt_save_CFLAGS="$CFLAGS"
6328
LIBS="conftstm.$ac_objext"
6329
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6330
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6331
(eval $ac_link) 2>&5
6333
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6334
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6337
LIBS="$lt_save_LIBS"
6338
CFLAGS="$lt_save_CFLAGS"
6340
echo "cannot find nm_test_func in $nlist" >&5
6343
echo "cannot find nm_test_var in $nlist" >&5
6346
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6349
echo "$progname: failed program was:" >&5
6350
cat conftest.$ac_ext >&5
6352
rm -rf conftest* conftst*
6354
# Do not use the global_symbol_pipe unless it works.
6355
if test "$pipe_works" = yes; then
6358
lt_cv_sys_global_symbol_pipe=
6364
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6365
lt_cv_sys_global_symbol_to_cdecl=
6367
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6368
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6369
$as_echo "failed" >&6; }
6371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6372
$as_echo "ok" >&6; }
6397
@%:@ Check whether --enable-libtool-lock was given.
6398
if test "${enable_libtool_lock+set}" = set; then :
6399
enableval=$enable_libtool_lock;
6402
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6404
# Some flags need to be propagated to the compiler or linker for good
6408
# Find out which ABI we are using.
6409
echo 'int i;' > conftest.$ac_ext
6410
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6411
(eval $ac_compile) 2>&5
6413
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6414
test $ac_status = 0; }; then
6415
case `/usr/bin/file conftest.$ac_objext` in
6427
# Find out which ABI we are using.
6428
echo '#line __oline__ "configure"' > conftest.$ac_ext
6429
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6430
(eval $ac_compile) 2>&5
6432
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6433
test $ac_status = 0; }; then
6434
if test "$lt_cv_prog_gnu_ld" = yes; then
6435
case `/usr/bin/file conftest.$ac_objext` in
6437
LD="${LD-ld} -melf32bsmip"
6440
LD="${LD-ld} -melf32bmipn32"
6443
LD="${LD-ld} -melf64bmip"
6447
case `/usr/bin/file conftest.$ac_objext` in
6463
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6464
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6465
# Find out which ABI we are using.
6466
echo 'int i;' > conftest.$ac_ext
6467
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6468
(eval $ac_compile) 2>&5
6470
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6471
test $ac_status = 0; }; then
6472
case `/usr/bin/file conftest.o` in
6475
x86_64-*kfreebsd*-gnu)
6476
LD="${LD-ld} -m elf_i386_fbsd"
6479
LD="${LD-ld} -m elf_i386"
6481
ppc64-*linux*|powerpc64-*linux*)
6482
LD="${LD-ld} -m elf32ppclinux"
6485
LD="${LD-ld} -m elf_s390"
6488
LD="${LD-ld} -m elf32_sparc"
6494
x86_64-*kfreebsd*-gnu)
6495
LD="${LD-ld} -m elf_x86_64_fbsd"
6498
LD="${LD-ld} -m elf_x86_64"
6500
ppc*-*linux*|powerpc*-*linux*)
6501
LD="${LD-ld} -m elf64ppc"
6503
s390*-*linux*|s390*-*tpf*)
6504
LD="${LD-ld} -m elf64_s390"
6507
LD="${LD-ld} -m elf64_sparc"
6517
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6518
SAVE_CFLAGS="$CFLAGS"
6519
CFLAGS="$CFLAGS -belf"
6520
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6521
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6522
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6523
$as_echo_n "(cached) " >&6
6526
ac_cpp='$CPP $CPPFLAGS'
6527
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6528
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6529
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6531
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6532
/* end confdefs.h. */
6542
if ac_fn_c_try_link "$LINENO"; then :
6543
lt_cv_cc_needs_belf=yes
6545
lt_cv_cc_needs_belf=no
6547
rm -f core conftest.err conftest.$ac_objext \
6548
conftest$ac_exeext conftest.$ac_ext
6550
ac_cpp='$CPP $CPPFLAGS'
6551
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6552
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6553
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6556
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6557
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6558
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6559
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6560
CFLAGS="$SAVE_CFLAGS"
6564
# Find out which ABI we are using.
6565
echo 'int i;' > conftest.$ac_ext
6566
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6567
(eval $ac_compile) 2>&5
6569
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6570
test $ac_status = 0; }; then
6571
case `/usr/bin/file conftest.o` in
6573
case $lt_cv_prog_gnu_ld in
6574
yes*) LD="${LD-ld} -m elf64_sparc" ;;
6576
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6588
need_locks="$enable_libtool_lock"
6592
rhapsody* | darwin*)
6593
if test -n "$ac_tool_prefix"; then
6594
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6595
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6596
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6597
$as_echo_n "checking for $ac_word... " >&6; }
6598
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6599
$as_echo_n "(cached) " >&6
6601
if test -n "$DSYMUTIL"; then
6602
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6604
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6608
test -z "$as_dir" && as_dir=.
6609
for ac_exec_ext in '' $ac_executable_extensions; do
6610
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6611
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6612
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6621
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6622
if test -n "$DSYMUTIL"; then
6623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6624
$as_echo "$DSYMUTIL" >&6; }
6626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6627
$as_echo "no" >&6; }
6632
if test -z "$ac_cv_prog_DSYMUTIL"; then
6633
ac_ct_DSYMUTIL=$DSYMUTIL
6634
# Extract the first word of "dsymutil", so it can be a program name with args.
6635
set dummy dsymutil; ac_word=$2
6636
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6637
$as_echo_n "checking for $ac_word... " >&6; }
6638
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6639
$as_echo_n "(cached) " >&6
6641
if test -n "$ac_ct_DSYMUTIL"; then
6642
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6644
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6648
test -z "$as_dir" && as_dir=.
6649
for ac_exec_ext in '' $ac_executable_extensions; do
6650
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6651
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6652
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6661
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6662
if test -n "$ac_ct_DSYMUTIL"; then
6663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6664
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6666
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6667
$as_echo "no" >&6; }
6670
if test "x$ac_ct_DSYMUTIL" = x; then
6673
case $cross_compiling:$ac_tool_warned in
6675
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6676
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6677
ac_tool_warned=yes ;;
6679
DSYMUTIL=$ac_ct_DSYMUTIL
6682
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6685
if test -n "$ac_tool_prefix"; then
6686
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6687
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689
$as_echo_n "checking for $ac_word... " >&6; }
6690
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6691
$as_echo_n "(cached) " >&6
6693
if test -n "$NMEDIT"; then
6694
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6696
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6700
test -z "$as_dir" && as_dir=.
6701
for ac_exec_ext in '' $ac_executable_extensions; do
6702
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6703
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6704
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6713
NMEDIT=$ac_cv_prog_NMEDIT
6714
if test -n "$NMEDIT"; then
6715
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6716
$as_echo "$NMEDIT" >&6; }
6718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719
$as_echo "no" >&6; }
6724
if test -z "$ac_cv_prog_NMEDIT"; then
6725
ac_ct_NMEDIT=$NMEDIT
6726
# Extract the first word of "nmedit", so it can be a program name with args.
6727
set dummy nmedit; ac_word=$2
6728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6729
$as_echo_n "checking for $ac_word... " >&6; }
6730
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6731
$as_echo_n "(cached) " >&6
6733
if test -n "$ac_ct_NMEDIT"; then
6734
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6736
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6740
test -z "$as_dir" && as_dir=.
6741
for ac_exec_ext in '' $ac_executable_extensions; do
6742
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6743
ac_cv_prog_ac_ct_NMEDIT="nmedit"
6744
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6753
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6754
if test -n "$ac_ct_NMEDIT"; then
6755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6756
$as_echo "$ac_ct_NMEDIT" >&6; }
6758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6759
$as_echo "no" >&6; }
6762
if test "x$ac_ct_NMEDIT" = x; then
6765
case $cross_compiling:$ac_tool_warned in
6767
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6768
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6769
ac_tool_warned=yes ;;
6771
NMEDIT=$ac_ct_NMEDIT
6774
NMEDIT="$ac_cv_prog_NMEDIT"
6777
if test -n "$ac_tool_prefix"; then
6778
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6779
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6780
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781
$as_echo_n "checking for $ac_word... " >&6; }
6782
if test "${ac_cv_prog_LIPO+set}" = set; then :
6783
$as_echo_n "(cached) " >&6
6785
if test -n "$LIPO"; then
6786
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6788
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6792
test -z "$as_dir" && as_dir=.
6793
for ac_exec_ext in '' $ac_executable_extensions; do
6794
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6795
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6796
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6805
LIPO=$ac_cv_prog_LIPO
6806
if test -n "$LIPO"; then
6807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6808
$as_echo "$LIPO" >&6; }
6810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6811
$as_echo "no" >&6; }
6816
if test -z "$ac_cv_prog_LIPO"; then
6818
# Extract the first word of "lipo", so it can be a program name with args.
6819
set dummy lipo; ac_word=$2
6820
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6821
$as_echo_n "checking for $ac_word... " >&6; }
6822
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
6823
$as_echo_n "(cached) " >&6
6825
if test -n "$ac_ct_LIPO"; then
6826
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6828
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6832
test -z "$as_dir" && as_dir=.
6833
for ac_exec_ext in '' $ac_executable_extensions; do
6834
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6835
ac_cv_prog_ac_ct_LIPO="lipo"
6836
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6845
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6846
if test -n "$ac_ct_LIPO"; then
6847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6848
$as_echo "$ac_ct_LIPO" >&6; }
6850
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6851
$as_echo "no" >&6; }
6854
if test "x$ac_ct_LIPO" = x; then
6857
case $cross_compiling:$ac_tool_warned in
6859
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6860
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6861
ac_tool_warned=yes ;;
6866
LIPO="$ac_cv_prog_LIPO"
6869
if test -n "$ac_tool_prefix"; then
6870
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6871
set dummy ${ac_tool_prefix}otool; ac_word=$2
6872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6873
$as_echo_n "checking for $ac_word... " >&6; }
6874
if test "${ac_cv_prog_OTOOL+set}" = set; then :
6875
$as_echo_n "(cached) " >&6
6877
if test -n "$OTOOL"; then
6878
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6880
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6884
test -z "$as_dir" && as_dir=.
6885
for ac_exec_ext in '' $ac_executable_extensions; do
6886
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6887
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6888
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6897
OTOOL=$ac_cv_prog_OTOOL
6898
if test -n "$OTOOL"; then
6899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6900
$as_echo "$OTOOL" >&6; }
6902
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6903
$as_echo "no" >&6; }
6908
if test -z "$ac_cv_prog_OTOOL"; then
6910
# Extract the first word of "otool", so it can be a program name with args.
6911
set dummy otool; ac_word=$2
6912
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6913
$as_echo_n "checking for $ac_word... " >&6; }
6914
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
6915
$as_echo_n "(cached) " >&6
6917
if test -n "$ac_ct_OTOOL"; then
6918
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6920
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6924
test -z "$as_dir" && as_dir=.
6925
for ac_exec_ext in '' $ac_executable_extensions; do
6926
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6927
ac_cv_prog_ac_ct_OTOOL="otool"
6928
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6937
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6938
if test -n "$ac_ct_OTOOL"; then
6939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6940
$as_echo "$ac_ct_OTOOL" >&6; }
6942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6943
$as_echo "no" >&6; }
6946
if test "x$ac_ct_OTOOL" = x; then
6949
case $cross_compiling:$ac_tool_warned in
6951
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6952
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6953
ac_tool_warned=yes ;;
6958
OTOOL="$ac_cv_prog_OTOOL"
6961
if test -n "$ac_tool_prefix"; then
6962
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6963
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6964
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6965
$as_echo_n "checking for $ac_word... " >&6; }
6966
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
6967
$as_echo_n "(cached) " >&6
6969
if test -n "$OTOOL64"; then
6970
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6972
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6976
test -z "$as_dir" && as_dir=.
6977
for ac_exec_ext in '' $ac_executable_extensions; do
6978
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6979
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6980
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6989
OTOOL64=$ac_cv_prog_OTOOL64
6990
if test -n "$OTOOL64"; then
6991
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6992
$as_echo "$OTOOL64" >&6; }
6994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6995
$as_echo "no" >&6; }
7000
if test -z "$ac_cv_prog_OTOOL64"; then
7001
ac_ct_OTOOL64=$OTOOL64
7002
# Extract the first word of "otool64", so it can be a program name with args.
7003
set dummy otool64; ac_word=$2
7004
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7005
$as_echo_n "checking for $ac_word... " >&6; }
7006
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7007
$as_echo_n "(cached) " >&6
7009
if test -n "$ac_ct_OTOOL64"; then
7010
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7012
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7016
test -z "$as_dir" && as_dir=.
7017
for ac_exec_ext in '' $ac_executable_extensions; do
7018
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7019
ac_cv_prog_ac_ct_OTOOL64="otool64"
7020
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7029
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7030
if test -n "$ac_ct_OTOOL64"; then
7031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7032
$as_echo "$ac_ct_OTOOL64" >&6; }
7034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035
$as_echo "no" >&6; }
7038
if test "x$ac_ct_OTOOL64" = x; then
7041
case $cross_compiling:$ac_tool_warned in
7043
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7044
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7045
ac_tool_warned=yes ;;
7047
OTOOL64=$ac_ct_OTOOL64
7050
OTOOL64="$ac_cv_prog_OTOOL64"
7079
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7080
$as_echo_n "checking for -single_module linker flag... " >&6; }
7081
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7082
$as_echo_n "(cached) " >&6
7084
lt_cv_apple_cc_single_mod=no
7085
if test -z "${LT_MULTI_MODULE}"; then
7086
# By default we will add the -single_module flag. You can override
7087
# by either setting the environment variable LT_MULTI_MODULE
7088
# non-empty at configure time, or by adding -multi_module to the
7090
rm -rf libconftest.dylib*
7091
echo "int foo(void){return 1;}" > conftest.c
7092
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7093
-dynamiclib -Wl,-single_module conftest.c" >&5
7094
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7095
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7097
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7098
lt_cv_apple_cc_single_mod=yes
7100
cat conftest.err >&5
7102
rm -rf libconftest.dylib*
7106
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7107
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7109
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7110
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7111
$as_echo_n "(cached) " >&6
7113
lt_cv_ld_exported_symbols_list=no
7114
save_LDFLAGS=$LDFLAGS
7115
echo "_main" > conftest.sym
7116
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7117
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7118
/* end confdefs.h. */
7128
if ac_fn_c_try_link "$LINENO"; then :
7129
lt_cv_ld_exported_symbols_list=yes
7131
lt_cv_ld_exported_symbols_list=no
7133
rm -f core conftest.err conftest.$ac_objext \
7134
conftest$ac_exeext conftest.$ac_ext
7135
LDFLAGS="$save_LDFLAGS"
7138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7139
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7141
rhapsody* | darwin1.[012])
7142
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7144
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7145
darwin*) # darwin 5.x on
7146
# if running on 10.5 or later, the deployment target defaults
7147
# to the OS version, if on x86, and 10.4, the deployment
7148
# target defaults to 10.4. Don't you love it?
7149
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7150
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7151
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7153
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7155
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7159
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7160
_lt_dar_single_mod='$single_module'
7162
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7163
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7165
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7167
if test "$DSYMUTIL" != ":"; then
7168
_lt_dsymutil='~$DSYMUTIL $lib || :'
7176
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7177
$as_echo_n "checking for ANSI C header files... " >&6; }
7178
if test "${ac_cv_header_stdc+set}" = set; then :
7179
$as_echo_n "(cached) " >&6
7181
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7182
/* end confdefs.h. */
7196
if ac_fn_c_try_compile "$LINENO"; then :
7197
ac_cv_header_stdc=yes
7199
ac_cv_header_stdc=no
7201
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7203
if test $ac_cv_header_stdc = yes; then
7204
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7205
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7206
/* end confdefs.h. */
7210
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7211
$EGREP "memchr" >/dev/null 2>&1; then :
7214
ac_cv_header_stdc=no
7220
if test $ac_cv_header_stdc = yes; then
7221
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7222
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7223
/* end confdefs.h. */
7227
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7228
$EGREP "free" >/dev/null 2>&1; then :
7231
ac_cv_header_stdc=no
7237
if test $ac_cv_header_stdc = yes; then
7238
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7239
if test "$cross_compiling" = yes; then :
7242
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7243
/* end confdefs.h. */
7246
#if ((' ' & 0x0FF) == 0x020)
7247
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7248
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7250
# define ISLOWER(c) \
7251
(('a' <= (c) && (c) <= 'i') \
7252
|| ('j' <= (c) && (c) <= 'r') \
7253
|| ('s' <= (c) && (c) <= 'z'))
7254
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7257
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7262
for (i = 0; i < 256; i++)
7263
if (XOR (islower (i), ISLOWER (i))
7264
|| toupper (i) != TOUPPER (i))
7269
if ac_fn_c_try_run "$LINENO"; then :
7272
ac_cv_header_stdc=no
7274
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7275
conftest.$ac_objext conftest.beam conftest.$ac_ext
7280
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7281
$as_echo "$ac_cv_header_stdc" >&6; }
7282
if test $ac_cv_header_stdc = yes; then
7284
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
7288
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7289
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7290
inttypes.h stdint.h unistd.h
7292
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7293
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7295
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7296
cat >>confdefs.h <<_ACEOF
7297
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7305
for ac_header in dlfcn.h
7307
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7309
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7310
cat >>confdefs.h <<_ACEOF
7311
@%:@define HAVE_DLFCN_H 1
7321
ac_cpp='$CXXCPP $CPPFLAGS'
7322
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7323
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7324
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7325
if test -z "$CXX"; then
7326
if test -n "$CCC"; then
7329
if test -n "$ac_tool_prefix"; then
7330
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7332
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7333
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7334
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7335
$as_echo_n "checking for $ac_word... " >&6; }
7336
if test "${ac_cv_prog_CXX+set}" = set; then :
7337
$as_echo_n "(cached) " >&6
7339
if test -n "$CXX"; then
7340
ac_cv_prog_CXX="$CXX" # Let the user override the test.
7342
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346
test -z "$as_dir" && as_dir=.
7347
for ac_exec_ext in '' $ac_executable_extensions; do
7348
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7349
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7350
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7360
if test -n "$CXX"; then
7361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7362
$as_echo "$CXX" >&6; }
7364
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7365
$as_echo "no" >&6; }
7369
test -n "$CXX" && break
7372
if test -z "$CXX"; then
7374
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7376
# Extract the first word of "$ac_prog", so it can be a program name with args.
7377
set dummy $ac_prog; ac_word=$2
7378
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7379
$as_echo_n "checking for $ac_word... " >&6; }
7380
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
7381
$as_echo_n "(cached) " >&6
7383
if test -n "$ac_ct_CXX"; then
7384
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7386
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7390
test -z "$as_dir" && as_dir=.
7391
for ac_exec_ext in '' $ac_executable_extensions; do
7392
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7393
ac_cv_prog_ac_ct_CXX="$ac_prog"
7394
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7403
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7404
if test -n "$ac_ct_CXX"; then
7405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7406
$as_echo "$ac_ct_CXX" >&6; }
7408
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409
$as_echo "no" >&6; }
7413
test -n "$ac_ct_CXX" && break
7416
if test "x$ac_ct_CXX" = x; then
7419
case $cross_compiling:$ac_tool_warned in
7421
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7422
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7423
ac_tool_warned=yes ;;
7431
# Provide some information about the compiler.
7432
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7435
for ac_option in --version -v -V -qversion; do
7436
{ { ac_try="$ac_compiler $ac_option >&5"
7438
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7439
*) ac_try_echo=$ac_try;;
7441
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7442
$as_echo "$ac_try_echo"; } >&5
7443
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
7445
if test -s conftest.err; then
7447
... rest of stderr output deleted ...
7448
10q' conftest.err >conftest.er1
7449
cat conftest.er1 >&5
7451
rm -f conftest.er1 conftest.err
7452
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7453
test $ac_status = 0; }
7456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7457
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7458
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
7459
$as_echo_n "(cached) " >&6
7461
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7462
/* end confdefs.h. */
7475
if ac_fn_cxx_try_compile "$LINENO"; then :
7480
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7481
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7484
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7485
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7486
if test $ac_compiler_gnu = yes; then
7491
ac_test_CXXFLAGS=${CXXFLAGS+set}
7492
ac_save_CXXFLAGS=$CXXFLAGS
7493
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7494
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
7495
if test "${ac_cv_prog_cxx_g+set}" = set; then :
7496
$as_echo_n "(cached) " >&6
7498
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7499
ac_cxx_werror_flag=yes
7502
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7503
/* end confdefs.h. */
7513
if ac_fn_cxx_try_compile "$LINENO"; then :
7514
ac_cv_prog_cxx_g=yes
7517
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7518
/* end confdefs.h. */
7528
if ac_fn_cxx_try_compile "$LINENO"; then :
7531
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7533
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7534
/* end confdefs.h. */
7544
if ac_fn_cxx_try_compile "$LINENO"; then :
7545
ac_cv_prog_cxx_g=yes
7547
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7549
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7551
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7552
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7555
$as_echo "$ac_cv_prog_cxx_g" >&6; }
7556
if test "$ac_test_CXXFLAGS" = set; then
7557
CXXFLAGS=$ac_save_CXXFLAGS
7558
elif test $ac_cv_prog_cxx_g = yes; then
7559
if test "$GXX" = yes; then
7565
if test "$GXX" = yes; then
7572
ac_cpp='$CPP $CPPFLAGS'
7573
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7574
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7575
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7577
depcc="$CXX" am_compiler_list=
7579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7580
$as_echo_n "checking dependency style of $depcc... " >&6; }
7581
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
7582
$as_echo_n "(cached) " >&6
7584
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7585
# We make a subdir and do the tests there. Otherwise we can end up
7586
# making bogus files that we don't know about and never remove. For
7587
# instance it was reported that on HP-UX the gcc test will end up
7588
# making a dummy file named `D' -- because `-MD' means `put the output
7591
# Copy depcomp to subdir because otherwise we won't find it if we're
7592
# using a relative directory.
7593
cp "$am_depcomp" conftest.dir
7595
# We will build objects and dependencies in a subdirectory because
7596
# it helps to detect inapplicable dependency modes. For instance
7597
# both Tru64's cc and ICC support -MD to output dependencies as a
7598
# side effect of compilation, but ICC will put the dependencies in
7599
# the current directory while Tru64 will put them in the object
7603
am_cv_CXX_dependencies_compiler_type=none
7604
if test "$am_compiler_list" = ""; then
7605
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
7608
case " $depcc " in #(
7609
*\ -arch\ *\ -arch\ *) am__universal=true ;;
7612
for depmode in $am_compiler_list; do
7613
# Setup a source with many dependencies, because some compilers
7614
# like to wrap large dependency lists on column 80 (with \), and
7615
# we should not choose a depcomp mode which is confused by this.
7617
# We need to recreate these files for each test, as the compiler may
7618
# overwrite some of them when testing with obscure command lines.
7619
# This happens at least with the AIX C compiler.
7621
for i in 1 2 3 4 5 6; do
7622
echo '#include "conftst'$i'.h"' >> sub/conftest.c
7623
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
7624
# Solaris 8's {/usr,}/bin/sh.
7625
touch sub/conftst$i.h
7627
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
7629
# We check with `-c' and `-o' for the sake of the "dashmstdout"
7630
# mode. It turns out that the SunPro C++ compiler does not properly
7631
# handle `-M -o', and we need to detect this. Also, some Intel
7632
# versions had trouble with output in subdirs
7633
am__obj=sub/conftest.${OBJEXT-o}
7634
am__minus_obj="-o $am__obj"
7637
# This depmode causes a compiler race in universal mode.
7638
test "$am__universal" = false || continue
7641
# after this tag, mechanisms are not by side-effect, so they'll
7642
# only be used when explicitly requested
7643
if test "x$enable_dependency_tracking" = xyes; then
7649
msvisualcpp | msvcmsys)
7650
# This compiler won't grok `-c -o', but also, the minuso test has
7651
# not run yet. These depmodes are late enough in the game, and
7652
# so weak that their functioning should not be impacted.
7653
am__obj=conftest.${OBJEXT-o}
7658
if depmode=$depmode \
7659
source=sub/conftest.c object=$am__obj \
7660
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
7661
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
7662
>/dev/null 2>conftest.err &&
7663
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
7664
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
7665
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
7666
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
7667
# icc doesn't choke on unknown options, it will just issue warnings
7668
# or remarks (even with -Werror). So we grep stderr for any message
7669
# that says an option was ignored or not supported.
7670
# When given -MP, icc 7.0 and 7.1 complain thusly:
7671
# icc: Command line warning: ignoring option '-M'; no argument required
7672
# The diagnosis changed in icc 8.0:
7673
# icc: Command line remark: option '-MP' not supported
7674
if (grep 'ignoring option' conftest.err ||
7675
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
7676
am_cv_CXX_dependencies_compiler_type=$depmode
7685
am_cv_CXX_dependencies_compiler_type=none
7689
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
7690
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
7691
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
7694
test "x$enable_dependency_tracking" != xno \
7695
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
7696
am__fastdepCXX_TRUE=
7697
am__fastdepCXX_FALSE='#'
7699
am__fastdepCXX_TRUE='#'
7700
am__fastdepCXX_FALSE=
7704
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7705
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7706
(test "X$CXX" != "Xg++"))) ; then
7708
ac_cpp='$CXXCPP $CPPFLAGS'
7709
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7710
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7711
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
7713
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
7714
if test -z "$CXXCPP"; then
7715
if test "${ac_cv_prog_CXXCPP+set}" = set; then :
7716
$as_echo_n "(cached) " >&6
7718
# Double quotes because CXXCPP needs to be expanded
7719
for CXXCPP in "$CXX -E" "/lib/cpp"
7722
for ac_cxx_preproc_warn_flag in '' yes
7724
# Use a header file that comes with gcc, so configuring glibc
7725
# with a fresh cross-compiler works.
7726
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7727
# <limits.h> exists even on freestanding compilers.
7728
# On the NeXT, cc -E runs the code through the compiler's parser,
7729
# not just through cpp. "Syntax error" is here to catch this case.
7730
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7731
/* end confdefs.h. */
7733
@%:@ include <limits.h>
7735
@%:@ include <assert.h>
7739
if ac_fn_cxx_try_cpp "$LINENO"; then :
7742
# Broken: fails on valid input.
7745
rm -f conftest.err conftest.i conftest.$ac_ext
7747
# OK, works on sane cases. Now check whether nonexistent headers
7748
# can be detected and how.
7749
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7750
/* end confdefs.h. */
7751
@%:@include <ac_nonexistent.h>
7753
if ac_fn_cxx_try_cpp "$LINENO"; then :
7754
# Broken: success on invalid input.
7757
# Passes both tests.
7761
rm -f conftest.err conftest.i conftest.$ac_ext
7764
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7765
rm -f conftest.i conftest.err conftest.$ac_ext
7766
if $ac_preproc_ok; then :
7771
ac_cv_prog_CXXCPP=$CXXCPP
7774
CXXCPP=$ac_cv_prog_CXXCPP
7776
ac_cv_prog_CXXCPP=$CXXCPP
7778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
7779
$as_echo "$CXXCPP" >&6; }
7781
for ac_cxx_preproc_warn_flag in '' yes
7783
# Use a header file that comes with gcc, so configuring glibc
7784
# with a fresh cross-compiler works.
7785
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7786
# <limits.h> exists even on freestanding compilers.
7787
# On the NeXT, cc -E runs the code through the compiler's parser,
7788
# not just through cpp. "Syntax error" is here to catch this case.
7789
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7790
/* end confdefs.h. */
7792
@%:@ include <limits.h>
7794
@%:@ include <assert.h>
7798
if ac_fn_cxx_try_cpp "$LINENO"; then :
7801
# Broken: fails on valid input.
7804
rm -f conftest.err conftest.i conftest.$ac_ext
7806
# OK, works on sane cases. Now check whether nonexistent headers
7807
# can be detected and how.
7808
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7809
/* end confdefs.h. */
7810
@%:@include <ac_nonexistent.h>
7812
if ac_fn_cxx_try_cpp "$LINENO"; then :
7813
# Broken: success on invalid input.
7816
# Passes both tests.
7820
rm -f conftest.err conftest.i conftest.$ac_ext
7823
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7824
rm -f conftest.i conftest.err conftest.$ac_ext
7825
if $ac_preproc_ok; then :
7828
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7829
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7830
_lt_caught_CXX_error=yes; }
7834
ac_cpp='$CPP $CPPFLAGS'
7835
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7836
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7837
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7840
_lt_caught_CXX_error=yes
7857
@%:@ Check whether --enable-shared was given.
7858
if test "${enable_shared+set}" = set; then :
7859
enableval=$enable_shared; p=${PACKAGE-default}
7861
yes) enable_shared=yes ;;
7862
no) enable_shared=no ;;
7865
# Look at the argument we got. We use all the common list separators.
7866
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7867
for pkg in $enableval; do
7869
if test "X$pkg" = "X$p"; then
7888
@%:@ Check whether --enable-static was given.
7889
if test "${enable_static+set}" = set; then :
7890
enableval=$enable_static; p=${PACKAGE-default}
7892
yes) enable_static=yes ;;
7893
no) enable_static=no ;;
7896
# Look at the argument we got. We use all the common list separators.
7897
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7898
for pkg in $enableval; do
7900
if test "X$pkg" = "X$p"; then
7920
@%:@ Check whether --with-pic was given.
7921
if test "${with_pic+set}" = set; then :
7922
withval=$with_pic; pic_mode="$withval"
7928
test -z "$pic_mode" && pic_mode=default
7936
@%:@ Check whether --enable-fast-install was given.
7937
if test "${enable_fast_install+set}" = set; then :
7938
enableval=$enable_fast_install; p=${PACKAGE-default}
7940
yes) enable_fast_install=yes ;;
7941
no) enable_fast_install=no ;;
7943
enable_fast_install=no
7944
# Look at the argument we got. We use all the common list separators.
7945
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7946
for pkg in $enableval; do
7948
if test "X$pkg" = "X$p"; then
7949
enable_fast_install=yes
7956
enable_fast_install=yes
7969
# This can be used to rebuild libtool when needed
7970
LIBTOOL_DEPS="$ltmain"
7972
# Always use our own libtool.
7973
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7999
test -z "$LN_S" && LN_S="ln -s"
8014
if test -n "${ZSH_VERSION+set}" ; then
8015
setopt NO_GLOB_SUBST
8018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8019
$as_echo_n "checking for objdir... " >&6; }
8020
if test "${lt_cv_objdir+set}" = set; then :
8021
$as_echo_n "(cached) " >&6
8023
rm -f .libs 2>/dev/null
8024
mkdir .libs 2>/dev/null
8025
if test -d .libs; then
8028
# MS-DOS does not allow filenames that begin with a dot.
8031
rmdir .libs 2>/dev/null
8033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8034
$as_echo "$lt_cv_objdir" >&6; }
8035
objdir=$lt_cv_objdir
8041
cat >>confdefs.h <<_ACEOF
8042
@%:@define LT_OBJDIR "$lt_cv_objdir/"
8063
# AIX sometimes has problems with the GCC collect2 program. For some
8064
# reason, if we set the COLLECT_NAMES environment variable, the problems
8065
# vanish in a puff of smoke.
8066
if test "X${COLLECT_NAMES+set}" != Xset; then
8068
export COLLECT_NAMES
8073
# Sed substitution that helps us do robust quoting. It backslashifies
8074
# metacharacters that are still active within double-quoted strings.
8075
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8077
# Same as above, but do not quote variable references.
8078
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8080
# Sed substitution to delay expansion of an escaped shell variable in a
8081
# double_quote_subst'ed string.
8082
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8084
# Sed substitution to delay expansion of an escaped single quote.
8085
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8087
# Sed substitution to avoid accidental globbing in evaled expressions
8088
no_glob_subst='s/\*/\\\*/g'
8092
can_build_shared=yes
8094
# All known linkers require a `.a' archive for static linking (except MSVC,
8095
# which needs '.lib').
8098
with_gnu_ld="$lt_cv_prog_gnu_ld"
8101
old_CFLAGS="$CFLAGS"
8103
# Set sane defaults for various variables
8104
test -z "$CC" && CC=cc
8105
test -z "$LTCC" && LTCC=$CC
8106
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8107
test -z "$LD" && LD=ld
8108
test -z "$ac_objext" && ac_objext=o
8110
for cc_temp in $compiler""; do
8112
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8113
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8118
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8121
# Only perform the check for file, if the check method requires it
8122
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8123
case $deplibs_check_method in
8125
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8126
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8127
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8128
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8129
$as_echo_n "(cached) " >&6
8133
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8136
lt_save_MAGIC_CMD="$MAGIC_CMD"
8137
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8138
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8139
for ac_dir in $ac_dummy; do
8141
test -z "$ac_dir" && ac_dir=.
8142
if test -f $ac_dir/${ac_tool_prefix}file; then
8143
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8144
if test -n "$file_magic_test_file"; then
8145
case $deplibs_check_method in
8147
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8148
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8149
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8150
$EGREP "$file_magic_regex" > /dev/null; then
8155
*** Warning: the command libtool uses to detect shared libraries,
8156
*** $file_magic_cmd, produces output that libtool cannot recognize.
8157
*** The result is that libtool may fail to recognize shared libraries
8158
*** as such. This will affect the creation of libtool libraries that
8159
*** depend on shared libraries, but programs linked with such libtool
8160
*** libraries will work regardless of this problem. Nevertheless, you
8161
*** may want to report the problem to your system manager and/or to
8162
*** bug-libtool@gnu.org
8172
MAGIC_CMD="$lt_save_MAGIC_CMD"
8177
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8178
if test -n "$MAGIC_CMD"; then
8179
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8180
$as_echo "$MAGIC_CMD" >&6; }
8182
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8183
$as_echo "no" >&6; }
8190
if test -z "$lt_cv_path_MAGIC_CMD"; then
8191
if test -n "$ac_tool_prefix"; then
8192
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8193
$as_echo_n "checking for file... " >&6; }
8194
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8195
$as_echo_n "(cached) " >&6
8199
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8202
lt_save_MAGIC_CMD="$MAGIC_CMD"
8203
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8204
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8205
for ac_dir in $ac_dummy; do
8207
test -z "$ac_dir" && ac_dir=.
8208
if test -f $ac_dir/file; then
8209
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8210
if test -n "$file_magic_test_file"; then
8211
case $deplibs_check_method in
8213
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8214
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8215
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8216
$EGREP "$file_magic_regex" > /dev/null; then
8221
*** Warning: the command libtool uses to detect shared libraries,
8222
*** $file_magic_cmd, produces output that libtool cannot recognize.
8223
*** The result is that libtool may fail to recognize shared libraries
8224
*** as such. This will affect the creation of libtool libraries that
8225
*** depend on shared libraries, but programs linked with such libtool
8226
*** libraries will work regardless of this problem. Nevertheless, you
8227
*** may want to report the problem to your system manager and/or to
8228
*** bug-libtool@gnu.org
8238
MAGIC_CMD="$lt_save_MAGIC_CMD"
8243
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8244
if test -n "$MAGIC_CMD"; then
8245
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8246
$as_echo "$MAGIC_CMD" >&6; }
8248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8249
$as_echo "no" >&6; }
8262
# Use C for the default configuration in the libtool script
8266
ac_cpp='$CPP $CPPFLAGS'
8267
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8268
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8269
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8272
# Source file extension for C test sources.
8275
# Object file extension for compiled C test sources.
8279
# Code to be used in simple compile tests
8280
lt_simple_compile_test_code="int some_variable = 0;"
8282
# Code to be used in simple link tests
8283
lt_simple_link_test_code='int main(){return(0);}'
8291
# If no C compiler was specified, use CC.
8294
# If no C compiler flags were specified, use CFLAGS.
8295
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8297
# Allow CC to be a program name with arguments.
8300
# Save the default compiler, since it gets overwritten when the other
8301
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8302
compiler_DEFAULT=$CC
8304
# save warnings/boilerplate of simple test code
8305
ac_outfile=conftest.$ac_objext
8306
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8307
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8308
_lt_compiler_boilerplate=`cat conftest.err`
8311
ac_outfile=conftest.$ac_objext
8312
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8313
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8314
_lt_linker_boilerplate=`cat conftest.err`
8318
if test -n "$compiler"; then
8320
lt_prog_compiler_no_builtin_flag=
8322
if test "$GCC" = yes; then
8323
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8325
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8326
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8327
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8328
$as_echo_n "(cached) " >&6
8330
lt_cv_prog_compiler_rtti_exceptions=no
8331
ac_outfile=conftest.$ac_objext
8332
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8333
lt_compiler_flag="-fno-rtti -fno-exceptions"
8334
# Insert the option either (1) after the last *FLAGS variable, or
8335
# (2) before a word containing "conftest.", or (3) at the end.
8336
# Note that $ac_compile itself does not contain backslashes and begins
8337
# with a dollar sign (not a hyphen), so the echo should work correctly.
8338
# The option is referenced via a variable to avoid confusing sed.
8339
lt_compile=`echo "$ac_compile" | $SED \
8340
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8341
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8342
-e 's:$: $lt_compiler_flag:'`
8343
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8344
(eval "$lt_compile" 2>conftest.err)
8346
cat conftest.err >&5
8347
echo "$as_me:__oline__: \$? = $ac_status" >&5
8348
if (exit $ac_status) && test -s "$ac_outfile"; then
8349
# The compiler can only warn and ignore the option if not recognized
8350
# So say no if there are warnings other than the usual output.
8351
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8352
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8353
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8354
lt_cv_prog_compiler_rtti_exceptions=yes
8360
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8361
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8363
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8364
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8376
lt_prog_compiler_wl=
8377
lt_prog_compiler_pic=
8378
lt_prog_compiler_static=
8380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8381
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8383
if test "$GCC" = yes; then
8384
lt_prog_compiler_wl='-Wl,'
8385
lt_prog_compiler_static='-static'
8389
# All AIX code is PIC.
8390
if test "$host_cpu" = ia64; then
8391
# AIX 5 now supports IA64 processor
8392
lt_prog_compiler_static='-Bstatic'
8399
# see comment about AmigaOS4 .so support
8400
lt_prog_compiler_pic='-fPIC'
8403
# FIXME: we need at least 68020 code to build shared libraries, but
8404
# adding the `-m68020' flag to GCC prevents building anything better,
8406
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8411
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8412
# PIC is the default for these OSes.
8415
mingw* | cygwin* | pw32* | os2* | cegcc*)
8416
# This hack is so that the source file can tell whether it is being
8417
# built for inclusion in a dll (and should export symbols for example).
8418
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8419
# (--disable-auto-import) libraries
8420
lt_prog_compiler_pic='-DDLL_EXPORT'
8423
darwin* | rhapsody*)
8424
# PIC is the default on this platform
8425
# Common symbols not allowed in MH_DYLIB files
8426
lt_prog_compiler_pic='-fno-common'
8430
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8431
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8432
# sets the default TLS model and affects inlining.
8438
lt_prog_compiler_pic='-fPIC'
8444
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8445
# Instead, we relocate shared libraries at runtime.
8449
# Just because we use GCC doesn't mean we suddenly get shared libraries
8450
# on systems that don't support them.
8451
lt_prog_compiler_can_build_shared=no
8456
# QNX uses GNU C++, but need to define -shared option too, otherwise
8458
lt_prog_compiler_pic='-fPIC -shared'
8462
if test -d /usr/nec; then
8463
lt_prog_compiler_pic=-Kconform_pic
8468
lt_prog_compiler_pic='-fPIC'
8472
# PORTME Check for flag to pass linker flags through the system compiler.
8475
lt_prog_compiler_wl='-Wl,'
8476
if test "$host_cpu" = ia64; then
8477
# AIX 5 now supports IA64 processor
8478
lt_prog_compiler_static='-Bstatic'
8480
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8484
mingw* | cygwin* | pw32* | os2* | cegcc*)
8485
# This hack is so that the source file can tell whether it is being
8486
# built for inclusion in a dll (and should export symbols for example).
8487
lt_prog_compiler_pic='-DDLL_EXPORT'
8490
hpux9* | hpux10* | hpux11*)
8491
lt_prog_compiler_wl='-Wl,'
8492
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8499
lt_prog_compiler_pic='+Z'
8502
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8503
lt_prog_compiler_static='${wl}-a ${wl}archive'
8506
irix5* | irix6* | nonstopux*)
8507
lt_prog_compiler_wl='-Wl,'
8508
# PIC (with -KPIC) is the default.
8509
lt_prog_compiler_static='-non_shared'
8512
linux* | k*bsd*-gnu | kopensolaris*-gnu)
8513
case $cc_basename in
8514
# old Intel for x86_64 which still supported -KPIC.
8516
lt_prog_compiler_wl='-Wl,'
8517
lt_prog_compiler_pic='-KPIC'
8518
lt_prog_compiler_static='-static'
8520
# icc used to be incompatible with GCC.
8521
# ICC 10 doesn't accept -KPIC any more.
8523
lt_prog_compiler_wl='-Wl,'
8524
lt_prog_compiler_pic='-fPIC'
8525
lt_prog_compiler_static='-static'
8527
# Lahey Fortran 8.1.
8529
lt_prog_compiler_wl='-Wl,'
8530
lt_prog_compiler_pic='--shared'
8531
lt_prog_compiler_static='--static'
8533
pgcc* | pgf77* | pgf90* | pgf95*)
8534
# Portland Group compilers (*not* the Pentium gcc compiler,
8535
# which looks to be a dead project)
8536
lt_prog_compiler_wl='-Wl,'
8537
lt_prog_compiler_pic='-fpic'
8538
lt_prog_compiler_static='-Bstatic'
8541
lt_prog_compiler_wl='-Wl,'
8542
# All Alpha code is PIC.
8543
lt_prog_compiler_static='-non_shared'
8546
# IBM XL C 8.0/Fortran 10.1 on PPC
8547
lt_prog_compiler_wl='-Wl,'
8548
lt_prog_compiler_pic='-qpic'
8549
lt_prog_compiler_static='-qstaticlink'
8552
case `$CC -V 2>&1 | sed 5q` in
8555
lt_prog_compiler_pic='-KPIC'
8556
lt_prog_compiler_static='-Bstatic'
8557
lt_prog_compiler_wl='-Wl,'
8560
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8561
lt_prog_compiler_pic='-KPIC'
8562
lt_prog_compiler_static='-Bstatic'
8563
lt_prog_compiler_wl=''
8571
lt_prog_compiler_pic='-KPIC'
8572
lt_prog_compiler_static='-Bstatic'
8576
# QNX uses GNU C++, but need to define -shared option too, otherwise
8578
lt_prog_compiler_pic='-fPIC -shared'
8581
osf3* | osf4* | osf5*)
8582
lt_prog_compiler_wl='-Wl,'
8583
# All OSF/1 code is PIC.
8584
lt_prog_compiler_static='-non_shared'
8588
lt_prog_compiler_static='-non_shared'
8592
lt_prog_compiler_pic='-KPIC'
8593
lt_prog_compiler_static='-Bstatic'
8594
case $cc_basename in
8596
lt_prog_compiler_wl='-Qoption ld ';;
8598
lt_prog_compiler_wl='-Wl,';;
8603
lt_prog_compiler_wl='-Qoption ld '
8604
lt_prog_compiler_pic='-PIC'
8605
lt_prog_compiler_static='-Bstatic'
8608
sysv4 | sysv4.2uw2* | sysv4.3*)
8609
lt_prog_compiler_wl='-Wl,'
8610
lt_prog_compiler_pic='-KPIC'
8611
lt_prog_compiler_static='-Bstatic'
8615
if test -d /usr/nec ;then
8616
lt_prog_compiler_pic='-Kconform_pic'
8617
lt_prog_compiler_static='-Bstatic'
8621
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8622
lt_prog_compiler_wl='-Wl,'
8623
lt_prog_compiler_pic='-KPIC'
8624
lt_prog_compiler_static='-Bstatic'
8628
lt_prog_compiler_wl='-Wl,'
8629
lt_prog_compiler_can_build_shared=no
8633
lt_prog_compiler_pic='-pic'
8634
lt_prog_compiler_static='-Bstatic'
8638
lt_prog_compiler_can_build_shared=no
8644
# For platforms which do not support PIC, -DPIC is meaningless:
8646
lt_prog_compiler_pic=
8649
lt_prog_compiler_pic="$lt_prog_compiler_pic@&t@ -DPIC"
8652
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8653
$as_echo "$lt_prog_compiler_pic" >&6; }
8661
# Check to make sure the PIC flag actually works.
8663
if test -n "$lt_prog_compiler_pic"; then
8664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8665
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8666
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8667
$as_echo_n "(cached) " >&6
8669
lt_cv_prog_compiler_pic_works=no
8670
ac_outfile=conftest.$ac_objext
8671
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8672
lt_compiler_flag="$lt_prog_compiler_pic@&t@ -DPIC"
8673
# Insert the option either (1) after the last *FLAGS variable, or
8674
# (2) before a word containing "conftest.", or (3) at the end.
8675
# Note that $ac_compile itself does not contain backslashes and begins
8676
# with a dollar sign (not a hyphen), so the echo should work correctly.
8677
# The option is referenced via a variable to avoid confusing sed.
8678
lt_compile=`echo "$ac_compile" | $SED \
8679
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8680
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8681
-e 's:$: $lt_compiler_flag:'`
8682
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8683
(eval "$lt_compile" 2>conftest.err)
8685
cat conftest.err >&5
8686
echo "$as_me:__oline__: \$? = $ac_status" >&5
8687
if (exit $ac_status) && test -s "$ac_outfile"; then
8688
# The compiler can only warn and ignore the option if not recognized
8689
# So say no if there are warnings other than the usual output.
8690
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8691
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8692
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8693
lt_cv_prog_compiler_pic_works=yes
8699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8700
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8702
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8703
case $lt_prog_compiler_pic in
8705
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8708
lt_prog_compiler_pic=
8709
lt_prog_compiler_can_build_shared=no
8720
# Check to make sure the static flag actually works.
8722
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8723
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8724
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8725
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8726
$as_echo_n "(cached) " >&6
8728
lt_cv_prog_compiler_static_works=no
8729
save_LDFLAGS="$LDFLAGS"
8730
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8731
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8732
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8733
# The linker can only warn and ignore the option if not recognized
8734
# So say no if there are warnings
8735
if test -s conftest.err; then
8736
# Append any errors to the config.log.
8737
cat conftest.err 1>&5
8738
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8739
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8740
if diff conftest.exp conftest.er2 >/dev/null; then
8741
lt_cv_prog_compiler_static_works=yes
8744
lt_cv_prog_compiler_static_works=yes
8748
LDFLAGS="$save_LDFLAGS"
8751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8752
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8754
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8757
lt_prog_compiler_static=
8766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8767
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8768
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8769
$as_echo_n "(cached) " >&6
8771
lt_cv_prog_compiler_c_o=no
8772
$RM -r conftest 2>/dev/null
8776
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8778
lt_compiler_flag="-o out/conftest2.$ac_objext"
8779
# Insert the option either (1) after the last *FLAGS variable, or
8780
# (2) before a word containing "conftest.", or (3) at the end.
8781
# Note that $ac_compile itself does not contain backslashes and begins
8782
# with a dollar sign (not a hyphen), so the echo should work correctly.
8783
lt_compile=`echo "$ac_compile" | $SED \
8784
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8785
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8786
-e 's:$: $lt_compiler_flag:'`
8787
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8788
(eval "$lt_compile" 2>out/conftest.err)
8790
cat out/conftest.err >&5
8791
echo "$as_me:__oline__: \$? = $ac_status" >&5
8792
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8794
# The compiler can only warn and ignore the option if not recognized
8795
# So say no if there are warnings
8796
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8797
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8798
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8799
lt_cv_prog_compiler_c_o=yes
8804
# SGI C++ compiler will create directory out/ii_files/ for
8805
# template instantiation
8806
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8807
$RM out/* && rmdir out
8813
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8814
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8821
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8822
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8823
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8824
$as_echo_n "(cached) " >&6
8826
lt_cv_prog_compiler_c_o=no
8827
$RM -r conftest 2>/dev/null
8831
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8833
lt_compiler_flag="-o out/conftest2.$ac_objext"
8834
# Insert the option either (1) after the last *FLAGS variable, or
8835
# (2) before a word containing "conftest.", or (3) at the end.
8836
# Note that $ac_compile itself does not contain backslashes and begins
8837
# with a dollar sign (not a hyphen), so the echo should work correctly.
8838
lt_compile=`echo "$ac_compile" | $SED \
8839
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8840
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8841
-e 's:$: $lt_compiler_flag:'`
8842
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
8843
(eval "$lt_compile" 2>out/conftest.err)
8845
cat out/conftest.err >&5
8846
echo "$as_me:__oline__: \$? = $ac_status" >&5
8847
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8849
# The compiler can only warn and ignore the option if not recognized
8850
# So say no if there are warnings
8851
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8852
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8853
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8854
lt_cv_prog_compiler_c_o=yes
8859
# SGI C++ compiler will create directory out/ii_files/ for
8860
# template instantiation
8861
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8862
$RM out/* && rmdir out
8868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8869
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8874
hard_links="nottested"
8875
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8876
# do not overwrite the value of need_locks provided by the user
8877
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8878
$as_echo_n "checking if we can lock with hard links... " >&6; }
8881
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8883
ln conftest.a conftest.b 2>&5 || hard_links=no
8884
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8885
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8886
$as_echo "$hard_links" >&6; }
8887
if test "$hard_links" = no; then
8888
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8889
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8902
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8905
allow_undefined_flag=
8906
always_export_symbols=no
8908
archive_expsym_cmds=
8909
compiler_needs_object=no
8910
enable_shared_with_static_runtimes=no
8911
export_dynamic_flag_spec=
8912
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8913
hardcode_automatic=no
8915
hardcode_direct_absolute=no
8916
hardcode_libdir_flag_spec=
8917
hardcode_libdir_flag_spec_ld=
8918
hardcode_libdir_separator=
8920
hardcode_shlibpath_var=unsupported
8922
link_all_deplibs=unknown
8925
old_archive_from_new_cmds=
8926
old_archive_from_expsyms_cmds=
8927
thread_safe_flag_spec=
8928
whole_archive_flag_spec=
8929
# include_expsyms should be a list of space-separated symbols to be *always*
8930
# included in the symbol list
8932
# exclude_expsyms can be an extended regexp of symbols to exclude
8933
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8934
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8935
# as well as any symbol that contains `d'.
8936
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8937
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8938
# platforms (ab)use it in PIC code, but their linkers get confused if
8939
# the symbol is explicitly referenced. Since portable code cannot
8940
# rely on this symbol name, it's probably fine to never include it in
8941
# preloaded symbol tables.
8942
# Exclude shared library initialization/finalization symbols.
8943
extract_expsyms_cmds=
8946
cygwin* | mingw* | pw32* | cegcc*)
8947
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8948
# When not using gcc, we currently assume that we are using
8949
# Microsoft Visual C++.
8950
if test "$GCC" != yes; then
8955
# we just hope/assume this is gcc and not c89 (= MSVC++)
8961
linux* | k*bsd*-gnu)
8967
if test "$with_gnu_ld" = yes; then
8968
# If archive_cmds runs LD, not CC, wlarc should be empty
8971
# Set some defaults for GNU ld with shared library support. These
8972
# are reset later if shared libraries are not supported. Putting them
8973
# here allows them to be overridden if necessary.
8974
runpath_var=LD_RUN_PATH
8975
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8976
export_dynamic_flag_spec='${wl}--export-dynamic'
8977
# ancient GNU ld didn't support --whole-archive et. al.
8978
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8979
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8981
whole_archive_flag_spec=
8983
supports_anon_versioning=no
8984
case `$LD -v 2>&1` in
8985
*GNU\ gold*) supports_anon_versioning=yes ;;
8986
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8987
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8988
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8989
*\ 2.11.*) ;; # other 2.11 versions
8990
*) supports_anon_versioning=yes ;;
8993
# See if GNU ld supports shared libraries.
8996
# On AIX/PPC, the GNU linker is very broken
8997
if test "$host_cpu" != ia64; then
9001
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9002
*** to be unable to reliably create shared libraries on AIX.
9003
*** Therefore, libtool is disabling shared libraries support. If you
9004
*** really care for shared libraries, you may want to modify your PATH
9005
*** so that a non-GNU linker is found, and then restart.
9014
# see comment about AmigaOS4 .so support
9015
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9016
archive_expsym_cmds=''
9019
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)'
9020
hardcode_libdir_flag_spec='-L$libdir'
9021
hardcode_minus_L=yes
9027
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9028
allow_undefined_flag=unsupported
9029
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9030
# support --undefined. This deserves some investigation. FIXME
9031
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9037
cygwin* | mingw* | pw32* | cegcc*)
9038
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9039
# as there is no search path for DLLs.
9040
hardcode_libdir_flag_spec='-L$libdir'
9041
allow_undefined_flag=unsupported
9042
always_export_symbols=no
9043
enable_shared_with_static_runtimes=yes
9044
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9046
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9047
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9048
# If the export-symbols file already is a .def file (1st line
9049
# is EXPORTS), use it as is; otherwise, prepend...
9050
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9051
cp $export_symbols $output_objdir/$soname.def;
9053
echo EXPORTS > $output_objdir/$soname.def;
9054
cat $export_symbols >> $output_objdir/$soname.def;
9056
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9064
hardcode_shlibpath_var=no
9065
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9066
export_dynamic_flag_spec='${wl}-E'
9067
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9068
# Instead, shared libraries are loaded at an image base (0x10000000 by
9069
# default) and relocated if they conflict, which is a slow very memory
9070
# consuming and fragmenting process. To avoid this, we pick a random,
9071
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9072
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9073
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9074
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'
9077
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9079
if test "$host_os" = linux-dietlibc; then
9080
case $cc_basename in
9081
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9084
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9085
&& test "$tmp_diet" = no
9088
tmp_sharedflag='-shared'
9089
case $cc_basename,$host_cpu in
9090
pgcc*) # Portland Group C compiler
9091
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'
9092
tmp_addflag=' $pic_flag'
9094
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9095
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'
9096
tmp_addflag=' $pic_flag -Mnomain' ;;
9097
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9098
tmp_addflag=' -i_dynamic' ;;
9099
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9100
tmp_addflag=' -i_dynamic -nofor_main' ;;
9101
ifc* | ifort*) # Intel Fortran compiler
9102
tmp_addflag=' -nofor_main' ;;
9103
lf95*) # Lahey Fortran 8.1
9104
whole_archive_flag_spec=
9105
tmp_sharedflag='--shared' ;;
9106
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9107
tmp_sharedflag='-qmkshrobj'
9110
case `$CC -V 2>&1 | sed 5q` in
9111
*Sun\ C*) # Sun C 5.9
9112
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'
9113
compiler_needs_object=yes
9114
tmp_sharedflag='-G' ;;
9115
*Sun\ F*) # Sun Fortran 8.3
9116
tmp_sharedflag='-G' ;;
9118
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9120
if test "x$supports_anon_versioning" = xyes; then
9121
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9122
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9123
echo "local: *; };" >> $output_objdir/$libname.ver~
9124
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9127
case $cc_basename in
9129
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9130
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9131
hardcode_libdir_flag_spec=
9132
hardcode_libdir_flag_spec_ld='-rpath $libdir'
9133
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9134
if test "x$supports_anon_versioning" = xyes; then
9135
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9136
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9137
echo "local: *; };" >> $output_objdir/$libname.ver~
9138
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9147
netbsd* | netbsdelf*-gnu)
9148
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9149
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9152
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9153
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9158
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9162
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9163
*** create shared libraries on Solaris systems. Therefore, libtool
9164
*** is disabling shared libraries support. We urge you to upgrade GNU
9165
*** binutils to release 2.9.1 or newer. Another option is to modify
9166
*** your PATH or compiler configuration so that the native linker is
9167
*** used, and then restart.
9170
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9171
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9172
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9178
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9179
case `$LD -v 2>&1` in
9180
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9184
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9185
*** reliably create shared libraries on SCO systems. Therefore, libtool
9186
*** is disabling shared libraries support. We urge you to upgrade GNU
9187
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9188
*** your PATH or compiler configuration so that the native linker is
9189
*** used, and then restart.
9194
# For security reasons, it is highly recommended that you always
9195
# use absolute paths for naming shared libraries, and exclude the
9196
# DT_RUNPATH tag from executables and libraries. But doing so
9197
# requires that you compile everything twice, which is a pain.
9198
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9199
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9200
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9201
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9210
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9213
hardcode_shlibpath_var=no
9217
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9218
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9219
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9226
if test "$ld_shlibs" = no; then
9228
hardcode_libdir_flag_spec=
9229
export_dynamic_flag_spec=
9230
whole_archive_flag_spec=
9233
# PORTME fill in a description of your system's linker (not GNU ld)
9236
allow_undefined_flag=unsupported
9237
always_export_symbols=yes
9238
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'
9239
# Note: this linker hardcodes the directories in LIBPATH if there
9240
# are no directories specified by -L.
9241
hardcode_minus_L=yes
9242
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9243
# Neither direct hardcoding nor static linking is supported with a
9245
hardcode_direct=unsupported
9250
if test "$host_cpu" = ia64; then
9251
# On IA64, the linker does run time linking by default, so we don't
9252
# have to do anything special.
9253
aix_use_runtimelinking=no
9254
exp_sym_flag='-Bexport'
9257
# If we're using GNU nm, then we don't want the "-C" option.
9258
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9259
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9260
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'
9262
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'
9264
aix_use_runtimelinking=no
9266
# Test if we are trying to use run time linking or normal
9267
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9268
# need to do runtime linking.
9269
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9270
for ld_flag in $LDFLAGS; do
9271
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9272
aix_use_runtimelinking=yes
9279
exp_sym_flag='-bexport'
9280
no_entry_flag='-bnoentry'
9283
# When large executables or shared objects are built, AIX ld can
9284
# have problems creating the table of contents. If linking a library
9285
# or program results in "error TOC overflow" add -mminimal-toc to
9286
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9287
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9291
hardcode_direct_absolute=yes
9292
hardcode_libdir_separator=':'
9293
link_all_deplibs=yes
9294
file_list_spec='${wl}-f,'
9296
if test "$GCC" = yes; then
9297
case $host_os in aix4.[012]|aix4.[012].*)
9298
# We only want to do this on AIX 4.2 and lower, the check
9299
# below for broken collect2 doesn't work under 4.3+
9300
collect2name=`${CC} -print-prog-name=collect2`
9301
if test -f "$collect2name" &&
9302
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9304
# We have reworked collect2
9307
# We have old collect2
9308
hardcode_direct=unsupported
9309
# It fails to find uninstalled libraries when the uninstalled
9310
# path is not listed in the libpath. Setting hardcode_minus_L
9311
# to unsupported forces relinking
9312
hardcode_minus_L=yes
9313
hardcode_libdir_flag_spec='-L$libdir'
9314
hardcode_libdir_separator=
9318
shared_flag='-shared'
9319
if test "$aix_use_runtimelinking" = yes; then
9320
shared_flag="$shared_flag "'${wl}-G'
9325
if test "$host_cpu" = ia64; then
9326
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9327
# chokes on -Wl,-G. The following line is correct:
9330
if test "$aix_use_runtimelinking" = yes; then
9331
shared_flag='${wl}-G'
9333
shared_flag='${wl}-bM:SRE'
9338
export_dynamic_flag_spec='${wl}-bexpall'
9339
# It seems that -bexpall does not export symbols beginning with
9340
# underscore (_), so it is better to generate a list of symbols to export.
9341
always_export_symbols=yes
9342
if test "$aix_use_runtimelinking" = yes; then
9343
# Warning - without using the other runtime loading flags (-brtl),
9344
# -berok will link without error, but may produce a broken library.
9345
allow_undefined_flag='-berok'
9346
# Determine the default libpath from the value encoded in an
9348
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9349
/* end confdefs.h. */
9359
if ac_fn_c_try_link "$LINENO"; then :
9361
lt_aix_libpath_sed='
9362
/Import File Strings/,/^$/ {
9368
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9369
# Check for a 64-bit object if we didn't find anything.
9370
if test -z "$aix_libpath"; then
9371
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9374
rm -f core conftest.err conftest.$ac_objext \
9375
conftest$ac_exeext conftest.$ac_ext
9376
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9378
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9379
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"
9381
if test "$host_cpu" = ia64; then
9382
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9383
allow_undefined_flag="-z nodefs"
9384
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"
9386
# Determine the default libpath from the value encoded in an
9388
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9389
/* end confdefs.h. */
9399
if ac_fn_c_try_link "$LINENO"; then :
9401
lt_aix_libpath_sed='
9402
/Import File Strings/,/^$/ {
9408
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9409
# Check for a 64-bit object if we didn't find anything.
9410
if test -z "$aix_libpath"; then
9411
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9414
rm -f core conftest.err conftest.$ac_objext \
9415
conftest$ac_exeext conftest.$ac_ext
9416
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9418
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9419
# Warning - without using the other run time loading flags,
9420
# -berok will link without error, but may produce a broken library.
9421
no_undefined_flag=' ${wl}-bernotok'
9422
allow_undefined_flag=' ${wl}-berok'
9423
# Exported symbols can be pulled into shared objects from archives
9424
whole_archive_flag_spec='$convenience'
9425
archive_cmds_need_lc=yes
9426
# This is similar to how AIX traditionally builds its shared libraries.
9427
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'
9435
# see comment about AmigaOS4 .so support
9436
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9437
archive_expsym_cmds=''
9440
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)'
9441
hardcode_libdir_flag_spec='-L$libdir'
9442
hardcode_minus_L=yes
9448
export_dynamic_flag_spec=-rdynamic
9451
cygwin* | mingw* | pw32* | cegcc*)
9452
# When not using gcc, we currently assume that we are using
9453
# Microsoft Visual C++.
9454
# hardcode_libdir_flag_spec is actually meaningless, as there is
9455
# no search path for DLLs.
9456
hardcode_libdir_flag_spec=' '
9457
allow_undefined_flag=unsupported
9458
# Tell ltmain to make .lib files, not .a files.
9460
# Tell ltmain to make .dll files, not .so files.
9462
# FIXME: Setting linknames here is a bad hack.
9463
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9464
# The linker will automatically build a .lib file if we build a DLL.
9465
old_archive_from_new_cmds='true'
9466
# FIXME: Should let the user specify the lib program.
9467
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9468
fix_srcfile_path='`cygpath -w "$srcfile"`'
9469
enable_shared_with_static_runtimes=yes
9472
darwin* | rhapsody*)
9475
archive_cmds_need_lc=no
9477
hardcode_automatic=yes
9478
hardcode_shlibpath_var=unsupported
9479
whole_archive_flag_spec=''
9480
link_all_deplibs=yes
9481
allow_undefined_flag="$_lt_dar_allow_undefined"
9482
case $cc_basename in
9483
ifort*) _lt_dar_can_shared=yes ;;
9484
*) _lt_dar_can_shared=$GCC ;;
9486
if test "$_lt_dar_can_shared" = "yes"; then
9487
output_verbose_link_cmd=echo
9488
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9489
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9490
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}"
9491
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}"
9500
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9501
hardcode_libdir_flag_spec='-L$libdir'
9502
hardcode_shlibpath_var=no
9509
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9510
# support. Future versions do this automatically, but an explicit c++rt0.o
9511
# does not break anything, and helps significantly (at the cost of a little
9514
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9515
hardcode_libdir_flag_spec='-R$libdir'
9517
hardcode_shlibpath_var=no
9520
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9522
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9524
hardcode_minus_L=yes
9525
hardcode_shlibpath_var=no
9528
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9529
freebsd* | dragonfly*)
9530
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9531
hardcode_libdir_flag_spec='-R$libdir'
9533
hardcode_shlibpath_var=no
9537
if test "$GCC" = yes; then
9538
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'
9540
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'
9542
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9543
hardcode_libdir_separator=:
9546
# hardcode_minus_L: Not really in the search PATH,
9547
# but as the default location of the library.
9548
hardcode_minus_L=yes
9549
export_dynamic_flag_spec='${wl}-E'
9553
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9554
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9556
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9558
if test "$with_gnu_ld" = no; then
9559
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9560
hardcode_libdir_flag_spec_ld='+b $libdir'
9561
hardcode_libdir_separator=:
9563
hardcode_direct_absolute=yes
9564
export_dynamic_flag_spec='${wl}-E'
9565
# hardcode_minus_L: Not really in the search PATH,
9566
# but as the default location of the library.
9567
hardcode_minus_L=yes
9572
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9575
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9578
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9581
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9587
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9590
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9593
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9597
if test "$with_gnu_ld" = no; then
9598
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9599
hardcode_libdir_separator=:
9604
hardcode_shlibpath_var=no
9608
hardcode_direct_absolute=yes
9609
export_dynamic_flag_spec='${wl}-E'
9611
# hardcode_minus_L: Not really in the search PATH,
9612
# but as the default location of the library.
9613
hardcode_minus_L=yes
9619
irix5* | irix6* | nonstopux*)
9620
if test "$GCC" = yes; then
9621
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'
9622
# Try to use the -exported_symbol ld option, if it does not
9623
# work, assume that -exports_file does not work either and
9624
# implicitly export all symbols.
9625
save_LDFLAGS="$LDFLAGS"
9626
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9627
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9628
/* end confdefs.h. */
9631
if ac_fn_c_try_link "$LINENO"; then :
9632
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'
9635
rm -f core conftest.err conftest.$ac_objext \
9636
conftest$ac_exeext conftest.$ac_ext
9637
LDFLAGS="$save_LDFLAGS"
9639
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'
9640
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'
9642
archive_cmds_need_lc='no'
9643
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9644
hardcode_libdir_separator=:
9646
link_all_deplibs=yes
9649
netbsd* | netbsdelf*-gnu)
9650
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9651
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9653
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9655
hardcode_libdir_flag_spec='-R$libdir'
9657
hardcode_shlibpath_var=no
9661
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9663
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9664
hardcode_libdir_separator=:
9665
hardcode_shlibpath_var=no
9672
if test -f /usr/libexec/ld.so; then
9674
hardcode_shlibpath_var=no
9675
hardcode_direct_absolute=yes
9676
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9677
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9678
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9679
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9680
export_dynamic_flag_spec='${wl}-E'
9683
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9684
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9685
hardcode_libdir_flag_spec='-R$libdir'
9688
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9689
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9699
hardcode_libdir_flag_spec='-L$libdir'
9700
hardcode_minus_L=yes
9701
allow_undefined_flag=unsupported
9702
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'
9703
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9707
if test "$GCC" = yes; then
9708
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9709
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'
9711
allow_undefined_flag=' -expect_unresolved \*'
9712
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'
9714
archive_cmds_need_lc='no'
9715
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9716
hardcode_libdir_separator=:
9719
osf4* | osf5*) # as osf3* with the addition of -msym flag
9720
if test "$GCC" = yes; then
9721
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9722
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'
9723
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9725
allow_undefined_flag=' -expect_unresolved \*'
9726
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'
9727
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~
9728
$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'
9730
# Both c and cxx compiler support -rpath directly
9731
hardcode_libdir_flag_spec='-rpath $libdir'
9733
archive_cmds_need_lc='no'
9734
hardcode_libdir_separator=:
9738
no_undefined_flag=' -z defs'
9739
if test "$GCC" = yes; then
9741
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9742
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9743
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9745
case `$CC -V 2>&1` in
9748
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9749
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9750
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9754
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9755
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9756
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9760
hardcode_libdir_flag_spec='-R$libdir'
9761
hardcode_shlibpath_var=no
9763
solaris2.[0-5] | solaris2.[0-5].*) ;;
9765
# The compiler driver will combine and reorder linker options,
9766
# but understands `-z linker_flag'. GCC discards it without `$wl',
9767
# but is careful enough not to reorder.
9768
# Supported since Solaris 2.6 (maybe 2.5.1?)
9769
if test "$GCC" = yes; then
9770
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9772
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9776
link_all_deplibs=yes
9780
if test "x$host_vendor" = xsequent; then
9781
# Use $CC to link under sequent, because it throws in some extra .o
9782
# files that make .init and .fini sections work.
9783
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9785
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9787
hardcode_libdir_flag_spec='-L$libdir'
9789
hardcode_minus_L=yes
9790
hardcode_shlibpath_var=no
9794
case $host_vendor in
9796
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9797
hardcode_direct=yes # is this really true???
9800
## LD is ld it makes a PLAMLIB
9801
## CC just makes a GrossModule.
9802
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9803
reload_cmds='$CC -r -o $output$reload_objs'
9807
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9808
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9811
runpath_var='LD_RUN_PATH'
9812
hardcode_shlibpath_var=no
9816
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9817
hardcode_shlibpath_var=no
9818
export_dynamic_flag_spec='-Bexport'
9822
if test -d /usr/nec; then
9823
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9824
hardcode_shlibpath_var=no
9825
runpath_var=LD_RUN_PATH
9826
hardcode_runpath_var=yes
9831
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9832
no_undefined_flag='${wl}-z,text'
9833
archive_cmds_need_lc=no
9834
hardcode_shlibpath_var=no
9835
runpath_var='LD_RUN_PATH'
9837
if test "$GCC" = yes; then
9838
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9839
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9841
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9842
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9846
sysv5* | sco3.2v5* | sco5v6*)
9847
# Note: We can NOT use -z defs as we might desire, because we do not
9848
# link with -lc, and that would cause any symbols used from libc to
9849
# always be unresolved, which means just about no library would
9850
# ever link correctly. If we're not using GNU ld we use -z text
9851
# though, which does catch some bad symbols but isn't as heavy-handed
9853
no_undefined_flag='${wl}-z,text'
9854
allow_undefined_flag='${wl}-z,nodefs'
9855
archive_cmds_need_lc=no
9856
hardcode_shlibpath_var=no
9857
hardcode_libdir_flag_spec='${wl}-R,$libdir'
9858
hardcode_libdir_separator=':'
9859
link_all_deplibs=yes
9860
export_dynamic_flag_spec='${wl}-Bexport'
9861
runpath_var='LD_RUN_PATH'
9863
if test "$GCC" = yes; then
9864
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9865
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9867
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9868
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9873
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9874
hardcode_libdir_flag_spec='-L$libdir'
9875
hardcode_shlibpath_var=no
9883
if test x$host_vendor = xsni; then
9885
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9886
export_dynamic_flag_spec='${wl}-Blargedynsym'
9892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9893
$as_echo "$ld_shlibs" >&6; }
9894
test "$ld_shlibs" = no && can_build_shared=no
9896
with_gnu_ld=$with_gnu_ld
9913
# Do we need to explicitly link libc?
9915
case "x$archive_cmds_need_lc" in
9917
# Assume -lc should be added
9918
archive_cmds_need_lc=yes
9920
if test "$enable_shared" = yes && test "$GCC" = yes; then
9921
case $archive_cmds in
9923
# FIXME: we may have to deal with multi-command sequences.
9926
# Test whether the compiler implicitly links with -lc since on some
9927
# systems, -lgcc has to come before -lc. If gcc already passes -lc
9928
# to ld, don't add -lc before -lgcc.
9929
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9930
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9932
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9934
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9935
(eval $ac_compile) 2>&5
9937
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9938
test $ac_status = 0; } 2>conftest.err; then
9941
libobjs=conftest.$ac_objext
9943
wl=$lt_prog_compiler_wl
9944
pic_flag=$lt_prog_compiler_pic
9950
lt_save_allow_undefined_flag=$allow_undefined_flag
9951
allow_undefined_flag=
9952
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9953
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9955
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9956
test $ac_status = 0; }
9958
archive_cmds_need_lc=no
9960
archive_cmds_need_lc=yes
9962
allow_undefined_flag=$lt_save_allow_undefined_flag
9964
cat conftest.err 1>&5
9967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9968
$as_echo "$archive_cmds_need_lc" >&6; }
10131
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10132
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10134
if test "$GCC" = yes; then
10136
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10137
*) lt_awk_arg="/^libraries:/" ;;
10139
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10140
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10141
# if the path contains ";" then we assume it to be the separator
10142
# otherwise default to the standard path separator (i.e. ":") - it is
10143
# assumed that no part of a normal pathname contains ";" but that should
10144
# okay in the real world where ";" in dirpaths is itself problematic.
10145
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10147
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10149
# Ok, now we have the path, separated by spaces, we can step through it
10150
# and add multilib dir if necessary.
10151
lt_tmp_lt_search_path_spec=
10152
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10153
for lt_sys_path in $lt_search_path_spec; do
10154
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10155
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10157
test -d "$lt_sys_path" && \
10158
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10161
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10162
BEGIN {RS=" "; FS="/|\n";} {
10165
for (lt_i = NF; lt_i > 0; lt_i--) {
10166
if ($lt_i != "" && $lt_i != ".") {
10167
if ($lt_i == "..") {
10170
if (lt_count == 0) {
10171
lt_foo="/" $lt_i lt_foo;
10178
if (lt_foo != "") { lt_freq[lt_foo]++; }
10179
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10181
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10183
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10185
library_names_spec=
10186
libname_spec='lib$name'
10190
postuninstall_cmds=
10194
shlibpath_overrides_runpath=unknown
10196
dynamic_linker="$host_os ld.so"
10197
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10198
need_lib_prefix=unknown
10199
hardcode_into_libs=no
10201
# when you set need_version to no, make sure it does not cause -set_version
10202
# flags to be left without arguments
10203
need_version=unknown
10208
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10209
shlibpath_var=LIBPATH
10211
# AIX 3 has no versioning support, so we append a major version to the name.
10212
soname_spec='${libname}${release}${shared_ext}$major'
10219
hardcode_into_libs=yes
10220
if test "$host_cpu" = ia64; then
10221
# AIX 5 supports IA64
10222
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10223
shlibpath_var=LD_LIBRARY_PATH
10225
# With GCC up to 2.95.x, collect2 would create an import file
10226
# for dependence libraries. The import file would start with
10227
# the line `#! .'. This would cause the generated library to
10228
# depend on `.', always an invalid library. This was fixed in
10229
# development snapshots of GCC prior to 3.0.
10231
aix4 | aix4.[01] | aix4.[01].*)
10232
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10234
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10237
can_build_shared=no
10241
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10242
# soname into executable. Probably we can add versioning support to
10243
# collect2, so additional links can be useful in future.
10244
if test "$aix_use_runtimelinking" = yes; then
10245
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10246
# instead of lib<name>.a to let people know that these are not
10247
# typical AIX shared libraries.
10248
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10250
# We preserve .a as extension for shared libraries through AIX4.2
10251
# and later when we are not doing run time linking.
10252
library_names_spec='${libname}${release}.a $libname.a'
10253
soname_spec='${libname}${release}${shared_ext}$major'
10255
shlibpath_var=LIBPATH
10262
# Since July 2007 AmigaOS4 officially supports .so libraries.
10263
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10264
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10267
library_names_spec='$libname.ixlibrary $libname.a'
10268
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10269
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'
10275
library_names_spec='${libname}${shared_ext}'
10276
dynamic_linker="$host_os ld.so"
10277
shlibpath_var=LIBRARY_PATH
10283
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10284
soname_spec='${libname}${release}${shared_ext}$major'
10285
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10286
shlibpath_var=LD_LIBRARY_PATH
10287
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10288
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10289
# the default ld.so.conf also contains /usr/contrib/lib and
10290
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10291
# libtool to hard-code these into programs
10294
cygwin* | mingw* | pw32* | cegcc*)
10295
version_type=windows
10300
case $GCC,$host_os in
10301
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10302
library_names_spec='$libname.dll.a'
10303
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10304
postinstall_cmds='base_file=`basename \${file}`~
10305
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10306
dldir=$destdir/`dirname \$dlpath`~
10307
test -d \$dldir || mkdir -p \$dldir~
10308
$install_prog $dir/$dlname \$dldir/$dlname~
10309
chmod a+x \$dldir/$dlname~
10310
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10311
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10313
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10314
dlpath=$dir/\$dldll~
10316
shlibpath_overrides_runpath=yes
10320
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10321
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10322
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10325
# MinGW DLLs use traditional 'lib' prefix
10326
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10327
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10328
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10329
# It is most probably a Windows format PATH printed by
10330
# mingw gcc, but we are running on Cygwin. Gcc prints its search
10331
# path with ; separators, and with drive letters. We can handle the
10332
# drive letters (cygwin fileutils understands them), so leave them,
10333
# especially as we might pass files found there to a mingw objdump,
10334
# which wouldn't understand a cygwinified path. Ahh.
10335
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10337
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10341
# pw32 DLLs use 'pw' prefix rather than 'lib'
10342
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10348
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10351
dynamic_linker='Win32 ld.exe'
10352
# FIXME: first we should search . and the directory the executable is in
10356
darwin* | rhapsody*)
10357
dynamic_linker="$host_os dyld"
10358
version_type=darwin
10361
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10362
soname_spec='${libname}${release}${major}$shared_ext'
10363
shlibpath_overrides_runpath=yes
10364
shlibpath_var=DYLD_LIBRARY_PATH
10365
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10367
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10368
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10375
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10376
soname_spec='${libname}${release}${shared_ext}$major'
10377
shlibpath_var=LD_LIBRARY_PATH
10384
freebsd* | dragonfly*)
10385
# DragonFly does not have aout. When/if they implement a new
10386
# versioning mechanism, adjust this.
10387
if test -x /usr/bin/objformat; then
10388
objformat=`/usr/bin/objformat`
10391
freebsd[123]*) objformat=aout ;;
10392
*) objformat=elf ;;
10395
version_type=freebsd-$objformat
10396
case $version_type in
10398
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10403
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10407
shlibpath_var=LD_LIBRARY_PATH
10410
shlibpath_overrides_runpath=yes
10412
freebsd3.[01]* | freebsdelf3.[01]*)
10413
shlibpath_overrides_runpath=yes
10414
hardcode_into_libs=yes
10416
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10417
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10418
shlibpath_overrides_runpath=no
10419
hardcode_into_libs=yes
10421
*) # from 4.6 on, and DragonFly
10422
shlibpath_overrides_runpath=yes
10423
hardcode_into_libs=yes
10432
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10433
soname_spec='${libname}${release}${shared_ext}$major'
10434
shlibpath_var=LD_LIBRARY_PATH
10435
hardcode_into_libs=yes
10438
hpux9* | hpux10* | hpux11*)
10439
# Give a soname corresponding to the major version so that dld.sl refuses to
10440
# link against other versions.
10447
hardcode_into_libs=yes
10448
dynamic_linker="$host_os dld.so"
10449
shlibpath_var=LD_LIBRARY_PATH
10450
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10451
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10452
soname_spec='${libname}${release}${shared_ext}$major'
10453
if test "X$HPUX_IA64_MODE" = X32; then
10454
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10456
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10458
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10462
hardcode_into_libs=yes
10463
dynamic_linker="$host_os dld.sl"
10464
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10465
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10466
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10467
soname_spec='${libname}${release}${shared_ext}$major'
10468
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10469
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10473
dynamic_linker="$host_os dld.sl"
10474
shlibpath_var=SHLIB_PATH
10475
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10476
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10477
soname_spec='${libname}${release}${shared_ext}$major'
10480
# HP-UX runs *really* slowly unless shared libraries are mode 555.
10481
postinstall_cmds='chmod 555 $lib'
10488
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10489
soname_spec='${libname}${release}${shared_ext}$major'
10490
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10491
shlibpath_var=LD_LIBRARY_PATH
10492
shlibpath_overrides_runpath=no
10493
hardcode_into_libs=yes
10496
irix5* | irix6* | nonstopux*)
10498
nonstopux*) version_type=nonstopux ;;
10500
if test "$lt_cv_prog_gnu_ld" = yes; then
10508
soname_spec='${libname}${release}${shared_ext}$major'
10509
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10511
irix5* | nonstopux*)
10512
libsuff= shlibsuff=
10515
case $LD in # libtool.m4 will add one of these switches to LD
10516
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10517
libsuff= shlibsuff= libmagic=32-bit;;
10518
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10519
libsuff=32 shlibsuff=N32 libmagic=N32;;
10520
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10521
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10522
*) libsuff= shlibsuff= libmagic=never-match;;
10526
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10527
shlibpath_overrides_runpath=no
10528
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10529
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10530
hardcode_into_libs=yes
10533
# No shared lib support for Linux oldld, aout, or coff.
10534
linux*oldld* | linux*aout* | linux*coff*)
10538
# This must be Linux ELF.
10539
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10543
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10544
soname_spec='${libname}${release}${shared_ext}$major'
10545
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10546
shlibpath_var=LD_LIBRARY_PATH
10547
shlibpath_overrides_runpath=no
10548
# Some binutils ld are patched to set DT_RUNPATH
10549
save_LDFLAGS=$LDFLAGS
10550
save_libdir=$libdir
10551
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10552
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10553
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10554
/* end confdefs.h. */
10564
if ac_fn_c_try_link "$LINENO"; then :
10565
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10566
shlibpath_overrides_runpath=yes
10569
rm -f core conftest.err conftest.$ac_objext \
10570
conftest$ac_exeext conftest.$ac_ext
10571
LDFLAGS=$save_LDFLAGS
10572
libdir=$save_libdir
10574
# This implies no fast_install, which is unacceptable.
10575
# Some rework will be needed to allow for fast_install
10576
# before this can be enabled.
10577
hardcode_into_libs=yes
10579
# Append ld.so.conf contents to the search path
10580
if test -f /etc/ld.so.conf; then
10581
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' ' '`
10582
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10585
# We used to test for /lib/ld.so.1 and disable shared libraries on
10586
# powerpc, because MkLinux only supported shared libraries with the
10587
# GNU dynamic linker. Since this was broken with cross compilers,
10588
# most powerpc-linux boxes support dynamic linking these days and
10589
# people can always --disable-shared, the test was removed, and we
10590
# assume the GNU/Linux dynamic linker is in use.
10591
dynamic_linker='GNU/Linux ld.so'
10598
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10599
soname_spec='${libname}${release}${shared_ext}$major'
10600
shlibpath_var=LD_LIBRARY_PATH
10601
shlibpath_overrides_runpath=no
10602
hardcode_into_libs=yes
10603
dynamic_linker='NetBSD ld.elf_so'
10610
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10611
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10612
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10613
dynamic_linker='NetBSD (a.out) ld.so'
10615
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10616
soname_spec='${libname}${release}${shared_ext}$major'
10617
dynamic_linker='NetBSD ld.elf_so'
10619
shlibpath_var=LD_LIBRARY_PATH
10620
shlibpath_overrides_runpath=yes
10621
hardcode_into_libs=yes
10626
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10627
shlibpath_var=LD_LIBRARY_PATH
10628
shlibpath_overrides_runpath=yes
10635
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10636
soname_spec='${libname}${release}${shared_ext}$major'
10637
shlibpath_var=LD_LIBRARY_PATH
10638
shlibpath_overrides_runpath=no
10639
hardcode_into_libs=yes
10640
dynamic_linker='ldqnx.so'
10645
sys_lib_dlsearch_path_spec="/usr/lib"
10647
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10649
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10650
*) need_version=no ;;
10652
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10653
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10654
shlibpath_var=LD_LIBRARY_PATH
10655
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10657
openbsd2.[89] | openbsd2.[89].*)
10658
shlibpath_overrides_runpath=no
10661
shlibpath_overrides_runpath=yes
10665
shlibpath_overrides_runpath=yes
10670
libname_spec='$name'
10673
library_names_spec='$libname${shared_ext} $libname.a'
10674
dynamic_linker='OS/2 ld.exe'
10675
shlibpath_var=LIBPATH
10678
osf3* | osf4* | osf5*)
10682
soname_spec='${libname}${release}${shared_ext}$major'
10683
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10684
shlibpath_var=LD_LIBRARY_PATH
10685
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10686
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10697
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10698
soname_spec='${libname}${release}${shared_ext}$major'
10699
shlibpath_var=LD_LIBRARY_PATH
10700
shlibpath_overrides_runpath=yes
10701
hardcode_into_libs=yes
10702
# ldd complains unless libraries are executable
10703
postinstall_cmds='chmod +x $lib'
10708
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10709
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10710
shlibpath_var=LD_LIBRARY_PATH
10711
shlibpath_overrides_runpath=yes
10712
if test "$with_gnu_ld" = yes; then
10720
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10721
soname_spec='${libname}${release}${shared_ext}$major'
10722
shlibpath_var=LD_LIBRARY_PATH
10723
case $host_vendor in
10725
shlibpath_overrides_runpath=no
10727
runpath_var=LD_RUN_PATH
10735
shlibpath_overrides_runpath=no
10736
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10742
if test -d /usr/nec ;then
10744
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10745
soname_spec='$libname${shared_ext}.$major'
10746
shlibpath_var=LD_LIBRARY_PATH
10750
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10751
version_type=freebsd-elf
10754
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10755
soname_spec='${libname}${release}${shared_ext}$major'
10756
shlibpath_var=LD_LIBRARY_PATH
10757
shlibpath_overrides_runpath=yes
10758
hardcode_into_libs=yes
10759
if test "$with_gnu_ld" = yes; then
10760
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10762
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10765
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10769
sys_lib_dlsearch_path_spec='/usr/lib'
10773
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10777
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10778
shlibpath_var=LD_LIBRARY_PATH
10779
shlibpath_overrides_runpath=no
10780
hardcode_into_libs=yes
10785
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10786
soname_spec='${libname}${release}${shared_ext}$major'
10787
shlibpath_var=LD_LIBRARY_PATH
10794
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10795
$as_echo "$dynamic_linker" >&6; }
10796
test "$dynamic_linker" = no && can_build_shared=no
10798
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10799
if test "$GCC" = yes; then
10800
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10803
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10804
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10806
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10807
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10897
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10899
if test -n "$hardcode_libdir_flag_spec" ||
10900
test -n "$runpath_var" ||
10901
test "X$hardcode_automatic" = "Xyes" ; then
10903
# We can hardcode non-existent directories.
10904
if test "$hardcode_direct" != no &&
10905
# If the only mechanism to avoid hardcoding is shlibpath_var, we
10906
# have to relink, otherwise we might link with an installed library
10907
# when we should be linking with a yet-to-be-installed one
10908
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10909
test "$hardcode_minus_L" != no; then
10910
# Linking always hardcodes the temporary library directory.
10911
hardcode_action=relink
10913
# We can link without hardcoding, and we can hardcode nonexisting dirs.
10914
hardcode_action=immediate
10917
# We cannot hardcode anything, or else we can only hardcode existing
10919
hardcode_action=unsupported
10921
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10922
$as_echo "$hardcode_action" >&6; }
10924
if test "$hardcode_action" = relink ||
10925
test "$inherit_rpath" = yes; then
10926
# Fast installation is not supported
10927
enable_fast_install=no
10928
elif test "$shlibpath_overrides_runpath" = yes ||
10929
test "$enable_shared" = no; then
10930
# Fast installation is not necessary
10931
enable_fast_install=needless
10939
if test "x$enable_dlopen" != xyes; then
10940
enable_dlopen=unknown
10941
enable_dlopen_self=unknown
10942
enable_dlopen_self_static=unknown
10949
lt_cv_dlopen="load_add_on"
10951
lt_cv_dlopen_self=yes
10954
mingw* | pw32* | cegcc*)
10955
lt_cv_dlopen="LoadLibrary"
10960
lt_cv_dlopen="dlopen"
10965
# if libdl is installed we need to link against it
10966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10967
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10968
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10969
$as_echo_n "(cached) " >&6
10971
ac_check_lib_save_LIBS=$LIBS
10973
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10974
/* end confdefs.h. */
10976
/* Override any GCC internal prototype to avoid an error.
10977
Use char because int might match the return type of a GCC
10978
builtin and then its argument prototype would still apply. */
10991
if ac_fn_c_try_link "$LINENO"; then :
10992
ac_cv_lib_dl_dlopen=yes
10994
ac_cv_lib_dl_dlopen=no
10996
rm -f core conftest.err conftest.$ac_objext \
10997
conftest$ac_exeext conftest.$ac_ext
10998
LIBS=$ac_check_lib_save_LIBS
11000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11001
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11002
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11003
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11006
lt_cv_dlopen="dyld"
11008
lt_cv_dlopen_self=yes
11015
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11016
if test "x$ac_cv_func_shl_load" = x""yes; then :
11017
lt_cv_dlopen="shl_load"
11019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11020
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11021
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11022
$as_echo_n "(cached) " >&6
11024
ac_check_lib_save_LIBS=$LIBS
11026
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11027
/* end confdefs.h. */
11029
/* Override any GCC internal prototype to avoid an error.
11030
Use char because int might match the return type of a GCC
11031
builtin and then its argument prototype would still apply. */
11039
return shl_load ();
11044
if ac_fn_c_try_link "$LINENO"; then :
11045
ac_cv_lib_dld_shl_load=yes
11047
ac_cv_lib_dld_shl_load=no
11049
rm -f core conftest.err conftest.$ac_objext \
11050
conftest$ac_exeext conftest.$ac_ext
11051
LIBS=$ac_check_lib_save_LIBS
11053
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11054
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11055
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11056
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11058
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11059
if test "x$ac_cv_func_dlopen" = x""yes; then :
11060
lt_cv_dlopen="dlopen"
11062
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11063
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11064
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11065
$as_echo_n "(cached) " >&6
11067
ac_check_lib_save_LIBS=$LIBS
11069
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11070
/* end confdefs.h. */
11072
/* Override any GCC internal prototype to avoid an error.
11073
Use char because int might match the return type of a GCC
11074
builtin and then its argument prototype would still apply. */
11087
if ac_fn_c_try_link "$LINENO"; then :
11088
ac_cv_lib_dl_dlopen=yes
11090
ac_cv_lib_dl_dlopen=no
11092
rm -f core conftest.err conftest.$ac_objext \
11093
conftest$ac_exeext conftest.$ac_ext
11094
LIBS=$ac_check_lib_save_LIBS
11096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11097
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11098
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11099
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11102
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11103
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11104
$as_echo_n "(cached) " >&6
11106
ac_check_lib_save_LIBS=$LIBS
11107
LIBS="-lsvld $LIBS"
11108
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11109
/* end confdefs.h. */
11111
/* Override any GCC internal prototype to avoid an error.
11112
Use char because int might match the return type of a GCC
11113
builtin and then its argument prototype would still apply. */
11126
if ac_fn_c_try_link "$LINENO"; then :
11127
ac_cv_lib_svld_dlopen=yes
11129
ac_cv_lib_svld_dlopen=no
11131
rm -f core conftest.err conftest.$ac_objext \
11132
conftest$ac_exeext conftest.$ac_ext
11133
LIBS=$ac_check_lib_save_LIBS
11135
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11136
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11137
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11138
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11140
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11141
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11142
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11143
$as_echo_n "(cached) " >&6
11145
ac_check_lib_save_LIBS=$LIBS
11147
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11148
/* end confdefs.h. */
11150
/* Override any GCC internal prototype to avoid an error.
11151
Use char because int might match the return type of a GCC
11152
builtin and then its argument prototype would still apply. */
11160
return dld_link ();
11165
if ac_fn_c_try_link "$LINENO"; then :
11166
ac_cv_lib_dld_dld_link=yes
11168
ac_cv_lib_dld_dld_link=no
11170
rm -f core conftest.err conftest.$ac_objext \
11171
conftest$ac_exeext conftest.$ac_ext
11172
LIBS=$ac_check_lib_save_LIBS
11174
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11175
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11176
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11177
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11198
if test "x$lt_cv_dlopen" != xno; then
11204
case $lt_cv_dlopen in
11206
save_CPPFLAGS="$CPPFLAGS"
11207
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11209
save_LDFLAGS="$LDFLAGS"
11210
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11213
LIBS="$lt_cv_dlopen_libs $LIBS"
11215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11216
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11217
if test "${lt_cv_dlopen_self+set}" = set; then :
11218
$as_echo_n "(cached) " >&6
11220
if test "$cross_compiling" = yes; then :
11221
lt_cv_dlopen_self=cross
11223
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11224
lt_status=$lt_dlunknown
11225
cat > conftest.$ac_ext <<_LT_EOF
11226
#line __oline__ "configure"
11227
#include "confdefs.h"
11236
# define LT_DLGLOBAL RTLD_GLOBAL
11239
# define LT_DLGLOBAL DL_GLOBAL
11241
# define LT_DLGLOBAL 0
11245
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11246
find out it does not work in some platform. */
11247
#ifndef LT_DLLAZY_OR_NOW
11249
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11252
# define LT_DLLAZY_OR_NOW DL_LAZY
11255
# define LT_DLLAZY_OR_NOW RTLD_NOW
11258
# define LT_DLLAZY_OR_NOW DL_NOW
11260
# define LT_DLLAZY_OR_NOW 0
11267
void fnord() { int i=42;}
11270
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11271
int status = $lt_dlunknown;
11275
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11276
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11277
/* dlclose (self); */
11285
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11286
(eval $ac_link) 2>&5
11288
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11289
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11290
(./conftest; exit; ) >&5 2>/dev/null
11292
case x$lt_status in
11293
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11294
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11295
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11298
# compilation failed
11299
lt_cv_dlopen_self=no
11306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11307
$as_echo "$lt_cv_dlopen_self" >&6; }
11309
if test "x$lt_cv_dlopen_self" = xyes; then
11310
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11311
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11312
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11313
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11314
$as_echo_n "(cached) " >&6
11316
if test "$cross_compiling" = yes; then :
11317
lt_cv_dlopen_self_static=cross
11319
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11320
lt_status=$lt_dlunknown
11321
cat > conftest.$ac_ext <<_LT_EOF
11322
#line __oline__ "configure"
11323
#include "confdefs.h"
11332
# define LT_DLGLOBAL RTLD_GLOBAL
11335
# define LT_DLGLOBAL DL_GLOBAL
11337
# define LT_DLGLOBAL 0
11341
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11342
find out it does not work in some platform. */
11343
#ifndef LT_DLLAZY_OR_NOW
11345
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11348
# define LT_DLLAZY_OR_NOW DL_LAZY
11351
# define LT_DLLAZY_OR_NOW RTLD_NOW
11354
# define LT_DLLAZY_OR_NOW DL_NOW
11356
# define LT_DLLAZY_OR_NOW 0
11363
void fnord() { int i=42;}
11366
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11367
int status = $lt_dlunknown;
11371
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11372
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11373
/* dlclose (self); */
11381
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11382
(eval $ac_link) 2>&5
11384
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11385
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11386
(./conftest; exit; ) >&5 2>/dev/null
11388
case x$lt_status in
11389
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11390
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11391
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11394
# compilation failed
11395
lt_cv_dlopen_self_static=no
11402
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11403
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11406
CPPFLAGS="$save_CPPFLAGS"
11407
LDFLAGS="$save_LDFLAGS"
11412
case $lt_cv_dlopen_self in
11413
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11414
*) enable_dlopen_self=unknown ;;
11417
case $lt_cv_dlopen_self_static in
11418
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11419
*) enable_dlopen_self_static=unknown ;;
11441
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11442
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11443
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11444
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11445
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11447
$as_echo "yes" >&6; }
11449
# FIXME - insert some real tests, host_os isn't really good enough
11452
if test -n "$STRIP" ; then
11453
striplib="$STRIP -x"
11454
old_striplib="$STRIP -S"
11455
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11456
$as_echo "yes" >&6; }
11458
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11459
$as_echo "no" >&6; }
11463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11464
$as_echo "no" >&6; }
11480
# Report which library types will actually be built
11481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11482
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11484
$as_echo "$can_build_shared" >&6; }
11486
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11487
$as_echo_n "checking whether to build shared libraries... " >&6; }
11488
test "$can_build_shared" = "no" && enable_shared=no
11490
# On AIX, shared libraries and static libraries use the same namespace, and
11491
# are all built from PIC.
11494
test "$enable_shared" = yes && enable_static=no
11495
if test -n "$RANLIB"; then
11496
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11497
postinstall_cmds='$RANLIB $lib'
11502
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11503
test "$enable_shared" = yes && enable_static=no
11507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11508
$as_echo "$enable_shared" >&6; }
11510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11511
$as_echo_n "checking whether to build static libraries... " >&6; }
11512
# Make sure either enable_shared or enable_static is yes.
11513
test "$enable_shared" = yes || enable_static=yes
11514
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11515
$as_echo "$enable_static" >&6; }
11522
ac_cpp='$CPP $CPPFLAGS'
11523
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11524
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11525
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11531
ac_cpp='$CXXCPP $CPPFLAGS'
11532
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11533
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11534
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11536
archive_cmds_need_lc_CXX=no
11537
allow_undefined_flag_CXX=
11538
always_export_symbols_CXX=no
11539
archive_expsym_cmds_CXX=
11540
compiler_needs_object_CXX=no
11541
export_dynamic_flag_spec_CXX=
11542
hardcode_direct_CXX=no
11543
hardcode_direct_absolute_CXX=no
11544
hardcode_libdir_flag_spec_CXX=
11545
hardcode_libdir_flag_spec_ld_CXX=
11546
hardcode_libdir_separator_CXX=
11547
hardcode_minus_L_CXX=no
11548
hardcode_shlibpath_var_CXX=unsupported
11549
hardcode_automatic_CXX=no
11550
inherit_rpath_CXX=no
11552
module_expsym_cmds_CXX=
11553
link_all_deplibs_CXX=unknown
11554
old_archive_cmds_CXX=$old_archive_cmds
11555
no_undefined_flag_CXX=
11556
whole_archive_flag_spec_CXX=
11557
enable_shared_with_static_runtimes_CXX=no
11559
# Source file extension for C++ test sources.
11562
# Object file extension for compiled C++ test sources.
11566
# No sense in running all these tests if we already determined that
11567
# the CXX compiler isn't working. Some variables (like enable_shared)
11568
# are currently assumed to apply to all compilers on this platform,
11569
# and will be corrupted by setting them based on a non-working compiler.
11570
if test "$_lt_caught_CXX_error" != yes; then
11571
# Code to be used in simple compile tests
11572
lt_simple_compile_test_code="int some_variable = 0;"
11574
# Code to be used in simple link tests
11575
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11577
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11584
# If no C compiler was specified, use CC.
11587
# If no C compiler flags were specified, use CFLAGS.
11588
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11590
# Allow CC to be a program name with arguments.
11594
# save warnings/boilerplate of simple test code
11595
ac_outfile=conftest.$ac_objext
11596
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11597
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11598
_lt_compiler_boilerplate=`cat conftest.err`
11601
ac_outfile=conftest.$ac_objext
11602
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11603
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11604
_lt_linker_boilerplate=`cat conftest.err`
11608
# Allow CC to be a program name with arguments.
11613
lt_save_with_gnu_ld=$with_gnu_ld
11614
lt_save_path_LD=$lt_cv_path_LD
11615
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11616
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11618
$as_unset lt_cv_prog_gnu_ld
11620
if test -n "${lt_cv_path_LDCXX+set}"; then
11621
lt_cv_path_LD=$lt_cv_path_LDCXX
11623
$as_unset lt_cv_path_LD
11625
test -z "${LDCXX+set}" || LD=$LDCXX
11629
for cc_temp in $compiler""; do
11631
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11632
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11637
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11640
if test -n "$compiler"; then
11641
# We don't want -fno-exception when compiling C++ code, so set the
11642
# no_builtin_flag separately
11643
if test "$GXX" = yes; then
11644
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11646
lt_prog_compiler_no_builtin_flag_CXX=
11649
if test "$GXX" = yes; then
11650
# Set up default GNU C++ configuration
11654
@%:@ Check whether --with-gnu-ld was given.
11655
if test "${with_gnu_ld+set}" = set; then :
11656
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
11662
if test "$GCC" = yes; then
11663
# Check if gcc -print-prog-name=ld gives a path.
11664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
11665
$as_echo_n "checking for ld used by $CC... " >&6; }
11668
# gcc leaves a trailing carriage return which upsets mingw
11669
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11671
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11674
# Accept absolute paths.
11676
re_direlt='/[^/][^/]*/\.\./'
11677
# Canonicalize the pathname of ld
11678
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11679
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11680
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11682
test -z "$LD" && LD="$ac_prog"
11685
# If it fails, then pretend we aren't using GCC.
11689
# If it is relative, then search for the first ld in PATH.
11690
with_gnu_ld=unknown
11693
elif test "$with_gnu_ld" = yes; then
11694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
11695
$as_echo_n "checking for GNU ld... " >&6; }
11697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11698
$as_echo_n "checking for non-GNU ld... " >&6; }
11700
if test "${lt_cv_path_LD+set}" = set; then :
11701
$as_echo_n "(cached) " >&6
11703
if test -z "$LD"; then
11704
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11705
for ac_dir in $PATH; do
11707
test -z "$ac_dir" && ac_dir=.
11708
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11709
lt_cv_path_LD="$ac_dir/$ac_prog"
11710
# Check to see if the program is GNU ld. I'd rather use --version,
11711
# but apparently some variants of GNU ld only accept -v.
11712
# Break only if it was the GNU/non-GNU ld that we prefer.
11713
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11714
*GNU* | *'with BFD'*)
11715
test "$with_gnu_ld" != no && break
11718
test "$with_gnu_ld" != yes && break
11725
lt_cv_path_LD="$LD" # Let the user override the test with a path.
11729
LD="$lt_cv_path_LD"
11730
if test -n "$LD"; then
11731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
11732
$as_echo "$LD" >&6; }
11734
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11735
$as_echo "no" >&6; }
11737
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
11738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11739
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11740
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
11741
$as_echo_n "(cached) " >&6
11743
# I'd rather use --version here, but apparently some GNU lds only accept -v.
11744
case `$LD -v 2>&1 </dev/null` in
11745
*GNU* | *'with BFD'*)
11746
lt_cv_prog_gnu_ld=yes
11749
lt_cv_prog_gnu_ld=no
11753
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
11754
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
11755
with_gnu_ld=$lt_cv_prog_gnu_ld
11763
# Check if GNU C++ uses GNU ld as the underlying linker, since the
11764
# archiving commands below assume that GNU ld is being used.
11765
if test "$with_gnu_ld" = yes; then
11766
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11767
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'
11769
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11770
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11772
# If archive_cmds runs LD, not CC, wlarc should be empty
11773
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11774
# investigate it a little bit more. (MM)
11777
# ancient GNU ld didn't support --whole-archive et. al.
11778
if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11779
$GREP 'no-whole-archive' > /dev/null; then
11780
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11782
whole_archive_flag_spec_CXX=
11788
# A generic and very simple default shared library creation
11789
# command for GNU C++ for the case where it uses the native
11790
# linker, instead of GNU ld. If possible, this setting should
11791
# overridden to take advantage of the native linker features on
11792
# the platform it is being used on.
11793
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11796
# Commands to make compiler produce verbose output that lists
11797
# what "hidden" libraries, object files and flags are used when
11798
# linking a shared library.
11799
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11807
# PORTME: fill in a description of your system's C++ link characteristics
11808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11809
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11813
# FIXME: insert proper C++ library support
11817
if test "$host_cpu" = ia64; then
11818
# On IA64, the linker does run time linking by default, so we don't
11819
# have to do anything special.
11820
aix_use_runtimelinking=no
11821
exp_sym_flag='-Bexport'
11824
aix_use_runtimelinking=no
11826
# Test if we are trying to use run time linking or normal
11827
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11828
# need to do runtime linking.
11829
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11830
for ld_flag in $LDFLAGS; do
11833
aix_use_runtimelinking=yes
11841
exp_sym_flag='-bexport'
11842
no_entry_flag='-bnoentry'
11845
# When large executables or shared objects are built, AIX ld can
11846
# have problems creating the table of contents. If linking a library
11847
# or program results in "error TOC overflow" add -mminimal-toc to
11848
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11849
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11851
archive_cmds_CXX=''
11852
hardcode_direct_CXX=yes
11853
hardcode_direct_absolute_CXX=yes
11854
hardcode_libdir_separator_CXX=':'
11855
link_all_deplibs_CXX=yes
11856
file_list_spec_CXX='${wl}-f,'
11858
if test "$GXX" = yes; then
11859
case $host_os in aix4.[012]|aix4.[012].*)
11860
# We only want to do this on AIX 4.2 and lower, the check
11861
# below for broken collect2 doesn't work under 4.3+
11862
collect2name=`${CC} -print-prog-name=collect2`
11863
if test -f "$collect2name" &&
11864
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11866
# We have reworked collect2
11869
# We have old collect2
11870
hardcode_direct_CXX=unsupported
11871
# It fails to find uninstalled libraries when the uninstalled
11872
# path is not listed in the libpath. Setting hardcode_minus_L
11873
# to unsupported forces relinking
11874
hardcode_minus_L_CXX=yes
11875
hardcode_libdir_flag_spec_CXX='-L$libdir'
11876
hardcode_libdir_separator_CXX=
11879
shared_flag='-shared'
11880
if test "$aix_use_runtimelinking" = yes; then
11881
shared_flag="$shared_flag "'${wl}-G'
11885
if test "$host_cpu" = ia64; then
11886
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11887
# chokes on -Wl,-G. The following line is correct:
11890
if test "$aix_use_runtimelinking" = yes; then
11891
shared_flag='${wl}-G'
11893
shared_flag='${wl}-bM:SRE'
11898
export_dynamic_flag_spec_CXX='${wl}-bexpall'
11899
# It seems that -bexpall does not export symbols beginning with
11900
# underscore (_), so it is better to generate a list of symbols to
11902
always_export_symbols_CXX=yes
11903
if test "$aix_use_runtimelinking" = yes; then
11904
# Warning - without using the other runtime loading flags (-brtl),
11905
# -berok will link without error, but may produce a broken library.
11906
allow_undefined_flag_CXX='-berok'
11907
# Determine the default libpath from the value encoded in an empty
11909
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11910
/* end confdefs.h. */
11920
if ac_fn_cxx_try_link "$LINENO"; then :
11922
lt_aix_libpath_sed='
11923
/Import File Strings/,/^$/ {
11929
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11930
# Check for a 64-bit object if we didn't find anything.
11931
if test -z "$aix_libpath"; then
11932
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11935
rm -f core conftest.err conftest.$ac_objext \
11936
conftest$ac_exeext conftest.$ac_ext
11937
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11939
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11941
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"
11943
if test "$host_cpu" = ia64; then
11944
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11945
allow_undefined_flag_CXX="-z nodefs"
11946
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"
11948
# Determine the default libpath from the value encoded in an
11949
# empty executable.
11950
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11951
/* end confdefs.h. */
11961
if ac_fn_cxx_try_link "$LINENO"; then :
11963
lt_aix_libpath_sed='
11964
/Import File Strings/,/^$/ {
11970
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11971
# Check for a 64-bit object if we didn't find anything.
11972
if test -z "$aix_libpath"; then
11973
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11976
rm -f core conftest.err conftest.$ac_objext \
11977
conftest$ac_exeext conftest.$ac_ext
11978
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11980
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11981
# Warning - without using the other run time loading flags,
11982
# -berok will link without error, but may produce a broken library.
11983
no_undefined_flag_CXX=' ${wl}-bernotok'
11984
allow_undefined_flag_CXX=' ${wl}-berok'
11985
# Exported symbols can be pulled into shared objects from archives
11986
whole_archive_flag_spec_CXX='$convenience'
11987
archive_cmds_need_lc_CXX=yes
11988
# This is similar to how AIX traditionally builds its shared
11990
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'
11996
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11997
allow_undefined_flag_CXX=unsupported
11998
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11999
# support --undefined. This deserves some investigation. FIXME
12000
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12007
case $cc_basename in
12009
# FIXME: insert proper C++ library support
12015
cygwin* | mingw* | pw32* | cegcc*)
12016
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12017
# as there is no search path for DLLs.
12018
hardcode_libdir_flag_spec_CXX='-L$libdir'
12019
allow_undefined_flag_CXX=unsupported
12020
always_export_symbols_CXX=no
12021
enable_shared_with_static_runtimes_CXX=yes
12023
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12024
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'
12025
# If the export-symbols file already is a .def file (1st line
12026
# is EXPORTS), use it as is; otherwise, prepend...
12027
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12028
cp $export_symbols $output_objdir/$soname.def;
12030
echo EXPORTS > $output_objdir/$soname.def;
12031
cat $export_symbols >> $output_objdir/$soname.def;
12033
$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'
12038
darwin* | rhapsody*)
12041
archive_cmds_need_lc_CXX=no
12042
hardcode_direct_CXX=no
12043
hardcode_automatic_CXX=yes
12044
hardcode_shlibpath_var_CXX=unsupported
12045
whole_archive_flag_spec_CXX=''
12046
link_all_deplibs_CXX=yes
12047
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12048
case $cc_basename in
12049
ifort*) _lt_dar_can_shared=yes ;;
12050
*) _lt_dar_can_shared=$GCC ;;
12052
if test "$_lt_dar_can_shared" = "yes"; then
12053
output_verbose_link_cmd=echo
12054
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}"
12055
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12056
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}"
12057
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}"
12058
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12059
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}"
12060
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}"
12070
case $cc_basename in
12072
# FIXME: insert proper C++ library support
12076
# Green Hills C++ Compiler
12077
# FIXME: insert proper C++ library support
12081
# FIXME: insert proper C++ library support
12088
# C++ shared libraries reported to be fairly broken before
12094
archive_cmds_need_lc_CXX=no
12097
freebsd* | dragonfly*)
12098
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12107
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12108
hardcode_libdir_separator_CXX=:
12109
export_dynamic_flag_spec_CXX='${wl}-E'
12110
hardcode_direct_CXX=yes
12111
hardcode_minus_L_CXX=yes # Not in the search PATH,
12112
# but as the default
12113
# location of the library.
12115
case $cc_basename in
12117
# FIXME: insert proper C++ library support
12121
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'
12122
# Commands to make compiler produce verbose output that lists
12123
# what "hidden" libraries, object files and flags are used when
12124
# linking a shared library.
12126
# There doesn't appear to be a way to prevent this compiler from
12127
# explicitly linking system object files so we need to strip them
12128
# from the output so that they don't get included in the library
12130
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'
12133
if test "$GXX" = yes; then
12134
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'
12136
# FIXME: insert proper C++ library support
12144
if test $with_gnu_ld = no; then
12145
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12146
hardcode_libdir_separator_CXX=:
12152
export_dynamic_flag_spec_CXX='${wl}-E'
12158
hardcode_direct_CXX=no
12159
hardcode_shlibpath_var_CXX=no
12162
hardcode_direct_CXX=yes
12163
hardcode_direct_absolute_CXX=yes
12164
hardcode_minus_L_CXX=yes # Not in the search PATH,
12165
# but as the default
12166
# location of the library.
12170
case $cc_basename in
12172
# FIXME: insert proper C++ library support
12178
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12181
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12184
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12187
# Commands to make compiler produce verbose output that lists
12188
# what "hidden" libraries, object files and flags are used when
12189
# linking a shared library.
12191
# There doesn't appear to be a way to prevent this compiler from
12192
# explicitly linking system object files so we need to strip them
12193
# from the output so that they don't get included in the library
12195
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'
12198
if test "$GXX" = yes; then
12199
if test $with_gnu_ld = no; then
12202
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12205
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12208
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'
12213
# FIXME: insert proper C++ library support
12221
hardcode_direct_CXX=no
12222
hardcode_shlibpath_var_CXX=no
12223
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12224
export_dynamic_flag_spec_CXX='${wl}-E'
12225
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12226
# Instead, shared libraries are loaded at an image base (0x10000000 by
12227
# default) and relocated if they conflict, which is a slow very memory
12228
# consuming and fragmenting process. To avoid this, we pick a random,
12229
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12230
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
12231
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'
12232
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'
12235
case $cc_basename in
12238
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'
12240
# Archives containing C++ object files must be created using
12241
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
12242
# necessary to make sure instantiated templates are included
12244
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12247
if test "$GXX" = yes; then
12248
if test "$with_gnu_ld" = no; then
12249
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'
12251
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'
12254
link_all_deplibs_CXX=yes
12257
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12258
hardcode_libdir_separator_CXX=:
12259
inherit_rpath_CXX=yes
12262
linux* | k*bsd*-gnu | kopensolaris*-gnu)
12263
case $cc_basename in
12265
# Kuck and Associates, Inc. (KAI) C++ Compiler
12267
# KCC will only create a shared library if the output file
12268
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12269
# to its proper name (with version) after linking.
12270
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'
12271
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'
12272
# Commands to make compiler produce verbose output that lists
12273
# what "hidden" libraries, object files and flags are used when
12274
# linking a shared library.
12276
# There doesn't appear to be a way to prevent this compiler from
12277
# explicitly linking system object files so we need to strip them
12278
# from the output so that they don't get included in the library
12280
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'
12282
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12283
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12285
# Archives containing C++ object files must be created using
12286
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12287
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12292
# version 8.0 and above of icpc choke on multiply defined symbols
12293
# if we add $predep_objects and $postdep_objects, however 7.1 and
12294
# earlier do not add the objects themselves.
12295
case `$CC -V 2>&1` in
12297
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12298
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'
12300
*) # Version 8.0 or newer
12303
ia64*) tmp_idyn=' -i_dynamic';;
12305
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12306
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'
12309
archive_cmds_need_lc_CXX=no
12310
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12311
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12312
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12315
# Portland Group C++ compiler
12317
*pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12318
prelink_cmds_CXX='tpldir=Template.dir~
12320
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12321
compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12322
old_archive_cmds_CXX='tpldir=Template.dir~
12324
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12325
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12327
archive_cmds_CXX='tpldir=Template.dir~
12329
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12330
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12331
archive_expsym_cmds_CXX='tpldir=Template.dir~
12333
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12334
$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'
12336
*) # Version 6 will use weak symbols
12337
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12338
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'
12342
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12343
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12344
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'
12348
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12349
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'
12351
runpath_var=LD_RUN_PATH
12352
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12353
hardcode_libdir_separator_CXX=:
12355
# Commands to make compiler produce verbose output that lists
12356
# what "hidden" libraries, object files and flags are used when
12357
# linking a shared library.
12359
# There doesn't appear to be a way to prevent this compiler from
12360
# explicitly linking system object files so we need to strip them
12361
# from the output so that they don't get included in the library
12363
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'
12366
# IBM XL 8.0 on PPC, with GNU ld
12367
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12368
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12369
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12370
if test "x$supports_anon_versioning" = xyes; then
12371
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12372
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12373
echo "local: *; };" >> $output_objdir/$libname.ver~
12374
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12378
case `$CC -V 2>&1 | sed 5q` in
12381
no_undefined_flag_CXX=' -zdefs'
12382
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12383
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'
12384
hardcode_libdir_flag_spec_CXX='-R$libdir'
12385
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'
12386
compiler_needs_object_CXX=yes
12388
# Not sure whether something based on
12389
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12391
output_verbose_link_cmd='echo'
12393
# Archives containing C++ object files must be created using
12394
# "CC -xar", where "CC" is the Sun C++ compiler. This is
12395
# necessary to make sure instantiated templates are included
12397
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12405
# FIXME: insert proper C++ library support
12410
# FIXME: insert proper C++ library support
12415
case $cc_basename in
12417
# FIXME: insert proper C++ library support
12421
# FIXME: insert proper C++ library support
12428
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12429
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12431
hardcode_libdir_flag_spec_CXX='-R$libdir'
12432
hardcode_direct_CXX=yes
12433
hardcode_shlibpath_var_CXX=no
12435
# Workaround some broken pre-1.5 toolchains
12436
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12444
# C++ shared libraries are fairly broken
12449
if test -f /usr/libexec/ld.so; then
12450
hardcode_direct_CXX=yes
12451
hardcode_shlibpath_var_CXX=no
12452
hardcode_direct_absolute_CXX=yes
12453
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12454
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12455
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12456
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12457
export_dynamic_flag_spec_CXX='${wl}-E'
12458
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12460
output_verbose_link_cmd=echo
12466
osf3* | osf4* | osf5*)
12467
case $cc_basename in
12469
# Kuck and Associates, Inc. (KAI) C++ Compiler
12471
# KCC will only create a shared library if the output file
12472
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12473
# to its proper name (with version) after linking.
12474
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'
12476
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12477
hardcode_libdir_separator_CXX=:
12479
# Archives containing C++ object files must be created using
12480
# the KAI C++ compiler.
12482
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12483
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12487
# Rational C++ 2.4.1
12488
# FIXME: insert proper C++ library support
12494
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12495
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'
12496
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12499
allow_undefined_flag_CXX=' -expect_unresolved \*'
12500
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'
12501
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12502
echo "-hidden">> $lib.exp~
12503
$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~
12505
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12509
hardcode_libdir_separator_CXX=:
12511
# Commands to make compiler produce verbose output that lists
12512
# what "hidden" libraries, object files and flags are used when
12513
# linking a shared library.
12515
# There doesn't appear to be a way to prevent this compiler from
12516
# explicitly linking system object files so we need to strip them
12517
# from the output so that they don't get included in the library
12519
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'
12522
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12523
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12526
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'
12529
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'
12533
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12534
hardcode_libdir_separator_CXX=:
12536
# Commands to make compiler produce verbose output that lists
12537
# what "hidden" libraries, object files and flags are used when
12538
# linking a shared library.
12539
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12542
# FIXME: insert proper C++ library support
12550
# FIXME: insert proper C++ library support
12555
case $cc_basename in
12558
# FIXME: insert proper C++ library support
12563
# FIXME: insert proper C++ library support
12567
# FIXME: insert proper C++ library support
12574
case $cc_basename in
12576
# Sun C++ 4.2, 5.x and Centerline C++
12577
archive_cmds_need_lc_CXX=yes
12578
no_undefined_flag_CXX=' -zdefs'
12579
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12580
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12581
$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'
12583
hardcode_libdir_flag_spec_CXX='-R$libdir'
12584
hardcode_shlibpath_var_CXX=no
12586
solaris2.[0-5] | solaris2.[0-5].*) ;;
12588
# The compiler driver will combine and reorder linker options,
12589
# but understands `-z linker_flag'.
12590
# Supported since Solaris 2.6 (maybe 2.5.1?)
12591
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12594
link_all_deplibs_CXX=yes
12596
output_verbose_link_cmd='echo'
12598
# Archives containing C++ object files must be created using
12599
# "CC -xar", where "CC" is the Sun C++ compiler. This is
12600
# necessary to make sure instantiated templates are included
12602
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12605
# Green Hills C++ Compiler
12606
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12608
# The C++ compiler must be used to create the archive.
12609
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12612
# GNU C++ compiler with Solaris linker
12613
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12614
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12615
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12616
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12617
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12618
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12620
# Commands to make compiler produce verbose output that lists
12621
# what "hidden" libraries, object files and flags are used when
12622
# linking a shared library.
12623
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12625
# g++ 2.7 appears to require `-G' NOT `-shared' on this
12627
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12628
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12629
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12631
# Commands to make compiler produce verbose output that lists
12632
# what "hidden" libraries, object files and flags are used when
12633
# linking a shared library.
12634
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12637
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12639
solaris2.[0-5] | solaris2.[0-5].*) ;;
12641
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12649
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12650
no_undefined_flag_CXX='${wl}-z,text'
12651
archive_cmds_need_lc_CXX=no
12652
hardcode_shlibpath_var_CXX=no
12653
runpath_var='LD_RUN_PATH'
12655
case $cc_basename in
12657
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12658
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12661
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12662
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12667
sysv5* | sco3.2v5* | sco5v6*)
12668
# Note: We can NOT use -z defs as we might desire, because we do not
12669
# link with -lc, and that would cause any symbols used from libc to
12670
# always be unresolved, which means just about no library would
12671
# ever link correctly. If we're not using GNU ld we use -z text
12672
# though, which does catch some bad symbols but isn't as heavy-handed
12674
no_undefined_flag_CXX='${wl}-z,text'
12675
allow_undefined_flag_CXX='${wl}-z,nodefs'
12676
archive_cmds_need_lc_CXX=no
12677
hardcode_shlibpath_var_CXX=no
12678
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12679
hardcode_libdir_separator_CXX=':'
12680
link_all_deplibs_CXX=yes
12681
export_dynamic_flag_spec_CXX='${wl}-Bexport'
12682
runpath_var='LD_RUN_PATH'
12684
case $cc_basename in
12686
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12687
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12690
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12691
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12697
case $cc_basename in
12699
# NonStop-UX NCC 3.20
12700
# FIXME: insert proper C++ library support
12704
# FIXME: insert proper C++ library support
12711
# FIXME: insert proper C++ library support
12716
# FIXME: insert proper C++ library support
12721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
12722
$as_echo "$ld_shlibs_CXX" >&6; }
12723
test "$ld_shlibs_CXX" = no && can_build_shared=no
12729
## There is no encapsulation within the following macros, do not change
12730
## the running order or otherwise move them around unless you know exactly
12731
## what you are doing...
12732
# Dependencies to place before and after the object being linked:
12733
predep_objects_CXX=
12734
postdep_objects_CXX=
12737
compiler_lib_search_path_CXX=
12739
cat > conftest.$ac_ext <<_LT_EOF
12743
Foo (void) { a = 0; }
12749
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12750
(eval $ac_compile) 2>&5
12752
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12753
test $ac_status = 0; }; then
12754
# Parse the compiler output and extract the necessary
12755
# objects, libraries and library flags.
12757
# Sentinel used to keep track of whether or not we are before
12758
# the conftest object file.
12759
pre_test_object_deps_done=no
12761
for p in `eval "$output_verbose_link_cmd"`; do
12765
# Some compilers place space between "-{L,R}" and the path.
12766
# Remove the space.
12767
if test $p = "-L" ||
12768
test $p = "-R"; then
12775
if test "$pre_test_object_deps_done" = no; then
12778
# Internal compiler library paths should come after those
12779
# provided the user. The postdeps already come after the
12780
# user supplied libs so there is no need to process them.
12781
if test -z "$compiler_lib_search_path_CXX"; then
12782
compiler_lib_search_path_CXX="${prev}${p}"
12784
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12787
# The "-l" case would never come before the object being
12788
# linked, so don't bother handling this case.
12791
if test -z "$postdeps_CXX"; then
12792
postdeps_CXX="${prev}${p}"
12794
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12800
# This assumes that the test object file only shows up
12801
# once in the compiler output.
12802
if test "$p" = "conftest.$objext"; then
12803
pre_test_object_deps_done=yes
12807
if test "$pre_test_object_deps_done" = no; then
12808
if test -z "$predep_objects_CXX"; then
12809
predep_objects_CXX="$p"
12811
predep_objects_CXX="$predep_objects_CXX $p"
12814
if test -z "$postdep_objects_CXX"; then
12815
postdep_objects_CXX="$p"
12817
postdep_objects_CXX="$postdep_objects_CXX $p"
12822
*) ;; # Ignore the rest.
12830
echo "libtool.m4: error: problem compiling CXX test program"
12833
$RM -f confest.$objext
12835
# PORTME: override above test on systems where it is broken
12838
# Interix 3.5 installs completely hosed .la files for C++, so rather than
12839
# hack all around it, let's just trust "g++" to DTRT.
12840
predep_objects_CXX=
12841
postdep_objects_CXX=
12846
case `$CC -V 2>&1 | sed 5q` in
12850
# The more standards-conforming stlport4 library is
12851
# incompatible with the Cstd library. Avoid specifying
12852
# it if it's in CXXFLAGS. Ignore libCrun as
12853
# -library=stlport4 depends on it.
12854
case " $CXX $CXXFLAGS " in
12855
*" -library=stlport4 "*)
12856
solaris_use_stlport4=yes
12860
if test "$solaris_use_stlport4" != yes; then
12861
postdeps_CXX='-library=Cstd -library=Crun'
12868
case $cc_basename in
12870
# The more standards-conforming stlport4 library is
12871
# incompatible with the Cstd library. Avoid specifying
12872
# it if it's in CXXFLAGS. Ignore libCrun as
12873
# -library=stlport4 depends on it.
12874
case " $CXX $CXXFLAGS " in
12875
*" -library=stlport4 "*)
12876
solaris_use_stlport4=yes
12880
# Adding this requires a known-good setup of shared libraries for
12881
# Sun compiler versions before 5.6, else PIC objects from an old
12882
# archive will be linked into the output, leading to subtle bugs.
12883
if test "$solaris_use_stlport4" != yes; then
12884
postdeps_CXX='-library=Cstd -library=Crun'
12892
case " $postdeps_CXX " in
12893
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
12895
compiler_lib_search_dirs_CXX=
12896
if test -n "${compiler_lib_search_path_CXX}"; then
12897
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
12930
lt_prog_compiler_wl_CXX=
12931
lt_prog_compiler_pic_CXX=
12932
lt_prog_compiler_static_CXX=
12934
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
12935
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
12937
# C++ specific cases for pic, static, wl, etc.
12938
if test "$GXX" = yes; then
12939
lt_prog_compiler_wl_CXX='-Wl,'
12940
lt_prog_compiler_static_CXX='-static'
12944
# All AIX code is PIC.
12945
if test "$host_cpu" = ia64; then
12946
# AIX 5 now supports IA64 processor
12947
lt_prog_compiler_static_CXX='-Bstatic'
12954
# see comment about AmigaOS4 .so support
12955
lt_prog_compiler_pic_CXX='-fPIC'
12958
# FIXME: we need at least 68020 code to build shared libraries, but
12959
# adding the `-m68020' flag to GCC prevents building anything better,
12961
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12966
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12967
# PIC is the default for these OSes.
12969
mingw* | cygwin* | os2* | pw32* | cegcc*)
12970
# This hack is so that the source file can tell whether it is being
12971
# built for inclusion in a dll (and should export symbols for example).
12972
# Although the cygwin gcc ignores -fPIC, still need this for old-style
12973
# (--disable-auto-import) libraries
12974
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12976
darwin* | rhapsody*)
12977
# PIC is the default on this platform
12978
# Common symbols not allowed in MH_DYLIB files
12979
lt_prog_compiler_pic_CXX='-fno-common'
12982
# DJGPP does not support shared libraries at all
12983
lt_prog_compiler_pic_CXX=
12986
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
12987
# Instead, we relocate shared libraries at runtime.
12990
if test -d /usr/nec; then
12991
lt_prog_compiler_pic_CXX=-Kconform_pic
12995
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
12996
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
12997
# sets the default TLS model and affects inlining.
13002
lt_prog_compiler_pic_CXX='-fPIC'
13007
# QNX uses GNU C++, but need to define -shared option too, otherwise
13008
# it will coredump.
13009
lt_prog_compiler_pic_CXX='-fPIC -shared'
13012
lt_prog_compiler_pic_CXX='-fPIC'
13018
# All AIX code is PIC.
13019
if test "$host_cpu" = ia64; then
13020
# AIX 5 now supports IA64 processor
13021
lt_prog_compiler_static_CXX='-Bstatic'
13023
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13027
case $cc_basename in
13029
# Green Hills C++ Compiler
13030
# _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"
13035
case $cc_basename in
13037
lt_prog_compiler_pic_CXX='-KPIC'
13040
# Green Hills C++ Compiler
13041
lt_prog_compiler_pic_CXX='-pic'
13047
freebsd* | dragonfly*)
13048
# FreeBSD uses GNU C++
13050
hpux9* | hpux10* | hpux11*)
13051
case $cc_basename in
13053
lt_prog_compiler_wl_CXX='-Wl,'
13054
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13055
if test "$host_cpu" != ia64; then
13056
lt_prog_compiler_pic_CXX='+Z'
13060
lt_prog_compiler_wl_CXX='-Wl,'
13061
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13067
lt_prog_compiler_pic_CXX='+Z'
13076
# This is c89, which is MS Visual C++ (no shared libs)
13077
# Anyone wants to do a port?
13079
irix5* | irix6* | nonstopux*)
13080
case $cc_basename in
13082
lt_prog_compiler_wl_CXX='-Wl,'
13083
lt_prog_compiler_static_CXX='-non_shared'
13084
# CC pic flag -KPIC is the default.
13090
linux* | k*bsd*-gnu | kopensolaris*-gnu)
13091
case $cc_basename in
13094
lt_prog_compiler_wl_CXX='--backend -Wl,'
13095
lt_prog_compiler_pic_CXX='-fPIC'
13098
# old Intel C++ for x86_64 which still supported -KPIC.
13099
lt_prog_compiler_wl_CXX='-Wl,'
13100
lt_prog_compiler_pic_CXX='-KPIC'
13101
lt_prog_compiler_static_CXX='-static'
13104
# Intel C++, used to be incompatible with GCC.
13105
# ICC 10 doesn't accept -KPIC any more.
13106
lt_prog_compiler_wl_CXX='-Wl,'
13107
lt_prog_compiler_pic_CXX='-fPIC'
13108
lt_prog_compiler_static_CXX='-static'
13111
# Portland Group C++ compiler
13112
lt_prog_compiler_wl_CXX='-Wl,'
13113
lt_prog_compiler_pic_CXX='-fpic'
13114
lt_prog_compiler_static_CXX='-Bstatic'
13118
# Make sure the PIC flag is empty. It appears that all Alpha
13119
# Linux and Compaq Tru64 Unix objects are PIC.
13120
lt_prog_compiler_pic_CXX=
13121
lt_prog_compiler_static_CXX='-non_shared'
13124
# IBM XL 8.0 on PPC
13125
lt_prog_compiler_wl_CXX='-Wl,'
13126
lt_prog_compiler_pic_CXX='-qpic'
13127
lt_prog_compiler_static_CXX='-qstaticlink'
13130
case `$CC -V 2>&1 | sed 5q` in
13133
lt_prog_compiler_pic_CXX='-KPIC'
13134
lt_prog_compiler_static_CXX='-Bstatic'
13135
lt_prog_compiler_wl_CXX='-Qoption ld '
13146
case $cc_basename in
13148
lt_prog_compiler_pic_CXX='-W c,exportall'
13154
netbsd* | netbsdelf*-gnu)
13157
# QNX uses GNU C++, but need to define -shared option too, otherwise
13158
# it will coredump.
13159
lt_prog_compiler_pic_CXX='-fPIC -shared'
13161
osf3* | osf4* | osf5*)
13162
case $cc_basename in
13164
lt_prog_compiler_wl_CXX='--backend -Wl,'
13167
# Rational C++ 2.4.1
13168
lt_prog_compiler_pic_CXX='-pic'
13171
# Digital/Compaq C++
13172
lt_prog_compiler_wl_CXX='-Wl,'
13173
# Make sure the PIC flag is empty. It appears that all Alpha
13174
# Linux and Compaq Tru64 Unix objects are PIC.
13175
lt_prog_compiler_pic_CXX=
13176
lt_prog_compiler_static_CXX='-non_shared'
13185
case $cc_basename in
13187
# Sun C++ 4.2, 5.x and Centerline C++
13188
lt_prog_compiler_pic_CXX='-KPIC'
13189
lt_prog_compiler_static_CXX='-Bstatic'
13190
lt_prog_compiler_wl_CXX='-Qoption ld '
13193
# Green Hills C++ Compiler
13194
lt_prog_compiler_pic_CXX='-PIC'
13201
case $cc_basename in
13204
lt_prog_compiler_pic_CXX='-pic'
13205
lt_prog_compiler_static_CXX='-Bstatic'
13209
lt_prog_compiler_pic_CXX='-pic'
13215
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13216
case $cc_basename in
13218
lt_prog_compiler_wl_CXX='-Wl,'
13219
lt_prog_compiler_pic_CXX='-KPIC'
13220
lt_prog_compiler_static_CXX='-Bstatic'
13225
case $cc_basename in
13227
# NonStop-UX NCC 3.20
13228
lt_prog_compiler_pic_CXX='-KPIC'
13237
lt_prog_compiler_can_build_shared_CXX=no
13243
# For platforms which do not support PIC, -DPIC is meaningless:
13245
lt_prog_compiler_pic_CXX=
13248
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13252
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13257
# Check to make sure the PIC flag actually works.
13259
if test -n "$lt_prog_compiler_pic_CXX"; then
13260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13261
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13262
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13263
$as_echo_n "(cached) " >&6
13265
lt_cv_prog_compiler_pic_works_CXX=no
13266
ac_outfile=conftest.$ac_objext
13267
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13268
lt_compiler_flag="$lt_prog_compiler_pic_CXX@&t@ -DPIC"
13269
# Insert the option either (1) after the last *FLAGS variable, or
13270
# (2) before a word containing "conftest.", or (3) at the end.
13271
# Note that $ac_compile itself does not contain backslashes and begins
13272
# with a dollar sign (not a hyphen), so the echo should work correctly.
13273
# The option is referenced via a variable to avoid confusing sed.
13274
lt_compile=`echo "$ac_compile" | $SED \
13275
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13276
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13277
-e 's:$: $lt_compiler_flag:'`
13278
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13279
(eval "$lt_compile" 2>conftest.err)
13281
cat conftest.err >&5
13282
echo "$as_me:__oline__: \$? = $ac_status" >&5
13283
if (exit $ac_status) && test -s "$ac_outfile"; then
13284
# The compiler can only warn and ignore the option if not recognized
13285
# So say no if there are warnings other than the usual output.
13286
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13287
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13288
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13289
lt_cv_prog_compiler_pic_works_CXX=yes
13295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13296
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13298
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13299
case $lt_prog_compiler_pic_CXX in
13301
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13304
lt_prog_compiler_pic_CXX=
13305
lt_prog_compiler_can_build_shared_CXX=no
13313
# Check to make sure the static flag actually works.
13315
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13317
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13318
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13319
$as_echo_n "(cached) " >&6
13321
lt_cv_prog_compiler_static_works_CXX=no
13322
save_LDFLAGS="$LDFLAGS"
13323
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13324
echo "$lt_simple_link_test_code" > conftest.$ac_ext
13325
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13326
# The linker can only warn and ignore the option if not recognized
13327
# So say no if there are warnings
13328
if test -s conftest.err; then
13329
# Append any errors to the config.log.
13330
cat conftest.err 1>&5
13331
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13332
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13333
if diff conftest.exp conftest.er2 >/dev/null; then
13334
lt_cv_prog_compiler_static_works_CXX=yes
13337
lt_cv_prog_compiler_static_works_CXX=yes
13341
LDFLAGS="$save_LDFLAGS"
13344
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13345
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13347
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13350
lt_prog_compiler_static_CXX=
13356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13357
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13358
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13359
$as_echo_n "(cached) " >&6
13361
lt_cv_prog_compiler_c_o_CXX=no
13362
$RM -r conftest 2>/dev/null
13366
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13368
lt_compiler_flag="-o out/conftest2.$ac_objext"
13369
# Insert the option either (1) after the last *FLAGS variable, or
13370
# (2) before a word containing "conftest.", or (3) at the end.
13371
# Note that $ac_compile itself does not contain backslashes and begins
13372
# with a dollar sign (not a hyphen), so the echo should work correctly.
13373
lt_compile=`echo "$ac_compile" | $SED \
13374
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13375
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13376
-e 's:$: $lt_compiler_flag:'`
13377
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13378
(eval "$lt_compile" 2>out/conftest.err)
13380
cat out/conftest.err >&5
13381
echo "$as_me:__oline__: \$? = $ac_status" >&5
13382
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13384
# The compiler can only warn and ignore the option if not recognized
13385
# So say no if there are warnings
13386
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13387
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13388
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13389
lt_cv_prog_compiler_c_o_CXX=yes
13394
# SGI C++ compiler will create directory out/ii_files/ for
13395
# template instantiation
13396
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13397
$RM out/* && rmdir out
13403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13404
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13409
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13410
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13411
$as_echo_n "(cached) " >&6
13413
lt_cv_prog_compiler_c_o_CXX=no
13414
$RM -r conftest 2>/dev/null
13418
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13420
lt_compiler_flag="-o out/conftest2.$ac_objext"
13421
# Insert the option either (1) after the last *FLAGS variable, or
13422
# (2) before a word containing "conftest.", or (3) at the end.
13423
# Note that $ac_compile itself does not contain backslashes and begins
13424
# with a dollar sign (not a hyphen), so the echo should work correctly.
13425
lt_compile=`echo "$ac_compile" | $SED \
13426
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13427
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13428
-e 's:$: $lt_compiler_flag:'`
13429
(eval echo "\"\$as_me:__oline__: $lt_compile\"" >&5)
13430
(eval "$lt_compile" 2>out/conftest.err)
13432
cat out/conftest.err >&5
13433
echo "$as_me:__oline__: \$? = $ac_status" >&5
13434
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13436
# The compiler can only warn and ignore the option if not recognized
13437
# So say no if there are warnings
13438
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13439
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13440
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13441
lt_cv_prog_compiler_c_o_CXX=yes
13446
# SGI C++ compiler will create directory out/ii_files/ for
13447
# template instantiation
13448
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13449
$RM out/* && rmdir out
13455
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13456
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13461
hard_links="nottested"
13462
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13463
# do not overwrite the value of need_locks provided by the user
13464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13465
$as_echo_n "checking if we can lock with hard links... " >&6; }
13468
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13470
ln conftest.a conftest.b 2>&5 || hard_links=no
13471
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13472
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13473
$as_echo "$hard_links" >&6; }
13474
if test "$hard_links" = no; then
13475
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13476
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13485
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13486
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13488
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13491
# If we're using GNU nm, then we don't want the "-C" option.
13492
# -C means demangle to AIX nm, but means don't demangle with GNU nm
13493
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13494
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'
13496
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'
13500
export_symbols_cmds_CXX="$ltdll_cmds"
13502
cygwin* | mingw* | cegcc*)
13503
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'
13505
linux* | k*bsd*-gnu)
13506
link_all_deplibs_CXX=no
13509
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13512
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13514
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13515
$as_echo "$ld_shlibs_CXX" >&6; }
13516
test "$ld_shlibs_CXX" = no && can_build_shared=no
13518
with_gnu_ld_CXX=$with_gnu_ld
13526
# Do we need to explicitly link libc?
13528
case "x$archive_cmds_need_lc_CXX" in
13530
# Assume -lc should be added
13531
archive_cmds_need_lc_CXX=yes
13533
if test "$enable_shared" = yes && test "$GCC" = yes; then
13534
case $archive_cmds_CXX in
13536
# FIXME: we may have to deal with multi-command sequences.
13539
# Test whether the compiler implicitly links with -lc since on some
13540
# systems, -lgcc has to come before -lc. If gcc already passes -lc
13541
# to ld, don't add -lc before -lgcc.
13542
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13543
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13545
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13547
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13548
(eval $ac_compile) 2>&5
13550
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13551
test $ac_status = 0; } 2>conftest.err; then
13554
libobjs=conftest.$ac_objext
13556
wl=$lt_prog_compiler_wl_CXX
13557
pic_flag=$lt_prog_compiler_pic_CXX
13563
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13564
allow_undefined_flag_CXX=
13565
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13566
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13568
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13569
test $ac_status = 0; }
13571
archive_cmds_need_lc_CXX=no
13573
archive_cmds_need_lc_CXX=yes
13575
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13577
cat conftest.err 1>&5
13580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13581
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
13651
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13652
$as_echo_n "checking dynamic linker characteristics... " >&6; }
13654
library_names_spec=
13655
libname_spec='lib$name'
13659
postuninstall_cmds=
13663
shlibpath_overrides_runpath=unknown
13665
dynamic_linker="$host_os ld.so"
13666
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13667
need_lib_prefix=unknown
13668
hardcode_into_libs=no
13670
# when you set need_version to no, make sure it does not cause -set_version
13671
# flags to be left without arguments
13672
need_version=unknown
13677
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13678
shlibpath_var=LIBPATH
13680
# AIX 3 has no versioning support, so we append a major version to the name.
13681
soname_spec='${libname}${release}${shared_ext}$major'
13688
hardcode_into_libs=yes
13689
if test "$host_cpu" = ia64; then
13690
# AIX 5 supports IA64
13691
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13692
shlibpath_var=LD_LIBRARY_PATH
13694
# With GCC up to 2.95.x, collect2 would create an import file
13695
# for dependence libraries. The import file would start with
13696
# the line `#! .'. This would cause the generated library to
13697
# depend on `.', always an invalid library. This was fixed in
13698
# development snapshots of GCC prior to 3.0.
13700
aix4 | aix4.[01] | aix4.[01].*)
13701
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13703
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13706
can_build_shared=no
13710
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13711
# soname into executable. Probably we can add versioning support to
13712
# collect2, so additional links can be useful in future.
13713
if test "$aix_use_runtimelinking" = yes; then
13714
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
13715
# instead of lib<name>.a to let people know that these are not
13716
# typical AIX shared libraries.
13717
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13719
# We preserve .a as extension for shared libraries through AIX4.2
13720
# and later when we are not doing run time linking.
13721
library_names_spec='${libname}${release}.a $libname.a'
13722
soname_spec='${libname}${release}${shared_ext}$major'
13724
shlibpath_var=LIBPATH
13731
# Since July 2007 AmigaOS4 officially supports .so libraries.
13732
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13733
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13736
library_names_spec='$libname.ixlibrary $libname.a'
13737
# Create ${libname}_ixlibrary.a entries in /sys/libs.
13738
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'
13744
library_names_spec='${libname}${shared_ext}'
13745
dynamic_linker="$host_os ld.so"
13746
shlibpath_var=LIBRARY_PATH
13752
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13753
soname_spec='${libname}${release}${shared_ext}$major'
13754
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13755
shlibpath_var=LD_LIBRARY_PATH
13756
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13757
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13758
# the default ld.so.conf also contains /usr/contrib/lib and
13759
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13760
# libtool to hard-code these into programs
13763
cygwin* | mingw* | pw32* | cegcc*)
13764
version_type=windows
13769
case $GCC,$host_os in
13770
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13771
library_names_spec='$libname.dll.a'
13772
# DLL is installed to $(libdir)/../bin by postinstall_cmds
13773
postinstall_cmds='base_file=`basename \${file}`~
13774
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13775
dldir=$destdir/`dirname \$dlpath`~
13776
test -d \$dldir || mkdir -p \$dldir~
13777
$install_prog $dir/$dlname \$dldir/$dlname~
13778
chmod a+x \$dldir/$dlname~
13779
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13780
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13782
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13783
dlpath=$dir/\$dldll~
13785
shlibpath_overrides_runpath=yes
13789
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
13790
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13791
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13794
# MinGW DLLs use traditional 'lib' prefix
13795
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13796
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13797
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13798
# It is most probably a Windows format PATH printed by
13799
# mingw gcc, but we are running on Cygwin. Gcc prints its search
13800
# path with ; separators, and with drive letters. We can handle the
13801
# drive letters (cygwin fileutils understands them), so leave them,
13802
# especially as we might pass files found there to a mingw objdump,
13803
# which wouldn't understand a cygwinified path. Ahh.
13804
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13806
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13810
# pw32 DLLs use 'pw' prefix rather than 'lib'
13811
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13817
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13820
dynamic_linker='Win32 ld.exe'
13821
# FIXME: first we should search . and the directory the executable is in
13825
darwin* | rhapsody*)
13826
dynamic_linker="$host_os dyld"
13827
version_type=darwin
13830
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13831
soname_spec='${libname}${release}${major}$shared_ext'
13832
shlibpath_overrides_runpath=yes
13833
shlibpath_var=DYLD_LIBRARY_PATH
13834
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13836
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13843
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13844
soname_spec='${libname}${release}${shared_ext}$major'
13845
shlibpath_var=LD_LIBRARY_PATH
13852
freebsd* | dragonfly*)
13853
# DragonFly does not have aout. When/if they implement a new
13854
# versioning mechanism, adjust this.
13855
if test -x /usr/bin/objformat; then
13856
objformat=`/usr/bin/objformat`
13859
freebsd[123]*) objformat=aout ;;
13860
*) objformat=elf ;;
13863
version_type=freebsd-$objformat
13864
case $version_type in
13866
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13871
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13875
shlibpath_var=LD_LIBRARY_PATH
13878
shlibpath_overrides_runpath=yes
13880
freebsd3.[01]* | freebsdelf3.[01]*)
13881
shlibpath_overrides_runpath=yes
13882
hardcode_into_libs=yes
13884
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13885
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13886
shlibpath_overrides_runpath=no
13887
hardcode_into_libs=yes
13889
*) # from 4.6 on, and DragonFly
13890
shlibpath_overrides_runpath=yes
13891
hardcode_into_libs=yes
13900
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13901
soname_spec='${libname}${release}${shared_ext}$major'
13902
shlibpath_var=LD_LIBRARY_PATH
13903
hardcode_into_libs=yes
13906
hpux9* | hpux10* | hpux11*)
13907
# Give a soname corresponding to the major version so that dld.sl refuses to
13908
# link against other versions.
13915
hardcode_into_libs=yes
13916
dynamic_linker="$host_os dld.so"
13917
shlibpath_var=LD_LIBRARY_PATH
13918
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13919
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13920
soname_spec='${libname}${release}${shared_ext}$major'
13921
if test "X$HPUX_IA64_MODE" = X32; then
13922
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13924
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13926
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13930
hardcode_into_libs=yes
13931
dynamic_linker="$host_os dld.sl"
13932
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13933
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13934
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13935
soname_spec='${libname}${release}${shared_ext}$major'
13936
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13937
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13941
dynamic_linker="$host_os dld.sl"
13942
shlibpath_var=SHLIB_PATH
13943
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13944
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13945
soname_spec='${libname}${release}${shared_ext}$major'
13948
# HP-UX runs *really* slowly unless shared libraries are mode 555.
13949
postinstall_cmds='chmod 555 $lib'
13956
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13957
soname_spec='${libname}${release}${shared_ext}$major'
13958
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13959
shlibpath_var=LD_LIBRARY_PATH
13960
shlibpath_overrides_runpath=no
13961
hardcode_into_libs=yes
13964
irix5* | irix6* | nonstopux*)
13966
nonstopux*) version_type=nonstopux ;;
13968
if test "$lt_cv_prog_gnu_ld" = yes; then
13976
soname_spec='${libname}${release}${shared_ext}$major'
13977
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13979
irix5* | nonstopux*)
13980
libsuff= shlibsuff=
13983
case $LD in # libtool.m4 will add one of these switches to LD
13984
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13985
libsuff= shlibsuff= libmagic=32-bit;;
13986
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13987
libsuff=32 shlibsuff=N32 libmagic=N32;;
13988
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13989
libsuff=64 shlibsuff=64 libmagic=64-bit;;
13990
*) libsuff= shlibsuff= libmagic=never-match;;
13994
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13995
shlibpath_overrides_runpath=no
13996
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13997
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13998
hardcode_into_libs=yes
14001
# No shared lib support for Linux oldld, aout, or coff.
14002
linux*oldld* | linux*aout* | linux*coff*)
14006
# This must be Linux ELF.
14007
linux* | k*bsd*-gnu | kopensolaris*-gnu)
14011
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14012
soname_spec='${libname}${release}${shared_ext}$major'
14013
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14014
shlibpath_var=LD_LIBRARY_PATH
14015
shlibpath_overrides_runpath=no
14016
# Some binutils ld are patched to set DT_RUNPATH
14017
save_LDFLAGS=$LDFLAGS
14018
save_libdir=$libdir
14019
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14020
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14021
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14022
/* end confdefs.h. */
14032
if ac_fn_cxx_try_link "$LINENO"; then :
14033
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14034
shlibpath_overrides_runpath=yes
14037
rm -f core conftest.err conftest.$ac_objext \
14038
conftest$ac_exeext conftest.$ac_ext
14039
LDFLAGS=$save_LDFLAGS
14040
libdir=$save_libdir
14042
# This implies no fast_install, which is unacceptable.
14043
# Some rework will be needed to allow for fast_install
14044
# before this can be enabled.
14045
hardcode_into_libs=yes
14047
# Append ld.so.conf contents to the search path
14048
if test -f /etc/ld.so.conf; then
14049
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' ' '`
14050
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14053
# We used to test for /lib/ld.so.1 and disable shared libraries on
14054
# powerpc, because MkLinux only supported shared libraries with the
14055
# GNU dynamic linker. Since this was broken with cross compilers,
14056
# most powerpc-linux boxes support dynamic linking these days and
14057
# people can always --disable-shared, the test was removed, and we
14058
# assume the GNU/Linux dynamic linker is in use.
14059
dynamic_linker='GNU/Linux ld.so'
14066
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14067
soname_spec='${libname}${release}${shared_ext}$major'
14068
shlibpath_var=LD_LIBRARY_PATH
14069
shlibpath_overrides_runpath=no
14070
hardcode_into_libs=yes
14071
dynamic_linker='NetBSD ld.elf_so'
14078
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14079
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14080
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14081
dynamic_linker='NetBSD (a.out) ld.so'
14083
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14084
soname_spec='${libname}${release}${shared_ext}$major'
14085
dynamic_linker='NetBSD ld.elf_so'
14087
shlibpath_var=LD_LIBRARY_PATH
14088
shlibpath_overrides_runpath=yes
14089
hardcode_into_libs=yes
14094
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14095
shlibpath_var=LD_LIBRARY_PATH
14096
shlibpath_overrides_runpath=yes
14103
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14104
soname_spec='${libname}${release}${shared_ext}$major'
14105
shlibpath_var=LD_LIBRARY_PATH
14106
shlibpath_overrides_runpath=no
14107
hardcode_into_libs=yes
14108
dynamic_linker='ldqnx.so'
14113
sys_lib_dlsearch_path_spec="/usr/lib"
14115
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14117
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14118
*) need_version=no ;;
14120
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14121
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14122
shlibpath_var=LD_LIBRARY_PATH
14123
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14125
openbsd2.[89] | openbsd2.[89].*)
14126
shlibpath_overrides_runpath=no
14129
shlibpath_overrides_runpath=yes
14133
shlibpath_overrides_runpath=yes
14138
libname_spec='$name'
14141
library_names_spec='$libname${shared_ext} $libname.a'
14142
dynamic_linker='OS/2 ld.exe'
14143
shlibpath_var=LIBPATH
14146
osf3* | osf4* | osf5*)
14150
soname_spec='${libname}${release}${shared_ext}$major'
14151
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14152
shlibpath_var=LD_LIBRARY_PATH
14153
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14154
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14165
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14166
soname_spec='${libname}${release}${shared_ext}$major'
14167
shlibpath_var=LD_LIBRARY_PATH
14168
shlibpath_overrides_runpath=yes
14169
hardcode_into_libs=yes
14170
# ldd complains unless libraries are executable
14171
postinstall_cmds='chmod +x $lib'
14176
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14177
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14178
shlibpath_var=LD_LIBRARY_PATH
14179
shlibpath_overrides_runpath=yes
14180
if test "$with_gnu_ld" = yes; then
14188
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14189
soname_spec='${libname}${release}${shared_ext}$major'
14190
shlibpath_var=LD_LIBRARY_PATH
14191
case $host_vendor in
14193
shlibpath_overrides_runpath=no
14195
runpath_var=LD_RUN_PATH
14203
shlibpath_overrides_runpath=no
14204
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14210
if test -d /usr/nec ;then
14212
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14213
soname_spec='$libname${shared_ext}.$major'
14214
shlibpath_var=LD_LIBRARY_PATH
14218
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14219
version_type=freebsd-elf
14222
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14223
soname_spec='${libname}${release}${shared_ext}$major'
14224
shlibpath_var=LD_LIBRARY_PATH
14225
shlibpath_overrides_runpath=yes
14226
hardcode_into_libs=yes
14227
if test "$with_gnu_ld" = yes; then
14228
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14230
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14233
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14237
sys_lib_dlsearch_path_spec='/usr/lib'
14241
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14245
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14246
shlibpath_var=LD_LIBRARY_PATH
14247
shlibpath_overrides_runpath=no
14248
hardcode_into_libs=yes
14253
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14254
soname_spec='${libname}${release}${shared_ext}$major'
14255
shlibpath_var=LD_LIBRARY_PATH
14262
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14263
$as_echo "$dynamic_linker" >&6; }
14264
test "$dynamic_linker" = no && can_build_shared=no
14266
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14267
if test "$GCC" = yes; then
14268
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14271
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14272
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14274
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14275
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14314
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14315
hardcode_action_CXX=
14316
if test -n "$hardcode_libdir_flag_spec_CXX" ||
14317
test -n "$runpath_var_CXX" ||
14318
test "X$hardcode_automatic_CXX" = "Xyes" ; then
14320
# We can hardcode non-existent directories.
14321
if test "$hardcode_direct_CXX" != no &&
14322
# If the only mechanism to avoid hardcoding is shlibpath_var, we
14323
# have to relink, otherwise we might link with an installed library
14324
# when we should be linking with a yet-to-be-installed one
14325
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14326
test "$hardcode_minus_L_CXX" != no; then
14327
# Linking always hardcodes the temporary library directory.
14328
hardcode_action_CXX=relink
14330
# We can link without hardcoding, and we can hardcode nonexisting dirs.
14331
hardcode_action_CXX=immediate
14334
# We cannot hardcode anything, or else we can only hardcode existing
14336
hardcode_action_CXX=unsupported
14338
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14339
$as_echo "$hardcode_action_CXX" >&6; }
14341
if test "$hardcode_action_CXX" = relink ||
14342
test "$inherit_rpath_CXX" = yes; then
14343
# Fast installation is not supported
14344
enable_fast_install=no
14345
elif test "$shlibpath_overrides_runpath" = yes ||
14346
test "$enable_shared" = no; then
14347
# Fast installation is not necessary
14348
enable_fast_install=needless
14357
fi # test -n "$compiler"
14363
with_gnu_ld=$lt_save_with_gnu_ld
14364
lt_cv_path_LDCXX=$lt_cv_path_LD
14365
lt_cv_path_LD=$lt_save_path_LD
14366
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14367
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14368
fi # test "$_lt_caught_CXX_error" != yes
14371
ac_cpp='$CPP $CPPFLAGS'
14372
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14373
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14374
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14388
ac_config_commands="$ac_config_commands libtool"
14393
# Only expand once:
14397
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
14398
$as_echo_n "checking whether ln -s works... " >&6; }
14400
if test "$LN_S" = "ln -s"; then
14401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14402
$as_echo "yes" >&6; }
14404
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
14405
$as_echo "no, using $LN_S" >&6; }
14408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
14409
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
14411
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
14412
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
14413
$as_echo_n "(cached) " >&6
14415
cat >conftest.make <<\_ACEOF
14418
@echo '@@@%%%=$(MAKE)=@@@%%%'
14420
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
14421
case `${MAKE-make} -f conftest.make 2>/dev/null` in
14422
*@@@%%%=?*=@@@%%%*)
14423
eval ac_cv_prog_make_${ac_make}_set=yes;;
14425
eval ac_cv_prog_make_${ac_make}_set=no;;
14427
rm -f conftest.make
14429
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
14430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14431
$as_echo "yes" >&6; }
14434
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14435
$as_echo "no" >&6; }
14436
SET_MAKE="MAKE=${MAKE-make}"
14439
# Extract the first word of "sed", so it can be a program name with args.
14440
set dummy sed; ac_word=$2
14441
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14442
$as_echo_n "checking for $ac_word... " >&6; }
14443
if test "${ac_cv_prog_SED+set}" = set; then :
14444
$as_echo_n "(cached) " >&6
14446
if test -n "$SED"; then
14447
ac_cv_prog_SED="$SED" # Let the user override the test.
14449
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14450
for as_dir in $PATH
14453
test -z "$as_dir" && as_dir=.
14454
for ac_exec_ext in '' $ac_executable_extensions; do
14455
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14456
ac_cv_prog_SED="$(which sed)"
14457
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14466
SED=$ac_cv_prog_SED
14467
if test -n "$SED"; then
14468
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
14469
$as_echo "$SED" >&6; }
14471
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14472
$as_echo "no" >&6; }
14477
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14478
$as_echo_n "checking for dlopen in -ldl... " >&6; }
14479
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
14480
$as_echo_n "(cached) " >&6
14482
ac_check_lib_save_LIBS=$LIBS
14484
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14485
/* end confdefs.h. */
14487
/* Override any GCC internal prototype to avoid an error.
14488
Use char because int might match the return type of a GCC
14489
builtin and then its argument prototype would still apply. */
14502
if ac_fn_c_try_link "$LINENO"; then :
14503
ac_cv_lib_dl_dlopen=yes
14505
ac_cv_lib_dl_dlopen=no
14507
rm -f core conftest.err conftest.$ac_objext \
14508
conftest$ac_exeext conftest.$ac_ext
14509
LIBS=$ac_check_lib_save_LIBS
14511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14512
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14513
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
14514
cat >>confdefs.h <<_ACEOF
14515
@%:@define HAVE_LIBDL 1
14522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sem_init in -lrt" >&5
14523
$as_echo_n "checking for sem_init in -lrt... " >&6; }
14524
if test "${ac_cv_lib_rt_sem_init+set}" = set; then :
14525
$as_echo_n "(cached) " >&6
14527
ac_check_lib_save_LIBS=$LIBS
14529
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14530
/* end confdefs.h. */
14532
/* Override any GCC internal prototype to avoid an error.
14533
Use char because int might match the return type of a GCC
14534
builtin and then its argument prototype would still apply. */
14542
return sem_init ();
14547
if ac_fn_c_try_link "$LINENO"; then :
14548
ac_cv_lib_rt_sem_init=yes
14550
ac_cv_lib_rt_sem_init=no
14552
rm -f core conftest.err conftest.$ac_objext \
14553
conftest$ac_exeext conftest.$ac_ext
14554
LIBS=$ac_check_lib_save_LIBS
14556
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sem_init" >&5
14557
$as_echo "$ac_cv_lib_rt_sem_init" >&6; }
14558
if test "x$ac_cv_lib_rt_sem_init" = x""yes; then :
14559
cat >>confdefs.h <<_ACEOF
14560
@%:@define HAVE_LIBRT 1
14568
if test "x$GCC" = "xyes"
14570
CFLAGS="-funsigned-char $CFLAGS"
14572
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14573
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14574
if test "${ac_cv_c_const+set}" = set; then :
14575
$as_echo_n "(cached) " >&6
14577
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14578
/* end confdefs.h. */
14583
/* FIXME: Include the comments suggested by Paul. */
14584
#ifndef __cplusplus
14585
/* Ultrix mips cc rejects this. */
14586
typedef int charset[2];
14588
/* SunOS 4.1.1 cc rejects this. */
14589
char const *const *pcpcc;
14591
/* NEC SVR4.0.2 mips cc rejects this. */
14592
struct point {int x, y;};
14593
static struct point const zero = {0,0};
14594
/* AIX XL C 1.02.0.0 rejects this.
14595
It does not let you subtract one const X* pointer from another in
14596
an arm of an if-expression whose if-part is not a constant
14598
const char *g = "string";
14599
pcpcc = &g + (g ? g-g : 0);
14600
/* HPUX 7.0 cc rejects these. */
14602
ppc = (char**) pcpcc;
14603
pcpcc = (char const *const *) ppc;
14604
{ /* SCO 3.2v4 cc rejects this. */
14606
char const *s = 0 ? (char *) 0 : (char const *) 0;
14611
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14612
int x[] = {25, 17};
14613
const int *foo = &x[0];
14616
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14617
typedef const int *iptr;
14621
{ /* AIX XL C 1.02.0.0 rejects this saying
14622
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14623
struct s { int j; const int *ap[3]; };
14624
struct s *b; b->j = 5;
14626
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14627
const int foo = 10;
14628
if (!foo) return 0;
14630
return !cs[0] && !zero.x;
14637
if ac_fn_c_try_compile "$LINENO"; then :
14642
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
14645
$as_echo "$ac_cv_c_const" >&6; }
14646
if test $ac_cv_c_const = no; then
14648
$as_echo "@%:@define const /**/" >>confdefs.h
14652
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14653
if test "x$ac_cv_type_size_t" = x""yes; then :
14657
cat >>confdefs.h <<_ACEOF
14658
@%:@define size_t unsigned int
14663
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
14664
$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
14665
if test "${ac_cv_struct_tm+set}" = set; then :
14666
$as_echo_n "(cached) " >&6
14668
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14669
/* end confdefs.h. */
14670
#include <sys/types.h>
14677
int *p = &tm.tm_sec;
14683
if ac_fn_c_try_compile "$LINENO"; then :
14684
ac_cv_struct_tm=time.h
14686
ac_cv_struct_tm=sys/time.h
14688
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
14691
$as_echo "$ac_cv_struct_tm" >&6; }
14692
if test $ac_cv_struct_tm = sys/time.h; then
14694
$as_echo "@%:@define TM_IN_SYS_TIME 1" >>confdefs.h
14699
for ac_header in net/errno.h sys/errno.h errno.h
14701
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14702
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14703
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14704
cat >>confdefs.h <<_ACEOF
14705
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14712
for ac_header in sys/fcntl.h fcntl.h
14714
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14715
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14716
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14717
cat >>confdefs.h <<_ACEOF
14718
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14725
for ac_header in sys/stat.h stat.h
14727
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14728
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14729
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14730
cat >>confdefs.h <<_ACEOF
14731
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14738
for ac_header in sys/time.h time.h
14740
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14741
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14742
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14743
cat >>confdefs.h <<_ACEOF
14744
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14751
for ac_header in sys/types.h types.h
14753
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14754
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14755
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14756
cat >>confdefs.h <<_ACEOF
14757
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14764
for ac_header in sys/unistd.h unistd.h
14766
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14767
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14768
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14769
cat >>confdefs.h <<_ACEOF
14770
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14777
for ac_header in ctype.h
14779
ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
14780
if test "x$ac_cv_header_ctype_h" = x""yes; then :
14781
cat >>confdefs.h <<_ACEOF
14782
@%:@define HAVE_CTYPE_H 1
14789
for ac_header in wchar.h
14791
ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
14792
if test "x$ac_cv_header_wchar_h" = x""yes; then :
14793
cat >>confdefs.h <<_ACEOF
14794
@%:@define HAVE_WCHAR_H 1
14801
for ac_header in wctype.h
14803
ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
14804
if test "x$ac_cv_header_wctype_h" = x""yes; then :
14805
cat >>confdefs.h <<_ACEOF
14806
@%:@define HAVE_WCTYPE_H 1
14813
for ac_header in iconv.h
14815
ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
14816
if test "x$ac_cv_header_iconv_h" = x""yes; then :
14817
cat >>confdefs.h <<_ACEOF
14818
@%:@define HAVE_ICONV_H 1
14825
for ac_header in semaphore.h
14827
ac_fn_c_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
14828
if test "x$ac_cv_header_semaphore_h" = x""yes; then :
14829
cat >>confdefs.h <<_ACEOF
14830
@%:@define HAVE_SEMAPHORE_H 1
14837
for ac_header in malloc.h
14839
ac_fn_c_check_header_mongrel "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "$ac_includes_default"
14840
if test "x$ac_cv_header_malloc_h" = x""yes; then :
14841
cat >>confdefs.h <<_ACEOF
14842
@%:@define HAVE_MALLOC_H 1
14849
for ac_header in memory.h
14851
ac_fn_c_check_header_mongrel "$LINENO" "memory.h" "ac_cv_header_memory_h" "$ac_includes_default"
14852
if test "x$ac_cv_header_memory_h" = x""yes; then :
14853
cat >>confdefs.h <<_ACEOF
14854
@%:@define HAVE_MEMORY_H 1
14861
for ac_header in stdio.h
14863
ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
14864
if test "x$ac_cv_header_stdio_h" = x""yes; then :
14865
cat >>confdefs.h <<_ACEOF
14866
@%:@define HAVE_STDIO_H 1
14873
for ac_header in stdlib.h
14875
ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
14876
if test "x$ac_cv_header_stdlib_h" = x""yes; then :
14877
cat >>confdefs.h <<_ACEOF
14878
@%:@define HAVE_STDLIB_H 1
14885
for ac_header in string.h strings.h
14887
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14888
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14889
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14890
cat >>confdefs.h <<_ACEOF
14891
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14898
for ac_header in libc.h
14900
ac_fn_c_check_header_mongrel "$LINENO" "libc.h" "ac_cv_header_libc_h" "$ac_includes_default"
14901
if test "x$ac_cv_header_libc_h" = x""yes; then :
14902
cat >>confdefs.h <<_ACEOF
14903
@%:@define HAVE_LIBC_H 1
14910
for ac_header in dlfcn.h
14912
ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
14913
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
14914
cat >>confdefs.h <<_ACEOF
14915
@%:@define HAVE_DLFCN_H 1
14922
ac_header_dirent=no
14923
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
14924
as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
14925
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
14926
$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
14927
if eval "test \"\${$as_ac_Header+set}\"" = set; then :
14928
$as_echo_n "(cached) " >&6
14930
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14931
/* end confdefs.h. */
14932
#include <sys/types.h>
14944
if ac_fn_c_try_compile "$LINENO"; then :
14945
eval "$as_ac_Header=yes"
14947
eval "$as_ac_Header=no"
14949
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14951
eval ac_res=\$$as_ac_Header
14952
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14953
$as_echo "$ac_res" >&6; }
14954
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14955
cat >>confdefs.h <<_ACEOF
14956
@%:@define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
14959
ac_header_dirent=$ac_hdr; break
14963
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
14964
if test $ac_header_dirent = dirent.h; then
14965
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
14966
$as_echo_n "checking for library containing opendir... " >&6; }
14967
if test "${ac_cv_search_opendir+set}" = set; then :
14968
$as_echo_n "(cached) " >&6
14970
ac_func_search_save_LIBS=$LIBS
14971
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14972
/* end confdefs.h. */
14974
/* Override any GCC internal prototype to avoid an error.
14975
Use char because int might match the return type of a GCC
14976
builtin and then its argument prototype would still apply. */
14989
for ac_lib in '' dir; do
14990
if test -z "$ac_lib"; then
14991
ac_res="none required"
14994
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14996
if ac_fn_c_try_link "$LINENO"; then :
14997
ac_cv_search_opendir=$ac_res
14999
rm -f core conftest.err conftest.$ac_objext \
15001
if test "${ac_cv_search_opendir+set}" = set; then :
15005
if test "${ac_cv_search_opendir+set}" = set; then :
15008
ac_cv_search_opendir=no
15010
rm conftest.$ac_ext
15011
LIBS=$ac_func_search_save_LIBS
15013
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15014
$as_echo "$ac_cv_search_opendir" >&6; }
15015
ac_res=$ac_cv_search_opendir
15016
if test "$ac_res" != no; then :
15017
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15022
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
15023
$as_echo_n "checking for library containing opendir... " >&6; }
15024
if test "${ac_cv_search_opendir+set}" = set; then :
15025
$as_echo_n "(cached) " >&6
15027
ac_func_search_save_LIBS=$LIBS
15028
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15029
/* end confdefs.h. */
15031
/* Override any GCC internal prototype to avoid an error.
15032
Use char because int might match the return type of a GCC
15033
builtin and then its argument prototype would still apply. */
15046
for ac_lib in '' x; do
15047
if test -z "$ac_lib"; then
15048
ac_res="none required"
15051
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15053
if ac_fn_c_try_link "$LINENO"; then :
15054
ac_cv_search_opendir=$ac_res
15056
rm -f core conftest.err conftest.$ac_objext \
15058
if test "${ac_cv_search_opendir+set}" = set; then :
15062
if test "${ac_cv_search_opendir+set}" = set; then :
15065
ac_cv_search_opendir=no
15067
rm conftest.$ac_ext
15068
LIBS=$ac_func_search_save_LIBS
15070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
15071
$as_echo "$ac_cv_search_opendir" >&6; }
15072
ac_res=$ac_cv_search_opendir
15073
if test "$ac_res" != no; then :
15074
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15080
for ac_header in dir.h direct.h
15082
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15083
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15084
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15085
cat >>confdefs.h <<_ACEOF
15086
@%:@define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15093
$as_echo_n "checking for ANSI C header files... " >&6; }
15094
if test "${ac_cv_header_stdc+set}" = set; then :
15095
$as_echo_n "(cached) " >&6
15097
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15098
/* end confdefs.h. */
15099
#include <stdlib.h>
15100
#include <stdarg.h>
15101
#include <string.h>
15112
if ac_fn_c_try_compile "$LINENO"; then :
15113
ac_cv_header_stdc=yes
15115
ac_cv_header_stdc=no
15117
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15119
if test $ac_cv_header_stdc = yes; then
15120
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15121
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15122
/* end confdefs.h. */
15123
#include <string.h>
15126
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15127
$EGREP "memchr" >/dev/null 2>&1; then :
15130
ac_cv_header_stdc=no
15136
if test $ac_cv_header_stdc = yes; then
15137
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15138
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15139
/* end confdefs.h. */
15140
#include <stdlib.h>
15143
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15144
$EGREP "free" >/dev/null 2>&1; then :
15147
ac_cv_header_stdc=no
15153
if test $ac_cv_header_stdc = yes; then
15154
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15155
if test "$cross_compiling" = yes; then :
15158
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15159
/* end confdefs.h. */
15161
#include <stdlib.h>
15162
#if ((' ' & 0x0FF) == 0x020)
15163
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15164
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15166
# define ISLOWER(c) \
15167
(('a' <= (c) && (c) <= 'i') \
15168
|| ('j' <= (c) && (c) <= 'r') \
15169
|| ('s' <= (c) && (c) <= 'z'))
15170
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15173
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15178
for (i = 0; i < 256; i++)
15179
if (XOR (islower (i), ISLOWER (i))
15180
|| toupper (i) != TOUPPER (i))
15185
if ac_fn_c_try_run "$LINENO"; then :
15188
ac_cv_header_stdc=no
15190
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15191
conftest.$ac_objext conftest.beam conftest.$ac_ext
15196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15197
$as_echo "$ac_cv_header_stdc" >&6; }
15198
if test $ac_cv_header_stdc = yes; then
15200
$as_echo "@%:@define STDC_HEADERS 1" >>confdefs.h
15204
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
15205
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
15206
if test "${ac_cv_header_time+set}" = set; then :
15207
$as_echo_n "(cached) " >&6
15209
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15210
/* end confdefs.h. */
15211
#include <sys/types.h>
15212
#include <sys/time.h>
15218
if ((struct tm *) 0)
15224
if ac_fn_c_try_compile "$LINENO"; then :
15225
ac_cv_header_time=yes
15227
ac_cv_header_time=no
15229
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15231
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
15232
$as_echo "$ac_cv_header_time" >&6; }
15233
if test $ac_cv_header_time = yes; then
15235
$as_echo "@%:@define TIME_WITH_SYS_TIME 1" >>confdefs.h
15239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
15240
$as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
15241
if test "${ac_cv_header_stat_broken+set}" = set; then :
15242
$as_echo_n "(cached) " >&6
15244
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15245
/* end confdefs.h. */
15246
#include <sys/types.h>
15247
#include <sys/stat.h>
15249
#if defined S_ISBLK && defined S_IFDIR
15250
extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
15253
#if defined S_ISBLK && defined S_IFCHR
15254
extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
15257
#if defined S_ISLNK && defined S_IFREG
15258
extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
15261
#if defined S_ISSOCK && defined S_IFREG
15262
extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
15266
if ac_fn_c_try_compile "$LINENO"; then :
15267
ac_cv_header_stat_broken=no
15269
ac_cv_header_stat_broken=yes
15271
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15273
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
15274
$as_echo "$ac_cv_header_stat_broken" >&6; }
15275
if test $ac_cv_header_stat_broken = yes; then
15277
$as_echo "@%:@define STAT_MACROS_BROKEN 1" >>confdefs.h
15282
for ac_func in vprintf
15284
ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
15285
if test "x$ac_cv_func_vprintf" = x""yes; then :
15286
cat >>confdefs.h <<_ACEOF
15287
@%:@define HAVE_VPRINTF 1
15290
ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
15291
if test "x$ac_cv_func__doprnt" = x""yes; then :
15293
$as_echo "@%:@define HAVE_DOPRNT 1" >>confdefs.h
15301
for ac_func in getcwd strcspn strdup strerror strstr strchr strrchr index rindex memcpy memcmp
15303
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15304
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15305
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15306
cat >>confdefs.h <<_ACEOF
15307
@%:@define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15313
for ac_func in vsnprintf
15315
ac_fn_c_check_func "$LINENO" "vsnprintf" "ac_cv_func_vsnprintf"
15316
if test "x$ac_cv_func_vsnprintf" = x""yes; then :
15317
cat >>confdefs.h <<_ACEOF
15318
@%:@define HAVE_VSNPRINTF 1
15324
for ac_func in dlerror
15326
ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
15327
if test "x$ac_cv_func_dlerror" = x""yes; then :
15328
cat >>confdefs.h <<_ACEOF
15329
@%:@define HAVE_DLERROR 1
15337
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install HTML documents" >&5
15338
$as_echo_n "checking where to install HTML documents... " >&6; }
15339
if test "${ac_cv_htmldir+set}" = set; then :
15340
$as_echo_n "(cached) " >&6
15342
ac_cv_htmldir='$(datadir)/doc'
15344
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_htmldir" >&5
15345
$as_echo "$ac_cv_htmldir" >&6; }
15346
htmldir=$ac_cv_htmldir
15347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install SGML documents" >&5
15348
$as_echo_n "checking where to install SGML documents... " >&6; }
15349
if test "${ac_cv_sgmldir+set}" = set; then :
15350
$as_echo_n "(cached) " >&6
15352
ac_cv_sgmldir='$(datadir)/doc'
15354
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sgmldir" >&5
15355
$as_echo "$ac_cv_sgmldir" >&6; }
15356
sgmldir=$ac_cv_sgmldir
15357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install examples" >&5
15358
$as_echo_n "checking where to install examples... " >&6; }
15359
if test "${ac_cv_sampledir+set}" = set; then :
15360
$as_echo_n "(cached) " >&6
15362
ac_cv_sampledir='$(datadir)/examples'
15364
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sampledir" >&5
15365
$as_echo "$ac_cv_sampledir" >&6; }
15366
sampledir=$ac_cv_sampledir
15372
ac_config_files="$ac_config_files Makefile gen/Makefile genxml/Makefile libbase/Makefile libstyx/Makefile libutil/Makefile libxml/Makefile modstd/Makefile modext/Makefile pgm/Makefile pgmxml/Makefile inc/Makefile incxml/Makefile doc/Makefile examples/Makefile examples/example01/Makefile examples/example01/mx examples/example02/Makefile examples/example02/mx examples/example03/Makefile examples/example03/mx examples/example04/Makefile examples/example04/mx examples/example05/Makefile examples/example05/mx examples/example06/Makefile examples/example06/mx examples/example07/Makefile examples/example07/mx spe/Makefile spe/xsty.in spexml/Makefile spexml/xxml.in pat/Makefile libspe/Makefile"
15374
cat >confcache <<\_ACEOF
15375
# This file is a shell script that caches the results of configure
15376
# tests run on this system so they can be shared between configure
15377
# scripts and configure runs, see configure's option --config-cache.
15378
# It is not useful on other systems. If it contains results you don't
15379
# want to keep, you may remove or edit it.
15381
# config.status only pays attention to the cache file if you give it
15382
# the --recheck option to rerun configure.
15384
# `ac_cv_env_foo' variables (set or unset) will be overridden when
15385
# loading this file, other *unset* `ac_cv_foo' will be assigned the
15386
# following values.
15390
# The following way of writing the cache mishandles newlines in values,
15391
# but we know of no workaround that is simple, portable, and efficient.
15392
# So, we kill variables containing newlines.
15393
# Ultrix sh set writes to stderr and can't be redirected directly,
15394
# and sets the high bit in the cache file unless we assign to the vars.
15396
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15397
eval ac_val=\$$ac_var
15401
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15402
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15405
_ | IFS | as_nl) ;; #(
15406
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15407
*) { eval $ac_var=; unset $ac_var;} ;;
15413
case $as_nl`(ac_space=' '; set) 2>&1` in #(
15414
*${as_nl}ac_space=\ *)
15415
# `set' does not quote correctly, so add quotes: double-quote
15416
# substitution turns \\\\ into \\, and sed turns \\ into \.
15419
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15422
# `set' quotes correctly as required by POSIX, so do not add quotes.
15423
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15432
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15434
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15436
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15437
if test -w "$cache_file"; then
15438
test "x$cache_file" != "x/dev/null" &&
15439
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15440
$as_echo "$as_me: updating cache $cache_file" >&6;}
15441
cat confcache >$cache_file
15443
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15444
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15449
test "x$prefix" = xNONE && prefix=$ac_default_prefix
15450
# Let make expand exec_prefix.
15451
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15453
DEFS=-DHAVE_CONFIG_H
15458
for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
15459
# 1. Remove the extension, and $U if already installed.
15460
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15461
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15462
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15463
# will be set to the directory where LIBOBJS objects are built.
15464
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15465
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15467
LIB@&t@OBJS=$ac_libobjs
15469
LTLIBOBJS=$ac_ltlibobjs
15472
if test -n "$EXEEXT"; then
15474
am__EXEEXT_FALSE='#'
15476
am__EXEEXT_TRUE='#'
15480
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15481
as_fn_error $? "conditional \"AMDEP\" was never defined.
15482
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15484
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15485
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15486
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15488
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15489
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15490
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15492
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15493
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15494
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15497
: ${CONFIG_STATUS=./config.status}
15499
ac_clean_files_save=$ac_clean_files
15500
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15501
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15502
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15504
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15506
# Generated by $as_me.
15507
# Run this file to recreate the current configuration.
15508
# Compiler output produced by configure, useful for debugging
15509
# configure, is in config.log if it exists.
15512
ac_cs_recheck=false
15515
SHELL=\${CONFIG_SHELL-$SHELL}
15518
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15519
## -------------------- ##
15520
## M4sh Initialization. ##
15521
## -------------------- ##
15523
# Be more Bourne compatible
15524
DUALCASE=1; export DUALCASE # for MKS sh
15525
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15528
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15529
# is contrary to our usage. Disable this feature.
15530
alias -g '${1+"$@"}'='"$@"'
15531
setopt NO_GLOB_SUBST
15533
case `(set -o) 2>/dev/null` in @%:@(
15535
set -o posix ;; @%:@(
15545
# Printing a long string crashes Solaris 7 /usr/bin/printf.
15546
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15547
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15548
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15549
# Prefer a ksh shell builtin over an external printf program on Solaris,
15550
# but without wasting forks for bash or zsh.
15551
if test -z "$BASH_VERSION$ZSH_VERSION" \
15552
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15553
as_echo='print -r --'
15554
as_echo_n='print -rn --'
15555
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15556
as_echo='printf %s\n'
15557
as_echo_n='printf %s'
15559
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15560
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15561
as_echo_n='/usr/ucb/echo -n'
15563
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15564
as_echo_n_body='eval
15568
expr "X$arg" : "X\\(.*\\)$as_nl";
15569
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15571
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15573
export as_echo_n_body
15574
as_echo_n='sh -c $as_echo_n_body as_echo'
15576
export as_echo_body
15577
as_echo='sh -c $as_echo_body as_echo'
15580
# The user is always right.
15581
if test "${PATH_SEPARATOR+set}" != set; then
15583
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15584
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15591
# We need space, tab and new line, in precisely that order. Quoting is
15592
# there to prevent editors from complaining about space-tab.
15593
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15594
# splitting by setting IFS to empty value.)
15597
# Find who we are. Look in the path if we contain no directory separator.
15599
*[\\/]* ) as_myself=$0 ;;
15600
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15601
for as_dir in $PATH
15604
test -z "$as_dir" && as_dir=.
15605
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15611
# We did not find ourselves, most probably we were run as `sh COMMAND'
15612
# in which case we are not to be found in the path.
15613
if test "x$as_myself" = x; then
15616
if test ! -f "$as_myself"; then
15617
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15621
# Unset variables that we do not need and which cause bugs (e.g. in
15622
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15623
# suppresses any "Segmentation fault" message there. '((' could
15624
# trigger a bug in pdksh 5.2.14.
15625
for as_var in BASH_ENV ENV MAIL MAILPATH
15626
do eval test x\${$as_var+set} = xset \
15627
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15640
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15643
@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
15644
@%:@ ----------------------------------------
15645
@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15646
@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15647
@%:@ script with STATUS, using 1 if that was 0.
15650
as_status=$1; test $as_status -eq 0 && as_status=1
15652
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15653
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15655
$as_echo "$as_me: error: $2" >&2
15656
as_fn_exit $as_status
15660
@%:@ as_fn_set_status STATUS
15661
@%:@ -----------------------
15662
@%:@ Set @S|@? to STATUS, without forking.
15663
as_fn_set_status ()
15666
} @%:@ as_fn_set_status
15668
@%:@ as_fn_exit STATUS
15669
@%:@ -----------------
15670
@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15674
as_fn_set_status $1
15678
@%:@ as_fn_unset VAR
15679
@%:@ ---------------
15680
@%:@ Portably unset VAR.
15683
{ eval $1=; unset $1;}
15685
as_unset=as_fn_unset
15686
@%:@ as_fn_append VAR VALUE
15687
@%:@ ----------------------
15688
@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
15689
@%:@ advantage of any shell optimizations that allow amortized linear growth over
15690
@%:@ repeated appends, instead of the typical quadratic growth present in naive
15691
@%:@ implementations.
15692
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15693
eval 'as_fn_append ()
15704
@%:@ as_fn_arith ARG...
15705
@%:@ ------------------
15706
@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
15707
@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
15708
@%:@ must be portable across @S|@(()) and expr.
15709
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15710
eval 'as_fn_arith ()
15717
as_val=`expr "$@" || test $? -eq 1`
15722
if expr a : '\(a\)' >/dev/null 2>&1 &&
15723
test "X`expr 00001 : '.*\(...\)'`" = X001; then
15729
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15730
as_basename=basename
15735
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15741
as_me=`$as_basename -- "$0" ||
15742
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15743
X"$0" : 'X\(//\)$' \| \
15744
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15746
sed '/^.*\/\([^/][^/]*\)\/*$/{
15760
# Avoid depending upon Character Ranges.
15761
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15762
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15763
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15764
as_cr_digits='0123456789'
15765
as_cr_alnum=$as_cr_Letters$as_cr_digits
15767
ECHO_C= ECHO_N= ECHO_T=
15768
case `echo -n x` in @%:@(((((
15770
case `echo 'xy\c'` in
15771
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
15773
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15780
rm -f conf$$ conf$$.exe conf$$.file
15781
if test -d conf$$.dir; then
15782
rm -f conf$$.dir/conf$$.file
15785
mkdir conf$$.dir 2>/dev/null
15787
if (echo >conf$$.file) 2>/dev/null; then
15788
if ln -s conf$$.file conf$$ 2>/dev/null; then
15790
# ... but there are two gotchas:
15791
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15792
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15793
# In both cases, we have to default to `cp -p'.
15794
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15796
elif ln conf$$.file conf$$ 2>/dev/null; then
15804
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15805
rmdir conf$$.dir 2>/dev/null
15810
@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
15815
-*) as_dir=./$as_dir;;
15817
test -d "$as_dir" || eval $as_mkdir_p || {
15821
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15822
*) as_qdir=$as_dir;;
15824
as_dirs="'$as_qdir' $as_dirs"
15825
as_dir=`$as_dirname -- "$as_dir" ||
15826
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15827
X"$as_dir" : 'X\(//\)[^/]' \| \
15828
X"$as_dir" : 'X\(//\)$' \| \
15829
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15830
$as_echo X"$as_dir" |
15831
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15835
/^X\(\/\/\)[^/].*/{
15848
test -d "$as_dir" && break
15850
test -z "$as_dirs" || eval "mkdir $as_dirs"
15851
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15854
} @%:@ as_fn_mkdir_p
15855
if mkdir -p . 2>/dev/null; then
15856
as_mkdir_p='mkdir -p "$as_dir"'
15858
test -d ./-p && rmdir ./-p
15862
if test -x / >/dev/null 2>&1; then
15863
as_test_x='test -x'
15865
if ls -dL / >/dev/null 2>&1; then
15872
if test -d "$1"; then
15878
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
15879
???[sx]*):;;*)false;;esac;fi
15883
as_executable_p=$as_test_x
15885
# Sed expression to map a string onto a valid CPP name.
15886
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15888
# Sed expression to map a string onto a valid variable name.
15889
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15893
## ----------------------------------- ##
15894
## Main body of $CONFIG_STATUS script. ##
15895
## ----------------------------------- ##
15897
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15899
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15900
# Save the log message, to keep $0 and so on meaningful, and to
15901
# report actual input values of CONFIG_FILES etc. instead of their
15902
# values after options handling.
15904
This file was extended by $as_me, which was
15905
generated by GNU Autoconf 2.67. Invocation command line was
15907
CONFIG_FILES = $CONFIG_FILES
15908
CONFIG_HEADERS = $CONFIG_HEADERS
15909
CONFIG_LINKS = $CONFIG_LINKS
15910
CONFIG_COMMANDS = $CONFIG_COMMANDS
15913
on `(hostname || uname -n) 2>/dev/null | sed 1q`
15918
case $ac_config_files in *"
15919
"*) set x $ac_config_files; shift; ac_config_files=$*;;
15922
case $ac_config_headers in *"
15923
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15927
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15928
# Files that config.status was made for.
15929
config_files="$ac_config_files"
15930
config_headers="$ac_config_headers"
15931
config_commands="$ac_config_commands"
15935
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15937
\`$as_me' instantiates files and other configuration actions
15938
from templates according to the current configuration. Unless the files
15939
and actions are specified as TAGs, all are instantiated by default.
15941
Usage: $0 [OPTION]... [TAG]...
15943
-h, --help print this help, then exit
15944
-V, --version print version number and configuration settings, then exit
15945
--config print configuration, then exit
15946
-q, --quiet, --silent
15947
do not print progress messages
15948
-d, --debug don't remove temporary files
15949
--recheck update $as_me by reconfiguring in the same conditions
15950
--file=FILE[:TEMPLATE]
15951
instantiate the configuration file FILE
15952
--header=FILE[:TEMPLATE]
15953
instantiate the configuration header FILE
15955
Configuration files:
15958
Configuration headers:
15961
Configuration commands:
15964
Report bugs to the package provider."
15967
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15968
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15971
configured by $0, generated by GNU Autoconf 2.67,
15972
with options \\"\$ac_cs_config\\"
15974
Copyright (C) 2010 Free Software Foundation, Inc.
15975
This config.status script is free software; the Free Software Foundation
15976
gives unlimited permission to copy, distribute and modify it."
15983
test -n "\$AWK" || AWK=awk
15986
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15987
# The default lists apply if the user does not specify any file.
15993
ac_option=`expr "X$1" : 'X\([^=]*\)='`
15994
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15998
ac_option=`expr "X$1" : 'X\([^=]*\)='`
16010
# Handling of the options.
16011
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16013
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16014
$as_echo "$ac_cs_version"; exit ;;
16015
--config | --confi | --conf | --con | --co | --c )
16016
$as_echo "$ac_cs_config"; exit ;;
16017
--debug | --debu | --deb | --de | --d | -d )
16019
--file | --fil | --fi | --f )
16022
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16023
'') as_fn_error $? "missing file argument" ;;
16025
as_fn_append CONFIG_FILES " '$ac_optarg'"
16026
ac_need_defaults=false;;
16027
--header | --heade | --head | --hea )
16030
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16032
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16033
ac_need_defaults=false;;
16035
# Conflict between --help and --header
16036
as_fn_error $? "ambiguous option: \`$1'
16037
Try \`$0 --help' for more information.";;
16038
--help | --hel | -h )
16039
$as_echo "$ac_cs_usage"; exit ;;
16040
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
16041
| -silent | --silent | --silen | --sile | --sil | --si | --s)
16044
# This is an error.
16045
-*) as_fn_error $? "unrecognized option: \`$1'
16046
Try \`$0 --help' for more information." ;;
16048
*) as_fn_append ac_config_targets " $1"
16049
ac_need_defaults=false ;;
16055
ac_configure_extra_args=
16057
if $ac_cs_silent; then
16059
ac_configure_extra_args="$ac_configure_extra_args --silent"
16063
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16064
if \$ac_cs_recheck; then
16065
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16067
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16068
CONFIG_SHELL='$SHELL'
16069
export CONFIG_SHELL
16074
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16078
sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
16079
@%:@@%:@ Running $as_me. @%:@@%:@
16085
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16089
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16092
# The HP-UX ksh and POSIX shell print the target directory to stdout
16093
# if CDPATH is set.
16094
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16096
sed_quote_subst='$sed_quote_subst'
16097
double_quote_subst='$double_quote_subst'
16098
delay_variable_subst='$delay_variable_subst'
16099
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16100
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16101
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16102
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16103
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16104
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16105
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16106
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16107
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16108
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16109
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16110
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16111
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16112
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16113
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16114
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16115
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16116
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16117
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16118
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16119
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16120
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16121
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16122
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16123
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16124
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16125
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16126
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16127
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16128
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16129
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16130
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16131
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16132
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16133
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16134
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16135
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16136
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16137
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16138
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16139
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16140
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16141
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16142
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16143
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"`'
16144
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"`'
16145
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16146
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16147
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16148
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16149
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16150
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16151
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16152
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16153
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16154
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16155
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16156
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16157
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16158
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16159
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16160
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16161
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16162
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16163
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16164
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16165
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16166
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16167
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16168
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16169
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16170
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16171
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16172
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16173
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16174
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16175
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16176
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16177
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16178
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16179
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16180
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16181
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16182
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16183
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16184
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16185
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16186
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16187
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16188
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16189
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16190
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16191
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16192
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16193
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16194
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16195
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16196
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16197
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16198
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16199
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16200
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16201
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16202
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16203
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16204
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16205
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16206
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16207
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16208
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16209
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16210
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16211
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16212
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16213
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16214
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16215
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16216
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16217
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16218
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16219
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16220
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16221
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16222
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16223
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16224
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16225
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16226
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16227
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16228
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16229
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16230
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16231
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16232
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16233
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16234
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16235
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16236
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16237
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16238
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16239
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16240
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16241
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16242
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16243
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16244
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16245
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16246
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16247
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16248
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16249
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16250
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16251
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16252
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16253
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16254
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16255
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16256
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16257
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16258
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16259
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16260
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16261
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16262
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16263
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16264
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16265
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16266
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16267
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16268
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16269
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16272
LTCFLAGS='$LTCFLAGS'
16273
compiler='$compiler_DEFAULT'
16275
# Quote evaled strings.
16287
deplibs_check_method \
16296
lt_cv_sys_global_symbol_pipe \
16297
lt_cv_sys_global_symbol_to_cdecl \
16298
lt_cv_sys_global_symbol_to_c_name_address \
16299
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16302
lt_prog_compiler_no_builtin_flag \
16303
lt_prog_compiler_wl \
16304
lt_prog_compiler_pic \
16305
lt_prog_compiler_static \
16306
lt_cv_prog_compiler_c_o \
16314
export_dynamic_flag_spec \
16315
whole_archive_flag_spec \
16316
compiler_needs_object \
16318
allow_undefined_flag \
16319
no_undefined_flag \
16320
hardcode_libdir_flag_spec \
16321
hardcode_libdir_flag_spec_ld \
16322
hardcode_libdir_separator \
16327
variables_saved_for_relink \
16329
library_names_spec \
16334
compiler_lib_search_dirs \
16339
compiler_lib_search_path \
16342
lt_prog_compiler_no_builtin_flag_CXX \
16343
lt_prog_compiler_wl_CXX \
16344
lt_prog_compiler_pic_CXX \
16345
lt_prog_compiler_static_CXX \
16346
lt_cv_prog_compiler_c_o_CXX \
16347
export_dynamic_flag_spec_CXX \
16348
whole_archive_flag_spec_CXX \
16349
compiler_needs_object_CXX \
16351
allow_undefined_flag_CXX \
16352
no_undefined_flag_CXX \
16353
hardcode_libdir_flag_spec_CXX \
16354
hardcode_libdir_flag_spec_ld_CXX \
16355
hardcode_libdir_separator_CXX \
16356
fix_srcfile_path_CXX \
16357
exclude_expsyms_CXX \
16358
include_expsyms_CXX \
16359
file_list_spec_CXX \
16360
compiler_lib_search_dirs_CXX \
16361
predep_objects_CXX \
16362
postdep_objects_CXX \
16365
compiler_lib_search_path_CXX; do
16366
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16367
*[\\\\\\\`\\"\\\$]*)
16368
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16371
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16376
# Double-quote double-evaled strings.
16377
for var in reload_cmds \
16378
old_postinstall_cmds \
16379
old_postuninstall_cmds \
16381
extract_expsyms_cmds \
16382
old_archive_from_new_cmds \
16383
old_archive_from_expsyms_cmds \
16385
archive_expsym_cmds \
16387
module_expsym_cmds \
16388
export_symbols_cmds \
16391
postuninstall_cmds \
16393
sys_lib_search_path_spec \
16394
sys_lib_dlsearch_path_spec \
16395
old_archive_cmds_CXX \
16396
old_archive_from_new_cmds_CXX \
16397
old_archive_from_expsyms_cmds_CXX \
16399
archive_expsym_cmds_CXX \
16401
module_expsym_cmds_CXX \
16402
export_symbols_cmds_CXX \
16403
prelink_cmds_CXX; do
16404
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16405
*[\\\\\\\`\\"\\\$]*)
16406
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16409
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16414
# Fix-up fallback echo if it was mangled by the above quoting rules.
16416
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16420
ac_aux_dir='$ac_aux_dir'
16421
xsi_shell='$xsi_shell'
16422
lt_shell_append='$lt_shell_append'
16424
# See if we are running on zsh, and set the options which allow our
16425
# commands through without removal of \ escapes INIT.
16426
if test -n "\${ZSH_VERSION+set}" ; then
16427
setopt NO_GLOB_SUBST
16433
TIMESTAMP='$TIMESTAMP'
16444
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16446
# Handling of arguments.
16447
for ac_config_target in $ac_config_targets
16449
case $ac_config_target in
16450
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16451
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16452
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16453
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16454
"gen/Makefile") CONFIG_FILES="$CONFIG_FILES gen/Makefile" ;;
16455
"genxml/Makefile") CONFIG_FILES="$CONFIG_FILES genxml/Makefile" ;;
16456
"libbase/Makefile") CONFIG_FILES="$CONFIG_FILES libbase/Makefile" ;;
16457
"libstyx/Makefile") CONFIG_FILES="$CONFIG_FILES libstyx/Makefile" ;;
16458
"libutil/Makefile") CONFIG_FILES="$CONFIG_FILES libutil/Makefile" ;;
16459
"libxml/Makefile") CONFIG_FILES="$CONFIG_FILES libxml/Makefile" ;;
16460
"modstd/Makefile") CONFIG_FILES="$CONFIG_FILES modstd/Makefile" ;;
16461
"modext/Makefile") CONFIG_FILES="$CONFIG_FILES modext/Makefile" ;;
16462
"pgm/Makefile") CONFIG_FILES="$CONFIG_FILES pgm/Makefile" ;;
16463
"pgmxml/Makefile") CONFIG_FILES="$CONFIG_FILES pgmxml/Makefile" ;;
16464
"inc/Makefile") CONFIG_FILES="$CONFIG_FILES inc/Makefile" ;;
16465
"incxml/Makefile") CONFIG_FILES="$CONFIG_FILES incxml/Makefile" ;;
16466
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16467
"examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
16468
"examples/example01/Makefile") CONFIG_FILES="$CONFIG_FILES examples/example01/Makefile" ;;
16469
"examples/example01/mx") CONFIG_FILES="$CONFIG_FILES examples/example01/mx" ;;
16470
"examples/example02/Makefile") CONFIG_FILES="$CONFIG_FILES examples/example02/Makefile" ;;
16471
"examples/example02/mx") CONFIG_FILES="$CONFIG_FILES examples/example02/mx" ;;
16472
"examples/example03/Makefile") CONFIG_FILES="$CONFIG_FILES examples/example03/Makefile" ;;
16473
"examples/example03/mx") CONFIG_FILES="$CONFIG_FILES examples/example03/mx" ;;
16474
"examples/example04/Makefile") CONFIG_FILES="$CONFIG_FILES examples/example04/Makefile" ;;
16475
"examples/example04/mx") CONFIG_FILES="$CONFIG_FILES examples/example04/mx" ;;
16476
"examples/example05/Makefile") CONFIG_FILES="$CONFIG_FILES examples/example05/Makefile" ;;
16477
"examples/example05/mx") CONFIG_FILES="$CONFIG_FILES examples/example05/mx" ;;
16478
"examples/example06/Makefile") CONFIG_FILES="$CONFIG_FILES examples/example06/Makefile" ;;
16479
"examples/example06/mx") CONFIG_FILES="$CONFIG_FILES examples/example06/mx" ;;
16480
"examples/example07/Makefile") CONFIG_FILES="$CONFIG_FILES examples/example07/Makefile" ;;
16481
"examples/example07/mx") CONFIG_FILES="$CONFIG_FILES examples/example07/mx" ;;
16482
"spe/Makefile") CONFIG_FILES="$CONFIG_FILES spe/Makefile" ;;
16483
"spe/xsty.in") CONFIG_FILES="$CONFIG_FILES spe/xsty.in" ;;
16484
"spexml/Makefile") CONFIG_FILES="$CONFIG_FILES spexml/Makefile" ;;
16485
"spexml/xxml.in") CONFIG_FILES="$CONFIG_FILES spexml/xxml.in" ;;
16486
"pat/Makefile") CONFIG_FILES="$CONFIG_FILES pat/Makefile" ;;
16487
"libspe/Makefile") CONFIG_FILES="$CONFIG_FILES libspe/Makefile" ;;
16489
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
16494
# If the user did not use the arguments to specify the items to instantiate,
16495
# then the envvar interface is used. Set only those that are not.
16496
# We use the long form for the default assignment because of an extremely
16497
# bizarre bug on SunOS 4.1.3.
16498
if $ac_need_defaults; then
16499
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16500
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16501
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16504
# Have a temporary directory for convenience. Make it in the build tree
16505
# simply because there is no reason against having it here, and in addition,
16506
# creating and moving files from /tmp can sometimes cause problems.
16507
# Hook for its removal unless debugging.
16508
# Note that there is a small window in which the directory will not be cleaned:
16509
# after its creation but before its name has been assigned to `$tmp'.
16513
trap 'exit_status=$?
16514
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16516
trap 'as_fn_exit 1' 1 2 13 15
16518
# Create a (secure) tmp directory for tmp files.
16521
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16522
test -n "$tmp" && test -d "$tmp"
16525
tmp=./conf$$-$RANDOM
16526
(umask 077 && mkdir "$tmp")
16527
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16529
# Set up the scripts for CONFIG_FILES section.
16530
# No need to generate them if there are no CONFIG_FILES.
16531
# This happens for instance with `./config.status config.h'.
16532
if test -n "$CONFIG_FILES"; then
16535
ac_cr=`echo X | tr X '\015'`
16536
# On cygwin, bash can eat \r inside `` if the user requested igncr.
16537
# But we know of no other shell where ac_cr would be empty at this
16538
# point, so we can use a bashism as a fallback.
16539
if test "x$ac_cr" = x; then
16540
eval ac_cr=\$\'\\r\'
16542
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16543
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16546
ac_cs_awk_cr=$ac_cr
16549
echo 'BEGIN {' >"$tmp/subs1.awk" &&
16554
echo "cat >conf$$subs.awk <<_ACEOF" &&
16555
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16557
} >conf$$subs.sh ||
16558
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16559
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16561
for ac_last_try in false false false false false :; do
16562
. ./conf$$subs.sh ||
16563
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16565
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16566
if test $ac_delim_n = $ac_delim_num; then
16568
elif $ac_last_try; then
16569
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16571
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16574
rm -f conf$$subs.sh
16576
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16577
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16581
s/^/S["/; s/!.*/"]=/
16591
s/\(.\{148\}\)..*/\1/
16593
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16598
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16605
s/\(.\{148\}\)..*/\1/
16607
s/["\\]/\\&/g; s/^/"/; s/$/"/
16611
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16616
' <conf$$subs.awk | sed '
16621
' >>$CONFIG_STATUS || ac_write_fail=1
16622
rm -f conf$$subs.awk
16623
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16625
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16626
for (key in S) S_is_set[key] = 1
16632
nfields = split(line, field, "@")
16634
len = length(field[1])
16635
for (i = 2; i < nfields; i++) {
16637
keylen = length(key)
16638
if (S_is_set[key]) {
16640
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16641
len += length(value) + length(field[++i])
16652
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16653
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16654
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16657
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16658
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16661
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16662
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16663
# trailing colons and then remove the whole line if VPATH becomes empty
16664
# (actually we leave an empty line to preserve line numbers).
16665
if test "x$srcdir" = x.; then
16666
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16684
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16685
fi # test -n "$CONFIG_FILES"
16687
# Set up the scripts for CONFIG_HEADERS section.
16688
# No need to generate them if there are no CONFIG_HEADERS.
16689
# This happens for instance with `./config.status Makefile'.
16690
if test -n "$CONFIG_HEADERS"; then
16691
cat >"$tmp/defines.awk" <<\_ACAWK ||
16695
# Transform confdefs.h into an awk script `defines.awk', embedded as
16696
# here-document in config.status, that substitutes the proper values into
16697
# config.h.in to produce config.h.
16699
# Create a delimiter string that does not exist in confdefs.h, to ease
16700
# handling of long lines.
16702
for ac_last_try in false false :; do
16703
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16704
if test -z "$ac_t"; then
16706
elif $ac_last_try; then
16707
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16709
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16713
# For the awk script, D is an array of macro values keyed by name,
16714
# likewise P contains macro parameters if any. Preserve backslash
16715
# newline sequences.
16717
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16719
s/.\{148\}/&'"$ac_delim"'/g
16722
s/^[ ]*#[ ]*define[ ][ ]*/ /
16729
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16731
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16735
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16736
D["\1"]=" \3\\\\\\n"\\/p
16738
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16743
s/.\{148\}/&'"$ac_delim"'/g
16748
s/["\\]/\\&/g; s/^/"/; s/$/"/p
16751
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16753
' <confdefs.h | sed '
16754
s/'"$ac_delim"'/"\\\
16755
"/g' >>$CONFIG_STATUS || ac_write_fail=1
16757
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16758
for (key in D) D_is_set[key] = 1
16761
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16763
split(line, arg, " ")
16764
if (arg[1] == "#") {
16768
defundef = substr(arg[1], 2)
16771
split(mac1, mac2, "(") #)
16773
prefix = substr(line, 1, index(line, defundef) - 1)
16774
if (D_is_set[macro]) {
16775
# Preserve the white space surrounding the "#".
16776
print prefix "define", macro P[macro] D[macro]
16779
# Replace #undef with comments. This is necessary, for example,
16780
# in the case of _POSIX_SOURCE, which is predefined and required
16781
# on some systems where configure will not decide to define it.
16782
if (defundef == "undef") {
16783
print "/*", prefix defundef, macro, "*/"
16791
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16792
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16793
fi # test -n "$CONFIG_HEADERS"
16796
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16801
:[FHLC]) ac_mode=$ac_tag; continue;;
16803
case $ac_mode$ac_tag in
16805
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
16806
:[FH]-) ac_tag=-:-;;
16807
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16824
-) ac_f="$tmp/stdin";;
16825
*) # Look for the file first in the build tree, then in the source tree
16826
# (if the path is not absolute). The absolute path cannot be DOS-style,
16827
# because $ac_f cannot contain `:'.
16831
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16833
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
16835
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16836
as_fn_append ac_file_inputs " '$ac_f'"
16839
# Let's still pretend it is `configure' which instantiates (i.e., don't
16840
# use $as_me), people would be surprised to read:
16841
# /* config.h. Generated by config.status. */
16842
configure_input='Generated from '`
16843
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16845
if test x"$ac_file" != x-; then
16846
configure_input="$ac_file. $configure_input"
16847
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16848
$as_echo "$as_me: creating $ac_file" >&6;}
16850
# Neutralize special characters interpreted by sed in replacement strings.
16851
case $configure_input in #(
16852
*\&* | *\|* | *\\* )
16853
ac_sed_conf_input=`$as_echo "$configure_input" |
16854
sed 's/[\\\\&|]/\\\\&/g'`;; #(
16855
*) ac_sed_conf_input=$configure_input;;
16859
*:-:* | *:-) cat >"$tmp/stdin" \
16860
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16865
ac_dir=`$as_dirname -- "$ac_file" ||
16866
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16867
X"$ac_file" : 'X\(//\)[^/]' \| \
16868
X"$ac_file" : 'X\(//\)$' \| \
16869
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16870
$as_echo X"$ac_file" |
16871
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16875
/^X\(\/\/\)[^/].*/{
16888
as_dir="$ac_dir"; as_fn_mkdir_p
16892
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16894
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16895
# A ".." for each directory in $ac_dir_suffix.
16896
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16897
case $ac_top_builddir_sub in
16898
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16899
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16902
ac_abs_top_builddir=$ac_pwd
16903
ac_abs_builddir=$ac_pwd$ac_dir_suffix
16904
# for backward compatibility:
16905
ac_top_builddir=$ac_top_build_prefix
16908
.) # We are building in place.
16910
ac_top_srcdir=$ac_top_builddir_sub
16911
ac_abs_top_srcdir=$ac_pwd ;;
16912
[\\/]* | ?:[\\/]* ) # Absolute name.
16913
ac_srcdir=$srcdir$ac_dir_suffix;
16914
ac_top_srcdir=$srcdir
16915
ac_abs_top_srcdir=$srcdir ;;
16916
*) # Relative name.
16917
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16918
ac_top_srcdir=$ac_top_build_prefix$srcdir
16919
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16921
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16931
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16932
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16934
ac_MKDIR_P=$MKDIR_P
16936
[\\/$]* | ?:[\\/]* ) ;;
16937
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16941
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16942
# If the template does not know about datarootdir, expand it.
16943
# FIXME: This hack should be removed a few years after 2.60.
16944
ac_datarootdir_hack=; ac_datarootdir_seen=
16955
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16956
*datarootdir*) ac_datarootdir_seen=yes;;
16957
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16958
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16959
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16961
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16962
ac_datarootdir_hack='
16963
s&@datadir@&$datadir&g
16964
s&@docdir@&$docdir&g
16965
s&@infodir@&$infodir&g
16966
s&@localedir@&$localedir&g
16967
s&@mandir@&$mandir&g
16968
s&\\\${datarootdir}&$datarootdir&g' ;;
16972
# Neutralize VPATH when `$srcdir' = `.'.
16973
# Shell code in configure.ac might set extrasub.
16974
# FIXME: do we really want to maintain this feature?
16975
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16976
ac_sed_extra="$ac_vpsub
16979
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16981
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16982
s|@configure_input@|$ac_sed_conf_input|;t t
16983
s&@top_builddir@&$ac_top_builddir_sub&;t t
16984
s&@top_build_prefix@&$ac_top_build_prefix&;t t
16985
s&@srcdir@&$ac_srcdir&;t t
16986
s&@abs_srcdir@&$ac_abs_srcdir&;t t
16987
s&@top_srcdir@&$ac_top_srcdir&;t t
16988
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16989
s&@builddir@&$ac_builddir&;t t
16990
s&@abs_builddir@&$ac_abs_builddir&;t t
16991
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16992
s&@INSTALL@&$ac_INSTALL&;t t
16993
s&@MKDIR_P@&$ac_MKDIR_P&;t t
16994
$ac_datarootdir_hack
16996
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
16997
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16999
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17000
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17001
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17002
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17003
which seems to be undefined. Please make sure it is defined" >&5
17004
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17005
which seems to be undefined. Please make sure it is defined" >&2;}
17009
-) cat "$tmp/out" && rm -f "$tmp/out";;
17010
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17012
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17018
if test x"$ac_file" != x-; then
17020
$as_echo "/* $configure_input */" \
17021
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17022
} >"$tmp/config.h" \
17023
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17024
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17025
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17026
$as_echo "$as_me: $ac_file is unchanged" >&6;}
17029
mv "$tmp/config.h" "$ac_file" \
17030
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17033
$as_echo "/* $configure_input */" \
17034
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17035
|| as_fn_error $? "could not create -" "$LINENO" 5
17037
# Compute "$ac_file"'s index in $config_headers.
17040
for _am_header in $config_headers :; do
17041
case $_am_header in
17042
$_am_arg | $_am_arg:* )
17045
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
17048
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17049
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17050
X"$_am_arg" : 'X\(//\)[^/]' \| \
17051
X"$_am_arg" : 'X\(//\)$' \| \
17052
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17053
$as_echo X"$_am_arg" |
17054
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17058
/^X\(\/\/\)[^/].*/{
17070
s/.*/./; q'`/stamp-h$_am_stamp_count
17073
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17074
$as_echo "$as_me: executing $ac_file commands" >&6;}
17079
case $ac_file$ac_mode in
17080
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17081
# Autoconf 2.62 quotes --file arguments for eval, but not when files
17082
# are listed without --file. Let's play safe and only enable the eval
17083
# if we detect the quoting.
17084
case $CONFIG_FILES in
17085
*\'*) eval set x "$CONFIG_FILES" ;;
17086
*) set x $CONFIG_FILES ;;
17091
# Strip MF so we end up with the name of the file.
17092
mf=`echo "$mf" | sed -e 's/:.*$//'`
17093
# Check whether this is an Automake generated Makefile or not.
17094
# We used to match only the files named `Makefile.in', but
17095
# some people rename them; so instead we look at the file content.
17096
# Grep'ing the first line is not enough: some people post-process
17097
# each Makefile.in and add a new line on top of each file to say so.
17098
# Grep'ing the whole file is not good either: AIX grep has a line
17099
# limit of 2048, but all sed's we know have understand at least 4000.
17100
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17101
dirpart=`$as_dirname -- "$mf" ||
17102
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17103
X"$mf" : 'X\(//\)[^/]' \| \
17104
X"$mf" : 'X\(//\)$' \| \
17105
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17107
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17111
/^X\(\/\/\)[^/].*/{
17127
# Extract the definition of DEPDIR, am__include, and am__quote
17128
# from the Makefile without running `make'.
17129
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17130
test -z "$DEPDIR" && continue
17131
am__include=`sed -n 's/^am__include = //p' < "$mf"`
17132
test -z "am__include" && continue
17133
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17134
# When using ansi2knr, U may be empty or an underscore; expand it
17135
U=`sed -n 's/^U = //p' < "$mf"`
17136
# Find all dependency output files, they are included files with
17137
# $(DEPDIR) in their names. We invoke sed twice because it is the
17138
# simplest approach to changing $(DEPDIR) to its actual value in the
17140
for file in `sed -n "
17141
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17142
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17143
# Make sure the directory exists.
17144
test -f "$dirpart/$file" && continue
17145
fdir=`$as_dirname -- "$file" ||
17146
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17147
X"$file" : 'X\(//\)[^/]' \| \
17148
X"$file" : 'X\(//\)$' \| \
17149
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17150
$as_echo X"$file" |
17151
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17155
/^X\(\/\/\)[^/].*/{
17168
as_dir=$dirpart/$fdir; as_fn_mkdir_p
17169
# echo "creating $dirpart/$file"
17170
echo '# dummy' > "$dirpart/$file"
17177
# See if we are running on zsh, and set the options which allow our
17178
# commands through without removal of \ escapes.
17179
if test -n "${ZSH_VERSION+set}" ; then
17180
setopt NO_GLOB_SUBST
17183
cfgfile="${ofile}T"
17184
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17187
cat <<_LT_EOF >> "$cfgfile"
17190
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17191
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17192
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17193
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17195
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17196
# 2006, 2007, 2008 Free Software Foundation, Inc.
17197
# Written by Gordon Matzigkeit, 1996
17199
# This file is part of GNU Libtool.
17201
# GNU Libtool is free software; you can redistribute it and/or
17202
# modify it under the terms of the GNU General Public License as
17203
# published by the Free Software Foundation; either version 2 of
17204
# the License, or (at your option) any later version.
17206
# As a special exception to the GNU General Public License,
17207
# if you distribute this file as part of a program or library that
17208
# is built using GNU Libtool, you may include this file under the
17209
# same distribution terms that you use for the rest of that program.
17211
# GNU Libtool is distributed in the hope that it will be useful,
17212
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17213
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17214
# GNU General Public License for more details.
17216
# You should have received a copy of the GNU General Public License
17217
# along with GNU Libtool; see the file COPYING. If not, a copy
17218
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17219
# obtained by writing to the Free Software Foundation, Inc.,
17220
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17223
# The names of the tagged configurations supported by this script.
17224
available_tags="CXX "
17226
# ### BEGIN LIBTOOL CONFIG
17228
# Which release of libtool.m4 was used?
17229
macro_version=$macro_version
17230
macro_revision=$macro_revision
17232
# Whether or not to build shared libraries.
17233
build_libtool_libs=$enable_shared
17235
# Whether or not to build static libraries.
17236
build_old_libs=$enable_static
17238
# What type of objects to build.
17241
# Whether or not to optimize for fast installation.
17242
fast_install=$enable_fast_install
17245
host_alias=$host_alias
17249
# The build system.
17250
build_alias=$build_alias
17254
# A sed program that does not truncate output.
17257
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17258
Xsed="\$SED -e 1s/^X//"
17260
# A grep program that handles long lines.
17266
# A literal string matcher.
17269
# A BSD- or MS-compatible name lister.
17272
# Whether we need soft or hard links.
17275
# What is the maximum length of a command?
17276
max_cmd_len=$max_cmd_len
17278
# Object file suffix (normally "o").
17281
# Executable file suffix (normally "").
17284
# whether the shell understands "unset".
17287
# turn spaces into newlines.
17290
# turn newlines into spaces.
17293
# How to create reloadable object files.
17294
reload_flag=$lt_reload_flag
17295
reload_cmds=$lt_reload_cmds
17297
# An object symbol dumper.
17298
OBJDUMP=$lt_OBJDUMP
17300
# Method to check whether dependent libraries are shared objects.
17301
deplibs_check_method=$lt_deplibs_check_method
17303
# Command to use when deplibs_check_method == "file_magic".
17304
file_magic_cmd=$lt_file_magic_cmd
17308
AR_FLAGS=$lt_AR_FLAGS
17310
# A symbol stripping program.
17313
# Commands used to install an old-style archive.
17315
old_postinstall_cmds=$lt_old_postinstall_cmds
17316
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17321
# LTCC compiler flags.
17322
LTCFLAGS=$lt_CFLAGS
17324
# Take the output of nm and produce a listing of raw symbols and C names.
17325
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17327
# Transform the output of nm in a proper C declaration.
17328
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17330
# Transform the output of nm in a C name address pair.
17331
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17333
# Transform the output of nm in a C name address pair when lib prefix is needed.
17334
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17336
# The name of the directory that contains temporary libtool files.
17339
# Shell to use when invoking shell scripts.
17342
# An echo program that does not interpret backslashes.
17345
# Used to examine libraries when file_magic_cmd begins with "file".
17346
MAGIC_CMD=$MAGIC_CMD
17348
# Must we lock files when doing compilation?
17349
need_locks=$lt_need_locks
17351
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17352
DSYMUTIL=$lt_DSYMUTIL
17354
# Tool to change global to local symbols on Mac OS X.
17357
# Tool to manipulate fat objects and archives on Mac OS X.
17360
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17363
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17364
OTOOL64=$lt_OTOOL64
17366
# Old archive suffix (normally "a").
17369
# Shared library suffix (normally ".so").
17370
shrext_cmds=$lt_shrext_cmds
17372
# The commands to extract the exported symbol list from a shared archive.
17373
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17375
# Variables whose values should be saved in libtool wrapper scripts and
17376
# restored at link time.
17377
variables_saved_for_relink=$lt_variables_saved_for_relink
17379
# Do we need the "lib" prefix for modules?
17380
need_lib_prefix=$need_lib_prefix
17382
# Do we need a version for libraries?
17383
need_version=$need_version
17385
# Library versioning type.
17386
version_type=$version_type
17388
# Shared library runtime path variable.
17389
runpath_var=$runpath_var
17391
# Shared library path variable.
17392
shlibpath_var=$shlibpath_var
17394
# Is shlibpath searched before the hard-coded library search path?
17395
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17397
# Format of library name prefix.
17398
libname_spec=$lt_libname_spec
17400
# List of archive names. First name is the real one, the rest are links.
17401
# The last name is the one that the linker finds with -lNAME
17402
library_names_spec=$lt_library_names_spec
17404
# The coded name of the library, if different from the real name.
17405
soname_spec=$lt_soname_spec
17407
# Command to use after installation of a shared archive.
17408
postinstall_cmds=$lt_postinstall_cmds
17410
# Command to use after uninstallation of a shared archive.
17411
postuninstall_cmds=$lt_postuninstall_cmds
17413
# Commands used to finish a libtool library installation in a directory.
17414
finish_cmds=$lt_finish_cmds
17416
# As "finish_cmds", except a single script fragment to be evaled but
17418
finish_eval=$lt_finish_eval
17420
# Whether we should hardcode library paths into libraries.
17421
hardcode_into_libs=$hardcode_into_libs
17423
# Compile-time system search path for libraries.
17424
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17426
# Run-time system search path for libraries.
17427
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17429
# Whether dlopen is supported.
17430
dlopen_support=$enable_dlopen
17432
# Whether dlopen of programs is supported.
17433
dlopen_self=$enable_dlopen_self
17435
# Whether dlopen of statically linked programs is supported.
17436
dlopen_self_static=$enable_dlopen_self_static
17438
# Commands to strip libraries.
17439
old_striplib=$lt_old_striplib
17440
striplib=$lt_striplib
17443
# The linker used to build libraries.
17446
# Commands used to build an old-style archive.
17447
old_archive_cmds=$lt_old_archive_cmds
17449
# A language specific compiler.
17452
# Is the compiler the GNU compiler?
17455
# Compiler flag to turn off builtin functions.
17456
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17458
# How to pass a linker flag through the compiler.
17459
wl=$lt_lt_prog_compiler_wl
17461
# Additional compiler flags for building library objects.
17462
pic_flag=$lt_lt_prog_compiler_pic
17464
# Compiler flag to prevent dynamic linking.
17465
link_static_flag=$lt_lt_prog_compiler_static
17467
# Does compiler simultaneously support -c and -o options?
17468
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17470
# Whether or not to add -lc for building shared libraries.
17471
build_libtool_need_lc=$archive_cmds_need_lc
17473
# Whether or not to disallow shared libs when runtime libs are static.
17474
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17476
# Compiler flag to allow reflexive dlopens.
17477
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17479
# Compiler flag to generate shared objects directly from archives.
17480
whole_archive_flag_spec=$lt_whole_archive_flag_spec
17482
# Whether the compiler copes with passing no objects directly.
17483
compiler_needs_object=$lt_compiler_needs_object
17485
# Create an old-style archive from a shared archive.
17486
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17488
# Create a temporary old-style archive to link instead of a shared archive.
17489
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17491
# Commands used to build a shared archive.
17492
archive_cmds=$lt_archive_cmds
17493
archive_expsym_cmds=$lt_archive_expsym_cmds
17495
# Commands used to build a loadable module if different from building
17496
# a shared archive.
17497
module_cmds=$lt_module_cmds
17498
module_expsym_cmds=$lt_module_expsym_cmds
17500
# Whether we are building with GNU ld or not.
17501
with_gnu_ld=$lt_with_gnu_ld
17503
# Flag that allows shared libraries with undefined symbols to be built.
17504
allow_undefined_flag=$lt_allow_undefined_flag
17506
# Flag that enforces no undefined symbols.
17507
no_undefined_flag=$lt_no_undefined_flag
17509
# Flag to hardcode \$libdir into a binary during linking.
17510
# This must work even if \$libdir does not exist
17511
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17513
# If ld is used when linking, flag to hardcode \$libdir into a binary
17514
# during linking. This must work even if \$libdir does not exist.
17515
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17517
# Whether we need a single "-rpath" flag with a separated argument.
17518
hardcode_libdir_separator=$lt_hardcode_libdir_separator
17520
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17521
# DIR into the resulting binary.
17522
hardcode_direct=$hardcode_direct
17524
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17525
# DIR into the resulting binary and the resulting library dependency is
17526
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17527
# library is relocated.
17528
hardcode_direct_absolute=$hardcode_direct_absolute
17530
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17531
# into the resulting binary.
17532
hardcode_minus_L=$hardcode_minus_L
17534
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17535
# into the resulting binary.
17536
hardcode_shlibpath_var=$hardcode_shlibpath_var
17538
# Set to "yes" if building a shared library automatically hardcodes DIR
17539
# into the library and all subsequent libraries and executables linked
17541
hardcode_automatic=$hardcode_automatic
17543
# Set to yes if linker adds runtime paths of dependent libraries
17544
# to runtime path list.
17545
inherit_rpath=$inherit_rpath
17547
# Whether libtool must link a program against all its dependency libraries.
17548
link_all_deplibs=$link_all_deplibs
17550
# Fix the shell variable \$srcfile for the compiler.
17551
fix_srcfile_path=$lt_fix_srcfile_path
17553
# Set to "yes" if exported symbols are required.
17554
always_export_symbols=$always_export_symbols
17556
# The commands to list exported symbols.
17557
export_symbols_cmds=$lt_export_symbols_cmds
17559
# Symbols that should not be listed in the preloaded symbols.
17560
exclude_expsyms=$lt_exclude_expsyms
17562
# Symbols that must always be exported.
17563
include_expsyms=$lt_include_expsyms
17565
# Commands necessary for linking programs (against libraries) with templates.
17566
prelink_cmds=$lt_prelink_cmds
17568
# Specify filename containing input files.
17569
file_list_spec=$lt_file_list_spec
17571
# How to hardcode a shared library path into an executable.
17572
hardcode_action=$hardcode_action
17574
# The directories searched by this compiler when creating a shared library.
17575
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17577
# Dependencies to place before and after the objects being linked to
17578
# create a shared library.
17579
predep_objects=$lt_predep_objects
17580
postdep_objects=$lt_postdep_objects
17581
predeps=$lt_predeps
17582
postdeps=$lt_postdeps
17584
# The library search path used internally by the compiler when linking
17585
# a shared library.
17586
compiler_lib_search_path=$lt_compiler_lib_search_path
17588
# ### END LIBTOOL CONFIG
17594
cat <<\_LT_EOF >> "$cfgfile"
17595
# AIX sometimes has problems with the GCC collect2 program. For some
17596
# reason, if we set the COLLECT_NAMES environment variable, the problems
17597
# vanish in a puff of smoke.
17598
if test "X${COLLECT_NAMES+set}" != Xset; then
17600
export COLLECT_NAMES
17607
ltmain="$ac_aux_dir/ltmain.sh"
17610
# We use sed instead of cat because bash on DJGPP gets confused if
17611
# if finds mixed CR/LF and LF-only lines. Since sed operates in
17612
# text mode, it properly converts lines to CR/LF. This bash problem
17613
# is reportedly fixed, but why not run on old versions too?
17614
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17615
|| (rm -f "$cfgfile"; exit 1)
17619
cat << \_LT_EOF >> "$cfgfile"
17621
# func_dirname file append nondir_replacement
17622
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
17623
# otherwise set result to NONDIR_REPLACEMENT.
17627
*/*) func_dirname_result="${1%/*}${2}" ;;
17628
* ) func_dirname_result="${3}" ;;
17632
# func_basename file
17635
func_basename_result="${1##*/}"
17638
# func_dirname_and_basename file append nondir_replacement
17639
# perform func_basename and func_dirname in a single function
17641
# dirname: Compute the dirname of FILE. If nonempty,
17642
# add APPEND to the result, otherwise set result
17643
# to NONDIR_REPLACEMENT.
17644
# value returned in "$func_dirname_result"
17645
# basename: Compute filename of FILE.
17646
# value retuned in "$func_basename_result"
17647
# Implementation must be kept synchronized with func_dirname
17648
# and func_basename. For efficiency, we do not delegate to
17649
# those functions but instead duplicate the functionality here.
17650
func_dirname_and_basename ()
17653
*/*) func_dirname_result="${1%/*}${2}" ;;
17654
* ) func_dirname_result="${3}" ;;
17656
func_basename_result="${1##*/}"
17659
# func_stripname prefix suffix name
17660
# strip PREFIX and SUFFIX off of NAME.
17661
# PREFIX and SUFFIX must not contain globbing or regex special
17662
# characters, hashes, percent signs, but SUFFIX may contain a leading
17663
# dot (in which case that matches only a dot).
17666
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17667
# positional parameters, so assign one to ordinary parameter first.
17668
func_stripname_result=${3}
17669
func_stripname_result=${func_stripname_result#"${1}"}
17670
func_stripname_result=${func_stripname_result%"${2}"}
17676
func_opt_split_opt=${1%%=*}
17677
func_opt_split_arg=${1#*=}
17684
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17685
*) func_lo2o_result=${1} ;;
17689
# func_xform libobj-or-source
17692
func_xform_result=${1%.*}.lo
17695
# func_arith arithmetic-term...
17698
func_arith_result=$(( $* ))
17702
# STRING may not start with a hyphen.
17705
func_len_result=${#1}
17710
*) # Bourne compatible functions.
17711
cat << \_LT_EOF >> "$cfgfile"
17713
# func_dirname file append nondir_replacement
17714
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
17715
# otherwise set result to NONDIR_REPLACEMENT.
17718
# Extract subdirectory from the argument.
17719
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17720
if test "X$func_dirname_result" = "X${1}"; then
17721
func_dirname_result="${3}"
17723
func_dirname_result="$func_dirname_result${2}"
17727
# func_basename file
17730
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17734
# func_stripname prefix suffix name
17735
# strip PREFIX and SUFFIX off of NAME.
17736
# PREFIX and SUFFIX must not contain globbing or regex special
17737
# characters, hashes, percent signs, but SUFFIX may contain a leading
17738
# dot (in which case that matches only a dot).
17739
# func_strip_suffix prefix name
17743
.*) func_stripname_result=`$ECHO "X${3}" \
17744
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17745
*) func_stripname_result=`$ECHO "X${3}" \
17746
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17751
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17752
my_sed_long_arg='1s/^-[^=]*=//'
17757
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
17758
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
17764
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
17767
# func_xform libobj-or-source
17770
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
17773
# func_arith arithmetic-term...
17776
func_arith_result=`expr "$@"`
17780
# STRING may not start with a hyphen.
17783
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
17789
case $lt_shell_append in
17791
cat << \_LT_EOF >> "$cfgfile"
17793
# func_append var value
17794
# Append VALUE to the end of shell variable VAR.
17802
cat << \_LT_EOF >> "$cfgfile"
17804
# func_append var value
17805
# Append VALUE to the end of shell variable VAR.
17816
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
17817
|| (rm -f "$cfgfile"; exit 1)
17819
mv -f "$cfgfile" "$ofile" ||
17820
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17824
cat <<_LT_EOF >> "$ofile"
17826
# ### BEGIN LIBTOOL TAG CONFIG: CXX
17828
# The linker used to build libraries.
17831
# Commands used to build an old-style archive.
17832
old_archive_cmds=$lt_old_archive_cmds_CXX
17834
# A language specific compiler.
17835
CC=$lt_compiler_CXX
17837
# Is the compiler the GNU compiler?
17840
# Compiler flag to turn off builtin functions.
17841
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17843
# How to pass a linker flag through the compiler.
17844
wl=$lt_lt_prog_compiler_wl_CXX
17846
# Additional compiler flags for building library objects.
17847
pic_flag=$lt_lt_prog_compiler_pic_CXX
17849
# Compiler flag to prevent dynamic linking.
17850
link_static_flag=$lt_lt_prog_compiler_static_CXX
17852
# Does compiler simultaneously support -c and -o options?
17853
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17855
# Whether or not to add -lc for building shared libraries.
17856
build_libtool_need_lc=$archive_cmds_need_lc_CXX
17858
# Whether or not to disallow shared libs when runtime libs are static.
17859
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17861
# Compiler flag to allow reflexive dlopens.
17862
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17864
# Compiler flag to generate shared objects directly from archives.
17865
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17867
# Whether the compiler copes with passing no objects directly.
17868
compiler_needs_object=$lt_compiler_needs_object_CXX
17870
# Create an old-style archive from a shared archive.
17871
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17873
# Create a temporary old-style archive to link instead of a shared archive.
17874
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17876
# Commands used to build a shared archive.
17877
archive_cmds=$lt_archive_cmds_CXX
17878
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17880
# Commands used to build a loadable module if different from building
17881
# a shared archive.
17882
module_cmds=$lt_module_cmds_CXX
17883
module_expsym_cmds=$lt_module_expsym_cmds_CXX
17885
# Whether we are building with GNU ld or not.
17886
with_gnu_ld=$lt_with_gnu_ld_CXX
17888
# Flag that allows shared libraries with undefined symbols to be built.
17889
allow_undefined_flag=$lt_allow_undefined_flag_CXX
17891
# Flag that enforces no undefined symbols.
17892
no_undefined_flag=$lt_no_undefined_flag_CXX
17894
# Flag to hardcode \$libdir into a binary during linking.
17895
# This must work even if \$libdir does not exist
17896
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17898
# If ld is used when linking, flag to hardcode \$libdir into a binary
17899
# during linking. This must work even if \$libdir does not exist.
17900
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
17902
# Whether we need a single "-rpath" flag with a separated argument.
17903
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17905
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17906
# DIR into the resulting binary.
17907
hardcode_direct=$hardcode_direct_CXX
17909
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17910
# DIR into the resulting binary and the resulting library dependency is
17911
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17912
# library is relocated.
17913
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17915
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17916
# into the resulting binary.
17917
hardcode_minus_L=$hardcode_minus_L_CXX
17919
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17920
# into the resulting binary.
17921
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17923
# Set to "yes" if building a shared library automatically hardcodes DIR
17924
# into the library and all subsequent libraries and executables linked
17926
hardcode_automatic=$hardcode_automatic_CXX
17928
# Set to yes if linker adds runtime paths of dependent libraries
17929
# to runtime path list.
17930
inherit_rpath=$inherit_rpath_CXX
17932
# Whether libtool must link a program against all its dependency libraries.
17933
link_all_deplibs=$link_all_deplibs_CXX
17935
# Fix the shell variable \$srcfile for the compiler.
17936
fix_srcfile_path=$lt_fix_srcfile_path_CXX
17938
# Set to "yes" if exported symbols are required.
17939
always_export_symbols=$always_export_symbols_CXX
17941
# The commands to list exported symbols.
17942
export_symbols_cmds=$lt_export_symbols_cmds_CXX
17944
# Symbols that should not be listed in the preloaded symbols.
17945
exclude_expsyms=$lt_exclude_expsyms_CXX
17947
# Symbols that must always be exported.
17948
include_expsyms=$lt_include_expsyms_CXX
17950
# Commands necessary for linking programs (against libraries) with templates.
17951
prelink_cmds=$lt_prelink_cmds_CXX
17953
# Specify filename containing input files.
17954
file_list_spec=$lt_file_list_spec_CXX
17956
# How to hardcode a shared library path into an executable.
17957
hardcode_action=$hardcode_action_CXX
17959
# The directories searched by this compiler when creating a shared library.
17960
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17962
# Dependencies to place before and after the objects being linked to
17963
# create a shared library.
17964
predep_objects=$lt_predep_objects_CXX
17965
postdep_objects=$lt_postdep_objects_CXX
17966
predeps=$lt_predeps_CXX
17967
postdeps=$lt_postdeps_CXX
17969
# The library search path used internally by the compiler when linking
17970
# a shared library.
17971
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17973
# ### END LIBTOOL TAG CONFIG: CXX
17984
ac_clean_files=$ac_clean_files_save
17986
test $ac_write_fail = 0 ||
17987
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17990
# configure is writing to config.log, and then calls config.status.
17991
# config.status does its own redirection, appending to config.log.
17992
# Unfortunately, on DOS this fails, as config.log is still kept open
17993
# by configure, so config.status won't be able to write to it; its
17994
# output is simply discarded. So we exec the FD to /dev/null,
17995
# effectively closing config.log, so it can be properly (re)opened and
17996
# appended to by config.status. When coming back to configure, we
17997
# need to make the FD available again.
17998
if test "$no_create" != yes; then
18000
ac_config_status_args=
18001
test "$silent" = yes &&
18002
ac_config_status_args="$ac_config_status_args --quiet"
18004
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18006
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
18007
# would make configure fail if this is the last instruction.
18008
$ac_cs_success || as_fn_exit 1
18010
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18011
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18012
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}