2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.67 for atkmm 2.22.1.
5
# Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=atkmm>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
# is contrary to our usage. Disable this feature.
26
alias -g '${1+"$@"}'='"$@"'
29
case `(set -o) 2>/dev/null` in #(
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87
# We need space, tab and new line, in precisely that order. Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
93
# Find who we are. Look in the path if we contain no directory separator.
95
*[\\/]* ) as_myself=$0 ;;
96
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100
test -z "$as_dir" && as_dir=.
101
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107
# We did not find ourselves, most probably we were run as `sh COMMAND'
108
# in which case we are not to be found in the path.
109
if test "x$as_myself" = x; then
112
if test ! -f "$as_myself"; then
113
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
# Unset variables that we do not need and which cause bugs (e.g. in
118
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119
# suppresses any "Segmentation fault" message there. '((' could
120
# trigger a bug in pdksh 5.2.14.
121
for as_var in BASH_ENV ENV MAIL MAILPATH
122
do eval test x\${$as_var+set} = xset \
123
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
if test "x$CONFIG_SHELL" = x; then
139
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
# is contrary to our usage. Disable this feature.
144
alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
case \`(set -o) 2>/dev/null\` in #(
155
as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
172
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
test \$(( 1 + 1 )) = 2 || exit 1"
177
if (eval "$as_required") 2>/dev/null; then :
182
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
185
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
187
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
190
test -z "$as_dir" && as_dir=.
194
for as_base in sh bash ksh sh5; do
195
# Try only shells that exist, to save several forks.
196
as_shell=$as_dir/$as_base
197
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
198
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
199
CONFIG_SHELL=$as_shell as_have_required=yes
200
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
209
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
210
CONFIG_SHELL=$SHELL as_have_required=yes
215
if test "x$CONFIG_SHELL" != x; then :
216
# We cannot yet assume a decent shell, so we have to provide a
217
# neutralization value for shells without unset; and this also
218
# works around shells that cannot unset nonexistent variables.
221
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
223
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226
if test x$as_have_required = xno; then :
227
$as_echo "$0: This script requires a shell more modern than all"
228
$as_echo "$0: the shells that I found on your system."
229
if test x${ZSH_VERSION+set} = xset ; then
230
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
233
$as_echo "$0: Please tell bug-autoconf@gnu.org and
234
$0: https://bugzilla.gnome.org/enter_bug.cgi?product=atkmm
235
$0: about your system, including any error possibly output
236
$0: before this message. Then install a modern shell, or
237
$0: manually run the script under such a shell if you do
244
SHELL=${CONFIG_SHELL-/bin/sh}
246
# Unset more variables known to interfere with behavior of common tools.
247
CLICOLOR_FORCE= GREP_OPTIONS=
248
unset CLICOLOR_FORCE GREP_OPTIONS
250
## --------------------- ##
251
## M4sh Shell Functions. ##
252
## --------------------- ##
255
# Portably unset VAR.
258
{ eval $1=; unset $1;}
262
# as_fn_set_status STATUS
263
# -----------------------
264
# Set $? to STATUS, without forking.
272
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282
# Create "$as_dir" as a directory, including parents if necessary.
287
-*) as_dir=./$as_dir;;
289
test -d "$as_dir" || eval $as_mkdir_p || {
293
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296
as_dirs="'$as_qdir' $as_dirs"
297
as_dir=`$as_dirname -- "$as_dir" ||
298
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299
X"$as_dir" : 'X\(//\)[^/]' \| \
300
X"$as_dir" : 'X\(//\)$' \| \
301
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302
$as_echo X"$as_dir" |
303
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320
test -d "$as_dir" && break
322
test -z "$as_dirs" || eval "mkdir $as_dirs"
323
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
327
# as_fn_append VAR VALUE
328
# ----------------------
329
# Append the text in VALUE to the end of the definition contained in VAR. Take
330
# advantage of any shell optimizations that allow amortized linear growth over
331
# repeated appends, instead of the typical quadratic growth present in naive
333
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334
eval 'as_fn_append ()
347
# Perform arithmetic evaluation on the ARGs, and store the result in the
348
# global $as_val. Take advantage of shells that can avoid forks. The arguments
349
# must be portable across $(()) and expr.
350
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358
as_val=`expr "$@" || test $? -eq 1`
363
# as_fn_error STATUS ERROR [LINENO LOG_FD]
364
# ----------------------------------------
365
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367
# script with STATUS, using 1 if that was 0.
370
as_status=$1; test $as_status -eq 0 && as_status=1
372
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
375
$as_echo "$as_me: error: $2" >&2
376
as_fn_exit $as_status
379
if expr a : '\(a\)' >/dev/null 2>&1 &&
380
test "X`expr 00001 : '.*\(...\)'`" = X001; then
386
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
398
as_me=`$as_basename -- "$0" ||
399
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400
X"$0" : 'X\(//\)$' \| \
401
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403
sed '/^.*\/\([^/][^/]*\)\/*$/{
417
# Avoid depending upon Character Ranges.
418
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421
as_cr_digits='0123456789'
422
as_cr_alnum=$as_cr_Letters$as_cr_digits
425
as_lineno_1=$LINENO as_lineno_1a=$LINENO
426
as_lineno_2=$LINENO as_lineno_2a=$LINENO
427
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
441
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445
chmod +x "$as_me.lineno" ||
446
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
448
# Don't try to exec as it changes $[0], causing all sort of problems
449
# (the dirname of $[0] is not the place where we might find the
450
# original and so on. Autoconf is especially sensitive to this).
452
# Exit status is that of the last command.
456
ECHO_C= ECHO_N= ECHO_T=
457
case `echo -n x` in #(((((
459
case `echo 'xy\c'` in
460
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
462
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
469
rm -f conf$$ conf$$.exe conf$$.file
470
if test -d conf$$.dir; then
471
rm -f conf$$.dir/conf$$.file
474
mkdir conf$$.dir 2>/dev/null
476
if (echo >conf$$.file) 2>/dev/null; then
477
if ln -s conf$$.file conf$$ 2>/dev/null; then
479
# ... but there are two gotchas:
480
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482
# In both cases, we have to default to `cp -p'.
483
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
485
elif ln conf$$.file conf$$ 2>/dev/null; then
493
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494
rmdir conf$$.dir 2>/dev/null
496
if mkdir -p . 2>/dev/null; then
497
as_mkdir_p='mkdir -p "$as_dir"'
499
test -d ./-p && rmdir ./-p
503
if test -x / >/dev/null 2>&1; then
506
if ls -dL / >/dev/null 2>&1; then
513
if test -d "$1"; then
519
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520
???[sx]*):;;*)false;;esac;fi
524
as_executable_p=$as_test_x
526
# Sed expression to map a string onto a valid CPP name.
527
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
529
# Sed expression to map a string onto a valid variable name.
530
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534
# Check that we are running under the correct shell.
535
SHELL=${CONFIG_SHELL-/bin/sh}
539
# Remove one level of quotation (which was required for Make).
540
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
545
if test "X$1" = X--no-reexec; then
546
# Discard the --no-reexec flag, and continue.
548
elif test "X$1" = X--fallback-echo; then
549
# Avoid inline document here, it may be left over
551
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
552
# Yippee, $ECHO works!
555
# Restart under the correct shell.
556
exec $SHELL "$0" --no-reexec ${1+"$@"}
559
if test "X$1" = X--fallback-echo; then
560
# used as fallback echo
568
# The HP-UX ksh and POSIX shell print the target directory to stdout
570
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
572
if test -z "$lt_ECHO"; then
573
if test "X${echo_test_string+set}" != Xset; then
574
# find a string as large as possible, as long as the shell can cope with it
575
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
576
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
577
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
578
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
585
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
586
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
587
test "X$echo_testing_string" = "X$echo_test_string"; then
590
# The Solaris, AIX, and Digital Unix default echo programs unquote
591
# backslashes. This makes it impossible to quote backslashes using
592
# echo "$something" | sed 's/\\/\\\\/g'
594
# So, first we look for a working echo in the user's PATH.
596
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
597
for dir in $PATH /usr/ucb; do
599
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
600
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
601
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
602
test "X$echo_testing_string" = "X$echo_test_string"; then
609
if test "X$ECHO" = Xecho; then
610
# We didn't find a better echo, so look for alternatives.
611
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
612
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
613
test "X$echo_testing_string" = "X$echo_test_string"; then
614
# This shell has a builtin print -r that does the trick.
616
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
617
test "X$CONFIG_SHELL" != X/bin/ksh; then
618
# If we have ksh, try running configure again with it.
619
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
620
export ORIGINAL_CONFIG_SHELL
621
CONFIG_SHELL=/bin/ksh
623
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
627
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
628
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
629
test "X$echo_testing_string" = "X$echo_test_string"; then
632
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
633
test "X$echo_testing_string" = 'X\t' &&
634
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
635
test "X$echo_testing_string" = "X$echo_test_string"; then
636
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
638
SHELL="$CONFIG_SHELL"
640
ECHO="$CONFIG_SHELL $0 --fallback-echo"
641
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
642
test "X$echo_testing_string" = 'X\t' &&
643
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
644
test "X$echo_testing_string" = "X$echo_test_string"; then
645
ECHO="$CONFIG_SHELL $0 --fallback-echo"
647
# maybe with a smaller string...
650
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
651
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
658
if test "$prev" != 'sed 50q "$0"'; then
659
echo_test_string=`eval $prev`
660
export echo_test_string
661
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
663
# Oops. We lost completely, so just stick with echo.
672
# Copy echo and quote the copy suitably for passing to libtool from
673
# the Makefile, instead of quoting the original, which is used later.
675
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
676
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
682
test -n "$DJDIR" || exec 7<&0 </dev/null
686
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
687
# so uname gets run too.
688
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
693
ac_default_prefix=/usr/local
695
ac_config_libobj_dir=.
702
# Identity of this package.
704
PACKAGE_TARNAME='atkmm'
705
PACKAGE_VERSION='2.22.1'
706
PACKAGE_STRING='atkmm 2.22.1'
707
PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=atkmm'
708
PACKAGE_URL='http://www.gtkmm.org/'
710
ac_unique_file="atk/atkmm.h"
711
# Factoring default headers for most tests.
712
ac_includes_default="\
714
#ifdef HAVE_SYS_TYPES_H
715
# include <sys/types.h>
717
#ifdef HAVE_SYS_STAT_H
718
# include <sys/stat.h>
724
# ifdef HAVE_STDLIB_H
729
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
734
#ifdef HAVE_STRINGS_H
735
# include <strings.h>
737
#ifdef HAVE_INTTYPES_H
738
# include <inttypes.h>
747
ac_subst_vars='am__EXEEXT_FALSE
754
ENABLE_DOCUMENTATION_FALSE
755
ENABLE_DOCUMENTATION_TRUE
761
DISABLE_DEPRECATED_API_FALSE
762
DISABLE_DEPRECATED_API_TRUE
833
MAINTAINER_MODE_FALSE
845
INSTALL_STRIP_PROGRAM
887
program_transform_name
900
enable_option_checking
902
enable_maintainer_mode
903
enable_dependency_tracking
910
enable_deprecated_api
917
ac_precious_vars='build_alias
942
# Initialize some variables set by options.
944
ac_init_version=false
945
ac_unrecognized_opts=
947
# The variables have the same names as the options, with
948
# dashes changed to underlines.
956
program_transform_name=s,x,x,
964
# Installation directory options.
965
# These are left unexpanded so users can "make install exec_prefix=/foo"
966
# and all the variables that are supposed to be based on exec_prefix
967
# by default will actually change.
968
# Use braces instead of parens because sh, perl, etc. also accept them.
969
# (The list follows the same order as the GNU Coding Standards.)
970
bindir='${exec_prefix}/bin'
971
sbindir='${exec_prefix}/sbin'
972
libexecdir='${exec_prefix}/libexec'
973
datarootdir='${prefix}/share'
974
datadir='${datarootdir}'
975
sysconfdir='${prefix}/etc'
976
sharedstatedir='${prefix}/com'
977
localstatedir='${prefix}/var'
978
includedir='${prefix}/include'
979
oldincludedir='/usr/include'
980
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
981
infodir='${datarootdir}/info'
986
libdir='${exec_prefix}/lib'
987
localedir='${datarootdir}/locale'
988
mandir='${datarootdir}/man'
994
# If the previous option needs an argument, assign it.
995
if test -n "$ac_prev"; then
996
eval $ac_prev=\$ac_option
1002
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1007
# Accept the important Cygnus configure options, so we can diagnose typos.
1009
case $ac_dashdash$ac_option in
1013
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1015
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1016
bindir=$ac_optarg ;;
1018
-build | --build | --buil | --bui | --bu)
1019
ac_prev=build_alias ;;
1020
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1021
build_alias=$ac_optarg ;;
1023
-cache-file | --cache-file | --cache-fil | --cache-fi \
1024
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1025
ac_prev=cache_file ;;
1026
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1027
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1028
cache_file=$ac_optarg ;;
1030
--config-cache | -C)
1031
cache_file=config.cache ;;
1033
-datadir | --datadir | --datadi | --datad)
1035
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1036
datadir=$ac_optarg ;;
1038
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1039
| --dataroo | --dataro | --datar)
1040
ac_prev=datarootdir ;;
1041
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1042
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1043
datarootdir=$ac_optarg ;;
1045
-disable-* | --disable-*)
1046
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1047
# Reject names that are not valid shell variable names.
1048
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049
as_fn_error $? "invalid feature name: $ac_useropt"
1050
ac_useropt_orig=$ac_useropt
1051
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052
case $ac_user_opts in
1054
"enable_$ac_useropt"
1056
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1057
ac_unrecognized_sep=', ';;
1059
eval enable_$ac_useropt=no ;;
1061
-docdir | --docdir | --docdi | --doc | --do)
1063
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1064
docdir=$ac_optarg ;;
1066
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1068
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1069
dvidir=$ac_optarg ;;
1071
-enable-* | --enable-*)
1072
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1073
# Reject names that are not valid shell variable names.
1074
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1075
as_fn_error $? "invalid feature name: $ac_useropt"
1076
ac_useropt_orig=$ac_useropt
1077
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1078
case $ac_user_opts in
1080
"enable_$ac_useropt"
1082
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1083
ac_unrecognized_sep=', ';;
1085
eval enable_$ac_useropt=\$ac_optarg ;;
1087
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1088
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1089
| --exec | --exe | --ex)
1090
ac_prev=exec_prefix ;;
1091
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1092
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1093
| --exec=* | --exe=* | --ex=*)
1094
exec_prefix=$ac_optarg ;;
1096
-gas | --gas | --ga | --g)
1097
# Obsolete; use --with-gas.
1100
-help | --help | --hel | --he | -h)
1101
ac_init_help=long ;;
1102
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1103
ac_init_help=recursive ;;
1104
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1105
ac_init_help=short ;;
1107
-host | --host | --hos | --ho)
1108
ac_prev=host_alias ;;
1109
-host=* | --host=* | --hos=* | --ho=*)
1110
host_alias=$ac_optarg ;;
1112
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1114
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1116
htmldir=$ac_optarg ;;
1118
-includedir | --includedir | --includedi | --included | --include \
1119
| --includ | --inclu | --incl | --inc)
1120
ac_prev=includedir ;;
1121
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1122
| --includ=* | --inclu=* | --incl=* | --inc=*)
1123
includedir=$ac_optarg ;;
1125
-infodir | --infodir | --infodi | --infod | --info | --inf)
1127
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1128
infodir=$ac_optarg ;;
1130
-libdir | --libdir | --libdi | --libd)
1132
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1133
libdir=$ac_optarg ;;
1135
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1136
| --libexe | --libex | --libe)
1137
ac_prev=libexecdir ;;
1138
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1139
| --libexe=* | --libex=* | --libe=*)
1140
libexecdir=$ac_optarg ;;
1142
-localedir | --localedir | --localedi | --localed | --locale)
1143
ac_prev=localedir ;;
1144
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1145
localedir=$ac_optarg ;;
1147
-localstatedir | --localstatedir | --localstatedi | --localstated \
1148
| --localstate | --localstat | --localsta | --localst | --locals)
1149
ac_prev=localstatedir ;;
1150
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1151
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1152
localstatedir=$ac_optarg ;;
1154
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1156
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1157
mandir=$ac_optarg ;;
1159
-nfp | --nfp | --nf)
1160
# Obsolete; use --without-fp.
1163
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1164
| --no-cr | --no-c | -n)
1167
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1168
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1171
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1172
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1173
| --oldin | --oldi | --old | --ol | --o)
1174
ac_prev=oldincludedir ;;
1175
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1176
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1177
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1178
oldincludedir=$ac_optarg ;;
1180
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1182
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1183
prefix=$ac_optarg ;;
1185
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1186
| --program-pre | --program-pr | --program-p)
1187
ac_prev=program_prefix ;;
1188
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1189
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1190
program_prefix=$ac_optarg ;;
1192
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1193
| --program-suf | --program-su | --program-s)
1194
ac_prev=program_suffix ;;
1195
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1196
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1197
program_suffix=$ac_optarg ;;
1199
-program-transform-name | --program-transform-name \
1200
| --program-transform-nam | --program-transform-na \
1201
| --program-transform-n | --program-transform- \
1202
| --program-transform | --program-transfor \
1203
| --program-transfo | --program-transf \
1204
| --program-trans | --program-tran \
1205
| --progr-tra | --program-tr | --program-t)
1206
ac_prev=program_transform_name ;;
1207
-program-transform-name=* | --program-transform-name=* \
1208
| --program-transform-nam=* | --program-transform-na=* \
1209
| --program-transform-n=* | --program-transform-=* \
1210
| --program-transform=* | --program-transfor=* \
1211
| --program-transfo=* | --program-transf=* \
1212
| --program-trans=* | --program-tran=* \
1213
| --progr-tra=* | --program-tr=* | --program-t=*)
1214
program_transform_name=$ac_optarg ;;
1216
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1218
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1219
pdfdir=$ac_optarg ;;
1221
-psdir | --psdir | --psdi | --psd | --ps)
1223
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1226
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1227
| -silent | --silent | --silen | --sile | --sil)
1230
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1232
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1234
sbindir=$ac_optarg ;;
1236
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1237
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1238
| --sharedst | --shareds | --shared | --share | --shar \
1240
ac_prev=sharedstatedir ;;
1241
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1242
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1243
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1245
sharedstatedir=$ac_optarg ;;
1247
-site | --site | --sit)
1249
-site=* | --site=* | --sit=*)
1252
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1254
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1255
srcdir=$ac_optarg ;;
1257
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1258
| --syscon | --sysco | --sysc | --sys | --sy)
1259
ac_prev=sysconfdir ;;
1260
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1261
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1262
sysconfdir=$ac_optarg ;;
1264
-target | --target | --targe | --targ | --tar | --ta | --t)
1265
ac_prev=target_alias ;;
1266
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1267
target_alias=$ac_optarg ;;
1269
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1272
-version | --version | --versio | --versi | --vers | -V)
1273
ac_init_version=: ;;
1276
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1277
# Reject names that are not valid shell variable names.
1278
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1279
as_fn_error $? "invalid package name: $ac_useropt"
1280
ac_useropt_orig=$ac_useropt
1281
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1282
case $ac_user_opts in
1286
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1287
ac_unrecognized_sep=', ';;
1289
eval with_$ac_useropt=\$ac_optarg ;;
1291
-without-* | --without-*)
1292
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1293
# Reject names that are not valid shell variable names.
1294
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1295
as_fn_error $? "invalid package name: $ac_useropt"
1296
ac_useropt_orig=$ac_useropt
1297
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1298
case $ac_user_opts in
1302
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1303
ac_unrecognized_sep=', ';;
1305
eval with_$ac_useropt=no ;;
1308
# Obsolete; use --with-x.
1311
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1312
| --x-incl | --x-inc | --x-in | --x-i)
1313
ac_prev=x_includes ;;
1314
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1315
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1316
x_includes=$ac_optarg ;;
1318
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1319
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1320
ac_prev=x_libraries ;;
1321
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1322
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1323
x_libraries=$ac_optarg ;;
1325
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1326
Try \`$0 --help' for more information"
1330
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1331
# Reject names that are not valid shell variable names.
1332
case $ac_envvar in #(
1333
'' | [0-9]* | *[!_$as_cr_alnum]* )
1334
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1336
eval $ac_envvar=\$ac_optarg
1337
export $ac_envvar ;;
1340
# FIXME: should be removed in autoconf 3.0.
1341
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1342
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1343
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1344
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1350
if test -n "$ac_prev"; then
1351
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1352
as_fn_error $? "missing argument to $ac_option"
1355
if test -n "$ac_unrecognized_opts"; then
1356
case $enable_option_checking in
1358
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1359
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1363
# Check all directory arguments for consistency.
1364
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1365
datadir sysconfdir sharedstatedir localstatedir includedir \
1366
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1367
libdir localedir mandir
1369
eval ac_val=\$$ac_var
1370
# Remove trailing slashes.
1373
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1374
eval $ac_var=\$ac_val;;
1376
# Be sure to have absolute directory names.
1378
[\\/$]* | ?:[\\/]* ) continue;;
1379
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1381
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1384
# There might be people who depend on the old broken behavior: `$host'
1385
# used to hold the argument of --host etc.
1386
# FIXME: To remove some day.
1389
target=$target_alias
1391
# FIXME: To remove some day.
1392
if test "x$host_alias" != x; then
1393
if test "x$build_alias" = x; then
1394
cross_compiling=maybe
1395
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1396
If a cross compiler is detected then cross compile mode will be used" >&2
1397
elif test "x$build_alias" != "x$host_alias"; then
1403
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1405
test "$silent" = yes && exec 6>/dev/null
1408
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1409
ac_ls_di=`ls -di .` &&
1410
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1411
as_fn_error $? "working directory cannot be determined"
1412
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1413
as_fn_error $? "pwd does not report name of working directory"
1416
# Find the source files, if location was not specified.
1417
if test -z "$srcdir"; then
1418
ac_srcdir_defaulted=yes
1419
# Try the directory containing this script, then the parent directory.
1420
ac_confdir=`$as_dirname -- "$as_myself" ||
1421
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1422
X"$as_myself" : 'X\(//\)[^/]' \| \
1423
X"$as_myself" : 'X\(//\)$' \| \
1424
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1425
$as_echo X"$as_myself" |
1426
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1444
if test ! -r "$srcdir/$ac_unique_file"; then
1448
ac_srcdir_defaulted=no
1450
if test ! -r "$srcdir/$ac_unique_file"; then
1451
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1452
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1454
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1456
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1458
# When building in place, set srcdir=.
1459
if test "$ac_abs_confdir" = "$ac_pwd"; then
1462
# Remove unnecessary trailing slashes from srcdir.
1463
# Double slashes in file names in object file debugging info
1464
# mess up M-x gdb in Emacs.
1466
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1468
for ac_var in $ac_precious_vars; do
1469
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1470
eval ac_env_${ac_var}_value=\$${ac_var}
1471
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1472
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1476
# Report the --help message.
1478
if test "$ac_init_help" = "long"; then
1479
# Omit some internal or obsolete options to make the list less imposing.
1480
# This message is too long to be a string in the A/UX 3.1 sh.
1482
\`configure' configures atkmm 2.22.1 to adapt to many kinds of systems.
1484
Usage: $0 [OPTION]... [VAR=VALUE]...
1486
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1487
VAR=VALUE. See below for descriptions of some of the useful variables.
1489
Defaults for the options are specified in brackets.
1492
-h, --help display this help and exit
1493
--help=short display options specific to this package
1494
--help=recursive display the short help of all the included packages
1495
-V, --version display version information and exit
1496
-q, --quiet, --silent do not print \`checking ...' messages
1497
--cache-file=FILE cache test results in FILE [disabled]
1498
-C, --config-cache alias for \`--cache-file=config.cache'
1499
-n, --no-create do not create output files
1500
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1502
Installation directories:
1503
--prefix=PREFIX install architecture-independent files in PREFIX
1504
[$ac_default_prefix]
1505
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1508
By default, \`make install' will install all the files in
1509
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1510
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1511
for instance \`--prefix=\$HOME'.
1513
For better control, use the options below.
1515
Fine tuning of the installation directories:
1516
--bindir=DIR user executables [EPREFIX/bin]
1517
--sbindir=DIR system admin executables [EPREFIX/sbin]
1518
--libexecdir=DIR program executables [EPREFIX/libexec]
1519
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1520
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1521
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1522
--libdir=DIR object code libraries [EPREFIX/lib]
1523
--includedir=DIR C header files [PREFIX/include]
1524
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1525
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1526
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1527
--infodir=DIR info documentation [DATAROOTDIR/info]
1528
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1529
--mandir=DIR man documentation [DATAROOTDIR/man]
1530
--docdir=DIR documentation root [DATAROOTDIR/doc/atkmm]
1531
--htmldir=DIR html documentation [DOCDIR]
1532
--dvidir=DIR dvi documentation [DOCDIR]
1533
--pdfdir=DIR pdf documentation [DOCDIR]
1534
--psdir=DIR ps documentation [DOCDIR]
1540
--program-prefix=PREFIX prepend PREFIX to installed program names
1541
--program-suffix=SUFFIX append SUFFIX to installed program names
1542
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1545
--build=BUILD configure for building on BUILD [guessed]
1546
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1550
if test -n "$ac_init_help"; then
1551
case $ac_init_help in
1552
short | recursive ) echo "Configuration of atkmm 2.22.1:";;
1557
--disable-option-checking ignore unrecognized --enable/--with options
1558
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1559
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1560
--enable-silent-rules less verbose build output (undo: `make V=1')
1561
--disable-silent-rules verbose build output (undo: `make V=0')
1562
--enable-maintainer-mode enable make rules and dependencies not useful
1563
(and sometimes confusing) to the casual installer
1564
--disable-dependency-tracking speeds up one-time build
1565
--enable-dependency-tracking do not reject slow dependency extractors
1566
--enable-static[=PKGS] build static libraries [default=no]
1567
--enable-shared[=PKGS] build shared libraries [default=yes]
1568
--enable-fast-install[=PKGS]
1569
optimize for fast installation [default=yes]
1570
--disable-libtool-lock avoid locking (might break parallel builds)
1571
--disable-deprecated-api
1572
omit deprecated API from the library
1573
--disable-documentation do not build or install the documentation
1574
--enable-warnings[=min|max|fatal|no]
1575
set compiler pedantry level [default=min]
1578
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1579
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1580
--with-pic try to use only PIC/non-PIC objects [default=use
1582
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1583
--with-libstdc-doc=[TAGFILE@]HTMLREFDIR
1584
Link to external libstdc documentation [auto]
1585
--with-libsigc-doc=[TAGFILE@]HTMLREFDIR
1586
Link to external libsigc documentation [auto]
1587
--with-glibmm-doc=[TAGFILE@]HTMLREFDIR
1588
Link to external glibmm documentation [auto]
1590
Some influential environment variables:
1592
aclocal flags, e.g. -I <macro dir>
1593
CXX C++ compiler command
1594
CXXFLAGS C++ compiler flags
1595
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1596
nonstandard directory <lib dir>
1597
LIBS libraries to pass to the linker, e.g. -l<library>
1598
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1599
you have headers in a nonstandard directory <include dir>
1600
CC C compiler command
1601
CFLAGS C compiler flags
1603
CXXCPP C++ preprocessor
1604
PKG_CONFIG path to pkg-config utility
1606
directories to add to pkg-config's search path
1608
path overriding pkg-config's built-in search path
1610
C compiler flags for ATKMM, overriding pkg-config
1611
ATKMM_LIBS linker flags for ATKMM, overriding pkg-config
1612
PERL path to Perl interpreter
1613
DOT path to dot utility
1614
DOXYGEN path to Doxygen utility
1615
XSLTPROC path to xsltproc utility
1617
Use these variables to override the choices made by `configure' or to help
1618
it to find libraries and programs with nonstandard names/locations.
1620
Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=atkmm>.
1621
atkmm home page: <http://www.gtkmm.org/>.
1626
if test "$ac_init_help" = "recursive"; then
1627
# If there are subdirs, report their specific --help.
1628
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1629
test -d "$ac_dir" ||
1630
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1635
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1637
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1638
# A ".." for each directory in $ac_dir_suffix.
1639
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1640
case $ac_top_builddir_sub in
1641
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1642
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1645
ac_abs_top_builddir=$ac_pwd
1646
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1647
# for backward compatibility:
1648
ac_top_builddir=$ac_top_build_prefix
1651
.) # We are building in place.
1653
ac_top_srcdir=$ac_top_builddir_sub
1654
ac_abs_top_srcdir=$ac_pwd ;;
1655
[\\/]* | ?:[\\/]* ) # Absolute name.
1656
ac_srcdir=$srcdir$ac_dir_suffix;
1657
ac_top_srcdir=$srcdir
1658
ac_abs_top_srcdir=$srcdir ;;
1660
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1661
ac_top_srcdir=$ac_top_build_prefix$srcdir
1662
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1664
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1666
cd "$ac_dir" || { ac_status=$?; continue; }
1667
# Check for guested configure.
1668
if test -f "$ac_srcdir/configure.gnu"; then
1670
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1671
elif test -f "$ac_srcdir/configure"; then
1673
$SHELL "$ac_srcdir/configure" --help=recursive
1675
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1677
cd "$ac_pwd" || { ac_status=$?; break; }
1681
test -n "$ac_init_help" && exit $ac_status
1682
if $ac_init_version; then
1684
atkmm configure 2.22.1
1685
generated by GNU Autoconf 2.67
1687
Copyright (C) 2010 Free Software Foundation, Inc.
1688
This configure script is free software; the Free Software Foundation
1689
gives unlimited permission to copy, distribute and modify it.
1694
## ------------------------ ##
1695
## Autoconf initialization. ##
1696
## ------------------------ ##
1698
# ac_fn_cxx_try_compile LINENO
1699
# ----------------------------
1700
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1701
ac_fn_cxx_try_compile ()
1703
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704
rm -f conftest.$ac_objext
1705
if { { ac_try="$ac_compile"
1707
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708
*) ac_try_echo=$ac_try;;
1710
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711
$as_echo "$ac_try_echo"; } >&5
1712
(eval "$ac_compile") 2>conftest.err
1714
if test -s conftest.err; then
1715
grep -v '^ *+' conftest.err >conftest.er1
1716
cat conftest.er1 >&5
1717
mv -f conftest.er1 conftest.err
1719
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720
test $ac_status = 0; } && {
1721
test -z "$ac_cxx_werror_flag" ||
1722
test ! -s conftest.err
1723
} && test -s conftest.$ac_objext; then :
1726
$as_echo "$as_me: failed program was:" >&5
1727
sed 's/^/| /' conftest.$ac_ext >&5
1731
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732
as_fn_set_status $ac_retval
1734
} # ac_fn_cxx_try_compile
1736
# ac_fn_c_try_compile LINENO
1737
# --------------------------
1738
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1739
ac_fn_c_try_compile ()
1741
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742
rm -f conftest.$ac_objext
1743
if { { ac_try="$ac_compile"
1745
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1746
*) ac_try_echo=$ac_try;;
1748
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749
$as_echo "$ac_try_echo"; } >&5
1750
(eval "$ac_compile") 2>conftest.err
1752
if test -s conftest.err; then
1753
grep -v '^ *+' conftest.err >conftest.er1
1754
cat conftest.er1 >&5
1755
mv -f conftest.er1 conftest.err
1757
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758
test $ac_status = 0; } && {
1759
test -z "$ac_c_werror_flag" ||
1760
test ! -s conftest.err
1761
} && test -s conftest.$ac_objext; then :
1764
$as_echo "$as_me: failed program was:" >&5
1765
sed 's/^/| /' conftest.$ac_ext >&5
1769
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1770
as_fn_set_status $ac_retval
1772
} # ac_fn_c_try_compile
1774
# ac_fn_c_try_link LINENO
1775
# -----------------------
1776
# Try to link conftest.$ac_ext, and return whether this succeeded.
1779
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780
rm -f conftest.$ac_objext conftest$ac_exeext
1781
if { { ac_try="$ac_link"
1783
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1784
*) ac_try_echo=$ac_try;;
1786
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1787
$as_echo "$ac_try_echo"; } >&5
1788
(eval "$ac_link") 2>conftest.err
1790
if test -s conftest.err; then
1791
grep -v '^ *+' conftest.err >conftest.er1
1792
cat conftest.er1 >&5
1793
mv -f conftest.er1 conftest.err
1795
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1796
test $ac_status = 0; } && {
1797
test -z "$ac_c_werror_flag" ||
1798
test ! -s conftest.err
1799
} && test -s conftest$ac_exeext && {
1800
test "$cross_compiling" = yes ||
1801
$as_test_x conftest$ac_exeext
1805
$as_echo "$as_me: failed program was:" >&5
1806
sed 's/^/| /' conftest.$ac_ext >&5
1810
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1811
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1812
# interfere with the next link command; also delete a directory that is
1813
# left behind by Apple's compiler. We do this before executing the actions.
1814
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1815
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1816
as_fn_set_status $ac_retval
1818
} # ac_fn_c_try_link
1820
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1821
# -------------------------------------------------------
1822
# Tests whether HEADER exists and can be compiled using the include files in
1823
# INCLUDES, setting the cache variable VAR accordingly.
1824
ac_fn_c_check_header_compile ()
1826
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1828
$as_echo_n "checking for $2... " >&6; }
1829
if eval "test \"\${$3+set}\"" = set; then :
1830
$as_echo_n "(cached) " >&6
1832
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1833
/* end confdefs.h. */
1837
if ac_fn_c_try_compile "$LINENO"; then :
1842
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1845
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1846
$as_echo "$ac_res" >&6; }
1847
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1849
} # ac_fn_c_check_header_compile
1851
# ac_fn_c_try_cpp LINENO
1852
# ----------------------
1853
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1856
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857
if { { ac_try="$ac_cpp conftest.$ac_ext"
1859
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1860
*) ac_try_echo=$ac_try;;
1862
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1863
$as_echo "$ac_try_echo"; } >&5
1864
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1866
if test -s conftest.err; then
1867
grep -v '^ *+' conftest.err >conftest.er1
1868
cat conftest.er1 >&5
1869
mv -f conftest.er1 conftest.err
1871
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872
test $ac_status = 0; } > conftest.i && {
1873
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1874
test ! -s conftest.err
1878
$as_echo "$as_me: failed program was:" >&5
1879
sed 's/^/| /' conftest.$ac_ext >&5
1883
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1884
as_fn_set_status $ac_retval
1888
# ac_fn_c_try_run LINENO
1889
# ----------------------
1890
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1891
# that executables *can* be run.
1894
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895
if { { ac_try="$ac_link"
1897
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1898
*) ac_try_echo=$ac_try;;
1900
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901
$as_echo "$ac_try_echo"; } >&5
1902
(eval "$ac_link") 2>&5
1904
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1906
{ { case "(($ac_try" in
1907
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908
*) ac_try_echo=$ac_try;;
1910
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911
$as_echo "$ac_try_echo"; } >&5
1912
(eval "$ac_try") 2>&5
1914
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1915
test $ac_status = 0; }; }; then :
1918
$as_echo "$as_me: program exited with status $ac_status" >&5
1919
$as_echo "$as_me: failed program was:" >&5
1920
sed 's/^/| /' conftest.$ac_ext >&5
1922
ac_retval=$ac_status
1924
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1925
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1926
as_fn_set_status $ac_retval
1930
# ac_fn_c_check_func LINENO FUNC VAR
1931
# ----------------------------------
1932
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1933
ac_fn_c_check_func ()
1935
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1937
$as_echo_n "checking for $2... " >&6; }
1938
if eval "test \"\${$3+set}\"" = set; then :
1939
$as_echo_n "(cached) " >&6
1941
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1942
/* end confdefs.h. */
1943
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1944
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1945
#define $2 innocuous_$2
1947
/* System header to define __stub macros and hopefully few prototypes,
1948
which can conflict with char $2 (); below.
1949
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1950
<limits.h> exists even on freestanding compilers. */
1953
# include <limits.h>
1955
# include <assert.h>
1960
/* Override any GCC internal prototype to avoid an error.
1961
Use char because int might match the return type of a GCC
1962
builtin and then its argument prototype would still apply. */
1967
/* The GNU C library defines this for functions which it implements
1968
to always fail with ENOSYS. Some functions are actually named
1969
something starting with __ and the normal name is an alias. */
1970
#if defined __stub_$2 || defined __stub___$2
1982
if ac_fn_c_try_link "$LINENO"; then :
1987
rm -f core conftest.err conftest.$ac_objext \
1988
conftest$ac_exeext conftest.$ac_ext
1991
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1992
$as_echo "$ac_res" >&6; }
1993
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1995
} # ac_fn_c_check_func
1997
# ac_fn_cxx_try_cpp LINENO
1998
# ------------------------
1999
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2000
ac_fn_cxx_try_cpp ()
2002
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2003
if { { ac_try="$ac_cpp conftest.$ac_ext"
2005
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2006
*) ac_try_echo=$ac_try;;
2008
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2009
$as_echo "$ac_try_echo"; } >&5
2010
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2012
if test -s conftest.err; then
2013
grep -v '^ *+' conftest.err >conftest.er1
2014
cat conftest.er1 >&5
2015
mv -f conftest.er1 conftest.err
2017
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2018
test $ac_status = 0; } > conftest.i && {
2019
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2020
test ! -s conftest.err
2024
$as_echo "$as_me: failed program was:" >&5
2025
sed 's/^/| /' conftest.$ac_ext >&5
2029
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2030
as_fn_set_status $ac_retval
2032
} # ac_fn_cxx_try_cpp
2034
# ac_fn_cxx_try_link LINENO
2035
# -------------------------
2036
# Try to link conftest.$ac_ext, and return whether this succeeded.
2037
ac_fn_cxx_try_link ()
2039
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2040
rm -f conftest.$ac_objext conftest$ac_exeext
2041
if { { ac_try="$ac_link"
2043
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2044
*) ac_try_echo=$ac_try;;
2046
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2047
$as_echo "$ac_try_echo"; } >&5
2048
(eval "$ac_link") 2>conftest.err
2050
if test -s conftest.err; then
2051
grep -v '^ *+' conftest.err >conftest.er1
2052
cat conftest.er1 >&5
2053
mv -f conftest.er1 conftest.err
2055
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2056
test $ac_status = 0; } && {
2057
test -z "$ac_cxx_werror_flag" ||
2058
test ! -s conftest.err
2059
} && test -s conftest$ac_exeext && {
2060
test "$cross_compiling" = yes ||
2061
$as_test_x conftest$ac_exeext
2065
$as_echo "$as_me: failed program was:" >&5
2066
sed 's/^/| /' conftest.$ac_ext >&5
2070
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2071
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2072
# interfere with the next link command; also delete a directory that is
2073
# left behind by Apple's compiler. We do this before executing the actions.
2074
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2075
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2076
as_fn_set_status $ac_retval
2078
} # ac_fn_cxx_try_link
2079
cat >config.log <<_ACEOF
2080
This file contains any messages produced by compilers while
2081
running configure, to aid debugging if configure makes a mistake.
2083
It was created by atkmm $as_me 2.22.1, which was
2084
generated by GNU Autoconf 2.67. Invocation command line was
2096
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2097
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2098
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2099
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2100
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2102
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2103
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2105
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2106
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2107
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2108
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2109
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2110
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2111
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2115
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2119
test -z "$as_dir" && as_dir=.
2120
$as_echo "PATH: $as_dir"
2136
# Keep a trace of the command line.
2137
# Strip out --no-create and --no-recursion so they do not pile up.
2138
# Strip out --silent because we don't want to record it for future runs.
2139
# Also quote any args containing shell meta-characters.
2140
# Make two passes to allow for proper duplicate-argument suppression.
2144
ac_must_keep_next=false
2150
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2151
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2152
| -silent | --silent | --silen | --sile | --sil)
2155
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2158
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2160
as_fn_append ac_configure_args1 " '$ac_arg'"
2161
if test $ac_must_keep_next = true; then
2162
ac_must_keep_next=false # Got value, back to normal.
2165
*=* | --config-cache | -C | -disable-* | --disable-* \
2166
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2167
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2168
| -with-* | --with-* | -without-* | --without-* | --x)
2169
case "$ac_configure_args0 " in
2170
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2173
-* ) ac_must_keep_next=true ;;
2176
as_fn_append ac_configure_args " '$ac_arg'"
2181
{ ac_configure_args0=; unset ac_configure_args0;}
2182
{ ac_configure_args1=; unset ac_configure_args1;}
2184
# When interrupted or exit'd, cleanup temporary files, and complete
2185
# config.log. We remove comments because anyway the quotes in there
2186
# would cause problems or look ugly.
2187
# WARNING: Use '\'' to represent an apostrophe within the trap.
2188
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2189
trap 'exit_status=$?
2190
# Save into config.log some information that might help in debugging.
2194
$as_echo "## ---------------- ##
2195
## Cache variables. ##
2196
## ---------------- ##"
2198
# The following way of writing the cache mishandles newlines in values,
2200
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2201
eval ac_val=\$$ac_var
2205
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2206
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2209
_ | IFS | as_nl) ;; #(
2210
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2211
*) { eval $ac_var=; unset $ac_var;} ;;
2216
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2217
*${as_nl}ac_space=\ *)
2219
"s/'\''/'\''\\\\'\'''\''/g;
2220
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2223
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2230
$as_echo "## ----------------- ##
2231
## Output variables. ##
2232
## ----------------- ##"
2234
for ac_var in $ac_subst_vars
2236
eval ac_val=\$$ac_var
2238
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2240
$as_echo "$ac_var='\''$ac_val'\''"
2244
if test -n "$ac_subst_files"; then
2245
$as_echo "## ------------------- ##
2246
## File substitutions. ##
2247
## ------------------- ##"
2249
for ac_var in $ac_subst_files
2251
eval ac_val=\$$ac_var
2253
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2255
$as_echo "$ac_var='\''$ac_val'\''"
2260
if test -s confdefs.h; then
2261
$as_echo "## ----------- ##
2268
test "$ac_signal" != 0 &&
2269
$as_echo "$as_me: caught signal $ac_signal"
2270
$as_echo "$as_me: exit $exit_status"
2272
rm -f core *.core core.conftest.* &&
2273
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2276
for ac_signal in 1 2 13 15; do
2277
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2281
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2282
rm -f -r conftest* confdefs.h
2284
$as_echo "/* confdefs.h */" > confdefs.h
2286
# Predefined preprocessor variables.
2288
cat >>confdefs.h <<_ACEOF
2289
#define PACKAGE_NAME "$PACKAGE_NAME"
2292
cat >>confdefs.h <<_ACEOF
2293
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2296
cat >>confdefs.h <<_ACEOF
2297
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2300
cat >>confdefs.h <<_ACEOF
2301
#define PACKAGE_STRING "$PACKAGE_STRING"
2304
cat >>confdefs.h <<_ACEOF
2305
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2308
cat >>confdefs.h <<_ACEOF
2309
#define PACKAGE_URL "$PACKAGE_URL"
2313
# Let the site file select an alternate cache file if it wants to.
2314
# Prefer an explicitly selected file to automatically selected ones.
2317
if test -n "$CONFIG_SITE"; then
2318
# We do not want a PATH search for config.site.
2319
case $CONFIG_SITE in #((
2320
-*) ac_site_file1=./$CONFIG_SITE;;
2321
*/*) ac_site_file1=$CONFIG_SITE;;
2322
*) ac_site_file1=./$CONFIG_SITE;;
2324
elif test "x$prefix" != xNONE; then
2325
ac_site_file1=$prefix/share/config.site
2326
ac_site_file2=$prefix/etc/config.site
2328
ac_site_file1=$ac_default_prefix/share/config.site
2329
ac_site_file2=$ac_default_prefix/etc/config.site
2331
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2333
test "x$ac_site_file" = xNONE && continue
2334
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2335
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2336
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2337
sed 's/^/| /' "$ac_site_file" >&5
2339
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2340
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2341
as_fn_error $? "failed to load site script $ac_site_file
2342
See \`config.log' for more details" "$LINENO" 5 ; }
2346
if test -r "$cache_file"; then
2347
# Some versions of bash will fail to source /dev/null (special files
2348
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2349
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2350
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2351
$as_echo "$as_me: loading cache $cache_file" >&6;}
2353
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2354
*) . "./$cache_file";;
2358
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2359
$as_echo "$as_me: creating cache $cache_file" >&6;}
2363
# Check that the precious variables saved in the cache have kept the same
2365
ac_cache_corrupted=false
2366
for ac_var in $ac_precious_vars; do
2367
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2368
eval ac_new_set=\$ac_env_${ac_var}_set
2369
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2370
eval ac_new_val=\$ac_env_${ac_var}_value
2371
case $ac_old_set,$ac_new_set in
2373
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2374
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2375
ac_cache_corrupted=: ;;
2377
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2378
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2379
ac_cache_corrupted=: ;;
2382
if test "x$ac_old_val" != "x$ac_new_val"; then
2383
# differences in whitespace do not lead to failure.
2384
ac_old_val_w=`echo x $ac_old_val`
2385
ac_new_val_w=`echo x $ac_new_val`
2386
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2387
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2388
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2389
ac_cache_corrupted=:
2391
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2392
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2393
eval $ac_var=\$ac_old_val
2395
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2396
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2397
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2398
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2401
# Pass precious variables to config.status.
2402
if test "$ac_new_set" = set; then
2404
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2405
*) ac_arg=$ac_var=$ac_new_val ;;
2407
case " $ac_configure_args " in
2408
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2409
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2413
if $ac_cache_corrupted; then
2414
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2415
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2416
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2417
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2418
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2420
## -------------------- ##
2421
## Main body of script. ##
2422
## -------------------- ##
2425
ac_cpp='$CPP $CPPFLAGS'
2426
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2427
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2428
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2435
for ac_dir in build "$srcdir"/build; do
2436
if test -f "$ac_dir/install-sh"; then
2438
ac_install_sh="$ac_aux_dir/install-sh -c"
2440
elif test -f "$ac_dir/install.sh"; then
2442
ac_install_sh="$ac_aux_dir/install.sh -c"
2444
elif test -f "$ac_dir/shtool"; then
2446
ac_install_sh="$ac_aux_dir/shtool install -c"
2450
if test -z "$ac_aux_dir"; then
2451
as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
2454
# These three variables are undocumented and unsupported,
2455
# and are intended to be withdrawn in a future Autoconf release.
2456
# They can cause serious problems if a builder's source tree is in a directory
2457
# whose full name contains unusual characters.
2458
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2459
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2460
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2464
ac_config_headers="$ac_config_headers build/config.h atk/atkmmconfig.h"
2467
am__api_version='1.11'
2469
# Find a good install program. We prefer a C program (faster),
2470
# so one script is as good as another. But avoid the broken or
2471
# incompatible versions:
2472
# SysV /etc/install, /usr/sbin/install
2473
# SunOS /usr/etc/install
2474
# IRIX /sbin/install
2476
# AmigaOS /C/install, which installs bootblocks on floppy discs
2477
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2478
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2479
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2480
# OS/2's system install, which has a completely different semantic
2481
# ./install, which can be erroneously created by make from ./install.sh.
2482
# Reject install programs that cannot install multiple files.
2483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2484
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2485
if test -z "$INSTALL"; then
2486
if test "${ac_cv_path_install+set}" = set; then :
2487
$as_echo_n "(cached) " >&6
2489
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493
test -z "$as_dir" && as_dir=.
2494
# Account for people who put trailing slashes in PATH elements.
2495
case $as_dir/ in #((
2496
./ | .// | /[cC]/* | \
2497
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2498
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2501
# OSF1 and SCO ODT 3.0 have their own names for install.
2502
# Don't use installbsd from OSF since it installs stuff as root
2504
for ac_prog in ginstall scoinst install; do
2505
for ac_exec_ext in '' $ac_executable_extensions; do
2506
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2507
if test $ac_prog = install &&
2508
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2509
# AIX install. It has an incompatible calling convention.
2511
elif test $ac_prog = install &&
2512
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2513
# program-specific install script used by HP pwplus--don't use.
2516
rm -rf conftest.one conftest.two conftest.dir
2517
echo one > conftest.one
2518
echo two > conftest.two
2520
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2521
test -s conftest.one && test -s conftest.two &&
2522
test -s conftest.dir/conftest.one &&
2523
test -s conftest.dir/conftest.two
2525
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2538
rm -rf conftest.one conftest.two conftest.dir
2541
if test "${ac_cv_path_install+set}" = set; then
2542
INSTALL=$ac_cv_path_install
2544
# As a last resort, use the slow shell script. Don't cache a
2545
# value for INSTALL within a source directory, because that will
2546
# break other packages using the cache if that directory is
2547
# removed, or if the value is a relative name.
2548
INSTALL=$ac_install_sh
2551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2552
$as_echo "$INSTALL" >&6; }
2554
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2555
# It thinks the first close brace ends the variable substitution.
2556
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2558
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2560
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2562
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2563
$as_echo_n "checking whether build environment is sane... " >&6; }
2566
echo timestamp > conftest.file
2567
# Reject unsafe characters in $srcdir or the absolute working directory
2568
# name. Accept space and tab only in the latter.
2572
*[\\\"\#\$\&\'\`$am_lf]*)
2573
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
2576
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2577
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
2580
# Do `set' in a subshell so we don't clobber the current shell's
2581
# arguments. Must try -L first in case configure is actually a
2582
# symlink; some systems play weird games with the mod time of symlinks
2583
# (eg FreeBSD returns the mod time of the symlink's containing
2586
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2587
if test "$*" = "X"; then
2589
set X `ls -t "$srcdir/configure" conftest.file`
2592
if test "$*" != "X $srcdir/configure conftest.file" \
2593
&& test "$*" != "X conftest.file $srcdir/configure"; then
2595
# If neither matched, then we have a broken ls. This can happen
2596
# if, for instance, CONFIG_SHELL is bash and it inherits a
2597
# broken ls alias from the environment. This has actually
2598
# happened. Such a system could not be considered "sane".
2599
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2600
alias in your environment" "$LINENO" 5
2603
test "$2" = conftest.file
2609
as_fn_error $? "newly created file is older than distributed files!
2610
Check your system clock" "$LINENO" 5
2612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2613
$as_echo "yes" >&6; }
2614
test "$program_prefix" != NONE &&
2615
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2616
# Use a double $ so make ignores it.
2617
test "$program_suffix" != NONE &&
2618
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2619
# Double any \ or $.
2620
# By default was `s,x,x', remove it if useless.
2621
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2622
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2624
# expand $ac_aux_dir to an absolute path
2625
am_aux_dir=`cd $ac_aux_dir && pwd`
2627
if test x"${MISSING+set}" != xset; then
2630
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2632
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2635
# Use eval to expand $SHELL
2636
if eval "$MISSING --run true"; then
2637
am_missing_run="$MISSING --run "
2640
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2641
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2644
if test x"${install_sh}" != xset; then
2647
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2649
install_sh="\${SHELL} $am_aux_dir/install-sh"
2653
# Installed binaries are usually stripped using `strip' when the user
2654
# run `make install-strip'. However `strip' might not be the right
2655
# tool to use in cross-compilation environments, therefore Automake
2656
# will honor the `STRIP' environment variable to overrule this program.
2657
if test "$cross_compiling" != no; then
2658
if test -n "$ac_tool_prefix"; then
2659
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2660
set dummy ${ac_tool_prefix}strip; ac_word=$2
2661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2662
$as_echo_n "checking for $ac_word... " >&6; }
2663
if test "${ac_cv_prog_STRIP+set}" = set; then :
2664
$as_echo_n "(cached) " >&6
2666
if test -n "$STRIP"; then
2667
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2669
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2673
test -z "$as_dir" && as_dir=.
2674
for ac_exec_ext in '' $ac_executable_extensions; do
2675
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2676
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2677
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2686
STRIP=$ac_cv_prog_STRIP
2687
if test -n "$STRIP"; then
2688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2689
$as_echo "$STRIP" >&6; }
2691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2692
$as_echo "no" >&6; }
2697
if test -z "$ac_cv_prog_STRIP"; then
2699
# Extract the first word of "strip", so it can be a program name with args.
2700
set dummy strip; ac_word=$2
2701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2702
$as_echo_n "checking for $ac_word... " >&6; }
2703
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2704
$as_echo_n "(cached) " >&6
2706
if test -n "$ac_ct_STRIP"; then
2707
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2709
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2713
test -z "$as_dir" && as_dir=.
2714
for ac_exec_ext in '' $ac_executable_extensions; do
2715
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2716
ac_cv_prog_ac_ct_STRIP="strip"
2717
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2726
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2727
if test -n "$ac_ct_STRIP"; then
2728
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2729
$as_echo "$ac_ct_STRIP" >&6; }
2731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2732
$as_echo "no" >&6; }
2735
if test "x$ac_ct_STRIP" = x; then
2738
case $cross_compiling:$ac_tool_warned in
2740
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2741
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2742
ac_tool_warned=yes ;;
2747
STRIP="$ac_cv_prog_STRIP"
2751
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2754
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2755
if test -z "$MKDIR_P"; then
2756
if test "${ac_cv_path_mkdir+set}" = set; then :
2757
$as_echo_n "(cached) " >&6
2759
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2760
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2763
test -z "$as_dir" && as_dir=.
2764
for ac_prog in mkdir gmkdir; do
2765
for ac_exec_ext in '' $ac_executable_extensions; do
2766
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2767
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2768
'mkdir (GNU coreutils) '* | \
2769
'mkdir (coreutils) '* | \
2770
'mkdir (fileutils) '4.1*)
2771
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2781
test -d ./--version && rmdir ./--version
2782
if test "${ac_cv_path_mkdir+set}" = set; then
2783
MKDIR_P="$ac_cv_path_mkdir -p"
2785
# As a last resort, use the slow shell script. Don't cache a
2786
# value for MKDIR_P within a source directory, because that will
2787
# break other packages using the cache if that directory is
2788
# removed, or if the value is a relative name.
2789
MKDIR_P="$ac_install_sh -d"
2792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2793
$as_echo "$MKDIR_P" >&6; }
2797
[\\/$]* | ?:[\\/]*) ;;
2798
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2801
for ac_prog in gawk mawk nawk awk
2803
# Extract the first word of "$ac_prog", so it can be a program name with args.
2804
set dummy $ac_prog; ac_word=$2
2805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806
$as_echo_n "checking for $ac_word... " >&6; }
2807
if test "${ac_cv_prog_AWK+set}" = set; then :
2808
$as_echo_n "(cached) " >&6
2810
if test -n "$AWK"; then
2811
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2813
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2817
test -z "$as_dir" && as_dir=.
2818
for ac_exec_ext in '' $ac_executable_extensions; do
2819
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2820
ac_cv_prog_AWK="$ac_prog"
2821
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2831
if test -n "$AWK"; then
2832
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2833
$as_echo "$AWK" >&6; }
2835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2836
$as_echo "no" >&6; }
2840
test -n "$AWK" && break
2843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2844
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2846
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2847
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2848
$as_echo_n "(cached) " >&6
2850
cat >conftest.make <<\_ACEOF
2853
@echo '@@@%%%=$(MAKE)=@@@%%%'
2855
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2856
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2858
eval ac_cv_prog_make_${ac_make}_set=yes;;
2860
eval ac_cv_prog_make_${ac_make}_set=no;;
2864
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2866
$as_echo "yes" >&6; }
2869
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2870
$as_echo "no" >&6; }
2871
SET_MAKE="MAKE=${MAKE-make}"
2874
rm -rf .tst 2>/dev/null
2875
mkdir .tst 2>/dev/null
2876
if test -d .tst; then
2881
rmdir .tst 2>/dev/null
2883
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2884
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2885
# is not polluted with repeated "-I."
2886
am__isrc=' -I$(srcdir)'
2887
# test to see if srcdir already configured
2888
if test -f $srcdir/config.status; then
2889
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2893
# test whether we have cygpath
2894
if test -z "$CYGPATH_W"; then
2895
if (cygpath --version) >/dev/null 2>/dev/null; then
2896
CYGPATH_W='cygpath -w'
2903
# Define the identity of the package.
2908
# Some tools Automake needs.
2910
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2913
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2916
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2919
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2922
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2924
# We need awk for the "check" target. The system "awk" is bad on
2926
# Always define AMTAR for backward compatibility.
2928
AMTAR=${AMTAR-"${am_missing_run}tar"}
2931
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2932
$as_echo_n "checking how to create a pax tar archive... " >&6; }
2933
# Loop over all known methods to create a tar archive until one works.
2934
_am_tools='gnutar pax cpio none'
2935
_am_tools=${am_cv_prog_tar_pax-$_am_tools}
2936
# Do not fold the above two line into one, because Tru64 sh and
2937
# Solaris sh will not grok spaces in the rhs of `-'.
2938
for _am_tool in $_am_tools
2942
for _am_tar in tar gnutar gtar;
2944
{ echo "$as_me:$LINENO: $_am_tar --version" >&5
2945
($_am_tar --version) >&5 2>&5
2947
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948
(exit $ac_status); } && break
2950
am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2951
am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2952
am__untar="$_am_tar -xf -"
2955
# Must skip GNU tar: if it does not support --format= it doesn't create
2956
# ustar tarball either.
2957
(tar --version) >/dev/null 2>&1 && continue
2958
am__tar='tar chf - "$$tardir"'
2959
am__tar_='tar chf - "$tardir"'
2960
am__untar='tar xf -'
2963
am__tar='pax -L -x pax -w "$$tardir"'
2964
am__tar_='pax -L -x pax -w "$tardir"'
2968
am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2969
am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2970
am__untar='cpio -i -H pax -d'
2979
# If the value was cached, stop now. We just wanted to have am__tar
2980
# and am__untar set.
2981
test -n "${am_cv_prog_tar_pax}" && break
2983
# tar/untar a dummy directory, and stop if the command works
2986
echo GrepMe > conftest.dir/file
2987
{ echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2988
(tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2990
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2991
(exit $ac_status); }
2993
if test -s conftest.tar; then
2994
{ echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2995
($am__untar <conftest.tar) >&5 2>&5
2997
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998
(exit $ac_status); }
2999
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3004
if test "${am_cv_prog_tar_pax+set}" = set; then :
3005
$as_echo_n "(cached) " >&6
3007
am_cv_prog_tar_pax=$_am_tool
3010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
3011
$as_echo "$am_cv_prog_tar_pax" >&6; }
3017
# Check whether --enable-silent-rules was given.
3018
if test "${enable_silent_rules+set}" = set; then :
3019
enableval=$enable_silent_rules;
3022
case $enable_silent_rules in
3023
yes) AM_DEFAULT_VERBOSITY=0;;
3024
no) AM_DEFAULT_VERBOSITY=1;;
3025
*) AM_DEFAULT_VERBOSITY=1;;
3030
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3031
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3032
# Check whether --enable-maintainer-mode was given.
3033
if test "${enable_maintainer_mode+set}" = set; then :
3034
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3036
USE_MAINTAINER_MODE=no
3039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3040
$as_echo "$USE_MAINTAINER_MODE" >&6; }
3041
if test $USE_MAINTAINER_MODE = yes; then
3042
MAINTAINER_MODE_TRUE=
3043
MAINTAINER_MODE_FALSE='#'
3045
MAINTAINER_MODE_TRUE='#'
3046
MAINTAINER_MODE_FALSE=
3049
MAINT=$MAINTAINER_MODE_TRUE
3056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports GNU make features" >&5
3057
$as_echo_n "checking whether ${MAKE-make} supports GNU make features... " >&6; }
3058
cat >conftest.make <<'_MMEOF'
3059
override reverse = $(2)$(subst ,, )$(1)
3060
override result := $(word 2,$(call reverse,success,failure))
3061
all: ; test '$(result)' = success
3064
if ${MAKE-make} -f conftest.make >&5 2>&5; then :
3070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_gnu_make" >&5
3071
$as_echo "$mm_gnu_make" >&6; }
3072
if test "x$mm_gnu_make" != xyes; then :
3073
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3074
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3075
as_fn_error $? "The GNU make program is required to build $PACKAGE_NAME.
3076
See \`config.log' for more details" "$LINENO" 5 ; }
3079
ATKMM_MODULE_NAME='atkmm-1.6'
3081
ATKMM_VERSION='2.22.1'
3083
ATKMM_API_VERSION='1.6'
3085
ATKMM_MAJOR_VERSION=2
3088
$as_echo "#define ATKMM_MAJOR_VERSION 2" >>confdefs.h
3090
ATKMM_MINOR_VERSION=22
3093
$as_echo "#define ATKMM_MINOR_VERSION 22" >>confdefs.h
3095
ATKMM_MICRO_VERSION=1
3098
$as_echo "#define ATKMM_MICRO_VERSION 1" >>confdefs.h
3102
# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
3103
ATKMM_SO_VERSION=2:0:1
3107
ac_cpp='$CXXCPP $CPPFLAGS'
3108
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3109
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3110
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3111
if test -z "$CXX"; then
3112
if test -n "$CCC"; then
3115
if test -n "$ac_tool_prefix"; then
3116
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3118
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3119
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3121
$as_echo_n "checking for $ac_word... " >&6; }
3122
if test "${ac_cv_prog_CXX+set}" = set; then :
3123
$as_echo_n "(cached) " >&6
3125
if test -n "$CXX"; then
3126
ac_cv_prog_CXX="$CXX" # Let the user override the test.
3128
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3132
test -z "$as_dir" && as_dir=.
3133
for ac_exec_ext in '' $ac_executable_extensions; do
3134
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3135
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3136
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3146
if test -n "$CXX"; then
3147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3148
$as_echo "$CXX" >&6; }
3150
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3151
$as_echo "no" >&6; }
3155
test -n "$CXX" && break
3158
if test -z "$CXX"; then
3160
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3162
# Extract the first word of "$ac_prog", so it can be a program name with args.
3163
set dummy $ac_prog; ac_word=$2
3164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3165
$as_echo_n "checking for $ac_word... " >&6; }
3166
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3167
$as_echo_n "(cached) " >&6
3169
if test -n "$ac_ct_CXX"; then
3170
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3172
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176
test -z "$as_dir" && as_dir=.
3177
for ac_exec_ext in '' $ac_executable_extensions; do
3178
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3179
ac_cv_prog_ac_ct_CXX="$ac_prog"
3180
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3189
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3190
if test -n "$ac_ct_CXX"; then
3191
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3192
$as_echo "$ac_ct_CXX" >&6; }
3194
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3195
$as_echo "no" >&6; }
3199
test -n "$ac_ct_CXX" && break
3202
if test "x$ac_ct_CXX" = x; then
3205
case $cross_compiling:$ac_tool_warned in
3207
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3208
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3209
ac_tool_warned=yes ;;
3217
# Provide some information about the compiler.
3218
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3221
for ac_option in --version -v -V -qversion; do
3222
{ { ac_try="$ac_compiler $ac_option >&5"
3224
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3225
*) ac_try_echo=$ac_try;;
3227
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3228
$as_echo "$ac_try_echo"; } >&5
3229
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3231
if test -s conftest.err; then
3233
... rest of stderr output deleted ...
3234
10q' conftest.err >conftest.er1
3235
cat conftest.er1 >&5
3237
rm -f conftest.er1 conftest.err
3238
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3239
test $ac_status = 0; }
3242
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3243
/* end confdefs.h. */
3253
ac_clean_files_save=$ac_clean_files
3254
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3255
# Try to create an executable without -o first, disregard a.out.
3256
# It will help us diagnose broken compilers, and finding out an intuition
3258
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3259
$as_echo_n "checking whether the C++ compiler works... " >&6; }
3260
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3262
# The possible output files:
3263
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3266
for ac_file in $ac_files
3269
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3270
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3275
if { { ac_try="$ac_link_default"
3277
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3278
*) ac_try_echo=$ac_try;;
3280
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3281
$as_echo "$ac_try_echo"; } >&5
3282
(eval "$ac_link_default") 2>&5
3284
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3285
test $ac_status = 0; }; then :
3286
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3287
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3288
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3289
# so that the user can short-circuit this test for compilers unknown to
3291
for ac_file in $ac_files ''
3293
test -f "$ac_file" || continue
3295
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3298
# We found the default executable, but exeext='' is most
3302
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3304
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3306
# We set ac_cv_exeext here because the later test for it is not
3307
# safe: cross compilers may not add the suffix if given an `-o'
3308
# argument, so we may need to know it at that point already.
3309
# Even if this section looks crufty: it has the advantage of
3316
test "$ac_cv_exeext" = no && ac_cv_exeext=
3321
if test -z "$ac_file"; then :
3322
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3323
$as_echo "no" >&6; }
3324
$as_echo "$as_me: failed program was:" >&5
3325
sed 's/^/| /' conftest.$ac_ext >&5
3327
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3328
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3329
as_fn_error 77 "C++ compiler cannot create executables
3330
See \`config.log' for more details" "$LINENO" 5 ; }
3332
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3333
$as_echo "yes" >&6; }
3335
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3336
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3337
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3338
$as_echo "$ac_file" >&6; }
3339
ac_exeext=$ac_cv_exeext
3341
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3342
ac_clean_files=$ac_clean_files_save
3343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3344
$as_echo_n "checking for suffix of executables... " >&6; }
3345
if { { ac_try="$ac_link"
3347
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3348
*) ac_try_echo=$ac_try;;
3350
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3351
$as_echo "$ac_try_echo"; } >&5
3352
(eval "$ac_link") 2>&5
3354
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3355
test $ac_status = 0; }; then :
3356
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3357
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3358
# work properly (i.e., refer to `conftest.exe'), while it won't with
3360
for ac_file in conftest.exe conftest conftest.*; do
3361
test -f "$ac_file" || continue
3363
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3364
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3370
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3371
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3372
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3373
See \`config.log' for more details" "$LINENO" 5 ; }
3375
rm -f conftest conftest$ac_cv_exeext
3376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3377
$as_echo "$ac_cv_exeext" >&6; }
3379
rm -f conftest.$ac_ext
3380
EXEEXT=$ac_cv_exeext
3382
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383
/* end confdefs.h. */
3388
FILE *f = fopen ("conftest.out", "w");
3389
return ferror (f) || fclose (f) != 0;
3395
ac_clean_files="$ac_clean_files conftest.out"
3396
# Check that the compiler produces executables we can run. If not, either
3397
# the compiler is broken, or we cross compile.
3398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3399
$as_echo_n "checking whether we are cross compiling... " >&6; }
3400
if test "$cross_compiling" != yes; then
3401
{ { ac_try="$ac_link"
3403
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3404
*) ac_try_echo=$ac_try;;
3406
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3407
$as_echo "$ac_try_echo"; } >&5
3408
(eval "$ac_link") 2>&5
3410
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3411
test $ac_status = 0; }
3412
if { ac_try='./conftest$ac_cv_exeext'
3413
{ { case "(($ac_try" in
3414
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3415
*) ac_try_echo=$ac_try;;
3417
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3418
$as_echo "$ac_try_echo"; } >&5
3419
(eval "$ac_try") 2>&5
3421
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3422
test $ac_status = 0; }; }; then
3425
if test "$cross_compiling" = maybe; then
3428
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3429
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3430
as_fn_error $? "cannot run C++ compiled programs.
3431
If you meant to cross compile, use \`--host'.
3432
See \`config.log' for more details" "$LINENO" 5 ; }
3436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3437
$as_echo "$cross_compiling" >&6; }
3439
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3440
ac_clean_files=$ac_clean_files_save
3441
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3442
$as_echo_n "checking for suffix of object files... " >&6; }
3443
if test "${ac_cv_objext+set}" = set; then :
3444
$as_echo_n "(cached) " >&6
3446
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3447
/* end confdefs.h. */
3457
rm -f conftest.o conftest.obj
3458
if { { ac_try="$ac_compile"
3460
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3461
*) ac_try_echo=$ac_try;;
3463
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3464
$as_echo "$ac_try_echo"; } >&5
3465
(eval "$ac_compile") 2>&5
3467
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3468
test $ac_status = 0; }; then :
3469
for ac_file in conftest.o conftest.obj conftest.*; do
3470
test -f "$ac_file" || continue;
3472
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3473
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3478
$as_echo "$as_me: failed program was:" >&5
3479
sed 's/^/| /' conftest.$ac_ext >&5
3481
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3482
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3483
as_fn_error $? "cannot compute suffix of object files: cannot compile
3484
See \`config.log' for more details" "$LINENO" 5 ; }
3486
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3488
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3489
$as_echo "$ac_cv_objext" >&6; }
3490
OBJEXT=$ac_cv_objext
3492
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3493
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3494
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3495
$as_echo_n "(cached) " >&6
3497
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498
/* end confdefs.h. */
3511
if ac_fn_cxx_try_compile "$LINENO"; then :
3516
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3517
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3520
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3521
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3522
if test $ac_compiler_gnu = yes; then
3527
ac_test_CXXFLAGS=${CXXFLAGS+set}
3528
ac_save_CXXFLAGS=$CXXFLAGS
3529
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3530
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3531
if test "${ac_cv_prog_cxx_g+set}" = set; then :
3532
$as_echo_n "(cached) " >&6
3534
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3535
ac_cxx_werror_flag=yes
3538
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3539
/* end confdefs.h. */
3549
if ac_fn_cxx_try_compile "$LINENO"; then :
3550
ac_cv_prog_cxx_g=yes
3553
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554
/* end confdefs.h. */
3564
if ac_fn_cxx_try_compile "$LINENO"; then :
3567
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3569
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3570
/* end confdefs.h. */
3580
if ac_fn_cxx_try_compile "$LINENO"; then :
3581
ac_cv_prog_cxx_g=yes
3583
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3585
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3587
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3588
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3591
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3592
if test "$ac_test_CXXFLAGS" = set; then
3593
CXXFLAGS=$ac_save_CXXFLAGS
3594
elif test $ac_cv_prog_cxx_g = yes; then
3595
if test "$GXX" = yes; then
3601
if test "$GXX" = yes; then
3608
ac_cpp='$CPP $CPPFLAGS'
3609
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3610
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3611
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3612
DEPDIR="${am__leading_dot}deps"
3614
ac_config_commands="$ac_config_commands depfiles"
3617
am_make=${MAKE-make}
3618
cat > confinc << 'END'
3620
@echo this is the am__doit target
3623
# If we don't find an include directive, just comment out the code.
3624
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3625
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3629
# First try GNU make style include.
3630
echo "include confinc" > confmf
3631
# Ignore all kinds of additional output from `make'.
3632
case `$am_make -s -f confmf 2> /dev/null` in #(
3633
*the\ am__doit\ target*)
3639
# Now try BSD make style include.
3640
if test "$am__include" = "#"; then
3641
echo '.include "confinc"' > confmf
3642
case `$am_make -s -f confmf 2> /dev/null` in #(
3643
*the\ am__doit\ target*)
3644
am__include=.include
3652
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3653
$as_echo "$_am_result" >&6; }
3654
rm -f confinc confmf
3656
# Check whether --enable-dependency-tracking was given.
3657
if test "${enable_dependency_tracking+set}" = set; then :
3658
enableval=$enable_dependency_tracking;
3661
if test "x$enable_dependency_tracking" != xno; then
3662
am_depcomp="$ac_aux_dir/depcomp"
3665
if test "x$enable_dependency_tracking" != xno; then
3675
depcc="$CXX" am_compiler_list=
3677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3678
$as_echo_n "checking dependency style of $depcc... " >&6; }
3679
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
3680
$as_echo_n "(cached) " >&6
3682
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3683
# We make a subdir and do the tests there. Otherwise we can end up
3684
# making bogus files that we don't know about and never remove. For
3685
# instance it was reported that on HP-UX the gcc test will end up
3686
# making a dummy file named `D' -- because `-MD' means `put the output
3689
# Copy depcomp to subdir because otherwise we won't find it if we're
3690
# using a relative directory.
3691
cp "$am_depcomp" conftest.dir
3693
# We will build objects and dependencies in a subdirectory because
3694
# it helps to detect inapplicable dependency modes. For instance
3695
# both Tru64's cc and ICC support -MD to output dependencies as a
3696
# side effect of compilation, but ICC will put the dependencies in
3697
# the current directory while Tru64 will put them in the object
3701
am_cv_CXX_dependencies_compiler_type=none
3702
if test "$am_compiler_list" = ""; then
3703
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3706
case " $depcc " in #(
3707
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3710
for depmode in $am_compiler_list; do
3711
# Setup a source with many dependencies, because some compilers
3712
# like to wrap large dependency lists on column 80 (with \), and
3713
# we should not choose a depcomp mode which is confused by this.
3715
# We need to recreate these files for each test, as the compiler may
3716
# overwrite some of them when testing with obscure command lines.
3717
# This happens at least with the AIX C compiler.
3719
for i in 1 2 3 4 5 6; do
3720
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3721
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3722
# Solaris 8's {/usr,}/bin/sh.
3723
touch sub/conftst$i.h
3725
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3727
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3728
# mode. It turns out that the SunPro C++ compiler does not properly
3729
# handle `-M -o', and we need to detect this. Also, some Intel
3730
# versions had trouble with output in subdirs
3731
am__obj=sub/conftest.${OBJEXT-o}
3732
am__minus_obj="-o $am__obj"
3735
# This depmode causes a compiler race in universal mode.
3736
test "$am__universal" = false || continue
3739
# after this tag, mechanisms are not by side-effect, so they'll
3740
# only be used when explicitly requested
3741
if test "x$enable_dependency_tracking" = xyes; then
3747
msvisualcpp | msvcmsys)
3748
# This compiler won't grok `-c -o', but also, the minuso test has
3749
# not run yet. These depmodes are late enough in the game, and
3750
# so weak that their functioning should not be impacted.
3751
am__obj=conftest.${OBJEXT-o}
3756
if depmode=$depmode \
3757
source=sub/conftest.c object=$am__obj \
3758
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3759
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3760
>/dev/null 2>conftest.err &&
3761
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3762
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3763
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3764
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3765
# icc doesn't choke on unknown options, it will just issue warnings
3766
# or remarks (even with -Werror). So we grep stderr for any message
3767
# that says an option was ignored or not supported.
3768
# When given -MP, icc 7.0 and 7.1 complain thusly:
3769
# icc: Command line warning: ignoring option '-M'; no argument required
3770
# The diagnosis changed in icc 8.0:
3771
# icc: Command line remark: option '-MP' not supported
3772
if (grep 'ignoring option' conftest.err ||
3773
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3774
am_cv_CXX_dependencies_compiler_type=$depmode
3783
am_cv_CXX_dependencies_compiler_type=none
3787
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3788
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3789
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3792
test "x$enable_dependency_tracking" != xno \
3793
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3794
am__fastdepCXX_TRUE=
3795
am__fastdepCXX_FALSE='#'
3797
am__fastdepCXX_TRUE='#'
3798
am__fastdepCXX_FALSE=
3802
# Check whether --enable-static was given.
3803
if test "${enable_static+set}" = set; then :
3804
enableval=$enable_static; p=${PACKAGE-default}
3806
yes) enable_static=yes ;;
3807
no) enable_static=no ;;
3810
# Look at the argument we got. We use all the common list separators.
3811
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3812
for pkg in $enableval; do
3814
if test "X$pkg" = "X$p"; then
3833
# Make sure we can run config.sub.
3834
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3835
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3838
$as_echo_n "checking build system type... " >&6; }
3839
if test "${ac_cv_build+set}" = set; then :
3840
$as_echo_n "(cached) " >&6
3842
ac_build_alias=$build_alias
3843
test "x$ac_build_alias" = x &&
3844
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3845
test "x$ac_build_alias" = x &&
3846
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3847
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3848
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3852
$as_echo "$ac_cv_build" >&6; }
3853
case $ac_cv_build in
3855
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
3858
ac_save_IFS=$IFS; IFS='-'
3864
# Remember, the first character of IFS is used to create $*,
3865
# except with old shells:
3868
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3872
$as_echo_n "checking host system type... " >&6; }
3873
if test "${ac_cv_host+set}" = set; then :
3874
$as_echo_n "(cached) " >&6
3876
if test "x$host_alias" = x; then
3877
ac_cv_host=$ac_cv_build
3879
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3880
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3885
$as_echo "$ac_cv_host" >&6; }
3888
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
3891
ac_save_IFS=$IFS; IFS='-'
3897
# Remember, the first character of IFS is used to create $*,
3898
# except with old shells:
3901
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3904
enable_win32_dll=yes
3907
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
3908
if test -n "$ac_tool_prefix"; then
3909
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3910
set dummy ${ac_tool_prefix}as; ac_word=$2
3911
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3912
$as_echo_n "checking for $ac_word... " >&6; }
3913
if test "${ac_cv_prog_AS+set}" = set; then :
3914
$as_echo_n "(cached) " >&6
3916
if test -n "$AS"; then
3917
ac_cv_prog_AS="$AS" # Let the user override the test.
3919
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3923
test -z "$as_dir" && as_dir=.
3924
for ac_exec_ext in '' $ac_executable_extensions; do
3925
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3926
ac_cv_prog_AS="${ac_tool_prefix}as"
3927
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3937
if test -n "$AS"; then
3938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3939
$as_echo "$AS" >&6; }
3941
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3942
$as_echo "no" >&6; }
3947
if test -z "$ac_cv_prog_AS"; then
3949
# Extract the first word of "as", so it can be a program name with args.
3950
set dummy as; ac_word=$2
3951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3952
$as_echo_n "checking for $ac_word... " >&6; }
3953
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
3954
$as_echo_n "(cached) " >&6
3956
if test -n "$ac_ct_AS"; then
3957
ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3959
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3963
test -z "$as_dir" && as_dir=.
3964
for ac_exec_ext in '' $ac_executable_extensions; do
3965
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3966
ac_cv_prog_ac_ct_AS="as"
3967
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3976
ac_ct_AS=$ac_cv_prog_ac_ct_AS
3977
if test -n "$ac_ct_AS"; then
3978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3979
$as_echo "$ac_ct_AS" >&6; }
3981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3982
$as_echo "no" >&6; }
3985
if test "x$ac_ct_AS" = x; then
3988
case $cross_compiling:$ac_tool_warned in
3990
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3991
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3992
ac_tool_warned=yes ;;
4000
if test -n "$ac_tool_prefix"; then
4001
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4002
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4004
$as_echo_n "checking for $ac_word... " >&6; }
4005
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
4006
$as_echo_n "(cached) " >&6
4008
if test -n "$DLLTOOL"; then
4009
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4011
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4015
test -z "$as_dir" && as_dir=.
4016
for ac_exec_ext in '' $ac_executable_extensions; do
4017
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4018
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4019
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4028
DLLTOOL=$ac_cv_prog_DLLTOOL
4029
if test -n "$DLLTOOL"; then
4030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4031
$as_echo "$DLLTOOL" >&6; }
4033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4034
$as_echo "no" >&6; }
4039
if test -z "$ac_cv_prog_DLLTOOL"; then
4040
ac_ct_DLLTOOL=$DLLTOOL
4041
# Extract the first word of "dlltool", so it can be a program name with args.
4042
set dummy dlltool; ac_word=$2
4043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4044
$as_echo_n "checking for $ac_word... " >&6; }
4045
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
4046
$as_echo_n "(cached) " >&6
4048
if test -n "$ac_ct_DLLTOOL"; then
4049
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4051
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4055
test -z "$as_dir" && as_dir=.
4056
for ac_exec_ext in '' $ac_executable_extensions; do
4057
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4058
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4059
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4068
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4069
if test -n "$ac_ct_DLLTOOL"; then
4070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4071
$as_echo "$ac_ct_DLLTOOL" >&6; }
4073
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4074
$as_echo "no" >&6; }
4077
if test "x$ac_ct_DLLTOOL" = x; then
4080
case $cross_compiling:$ac_tool_warned in
4082
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4083
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4084
ac_tool_warned=yes ;;
4086
DLLTOOL=$ac_ct_DLLTOOL
4089
DLLTOOL="$ac_cv_prog_DLLTOOL"
4092
if test -n "$ac_tool_prefix"; then
4093
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4094
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4095
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4096
$as_echo_n "checking for $ac_word... " >&6; }
4097
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
4098
$as_echo_n "(cached) " >&6
4100
if test -n "$OBJDUMP"; then
4101
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4103
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4107
test -z "$as_dir" && as_dir=.
4108
for ac_exec_ext in '' $ac_executable_extensions; do
4109
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4110
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4111
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4120
OBJDUMP=$ac_cv_prog_OBJDUMP
4121
if test -n "$OBJDUMP"; then
4122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4123
$as_echo "$OBJDUMP" >&6; }
4125
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4126
$as_echo "no" >&6; }
4131
if test -z "$ac_cv_prog_OBJDUMP"; then
4132
ac_ct_OBJDUMP=$OBJDUMP
4133
# Extract the first word of "objdump", so it can be a program name with args.
4134
set dummy objdump; ac_word=$2
4135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4136
$as_echo_n "checking for $ac_word... " >&6; }
4137
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
4138
$as_echo_n "(cached) " >&6
4140
if test -n "$ac_ct_OBJDUMP"; then
4141
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4143
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4147
test -z "$as_dir" && as_dir=.
4148
for ac_exec_ext in '' $ac_executable_extensions; do
4149
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4150
ac_cv_prog_ac_ct_OBJDUMP="objdump"
4151
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4160
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4161
if test -n "$ac_ct_OBJDUMP"; then
4162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4163
$as_echo "$ac_ct_OBJDUMP" >&6; }
4165
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4166
$as_echo "no" >&6; }
4169
if test "x$ac_ct_OBJDUMP" = x; then
4172
case $cross_compiling:$ac_tool_warned in
4174
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4175
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4176
ac_tool_warned=yes ;;
4178
OBJDUMP=$ac_ct_OBJDUMP
4181
OBJDUMP="$ac_cv_prog_OBJDUMP"
4187
test -z "$AS" && AS=as
4193
test -z "$DLLTOOL" && DLLTOOL=dlltool
4199
test -z "$OBJDUMP" && OBJDUMP=objdump
4209
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4210
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4215
macro_version='2.2.6b'
4216
macro_revision='1.3017'
4230
ltmain="$ac_aux_dir/ltmain.sh"
4233
ac_cpp='$CPP $CPPFLAGS'
4234
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4235
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4236
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4237
if test -n "$ac_tool_prefix"; then
4238
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4239
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4240
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4241
$as_echo_n "checking for $ac_word... " >&6; }
4242
if test "${ac_cv_prog_CC+set}" = set; then :
4243
$as_echo_n "(cached) " >&6
4245
if test -n "$CC"; then
4246
ac_cv_prog_CC="$CC" # Let the user override the test.
4248
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4252
test -z "$as_dir" && as_dir=.
4253
for ac_exec_ext in '' $ac_executable_extensions; do
4254
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4255
ac_cv_prog_CC="${ac_tool_prefix}gcc"
4256
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4266
if test -n "$CC"; then
4267
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4268
$as_echo "$CC" >&6; }
4270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4271
$as_echo "no" >&6; }
4276
if test -z "$ac_cv_prog_CC"; then
4278
# Extract the first word of "gcc", so it can be a program name with args.
4279
set dummy gcc; ac_word=$2
4280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4281
$as_echo_n "checking for $ac_word... " >&6; }
4282
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4283
$as_echo_n "(cached) " >&6
4285
if test -n "$ac_ct_CC"; then
4286
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4288
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4292
test -z "$as_dir" && as_dir=.
4293
for ac_exec_ext in '' $ac_executable_extensions; do
4294
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4295
ac_cv_prog_ac_ct_CC="gcc"
4296
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4305
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4306
if test -n "$ac_ct_CC"; then
4307
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4308
$as_echo "$ac_ct_CC" >&6; }
4310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4311
$as_echo "no" >&6; }
4314
if test "x$ac_ct_CC" = x; then
4317
case $cross_compiling:$ac_tool_warned in
4319
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4320
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4321
ac_tool_warned=yes ;;
4329
if test -z "$CC"; then
4330
if test -n "$ac_tool_prefix"; then
4331
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4332
set dummy ${ac_tool_prefix}cc; ac_word=$2
4333
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4334
$as_echo_n "checking for $ac_word... " >&6; }
4335
if test "${ac_cv_prog_CC+set}" = set; then :
4336
$as_echo_n "(cached) " >&6
4338
if test -n "$CC"; then
4339
ac_cv_prog_CC="$CC" # Let the user override the test.
4341
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4345
test -z "$as_dir" && as_dir=.
4346
for ac_exec_ext in '' $ac_executable_extensions; do
4347
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4348
ac_cv_prog_CC="${ac_tool_prefix}cc"
4349
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4359
if test -n "$CC"; then
4360
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4361
$as_echo "$CC" >&6; }
4363
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4364
$as_echo "no" >&6; }
4370
if test -z "$CC"; then
4371
# Extract the first word of "cc", so it can be a program name with args.
4372
set dummy cc; ac_word=$2
4373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4374
$as_echo_n "checking for $ac_word... " >&6; }
4375
if test "${ac_cv_prog_CC+set}" = set; then :
4376
$as_echo_n "(cached) " >&6
4378
if test -n "$CC"; then
4379
ac_cv_prog_CC="$CC" # Let the user override the test.
4382
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4386
test -z "$as_dir" && as_dir=.
4387
for ac_exec_ext in '' $ac_executable_extensions; do
4388
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4389
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4390
ac_prog_rejected=yes
4394
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4401
if test $ac_prog_rejected = yes; then
4402
# We found a bogon in the path, so make sure we never use it.
4403
set dummy $ac_cv_prog_CC
4405
if test $# != 0; then
4406
# We chose a different compiler from the bogus one.
4407
# However, it has the same basename, so the bogon will be chosen
4408
# first if we set CC to just the basename; use the full file name.
4410
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4416
if test -n "$CC"; then
4417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4418
$as_echo "$CC" >&6; }
4420
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421
$as_echo "no" >&6; }
4426
if test -z "$CC"; then
4427
if test -n "$ac_tool_prefix"; then
4428
for ac_prog in cl.exe
4430
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4431
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4432
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4433
$as_echo_n "checking for $ac_word... " >&6; }
4434
if test "${ac_cv_prog_CC+set}" = set; then :
4435
$as_echo_n "(cached) " >&6
4437
if test -n "$CC"; then
4438
ac_cv_prog_CC="$CC" # Let the user override the test.
4440
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4444
test -z "$as_dir" && as_dir=.
4445
for ac_exec_ext in '' $ac_executable_extensions; do
4446
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4447
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4448
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4458
if test -n "$CC"; then
4459
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4460
$as_echo "$CC" >&6; }
4462
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4463
$as_echo "no" >&6; }
4467
test -n "$CC" && break
4470
if test -z "$CC"; then
4472
for ac_prog in cl.exe
4474
# Extract the first word of "$ac_prog", so it can be a program name with args.
4475
set dummy $ac_prog; ac_word=$2
4476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4477
$as_echo_n "checking for $ac_word... " >&6; }
4478
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4479
$as_echo_n "(cached) " >&6
4481
if test -n "$ac_ct_CC"; then
4482
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4484
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4488
test -z "$as_dir" && as_dir=.
4489
for ac_exec_ext in '' $ac_executable_extensions; do
4490
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4491
ac_cv_prog_ac_ct_CC="$ac_prog"
4492
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4501
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4502
if test -n "$ac_ct_CC"; then
4503
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4504
$as_echo "$ac_ct_CC" >&6; }
4506
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4507
$as_echo "no" >&6; }
4511
test -n "$ac_ct_CC" && break
4514
if test "x$ac_ct_CC" = x; then
4517
case $cross_compiling:$ac_tool_warned in
4519
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4520
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4521
ac_tool_warned=yes ;;
4530
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4531
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4532
as_fn_error $? "no acceptable C compiler found in \$PATH
4533
See \`config.log' for more details" "$LINENO" 5 ; }
4535
# Provide some information about the compiler.
4536
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4539
for ac_option in --version -v -V -qversion; do
4540
{ { ac_try="$ac_compiler $ac_option >&5"
4542
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4543
*) ac_try_echo=$ac_try;;
4545
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4546
$as_echo "$ac_try_echo"; } >&5
4547
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4549
if test -s conftest.err; then
4551
... rest of stderr output deleted ...
4552
10q' conftest.err >conftest.er1
4553
cat conftest.er1 >&5
4555
rm -f conftest.er1 conftest.err
4556
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4557
test $ac_status = 0; }
4560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4561
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4562
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4563
$as_echo_n "(cached) " >&6
4565
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566
/* end confdefs.h. */
4579
if ac_fn_c_try_compile "$LINENO"; then :
4584
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4588
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4589
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4590
if test $ac_compiler_gnu = yes; then
4595
ac_test_CFLAGS=${CFLAGS+set}
4596
ac_save_CFLAGS=$CFLAGS
4597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4598
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4599
if test "${ac_cv_prog_cc_g+set}" = set; then :
4600
$as_echo_n "(cached) " >&6
4602
ac_save_c_werror_flag=$ac_c_werror_flag
4603
ac_c_werror_flag=yes
4606
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4607
/* end confdefs.h. */
4617
if ac_fn_c_try_compile "$LINENO"; then :
4621
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4622
/* end confdefs.h. */
4632
if ac_fn_c_try_compile "$LINENO"; then :
4635
ac_c_werror_flag=$ac_save_c_werror_flag
4637
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4638
/* end confdefs.h. */
4648
if ac_fn_c_try_compile "$LINENO"; then :
4651
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4653
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4655
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4656
ac_c_werror_flag=$ac_save_c_werror_flag
4658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4659
$as_echo "$ac_cv_prog_cc_g" >&6; }
4660
if test "$ac_test_CFLAGS" = set; then
4661
CFLAGS=$ac_save_CFLAGS
4662
elif test $ac_cv_prog_cc_g = yes; then
4663
if test "$GCC" = yes; then
4669
if test "$GCC" = yes; then
4675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4676
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4677
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4678
$as_echo_n "(cached) " >&6
4680
ac_cv_prog_cc_c89=no
4682
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4683
/* end confdefs.h. */
4686
#include <sys/types.h>
4687
#include <sys/stat.h>
4688
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4689
struct buf { int x; };
4690
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4691
static char *e (p, i)
4697
static char *f (char * (*g) (char **, int), char **p, ...)
4702
s = g (p, va_arg (v,int));
4707
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4708
function prototypes and stuff, but not '\xHH' hex character constants.
4709
These don't provoke an error unfortunately, instead are silently treated
4710
as 'x'. The following induces an error, until -std is added to get
4711
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4712
array size at least. It's necessary to write '\x00'==0 to get something
4713
that's true only with -std. */
4714
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4716
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4717
inside strings and character constants. */
4719
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4721
int test (int i, double x);
4722
struct s1 {int (*f) (int a);};
4723
struct s2 {int (*f) (double a);};
4724
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4730
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4735
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4736
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4738
CC="$ac_save_CC $ac_arg"
4739
if ac_fn_c_try_compile "$LINENO"; then :
4740
ac_cv_prog_cc_c89=$ac_arg
4742
rm -f core conftest.err conftest.$ac_objext
4743
test "x$ac_cv_prog_cc_c89" != "xno" && break
4745
rm -f conftest.$ac_ext
4750
case "x$ac_cv_prog_cc_c89" in
4752
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4753
$as_echo "none needed" >&6; } ;;
4755
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4756
$as_echo "unsupported" >&6; } ;;
4758
CC="$CC $ac_cv_prog_cc_c89"
4759
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4760
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4762
if test "x$ac_cv_prog_cc_c89" != xno; then :
4767
ac_cpp='$CPP $CPPFLAGS'
4768
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4769
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4770
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4772
depcc="$CC" am_compiler_list=
4774
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4775
$as_echo_n "checking dependency style of $depcc... " >&6; }
4776
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
4777
$as_echo_n "(cached) " >&6
4779
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4780
# We make a subdir and do the tests there. Otherwise we can end up
4781
# making bogus files that we don't know about and never remove. For
4782
# instance it was reported that on HP-UX the gcc test will end up
4783
# making a dummy file named `D' -- because `-MD' means `put the output
4786
# Copy depcomp to subdir because otherwise we won't find it if we're
4787
# using a relative directory.
4788
cp "$am_depcomp" conftest.dir
4790
# We will build objects and dependencies in a subdirectory because
4791
# it helps to detect inapplicable dependency modes. For instance
4792
# both Tru64's cc and ICC support -MD to output dependencies as a
4793
# side effect of compilation, but ICC will put the dependencies in
4794
# the current directory while Tru64 will put them in the object
4798
am_cv_CC_dependencies_compiler_type=none
4799
if test "$am_compiler_list" = ""; then
4800
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4803
case " $depcc " in #(
4804
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4807
for depmode in $am_compiler_list; do
4808
# Setup a source with many dependencies, because some compilers
4809
# like to wrap large dependency lists on column 80 (with \), and
4810
# we should not choose a depcomp mode which is confused by this.
4812
# We need to recreate these files for each test, as the compiler may
4813
# overwrite some of them when testing with obscure command lines.
4814
# This happens at least with the AIX C compiler.
4816
for i in 1 2 3 4 5 6; do
4817
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4818
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4819
# Solaris 8's {/usr,}/bin/sh.
4820
touch sub/conftst$i.h
4822
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4824
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4825
# mode. It turns out that the SunPro C++ compiler does not properly
4826
# handle `-M -o', and we need to detect this. Also, some Intel
4827
# versions had trouble with output in subdirs
4828
am__obj=sub/conftest.${OBJEXT-o}
4829
am__minus_obj="-o $am__obj"
4832
# This depmode causes a compiler race in universal mode.
4833
test "$am__universal" = false || continue
4836
# after this tag, mechanisms are not by side-effect, so they'll
4837
# only be used when explicitly requested
4838
if test "x$enable_dependency_tracking" = xyes; then
4844
msvisualcpp | msvcmsys)
4845
# This compiler won't grok `-c -o', but also, the minuso test has
4846
# not run yet. These depmodes are late enough in the game, and
4847
# so weak that their functioning should not be impacted.
4848
am__obj=conftest.${OBJEXT-o}
4853
if depmode=$depmode \
4854
source=sub/conftest.c object=$am__obj \
4855
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4856
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4857
>/dev/null 2>conftest.err &&
4858
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4859
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4860
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4861
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4862
# icc doesn't choke on unknown options, it will just issue warnings
4863
# or remarks (even with -Werror). So we grep stderr for any message
4864
# that says an option was ignored or not supported.
4865
# When given -MP, icc 7.0 and 7.1 complain thusly:
4866
# icc: Command line warning: ignoring option '-M'; no argument required
4867
# The diagnosis changed in icc 8.0:
4868
# icc: Command line remark: option '-MP' not supported
4869
if (grep 'ignoring option' conftest.err ||
4870
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4871
am_cv_CC_dependencies_compiler_type=$depmode
4880
am_cv_CC_dependencies_compiler_type=none
4884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4885
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4886
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4889
test "x$enable_dependency_tracking" != xno \
4890
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4892
am__fastdepCC_FALSE='#'
4894
am__fastdepCC_TRUE='#'
4895
am__fastdepCC_FALSE=
4899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4900
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4901
if test "${ac_cv_path_SED+set}" = set; then :
4902
$as_echo_n "(cached) " >&6
4904
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4905
for ac_i in 1 2 3 4 5 6 7; do
4906
ac_script="$ac_script$as_nl$ac_script"
4908
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4909
{ ac_script=; unset ac_script;}
4910
if test -z "$SED"; then
4911
ac_path_SED_found=false
4912
# Loop through the user's path and test for each of PROGNAME-LIST
4913
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4917
test -z "$as_dir" && as_dir=.
4918
for ac_prog in sed gsed; do
4919
for ac_exec_ext in '' $ac_executable_extensions; do
4920
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4921
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4922
# Check for GNU ac_path_SED and select it if it is found.
4923
# Check for GNU $ac_path_SED
4924
case `"$ac_path_SED" --version 2>&1` in
4926
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4929
$as_echo_n 0123456789 >"conftest.in"
4932
cat "conftest.in" "conftest.in" >"conftest.tmp"
4933
mv "conftest.tmp" "conftest.in"
4934
cp "conftest.in" "conftest.nl"
4935
$as_echo '' >> "conftest.nl"
4936
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4937
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4938
as_fn_arith $ac_count + 1 && ac_count=$as_val
4939
if test $ac_count -gt ${ac_path_SED_max-0}; then
4940
# Best one so far, save it but keep looking for a better one
4941
ac_cv_path_SED="$ac_path_SED"
4942
ac_path_SED_max=$ac_count
4944
# 10*(2^10) chars as input seems more than enough
4945
test $ac_count -gt 10 && break
4947
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4950
$ac_path_SED_found && break 3
4955
if test -z "$ac_cv_path_SED"; then
4956
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4964
$as_echo "$ac_cv_path_SED" >&6; }
4965
SED="$ac_cv_path_SED"
4968
test -z "$SED" && SED=sed
4969
Xsed="$SED -e 1s/^X//"
4981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4982
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4983
if test "${ac_cv_path_GREP+set}" = set; then :
4984
$as_echo_n "(cached) " >&6
4986
if test -z "$GREP"; then
4987
ac_path_GREP_found=false
4988
# Loop through the user's path and test for each of PROGNAME-LIST
4989
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4990
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4993
test -z "$as_dir" && as_dir=.
4994
for ac_prog in grep ggrep; do
4995
for ac_exec_ext in '' $ac_executable_extensions; do
4996
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4997
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4998
# Check for GNU ac_path_GREP and select it if it is found.
4999
# Check for GNU $ac_path_GREP
5000
case `"$ac_path_GREP" --version 2>&1` in
5002
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5005
$as_echo_n 0123456789 >"conftest.in"
5008
cat "conftest.in" "conftest.in" >"conftest.tmp"
5009
mv "conftest.tmp" "conftest.in"
5010
cp "conftest.in" "conftest.nl"
5011
$as_echo 'GREP' >> "conftest.nl"
5012
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5013
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5014
as_fn_arith $ac_count + 1 && ac_count=$as_val
5015
if test $ac_count -gt ${ac_path_GREP_max-0}; then
5016
# Best one so far, save it but keep looking for a better one
5017
ac_cv_path_GREP="$ac_path_GREP"
5018
ac_path_GREP_max=$ac_count
5020
# 10*(2^10) chars as input seems more than enough
5021
test $ac_count -gt 10 && break
5023
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5026
$ac_path_GREP_found && break 3
5031
if test -z "$ac_cv_path_GREP"; then
5032
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5035
ac_cv_path_GREP=$GREP
5039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5040
$as_echo "$ac_cv_path_GREP" >&6; }
5041
GREP="$ac_cv_path_GREP"
5044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5045
$as_echo_n "checking for egrep... " >&6; }
5046
if test "${ac_cv_path_EGREP+set}" = set; then :
5047
$as_echo_n "(cached) " >&6
5049
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5050
then ac_cv_path_EGREP="$GREP -E"
5052
if test -z "$EGREP"; then
5053
ac_path_EGREP_found=false
5054
# Loop through the user's path and test for each of PROGNAME-LIST
5055
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5056
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5059
test -z "$as_dir" && as_dir=.
5060
for ac_prog in egrep; do
5061
for ac_exec_ext in '' $ac_executable_extensions; do
5062
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5063
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5064
# Check for GNU ac_path_EGREP and select it if it is found.
5065
# Check for GNU $ac_path_EGREP
5066
case `"$ac_path_EGREP" --version 2>&1` in
5068
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5071
$as_echo_n 0123456789 >"conftest.in"
5074
cat "conftest.in" "conftest.in" >"conftest.tmp"
5075
mv "conftest.tmp" "conftest.in"
5076
cp "conftest.in" "conftest.nl"
5077
$as_echo 'EGREP' >> "conftest.nl"
5078
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5079
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5080
as_fn_arith $ac_count + 1 && ac_count=$as_val
5081
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5082
# Best one so far, save it but keep looking for a better one
5083
ac_cv_path_EGREP="$ac_path_EGREP"
5084
ac_path_EGREP_max=$ac_count
5086
# 10*(2^10) chars as input seems more than enough
5087
test $ac_count -gt 10 && break
5089
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5092
$ac_path_EGREP_found && break 3
5097
if test -z "$ac_cv_path_EGREP"; then
5098
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5101
ac_cv_path_EGREP=$EGREP
5106
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5107
$as_echo "$ac_cv_path_EGREP" >&6; }
5108
EGREP="$ac_cv_path_EGREP"
5111
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5112
$as_echo_n "checking for fgrep... " >&6; }
5113
if test "${ac_cv_path_FGREP+set}" = set; then :
5114
$as_echo_n "(cached) " >&6
5116
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5117
then ac_cv_path_FGREP="$GREP -F"
5119
if test -z "$FGREP"; then
5120
ac_path_FGREP_found=false
5121
# Loop through the user's path and test for each of PROGNAME-LIST
5122
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5123
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5126
test -z "$as_dir" && as_dir=.
5127
for ac_prog in fgrep; do
5128
for ac_exec_ext in '' $ac_executable_extensions; do
5129
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5130
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5131
# Check for GNU ac_path_FGREP and select it if it is found.
5132
# Check for GNU $ac_path_FGREP
5133
case `"$ac_path_FGREP" --version 2>&1` in
5135
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5138
$as_echo_n 0123456789 >"conftest.in"
5141
cat "conftest.in" "conftest.in" >"conftest.tmp"
5142
mv "conftest.tmp" "conftest.in"
5143
cp "conftest.in" "conftest.nl"
5144
$as_echo 'FGREP' >> "conftest.nl"
5145
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5146
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5147
as_fn_arith $ac_count + 1 && ac_count=$as_val
5148
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5149
# Best one so far, save it but keep looking for a better one
5150
ac_cv_path_FGREP="$ac_path_FGREP"
5151
ac_path_FGREP_max=$ac_count
5153
# 10*(2^10) chars as input seems more than enough
5154
test $ac_count -gt 10 && break
5156
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5159
$ac_path_FGREP_found && break 3
5164
if test -z "$ac_cv_path_FGREP"; then
5165
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5168
ac_cv_path_FGREP=$FGREP
5173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5174
$as_echo "$ac_cv_path_FGREP" >&6; }
5175
FGREP="$ac_cv_path_FGREP"
5178
test -z "$GREP" && GREP=grep
5198
# Check whether --with-gnu-ld was given.
5199
if test "${with_gnu_ld+set}" = set; then :
5200
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5206
if test "$GCC" = yes; then
5207
# Check if gcc -print-prog-name=ld gives a path.
5208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5209
$as_echo_n "checking for ld used by $CC... " >&6; }
5212
# gcc leaves a trailing carriage return which upsets mingw
5213
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5215
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5218
# Accept absolute paths.
5220
re_direlt='/[^/][^/]*/\.\./'
5221
# Canonicalize the pathname of ld
5222
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5223
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5224
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5226
test -z "$LD" && LD="$ac_prog"
5229
# If it fails, then pretend we aren't using GCC.
5233
# If it is relative, then search for the first ld in PATH.
5237
elif test "$with_gnu_ld" = yes; then
5238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5239
$as_echo_n "checking for GNU ld... " >&6; }
5241
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5242
$as_echo_n "checking for non-GNU ld... " >&6; }
5244
if test "${lt_cv_path_LD+set}" = set; then :
5245
$as_echo_n "(cached) " >&6
5247
if test -z "$LD"; then
5248
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5249
for ac_dir in $PATH; do
5251
test -z "$ac_dir" && ac_dir=.
5252
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5253
lt_cv_path_LD="$ac_dir/$ac_prog"
5254
# Check to see if the program is GNU ld. I'd rather use --version,
5255
# but apparently some variants of GNU ld only accept -v.
5256
# Break only if it was the GNU/non-GNU ld that we prefer.
5257
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5258
*GNU* | *'with BFD'*)
5259
test "$with_gnu_ld" != no && break
5262
test "$with_gnu_ld" != yes && break
5269
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5274
if test -n "$LD"; then
5275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5276
$as_echo "$LD" >&6; }
5278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5279
$as_echo "no" >&6; }
5281
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5282
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5283
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5284
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5285
$as_echo_n "(cached) " >&6
5287
# I'd rather use --version here, but apparently some GNU lds only accept -v.
5288
case `$LD -v 2>&1 </dev/null` in
5289
*GNU* | *'with BFD'*)
5290
lt_cv_prog_gnu_ld=yes
5293
lt_cv_prog_gnu_ld=no
5297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5298
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5299
with_gnu_ld=$lt_cv_prog_gnu_ld
5309
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5310
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5311
if test "${lt_cv_path_NM+set}" = set; then :
5312
$as_echo_n "(cached) " >&6
5314
if test -n "$NM"; then
5315
# Let the user override the test.
5318
lt_nm_to_check="${ac_tool_prefix}nm"
5319
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5320
lt_nm_to_check="$lt_nm_to_check nm"
5322
for lt_tmp_nm in $lt_nm_to_check; do
5323
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5324
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5326
test -z "$ac_dir" && ac_dir=.
5327
tmp_nm="$ac_dir/$lt_tmp_nm"
5328
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5329
# Check to see if the nm accepts a BSD-compat flag.
5330
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5331
# nm: unknown option "B" ignored
5332
# Tru64's nm complains that /dev/null is an invalid object file
5333
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5334
*/dev/null* | *'Invalid file or object type'*)
5335
lt_cv_path_NM="$tmp_nm -B"
5339
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5341
lt_cv_path_NM="$tmp_nm -p"
5345
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5346
continue # so that we can try to find one that supports BSD flags
5355
: ${lt_cv_path_NM=no}
5358
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5359
$as_echo "$lt_cv_path_NM" >&6; }
5360
if test "$lt_cv_path_NM" != "no"; then
5363
# Didn't find any BSD compatible name lister, look for dumpbin.
5364
if test -n "$ac_tool_prefix"; then
5365
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5367
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5368
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5370
$as_echo_n "checking for $ac_word... " >&6; }
5371
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5372
$as_echo_n "(cached) " >&6
5374
if test -n "$DUMPBIN"; then
5375
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5377
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5381
test -z "$as_dir" && as_dir=.
5382
for ac_exec_ext in '' $ac_executable_extensions; do
5383
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5384
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5385
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5394
DUMPBIN=$ac_cv_prog_DUMPBIN
5395
if test -n "$DUMPBIN"; then
5396
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5397
$as_echo "$DUMPBIN" >&6; }
5399
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5400
$as_echo "no" >&6; }
5404
test -n "$DUMPBIN" && break
5407
if test -z "$DUMPBIN"; then
5408
ac_ct_DUMPBIN=$DUMPBIN
5409
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5411
# Extract the first word of "$ac_prog", so it can be a program name with args.
5412
set dummy $ac_prog; ac_word=$2
5413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5414
$as_echo_n "checking for $ac_word... " >&6; }
5415
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5416
$as_echo_n "(cached) " >&6
5418
if test -n "$ac_ct_DUMPBIN"; then
5419
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5421
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5425
test -z "$as_dir" && as_dir=.
5426
for ac_exec_ext in '' $ac_executable_extensions; do
5427
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5428
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5429
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5438
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5439
if test -n "$ac_ct_DUMPBIN"; then
5440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5441
$as_echo "$ac_ct_DUMPBIN" >&6; }
5443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444
$as_echo "no" >&6; }
5448
test -n "$ac_ct_DUMPBIN" && break
5451
if test "x$ac_ct_DUMPBIN" = x; then
5454
case $cross_compiling:$ac_tool_warned in
5456
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5457
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5458
ac_tool_warned=yes ;;
5460
DUMPBIN=$ac_ct_DUMPBIN
5465
if test "$DUMPBIN" != ":"; then
5469
test -z "$NM" && NM=nm
5476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5477
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5478
if test "${lt_cv_nm_interface+set}" = set; then :
5479
$as_echo_n "(cached) " >&6
5481
lt_cv_nm_interface="BSD nm"
5482
echo "int some_variable = 0;" > conftest.$ac_ext
5483
(eval echo "\"\$as_me:5483: $ac_compile\"" >&5)
5484
(eval "$ac_compile" 2>conftest.err)
5485
cat conftest.err >&5
5486
(eval echo "\"\$as_me:5486: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5487
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5488
cat conftest.err >&5
5489
(eval echo "\"\$as_me:5489: output\"" >&5)
5490
cat conftest.out >&5
5491
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5492
lt_cv_nm_interface="MS dumpbin"
5496
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5497
$as_echo "$lt_cv_nm_interface" >&6; }
5499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5500
$as_echo_n "checking whether ln -s works... " >&6; }
5502
if test "$LN_S" = "ln -s"; then
5503
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5504
$as_echo "yes" >&6; }
5506
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5507
$as_echo "no, using $LN_S" >&6; }
5510
# find the maximum length of command line arguments
5511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5512
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5513
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5514
$as_echo_n "(cached) " >&6
5521
# On DJGPP, this test can blow up pretty badly due to problems in libc
5522
# (any single argument exceeding 2000 bytes causes a buffer overrun
5523
# during glob expansion). Even if it were fixed, the result of this
5524
# check would be larger than it should be.
5525
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5529
# Under GNU Hurd, this test is not required because there is
5530
# no limit to the length of command line arguments.
5531
# Libtool will interpret -1 as no limit whatsoever
5532
lt_cv_sys_max_cmd_len=-1;
5535
cygwin* | mingw* | cegcc*)
5536
# On Win9x/ME, this test blows up -- it succeeds, but takes
5537
# about 5 minutes as the teststring grows exponentially.
5538
# Worse, since 9x/ME are not pre-emptively multitasking,
5539
# you end up with a "frozen" computer, even though with patience
5540
# the test eventually succeeds (with a max line length of 256k).
5541
# Instead, let's just punt: use the minimum linelength reported by
5542
# all of the supported platforms: 8192 (on NT/2K/XP).
5543
lt_cv_sys_max_cmd_len=8192;
5547
# On AmigaOS with pdksh, this test takes hours, literally.
5548
# So we just punt and use a minimum line length of 8192.
5549
lt_cv_sys_max_cmd_len=8192;
5552
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5553
# This has been around since 386BSD, at least. Likely further.
5554
if test -x /sbin/sysctl; then
5555
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5556
elif test -x /usr/sbin/sysctl; then
5557
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5559
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5561
# And add a safety zone
5562
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5563
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5567
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5568
lt_cv_sys_max_cmd_len=196608
5572
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5573
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5574
# nice to cause kernel panics so lets avoid the loop below.
5575
# First set a reasonable default.
5576
lt_cv_sys_max_cmd_len=16384
5578
if test -x /sbin/sysconfig; then
5579
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5580
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5585
lt_cv_sys_max_cmd_len=102400
5587
sysv5* | sco5v6* | sysv4.2uw2*)
5588
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5589
if test -n "$kargmax"; then
5590
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5592
lt_cv_sys_max_cmd_len=32768
5596
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5597
if test -n "$lt_cv_sys_max_cmd_len"; then
5598
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5599
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5601
# Make teststring a little bigger before we do anything with it.
5602
# a 1K string should be a reasonable start.
5603
for i in 1 2 3 4 5 6 7 8 ; do
5604
teststring=$teststring$teststring
5606
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5607
# If test is not a shell built-in, we'll probably end up computing a
5608
# maximum length that is only half of the actual maximum length, but
5610
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5611
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5612
test $i != 17 # 1/2 MB should be enough
5615
teststring=$teststring$teststring
5617
# Only check the string length outside the loop.
5618
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5620
# Add a significant safety factor because C++ compilers can tack on
5621
# massive amounts of additional arguments before passing them to the
5622
# linker. It appears as though 1/2 is a usable value.
5623
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5630
if test -n $lt_cv_sys_max_cmd_len ; then
5631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5632
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5635
$as_echo "none" >&6; }
5637
max_cmd_len=$lt_cv_sys_max_cmd_len
5648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5649
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5650
# Try some XSI features
5653
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5655
&& eval 'test $(( 1 + 1 )) -eq 2 \
5656
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5659
$as_echo "$xsi_shell" >&6; }
5662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5663
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5665
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5667
&& lt_shell_append=yes
5668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5669
$as_echo "$lt_shell_append" >&6; }
5672
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5682
# test EBCDIC or ASCII
5683
case `echo X|tr X '\101'` in
5684
A) # ASCII based system
5685
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5686
lt_SP2NL='tr \040 \012'
5687
lt_NL2SP='tr \015\012 \040\040'
5689
*) # EBCDIC based system
5690
lt_SP2NL='tr \100 \n'
5691
lt_NL2SP='tr \r\n \100\100'
5703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5704
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5705
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5706
$as_echo_n "(cached) " >&6
5708
lt_cv_ld_reload_flag='-r'
5710
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5711
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5712
reload_flag=$lt_cv_ld_reload_flag
5713
case $reload_flag in
5715
*) reload_flag=" $reload_flag" ;;
5717
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5720
if test "$GCC" = yes; then
5721
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5723
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5736
if test -n "$ac_tool_prefix"; then
5737
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5738
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5740
$as_echo_n "checking for $ac_word... " >&6; }
5741
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5742
$as_echo_n "(cached) " >&6
5744
if test -n "$OBJDUMP"; then
5745
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5747
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5751
test -z "$as_dir" && as_dir=.
5752
for ac_exec_ext in '' $ac_executable_extensions; do
5753
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5754
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5755
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5764
OBJDUMP=$ac_cv_prog_OBJDUMP
5765
if test -n "$OBJDUMP"; then
5766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5767
$as_echo "$OBJDUMP" >&6; }
5769
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5770
$as_echo "no" >&6; }
5775
if test -z "$ac_cv_prog_OBJDUMP"; then
5776
ac_ct_OBJDUMP=$OBJDUMP
5777
# Extract the first word of "objdump", so it can be a program name with args.
5778
set dummy objdump; ac_word=$2
5779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5780
$as_echo_n "checking for $ac_word... " >&6; }
5781
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5782
$as_echo_n "(cached) " >&6
5784
if test -n "$ac_ct_OBJDUMP"; then
5785
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5787
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5791
test -z "$as_dir" && as_dir=.
5792
for ac_exec_ext in '' $ac_executable_extensions; do
5793
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5794
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5795
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5804
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5805
if test -n "$ac_ct_OBJDUMP"; then
5806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5807
$as_echo "$ac_ct_OBJDUMP" >&6; }
5809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5810
$as_echo "no" >&6; }
5813
if test "x$ac_ct_OBJDUMP" = x; then
5816
case $cross_compiling:$ac_tool_warned in
5818
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5819
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5820
ac_tool_warned=yes ;;
5822
OBJDUMP=$ac_ct_OBJDUMP
5825
OBJDUMP="$ac_cv_prog_OBJDUMP"
5828
test -z "$OBJDUMP" && OBJDUMP=objdump
5835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5836
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5837
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5838
$as_echo_n "(cached) " >&6
5840
lt_cv_file_magic_cmd='$MAGIC_CMD'
5841
lt_cv_file_magic_test_file=
5842
lt_cv_deplibs_check_method='unknown'
5843
# Need to set the preceding variable on all platforms that support
5844
# interlibrary dependencies.
5845
# 'none' -- dependencies not supported.
5846
# `unknown' -- same as none, but documents that we really don't know.
5847
# 'pass_all' -- all dependencies passed with no checks.
5848
# 'test_compile' -- check by making test program.
5849
# 'file_magic [[regex]]' -- check by looking for files in library path
5850
# which responds to the $file_magic_cmd with a given extended regex.
5851
# If you have `file' or equivalent on your system and you're not sure
5852
# whether `pass_all' will *always* work, you probably want this one.
5856
lt_cv_deplibs_check_method=pass_all
5860
lt_cv_deplibs_check_method=pass_all
5864
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5865
lt_cv_file_magic_cmd='/usr/bin/file -L'
5866
lt_cv_file_magic_test_file=/shlib/libc.so
5870
# func_win32_libid is a shell function defined in ltmain.sh
5871
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5872
lt_cv_file_magic_cmd='func_win32_libid'
5876
# Base MSYS/MinGW do not provide the 'file' command needed by
5877
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5878
# unless we find 'file', for example because we are cross-compiling.
5879
if ( file / ) >/dev/null 2>&1; then
5880
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5881
lt_cv_file_magic_cmd='func_win32_libid'
5883
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5884
lt_cv_file_magic_cmd='$OBJDUMP -f'
5889
# use the weaker test based on 'objdump'. See mingw*.
5890
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5891
lt_cv_file_magic_cmd='$OBJDUMP -f'
5894
darwin* | rhapsody*)
5895
lt_cv_deplibs_check_method=pass_all
5898
freebsd* | dragonfly*)
5899
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5902
# Not sure whether the presence of OpenBSD here was a mistake.
5903
# Let's accept both of them until this is cleared up.
5904
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5905
lt_cv_file_magic_cmd=/usr/bin/file
5906
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5910
lt_cv_deplibs_check_method=pass_all
5915
lt_cv_deplibs_check_method=pass_all
5918
hpux10.20* | hpux11*)
5919
lt_cv_file_magic_cmd=/usr/bin/file
5922
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5923
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5926
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]'
5927
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5930
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5931
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5937
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5938
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5941
irix5* | irix6* | nonstopux*)
5943
*-32|*"-32 ") libmagic=32-bit;;
5944
*-n32|*"-n32 ") libmagic=N32;;
5945
*-64|*"-64 ") libmagic=64-bit;;
5946
*) libmagic=never-match;;
5948
lt_cv_deplibs_check_method=pass_all
5951
# This must be Linux ELF.
5952
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5953
lt_cv_deplibs_check_method=pass_all
5956
netbsd* | netbsdelf*-gnu)
5957
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5958
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5960
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5965
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5966
lt_cv_file_magic_cmd=/usr/bin/file
5967
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5971
lt_cv_deplibs_check_method=pass_all
5975
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5976
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5978
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5982
osf3* | osf4* | osf5*)
5983
lt_cv_deplibs_check_method=pass_all
5987
lt_cv_deplibs_check_method=pass_all
5991
lt_cv_deplibs_check_method=pass_all
5994
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5995
lt_cv_deplibs_check_method=pass_all
5999
case $host_vendor in
6001
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]'
6002
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6005
lt_cv_deplibs_check_method=pass_all
6008
lt_cv_file_magic_cmd='/bin/file'
6009
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6012
lt_cv_file_magic_cmd='/bin/file'
6013
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6014
lt_cv_file_magic_test_file=/lib/libc.so
6017
lt_cv_deplibs_check_method=pass_all
6020
lt_cv_deplibs_check_method=pass_all
6026
lt_cv_deplibs_check_method=pass_all
6031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6032
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6033
file_magic_cmd=$lt_cv_file_magic_cmd
6034
deplibs_check_method=$lt_cv_deplibs_check_method
6035
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6048
if test -n "$ac_tool_prefix"; then
6049
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6050
set dummy ${ac_tool_prefix}ar; ac_word=$2
6051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6052
$as_echo_n "checking for $ac_word... " >&6; }
6053
if test "${ac_cv_prog_AR+set}" = set; then :
6054
$as_echo_n "(cached) " >&6
6056
if test -n "$AR"; then
6057
ac_cv_prog_AR="$AR" # Let the user override the test.
6059
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6063
test -z "$as_dir" && as_dir=.
6064
for ac_exec_ext in '' $ac_executable_extensions; do
6065
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6066
ac_cv_prog_AR="${ac_tool_prefix}ar"
6067
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6077
if test -n "$AR"; then
6078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6079
$as_echo "$AR" >&6; }
6081
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6082
$as_echo "no" >&6; }
6087
if test -z "$ac_cv_prog_AR"; then
6089
# Extract the first word of "ar", so it can be a program name with args.
6090
set dummy ar; ac_word=$2
6091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6092
$as_echo_n "checking for $ac_word... " >&6; }
6093
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6094
$as_echo_n "(cached) " >&6
6096
if test -n "$ac_ct_AR"; then
6097
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6099
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6103
test -z "$as_dir" && as_dir=.
6104
for ac_exec_ext in '' $ac_executable_extensions; do
6105
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6106
ac_cv_prog_ac_ct_AR="ar"
6107
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6116
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6117
if test -n "$ac_ct_AR"; then
6118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6119
$as_echo "$ac_ct_AR" >&6; }
6121
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6122
$as_echo "no" >&6; }
6125
if test "x$ac_ct_AR" = x; then
6128
case $cross_compiling:$ac_tool_warned in
6130
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6131
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6132
ac_tool_warned=yes ;;
6140
test -z "$AR" && AR=ar
6141
test -z "$AR_FLAGS" && AR_FLAGS=cru
6153
if test -n "$ac_tool_prefix"; then
6154
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6155
set dummy ${ac_tool_prefix}strip; ac_word=$2
6156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6157
$as_echo_n "checking for $ac_word... " >&6; }
6158
if test "${ac_cv_prog_STRIP+set}" = set; then :
6159
$as_echo_n "(cached) " >&6
6161
if test -n "$STRIP"; then
6162
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6164
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6168
test -z "$as_dir" && as_dir=.
6169
for ac_exec_ext in '' $ac_executable_extensions; do
6170
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6171
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6172
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181
STRIP=$ac_cv_prog_STRIP
6182
if test -n "$STRIP"; then
6183
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6184
$as_echo "$STRIP" >&6; }
6186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6187
$as_echo "no" >&6; }
6192
if test -z "$ac_cv_prog_STRIP"; then
6194
# Extract the first word of "strip", so it can be a program name with args.
6195
set dummy strip; ac_word=$2
6196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6197
$as_echo_n "checking for $ac_word... " >&6; }
6198
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6199
$as_echo_n "(cached) " >&6
6201
if test -n "$ac_ct_STRIP"; then
6202
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6204
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6208
test -z "$as_dir" && as_dir=.
6209
for ac_exec_ext in '' $ac_executable_extensions; do
6210
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6211
ac_cv_prog_ac_ct_STRIP="strip"
6212
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6221
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6222
if test -n "$ac_ct_STRIP"; then
6223
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6224
$as_echo "$ac_ct_STRIP" >&6; }
6226
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6227
$as_echo "no" >&6; }
6230
if test "x$ac_ct_STRIP" = x; then
6233
case $cross_compiling:$ac_tool_warned in
6235
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6236
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6237
ac_tool_warned=yes ;;
6242
STRIP="$ac_cv_prog_STRIP"
6245
test -z "$STRIP" && STRIP=:
6252
if test -n "$ac_tool_prefix"; then
6253
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6254
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6256
$as_echo_n "checking for $ac_word... " >&6; }
6257
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6258
$as_echo_n "(cached) " >&6
6260
if test -n "$RANLIB"; then
6261
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6263
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6267
test -z "$as_dir" && as_dir=.
6268
for ac_exec_ext in '' $ac_executable_extensions; do
6269
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6270
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6271
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6280
RANLIB=$ac_cv_prog_RANLIB
6281
if test -n "$RANLIB"; then
6282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6283
$as_echo "$RANLIB" >&6; }
6285
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6286
$as_echo "no" >&6; }
6291
if test -z "$ac_cv_prog_RANLIB"; then
6292
ac_ct_RANLIB=$RANLIB
6293
# Extract the first word of "ranlib", so it can be a program name with args.
6294
set dummy ranlib; ac_word=$2
6295
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6296
$as_echo_n "checking for $ac_word... " >&6; }
6297
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6298
$as_echo_n "(cached) " >&6
6300
if test -n "$ac_ct_RANLIB"; then
6301
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6303
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6307
test -z "$as_dir" && as_dir=.
6308
for ac_exec_ext in '' $ac_executable_extensions; do
6309
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6310
ac_cv_prog_ac_ct_RANLIB="ranlib"
6311
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6320
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6321
if test -n "$ac_ct_RANLIB"; then
6322
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6323
$as_echo "$ac_ct_RANLIB" >&6; }
6325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6326
$as_echo "no" >&6; }
6329
if test "x$ac_ct_RANLIB" = x; then
6332
case $cross_compiling:$ac_tool_warned in
6334
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6335
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6336
ac_tool_warned=yes ;;
6338
RANLIB=$ac_ct_RANLIB
6341
RANLIB="$ac_cv_prog_RANLIB"
6344
test -z "$RANLIB" && RANLIB=:
6351
# Determine commands to create old-style static archives.
6352
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6353
old_postinstall_cmds='chmod 644 $oldlib'
6354
old_postuninstall_cmds=
6356
if test -n "$RANLIB"; then
6359
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6362
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6365
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6401
# If no C compiler was specified, use CC.
6404
# If no C compiler flags were specified, use CFLAGS.
6405
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6407
# Allow CC to be a program name with arguments.
6411
# Check for command to grab the raw symbol name followed by C symbol from nm.
6412
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6413
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6414
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6415
$as_echo_n "(cached) " >&6
6418
# These are sane defaults that work on at least a few old systems.
6419
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6421
# Character class describing NM global symbol codes.
6422
symcode='[BCDEGRST]'
6424
# Regexp to match symbols that can be accessed directly from C.
6425
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6427
# Define system-specific variables.
6432
cygwin* | mingw* | pw32* | cegcc*)
6433
symcode='[ABCDGISTW]'
6436
if test "$host_cpu" = ia64; then
6437
symcode='[ABCDEGRST]'
6441
symcode='[BCDEGRST]'
6444
symcode='[BCDEGQRST]'
6455
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6463
# If we're using GNU nm, then use its standard symbol codes.
6464
case `$NM -V 2>&1` in
6465
*GNU* | *'with BFD'*)
6466
symcode='[ABCDGIRSTW]' ;;
6469
# Transform an extracted symbol line into a proper C declaration.
6470
# Some systems (esp. on ia64) link data and code symbols differently,
6471
# so use this general approach.
6472
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6474
# Transform an extracted symbol line into symbol name and symbol address
6475
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6476
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'"
6478
# Handle CRLF in mingw tool chain
6482
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6486
# Try without a prefix underscore, then with it.
6487
for ac_symprfx in "" "_"; do
6489
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6490
symxfrm="\\1 $ac_symprfx\\2 \\2"
6492
# Write the raw and C identifiers.
6493
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6494
# Fake it for dumpbin and say T for any non-static function
6495
# and D for any global variable.
6496
# Also find C++ and __fastcall symbols from MSVC++,
6497
# which start with @ or ?.
6498
lt_cv_sys_global_symbol_pipe="$AWK '"\
6499
" {last_section=section; section=\$ 3};"\
6500
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6501
" \$ 0!~/External *\|/{next};"\
6502
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6503
" {if(hide[section]) next};"\
6504
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6505
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6506
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6507
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6508
" ' prfx=^$ac_symprfx"
6510
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6513
# Check to see that the pipe works correctly.
6517
cat > conftest.$ac_ext <<_LT_EOF
6522
void nm_test_func(void);
6523
void nm_test_func(void){}
6527
int main(){nm_test_var='a';nm_test_func();return(0);}
6530
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6531
(eval $ac_compile) 2>&5
6533
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6534
test $ac_status = 0; }; then
6535
# Now try to grab the symbols.
6537
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
6538
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6540
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6541
test $ac_status = 0; } && test -s "$nlist"; then
6542
# Try sorting and uniquifying the output.
6543
if sort "$nlist" | uniq > "$nlist"T; then
6544
mv -f "$nlist"T "$nlist"
6549
# Make sure that we snagged all the symbols we need.
6550
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6551
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6552
cat <<_LT_EOF > conftest.$ac_ext
6558
# Now generate the symbol file.
6559
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6561
cat <<_LT_EOF >> conftest.$ac_ext
6563
/* The mapping between symbol names and symbols. */
6568
lt__PROGRAM__LTX_preloaded_symbols[] =
6570
{ "@PROGRAM@", (void *) 0 },
6572
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6573
cat <<\_LT_EOF >> conftest.$ac_ext
6577
/* This works around a problem in FreeBSD linker */
6578
#ifdef FREEBSD_WORKAROUND
6579
static const void *lt_preloaded_setup() {
6580
return lt__PROGRAM__LTX_preloaded_symbols;
6588
# Now try linking the two files.
6589
mv conftest.$ac_objext conftstm.$ac_objext
6590
lt_save_LIBS="$LIBS"
6591
lt_save_CFLAGS="$CFLAGS"
6592
LIBS="conftstm.$ac_objext"
6593
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6594
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6595
(eval $ac_link) 2>&5
6597
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6598
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6601
LIBS="$lt_save_LIBS"
6602
CFLAGS="$lt_save_CFLAGS"
6604
echo "cannot find nm_test_func in $nlist" >&5
6607
echo "cannot find nm_test_var in $nlist" >&5
6610
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6613
echo "$progname: failed program was:" >&5
6614
cat conftest.$ac_ext >&5
6616
rm -rf conftest* conftst*
6618
# Do not use the global_symbol_pipe unless it works.
6619
if test "$pipe_works" = yes; then
6622
lt_cv_sys_global_symbol_pipe=
6628
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6629
lt_cv_sys_global_symbol_to_cdecl=
6631
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6633
$as_echo "failed" >&6; }
6635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6636
$as_echo "ok" >&6; }
6661
# Check whether --enable-libtool-lock was given.
6662
if test "${enable_libtool_lock+set}" = set; then :
6663
enableval=$enable_libtool_lock;
6666
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6668
# Some flags need to be propagated to the compiler or linker for good
6672
# Find out which ABI we are using.
6673
echo 'int i;' > conftest.$ac_ext
6674
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6675
(eval $ac_compile) 2>&5
6677
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6678
test $ac_status = 0; }; then
6679
case `/usr/bin/file conftest.$ac_objext` in
6691
# Find out which ABI we are using.
6692
echo '#line 6692 "configure"' > conftest.$ac_ext
6693
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6694
(eval $ac_compile) 2>&5
6696
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6697
test $ac_status = 0; }; then
6698
if test "$lt_cv_prog_gnu_ld" = yes; then
6699
case `/usr/bin/file conftest.$ac_objext` in
6701
LD="${LD-ld} -melf32bsmip"
6704
LD="${LD-ld} -melf32bmipn32"
6707
LD="${LD-ld} -melf64bmip"
6711
case `/usr/bin/file conftest.$ac_objext` in
6727
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6728
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6729
# Find out which ABI we are using.
6730
echo 'int i;' > conftest.$ac_ext
6731
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6732
(eval $ac_compile) 2>&5
6734
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6735
test $ac_status = 0; }; then
6736
case `/usr/bin/file conftest.o` in
6739
x86_64-*kfreebsd*-gnu)
6740
LD="${LD-ld} -m elf_i386_fbsd"
6743
LD="${LD-ld} -m elf_i386"
6745
ppc64-*linux*|powerpc64-*linux*)
6746
LD="${LD-ld} -m elf32ppclinux"
6749
LD="${LD-ld} -m elf_s390"
6752
LD="${LD-ld} -m elf32_sparc"
6758
x86_64-*kfreebsd*-gnu)
6759
LD="${LD-ld} -m elf_x86_64_fbsd"
6762
LD="${LD-ld} -m elf_x86_64"
6764
ppc*-*linux*|powerpc*-*linux*)
6765
LD="${LD-ld} -m elf64ppc"
6767
s390*-*linux*|s390*-*tpf*)
6768
LD="${LD-ld} -m elf64_s390"
6771
LD="${LD-ld} -m elf64_sparc"
6781
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6782
SAVE_CFLAGS="$CFLAGS"
6783
CFLAGS="$CFLAGS -belf"
6784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6785
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6786
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6787
$as_echo_n "(cached) " >&6
6790
ac_cpp='$CPP $CPPFLAGS'
6791
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6792
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6793
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6795
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6796
/* end confdefs.h. */
6806
if ac_fn_c_try_link "$LINENO"; then :
6807
lt_cv_cc_needs_belf=yes
6809
lt_cv_cc_needs_belf=no
6811
rm -f core conftest.err conftest.$ac_objext \
6812
conftest$ac_exeext conftest.$ac_ext
6814
ac_cpp='$CPP $CPPFLAGS'
6815
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6816
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6817
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6821
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6822
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6823
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6824
CFLAGS="$SAVE_CFLAGS"
6828
# Find out which ABI we are using.
6829
echo 'int i;' > conftest.$ac_ext
6830
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6831
(eval $ac_compile) 2>&5
6833
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6834
test $ac_status = 0; }; then
6835
case `/usr/bin/file conftest.o` in
6837
case $lt_cv_prog_gnu_ld in
6838
yes*) LD="${LD-ld} -m elf64_sparc" ;;
6840
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6852
need_locks="$enable_libtool_lock"
6856
rhapsody* | darwin*)
6857
if test -n "$ac_tool_prefix"; then
6858
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6859
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6861
$as_echo_n "checking for $ac_word... " >&6; }
6862
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
6863
$as_echo_n "(cached) " >&6
6865
if test -n "$DSYMUTIL"; then
6866
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6868
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6872
test -z "$as_dir" && as_dir=.
6873
for ac_exec_ext in '' $ac_executable_extensions; do
6874
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6875
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6876
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6885
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6886
if test -n "$DSYMUTIL"; then
6887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6888
$as_echo "$DSYMUTIL" >&6; }
6890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6891
$as_echo "no" >&6; }
6896
if test -z "$ac_cv_prog_DSYMUTIL"; then
6897
ac_ct_DSYMUTIL=$DSYMUTIL
6898
# Extract the first word of "dsymutil", so it can be a program name with args.
6899
set dummy dsymutil; ac_word=$2
6900
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6901
$as_echo_n "checking for $ac_word... " >&6; }
6902
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
6903
$as_echo_n "(cached) " >&6
6905
if test -n "$ac_ct_DSYMUTIL"; then
6906
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6908
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6912
test -z "$as_dir" && as_dir=.
6913
for ac_exec_ext in '' $ac_executable_extensions; do
6914
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6915
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6916
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6925
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6926
if test -n "$ac_ct_DSYMUTIL"; then
6927
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6928
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6930
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6931
$as_echo "no" >&6; }
6934
if test "x$ac_ct_DSYMUTIL" = x; then
6937
case $cross_compiling:$ac_tool_warned in
6939
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6940
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6941
ac_tool_warned=yes ;;
6943
DSYMUTIL=$ac_ct_DSYMUTIL
6946
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6949
if test -n "$ac_tool_prefix"; then
6950
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6951
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6952
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6953
$as_echo_n "checking for $ac_word... " >&6; }
6954
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
6955
$as_echo_n "(cached) " >&6
6957
if test -n "$NMEDIT"; then
6958
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6960
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6964
test -z "$as_dir" && as_dir=.
6965
for ac_exec_ext in '' $ac_executable_extensions; do
6966
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6967
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6968
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6977
NMEDIT=$ac_cv_prog_NMEDIT
6978
if test -n "$NMEDIT"; then
6979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6980
$as_echo "$NMEDIT" >&6; }
6982
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6983
$as_echo "no" >&6; }
6988
if test -z "$ac_cv_prog_NMEDIT"; then
6989
ac_ct_NMEDIT=$NMEDIT
6990
# Extract the first word of "nmedit", so it can be a program name with args.
6991
set dummy nmedit; ac_word=$2
6992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6993
$as_echo_n "checking for $ac_word... " >&6; }
6994
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
6995
$as_echo_n "(cached) " >&6
6997
if test -n "$ac_ct_NMEDIT"; then
6998
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7000
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7004
test -z "$as_dir" && as_dir=.
7005
for ac_exec_ext in '' $ac_executable_extensions; do
7006
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7007
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7008
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7017
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7018
if test -n "$ac_ct_NMEDIT"; then
7019
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7020
$as_echo "$ac_ct_NMEDIT" >&6; }
7022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7023
$as_echo "no" >&6; }
7026
if test "x$ac_ct_NMEDIT" = x; then
7029
case $cross_compiling:$ac_tool_warned in
7031
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7032
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7033
ac_tool_warned=yes ;;
7035
NMEDIT=$ac_ct_NMEDIT
7038
NMEDIT="$ac_cv_prog_NMEDIT"
7041
if test -n "$ac_tool_prefix"; then
7042
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7043
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7045
$as_echo_n "checking for $ac_word... " >&6; }
7046
if test "${ac_cv_prog_LIPO+set}" = set; then :
7047
$as_echo_n "(cached) " >&6
7049
if test -n "$LIPO"; then
7050
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7052
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7056
test -z "$as_dir" && as_dir=.
7057
for ac_exec_ext in '' $ac_executable_extensions; do
7058
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7059
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7060
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7069
LIPO=$ac_cv_prog_LIPO
7070
if test -n "$LIPO"; then
7071
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7072
$as_echo "$LIPO" >&6; }
7074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7075
$as_echo "no" >&6; }
7080
if test -z "$ac_cv_prog_LIPO"; then
7082
# Extract the first word of "lipo", so it can be a program name with args.
7083
set dummy lipo; ac_word=$2
7084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7085
$as_echo_n "checking for $ac_word... " >&6; }
7086
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7087
$as_echo_n "(cached) " >&6
7089
if test -n "$ac_ct_LIPO"; then
7090
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7092
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7096
test -z "$as_dir" && as_dir=.
7097
for ac_exec_ext in '' $ac_executable_extensions; do
7098
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7099
ac_cv_prog_ac_ct_LIPO="lipo"
7100
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7109
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7110
if test -n "$ac_ct_LIPO"; then
7111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7112
$as_echo "$ac_ct_LIPO" >&6; }
7114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7115
$as_echo "no" >&6; }
7118
if test "x$ac_ct_LIPO" = x; then
7121
case $cross_compiling:$ac_tool_warned in
7123
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7124
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7125
ac_tool_warned=yes ;;
7130
LIPO="$ac_cv_prog_LIPO"
7133
if test -n "$ac_tool_prefix"; then
7134
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7135
set dummy ${ac_tool_prefix}otool; ac_word=$2
7136
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137
$as_echo_n "checking for $ac_word... " >&6; }
7138
if test "${ac_cv_prog_OTOOL+set}" = set; then :
7139
$as_echo_n "(cached) " >&6
7141
if test -n "$OTOOL"; then
7142
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7144
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7148
test -z "$as_dir" && as_dir=.
7149
for ac_exec_ext in '' $ac_executable_extensions; do
7150
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7151
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7152
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7161
OTOOL=$ac_cv_prog_OTOOL
7162
if test -n "$OTOOL"; then
7163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7164
$as_echo "$OTOOL" >&6; }
7166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7167
$as_echo "no" >&6; }
7172
if test -z "$ac_cv_prog_OTOOL"; then
7174
# Extract the first word of "otool", so it can be a program name with args.
7175
set dummy otool; ac_word=$2
7176
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7177
$as_echo_n "checking for $ac_word... " >&6; }
7178
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7179
$as_echo_n "(cached) " >&6
7181
if test -n "$ac_ct_OTOOL"; then
7182
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7184
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7188
test -z "$as_dir" && as_dir=.
7189
for ac_exec_ext in '' $ac_executable_extensions; do
7190
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7191
ac_cv_prog_ac_ct_OTOOL="otool"
7192
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7201
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7202
if test -n "$ac_ct_OTOOL"; then
7203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7204
$as_echo "$ac_ct_OTOOL" >&6; }
7206
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7207
$as_echo "no" >&6; }
7210
if test "x$ac_ct_OTOOL" = x; then
7213
case $cross_compiling:$ac_tool_warned in
7215
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7216
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7217
ac_tool_warned=yes ;;
7222
OTOOL="$ac_cv_prog_OTOOL"
7225
if test -n "$ac_tool_prefix"; then
7226
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7227
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7229
$as_echo_n "checking for $ac_word... " >&6; }
7230
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7231
$as_echo_n "(cached) " >&6
7233
if test -n "$OTOOL64"; then
7234
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7236
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7240
test -z "$as_dir" && as_dir=.
7241
for ac_exec_ext in '' $ac_executable_extensions; do
7242
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7243
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7244
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7253
OTOOL64=$ac_cv_prog_OTOOL64
7254
if test -n "$OTOOL64"; then
7255
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7256
$as_echo "$OTOOL64" >&6; }
7258
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7259
$as_echo "no" >&6; }
7264
if test -z "$ac_cv_prog_OTOOL64"; then
7265
ac_ct_OTOOL64=$OTOOL64
7266
# Extract the first word of "otool64", so it can be a program name with args.
7267
set dummy otool64; ac_word=$2
7268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7269
$as_echo_n "checking for $ac_word... " >&6; }
7270
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7271
$as_echo_n "(cached) " >&6
7273
if test -n "$ac_ct_OTOOL64"; then
7274
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7276
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7280
test -z "$as_dir" && as_dir=.
7281
for ac_exec_ext in '' $ac_executable_extensions; do
7282
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7283
ac_cv_prog_ac_ct_OTOOL64="otool64"
7284
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7293
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7294
if test -n "$ac_ct_OTOOL64"; then
7295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7296
$as_echo "$ac_ct_OTOOL64" >&6; }
7298
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7299
$as_echo "no" >&6; }
7302
if test "x$ac_ct_OTOOL64" = x; then
7305
case $cross_compiling:$ac_tool_warned in
7307
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7308
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7309
ac_tool_warned=yes ;;
7311
OTOOL64=$ac_ct_OTOOL64
7314
OTOOL64="$ac_cv_prog_OTOOL64"
7343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7344
$as_echo_n "checking for -single_module linker flag... " >&6; }
7345
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7346
$as_echo_n "(cached) " >&6
7348
lt_cv_apple_cc_single_mod=no
7349
if test -z "${LT_MULTI_MODULE}"; then
7350
# By default we will add the -single_module flag. You can override
7351
# by either setting the environment variable LT_MULTI_MODULE
7352
# non-empty at configure time, or by adding -multi_module to the
7354
rm -rf libconftest.dylib*
7355
echo "int foo(void){return 1;}" > conftest.c
7356
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7357
-dynamiclib -Wl,-single_module conftest.c" >&5
7358
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7359
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7361
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7362
lt_cv_apple_cc_single_mod=yes
7364
cat conftest.err >&5
7366
rm -rf libconftest.dylib*
7370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7371
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7372
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7373
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7374
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7375
$as_echo_n "(cached) " >&6
7377
lt_cv_ld_exported_symbols_list=no
7378
save_LDFLAGS=$LDFLAGS
7379
echo "_main" > conftest.sym
7380
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7381
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7382
/* end confdefs.h. */
7392
if ac_fn_c_try_link "$LINENO"; then :
7393
lt_cv_ld_exported_symbols_list=yes
7395
lt_cv_ld_exported_symbols_list=no
7397
rm -f core conftest.err conftest.$ac_objext \
7398
conftest$ac_exeext conftest.$ac_ext
7399
LDFLAGS="$save_LDFLAGS"
7402
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7403
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7405
rhapsody* | darwin1.[012])
7406
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7408
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7409
darwin*) # darwin 5.x on
7410
# if running on 10.5 or later, the deployment target defaults
7411
# to the OS version, if on x86, and 10.4, the deployment
7412
# target defaults to 10.4. Don't you love it?
7413
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7414
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7415
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7417
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7419
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7423
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7424
_lt_dar_single_mod='$single_module'
7426
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7427
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7429
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7431
if test "$DSYMUTIL" != ":"; then
7432
_lt_dsymutil='~$DSYMUTIL $lib || :'
7440
ac_cpp='$CPP $CPPFLAGS'
7441
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7442
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7443
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7444
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7445
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7446
# On Suns, sometimes $CPP names a directory.
7447
if test -n "$CPP" && test -d "$CPP"; then
7450
if test -z "$CPP"; then
7451
if test "${ac_cv_prog_CPP+set}" = set; then :
7452
$as_echo_n "(cached) " >&6
7454
# Double quotes because CPP needs to be expanded
7455
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7458
for ac_c_preproc_warn_flag in '' yes
7460
# Use a header file that comes with gcc, so configuring glibc
7461
# with a fresh cross-compiler works.
7462
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7463
# <limits.h> exists even on freestanding compilers.
7464
# On the NeXT, cc -E runs the code through the compiler's parser,
7465
# not just through cpp. "Syntax error" is here to catch this case.
7466
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7467
/* end confdefs.h. */
7469
# include <limits.h>
7471
# include <assert.h>
7475
if ac_fn_c_try_cpp "$LINENO"; then :
7478
# Broken: fails on valid input.
7481
rm -f conftest.err conftest.i conftest.$ac_ext
7483
# OK, works on sane cases. Now check whether nonexistent headers
7484
# can be detected and how.
7485
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7486
/* end confdefs.h. */
7487
#include <ac_nonexistent.h>
7489
if ac_fn_c_try_cpp "$LINENO"; then :
7490
# Broken: success on invalid input.
7493
# Passes both tests.
7497
rm -f conftest.err conftest.i conftest.$ac_ext
7500
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7501
rm -f conftest.i conftest.err conftest.$ac_ext
7502
if $ac_preproc_ok; then :
7514
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7515
$as_echo "$CPP" >&6; }
7517
for ac_c_preproc_warn_flag in '' yes
7519
# Use a header file that comes with gcc, so configuring glibc
7520
# with a fresh cross-compiler works.
7521
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7522
# <limits.h> exists even on freestanding compilers.
7523
# On the NeXT, cc -E runs the code through the compiler's parser,
7524
# not just through cpp. "Syntax error" is here to catch this case.
7525
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526
/* end confdefs.h. */
7528
# include <limits.h>
7530
# include <assert.h>
7534
if ac_fn_c_try_cpp "$LINENO"; then :
7537
# Broken: fails on valid input.
7540
rm -f conftest.err conftest.i conftest.$ac_ext
7542
# OK, works on sane cases. Now check whether nonexistent headers
7543
# can be detected and how.
7544
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7545
/* end confdefs.h. */
7546
#include <ac_nonexistent.h>
7548
if ac_fn_c_try_cpp "$LINENO"; then :
7549
# Broken: success on invalid input.
7552
# Passes both tests.
7556
rm -f conftest.err conftest.i conftest.$ac_ext
7559
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7560
rm -f conftest.i conftest.err conftest.$ac_ext
7561
if $ac_preproc_ok; then :
7564
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7565
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7566
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7567
See \`config.log' for more details" "$LINENO" 5 ; }
7571
ac_cpp='$CPP $CPPFLAGS'
7572
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7573
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7574
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7578
$as_echo_n "checking for ANSI C header files... " >&6; }
7579
if test "${ac_cv_header_stdc+set}" = set; then :
7580
$as_echo_n "(cached) " >&6
7582
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7583
/* end confdefs.h. */
7597
if ac_fn_c_try_compile "$LINENO"; then :
7598
ac_cv_header_stdc=yes
7600
ac_cv_header_stdc=no
7602
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7604
if test $ac_cv_header_stdc = yes; then
7605
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7606
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7607
/* end confdefs.h. */
7611
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7612
$EGREP "memchr" >/dev/null 2>&1; then :
7615
ac_cv_header_stdc=no
7621
if test $ac_cv_header_stdc = yes; then
7622
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7623
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7624
/* end confdefs.h. */
7628
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7629
$EGREP "free" >/dev/null 2>&1; then :
7632
ac_cv_header_stdc=no
7638
if test $ac_cv_header_stdc = yes; then
7639
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7640
if test "$cross_compiling" = yes; then :
7643
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7644
/* end confdefs.h. */
7647
#if ((' ' & 0x0FF) == 0x020)
7648
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7649
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7651
# define ISLOWER(c) \
7652
(('a' <= (c) && (c) <= 'i') \
7653
|| ('j' <= (c) && (c) <= 'r') \
7654
|| ('s' <= (c) && (c) <= 'z'))
7655
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7658
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7663
for (i = 0; i < 256; i++)
7664
if (XOR (islower (i), ISLOWER (i))
7665
|| toupper (i) != TOUPPER (i))
7670
if ac_fn_c_try_run "$LINENO"; then :
7673
ac_cv_header_stdc=no
7675
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7676
conftest.$ac_objext conftest.beam conftest.$ac_ext
7681
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7682
$as_echo "$ac_cv_header_stdc" >&6; }
7683
if test $ac_cv_header_stdc = yes; then
7685
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7689
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7690
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7691
inttypes.h stdint.h unistd.h
7693
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7694
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7696
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7697
cat >>confdefs.h <<_ACEOF
7698
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7706
for ac_header in dlfcn.h
7708
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7710
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7711
cat >>confdefs.h <<_ACEOF
7712
#define HAVE_DLFCN_H 1
7722
ac_cpp='$CXXCPP $CPPFLAGS'
7723
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7724
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7725
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7726
if test -z "$CXX"; then
7727
if test -n "$CCC"; then
7730
if test -n "$ac_tool_prefix"; then
7731
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7733
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7734
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7736
$as_echo_n "checking for $ac_word... " >&6; }
7737
if test "${ac_cv_prog_CXX+set}" = set; then :
7738
$as_echo_n "(cached) " >&6
7740
if test -n "$CXX"; then
7741
ac_cv_prog_CXX="$CXX" # Let the user override the test.
7743
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7747
test -z "$as_dir" && as_dir=.
7748
for ac_exec_ext in '' $ac_executable_extensions; do
7749
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7750
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
7751
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7761
if test -n "$CXX"; then
7762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
7763
$as_echo "$CXX" >&6; }
7765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7766
$as_echo "no" >&6; }
7770
test -n "$CXX" && break
7773
if test -z "$CXX"; then
7775
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
7777
# Extract the first word of "$ac_prog", so it can be a program name with args.
7778
set dummy $ac_prog; ac_word=$2
7779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7780
$as_echo_n "checking for $ac_word... " >&6; }
7781
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
7782
$as_echo_n "(cached) " >&6
7784
if test -n "$ac_ct_CXX"; then
7785
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
7787
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7791
test -z "$as_dir" && as_dir=.
7792
for ac_exec_ext in '' $ac_executable_extensions; do
7793
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7794
ac_cv_prog_ac_ct_CXX="$ac_prog"
7795
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7804
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
7805
if test -n "$ac_ct_CXX"; then
7806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
7807
$as_echo "$ac_ct_CXX" >&6; }
7809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7810
$as_echo "no" >&6; }
7814
test -n "$ac_ct_CXX" && break
7817
if test "x$ac_ct_CXX" = x; then
7820
case $cross_compiling:$ac_tool_warned in
7822
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7823
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7824
ac_tool_warned=yes ;;
7832
# Provide some information about the compiler.
7833
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
7836
for ac_option in --version -v -V -qversion; do
7837
{ { ac_try="$ac_compiler $ac_option >&5"
7839
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7840
*) ac_try_echo=$ac_try;;
7842
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7843
$as_echo "$ac_try_echo"; } >&5
7844
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
7846
if test -s conftest.err; then
7848
... rest of stderr output deleted ...
7849
10q' conftest.err >conftest.er1
7850
cat conftest.er1 >&5
7852
rm -f conftest.er1 conftest.err
7853
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7854
test $ac_status = 0; }
7857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
7858
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
7859
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
7860
$as_echo_n "(cached) " >&6
7862
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7863
/* end confdefs.h. */
7876
if ac_fn_cxx_try_compile "$LINENO"; then :
7881
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7882
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7885
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
7886
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
7887
if test $ac_compiler_gnu = yes; then
7892
ac_test_CXXFLAGS=${CXXFLAGS+set}
7893
ac_save_CXXFLAGS=$CXXFLAGS
7894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
7895
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
7896
if test "${ac_cv_prog_cxx_g+set}" = set; then :
7897
$as_echo_n "(cached) " >&6
7899
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
7900
ac_cxx_werror_flag=yes
7903
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7904
/* end confdefs.h. */
7914
if ac_fn_cxx_try_compile "$LINENO"; then :
7915
ac_cv_prog_cxx_g=yes
7918
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7919
/* end confdefs.h. */
7929
if ac_fn_cxx_try_compile "$LINENO"; then :
7932
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7934
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7935
/* end confdefs.h. */
7945
if ac_fn_cxx_try_compile "$LINENO"; then :
7946
ac_cv_prog_cxx_g=yes
7948
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7950
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7952
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7953
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7955
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
7956
$as_echo "$ac_cv_prog_cxx_g" >&6; }
7957
if test "$ac_test_CXXFLAGS" = set; then
7958
CXXFLAGS=$ac_save_CXXFLAGS
7959
elif test $ac_cv_prog_cxx_g = yes; then
7960
if test "$GXX" = yes; then
7966
if test "$GXX" = yes; then
7973
ac_cpp='$CPP $CPPFLAGS'
7974
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7975
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7976
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7978
depcc="$CXX" am_compiler_list=
7980
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
7981
$as_echo_n "checking dependency style of $depcc... " >&6; }
7982
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
7983
$as_echo_n "(cached) " >&6
7985
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
7986
# We make a subdir and do the tests there. Otherwise we can end up
7987
# making bogus files that we don't know about and never remove. For
7988
# instance it was reported that on HP-UX the gcc test will end up
7989
# making a dummy file named `D' -- because `-MD' means `put the output
7992
# Copy depcomp to subdir because otherwise we won't find it if we're
7993
# using a relative directory.
7994
cp "$am_depcomp" conftest.dir
7996
# We will build objects and dependencies in a subdirectory because
7997
# it helps to detect inapplicable dependency modes. For instance
7998
# both Tru64's cc and ICC support -MD to output dependencies as a
7999
# side effect of compilation, but ICC will put the dependencies in
8000
# the current directory while Tru64 will put them in the object
8004
am_cv_CXX_dependencies_compiler_type=none
8005
if test "$am_compiler_list" = ""; then
8006
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
8009
case " $depcc " in #(
8010
*\ -arch\ *\ -arch\ *) am__universal=true ;;
8013
for depmode in $am_compiler_list; do
8014
# Setup a source with many dependencies, because some compilers
8015
# like to wrap large dependency lists on column 80 (with \), and
8016
# we should not choose a depcomp mode which is confused by this.
8018
# We need to recreate these files for each test, as the compiler may
8019
# overwrite some of them when testing with obscure command lines.
8020
# This happens at least with the AIX C compiler.
8022
for i in 1 2 3 4 5 6; do
8023
echo '#include "conftst'$i'.h"' >> sub/conftest.c
8024
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
8025
# Solaris 8's {/usr,}/bin/sh.
8026
touch sub/conftst$i.h
8028
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8030
# We check with `-c' and `-o' for the sake of the "dashmstdout"
8031
# mode. It turns out that the SunPro C++ compiler does not properly
8032
# handle `-M -o', and we need to detect this. Also, some Intel
8033
# versions had trouble with output in subdirs
8034
am__obj=sub/conftest.${OBJEXT-o}
8035
am__minus_obj="-o $am__obj"
8038
# This depmode causes a compiler race in universal mode.
8039
test "$am__universal" = false || continue
8042
# after this tag, mechanisms are not by side-effect, so they'll
8043
# only be used when explicitly requested
8044
if test "x$enable_dependency_tracking" = xyes; then
8050
msvisualcpp | msvcmsys)
8051
# This compiler won't grok `-c -o', but also, the minuso test has
8052
# not run yet. These depmodes are late enough in the game, and
8053
# so weak that their functioning should not be impacted.
8054
am__obj=conftest.${OBJEXT-o}
8059
if depmode=$depmode \
8060
source=sub/conftest.c object=$am__obj \
8061
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8062
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8063
>/dev/null 2>conftest.err &&
8064
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8065
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8066
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8067
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8068
# icc doesn't choke on unknown options, it will just issue warnings
8069
# or remarks (even with -Werror). So we grep stderr for any message
8070
# that says an option was ignored or not supported.
8071
# When given -MP, icc 7.0 and 7.1 complain thusly:
8072
# icc: Command line warning: ignoring option '-M'; no argument required
8073
# The diagnosis changed in icc 8.0:
8074
# icc: Command line remark: option '-MP' not supported
8075
if (grep 'ignoring option' conftest.err ||
8076
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
8077
am_cv_CXX_dependencies_compiler_type=$depmode
8086
am_cv_CXX_dependencies_compiler_type=none
8090
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
8091
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
8092
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
8095
test "x$enable_dependency_tracking" != xno \
8096
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
8097
am__fastdepCXX_TRUE=
8098
am__fastdepCXX_FALSE='#'
8100
am__fastdepCXX_TRUE='#'
8101
am__fastdepCXX_FALSE=
8105
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
8106
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
8107
(test "X$CXX" != "Xg++"))) ; then
8109
ac_cpp='$CXXCPP $CPPFLAGS'
8110
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8111
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8112
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
8114
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
8115
if test -z "$CXXCPP"; then
8116
if test "${ac_cv_prog_CXXCPP+set}" = set; then :
8117
$as_echo_n "(cached) " >&6
8119
# Double quotes because CXXCPP needs to be expanded
8120
for CXXCPP in "$CXX -E" "/lib/cpp"
8123
for ac_cxx_preproc_warn_flag in '' yes
8125
# Use a header file that comes with gcc, so configuring glibc
8126
# with a fresh cross-compiler works.
8127
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8128
# <limits.h> exists even on freestanding compilers.
8129
# On the NeXT, cc -E runs the code through the compiler's parser,
8130
# not just through cpp. "Syntax error" is here to catch this case.
8131
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8132
/* end confdefs.h. */
8134
# include <limits.h>
8136
# include <assert.h>
8140
if ac_fn_cxx_try_cpp "$LINENO"; then :
8143
# Broken: fails on valid input.
8146
rm -f conftest.err conftest.i conftest.$ac_ext
8148
# OK, works on sane cases. Now check whether nonexistent headers
8149
# can be detected and how.
8150
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8151
/* end confdefs.h. */
8152
#include <ac_nonexistent.h>
8154
if ac_fn_cxx_try_cpp "$LINENO"; then :
8155
# Broken: success on invalid input.
8158
# Passes both tests.
8162
rm -f conftest.err conftest.i conftest.$ac_ext
8165
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8166
rm -f conftest.i conftest.err conftest.$ac_ext
8167
if $ac_preproc_ok; then :
8172
ac_cv_prog_CXXCPP=$CXXCPP
8175
CXXCPP=$ac_cv_prog_CXXCPP
8177
ac_cv_prog_CXXCPP=$CXXCPP
8179
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
8180
$as_echo "$CXXCPP" >&6; }
8182
for ac_cxx_preproc_warn_flag in '' yes
8184
# Use a header file that comes with gcc, so configuring glibc
8185
# with a fresh cross-compiler works.
8186
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8187
# <limits.h> exists even on freestanding compilers.
8188
# On the NeXT, cc -E runs the code through the compiler's parser,
8189
# not just through cpp. "Syntax error" is here to catch this case.
8190
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8191
/* end confdefs.h. */
8193
# include <limits.h>
8195
# include <assert.h>
8199
if ac_fn_cxx_try_cpp "$LINENO"; then :
8202
# Broken: fails on valid input.
8205
rm -f conftest.err conftest.i conftest.$ac_ext
8207
# OK, works on sane cases. Now check whether nonexistent headers
8208
# can be detected and how.
8209
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8210
/* end confdefs.h. */
8211
#include <ac_nonexistent.h>
8213
if ac_fn_cxx_try_cpp "$LINENO"; then :
8214
# Broken: success on invalid input.
8217
# Passes both tests.
8221
rm -f conftest.err conftest.i conftest.$ac_ext
8224
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8225
rm -f conftest.i conftest.err conftest.$ac_ext
8226
if $ac_preproc_ok; then :
8229
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8230
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8231
_lt_caught_CXX_error=yes; }
8235
ac_cpp='$CPP $CPPFLAGS'
8236
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8237
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8238
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8241
_lt_caught_CXX_error=yes
8256
# Check whether --enable-shared was given.
8257
if test "${enable_shared+set}" = set; then :
8258
enableval=$enable_shared; p=${PACKAGE-default}
8260
yes) enable_shared=yes ;;
8261
no) enable_shared=no ;;
8264
# Look at the argument we got. We use all the common list separators.
8265
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8266
for pkg in $enableval; do
8268
if test "X$pkg" = "X$p"; then
8289
# Check whether --with-pic was given.
8290
if test "${with_pic+set}" = set; then :
8291
withval=$with_pic; pic_mode="$withval"
8297
test -z "$pic_mode" && pic_mode=default
8305
# Check whether --enable-fast-install was given.
8306
if test "${enable_fast_install+set}" = set; then :
8307
enableval=$enable_fast_install; p=${PACKAGE-default}
8309
yes) enable_fast_install=yes ;;
8310
no) enable_fast_install=no ;;
8312
enable_fast_install=no
8313
# Look at the argument we got. We use all the common list separators.
8314
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8315
for pkg in $enableval; do
8317
if test "X$pkg" = "X$p"; then
8318
enable_fast_install=yes
8325
enable_fast_install=yes
8338
# This can be used to rebuild libtool when needed
8339
LIBTOOL_DEPS="$ltmain"
8341
# Always use our own libtool.
8342
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8368
test -z "$LN_S" && LN_S="ln -s"
8383
if test -n "${ZSH_VERSION+set}" ; then
8384
setopt NO_GLOB_SUBST
8387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8388
$as_echo_n "checking for objdir... " >&6; }
8389
if test "${lt_cv_objdir+set}" = set; then :
8390
$as_echo_n "(cached) " >&6
8392
rm -f .libs 2>/dev/null
8393
mkdir .libs 2>/dev/null
8394
if test -d .libs; then
8397
# MS-DOS does not allow filenames that begin with a dot.
8400
rmdir .libs 2>/dev/null
8402
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8403
$as_echo "$lt_cv_objdir" >&6; }
8404
objdir=$lt_cv_objdir
8410
cat >>confdefs.h <<_ACEOF
8411
#define LT_OBJDIR "$lt_cv_objdir/"
8432
# AIX sometimes has problems with the GCC collect2 program. For some
8433
# reason, if we set the COLLECT_NAMES environment variable, the problems
8434
# vanish in a puff of smoke.
8435
if test "X${COLLECT_NAMES+set}" != Xset; then
8437
export COLLECT_NAMES
8442
# Sed substitution that helps us do robust quoting. It backslashifies
8443
# metacharacters that are still active within double-quoted strings.
8444
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8446
# Same as above, but do not quote variable references.
8447
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8449
# Sed substitution to delay expansion of an escaped shell variable in a
8450
# double_quote_subst'ed string.
8451
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8453
# Sed substitution to delay expansion of an escaped single quote.
8454
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8456
# Sed substitution to avoid accidental globbing in evaled expressions
8457
no_glob_subst='s/\*/\\\*/g'
8461
can_build_shared=yes
8463
# All known linkers require a `.a' archive for static linking (except MSVC,
8464
# which needs '.lib').
8467
with_gnu_ld="$lt_cv_prog_gnu_ld"
8470
old_CFLAGS="$CFLAGS"
8472
# Set sane defaults for various variables
8473
test -z "$CC" && CC=cc
8474
test -z "$LTCC" && LTCC=$CC
8475
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8476
test -z "$LD" && LD=ld
8477
test -z "$ac_objext" && ac_objext=o
8479
for cc_temp in $compiler""; do
8481
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8482
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8487
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8490
# Only perform the check for file, if the check method requires it
8491
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8492
case $deplibs_check_method in
8494
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8495
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8496
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8497
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8498
$as_echo_n "(cached) " >&6
8502
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8505
lt_save_MAGIC_CMD="$MAGIC_CMD"
8506
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8507
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8508
for ac_dir in $ac_dummy; do
8510
test -z "$ac_dir" && ac_dir=.
8511
if test -f $ac_dir/${ac_tool_prefix}file; then
8512
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8513
if test -n "$file_magic_test_file"; then
8514
case $deplibs_check_method in
8516
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8517
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8518
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8519
$EGREP "$file_magic_regex" > /dev/null; then
8524
*** Warning: the command libtool uses to detect shared libraries,
8525
*** $file_magic_cmd, produces output that libtool cannot recognize.
8526
*** The result is that libtool may fail to recognize shared libraries
8527
*** as such. This will affect the creation of libtool libraries that
8528
*** depend on shared libraries, but programs linked with such libtool
8529
*** libraries will work regardless of this problem. Nevertheless, you
8530
*** may want to report the problem to your system manager and/or to
8531
*** bug-libtool@gnu.org
8541
MAGIC_CMD="$lt_save_MAGIC_CMD"
8546
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8547
if test -n "$MAGIC_CMD"; then
8548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8549
$as_echo "$MAGIC_CMD" >&6; }
8551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8552
$as_echo "no" >&6; }
8559
if test -z "$lt_cv_path_MAGIC_CMD"; then
8560
if test -n "$ac_tool_prefix"; then
8561
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8562
$as_echo_n "checking for file... " >&6; }
8563
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8564
$as_echo_n "(cached) " >&6
8568
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8571
lt_save_MAGIC_CMD="$MAGIC_CMD"
8572
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8573
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8574
for ac_dir in $ac_dummy; do
8576
test -z "$ac_dir" && ac_dir=.
8577
if test -f $ac_dir/file; then
8578
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8579
if test -n "$file_magic_test_file"; then
8580
case $deplibs_check_method in
8582
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8583
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8584
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8585
$EGREP "$file_magic_regex" > /dev/null; then
8590
*** Warning: the command libtool uses to detect shared libraries,
8591
*** $file_magic_cmd, produces output that libtool cannot recognize.
8592
*** The result is that libtool may fail to recognize shared libraries
8593
*** as such. This will affect the creation of libtool libraries that
8594
*** depend on shared libraries, but programs linked with such libtool
8595
*** libraries will work regardless of this problem. Nevertheless, you
8596
*** may want to report the problem to your system manager and/or to
8597
*** bug-libtool@gnu.org
8607
MAGIC_CMD="$lt_save_MAGIC_CMD"
8612
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8613
if test -n "$MAGIC_CMD"; then
8614
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8615
$as_echo "$MAGIC_CMD" >&6; }
8617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8618
$as_echo "no" >&6; }
8631
# Use C for the default configuration in the libtool script
8635
ac_cpp='$CPP $CPPFLAGS'
8636
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8637
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8638
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8641
# Source file extension for C test sources.
8644
# Object file extension for compiled C test sources.
8648
# Code to be used in simple compile tests
8649
lt_simple_compile_test_code="int some_variable = 0;"
8651
# Code to be used in simple link tests
8652
lt_simple_link_test_code='int main(){return(0);}'
8660
# If no C compiler was specified, use CC.
8663
# If no C compiler flags were specified, use CFLAGS.
8664
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8666
# Allow CC to be a program name with arguments.
8669
# Save the default compiler, since it gets overwritten when the other
8670
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8671
compiler_DEFAULT=$CC
8673
# save warnings/boilerplate of simple test code
8674
ac_outfile=conftest.$ac_objext
8675
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8676
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8677
_lt_compiler_boilerplate=`cat conftest.err`
8680
ac_outfile=conftest.$ac_objext
8681
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8682
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8683
_lt_linker_boilerplate=`cat conftest.err`
8688
## There is no encapsulation within the following macros, do not change
8689
## the running order or otherwise move them around unless you know exactly
8690
## what you are doing...
8691
if test -n "$compiler"; then
8693
lt_prog_compiler_no_builtin_flag=
8695
if test "$GCC" = yes; then
8696
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8699
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8700
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8701
$as_echo_n "(cached) " >&6
8703
lt_cv_prog_compiler_rtti_exceptions=no
8704
ac_outfile=conftest.$ac_objext
8705
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8706
lt_compiler_flag="-fno-rtti -fno-exceptions"
8707
# Insert the option either (1) after the last *FLAGS variable, or
8708
# (2) before a word containing "conftest.", or (3) at the end.
8709
# Note that $ac_compile itself does not contain backslashes and begins
8710
# with a dollar sign (not a hyphen), so the echo should work correctly.
8711
# The option is referenced via a variable to avoid confusing sed.
8712
lt_compile=`echo "$ac_compile" | $SED \
8713
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8714
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8715
-e 's:$: $lt_compiler_flag:'`
8716
(eval echo "\"\$as_me:8716: $lt_compile\"" >&5)
8717
(eval "$lt_compile" 2>conftest.err)
8719
cat conftest.err >&5
8720
echo "$as_me:8720: \$? = $ac_status" >&5
8721
if (exit $ac_status) && test -s "$ac_outfile"; then
8722
# The compiler can only warn and ignore the option if not recognized
8723
# So say no if there are warnings other than the usual output.
8724
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8725
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8726
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8727
lt_cv_prog_compiler_rtti_exceptions=yes
8733
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8734
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8736
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8737
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8749
lt_prog_compiler_wl=
8750
lt_prog_compiler_pic=
8751
lt_prog_compiler_static=
8753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8754
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8756
if test "$GCC" = yes; then
8757
lt_prog_compiler_wl='-Wl,'
8758
lt_prog_compiler_static='-static'
8762
# All AIX code is PIC.
8763
if test "$host_cpu" = ia64; then
8764
# AIX 5 now supports IA64 processor
8765
lt_prog_compiler_static='-Bstatic'
8772
# see comment about AmigaOS4 .so support
8773
lt_prog_compiler_pic='-fPIC'
8776
# FIXME: we need at least 68020 code to build shared libraries, but
8777
# adding the `-m68020' flag to GCC prevents building anything better,
8779
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8784
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8785
# PIC is the default for these OSes.
8788
mingw* | cygwin* | pw32* | os2* | cegcc*)
8789
# This hack is so that the source file can tell whether it is being
8790
# built for inclusion in a dll (and should export symbols for example).
8791
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8792
# (--disable-auto-import) libraries
8793
lt_prog_compiler_pic='-DDLL_EXPORT'
8796
darwin* | rhapsody*)
8797
# PIC is the default on this platform
8798
# Common symbols not allowed in MH_DYLIB files
8799
lt_prog_compiler_pic='-fno-common'
8803
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8804
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8805
# sets the default TLS model and affects inlining.
8811
lt_prog_compiler_pic='-fPIC'
8817
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8818
# Instead, we relocate shared libraries at runtime.
8822
# Just because we use GCC doesn't mean we suddenly get shared libraries
8823
# on systems that don't support them.
8824
lt_prog_compiler_can_build_shared=no
8829
# QNX uses GNU C++, but need to define -shared option too, otherwise
8831
lt_prog_compiler_pic='-fPIC -shared'
8835
if test -d /usr/nec; then
8836
lt_prog_compiler_pic=-Kconform_pic
8841
lt_prog_compiler_pic='-fPIC'
8845
# PORTME Check for flag to pass linker flags through the system compiler.
8848
lt_prog_compiler_wl='-Wl,'
8849
if test "$host_cpu" = ia64; then
8850
# AIX 5 now supports IA64 processor
8851
lt_prog_compiler_static='-Bstatic'
8853
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8857
mingw* | cygwin* | pw32* | os2* | cegcc*)
8858
# This hack is so that the source file can tell whether it is being
8859
# built for inclusion in a dll (and should export symbols for example).
8860
lt_prog_compiler_pic='-DDLL_EXPORT'
8863
hpux9* | hpux10* | hpux11*)
8864
lt_prog_compiler_wl='-Wl,'
8865
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8872
lt_prog_compiler_pic='+Z'
8875
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8876
lt_prog_compiler_static='${wl}-a ${wl}archive'
8879
irix5* | irix6* | nonstopux*)
8880
lt_prog_compiler_wl='-Wl,'
8881
# PIC (with -KPIC) is the default.
8882
lt_prog_compiler_static='-non_shared'
8885
linux* | k*bsd*-gnu | kopensolaris*-gnu)
8886
case $cc_basename in
8887
# old Intel for x86_64 which still supported -KPIC.
8889
lt_prog_compiler_wl='-Wl,'
8890
lt_prog_compiler_pic='-KPIC'
8891
lt_prog_compiler_static='-static'
8893
# icc used to be incompatible with GCC.
8894
# ICC 10 doesn't accept -KPIC any more.
8896
lt_prog_compiler_wl='-Wl,'
8897
lt_prog_compiler_pic='-fPIC'
8898
lt_prog_compiler_static='-static'
8900
# Lahey Fortran 8.1.
8902
lt_prog_compiler_wl='-Wl,'
8903
lt_prog_compiler_pic='--shared'
8904
lt_prog_compiler_static='--static'
8906
pgcc* | pgf77* | pgf90* | pgf95*)
8907
# Portland Group compilers (*not* the Pentium gcc compiler,
8908
# which looks to be a dead project)
8909
lt_prog_compiler_wl='-Wl,'
8910
lt_prog_compiler_pic='-fpic'
8911
lt_prog_compiler_static='-Bstatic'
8914
lt_prog_compiler_wl='-Wl,'
8915
# All Alpha code is PIC.
8916
lt_prog_compiler_static='-non_shared'
8919
# IBM XL C 8.0/Fortran 10.1 on PPC
8920
lt_prog_compiler_wl='-Wl,'
8921
lt_prog_compiler_pic='-qpic'
8922
lt_prog_compiler_static='-qstaticlink'
8925
case `$CC -V 2>&1 | sed 5q` in
8928
lt_prog_compiler_pic='-KPIC'
8929
lt_prog_compiler_static='-Bstatic'
8930
lt_prog_compiler_wl='-Wl,'
8933
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8934
lt_prog_compiler_pic='-KPIC'
8935
lt_prog_compiler_static='-Bstatic'
8936
lt_prog_compiler_wl=''
8944
lt_prog_compiler_pic='-KPIC'
8945
lt_prog_compiler_static='-Bstatic'
8949
# QNX uses GNU C++, but need to define -shared option too, otherwise
8951
lt_prog_compiler_pic='-fPIC -shared'
8954
osf3* | osf4* | osf5*)
8955
lt_prog_compiler_wl='-Wl,'
8956
# All OSF/1 code is PIC.
8957
lt_prog_compiler_static='-non_shared'
8961
lt_prog_compiler_static='-non_shared'
8965
lt_prog_compiler_pic='-KPIC'
8966
lt_prog_compiler_static='-Bstatic'
8967
case $cc_basename in
8969
lt_prog_compiler_wl='-Qoption ld ';;
8971
lt_prog_compiler_wl='-Wl,';;
8976
lt_prog_compiler_wl='-Qoption ld '
8977
lt_prog_compiler_pic='-PIC'
8978
lt_prog_compiler_static='-Bstatic'
8981
sysv4 | sysv4.2uw2* | sysv4.3*)
8982
lt_prog_compiler_wl='-Wl,'
8983
lt_prog_compiler_pic='-KPIC'
8984
lt_prog_compiler_static='-Bstatic'
8988
if test -d /usr/nec ;then
8989
lt_prog_compiler_pic='-Kconform_pic'
8990
lt_prog_compiler_static='-Bstatic'
8994
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8995
lt_prog_compiler_wl='-Wl,'
8996
lt_prog_compiler_pic='-KPIC'
8997
lt_prog_compiler_static='-Bstatic'
9001
lt_prog_compiler_wl='-Wl,'
9002
lt_prog_compiler_can_build_shared=no
9006
lt_prog_compiler_pic='-pic'
9007
lt_prog_compiler_static='-Bstatic'
9011
lt_prog_compiler_can_build_shared=no
9017
# For platforms which do not support PIC, -DPIC is meaningless:
9019
lt_prog_compiler_pic=
9022
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9026
$as_echo "$lt_prog_compiler_pic" >&6; }
9034
# Check to make sure the PIC flag actually works.
9036
if test -n "$lt_prog_compiler_pic"; then
9037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9038
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9039
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
9040
$as_echo_n "(cached) " >&6
9042
lt_cv_prog_compiler_pic_works=no
9043
ac_outfile=conftest.$ac_objext
9044
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9045
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9046
# Insert the option either (1) after the last *FLAGS variable, or
9047
# (2) before a word containing "conftest.", or (3) at the end.
9048
# Note that $ac_compile itself does not contain backslashes and begins
9049
# with a dollar sign (not a hyphen), so the echo should work correctly.
9050
# The option is referenced via a variable to avoid confusing sed.
9051
lt_compile=`echo "$ac_compile" | $SED \
9052
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9053
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9054
-e 's:$: $lt_compiler_flag:'`
9055
(eval echo "\"\$as_me:9055: $lt_compile\"" >&5)
9056
(eval "$lt_compile" 2>conftest.err)
9058
cat conftest.err >&5
9059
echo "$as_me:9059: \$? = $ac_status" >&5
9060
if (exit $ac_status) && test -s "$ac_outfile"; then
9061
# The compiler can only warn and ignore the option if not recognized
9062
# So say no if there are warnings other than the usual output.
9063
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
9064
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9065
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9066
lt_cv_prog_compiler_pic_works=yes
9072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9073
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9075
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9076
case $lt_prog_compiler_pic in
9078
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9081
lt_prog_compiler_pic=
9082
lt_prog_compiler_can_build_shared=no
9093
# Check to make sure the static flag actually works.
9095
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9096
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9097
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9098
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9099
$as_echo_n "(cached) " >&6
9101
lt_cv_prog_compiler_static_works=no
9102
save_LDFLAGS="$LDFLAGS"
9103
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9104
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9105
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9106
# The linker can only warn and ignore the option if not recognized
9107
# So say no if there are warnings
9108
if test -s conftest.err; then
9109
# Append any errors to the config.log.
9110
cat conftest.err 1>&5
9111
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
9112
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9113
if diff conftest.exp conftest.er2 >/dev/null; then
9114
lt_cv_prog_compiler_static_works=yes
9117
lt_cv_prog_compiler_static_works=yes
9121
LDFLAGS="$save_LDFLAGS"
9124
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9125
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9127
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9130
lt_prog_compiler_static=
9139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9140
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9141
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9142
$as_echo_n "(cached) " >&6
9144
lt_cv_prog_compiler_c_o=no
9145
$RM -r conftest 2>/dev/null
9149
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9151
lt_compiler_flag="-o out/conftest2.$ac_objext"
9152
# Insert the option either (1) after the last *FLAGS variable, or
9153
# (2) before a word containing "conftest.", or (3) at the end.
9154
# Note that $ac_compile itself does not contain backslashes and begins
9155
# with a dollar sign (not a hyphen), so the echo should work correctly.
9156
lt_compile=`echo "$ac_compile" | $SED \
9157
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9158
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9159
-e 's:$: $lt_compiler_flag:'`
9160
(eval echo "\"\$as_me:9160: $lt_compile\"" >&5)
9161
(eval "$lt_compile" 2>out/conftest.err)
9163
cat out/conftest.err >&5
9164
echo "$as_me:9164: \$? = $ac_status" >&5
9165
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9167
# The compiler can only warn and ignore the option if not recognized
9168
# So say no if there are warnings
9169
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9170
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9171
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9172
lt_cv_prog_compiler_c_o=yes
9177
# SGI C++ compiler will create directory out/ii_files/ for
9178
# template instantiation
9179
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9180
$RM out/* && rmdir out
9186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9187
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9195
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9196
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9197
$as_echo_n "(cached) " >&6
9199
lt_cv_prog_compiler_c_o=no
9200
$RM -r conftest 2>/dev/null
9204
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9206
lt_compiler_flag="-o out/conftest2.$ac_objext"
9207
# Insert the option either (1) after the last *FLAGS variable, or
9208
# (2) before a word containing "conftest.", or (3) at the end.
9209
# Note that $ac_compile itself does not contain backslashes and begins
9210
# with a dollar sign (not a hyphen), so the echo should work correctly.
9211
lt_compile=`echo "$ac_compile" | $SED \
9212
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9213
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9214
-e 's:$: $lt_compiler_flag:'`
9215
(eval echo "\"\$as_me:9215: $lt_compile\"" >&5)
9216
(eval "$lt_compile" 2>out/conftest.err)
9218
cat out/conftest.err >&5
9219
echo "$as_me:9219: \$? = $ac_status" >&5
9220
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9222
# The compiler can only warn and ignore the option if not recognized
9223
# So say no if there are warnings
9224
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
9225
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9226
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9227
lt_cv_prog_compiler_c_o=yes
9232
# SGI C++ compiler will create directory out/ii_files/ for
9233
# template instantiation
9234
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9235
$RM out/* && rmdir out
9241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9242
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9247
hard_links="nottested"
9248
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9249
# do not overwrite the value of need_locks provided by the user
9250
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9251
$as_echo_n "checking if we can lock with hard links... " >&6; }
9254
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9256
ln conftest.a conftest.b 2>&5 || hard_links=no
9257
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9258
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9259
$as_echo "$hard_links" >&6; }
9260
if test "$hard_links" = no; then
9261
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9262
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9275
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9278
allow_undefined_flag=
9279
always_export_symbols=no
9281
archive_expsym_cmds=
9282
compiler_needs_object=no
9283
enable_shared_with_static_runtimes=no
9284
export_dynamic_flag_spec=
9285
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9286
hardcode_automatic=no
9288
hardcode_direct_absolute=no
9289
hardcode_libdir_flag_spec=
9290
hardcode_libdir_flag_spec_ld=
9291
hardcode_libdir_separator=
9293
hardcode_shlibpath_var=unsupported
9295
link_all_deplibs=unknown
9298
old_archive_from_new_cmds=
9299
old_archive_from_expsyms_cmds=
9300
thread_safe_flag_spec=
9301
whole_archive_flag_spec=
9302
# include_expsyms should be a list of space-separated symbols to be *always*
9303
# included in the symbol list
9305
# exclude_expsyms can be an extended regexp of symbols to exclude
9306
# it will be wrapped by ` (' and `)$', so one must not match beginning or
9307
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9308
# as well as any symbol that contains `d'.
9309
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9310
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9311
# platforms (ab)use it in PIC code, but their linkers get confused if
9312
# the symbol is explicitly referenced. Since portable code cannot
9313
# rely on this symbol name, it's probably fine to never include it in
9314
# preloaded symbol tables.
9315
# Exclude shared library initialization/finalization symbols.
9316
extract_expsyms_cmds=
9319
cygwin* | mingw* | pw32* | cegcc*)
9320
# FIXME: the MSVC++ port hasn't been tested in a loooong time
9321
# When not using gcc, we currently assume that we are using
9322
# Microsoft Visual C++.
9323
if test "$GCC" != yes; then
9328
# we just hope/assume this is gcc and not c89 (= MSVC++)
9334
linux* | k*bsd*-gnu)
9340
if test "$with_gnu_ld" = yes; then
9341
# If archive_cmds runs LD, not CC, wlarc should be empty
9344
# Set some defaults for GNU ld with shared library support. These
9345
# are reset later if shared libraries are not supported. Putting them
9346
# here allows them to be overridden if necessary.
9347
runpath_var=LD_RUN_PATH
9348
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9349
export_dynamic_flag_spec='${wl}--export-dynamic'
9350
# ancient GNU ld didn't support --whole-archive et. al.
9351
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9352
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9354
whole_archive_flag_spec=
9356
supports_anon_versioning=no
9357
case `$LD -v 2>&1` in
9358
*GNU\ gold*) supports_anon_versioning=yes ;;
9359
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9360
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9361
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9362
*\ 2.11.*) ;; # other 2.11 versions
9363
*) supports_anon_versioning=yes ;;
9366
# See if GNU ld supports shared libraries.
9369
# On AIX/PPC, the GNU linker is very broken
9370
if test "$host_cpu" != ia64; then
9374
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
9375
*** to be unable to reliably create shared libraries on AIX.
9376
*** Therefore, libtool is disabling shared libraries support. If you
9377
*** really care for shared libraries, you may want to modify your PATH
9378
*** so that a non-GNU linker is found, and then restart.
9387
# see comment about AmigaOS4 .so support
9388
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9389
archive_expsym_cmds=''
9392
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)'
9393
hardcode_libdir_flag_spec='-L$libdir'
9394
hardcode_minus_L=yes
9400
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9401
allow_undefined_flag=unsupported
9402
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9403
# support --undefined. This deserves some investigation. FIXME
9404
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9410
cygwin* | mingw* | pw32* | cegcc*)
9411
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9412
# as there is no search path for DLLs.
9413
hardcode_libdir_flag_spec='-L$libdir'
9414
allow_undefined_flag=unsupported
9415
always_export_symbols=no
9416
enable_shared_with_static_runtimes=yes
9417
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9419
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9420
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9421
# If the export-symbols file already is a .def file (1st line
9422
# is EXPORTS), use it as is; otherwise, prepend...
9423
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9424
cp $export_symbols $output_objdir/$soname.def;
9426
echo EXPORTS > $output_objdir/$soname.def;
9427
cat $export_symbols >> $output_objdir/$soname.def;
9429
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9437
hardcode_shlibpath_var=no
9438
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9439
export_dynamic_flag_spec='${wl}-E'
9440
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9441
# Instead, shared libraries are loaded at an image base (0x10000000 by
9442
# default) and relocated if they conflict, which is a slow very memory
9443
# consuming and fragmenting process. To avoid this, we pick a random,
9444
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9445
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9446
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9447
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'
9450
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9452
if test "$host_os" = linux-dietlibc; then
9453
case $cc_basename in
9454
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9457
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9458
&& test "$tmp_diet" = no
9461
tmp_sharedflag='-shared'
9462
case $cc_basename,$host_cpu in
9463
pgcc*) # Portland Group C compiler
9464
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'
9465
tmp_addflag=' $pic_flag'
9467
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9468
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'
9469
tmp_addflag=' $pic_flag -Mnomain' ;;
9470
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9471
tmp_addflag=' -i_dynamic' ;;
9472
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9473
tmp_addflag=' -i_dynamic -nofor_main' ;;
9474
ifc* | ifort*) # Intel Fortran compiler
9475
tmp_addflag=' -nofor_main' ;;
9476
lf95*) # Lahey Fortran 8.1
9477
whole_archive_flag_spec=
9478
tmp_sharedflag='--shared' ;;
9479
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9480
tmp_sharedflag='-qmkshrobj'
9483
case `$CC -V 2>&1 | sed 5q` in
9484
*Sun\ C*) # Sun C 5.9
9485
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'
9486
compiler_needs_object=yes
9487
tmp_sharedflag='-G' ;;
9488
*Sun\ F*) # Sun Fortran 8.3
9489
tmp_sharedflag='-G' ;;
9491
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9493
if test "x$supports_anon_versioning" = xyes; then
9494
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9495
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9496
echo "local: *; };" >> $output_objdir/$libname.ver~
9497
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9500
case $cc_basename in
9502
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9503
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9504
hardcode_libdir_flag_spec=
9505
hardcode_libdir_flag_spec_ld='-rpath $libdir'
9506
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9507
if test "x$supports_anon_versioning" = xyes; then
9508
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9509
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9510
echo "local: *; };" >> $output_objdir/$libname.ver~
9511
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9520
netbsd* | netbsdelf*-gnu)
9521
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9522
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9525
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9526
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9531
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9535
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9536
*** create shared libraries on Solaris systems. Therefore, libtool
9537
*** is disabling shared libraries support. We urge you to upgrade GNU
9538
*** binutils to release 2.9.1 or newer. Another option is to modify
9539
*** your PATH or compiler configuration so that the native linker is
9540
*** used, and then restart.
9543
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9544
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9545
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9551
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9552
case `$LD -v 2>&1` in
9553
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9557
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9558
*** reliably create shared libraries on SCO systems. Therefore, libtool
9559
*** is disabling shared libraries support. We urge you to upgrade GNU
9560
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9561
*** your PATH or compiler configuration so that the native linker is
9562
*** used, and then restart.
9567
# For security reasons, it is highly recommended that you always
9568
# use absolute paths for naming shared libraries, and exclude the
9569
# DT_RUNPATH tag from executables and libraries. But doing so
9570
# requires that you compile everything twice, which is a pain.
9571
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9572
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9573
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9574
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9583
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9586
hardcode_shlibpath_var=no
9590
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9591
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9592
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9599
if test "$ld_shlibs" = no; then
9601
hardcode_libdir_flag_spec=
9602
export_dynamic_flag_spec=
9603
whole_archive_flag_spec=
9606
# PORTME fill in a description of your system's linker (not GNU ld)
9609
allow_undefined_flag=unsupported
9610
always_export_symbols=yes
9611
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'
9612
# Note: this linker hardcodes the directories in LIBPATH if there
9613
# are no directories specified by -L.
9614
hardcode_minus_L=yes
9615
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9616
# Neither direct hardcoding nor static linking is supported with a
9618
hardcode_direct=unsupported
9623
if test "$host_cpu" = ia64; then
9624
# On IA64, the linker does run time linking by default, so we don't
9625
# have to do anything special.
9626
aix_use_runtimelinking=no
9627
exp_sym_flag='-Bexport'
9630
# If we're using GNU nm, then we don't want the "-C" option.
9631
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9632
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9633
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'
9635
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'
9637
aix_use_runtimelinking=no
9639
# Test if we are trying to use run time linking or normal
9640
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9641
# need to do runtime linking.
9642
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9643
for ld_flag in $LDFLAGS; do
9644
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9645
aix_use_runtimelinking=yes
9652
exp_sym_flag='-bexport'
9653
no_entry_flag='-bnoentry'
9656
# When large executables or shared objects are built, AIX ld can
9657
# have problems creating the table of contents. If linking a library
9658
# or program results in "error TOC overflow" add -mminimal-toc to
9659
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9660
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9664
hardcode_direct_absolute=yes
9665
hardcode_libdir_separator=':'
9666
link_all_deplibs=yes
9667
file_list_spec='${wl}-f,'
9669
if test "$GCC" = yes; then
9670
case $host_os in aix4.[012]|aix4.[012].*)
9671
# We only want to do this on AIX 4.2 and lower, the check
9672
# below for broken collect2 doesn't work under 4.3+
9673
collect2name=`${CC} -print-prog-name=collect2`
9674
if test -f "$collect2name" &&
9675
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9677
# We have reworked collect2
9680
# We have old collect2
9681
hardcode_direct=unsupported
9682
# It fails to find uninstalled libraries when the uninstalled
9683
# path is not listed in the libpath. Setting hardcode_minus_L
9684
# to unsupported forces relinking
9685
hardcode_minus_L=yes
9686
hardcode_libdir_flag_spec='-L$libdir'
9687
hardcode_libdir_separator=
9691
shared_flag='-shared'
9692
if test "$aix_use_runtimelinking" = yes; then
9693
shared_flag="$shared_flag "'${wl}-G'
9698
if test "$host_cpu" = ia64; then
9699
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9700
# chokes on -Wl,-G. The following line is correct:
9703
if test "$aix_use_runtimelinking" = yes; then
9704
shared_flag='${wl}-G'
9706
shared_flag='${wl}-bM:SRE'
9711
export_dynamic_flag_spec='${wl}-bexpall'
9712
# It seems that -bexpall does not export symbols beginning with
9713
# underscore (_), so it is better to generate a list of symbols to export.
9714
always_export_symbols=yes
9715
if test "$aix_use_runtimelinking" = yes; then
9716
# Warning - without using the other runtime loading flags (-brtl),
9717
# -berok will link without error, but may produce a broken library.
9718
allow_undefined_flag='-berok'
9719
# Determine the default libpath from the value encoded in an
9721
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9722
/* end confdefs.h. */
9732
if ac_fn_c_try_link "$LINENO"; then :
9734
lt_aix_libpath_sed='
9735
/Import File Strings/,/^$/ {
9741
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9742
# Check for a 64-bit object if we didn't find anything.
9743
if test -z "$aix_libpath"; then
9744
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9747
rm -f core conftest.err conftest.$ac_objext \
9748
conftest$ac_exeext conftest.$ac_ext
9749
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9751
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9752
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"
9754
if test "$host_cpu" = ia64; then
9755
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9756
allow_undefined_flag="-z nodefs"
9757
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"
9759
# Determine the default libpath from the value encoded in an
9761
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9762
/* end confdefs.h. */
9772
if ac_fn_c_try_link "$LINENO"; then :
9774
lt_aix_libpath_sed='
9775
/Import File Strings/,/^$/ {
9781
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9782
# Check for a 64-bit object if we didn't find anything.
9783
if test -z "$aix_libpath"; then
9784
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9787
rm -f core conftest.err conftest.$ac_objext \
9788
conftest$ac_exeext conftest.$ac_ext
9789
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9791
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9792
# Warning - without using the other run time loading flags,
9793
# -berok will link without error, but may produce a broken library.
9794
no_undefined_flag=' ${wl}-bernotok'
9795
allow_undefined_flag=' ${wl}-berok'
9796
# Exported symbols can be pulled into shared objects from archives
9797
whole_archive_flag_spec='$convenience'
9798
archive_cmds_need_lc=yes
9799
# This is similar to how AIX traditionally builds its shared libraries.
9800
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'
9808
# see comment about AmigaOS4 .so support
9809
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9810
archive_expsym_cmds=''
9813
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)'
9814
hardcode_libdir_flag_spec='-L$libdir'
9815
hardcode_minus_L=yes
9821
export_dynamic_flag_spec=-rdynamic
9824
cygwin* | mingw* | pw32* | cegcc*)
9825
# When not using gcc, we currently assume that we are using
9826
# Microsoft Visual C++.
9827
# hardcode_libdir_flag_spec is actually meaningless, as there is
9828
# no search path for DLLs.
9829
hardcode_libdir_flag_spec=' '
9830
allow_undefined_flag=unsupported
9831
# Tell ltmain to make .lib files, not .a files.
9833
# Tell ltmain to make .dll files, not .so files.
9835
# FIXME: Setting linknames here is a bad hack.
9836
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9837
# The linker will automatically build a .lib file if we build a DLL.
9838
old_archive_from_new_cmds='true'
9839
# FIXME: Should let the user specify the lib program.
9840
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9841
fix_srcfile_path='`cygpath -w "$srcfile"`'
9842
enable_shared_with_static_runtimes=yes
9845
darwin* | rhapsody*)
9848
archive_cmds_need_lc=no
9850
hardcode_automatic=yes
9851
hardcode_shlibpath_var=unsupported
9852
whole_archive_flag_spec=''
9853
link_all_deplibs=yes
9854
allow_undefined_flag="$_lt_dar_allow_undefined"
9855
case $cc_basename in
9856
ifort*) _lt_dar_can_shared=yes ;;
9857
*) _lt_dar_can_shared=$GCC ;;
9859
if test "$_lt_dar_can_shared" = "yes"; then
9860
output_verbose_link_cmd=echo
9861
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9862
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9863
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}"
9864
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}"
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
9882
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9883
# support. Future versions do this automatically, but an explicit c++rt0.o
9884
# does not break anything, and helps significantly (at the cost of a little
9887
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9888
hardcode_libdir_flag_spec='-R$libdir'
9890
hardcode_shlibpath_var=no
9893
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9895
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9897
hardcode_minus_L=yes
9898
hardcode_shlibpath_var=no
9901
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9902
freebsd* | dragonfly*)
9903
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9904
hardcode_libdir_flag_spec='-R$libdir'
9906
hardcode_shlibpath_var=no
9910
if test "$GCC" = yes; then
9911
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'
9913
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'
9915
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9916
hardcode_libdir_separator=:
9919
# hardcode_minus_L: Not really in the search PATH,
9920
# but as the default location of the library.
9921
hardcode_minus_L=yes
9922
export_dynamic_flag_spec='${wl}-E'
9926
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9927
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9929
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9931
if test "$with_gnu_ld" = no; then
9932
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9933
hardcode_libdir_flag_spec_ld='+b $libdir'
9934
hardcode_libdir_separator=:
9936
hardcode_direct_absolute=yes
9937
export_dynamic_flag_spec='${wl}-E'
9938
# hardcode_minus_L: Not really in the search PATH,
9939
# but as the default location of the library.
9940
hardcode_minus_L=yes
9945
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9948
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9951
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9954
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9960
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9963
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9966
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9970
if test "$with_gnu_ld" = no; then
9971
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9972
hardcode_libdir_separator=:
9977
hardcode_shlibpath_var=no
9981
hardcode_direct_absolute=yes
9982
export_dynamic_flag_spec='${wl}-E'
9984
# hardcode_minus_L: Not really in the search PATH,
9985
# but as the default location of the library.
9986
hardcode_minus_L=yes
9992
irix5* | irix6* | nonstopux*)
9993
if test "$GCC" = yes; then
9994
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'
9995
# Try to use the -exported_symbol ld option, if it does not
9996
# work, assume that -exports_file does not work either and
9997
# implicitly export all symbols.
9998
save_LDFLAGS="$LDFLAGS"
9999
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10000
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10001
/* end confdefs.h. */
10004
if ac_fn_c_try_link "$LINENO"; then :
10005
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'
10008
rm -f core conftest.err conftest.$ac_objext \
10009
conftest$ac_exeext conftest.$ac_ext
10010
LDFLAGS="$save_LDFLAGS"
10012
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'
10013
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'
10015
archive_cmds_need_lc='no'
10016
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10017
hardcode_libdir_separator=:
10019
link_all_deplibs=yes
10022
netbsd* | netbsdelf*-gnu)
10023
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10024
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10026
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10028
hardcode_libdir_flag_spec='-R$libdir'
10029
hardcode_direct=yes
10030
hardcode_shlibpath_var=no
10034
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10035
hardcode_direct=yes
10036
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10037
hardcode_libdir_separator=:
10038
hardcode_shlibpath_var=no
10045
if test -f /usr/libexec/ld.so; then
10046
hardcode_direct=yes
10047
hardcode_shlibpath_var=no
10048
hardcode_direct_absolute=yes
10049
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10050
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10051
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10052
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10053
export_dynamic_flag_spec='${wl}-E'
10056
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10057
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10058
hardcode_libdir_flag_spec='-R$libdir'
10061
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10062
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10072
hardcode_libdir_flag_spec='-L$libdir'
10073
hardcode_minus_L=yes
10074
allow_undefined_flag=unsupported
10075
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'
10076
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10080
if test "$GCC" = yes; then
10081
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10082
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'
10084
allow_undefined_flag=' -expect_unresolved \*'
10085
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'
10087
archive_cmds_need_lc='no'
10088
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10089
hardcode_libdir_separator=:
10092
osf4* | osf5*) # as osf3* with the addition of -msym flag
10093
if test "$GCC" = yes; then
10094
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10095
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'
10096
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10098
allow_undefined_flag=' -expect_unresolved \*'
10099
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'
10100
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~
10101
$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'
10103
# Both c and cxx compiler support -rpath directly
10104
hardcode_libdir_flag_spec='-rpath $libdir'
10106
archive_cmds_need_lc='no'
10107
hardcode_libdir_separator=:
10111
no_undefined_flag=' -z defs'
10112
if test "$GCC" = yes; then
10114
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10115
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10116
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10118
case `$CC -V 2>&1` in
10121
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10122
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10123
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10127
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10128
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10129
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10133
hardcode_libdir_flag_spec='-R$libdir'
10134
hardcode_shlibpath_var=no
10136
solaris2.[0-5] | solaris2.[0-5].*) ;;
10138
# The compiler driver will combine and reorder linker options,
10139
# but understands `-z linker_flag'. GCC discards it without `$wl',
10140
# but is careful enough not to reorder.
10141
# Supported since Solaris 2.6 (maybe 2.5.1?)
10142
if test "$GCC" = yes; then
10143
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10145
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10149
link_all_deplibs=yes
10153
if test "x$host_vendor" = xsequent; then
10154
# Use $CC to link under sequent, because it throws in some extra .o
10155
# files that make .init and .fini sections work.
10156
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10158
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10160
hardcode_libdir_flag_spec='-L$libdir'
10161
hardcode_direct=yes
10162
hardcode_minus_L=yes
10163
hardcode_shlibpath_var=no
10167
case $host_vendor in
10169
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10170
hardcode_direct=yes # is this really true???
10173
## LD is ld it makes a PLAMLIB
10174
## CC just makes a GrossModule.
10175
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10176
reload_cmds='$CC -r -o $output$reload_objs'
10180
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10181
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10184
runpath_var='LD_RUN_PATH'
10185
hardcode_shlibpath_var=no
10189
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10190
hardcode_shlibpath_var=no
10191
export_dynamic_flag_spec='-Bexport'
10195
if test -d /usr/nec; then
10196
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10197
hardcode_shlibpath_var=no
10198
runpath_var=LD_RUN_PATH
10199
hardcode_runpath_var=yes
10204
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10205
no_undefined_flag='${wl}-z,text'
10206
archive_cmds_need_lc=no
10207
hardcode_shlibpath_var=no
10208
runpath_var='LD_RUN_PATH'
10210
if test "$GCC" = yes; then
10211
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10212
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10214
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10215
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10219
sysv5* | sco3.2v5* | sco5v6*)
10220
# Note: We can NOT use -z defs as we might desire, because we do not
10221
# link with -lc, and that would cause any symbols used from libc to
10222
# always be unresolved, which means just about no library would
10223
# ever link correctly. If we're not using GNU ld we use -z text
10224
# though, which does catch some bad symbols but isn't as heavy-handed
10226
no_undefined_flag='${wl}-z,text'
10227
allow_undefined_flag='${wl}-z,nodefs'
10228
archive_cmds_need_lc=no
10229
hardcode_shlibpath_var=no
10230
hardcode_libdir_flag_spec='${wl}-R,$libdir'
10231
hardcode_libdir_separator=':'
10232
link_all_deplibs=yes
10233
export_dynamic_flag_spec='${wl}-Bexport'
10234
runpath_var='LD_RUN_PATH'
10236
if test "$GCC" = yes; then
10237
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10238
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10240
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10241
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10246
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10247
hardcode_libdir_flag_spec='-L$libdir'
10248
hardcode_shlibpath_var=no
10256
if test x$host_vendor = xsni; then
10258
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10259
export_dynamic_flag_spec='${wl}-Blargedynsym'
10265
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10266
$as_echo "$ld_shlibs" >&6; }
10267
test "$ld_shlibs" = no && can_build_shared=no
10269
with_gnu_ld=$with_gnu_ld
10286
# Do we need to explicitly link libc?
10288
case "x$archive_cmds_need_lc" in
10290
# Assume -lc should be added
10291
archive_cmds_need_lc=yes
10293
if test "$enable_shared" = yes && test "$GCC" = yes; then
10294
case $archive_cmds in
10296
# FIXME: we may have to deal with multi-command sequences.
10299
# Test whether the compiler implicitly links with -lc since on some
10300
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10301
# to ld, don't add -lc before -lgcc.
10302
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10303
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10305
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10307
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10308
(eval $ac_compile) 2>&5
10310
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10311
test $ac_status = 0; } 2>conftest.err; then
10314
libobjs=conftest.$ac_objext
10316
wl=$lt_prog_compiler_wl
10317
pic_flag=$lt_prog_compiler_pic
10323
lt_save_allow_undefined_flag=$allow_undefined_flag
10324
allow_undefined_flag=
10325
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10326
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10328
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10329
test $ac_status = 0; }
10331
archive_cmds_need_lc=no
10333
archive_cmds_need_lc=yes
10335
allow_undefined_flag=$lt_save_allow_undefined_flag
10337
cat conftest.err 1>&5
10340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
10341
$as_echo "$archive_cmds_need_lc" >&6; }
10504
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10505
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10507
if test "$GCC" = yes; then
10509
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10510
*) lt_awk_arg="/^libraries:/" ;;
10512
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10513
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10514
# if the path contains ";" then we assume it to be the separator
10515
# otherwise default to the standard path separator (i.e. ":") - it is
10516
# assumed that no part of a normal pathname contains ";" but that should
10517
# okay in the real world where ";" in dirpaths is itself problematic.
10518
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10520
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10522
# Ok, now we have the path, separated by spaces, we can step through it
10523
# and add multilib dir if necessary.
10524
lt_tmp_lt_search_path_spec=
10525
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10526
for lt_sys_path in $lt_search_path_spec; do
10527
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10528
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10530
test -d "$lt_sys_path" && \
10531
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10534
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10535
BEGIN {RS=" "; FS="/|\n";} {
10538
for (lt_i = NF; lt_i > 0; lt_i--) {
10539
if ($lt_i != "" && $lt_i != ".") {
10540
if ($lt_i == "..") {
10543
if (lt_count == 0) {
10544
lt_foo="/" $lt_i lt_foo;
10551
if (lt_foo != "") { lt_freq[lt_foo]++; }
10552
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10554
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10556
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10558
library_names_spec=
10559
libname_spec='lib$name'
10563
postuninstall_cmds=
10567
shlibpath_overrides_runpath=unknown
10569
dynamic_linker="$host_os ld.so"
10570
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10571
need_lib_prefix=unknown
10572
hardcode_into_libs=no
10574
# when you set need_version to no, make sure it does not cause -set_version
10575
# flags to be left without arguments
10576
need_version=unknown
10581
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10582
shlibpath_var=LIBPATH
10584
# AIX 3 has no versioning support, so we append a major version to the name.
10585
soname_spec='${libname}${release}${shared_ext}$major'
10592
hardcode_into_libs=yes
10593
if test "$host_cpu" = ia64; then
10594
# AIX 5 supports IA64
10595
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10596
shlibpath_var=LD_LIBRARY_PATH
10598
# With GCC up to 2.95.x, collect2 would create an import file
10599
# for dependence libraries. The import file would start with
10600
# the line `#! .'. This would cause the generated library to
10601
# depend on `.', always an invalid library. This was fixed in
10602
# development snapshots of GCC prior to 3.0.
10604
aix4 | aix4.[01] | aix4.[01].*)
10605
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10607
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10610
can_build_shared=no
10614
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10615
# soname into executable. Probably we can add versioning support to
10616
# collect2, so additional links can be useful in future.
10617
if test "$aix_use_runtimelinking" = yes; then
10618
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10619
# instead of lib<name>.a to let people know that these are not
10620
# typical AIX shared libraries.
10621
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10623
# We preserve .a as extension for shared libraries through AIX4.2
10624
# and later when we are not doing run time linking.
10625
library_names_spec='${libname}${release}.a $libname.a'
10626
soname_spec='${libname}${release}${shared_ext}$major'
10628
shlibpath_var=LIBPATH
10635
# Since July 2007 AmigaOS4 officially supports .so libraries.
10636
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10637
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10640
library_names_spec='$libname.ixlibrary $libname.a'
10641
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10642
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'
10648
library_names_spec='${libname}${shared_ext}'
10649
dynamic_linker="$host_os ld.so"
10650
shlibpath_var=LIBRARY_PATH
10656
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10657
soname_spec='${libname}${release}${shared_ext}$major'
10658
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10659
shlibpath_var=LD_LIBRARY_PATH
10660
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10661
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10662
# the default ld.so.conf also contains /usr/contrib/lib and
10663
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10664
# libtool to hard-code these into programs
10667
cygwin* | mingw* | pw32* | cegcc*)
10668
version_type=windows
10673
case $GCC,$host_os in
10674
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10675
library_names_spec='$libname.dll.a'
10676
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10677
postinstall_cmds='base_file=`basename \${file}`~
10678
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10679
dldir=$destdir/`dirname \$dlpath`~
10680
test -d \$dldir || mkdir -p \$dldir~
10681
$install_prog $dir/$dlname \$dldir/$dlname~
10682
chmod a+x \$dldir/$dlname~
10683
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10684
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10686
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10687
dlpath=$dir/\$dldll~
10689
shlibpath_overrides_runpath=yes
10693
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10694
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10695
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10698
# MinGW DLLs use traditional 'lib' prefix
10699
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10700
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10701
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10702
# It is most probably a Windows format PATH printed by
10703
# mingw gcc, but we are running on Cygwin. Gcc prints its search
10704
# path with ; separators, and with drive letters. We can handle the
10705
# drive letters (cygwin fileutils understands them), so leave them,
10706
# especially as we might pass files found there to a mingw objdump,
10707
# which wouldn't understand a cygwinified path. Ahh.
10708
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10710
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10714
# pw32 DLLs use 'pw' prefix rather than 'lib'
10715
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10721
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10724
dynamic_linker='Win32 ld.exe'
10725
# FIXME: first we should search . and the directory the executable is in
10729
darwin* | rhapsody*)
10730
dynamic_linker="$host_os dyld"
10731
version_type=darwin
10734
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10735
soname_spec='${libname}${release}${major}$shared_ext'
10736
shlibpath_overrides_runpath=yes
10737
shlibpath_var=DYLD_LIBRARY_PATH
10738
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10740
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10741
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10748
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10749
soname_spec='${libname}${release}${shared_ext}$major'
10750
shlibpath_var=LD_LIBRARY_PATH
10757
freebsd* | dragonfly*)
10758
# DragonFly does not have aout. When/if they implement a new
10759
# versioning mechanism, adjust this.
10760
if test -x /usr/bin/objformat; then
10761
objformat=`/usr/bin/objformat`
10764
freebsd[123]*) objformat=aout ;;
10765
*) objformat=elf ;;
10768
version_type=freebsd-$objformat
10769
case $version_type in
10771
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10776
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10780
shlibpath_var=LD_LIBRARY_PATH
10783
shlibpath_overrides_runpath=yes
10785
freebsd3.[01]* | freebsdelf3.[01]*)
10786
shlibpath_overrides_runpath=yes
10787
hardcode_into_libs=yes
10789
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10790
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10791
shlibpath_overrides_runpath=no
10792
hardcode_into_libs=yes
10794
*) # from 4.6 on, and DragonFly
10795
shlibpath_overrides_runpath=yes
10796
hardcode_into_libs=yes
10805
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10806
soname_spec='${libname}${release}${shared_ext}$major'
10807
shlibpath_var=LD_LIBRARY_PATH
10808
hardcode_into_libs=yes
10811
hpux9* | hpux10* | hpux11*)
10812
# Give a soname corresponding to the major version so that dld.sl refuses to
10813
# link against other versions.
10820
hardcode_into_libs=yes
10821
dynamic_linker="$host_os dld.so"
10822
shlibpath_var=LD_LIBRARY_PATH
10823
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10824
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10825
soname_spec='${libname}${release}${shared_ext}$major'
10826
if test "X$HPUX_IA64_MODE" = X32; then
10827
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10829
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10831
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10835
hardcode_into_libs=yes
10836
dynamic_linker="$host_os dld.sl"
10837
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10838
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10839
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10840
soname_spec='${libname}${release}${shared_ext}$major'
10841
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10842
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10846
dynamic_linker="$host_os dld.sl"
10847
shlibpath_var=SHLIB_PATH
10848
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10849
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10850
soname_spec='${libname}${release}${shared_ext}$major'
10853
# HP-UX runs *really* slowly unless shared libraries are mode 555.
10854
postinstall_cmds='chmod 555 $lib'
10861
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10862
soname_spec='${libname}${release}${shared_ext}$major'
10863
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10864
shlibpath_var=LD_LIBRARY_PATH
10865
shlibpath_overrides_runpath=no
10866
hardcode_into_libs=yes
10869
irix5* | irix6* | nonstopux*)
10871
nonstopux*) version_type=nonstopux ;;
10873
if test "$lt_cv_prog_gnu_ld" = yes; then
10881
soname_spec='${libname}${release}${shared_ext}$major'
10882
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10884
irix5* | nonstopux*)
10885
libsuff= shlibsuff=
10888
case $LD in # libtool.m4 will add one of these switches to LD
10889
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10890
libsuff= shlibsuff= libmagic=32-bit;;
10891
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10892
libsuff=32 shlibsuff=N32 libmagic=N32;;
10893
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10894
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10895
*) libsuff= shlibsuff= libmagic=never-match;;
10899
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10900
shlibpath_overrides_runpath=no
10901
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10902
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10903
hardcode_into_libs=yes
10906
# No shared lib support for Linux oldld, aout, or coff.
10907
linux*oldld* | linux*aout* | linux*coff*)
10911
# This must be Linux ELF.
10912
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10916
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10917
soname_spec='${libname}${release}${shared_ext}$major'
10918
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10919
shlibpath_var=LD_LIBRARY_PATH
10920
shlibpath_overrides_runpath=no
10921
# Some binutils ld are patched to set DT_RUNPATH
10922
save_LDFLAGS=$LDFLAGS
10923
save_libdir=$libdir
10924
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10925
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10926
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10927
/* end confdefs.h. */
10937
if ac_fn_c_try_link "$LINENO"; then :
10938
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10939
shlibpath_overrides_runpath=yes
10942
rm -f core conftest.err conftest.$ac_objext \
10943
conftest$ac_exeext conftest.$ac_ext
10944
LDFLAGS=$save_LDFLAGS
10945
libdir=$save_libdir
10947
# This implies no fast_install, which is unacceptable.
10948
# Some rework will be needed to allow for fast_install
10949
# before this can be enabled.
10950
hardcode_into_libs=yes
10952
# Append ld.so.conf contents to the search path
10953
if test -f /etc/ld.so.conf; then
10954
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' ' '`
10955
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10958
# We used to test for /lib/ld.so.1 and disable shared libraries on
10959
# powerpc, because MkLinux only supported shared libraries with the
10960
# GNU dynamic linker. Since this was broken with cross compilers,
10961
# most powerpc-linux boxes support dynamic linking these days and
10962
# people can always --disable-shared, the test was removed, and we
10963
# assume the GNU/Linux dynamic linker is in use.
10964
dynamic_linker='GNU/Linux ld.so'
10971
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10972
soname_spec='${libname}${release}${shared_ext}$major'
10973
shlibpath_var=LD_LIBRARY_PATH
10974
shlibpath_overrides_runpath=no
10975
hardcode_into_libs=yes
10976
dynamic_linker='NetBSD ld.elf_so'
10983
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10984
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10985
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10986
dynamic_linker='NetBSD (a.out) ld.so'
10988
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10989
soname_spec='${libname}${release}${shared_ext}$major'
10990
dynamic_linker='NetBSD ld.elf_so'
10992
shlibpath_var=LD_LIBRARY_PATH
10993
shlibpath_overrides_runpath=yes
10994
hardcode_into_libs=yes
10999
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11000
shlibpath_var=LD_LIBRARY_PATH
11001
shlibpath_overrides_runpath=yes
11008
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11009
soname_spec='${libname}${release}${shared_ext}$major'
11010
shlibpath_var=LD_LIBRARY_PATH
11011
shlibpath_overrides_runpath=no
11012
hardcode_into_libs=yes
11013
dynamic_linker='ldqnx.so'
11018
sys_lib_dlsearch_path_spec="/usr/lib"
11020
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11022
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11023
*) need_version=no ;;
11025
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11026
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11027
shlibpath_var=LD_LIBRARY_PATH
11028
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11030
openbsd2.[89] | openbsd2.[89].*)
11031
shlibpath_overrides_runpath=no
11034
shlibpath_overrides_runpath=yes
11038
shlibpath_overrides_runpath=yes
11043
libname_spec='$name'
11046
library_names_spec='$libname${shared_ext} $libname.a'
11047
dynamic_linker='OS/2 ld.exe'
11048
shlibpath_var=LIBPATH
11051
osf3* | osf4* | osf5*)
11055
soname_spec='${libname}${release}${shared_ext}$major'
11056
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11057
shlibpath_var=LD_LIBRARY_PATH
11058
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11059
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11070
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11071
soname_spec='${libname}${release}${shared_ext}$major'
11072
shlibpath_var=LD_LIBRARY_PATH
11073
shlibpath_overrides_runpath=yes
11074
hardcode_into_libs=yes
11075
# ldd complains unless libraries are executable
11076
postinstall_cmds='chmod +x $lib'
11081
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11082
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11083
shlibpath_var=LD_LIBRARY_PATH
11084
shlibpath_overrides_runpath=yes
11085
if test "$with_gnu_ld" = yes; then
11093
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11094
soname_spec='${libname}${release}${shared_ext}$major'
11095
shlibpath_var=LD_LIBRARY_PATH
11096
case $host_vendor in
11098
shlibpath_overrides_runpath=no
11100
runpath_var=LD_RUN_PATH
11108
shlibpath_overrides_runpath=no
11109
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11115
if test -d /usr/nec ;then
11117
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11118
soname_spec='$libname${shared_ext}.$major'
11119
shlibpath_var=LD_LIBRARY_PATH
11123
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11124
version_type=freebsd-elf
11127
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11128
soname_spec='${libname}${release}${shared_ext}$major'
11129
shlibpath_var=LD_LIBRARY_PATH
11130
shlibpath_overrides_runpath=yes
11131
hardcode_into_libs=yes
11132
if test "$with_gnu_ld" = yes; then
11133
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11135
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11138
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11142
sys_lib_dlsearch_path_spec='/usr/lib'
11146
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11150
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11151
shlibpath_var=LD_LIBRARY_PATH
11152
shlibpath_overrides_runpath=no
11153
hardcode_into_libs=yes
11158
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11159
soname_spec='${libname}${release}${shared_ext}$major'
11160
shlibpath_var=LD_LIBRARY_PATH
11167
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11168
$as_echo "$dynamic_linker" >&6; }
11169
test "$dynamic_linker" = no && can_build_shared=no
11171
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11172
if test "$GCC" = yes; then
11173
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11176
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11177
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11179
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11180
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11270
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11272
if test -n "$hardcode_libdir_flag_spec" ||
11273
test -n "$runpath_var" ||
11274
test "X$hardcode_automatic" = "Xyes" ; then
11276
# We can hardcode non-existent directories.
11277
if test "$hardcode_direct" != no &&
11278
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11279
# have to relink, otherwise we might link with an installed library
11280
# when we should be linking with a yet-to-be-installed one
11281
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11282
test "$hardcode_minus_L" != no; then
11283
# Linking always hardcodes the temporary library directory.
11284
hardcode_action=relink
11286
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11287
hardcode_action=immediate
11290
# We cannot hardcode anything, or else we can only hardcode existing
11292
hardcode_action=unsupported
11294
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11295
$as_echo "$hardcode_action" >&6; }
11297
if test "$hardcode_action" = relink ||
11298
test "$inherit_rpath" = yes; then
11299
# Fast installation is not supported
11300
enable_fast_install=no
11301
elif test "$shlibpath_overrides_runpath" = yes ||
11302
test "$enable_shared" = no; then
11303
# Fast installation is not necessary
11304
enable_fast_install=needless
11312
if test "x$enable_dlopen" != xyes; then
11313
enable_dlopen=unknown
11314
enable_dlopen_self=unknown
11315
enable_dlopen_self_static=unknown
11322
lt_cv_dlopen="load_add_on"
11324
lt_cv_dlopen_self=yes
11327
mingw* | pw32* | cegcc*)
11328
lt_cv_dlopen="LoadLibrary"
11333
lt_cv_dlopen="dlopen"
11338
# if libdl is installed we need to link against it
11339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11340
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11341
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11342
$as_echo_n "(cached) " >&6
11344
ac_check_lib_save_LIBS=$LIBS
11346
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11347
/* end confdefs.h. */
11349
/* Override any GCC internal prototype to avoid an error.
11350
Use char because int might match the return type of a GCC
11351
builtin and then its argument prototype would still apply. */
11364
if ac_fn_c_try_link "$LINENO"; then :
11365
ac_cv_lib_dl_dlopen=yes
11367
ac_cv_lib_dl_dlopen=no
11369
rm -f core conftest.err conftest.$ac_objext \
11370
conftest$ac_exeext conftest.$ac_ext
11371
LIBS=$ac_check_lib_save_LIBS
11373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11374
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11375
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11376
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11379
lt_cv_dlopen="dyld"
11381
lt_cv_dlopen_self=yes
11388
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11389
if test "x$ac_cv_func_shl_load" = x""yes; then :
11390
lt_cv_dlopen="shl_load"
11392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11393
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11394
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11395
$as_echo_n "(cached) " >&6
11397
ac_check_lib_save_LIBS=$LIBS
11399
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11400
/* end confdefs.h. */
11402
/* Override any GCC internal prototype to avoid an error.
11403
Use char because int might match the return type of a GCC
11404
builtin and then its argument prototype would still apply. */
11412
return shl_load ();
11417
if ac_fn_c_try_link "$LINENO"; then :
11418
ac_cv_lib_dld_shl_load=yes
11420
ac_cv_lib_dld_shl_load=no
11422
rm -f core conftest.err conftest.$ac_objext \
11423
conftest$ac_exeext conftest.$ac_ext
11424
LIBS=$ac_check_lib_save_LIBS
11426
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11427
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11428
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11429
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11431
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11432
if test "x$ac_cv_func_dlopen" = x""yes; then :
11433
lt_cv_dlopen="dlopen"
11435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11436
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11437
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11438
$as_echo_n "(cached) " >&6
11440
ac_check_lib_save_LIBS=$LIBS
11442
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11443
/* end confdefs.h. */
11445
/* Override any GCC internal prototype to avoid an error.
11446
Use char because int might match the return type of a GCC
11447
builtin and then its argument prototype would still apply. */
11460
if ac_fn_c_try_link "$LINENO"; then :
11461
ac_cv_lib_dl_dlopen=yes
11463
ac_cv_lib_dl_dlopen=no
11465
rm -f core conftest.err conftest.$ac_objext \
11466
conftest$ac_exeext conftest.$ac_ext
11467
LIBS=$ac_check_lib_save_LIBS
11469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11470
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11471
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11472
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11474
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11475
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11476
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11477
$as_echo_n "(cached) " >&6
11479
ac_check_lib_save_LIBS=$LIBS
11480
LIBS="-lsvld $LIBS"
11481
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11482
/* end confdefs.h. */
11484
/* Override any GCC internal prototype to avoid an error.
11485
Use char because int might match the return type of a GCC
11486
builtin and then its argument prototype would still apply. */
11499
if ac_fn_c_try_link "$LINENO"; then :
11500
ac_cv_lib_svld_dlopen=yes
11502
ac_cv_lib_svld_dlopen=no
11504
rm -f core conftest.err conftest.$ac_objext \
11505
conftest$ac_exeext conftest.$ac_ext
11506
LIBS=$ac_check_lib_save_LIBS
11508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11509
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11510
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11511
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11514
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11515
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11516
$as_echo_n "(cached) " >&6
11518
ac_check_lib_save_LIBS=$LIBS
11520
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11521
/* end confdefs.h. */
11523
/* Override any GCC internal prototype to avoid an error.
11524
Use char because int might match the return type of a GCC
11525
builtin and then its argument prototype would still apply. */
11533
return dld_link ();
11538
if ac_fn_c_try_link "$LINENO"; then :
11539
ac_cv_lib_dld_dld_link=yes
11541
ac_cv_lib_dld_dld_link=no
11543
rm -f core conftest.err conftest.$ac_objext \
11544
conftest$ac_exeext conftest.$ac_ext
11545
LIBS=$ac_check_lib_save_LIBS
11547
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11548
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11549
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11550
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11571
if test "x$lt_cv_dlopen" != xno; then
11577
case $lt_cv_dlopen in
11579
save_CPPFLAGS="$CPPFLAGS"
11580
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11582
save_LDFLAGS="$LDFLAGS"
11583
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11586
LIBS="$lt_cv_dlopen_libs $LIBS"
11588
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11589
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11590
if test "${lt_cv_dlopen_self+set}" = set; then :
11591
$as_echo_n "(cached) " >&6
11593
if test "$cross_compiling" = yes; then :
11594
lt_cv_dlopen_self=cross
11596
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11597
lt_status=$lt_dlunknown
11598
cat > conftest.$ac_ext <<_LT_EOF
11599
#line 11599 "configure"
11600
#include "confdefs.h"
11609
# define LT_DLGLOBAL RTLD_GLOBAL
11612
# define LT_DLGLOBAL DL_GLOBAL
11614
# define LT_DLGLOBAL 0
11618
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11619
find out it does not work in some platform. */
11620
#ifndef LT_DLLAZY_OR_NOW
11622
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11625
# define LT_DLLAZY_OR_NOW DL_LAZY
11628
# define LT_DLLAZY_OR_NOW RTLD_NOW
11631
# define LT_DLLAZY_OR_NOW DL_NOW
11633
# define LT_DLLAZY_OR_NOW 0
11640
void fnord() { int i=42;}
11643
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11644
int status = $lt_dlunknown;
11648
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11649
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11650
/* dlclose (self); */
11658
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11659
(eval $ac_link) 2>&5
11661
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11662
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11663
(./conftest; exit; ) >&5 2>/dev/null
11665
case x$lt_status in
11666
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11667
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11668
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11671
# compilation failed
11672
lt_cv_dlopen_self=no
11679
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11680
$as_echo "$lt_cv_dlopen_self" >&6; }
11682
if test "x$lt_cv_dlopen_self" = xyes; then
11683
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11684
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11685
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11686
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11687
$as_echo_n "(cached) " >&6
11689
if test "$cross_compiling" = yes; then :
11690
lt_cv_dlopen_self_static=cross
11692
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11693
lt_status=$lt_dlunknown
11694
cat > conftest.$ac_ext <<_LT_EOF
11695
#line 11695 "configure"
11696
#include "confdefs.h"
11705
# define LT_DLGLOBAL RTLD_GLOBAL
11708
# define LT_DLGLOBAL DL_GLOBAL
11710
# define LT_DLGLOBAL 0
11714
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11715
find out it does not work in some platform. */
11716
#ifndef LT_DLLAZY_OR_NOW
11718
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11721
# define LT_DLLAZY_OR_NOW DL_LAZY
11724
# define LT_DLLAZY_OR_NOW RTLD_NOW
11727
# define LT_DLLAZY_OR_NOW DL_NOW
11729
# define LT_DLLAZY_OR_NOW 0
11736
void fnord() { int i=42;}
11739
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11740
int status = $lt_dlunknown;
11744
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11745
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11746
/* dlclose (self); */
11754
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11755
(eval $ac_link) 2>&5
11757
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11758
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11759
(./conftest; exit; ) >&5 2>/dev/null
11761
case x$lt_status in
11762
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11763
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11764
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11767
# compilation failed
11768
lt_cv_dlopen_self_static=no
11775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11776
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11779
CPPFLAGS="$save_CPPFLAGS"
11780
LDFLAGS="$save_LDFLAGS"
11785
case $lt_cv_dlopen_self in
11786
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11787
*) enable_dlopen_self=unknown ;;
11790
case $lt_cv_dlopen_self_static in
11791
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11792
*) enable_dlopen_self_static=unknown ;;
11814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11815
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11816
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11817
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11818
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11819
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11820
$as_echo "yes" >&6; }
11822
# FIXME - insert some real tests, host_os isn't really good enough
11825
if test -n "$STRIP" ; then
11826
striplib="$STRIP -x"
11827
old_striplib="$STRIP -S"
11828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11829
$as_echo "yes" >&6; }
11831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11832
$as_echo "no" >&6; }
11836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11837
$as_echo "no" >&6; }
11853
# Report which library types will actually be built
11854
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11855
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11857
$as_echo "$can_build_shared" >&6; }
11859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11860
$as_echo_n "checking whether to build shared libraries... " >&6; }
11861
test "$can_build_shared" = "no" && enable_shared=no
11863
# On AIX, shared libraries and static libraries use the same namespace, and
11864
# are all built from PIC.
11867
test "$enable_shared" = yes && enable_static=no
11868
if test -n "$RANLIB"; then
11869
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11870
postinstall_cmds='$RANLIB $lib'
11875
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11876
test "$enable_shared" = yes && enable_static=no
11880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11881
$as_echo "$enable_shared" >&6; }
11883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11884
$as_echo_n "checking whether to build static libraries... " >&6; }
11885
# Make sure either enable_shared or enable_static is yes.
11886
test "$enable_shared" = yes || enable_static=yes
11887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11888
$as_echo "$enable_static" >&6; }
11895
ac_cpp='$CPP $CPPFLAGS'
11896
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11897
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11898
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11904
ac_cpp='$CXXCPP $CPPFLAGS'
11905
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11906
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11907
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11909
archive_cmds_need_lc_CXX=no
11910
allow_undefined_flag_CXX=
11911
always_export_symbols_CXX=no
11912
archive_expsym_cmds_CXX=
11913
compiler_needs_object_CXX=no
11914
export_dynamic_flag_spec_CXX=
11915
hardcode_direct_CXX=no
11916
hardcode_direct_absolute_CXX=no
11917
hardcode_libdir_flag_spec_CXX=
11918
hardcode_libdir_flag_spec_ld_CXX=
11919
hardcode_libdir_separator_CXX=
11920
hardcode_minus_L_CXX=no
11921
hardcode_shlibpath_var_CXX=unsupported
11922
hardcode_automatic_CXX=no
11923
inherit_rpath_CXX=no
11925
module_expsym_cmds_CXX=
11926
link_all_deplibs_CXX=unknown
11927
old_archive_cmds_CXX=$old_archive_cmds
11928
no_undefined_flag_CXX=
11929
whole_archive_flag_spec_CXX=
11930
enable_shared_with_static_runtimes_CXX=no
11932
# Source file extension for C++ test sources.
11935
# Object file extension for compiled C++ test sources.
11939
# No sense in running all these tests if we already determined that
11940
# the CXX compiler isn't working. Some variables (like enable_shared)
11941
# are currently assumed to apply to all compilers on this platform,
11942
# and will be corrupted by setting them based on a non-working compiler.
11943
if test "$_lt_caught_CXX_error" != yes; then
11944
# Code to be used in simple compile tests
11945
lt_simple_compile_test_code="int some_variable = 0;"
11947
# Code to be used in simple link tests
11948
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11950
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11957
# If no C compiler was specified, use CC.
11960
# If no C compiler flags were specified, use CFLAGS.
11961
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11963
# Allow CC to be a program name with arguments.
11967
# save warnings/boilerplate of simple test code
11968
ac_outfile=conftest.$ac_objext
11969
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11970
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11971
_lt_compiler_boilerplate=`cat conftest.err`
11974
ac_outfile=conftest.$ac_objext
11975
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11976
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11977
_lt_linker_boilerplate=`cat conftest.err`
11981
# Allow CC to be a program name with arguments.
11986
lt_save_with_gnu_ld=$with_gnu_ld
11987
lt_save_path_LD=$lt_cv_path_LD
11988
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11989
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11991
$as_unset lt_cv_prog_gnu_ld
11993
if test -n "${lt_cv_path_LDCXX+set}"; then
11994
lt_cv_path_LD=$lt_cv_path_LDCXX
11996
$as_unset lt_cv_path_LD
11998
test -z "${LDCXX+set}" || LD=$LDCXX
12002
for cc_temp in $compiler""; do
12004
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12005
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12010
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
12013
if test -n "$compiler"; then
12014
# We don't want -fno-exception when compiling C++ code, so set the
12015
# no_builtin_flag separately
12016
if test "$GXX" = yes; then
12017
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12019
lt_prog_compiler_no_builtin_flag_CXX=
12022
if test "$GXX" = yes; then
12023
# Set up default GNU C++ configuration
12027
# Check whether --with-gnu-ld was given.
12028
if test "${with_gnu_ld+set}" = set; then :
12029
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12035
if test "$GCC" = yes; then
12036
# Check if gcc -print-prog-name=ld gives a path.
12037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12038
$as_echo_n "checking for ld used by $CC... " >&6; }
12041
# gcc leaves a trailing carriage return which upsets mingw
12042
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12044
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12047
# Accept absolute paths.
12049
re_direlt='/[^/][^/]*/\.\./'
12050
# Canonicalize the pathname of ld
12051
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12052
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12053
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12055
test -z "$LD" && LD="$ac_prog"
12058
# If it fails, then pretend we aren't using GCC.
12062
# If it is relative, then search for the first ld in PATH.
12063
with_gnu_ld=unknown
12066
elif test "$with_gnu_ld" = yes; then
12067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12068
$as_echo_n "checking for GNU ld... " >&6; }
12070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12071
$as_echo_n "checking for non-GNU ld... " >&6; }
12073
if test "${lt_cv_path_LD+set}" = set; then :
12074
$as_echo_n "(cached) " >&6
12076
if test -z "$LD"; then
12077
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12078
for ac_dir in $PATH; do
12080
test -z "$ac_dir" && ac_dir=.
12081
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12082
lt_cv_path_LD="$ac_dir/$ac_prog"
12083
# Check to see if the program is GNU ld. I'd rather use --version,
12084
# but apparently some variants of GNU ld only accept -v.
12085
# Break only if it was the GNU/non-GNU ld that we prefer.
12086
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12087
*GNU* | *'with BFD'*)
12088
test "$with_gnu_ld" != no && break
12091
test "$with_gnu_ld" != yes && break
12098
lt_cv_path_LD="$LD" # Let the user override the test with a path.
12102
LD="$lt_cv_path_LD"
12103
if test -n "$LD"; then
12104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12105
$as_echo "$LD" >&6; }
12107
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12108
$as_echo "no" >&6; }
12110
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12111
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12112
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12113
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12114
$as_echo_n "(cached) " >&6
12116
# I'd rather use --version here, but apparently some GNU lds only accept -v.
12117
case `$LD -v 2>&1 </dev/null` in
12118
*GNU* | *'with BFD'*)
12119
lt_cv_prog_gnu_ld=yes
12122
lt_cv_prog_gnu_ld=no
12126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12127
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12128
with_gnu_ld=$lt_cv_prog_gnu_ld
12136
# Check if GNU C++ uses GNU ld as the underlying linker, since the
12137
# archiving commands below assume that GNU ld is being used.
12138
if test "$with_gnu_ld" = yes; then
12139
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12140
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'
12142
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12143
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12145
# If archive_cmds runs LD, not CC, wlarc should be empty
12146
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12147
# investigate it a little bit more. (MM)
12150
# ancient GNU ld didn't support --whole-archive et. al.
12151
if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12152
$GREP 'no-whole-archive' > /dev/null; then
12153
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12155
whole_archive_flag_spec_CXX=
12161
# A generic and very simple default shared library creation
12162
# command for GNU C++ for the case where it uses the native
12163
# linker, instead of GNU ld. If possible, this setting should
12164
# overridden to take advantage of the native linker features on
12165
# the platform it is being used on.
12166
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12169
# Commands to make compiler produce verbose output that lists
12170
# what "hidden" libraries, object files and flags are used when
12171
# linking a shared library.
12172
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12180
# PORTME: fill in a description of your system's C++ link characteristics
12181
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12182
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12186
# FIXME: insert proper C++ library support
12190
if test "$host_cpu" = ia64; then
12191
# On IA64, the linker does run time linking by default, so we don't
12192
# have to do anything special.
12193
aix_use_runtimelinking=no
12194
exp_sym_flag='-Bexport'
12197
aix_use_runtimelinking=no
12199
# Test if we are trying to use run time linking or normal
12200
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
12201
# need to do runtime linking.
12202
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12203
for ld_flag in $LDFLAGS; do
12206
aix_use_runtimelinking=yes
12214
exp_sym_flag='-bexport'
12215
no_entry_flag='-bnoentry'
12218
# When large executables or shared objects are built, AIX ld can
12219
# have problems creating the table of contents. If linking a library
12220
# or program results in "error TOC overflow" add -mminimal-toc to
12221
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12222
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12224
archive_cmds_CXX=''
12225
hardcode_direct_CXX=yes
12226
hardcode_direct_absolute_CXX=yes
12227
hardcode_libdir_separator_CXX=':'
12228
link_all_deplibs_CXX=yes
12229
file_list_spec_CXX='${wl}-f,'
12231
if test "$GXX" = yes; then
12232
case $host_os in aix4.[012]|aix4.[012].*)
12233
# We only want to do this on AIX 4.2 and lower, the check
12234
# below for broken collect2 doesn't work under 4.3+
12235
collect2name=`${CC} -print-prog-name=collect2`
12236
if test -f "$collect2name" &&
12237
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12239
# We have reworked collect2
12242
# We have old collect2
12243
hardcode_direct_CXX=unsupported
12244
# It fails to find uninstalled libraries when the uninstalled
12245
# path is not listed in the libpath. Setting hardcode_minus_L
12246
# to unsupported forces relinking
12247
hardcode_minus_L_CXX=yes
12248
hardcode_libdir_flag_spec_CXX='-L$libdir'
12249
hardcode_libdir_separator_CXX=
12252
shared_flag='-shared'
12253
if test "$aix_use_runtimelinking" = yes; then
12254
shared_flag="$shared_flag "'${wl}-G'
12258
if test "$host_cpu" = ia64; then
12259
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12260
# chokes on -Wl,-G. The following line is correct:
12263
if test "$aix_use_runtimelinking" = yes; then
12264
shared_flag='${wl}-G'
12266
shared_flag='${wl}-bM:SRE'
12271
export_dynamic_flag_spec_CXX='${wl}-bexpall'
12272
# It seems that -bexpall does not export symbols beginning with
12273
# underscore (_), so it is better to generate a list of symbols to
12275
always_export_symbols_CXX=yes
12276
if test "$aix_use_runtimelinking" = yes; then
12277
# Warning - without using the other runtime loading flags (-brtl),
12278
# -berok will link without error, but may produce a broken library.
12279
allow_undefined_flag_CXX='-berok'
12280
# Determine the default libpath from the value encoded in an empty
12282
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12283
/* end confdefs.h. */
12293
if ac_fn_cxx_try_link "$LINENO"; then :
12295
lt_aix_libpath_sed='
12296
/Import File Strings/,/^$/ {
12302
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12303
# Check for a 64-bit object if we didn't find anything.
12304
if test -z "$aix_libpath"; then
12305
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12308
rm -f core conftest.err conftest.$ac_objext \
12309
conftest$ac_exeext conftest.$ac_ext
12310
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12312
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12314
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"
12316
if test "$host_cpu" = ia64; then
12317
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12318
allow_undefined_flag_CXX="-z nodefs"
12319
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"
12321
# Determine the default libpath from the value encoded in an
12322
# empty executable.
12323
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12324
/* end confdefs.h. */
12334
if ac_fn_cxx_try_link "$LINENO"; then :
12336
lt_aix_libpath_sed='
12337
/Import File Strings/,/^$/ {
12343
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12344
# Check for a 64-bit object if we didn't find anything.
12345
if test -z "$aix_libpath"; then
12346
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12349
rm -f core conftest.err conftest.$ac_objext \
12350
conftest$ac_exeext conftest.$ac_ext
12351
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12353
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12354
# Warning - without using the other run time loading flags,
12355
# -berok will link without error, but may produce a broken library.
12356
no_undefined_flag_CXX=' ${wl}-bernotok'
12357
allow_undefined_flag_CXX=' ${wl}-berok'
12358
# Exported symbols can be pulled into shared objects from archives
12359
whole_archive_flag_spec_CXX='$convenience'
12360
archive_cmds_need_lc_CXX=yes
12361
# This is similar to how AIX traditionally builds its shared
12363
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'
12369
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12370
allow_undefined_flag_CXX=unsupported
12371
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12372
# support --undefined. This deserves some investigation. FIXME
12373
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12380
case $cc_basename in
12382
# FIXME: insert proper C++ library support
12388
cygwin* | mingw* | pw32* | cegcc*)
12389
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12390
# as there is no search path for DLLs.
12391
hardcode_libdir_flag_spec_CXX='-L$libdir'
12392
allow_undefined_flag_CXX=unsupported
12393
always_export_symbols_CXX=no
12394
enable_shared_with_static_runtimes_CXX=yes
12396
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12397
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'
12398
# If the export-symbols file already is a .def file (1st line
12399
# is EXPORTS), use it as is; otherwise, prepend...
12400
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12401
cp $export_symbols $output_objdir/$soname.def;
12403
echo EXPORTS > $output_objdir/$soname.def;
12404
cat $export_symbols >> $output_objdir/$soname.def;
12406
$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'
12411
darwin* | rhapsody*)
12414
archive_cmds_need_lc_CXX=no
12415
hardcode_direct_CXX=no
12416
hardcode_automatic_CXX=yes
12417
hardcode_shlibpath_var_CXX=unsupported
12418
whole_archive_flag_spec_CXX=''
12419
link_all_deplibs_CXX=yes
12420
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12421
case $cc_basename in
12422
ifort*) _lt_dar_can_shared=yes ;;
12423
*) _lt_dar_can_shared=$GCC ;;
12425
if test "$_lt_dar_can_shared" = "yes"; then
12426
output_verbose_link_cmd=echo
12427
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}"
12428
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12429
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}"
12430
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}"
12431
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12432
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}"
12433
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}"
12443
case $cc_basename in
12445
# FIXME: insert proper C++ library support
12449
# Green Hills C++ Compiler
12450
# FIXME: insert proper C++ library support
12454
# FIXME: insert proper C++ library support
12461
# C++ shared libraries reported to be fairly broken before
12467
archive_cmds_need_lc_CXX=no
12470
freebsd* | dragonfly*)
12471
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12480
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12481
hardcode_libdir_separator_CXX=:
12482
export_dynamic_flag_spec_CXX='${wl}-E'
12483
hardcode_direct_CXX=yes
12484
hardcode_minus_L_CXX=yes # Not in the search PATH,
12485
# but as the default
12486
# location of the library.
12488
case $cc_basename in
12490
# FIXME: insert proper C++ library support
12494
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'
12495
# Commands to make compiler produce verbose output that lists
12496
# what "hidden" libraries, object files and flags are used when
12497
# linking a shared library.
12499
# There doesn't appear to be a way to prevent this compiler from
12500
# explicitly linking system object files so we need to strip them
12501
# from the output so that they don't get included in the library
12503
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'
12506
if test "$GXX" = yes; then
12507
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'
12509
# FIXME: insert proper C++ library support
12517
if test $with_gnu_ld = no; then
12518
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12519
hardcode_libdir_separator_CXX=:
12525
export_dynamic_flag_spec_CXX='${wl}-E'
12531
hardcode_direct_CXX=no
12532
hardcode_shlibpath_var_CXX=no
12535
hardcode_direct_CXX=yes
12536
hardcode_direct_absolute_CXX=yes
12537
hardcode_minus_L_CXX=yes # Not in the search PATH,
12538
# but as the default
12539
# location of the library.
12543
case $cc_basename in
12545
# FIXME: insert proper C++ library support
12551
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12554
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12557
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12560
# Commands to make compiler produce verbose output that lists
12561
# what "hidden" libraries, object files and flags are used when
12562
# linking a shared library.
12564
# There doesn't appear to be a way to prevent this compiler from
12565
# explicitly linking system object files so we need to strip them
12566
# from the output so that they don't get included in the library
12568
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'
12571
if test "$GXX" = yes; then
12572
if test $with_gnu_ld = no; then
12575
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12578
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12581
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'
12586
# FIXME: insert proper C++ library support
12594
hardcode_direct_CXX=no
12595
hardcode_shlibpath_var_CXX=no
12596
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12597
export_dynamic_flag_spec_CXX='${wl}-E'
12598
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12599
# Instead, shared libraries are loaded at an image base (0x10000000 by
12600
# default) and relocated if they conflict, which is a slow very memory
12601
# consuming and fragmenting process. To avoid this, we pick a random,
12602
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12603
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
12604
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'
12605
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'
12608
case $cc_basename in
12611
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'
12613
# Archives containing C++ object files must be created using
12614
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
12615
# necessary to make sure instantiated templates are included
12617
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12620
if test "$GXX" = yes; then
12621
if test "$with_gnu_ld" = no; then
12622
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'
12624
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'
12627
link_all_deplibs_CXX=yes
12630
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12631
hardcode_libdir_separator_CXX=:
12632
inherit_rpath_CXX=yes
12635
linux* | k*bsd*-gnu | kopensolaris*-gnu)
12636
case $cc_basename in
12638
# Kuck and Associates, Inc. (KAI) C++ Compiler
12640
# KCC will only create a shared library if the output file
12641
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12642
# to its proper name (with version) after linking.
12643
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'
12644
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'
12645
# Commands to make compiler produce verbose output that lists
12646
# what "hidden" libraries, object files and flags are used when
12647
# linking a shared library.
12649
# There doesn't appear to be a way to prevent this compiler from
12650
# explicitly linking system object files so we need to strip them
12651
# from the output so that they don't get included in the library
12653
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'
12655
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12656
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12658
# Archives containing C++ object files must be created using
12659
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12660
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12665
# version 8.0 and above of icpc choke on multiply defined symbols
12666
# if we add $predep_objects and $postdep_objects, however 7.1 and
12667
# earlier do not add the objects themselves.
12668
case `$CC -V 2>&1` in
12670
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12671
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'
12673
*) # Version 8.0 or newer
12676
ia64*) tmp_idyn=' -i_dynamic';;
12678
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12679
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'
12682
archive_cmds_need_lc_CXX=no
12683
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12684
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12685
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12688
# Portland Group C++ compiler
12690
*pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12691
prelink_cmds_CXX='tpldir=Template.dir~
12693
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12694
compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12695
old_archive_cmds_CXX='tpldir=Template.dir~
12697
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12698
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12700
archive_cmds_CXX='tpldir=Template.dir~
12702
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12703
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12704
archive_expsym_cmds_CXX='tpldir=Template.dir~
12706
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12707
$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'
12709
*) # Version 6 will use weak symbols
12710
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12711
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'
12715
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12716
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12717
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'
12721
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12722
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'
12724
runpath_var=LD_RUN_PATH
12725
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12726
hardcode_libdir_separator_CXX=:
12728
# Commands to make compiler produce verbose output that lists
12729
# what "hidden" libraries, object files and flags are used when
12730
# linking a shared library.
12732
# There doesn't appear to be a way to prevent this compiler from
12733
# explicitly linking system object files so we need to strip them
12734
# from the output so that they don't get included in the library
12736
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'
12739
# IBM XL 8.0 on PPC, with GNU ld
12740
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12741
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12742
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12743
if test "x$supports_anon_versioning" = xyes; then
12744
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12745
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12746
echo "local: *; };" >> $output_objdir/$libname.ver~
12747
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12751
case `$CC -V 2>&1 | sed 5q` in
12754
no_undefined_flag_CXX=' -zdefs'
12755
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12756
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'
12757
hardcode_libdir_flag_spec_CXX='-R$libdir'
12758
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'
12759
compiler_needs_object_CXX=yes
12761
# Not sure whether something based on
12762
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12764
output_verbose_link_cmd='echo'
12766
# Archives containing C++ object files must be created using
12767
# "CC -xar", where "CC" is the Sun C++ compiler. This is
12768
# necessary to make sure instantiated templates are included
12770
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12778
# FIXME: insert proper C++ library support
12783
# FIXME: insert proper C++ library support
12788
case $cc_basename in
12790
# FIXME: insert proper C++ library support
12794
# FIXME: insert proper C++ library support
12801
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12802
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12804
hardcode_libdir_flag_spec_CXX='-R$libdir'
12805
hardcode_direct_CXX=yes
12806
hardcode_shlibpath_var_CXX=no
12808
# Workaround some broken pre-1.5 toolchains
12809
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12817
# C++ shared libraries are fairly broken
12822
if test -f /usr/libexec/ld.so; then
12823
hardcode_direct_CXX=yes
12824
hardcode_shlibpath_var_CXX=no
12825
hardcode_direct_absolute_CXX=yes
12826
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12827
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12828
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12829
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12830
export_dynamic_flag_spec_CXX='${wl}-E'
12831
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12833
output_verbose_link_cmd=echo
12839
osf3* | osf4* | osf5*)
12840
case $cc_basename in
12842
# Kuck and Associates, Inc. (KAI) C++ Compiler
12844
# KCC will only create a shared library if the output file
12845
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12846
# to its proper name (with version) after linking.
12847
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'
12849
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12850
hardcode_libdir_separator_CXX=:
12852
# Archives containing C++ object files must be created using
12853
# the KAI C++ compiler.
12855
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12856
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12860
# Rational C++ 2.4.1
12861
# FIXME: insert proper C++ library support
12867
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12868
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'
12869
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12872
allow_undefined_flag_CXX=' -expect_unresolved \*'
12873
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'
12874
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12875
echo "-hidden">> $lib.exp~
12876
$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~
12878
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12882
hardcode_libdir_separator_CXX=:
12884
# Commands to make compiler produce verbose output that lists
12885
# what "hidden" libraries, object files and flags are used when
12886
# linking a shared library.
12888
# There doesn't appear to be a way to prevent this compiler from
12889
# explicitly linking system object files so we need to strip them
12890
# from the output so that they don't get included in the library
12892
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'
12895
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12896
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12899
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'
12902
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'
12906
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12907
hardcode_libdir_separator_CXX=:
12909
# Commands to make compiler produce verbose output that lists
12910
# what "hidden" libraries, object files and flags are used when
12911
# linking a shared library.
12912
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12915
# FIXME: insert proper C++ library support
12923
# FIXME: insert proper C++ library support
12928
case $cc_basename in
12931
# FIXME: insert proper C++ library support
12936
# FIXME: insert proper C++ library support
12940
# FIXME: insert proper C++ library support
12947
case $cc_basename in
12949
# Sun C++ 4.2, 5.x and Centerline C++
12950
archive_cmds_need_lc_CXX=yes
12951
no_undefined_flag_CXX=' -zdefs'
12952
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12953
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12954
$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'
12956
hardcode_libdir_flag_spec_CXX='-R$libdir'
12957
hardcode_shlibpath_var_CXX=no
12959
solaris2.[0-5] | solaris2.[0-5].*) ;;
12961
# The compiler driver will combine and reorder linker options,
12962
# but understands `-z linker_flag'.
12963
# Supported since Solaris 2.6 (maybe 2.5.1?)
12964
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12967
link_all_deplibs_CXX=yes
12969
output_verbose_link_cmd='echo'
12971
# Archives containing C++ object files must be created using
12972
# "CC -xar", where "CC" is the Sun C++ compiler. This is
12973
# necessary to make sure instantiated templates are included
12975
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12978
# Green Hills C++ Compiler
12979
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12981
# The C++ compiler must be used to create the archive.
12982
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12985
# GNU C++ compiler with Solaris linker
12986
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12987
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12988
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12989
archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12990
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12991
$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12993
# Commands to make compiler produce verbose output that lists
12994
# what "hidden" libraries, object files and flags are used when
12995
# linking a shared library.
12996
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12998
# g++ 2.7 appears to require `-G' NOT `-shared' on this
13000
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13001
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13002
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13004
# Commands to make compiler produce verbose output that lists
13005
# what "hidden" libraries, object files and flags are used when
13006
# linking a shared library.
13007
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
13010
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13012
solaris2.[0-5] | solaris2.[0-5].*) ;;
13014
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13022
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13023
no_undefined_flag_CXX='${wl}-z,text'
13024
archive_cmds_need_lc_CXX=no
13025
hardcode_shlibpath_var_CXX=no
13026
runpath_var='LD_RUN_PATH'
13028
case $cc_basename in
13030
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13031
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13034
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13035
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13040
sysv5* | sco3.2v5* | sco5v6*)
13041
# Note: We can NOT use -z defs as we might desire, because we do not
13042
# link with -lc, and that would cause any symbols used from libc to
13043
# always be unresolved, which means just about no library would
13044
# ever link correctly. If we're not using GNU ld we use -z text
13045
# though, which does catch some bad symbols but isn't as heavy-handed
13047
no_undefined_flag_CXX='${wl}-z,text'
13048
allow_undefined_flag_CXX='${wl}-z,nodefs'
13049
archive_cmds_need_lc_CXX=no
13050
hardcode_shlibpath_var_CXX=no
13051
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13052
hardcode_libdir_separator_CXX=':'
13053
link_all_deplibs_CXX=yes
13054
export_dynamic_flag_spec_CXX='${wl}-Bexport'
13055
runpath_var='LD_RUN_PATH'
13057
case $cc_basename in
13059
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13060
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13063
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13064
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13070
case $cc_basename in
13072
# NonStop-UX NCC 3.20
13073
# FIXME: insert proper C++ library support
13077
# FIXME: insert proper C++ library support
13084
# FIXME: insert proper C++ library support
13089
# FIXME: insert proper C++ library support
13094
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13095
$as_echo "$ld_shlibs_CXX" >&6; }
13096
test "$ld_shlibs_CXX" = no && can_build_shared=no
13102
## There is no encapsulation within the following macros, do not change
13103
## the running order or otherwise move them around unless you know exactly
13104
## what you are doing...
13105
# Dependencies to place before and after the object being linked:
13106
predep_objects_CXX=
13107
postdep_objects_CXX=
13110
compiler_lib_search_path_CXX=
13112
cat > conftest.$ac_ext <<_LT_EOF
13116
Foo (void) { a = 0; }
13122
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13123
(eval $ac_compile) 2>&5
13125
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13126
test $ac_status = 0; }; then
13127
# Parse the compiler output and extract the necessary
13128
# objects, libraries and library flags.
13130
# Sentinel used to keep track of whether or not we are before
13131
# the conftest object file.
13132
pre_test_object_deps_done=no
13134
for p in `eval "$output_verbose_link_cmd"`; do
13138
# Some compilers place space between "-{L,R}" and the path.
13139
# Remove the space.
13140
if test $p = "-L" ||
13141
test $p = "-R"; then
13148
if test "$pre_test_object_deps_done" = no; then
13151
# Internal compiler library paths should come after those
13152
# provided the user. The postdeps already come after the
13153
# user supplied libs so there is no need to process them.
13154
if test -z "$compiler_lib_search_path_CXX"; then
13155
compiler_lib_search_path_CXX="${prev}${p}"
13157
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13160
# The "-l" case would never come before the object being
13161
# linked, so don't bother handling this case.
13164
if test -z "$postdeps_CXX"; then
13165
postdeps_CXX="${prev}${p}"
13167
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13173
# This assumes that the test object file only shows up
13174
# once in the compiler output.
13175
if test "$p" = "conftest.$objext"; then
13176
pre_test_object_deps_done=yes
13180
if test "$pre_test_object_deps_done" = no; then
13181
if test -z "$predep_objects_CXX"; then
13182
predep_objects_CXX="$p"
13184
predep_objects_CXX="$predep_objects_CXX $p"
13187
if test -z "$postdep_objects_CXX"; then
13188
postdep_objects_CXX="$p"
13190
postdep_objects_CXX="$postdep_objects_CXX $p"
13195
*) ;; # Ignore the rest.
13203
echo "libtool.m4: error: problem compiling CXX test program"
13206
$RM -f confest.$objext
13208
# PORTME: override above test on systems where it is broken
13211
# Interix 3.5 installs completely hosed .la files for C++, so rather than
13212
# hack all around it, let's just trust "g++" to DTRT.
13213
predep_objects_CXX=
13214
postdep_objects_CXX=
13219
case `$CC -V 2>&1 | sed 5q` in
13223
# The more standards-conforming stlport4 library is
13224
# incompatible with the Cstd library. Avoid specifying
13225
# it if it's in CXXFLAGS. Ignore libCrun as
13226
# -library=stlport4 depends on it.
13227
case " $CXX $CXXFLAGS " in
13228
*" -library=stlport4 "*)
13229
solaris_use_stlport4=yes
13233
if test "$solaris_use_stlport4" != yes; then
13234
postdeps_CXX='-library=Cstd -library=Crun'
13241
case $cc_basename in
13243
# The more standards-conforming stlport4 library is
13244
# incompatible with the Cstd library. Avoid specifying
13245
# it if it's in CXXFLAGS. Ignore libCrun as
13246
# -library=stlport4 depends on it.
13247
case " $CXX $CXXFLAGS " in
13248
*" -library=stlport4 "*)
13249
solaris_use_stlport4=yes
13253
# Adding this requires a known-good setup of shared libraries for
13254
# Sun compiler versions before 5.6, else PIC objects from an old
13255
# archive will be linked into the output, leading to subtle bugs.
13256
if test "$solaris_use_stlport4" != yes; then
13257
postdeps_CXX='-library=Cstd -library=Crun'
13265
case " $postdeps_CXX " in
13266
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13268
compiler_lib_search_dirs_CXX=
13269
if test -n "${compiler_lib_search_path_CXX}"; then
13270
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13303
lt_prog_compiler_wl_CXX=
13304
lt_prog_compiler_pic_CXX=
13305
lt_prog_compiler_static_CXX=
13307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13308
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13310
# C++ specific cases for pic, static, wl, etc.
13311
if test "$GXX" = yes; then
13312
lt_prog_compiler_wl_CXX='-Wl,'
13313
lt_prog_compiler_static_CXX='-static'
13317
# All AIX code is PIC.
13318
if test "$host_cpu" = ia64; then
13319
# AIX 5 now supports IA64 processor
13320
lt_prog_compiler_static_CXX='-Bstatic'
13327
# see comment about AmigaOS4 .so support
13328
lt_prog_compiler_pic_CXX='-fPIC'
13331
# FIXME: we need at least 68020 code to build shared libraries, but
13332
# adding the `-m68020' flag to GCC prevents building anything better,
13334
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13339
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13340
# PIC is the default for these OSes.
13342
mingw* | cygwin* | os2* | pw32* | cegcc*)
13343
# This hack is so that the source file can tell whether it is being
13344
# built for inclusion in a dll (and should export symbols for example).
13345
# Although the cygwin gcc ignores -fPIC, still need this for old-style
13346
# (--disable-auto-import) libraries
13347
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13349
darwin* | rhapsody*)
13350
# PIC is the default on this platform
13351
# Common symbols not allowed in MH_DYLIB files
13352
lt_prog_compiler_pic_CXX='-fno-common'
13355
# DJGPP does not support shared libraries at all
13356
lt_prog_compiler_pic_CXX=
13359
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
13360
# Instead, we relocate shared libraries at runtime.
13363
if test -d /usr/nec; then
13364
lt_prog_compiler_pic_CXX=-Kconform_pic
13368
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13369
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13370
# sets the default TLS model and affects inlining.
13375
lt_prog_compiler_pic_CXX='-fPIC'
13380
# QNX uses GNU C++, but need to define -shared option too, otherwise
13381
# it will coredump.
13382
lt_prog_compiler_pic_CXX='-fPIC -shared'
13385
lt_prog_compiler_pic_CXX='-fPIC'
13391
# All AIX code is PIC.
13392
if test "$host_cpu" = ia64; then
13393
# AIX 5 now supports IA64 processor
13394
lt_prog_compiler_static_CXX='-Bstatic'
13396
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13400
case $cc_basename in
13402
# Green Hills C++ Compiler
13403
# _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"
13408
case $cc_basename in
13410
lt_prog_compiler_pic_CXX='-KPIC'
13413
# Green Hills C++ Compiler
13414
lt_prog_compiler_pic_CXX='-pic'
13420
freebsd* | dragonfly*)
13421
# FreeBSD uses GNU C++
13423
hpux9* | hpux10* | hpux11*)
13424
case $cc_basename in
13426
lt_prog_compiler_wl_CXX='-Wl,'
13427
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13428
if test "$host_cpu" != ia64; then
13429
lt_prog_compiler_pic_CXX='+Z'
13433
lt_prog_compiler_wl_CXX='-Wl,'
13434
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13440
lt_prog_compiler_pic_CXX='+Z'
13449
# This is c89, which is MS Visual C++ (no shared libs)
13450
# Anyone wants to do a port?
13452
irix5* | irix6* | nonstopux*)
13453
case $cc_basename in
13455
lt_prog_compiler_wl_CXX='-Wl,'
13456
lt_prog_compiler_static_CXX='-non_shared'
13457
# CC pic flag -KPIC is the default.
13463
linux* | k*bsd*-gnu | kopensolaris*-gnu)
13464
case $cc_basename in
13467
lt_prog_compiler_wl_CXX='--backend -Wl,'
13468
lt_prog_compiler_pic_CXX='-fPIC'
13471
# old Intel C++ for x86_64 which still supported -KPIC.
13472
lt_prog_compiler_wl_CXX='-Wl,'
13473
lt_prog_compiler_pic_CXX='-KPIC'
13474
lt_prog_compiler_static_CXX='-static'
13477
# Intel C++, used to be incompatible with GCC.
13478
# ICC 10 doesn't accept -KPIC any more.
13479
lt_prog_compiler_wl_CXX='-Wl,'
13480
lt_prog_compiler_pic_CXX='-fPIC'
13481
lt_prog_compiler_static_CXX='-static'
13484
# Portland Group C++ compiler
13485
lt_prog_compiler_wl_CXX='-Wl,'
13486
lt_prog_compiler_pic_CXX='-fpic'
13487
lt_prog_compiler_static_CXX='-Bstatic'
13491
# Make sure the PIC flag is empty. It appears that all Alpha
13492
# Linux and Compaq Tru64 Unix objects are PIC.
13493
lt_prog_compiler_pic_CXX=
13494
lt_prog_compiler_static_CXX='-non_shared'
13497
# IBM XL 8.0 on PPC
13498
lt_prog_compiler_wl_CXX='-Wl,'
13499
lt_prog_compiler_pic_CXX='-qpic'
13500
lt_prog_compiler_static_CXX='-qstaticlink'
13503
case `$CC -V 2>&1 | sed 5q` in
13506
lt_prog_compiler_pic_CXX='-KPIC'
13507
lt_prog_compiler_static_CXX='-Bstatic'
13508
lt_prog_compiler_wl_CXX='-Qoption ld '
13519
case $cc_basename in
13521
lt_prog_compiler_pic_CXX='-W c,exportall'
13527
netbsd* | netbsdelf*-gnu)
13530
# QNX uses GNU C++, but need to define -shared option too, otherwise
13531
# it will coredump.
13532
lt_prog_compiler_pic_CXX='-fPIC -shared'
13534
osf3* | osf4* | osf5*)
13535
case $cc_basename in
13537
lt_prog_compiler_wl_CXX='--backend -Wl,'
13540
# Rational C++ 2.4.1
13541
lt_prog_compiler_pic_CXX='-pic'
13544
# Digital/Compaq C++
13545
lt_prog_compiler_wl_CXX='-Wl,'
13546
# Make sure the PIC flag is empty. It appears that all Alpha
13547
# Linux and Compaq Tru64 Unix objects are PIC.
13548
lt_prog_compiler_pic_CXX=
13549
lt_prog_compiler_static_CXX='-non_shared'
13558
case $cc_basename in
13560
# Sun C++ 4.2, 5.x and Centerline C++
13561
lt_prog_compiler_pic_CXX='-KPIC'
13562
lt_prog_compiler_static_CXX='-Bstatic'
13563
lt_prog_compiler_wl_CXX='-Qoption ld '
13566
# Green Hills C++ Compiler
13567
lt_prog_compiler_pic_CXX='-PIC'
13574
case $cc_basename in
13577
lt_prog_compiler_pic_CXX='-pic'
13578
lt_prog_compiler_static_CXX='-Bstatic'
13582
lt_prog_compiler_pic_CXX='-pic'
13588
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13589
case $cc_basename in
13591
lt_prog_compiler_wl_CXX='-Wl,'
13592
lt_prog_compiler_pic_CXX='-KPIC'
13593
lt_prog_compiler_static_CXX='-Bstatic'
13598
case $cc_basename in
13600
# NonStop-UX NCC 3.20
13601
lt_prog_compiler_pic_CXX='-KPIC'
13610
lt_prog_compiler_can_build_shared_CXX=no
13616
# For platforms which do not support PIC, -DPIC is meaningless:
13618
lt_prog_compiler_pic_CXX=
13621
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13624
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13625
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13630
# Check to make sure the PIC flag actually works.
13632
if test -n "$lt_prog_compiler_pic_CXX"; then
13633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13634
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13635
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13636
$as_echo_n "(cached) " >&6
13638
lt_cv_prog_compiler_pic_works_CXX=no
13639
ac_outfile=conftest.$ac_objext
13640
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13641
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13642
# Insert the option either (1) after the last *FLAGS variable, or
13643
# (2) before a word containing "conftest.", or (3) at the end.
13644
# Note that $ac_compile itself does not contain backslashes and begins
13645
# with a dollar sign (not a hyphen), so the echo should work correctly.
13646
# The option is referenced via a variable to avoid confusing sed.
13647
lt_compile=`echo "$ac_compile" | $SED \
13648
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13649
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13650
-e 's:$: $lt_compiler_flag:'`
13651
(eval echo "\"\$as_me:13651: $lt_compile\"" >&5)
13652
(eval "$lt_compile" 2>conftest.err)
13654
cat conftest.err >&5
13655
echo "$as_me:13655: \$? = $ac_status" >&5
13656
if (exit $ac_status) && test -s "$ac_outfile"; then
13657
# The compiler can only warn and ignore the option if not recognized
13658
# So say no if there are warnings other than the usual output.
13659
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13660
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13661
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13662
lt_cv_prog_compiler_pic_works_CXX=yes
13668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13669
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13671
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13672
case $lt_prog_compiler_pic_CXX in
13674
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13677
lt_prog_compiler_pic_CXX=
13678
lt_prog_compiler_can_build_shared_CXX=no
13686
# Check to make sure the static flag actually works.
13688
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13689
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13690
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13691
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13692
$as_echo_n "(cached) " >&6
13694
lt_cv_prog_compiler_static_works_CXX=no
13695
save_LDFLAGS="$LDFLAGS"
13696
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13697
echo "$lt_simple_link_test_code" > conftest.$ac_ext
13698
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13699
# The linker can only warn and ignore the option if not recognized
13700
# So say no if there are warnings
13701
if test -s conftest.err; then
13702
# Append any errors to the config.log.
13703
cat conftest.err 1>&5
13704
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13705
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13706
if diff conftest.exp conftest.er2 >/dev/null; then
13707
lt_cv_prog_compiler_static_works_CXX=yes
13710
lt_cv_prog_compiler_static_works_CXX=yes
13714
LDFLAGS="$save_LDFLAGS"
13717
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13718
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13720
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13723
lt_prog_compiler_static_CXX=
13729
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13730
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13731
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13732
$as_echo_n "(cached) " >&6
13734
lt_cv_prog_compiler_c_o_CXX=no
13735
$RM -r conftest 2>/dev/null
13739
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13741
lt_compiler_flag="-o out/conftest2.$ac_objext"
13742
# Insert the option either (1) after the last *FLAGS variable, or
13743
# (2) before a word containing "conftest.", or (3) at the end.
13744
# Note that $ac_compile itself does not contain backslashes and begins
13745
# with a dollar sign (not a hyphen), so the echo should work correctly.
13746
lt_compile=`echo "$ac_compile" | $SED \
13747
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13748
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13749
-e 's:$: $lt_compiler_flag:'`
13750
(eval echo "\"\$as_me:13750: $lt_compile\"" >&5)
13751
(eval "$lt_compile" 2>out/conftest.err)
13753
cat out/conftest.err >&5
13754
echo "$as_me:13754: \$? = $ac_status" >&5
13755
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13757
# The compiler can only warn and ignore the option if not recognized
13758
# So say no if there are warnings
13759
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13760
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13761
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13762
lt_cv_prog_compiler_c_o_CXX=yes
13767
# SGI C++ compiler will create directory out/ii_files/ for
13768
# template instantiation
13769
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13770
$RM out/* && rmdir out
13776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13777
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13782
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13783
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13784
$as_echo_n "(cached) " >&6
13786
lt_cv_prog_compiler_c_o_CXX=no
13787
$RM -r conftest 2>/dev/null
13791
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13793
lt_compiler_flag="-o out/conftest2.$ac_objext"
13794
# Insert the option either (1) after the last *FLAGS variable, or
13795
# (2) before a word containing "conftest.", or (3) at the end.
13796
# Note that $ac_compile itself does not contain backslashes and begins
13797
# with a dollar sign (not a hyphen), so the echo should work correctly.
13798
lt_compile=`echo "$ac_compile" | $SED \
13799
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13800
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13801
-e 's:$: $lt_compiler_flag:'`
13802
(eval echo "\"\$as_me:13802: $lt_compile\"" >&5)
13803
(eval "$lt_compile" 2>out/conftest.err)
13805
cat out/conftest.err >&5
13806
echo "$as_me:13806: \$? = $ac_status" >&5
13807
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13809
# The compiler can only warn and ignore the option if not recognized
13810
# So say no if there are warnings
13811
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13812
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13813
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13814
lt_cv_prog_compiler_c_o_CXX=yes
13819
# SGI C++ compiler will create directory out/ii_files/ for
13820
# template instantiation
13821
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13822
$RM out/* && rmdir out
13828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13829
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13834
hard_links="nottested"
13835
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13836
# do not overwrite the value of need_locks provided by the user
13837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13838
$as_echo_n "checking if we can lock with hard links... " >&6; }
13841
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13843
ln conftest.a conftest.b 2>&5 || hard_links=no
13844
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13845
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13846
$as_echo "$hard_links" >&6; }
13847
if test "$hard_links" = no; then
13848
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13849
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13859
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13861
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13864
# If we're using GNU nm, then we don't want the "-C" option.
13865
# -C means demangle to AIX nm, but means don't demangle with GNU nm
13866
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13867
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'
13869
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'
13873
export_symbols_cmds_CXX="$ltdll_cmds"
13875
cygwin* | mingw* | cegcc*)
13876
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'
13878
linux* | k*bsd*-gnu)
13879
link_all_deplibs_CXX=no
13882
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13885
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13888
$as_echo "$ld_shlibs_CXX" >&6; }
13889
test "$ld_shlibs_CXX" = no && can_build_shared=no
13891
with_gnu_ld_CXX=$with_gnu_ld
13899
# Do we need to explicitly link libc?
13901
case "x$archive_cmds_need_lc_CXX" in
13903
# Assume -lc should be added
13904
archive_cmds_need_lc_CXX=yes
13906
if test "$enable_shared" = yes && test "$GCC" = yes; then
13907
case $archive_cmds_CXX in
13909
# FIXME: we may have to deal with multi-command sequences.
13912
# Test whether the compiler implicitly links with -lc since on some
13913
# systems, -lgcc has to come before -lc. If gcc already passes -lc
13914
# to ld, don't add -lc before -lgcc.
13915
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13916
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13918
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13920
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13921
(eval $ac_compile) 2>&5
13923
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13924
test $ac_status = 0; } 2>conftest.err; then
13927
libobjs=conftest.$ac_objext
13929
wl=$lt_prog_compiler_wl_CXX
13930
pic_flag=$lt_prog_compiler_pic_CXX
13936
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13937
allow_undefined_flag_CXX=
13938
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13939
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13941
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13942
test $ac_status = 0; }
13944
archive_cmds_need_lc_CXX=no
13946
archive_cmds_need_lc_CXX=yes
13948
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13950
cat conftest.err 1>&5
13953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
13954
$as_echo "$archive_cmds_need_lc_CXX" >&6; }
14024
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14025
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14027
library_names_spec=
14028
libname_spec='lib$name'
14032
postuninstall_cmds=
14036
shlibpath_overrides_runpath=unknown
14038
dynamic_linker="$host_os ld.so"
14039
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14040
need_lib_prefix=unknown
14041
hardcode_into_libs=no
14043
# when you set need_version to no, make sure it does not cause -set_version
14044
# flags to be left without arguments
14045
need_version=unknown
14050
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14051
shlibpath_var=LIBPATH
14053
# AIX 3 has no versioning support, so we append a major version to the name.
14054
soname_spec='${libname}${release}${shared_ext}$major'
14061
hardcode_into_libs=yes
14062
if test "$host_cpu" = ia64; then
14063
# AIX 5 supports IA64
14064
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14065
shlibpath_var=LD_LIBRARY_PATH
14067
# With GCC up to 2.95.x, collect2 would create an import file
14068
# for dependence libraries. The import file would start with
14069
# the line `#! .'. This would cause the generated library to
14070
# depend on `.', always an invalid library. This was fixed in
14071
# development snapshots of GCC prior to 3.0.
14073
aix4 | aix4.[01] | aix4.[01].*)
14074
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14076
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14079
can_build_shared=no
14083
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14084
# soname into executable. Probably we can add versioning support to
14085
# collect2, so additional links can be useful in future.
14086
if test "$aix_use_runtimelinking" = yes; then
14087
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
14088
# instead of lib<name>.a to let people know that these are not
14089
# typical AIX shared libraries.
14090
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14092
# We preserve .a as extension for shared libraries through AIX4.2
14093
# and later when we are not doing run time linking.
14094
library_names_spec='${libname}${release}.a $libname.a'
14095
soname_spec='${libname}${release}${shared_ext}$major'
14097
shlibpath_var=LIBPATH
14104
# Since July 2007 AmigaOS4 officially supports .so libraries.
14105
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14106
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14109
library_names_spec='$libname.ixlibrary $libname.a'
14110
# Create ${libname}_ixlibrary.a entries in /sys/libs.
14111
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'
14117
library_names_spec='${libname}${shared_ext}'
14118
dynamic_linker="$host_os ld.so"
14119
shlibpath_var=LIBRARY_PATH
14125
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14126
soname_spec='${libname}${release}${shared_ext}$major'
14127
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14128
shlibpath_var=LD_LIBRARY_PATH
14129
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14130
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14131
# the default ld.so.conf also contains /usr/contrib/lib and
14132
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14133
# libtool to hard-code these into programs
14136
cygwin* | mingw* | pw32* | cegcc*)
14137
version_type=windows
14142
case $GCC,$host_os in
14143
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14144
library_names_spec='$libname.dll.a'
14145
# DLL is installed to $(libdir)/../bin by postinstall_cmds
14146
postinstall_cmds='base_file=`basename \${file}`~
14147
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14148
dldir=$destdir/`dirname \$dlpath`~
14149
test -d \$dldir || mkdir -p \$dldir~
14150
$install_prog $dir/$dlname \$dldir/$dlname~
14151
chmod a+x \$dldir/$dlname~
14152
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14153
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14155
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14156
dlpath=$dir/\$dldll~
14158
shlibpath_overrides_runpath=yes
14162
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
14163
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14164
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
14167
# MinGW DLLs use traditional 'lib' prefix
14168
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14169
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14170
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14171
# It is most probably a Windows format PATH printed by
14172
# mingw gcc, but we are running on Cygwin. Gcc prints its search
14173
# path with ; separators, and with drive letters. We can handle the
14174
# drive letters (cygwin fileutils understands them), so leave them,
14175
# especially as we might pass files found there to a mingw objdump,
14176
# which wouldn't understand a cygwinified path. Ahh.
14177
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14179
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14183
# pw32 DLLs use 'pw' prefix rather than 'lib'
14184
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14190
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14193
dynamic_linker='Win32 ld.exe'
14194
# FIXME: first we should search . and the directory the executable is in
14198
darwin* | rhapsody*)
14199
dynamic_linker="$host_os dyld"
14200
version_type=darwin
14203
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14204
soname_spec='${libname}${release}${major}$shared_ext'
14205
shlibpath_overrides_runpath=yes
14206
shlibpath_var=DYLD_LIBRARY_PATH
14207
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14209
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14216
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14217
soname_spec='${libname}${release}${shared_ext}$major'
14218
shlibpath_var=LD_LIBRARY_PATH
14225
freebsd* | dragonfly*)
14226
# DragonFly does not have aout. When/if they implement a new
14227
# versioning mechanism, adjust this.
14228
if test -x /usr/bin/objformat; then
14229
objformat=`/usr/bin/objformat`
14232
freebsd[123]*) objformat=aout ;;
14233
*) objformat=elf ;;
14236
version_type=freebsd-$objformat
14237
case $version_type in
14239
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14244
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14248
shlibpath_var=LD_LIBRARY_PATH
14251
shlibpath_overrides_runpath=yes
14253
freebsd3.[01]* | freebsdelf3.[01]*)
14254
shlibpath_overrides_runpath=yes
14255
hardcode_into_libs=yes
14257
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14258
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14259
shlibpath_overrides_runpath=no
14260
hardcode_into_libs=yes
14262
*) # from 4.6 on, and DragonFly
14263
shlibpath_overrides_runpath=yes
14264
hardcode_into_libs=yes
14273
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14274
soname_spec='${libname}${release}${shared_ext}$major'
14275
shlibpath_var=LD_LIBRARY_PATH
14276
hardcode_into_libs=yes
14279
hpux9* | hpux10* | hpux11*)
14280
# Give a soname corresponding to the major version so that dld.sl refuses to
14281
# link against other versions.
14288
hardcode_into_libs=yes
14289
dynamic_linker="$host_os dld.so"
14290
shlibpath_var=LD_LIBRARY_PATH
14291
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14292
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14293
soname_spec='${libname}${release}${shared_ext}$major'
14294
if test "X$HPUX_IA64_MODE" = X32; then
14295
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14297
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14299
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14303
hardcode_into_libs=yes
14304
dynamic_linker="$host_os dld.sl"
14305
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14306
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14307
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14308
soname_spec='${libname}${release}${shared_ext}$major'
14309
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14310
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14314
dynamic_linker="$host_os dld.sl"
14315
shlibpath_var=SHLIB_PATH
14316
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14317
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14318
soname_spec='${libname}${release}${shared_ext}$major'
14321
# HP-UX runs *really* slowly unless shared libraries are mode 555.
14322
postinstall_cmds='chmod 555 $lib'
14329
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14330
soname_spec='${libname}${release}${shared_ext}$major'
14331
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14332
shlibpath_var=LD_LIBRARY_PATH
14333
shlibpath_overrides_runpath=no
14334
hardcode_into_libs=yes
14337
irix5* | irix6* | nonstopux*)
14339
nonstopux*) version_type=nonstopux ;;
14341
if test "$lt_cv_prog_gnu_ld" = yes; then
14349
soname_spec='${libname}${release}${shared_ext}$major'
14350
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14352
irix5* | nonstopux*)
14353
libsuff= shlibsuff=
14356
case $LD in # libtool.m4 will add one of these switches to LD
14357
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14358
libsuff= shlibsuff= libmagic=32-bit;;
14359
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14360
libsuff=32 shlibsuff=N32 libmagic=N32;;
14361
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14362
libsuff=64 shlibsuff=64 libmagic=64-bit;;
14363
*) libsuff= shlibsuff= libmagic=never-match;;
14367
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14368
shlibpath_overrides_runpath=no
14369
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14370
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14371
hardcode_into_libs=yes
14374
# No shared lib support for Linux oldld, aout, or coff.
14375
linux*oldld* | linux*aout* | linux*coff*)
14379
# This must be Linux ELF.
14380
linux* | k*bsd*-gnu | kopensolaris*-gnu)
14384
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14385
soname_spec='${libname}${release}${shared_ext}$major'
14386
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14387
shlibpath_var=LD_LIBRARY_PATH
14388
shlibpath_overrides_runpath=no
14389
# Some binutils ld are patched to set DT_RUNPATH
14390
save_LDFLAGS=$LDFLAGS
14391
save_libdir=$libdir
14392
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14393
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14394
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14395
/* end confdefs.h. */
14405
if ac_fn_cxx_try_link "$LINENO"; then :
14406
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14407
shlibpath_overrides_runpath=yes
14410
rm -f core conftest.err conftest.$ac_objext \
14411
conftest$ac_exeext conftest.$ac_ext
14412
LDFLAGS=$save_LDFLAGS
14413
libdir=$save_libdir
14415
# This implies no fast_install, which is unacceptable.
14416
# Some rework will be needed to allow for fast_install
14417
# before this can be enabled.
14418
hardcode_into_libs=yes
14420
# Append ld.so.conf contents to the search path
14421
if test -f /etc/ld.so.conf; then
14422
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' ' '`
14423
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14426
# We used to test for /lib/ld.so.1 and disable shared libraries on
14427
# powerpc, because MkLinux only supported shared libraries with the
14428
# GNU dynamic linker. Since this was broken with cross compilers,
14429
# most powerpc-linux boxes support dynamic linking these days and
14430
# people can always --disable-shared, the test was removed, and we
14431
# assume the GNU/Linux dynamic linker is in use.
14432
dynamic_linker='GNU/Linux ld.so'
14439
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14440
soname_spec='${libname}${release}${shared_ext}$major'
14441
shlibpath_var=LD_LIBRARY_PATH
14442
shlibpath_overrides_runpath=no
14443
hardcode_into_libs=yes
14444
dynamic_linker='NetBSD ld.elf_so'
14451
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14452
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14453
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14454
dynamic_linker='NetBSD (a.out) ld.so'
14456
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14457
soname_spec='${libname}${release}${shared_ext}$major'
14458
dynamic_linker='NetBSD ld.elf_so'
14460
shlibpath_var=LD_LIBRARY_PATH
14461
shlibpath_overrides_runpath=yes
14462
hardcode_into_libs=yes
14467
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14468
shlibpath_var=LD_LIBRARY_PATH
14469
shlibpath_overrides_runpath=yes
14476
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14477
soname_spec='${libname}${release}${shared_ext}$major'
14478
shlibpath_var=LD_LIBRARY_PATH
14479
shlibpath_overrides_runpath=no
14480
hardcode_into_libs=yes
14481
dynamic_linker='ldqnx.so'
14486
sys_lib_dlsearch_path_spec="/usr/lib"
14488
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14490
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14491
*) need_version=no ;;
14493
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14494
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14495
shlibpath_var=LD_LIBRARY_PATH
14496
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14498
openbsd2.[89] | openbsd2.[89].*)
14499
shlibpath_overrides_runpath=no
14502
shlibpath_overrides_runpath=yes
14506
shlibpath_overrides_runpath=yes
14511
libname_spec='$name'
14514
library_names_spec='$libname${shared_ext} $libname.a'
14515
dynamic_linker='OS/2 ld.exe'
14516
shlibpath_var=LIBPATH
14519
osf3* | osf4* | osf5*)
14523
soname_spec='${libname}${release}${shared_ext}$major'
14524
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14525
shlibpath_var=LD_LIBRARY_PATH
14526
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14527
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14538
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14539
soname_spec='${libname}${release}${shared_ext}$major'
14540
shlibpath_var=LD_LIBRARY_PATH
14541
shlibpath_overrides_runpath=yes
14542
hardcode_into_libs=yes
14543
# ldd complains unless libraries are executable
14544
postinstall_cmds='chmod +x $lib'
14549
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14550
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14551
shlibpath_var=LD_LIBRARY_PATH
14552
shlibpath_overrides_runpath=yes
14553
if test "$with_gnu_ld" = yes; then
14561
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14562
soname_spec='${libname}${release}${shared_ext}$major'
14563
shlibpath_var=LD_LIBRARY_PATH
14564
case $host_vendor in
14566
shlibpath_overrides_runpath=no
14568
runpath_var=LD_RUN_PATH
14576
shlibpath_overrides_runpath=no
14577
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14583
if test -d /usr/nec ;then
14585
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14586
soname_spec='$libname${shared_ext}.$major'
14587
shlibpath_var=LD_LIBRARY_PATH
14591
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14592
version_type=freebsd-elf
14595
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14596
soname_spec='${libname}${release}${shared_ext}$major'
14597
shlibpath_var=LD_LIBRARY_PATH
14598
shlibpath_overrides_runpath=yes
14599
hardcode_into_libs=yes
14600
if test "$with_gnu_ld" = yes; then
14601
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14603
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14606
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14610
sys_lib_dlsearch_path_spec='/usr/lib'
14614
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14618
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14619
shlibpath_var=LD_LIBRARY_PATH
14620
shlibpath_overrides_runpath=no
14621
hardcode_into_libs=yes
14626
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14627
soname_spec='${libname}${release}${shared_ext}$major'
14628
shlibpath_var=LD_LIBRARY_PATH
14635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14636
$as_echo "$dynamic_linker" >&6; }
14637
test "$dynamic_linker" = no && can_build_shared=no
14639
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14640
if test "$GCC" = yes; then
14641
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14644
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14645
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14647
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14648
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14686
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14687
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14688
hardcode_action_CXX=
14689
if test -n "$hardcode_libdir_flag_spec_CXX" ||
14690
test -n "$runpath_var_CXX" ||
14691
test "X$hardcode_automatic_CXX" = "Xyes" ; then
14693
# We can hardcode non-existent directories.
14694
if test "$hardcode_direct_CXX" != no &&
14695
# If the only mechanism to avoid hardcoding is shlibpath_var, we
14696
# have to relink, otherwise we might link with an installed library
14697
# when we should be linking with a yet-to-be-installed one
14698
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14699
test "$hardcode_minus_L_CXX" != no; then
14700
# Linking always hardcodes the temporary library directory.
14701
hardcode_action_CXX=relink
14703
# We can link without hardcoding, and we can hardcode nonexisting dirs.
14704
hardcode_action_CXX=immediate
14707
# We cannot hardcode anything, or else we can only hardcode existing
14709
hardcode_action_CXX=unsupported
14711
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14712
$as_echo "$hardcode_action_CXX" >&6; }
14714
if test "$hardcode_action_CXX" = relink ||
14715
test "$inherit_rpath_CXX" = yes; then
14716
# Fast installation is not supported
14717
enable_fast_install=no
14718
elif test "$shlibpath_overrides_runpath" = yes ||
14719
test "$enable_shared" = no; then
14720
# Fast installation is not necessary
14721
enable_fast_install=needless
14730
fi # test -n "$compiler"
14736
with_gnu_ld=$lt_save_with_gnu_ld
14737
lt_cv_path_LDCXX=$lt_cv_path_LD
14738
lt_cv_path_LD=$lt_save_path_LD
14739
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14740
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14741
fi # test "$_lt_caught_CXX_error" != yes
14744
ac_cpp='$CPP $CPPFLAGS'
14745
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14746
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14747
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14761
ac_config_commands="$ac_config_commands libtool"
14766
# Only expand once:
14770
ATKMM_MODULES='atk >= 1.12 glibmm-2.4 >= 2.24'
14778
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14779
if test -n "$ac_tool_prefix"; then
14780
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14781
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14782
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14783
$as_echo_n "checking for $ac_word... " >&6; }
14784
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
14785
$as_echo_n "(cached) " >&6
14787
case $PKG_CONFIG in
14789
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14792
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14793
for as_dir in $PATH
14796
test -z "$as_dir" && as_dir=.
14797
for ac_exec_ext in '' $ac_executable_extensions; do
14798
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14799
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14800
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14810
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14811
if test -n "$PKG_CONFIG"; then
14812
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14813
$as_echo "$PKG_CONFIG" >&6; }
14815
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14816
$as_echo "no" >&6; }
14821
if test -z "$ac_cv_path_PKG_CONFIG"; then
14822
ac_pt_PKG_CONFIG=$PKG_CONFIG
14823
# Extract the first word of "pkg-config", so it can be a program name with args.
14824
set dummy pkg-config; ac_word=$2
14825
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14826
$as_echo_n "checking for $ac_word... " >&6; }
14827
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
14828
$as_echo_n "(cached) " >&6
14830
case $ac_pt_PKG_CONFIG in
14832
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14835
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14836
for as_dir in $PATH
14839
test -z "$as_dir" && as_dir=.
14840
for ac_exec_ext in '' $ac_executable_extensions; do
14841
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14842
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14843
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14853
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14854
if test -n "$ac_pt_PKG_CONFIG"; then
14855
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14856
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14858
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14859
$as_echo "no" >&6; }
14862
if test "x$ac_pt_PKG_CONFIG" = x; then
14865
case $cross_compiling:$ac_tool_warned in
14867
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14868
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14869
ac_tool_warned=yes ;;
14871
PKG_CONFIG=$ac_pt_PKG_CONFIG
14874
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14878
if test -n "$PKG_CONFIG"; then
14879
_pkg_min_version=0.9.0
14880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14881
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14882
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14884
$as_echo "yes" >&6; }
14886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14887
$as_echo "no" >&6; }
14893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATKMM" >&5
14894
$as_echo_n "checking for ATKMM... " >&6; }
14896
if test -n "$ATKMM_CFLAGS"; then
14897
pkg_cv_ATKMM_CFLAGS="$ATKMM_CFLAGS"
14898
elif test -n "$PKG_CONFIG"; then
14899
if test -n "$PKG_CONFIG" && \
14900
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$ATKMM_MODULES\""; } >&5
14901
($PKG_CONFIG --exists --print-errors "$ATKMM_MODULES") 2>&5
14903
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14904
test $ac_status = 0; }; then
14905
pkg_cv_ATKMM_CFLAGS=`$PKG_CONFIG --cflags "$ATKMM_MODULES" 2>/dev/null`
14912
if test -n "$ATKMM_LIBS"; then
14913
pkg_cv_ATKMM_LIBS="$ATKMM_LIBS"
14914
elif test -n "$PKG_CONFIG"; then
14915
if test -n "$PKG_CONFIG" && \
14916
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$ATKMM_MODULES\""; } >&5
14917
($PKG_CONFIG --exists --print-errors "$ATKMM_MODULES") 2>&5
14919
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14920
test $ac_status = 0; }; then
14921
pkg_cv_ATKMM_LIBS=`$PKG_CONFIG --libs "$ATKMM_MODULES" 2>/dev/null`
14931
if test $pkg_failed = yes; then
14932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14933
$as_echo "no" >&6; }
14935
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14936
_pkg_short_errors_supported=yes
14938
_pkg_short_errors_supported=no
14940
if test $_pkg_short_errors_supported = yes; then
14941
ATKMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$ATKMM_MODULES" 2>&1`
14943
ATKMM_PKG_ERRORS=`$PKG_CONFIG --print-errors "$ATKMM_MODULES" 2>&1`
14945
# Put the nasty error message in config.log where it belongs
14946
echo "$ATKMM_PKG_ERRORS" >&5
14948
as_fn_error $? "Package requirements ($ATKMM_MODULES) were not met:
14952
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14953
installed software in a non-standard prefix.
14955
Alternatively, you may set the environment variables ATKMM_CFLAGS
14956
and ATKMM_LIBS to avoid the need to call pkg-config.
14957
See the pkg-config man page for more details." "$LINENO" 5
14958
elif test $pkg_failed = untried; then
14959
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14960
$as_echo "no" >&6; }
14961
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14962
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14963
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14964
is in your PATH or set the PKG_CONFIG environment variable to the full
14965
path to pkg-config.
14967
Alternatively, you may set the environment variables ATKMM_CFLAGS
14968
and ATKMM_LIBS to avoid the need to call pkg-config.
14969
See the pkg-config man page for more details.
14971
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14972
See \`config.log' for more details" "$LINENO" 5 ; }
14974
ATKMM_CFLAGS=$pkg_cv_ATKMM_CFLAGS
14975
ATKMM_LIBS=$pkg_cv_ATKMM_LIBS
14976
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14977
$as_echo "yes" >&6; }
14981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD_CFLAGS" >&5
14982
$as_echo_n "checking for GTHREAD_CFLAGS... " >&6; }
14983
if test -z "${GTHREAD_CFLAGS+set}"; then :
14984
GTHREAD_CFLAGS=`$PKG_CONFIG --cflags-only-other gthread-2.0 2>&5`
14985
if test "$?" -eq 0; then :
14989
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_CFLAGS" >&5
14990
$as_echo "$GTHREAD_CFLAGS" >&6; }
14992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMMPROC_DIR" >&5
14993
$as_echo_n "checking for GMMPROC_DIR... " >&6; }
14994
if test -z "${GMMPROC_DIR+set}"; then :
14995
GMMPROC_DIR=`$PKG_CONFIG --variable=gmmprocdir glibmm-2.4 2>&5`
14996
if test "$?" -eq 0; then :
15000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMMPROC_DIR" >&5
15001
$as_echo "$GMMPROC_DIR" >&6; }
15004
# Check whether --enable-deprecated-api was given.
15005
if test "${enable_deprecated_api+set}" = set; then :
15006
enableval=$enable_deprecated_api; mm_enable_deprecated_api=$enableval
15008
mm_enable_deprecated_api=yes
15010
if test "x$mm_enable_deprecated_api" = xno; then :
15011
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Deprecated API will not be built, breaking compatibility.
15012
Do not use this option for distribution packages." >&5
15013
$as_echo "$as_me: WARNING: Deprecated API will not be built, breaking compatibility.
15014
Do not use this option for distribution packages." >&2;}
15016
{ $as_echo "$as_me:${as_lineno-$LINENO}: Deprecated API will be built, for backwards-compatibility." >&5
15017
$as_echo "$as_me: Deprecated API will be built, for backwards-compatibility." >&6;}
15019
if test "x$mm_enable_deprecated_api" = xno; then
15020
DISABLE_DEPRECATED_API_TRUE=
15021
DISABLE_DEPRECATED_API_FALSE='#'
15023
DISABLE_DEPRECATED_API_TRUE='#'
15024
DISABLE_DEPRECATED_API_FALSE=
15027
if test "x$mm_enable_deprecated_api" = xno; then :
15029
$as_echo "#define ATKMM_DISABLE_DEPRECATED 1" >>confdefs.h
15034
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking location of documentation utilities" >&5
15035
$as_echo_n "checking location of documentation utilities... " >&6; }
15036
if test "x$MMDOCTOOLDIR" = x; then :
15038
MMDOCTOOLDIR=`$PKG_CONFIG --variable=doctooldir glibmm-2.4 2>&5`
15039
if test "$?" -ne 0; then :
15040
as_fn_error $? "not found
15041
The required module glibmm could not be found on this system. If you
15042
are running a binary distribution and the glibmm package is installed,
15043
make sure that any separate development package for glibmm is installed
15044
as well. If you built glibmm yourself, it may be necessary to adjust
15045
the PKG_CONFIG_PATH environment variable for pkg-config to find it.
15050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMDOCTOOLDIR" >&5
15051
$as_echo "$MMDOCTOOLDIR" >&6; }
15054
# Extract the first word of "perl", so it can be a program name with args.
15055
set dummy perl; ac_word=$2
15056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15057
$as_echo_n "checking for $ac_word... " >&6; }
15058
if test "${ac_cv_path_PERL+set}" = set; then :
15059
$as_echo_n "(cached) " >&6
15063
ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
15066
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15067
for as_dir in $PATH
15070
test -z "$as_dir" && as_dir=.
15071
for ac_exec_ext in '' $ac_executable_extensions; do
15072
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15073
ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
15074
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15081
test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
15085
PERL=$ac_cv_path_PERL
15086
if test -n "$PERL"; then
15087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
15088
$as_echo "$PERL" >&6; }
15090
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15091
$as_echo "no" >&6; }
15096
# Extract the first word of "dot", so it can be a program name with args.
15097
set dummy dot; ac_word=$2
15098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15099
$as_echo_n "checking for $ac_word... " >&6; }
15100
if test "${ac_cv_path_DOT+set}" = set; then :
15101
$as_echo_n "(cached) " >&6
15105
ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
15108
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15109
for as_dir in $PATH
15112
test -z "$as_dir" && as_dir=.
15113
for ac_exec_ext in '' $ac_executable_extensions; do
15114
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15115
ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
15116
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15123
test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="dot"
15127
DOT=$ac_cv_path_DOT
15128
if test -n "$DOT"; then
15129
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
15130
$as_echo "$DOT" >&6; }
15132
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15133
$as_echo "no" >&6; }
15137
# Extract the first word of "doxygen", so it can be a program name with args.
15138
set dummy doxygen; ac_word=$2
15139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15140
$as_echo_n "checking for $ac_word... " >&6; }
15141
if test "${ac_cv_path_DOXYGEN+set}" = set; then :
15142
$as_echo_n "(cached) " >&6
15146
ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
15149
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15150
for as_dir in $PATH
15153
test -z "$as_dir" && as_dir=.
15154
for ac_exec_ext in '' $ac_executable_extensions; do
15155
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15156
ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
15157
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15164
test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="doxygen"
15168
DOXYGEN=$ac_cv_path_DOXYGEN
15169
if test -n "$DOXYGEN"; then
15170
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
15171
$as_echo "$DOXYGEN" >&6; }
15173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15174
$as_echo "no" >&6; }
15178
# Extract the first word of "xsltproc", so it can be a program name with args.
15179
set dummy xsltproc; ac_word=$2
15180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15181
$as_echo_n "checking for $ac_word... " >&6; }
15182
if test "${ac_cv_path_XSLTPROC+set}" = set; then :
15183
$as_echo_n "(cached) " >&6
15187
ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
15190
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15191
for as_dir in $PATH
15194
test -z "$as_dir" && as_dir=.
15195
for ac_exec_ext in '' $ac_executable_extensions; do
15196
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15197
ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
15198
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15205
test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="xsltproc"
15209
XSLTPROC=$ac_cv_path_XSLTPROC
15210
if test -n "$XSLTPROC"; then
15211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
15212
$as_echo "$XSLTPROC" >&6; }
15214
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15215
$as_echo "no" >&6; }
15219
# Check whether --enable-documentation was given.
15220
if test "${enable_documentation+set}" = set; then :
15221
enableval=$enable_documentation; ENABLE_DOCUMENTATION=$enableval
15223
ENABLE_DOCUMENTATION=auto
15226
if test "x$ENABLE_DOCUMENTATION" != xno; then :
15229
if test "x$MMDOCTOOLDIR" = x; then :
15230
mm_err='The glibmm module is available, but the installation of glibmm on this
15231
machine is missing the shared documentation utilities of the GNOME C++
15232
bindings. It may be necessary to upgrade to a more recent release of
15233
glibmm in order to build '$PACKAGE_NAME' and install the documentation.'
15234
elif test "x$PERL" = xperl; then :
15235
mm_err='Perl is required for installing the documentation.'
15236
elif test "x$USE_MAINTAINER_MODE" != xno; then :
15238
test "x$DOT" != xdot || mm_err=' dot'
15239
test "x$DOXYGEN" != xdoxygen || mm_err="$mm_err doxygen"
15240
test "x$XSLTPROC" != xxsltproc || mm_err="$mm_err xsltproc"
15241
test -z "$mm_err" || mm_err='The documentation cannot be generated because
15242
not all of the required tools are available:'$mm_err
15245
if test -z "$mm_err"; then :
15246
ENABLE_DOCUMENTATION=yes
15247
elif test "x$ENABLE_DOCUMENTATION" = xyes; then :
15248
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15249
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15250
as_fn_error $? "$mm_err
15251
See \`config.log' for more details" "$LINENO" 5 ; }
15253
ENABLE_DOCUMENTATION=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $mm_err" >&5
15254
$as_echo "$as_me: WARNING: $mm_err" >&2;}
15258
if test "x$ENABLE_DOCUMENTATION" = xyes; then
15259
ENABLE_DOCUMENTATION_TRUE=
15260
ENABLE_DOCUMENTATION_FALSE='#'
15262
ENABLE_DOCUMENTATION_TRUE='#'
15263
ENABLE_DOCUMENTATION_FALSE=
15271
if test "x$ENABLE_DOCUMENTATION" != xno; then :
15272
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstdc documentation" >&5
15273
$as_echo_n "checking for libstdc documentation... " >&6; }
15275
# Check whether --with-libstdc-doc was given.
15276
if test "${with_libstdc_doc+set}" = set; then :
15277
withval=$with_libstdc_doc;
15278
mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
15279
mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
15280
mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
15281
test "x$mm_tagname" != x || mm_tagname="libstdc++.tag"
15282
test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
15286
mm_tagname="libstdc++.tag"
15287
mm_tagpath=$mm_tagname
15290
# Prepend working direcory if the tag file path starts with ./ or ../
15291
case $mm_tagpath in #(
15292
.[\\/]*|..[\\/]*) :
15293
mm_tagpath=`pwd`/$mm_tagpath ;; #(
15298
# If no local directory was specified, get the default from the .pc file
15299
if test "x$mm_htmlrefdir" = x; then :
15301
mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "mm-common-libstdc++" 2>&5`
15303
# If the user specified a Web URL, allow it to override the public location
15304
case $mm_htmlrefdir in #(
15305
http://*|https://*) :
15306
mm_htmlrefpub=$mm_htmlrefdir ;; #(
15309
mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "mm-common-libstdc++" 2>&5`
15310
test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
15311
test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
15314
# The user-supplied tag-file name takes precedence if it includes the path
15315
case $mm_tagpath in #(
15320
mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "mm-common-libstdc++" 2>&5`
15321
test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
15324
# Remove trailing slashes and translate to URI
15325
mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
15326
mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
15328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
15329
$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
15331
if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
15332
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libstdc++.tag not found" >&5
15333
$as_echo "$as_me: WARNING: Doxygen tag file libstdc++.tag not found" >&2;}
15335
if test "x$mm_htmlrefdir" = x; then :
15336
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libstdc documentation not set" >&5
15337
$as_echo "$as_me: WARNING: Location of external libstdc documentation not set" >&2;}
15339
if test "x$DOCINSTALL_FLAGS" = x; then :
15340
DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
15342
DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
15346
if test "x$mm_htmlrefpub" = x; then :
15349
mm_val="$mm_tagpath=$mm_htmlrefpub"
15351
if test "x$DOXYGEN_TAGFILES" = x; then :
15352
DOXYGEN_TAGFILES=\"$mm_val\"
15354
DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
15357
if test "x$ENABLE_DOCUMENTATION" != xno; then :
15358
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigc documentation" >&5
15359
$as_echo_n "checking for libsigc documentation... " >&6; }
15361
# Check whether --with-libsigc-doc was given.
15362
if test "${with_libsigc_doc+set}" = set; then :
15363
withval=$with_libsigc_doc;
15364
mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
15365
mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
15366
mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
15367
test "x$mm_tagname" != x || mm_tagname="libsigc++-2.0.tag"
15368
test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
15372
mm_tagname="libsigc++-2.0.tag"
15373
mm_tagpath=$mm_tagname
15376
# Prepend working direcory if the tag file path starts with ./ or ../
15377
case $mm_tagpath in #(
15378
.[\\/]*|..[\\/]*) :
15379
mm_tagpath=`pwd`/$mm_tagpath ;; #(
15384
# If no local directory was specified, get the default from the .pc file
15385
if test "x$mm_htmlrefdir" = x; then :
15387
mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "sigc++-2.0" 2>&5`
15389
# If the user specified a Web URL, allow it to override the public location
15390
case $mm_htmlrefdir in #(
15391
http://*|https://*) :
15392
mm_htmlrefpub=$mm_htmlrefdir ;; #(
15395
mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "sigc++-2.0" 2>&5`
15396
test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
15397
test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
15400
# The user-supplied tag-file name takes precedence if it includes the path
15401
case $mm_tagpath in #(
15406
mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "sigc++-2.0" 2>&5`
15407
test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
15410
# Remove trailing slashes and translate to URI
15411
mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
15412
mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
15414
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
15415
$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
15417
if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
15418
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&5
15419
$as_echo "$as_me: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&2;}
15421
if test "x$mm_htmlrefdir" = x; then :
15422
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libsigc documentation not set" >&5
15423
$as_echo "$as_me: WARNING: Location of external libsigc documentation not set" >&2;}
15425
if test "x$DOCINSTALL_FLAGS" = x; then :
15426
DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
15428
DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
15432
if test "x$mm_htmlrefpub" = x; then :
15435
mm_val="$mm_tagpath=$mm_htmlrefpub"
15437
if test "x$DOXYGEN_TAGFILES" = x; then :
15438
DOXYGEN_TAGFILES=\"$mm_val\"
15440
DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
15443
if test "x$ENABLE_DOCUMENTATION" != xno; then :
15444
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibmm documentation" >&5
15445
$as_echo_n "checking for glibmm documentation... " >&6; }
15447
# Check whether --with-glibmm-doc was given.
15448
if test "${with_glibmm_doc+set}" = set; then :
15449
withval=$with_glibmm_doc;
15450
mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
15451
mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
15452
mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
15453
test "x$mm_tagname" != x || mm_tagname="glibmm-2.4.tag"
15454
test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
15458
mm_tagname="glibmm-2.4.tag"
15459
mm_tagpath=$mm_tagname
15462
# Prepend working direcory if the tag file path starts with ./ or ../
15463
case $mm_tagpath in #(
15464
.[\\/]*|..[\\/]*) :
15465
mm_tagpath=`pwd`/$mm_tagpath ;; #(
15470
# If no local directory was specified, get the default from the .pc file
15471
if test "x$mm_htmlrefdir" = x; then :
15473
mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "glibmm-2.4" 2>&5`
15475
# If the user specified a Web URL, allow it to override the public location
15476
case $mm_htmlrefdir in #(
15477
http://*|https://*) :
15478
mm_htmlrefpub=$mm_htmlrefdir ;; #(
15481
mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "glibmm-2.4" 2>&5`
15482
test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
15483
test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
15486
# The user-supplied tag-file name takes precedence if it includes the path
15487
case $mm_tagpath in #(
15492
mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "glibmm-2.4" 2>&5`
15493
test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
15496
# Remove trailing slashes and translate to URI
15497
mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
15498
mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
15500
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
15501
$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
15503
if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
15504
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&5
15505
$as_echo "$as_me: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&2;}
15507
if test "x$mm_htmlrefdir" = x; then :
15508
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external glibmm documentation not set" >&5
15509
$as_echo "$as_me: WARNING: Location of external glibmm documentation not set" >&2;}
15511
if test "x$DOCINSTALL_FLAGS" = x; then :
15512
DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
15514
DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
15518
if test "x$mm_htmlrefpub" = x; then :
15521
mm_val="$mm_tagpath=$mm_htmlrefpub"
15523
if test "x$DOXYGEN_TAGFILES" = x; then :
15524
DOXYGEN_TAGFILES=\"$mm_val\"
15526
DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
15531
ac_cpp='$CXXCPP $CPPFLAGS'
15532
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15533
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15534
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15536
# Check whether --enable-warnings was given.
15537
if test "${enable_warnings+set}" = set; then :
15538
enableval=$enable_warnings; mm_enable_warnings=$enableval
15540
mm_enable_warnings=min
15543
case $ac_compile in #(
15545
mm_lang='C++' mm_cc=$CXX mm_conftest="conftest.${ac_ext-cc}" ;; #(
15547
mm_lang=C mm_cc=$CC mm_conftest="conftest.${ac_ext-c}" ;; #(
15549
as_fn_error $? "current language is neither C nor C++" "$LINENO" 5 ;;
15551
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which $mm_lang compiler warning flags to use" >&5
15552
$as_echo_n "checking which $mm_lang compiler warning flags to use... " >&6; }
15553
mm_deprecation_flags=
15555
case $mm_enable_warnings in #(
15557
mm_warning_flags= ;; #(
15559
mm_warning_flags="-pedantic -Wall -Wextra -DGSEAL_ENABLE" ;; #(
15561
mm_warning_flags="-pedantic -Wall -Wextra -DGSEAL_ENABLE -Werror"
15562
for mm_prefix in G ATK
15564
mm_deprecation_flags="$mm_deprecation_flags-D${mm_prefix}_DISABLE_DEPRECATED "
15567
mm_warning_flags="-Wall" ;;
15569
if test "x$mm_warning_flags" != x; then :
15571
# Keep in mind that the dummy source must be devoid of any
15572
# problems that might cause diagnostics.
15573
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15574
/* end confdefs.h. */
15576
int main(int argc, char** argv) { return (argv != 0) ? argc : 0; }
15579
for mm_flag in $mm_warning_flags
15581
# Test whether the compiler accepts the flag. Look at standard output,
15582
# since GCC only shows a warning message if an option is not supported.
15583
mm_cc_out=`$mm_cc $mm_tested_flags $mm_flag -c "$mm_conftest" 2>&1 || echo failed`
15584
rm -f "conftest.${OBJEXT-o}"
15586
if test "x$mm_cc_out" = x; then :
15587
if test "x$mm_tested_flags" = x; then :
15588
mm_tested_flags=$mm_flag
15590
mm_tested_flags="$mm_tested_flags $mm_flag"
15599
rm -f "$mm_conftest"
15602
mm_all_flags=$mm_deprecation_flags$mm_tested_flags
15603
ATKMM_WXXFLAGS=$mm_all_flags
15605
test "x$mm_all_flags" != x || mm_all_flags=none
15606
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_all_flags" >&5
15607
$as_echo "$mm_all_flags" >&6; }
15609
ac_config_files="$ac_config_files Makefile codegen/Makefile atk/${ATKMM_MODULE_NAME}.pc:atk/atkmm.pc.in atk/${ATKMM_MODULE_NAME}-uninstalled.pc:atk/atkmm-uninstalled.pc.in atk/src/Makefile atk/atkmm/Makefile doc/Makefile doc/reference/Doxyfile MSVC_Net2005/atkmm/atkmm.rc MSVC_Net2008/atkmm/atkmm.rc MSVC_Net2010/atkmm/atkmm.rc"
15612
# Copy the generated configuration headers into the MSVC project directories.
15613
ac_config_commands="$ac_config_commands MSVC_Net2005/atkmm/atkmmconfig.h"
15615
ac_config_commands="$ac_config_commands MSVC_Net2008/atkmm/atkmmconfig.h"
15617
ac_config_commands="$ac_config_commands MSVC_Net2010/atkmm/atkmmconfig.h"
15619
cat >confcache <<\_ACEOF
15620
# This file is a shell script that caches the results of configure
15621
# tests run on this system so they can be shared between configure
15622
# scripts and configure runs, see configure's option --config-cache.
15623
# It is not useful on other systems. If it contains results you don't
15624
# want to keep, you may remove or edit it.
15626
# config.status only pays attention to the cache file if you give it
15627
# the --recheck option to rerun configure.
15629
# `ac_cv_env_foo' variables (set or unset) will be overridden when
15630
# loading this file, other *unset* `ac_cv_foo' will be assigned the
15631
# following values.
15635
# The following way of writing the cache mishandles newlines in values,
15636
# but we know of no workaround that is simple, portable, and efficient.
15637
# So, we kill variables containing newlines.
15638
# Ultrix sh set writes to stderr and can't be redirected directly,
15639
# and sets the high bit in the cache file unless we assign to the vars.
15641
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15642
eval ac_val=\$$ac_var
15646
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15647
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15650
_ | IFS | as_nl) ;; #(
15651
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15652
*) { eval $ac_var=; unset $ac_var;} ;;
15658
case $as_nl`(ac_space=' '; set) 2>&1` in #(
15659
*${as_nl}ac_space=\ *)
15660
# `set' does not quote correctly, so add quotes: double-quote
15661
# substitution turns \\\\ into \\, and sed turns \\ into \.
15664
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15667
# `set' quotes correctly as required by POSIX, so do not add quotes.
15668
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15677
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15679
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15681
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15682
if test -w "$cache_file"; then
15683
test "x$cache_file" != "x/dev/null" &&
15684
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15685
$as_echo "$as_me: updating cache $cache_file" >&6;}
15686
cat confcache >$cache_file
15688
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15689
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15694
test "x$prefix" = xNONE && prefix=$ac_default_prefix
15695
# Let make expand exec_prefix.
15696
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15698
DEFS=-DHAVE_CONFIG_H
15703
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15704
# 1. Remove the extension, and $U if already installed.
15705
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15706
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15707
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15708
# will be set to the directory where LIBOBJS objects are built.
15709
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15710
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15712
LIBOBJS=$ac_libobjs
15714
LTLIBOBJS=$ac_ltlibobjs
15717
if test -n "$EXEEXT"; then
15719
am__EXEEXT_FALSE='#'
15721
am__EXEEXT_TRUE='#'
15725
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15726
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15727
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15729
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15730
as_fn_error $? "conditional \"AMDEP\" was never defined.
15731
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15733
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15734
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15735
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15737
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15738
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15739
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15741
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15742
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15743
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15745
if test -z "${DISABLE_DEPRECATED_API_TRUE}" && test -z "${DISABLE_DEPRECATED_API_FALSE}"; then
15746
as_fn_error $? "conditional \"DISABLE_DEPRECATED_API\" was never defined.
15747
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15749
if test -z "${ENABLE_DOCUMENTATION_TRUE}" && test -z "${ENABLE_DOCUMENTATION_FALSE}"; then
15750
as_fn_error $? "conditional \"ENABLE_DOCUMENTATION\" was never defined.
15751
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15754
: ${CONFIG_STATUS=./config.status}
15756
ac_clean_files_save=$ac_clean_files
15757
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15758
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15759
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15761
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15763
# Generated by $as_me.
15764
# Run this file to recreate the current configuration.
15765
# Compiler output produced by configure, useful for debugging
15766
# configure, is in config.log if it exists.
15769
ac_cs_recheck=false
15772
SHELL=\${CONFIG_SHELL-$SHELL}
15775
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15776
## -------------------- ##
15777
## M4sh Initialization. ##
15778
## -------------------- ##
15780
# Be more Bourne compatible
15781
DUALCASE=1; export DUALCASE # for MKS sh
15782
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15785
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15786
# is contrary to our usage. Disable this feature.
15787
alias -g '${1+"$@"}'='"$@"'
15788
setopt NO_GLOB_SUBST
15790
case `(set -o) 2>/dev/null` in #(
15802
# Printing a long string crashes Solaris 7 /usr/bin/printf.
15803
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15804
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15805
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15806
# Prefer a ksh shell builtin over an external printf program on Solaris,
15807
# but without wasting forks for bash or zsh.
15808
if test -z "$BASH_VERSION$ZSH_VERSION" \
15809
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15810
as_echo='print -r --'
15811
as_echo_n='print -rn --'
15812
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15813
as_echo='printf %s\n'
15814
as_echo_n='printf %s'
15816
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15817
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15818
as_echo_n='/usr/ucb/echo -n'
15820
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15821
as_echo_n_body='eval
15825
expr "X$arg" : "X\\(.*\\)$as_nl";
15826
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15828
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15830
export as_echo_n_body
15831
as_echo_n='sh -c $as_echo_n_body as_echo'
15833
export as_echo_body
15834
as_echo='sh -c $as_echo_body as_echo'
15837
# The user is always right.
15838
if test "${PATH_SEPARATOR+set}" != set; then
15840
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15841
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15848
# We need space, tab and new line, in precisely that order. Quoting is
15849
# there to prevent editors from complaining about space-tab.
15850
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15851
# splitting by setting IFS to empty value.)
15854
# Find who we are. Look in the path if we contain no directory separator.
15856
*[\\/]* ) as_myself=$0 ;;
15857
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15858
for as_dir in $PATH
15861
test -z "$as_dir" && as_dir=.
15862
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15868
# We did not find ourselves, most probably we were run as `sh COMMAND'
15869
# in which case we are not to be found in the path.
15870
if test "x$as_myself" = x; then
15873
if test ! -f "$as_myself"; then
15874
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15878
# Unset variables that we do not need and which cause bugs (e.g. in
15879
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15880
# suppresses any "Segmentation fault" message there. '((' could
15881
# trigger a bug in pdksh 5.2.14.
15882
for as_var in BASH_ENV ENV MAIL MAILPATH
15883
do eval test x\${$as_var+set} = xset \
15884
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15897
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15900
# as_fn_error STATUS ERROR [LINENO LOG_FD]
15901
# ----------------------------------------
15902
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15903
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15904
# script with STATUS, using 1 if that was 0.
15907
as_status=$1; test $as_status -eq 0 && as_status=1
15909
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15910
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15912
$as_echo "$as_me: error: $2" >&2
15913
as_fn_exit $as_status
15917
# as_fn_set_status STATUS
15918
# -----------------------
15919
# Set $? to STATUS, without forking.
15920
as_fn_set_status ()
15923
} # as_fn_set_status
15925
# as_fn_exit STATUS
15926
# -----------------
15927
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15931
as_fn_set_status $1
15937
# Portably unset VAR.
15940
{ eval $1=; unset $1;}
15942
as_unset=as_fn_unset
15943
# as_fn_append VAR VALUE
15944
# ----------------------
15945
# Append the text in VALUE to the end of the definition contained in VAR. Take
15946
# advantage of any shell optimizations that allow amortized linear growth over
15947
# repeated appends, instead of the typical quadratic growth present in naive
15949
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15950
eval 'as_fn_append ()
15961
# as_fn_arith ARG...
15962
# ------------------
15963
# Perform arithmetic evaluation on the ARGs, and store the result in the
15964
# global $as_val. Take advantage of shells that can avoid forks. The arguments
15965
# must be portable across $(()) and expr.
15966
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15967
eval 'as_fn_arith ()
15974
as_val=`expr "$@" || test $? -eq 1`
15979
if expr a : '\(a\)' >/dev/null 2>&1 &&
15980
test "X`expr 00001 : '.*\(...\)'`" = X001; then
15986
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15987
as_basename=basename
15992
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15998
as_me=`$as_basename -- "$0" ||
15999
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16000
X"$0" : 'X\(//\)$' \| \
16001
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16003
sed '/^.*\/\([^/][^/]*\)\/*$/{
16017
# Avoid depending upon Character Ranges.
16018
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16019
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16020
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16021
as_cr_digits='0123456789'
16022
as_cr_alnum=$as_cr_Letters$as_cr_digits
16024
ECHO_C= ECHO_N= ECHO_T=
16025
case `echo -n x` in #(((((
16027
case `echo 'xy\c'` in
16028
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
16030
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16037
rm -f conf$$ conf$$.exe conf$$.file
16038
if test -d conf$$.dir; then
16039
rm -f conf$$.dir/conf$$.file
16042
mkdir conf$$.dir 2>/dev/null
16044
if (echo >conf$$.file) 2>/dev/null; then
16045
if ln -s conf$$.file conf$$ 2>/dev/null; then
16047
# ... but there are two gotchas:
16048
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16049
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16050
# In both cases, we have to default to `cp -p'.
16051
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16053
elif ln conf$$.file conf$$ 2>/dev/null; then
16061
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16062
rmdir conf$$.dir 2>/dev/null
16067
# Create "$as_dir" as a directory, including parents if necessary.
16072
-*) as_dir=./$as_dir;;
16074
test -d "$as_dir" || eval $as_mkdir_p || {
16078
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16079
*) as_qdir=$as_dir;;
16081
as_dirs="'$as_qdir' $as_dirs"
16082
as_dir=`$as_dirname -- "$as_dir" ||
16083
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16084
X"$as_dir" : 'X\(//\)[^/]' \| \
16085
X"$as_dir" : 'X\(//\)$' \| \
16086
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16087
$as_echo X"$as_dir" |
16088
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16092
/^X\(\/\/\)[^/].*/{
16105
test -d "$as_dir" && break
16107
test -z "$as_dirs" || eval "mkdir $as_dirs"
16108
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16112
if mkdir -p . 2>/dev/null; then
16113
as_mkdir_p='mkdir -p "$as_dir"'
16115
test -d ./-p && rmdir ./-p
16119
if test -x / >/dev/null 2>&1; then
16120
as_test_x='test -x'
16122
if ls -dL / >/dev/null 2>&1; then
16129
if test -d "$1"; then
16135
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16136
???[sx]*):;;*)false;;esac;fi
16140
as_executable_p=$as_test_x
16142
# Sed expression to map a string onto a valid CPP name.
16143
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16145
# Sed expression to map a string onto a valid variable name.
16146
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16150
## ----------------------------------- ##
16151
## Main body of $CONFIG_STATUS script. ##
16152
## ----------------------------------- ##
16154
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16156
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16157
# Save the log message, to keep $0 and so on meaningful, and to
16158
# report actual input values of CONFIG_FILES etc. instead of their
16159
# values after options handling.
16161
This file was extended by atkmm $as_me 2.22.1, which was
16162
generated by GNU Autoconf 2.67. Invocation command line was
16164
CONFIG_FILES = $CONFIG_FILES
16165
CONFIG_HEADERS = $CONFIG_HEADERS
16166
CONFIG_LINKS = $CONFIG_LINKS
16167
CONFIG_COMMANDS = $CONFIG_COMMANDS
16170
on `(hostname || uname -n) 2>/dev/null | sed 1q`
16175
case $ac_config_files in *"
16176
"*) set x $ac_config_files; shift; ac_config_files=$*;;
16179
case $ac_config_headers in *"
16180
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16184
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16185
# Files that config.status was made for.
16186
config_files="$ac_config_files"
16187
config_headers="$ac_config_headers"
16188
config_commands="$ac_config_commands"
16192
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16194
\`$as_me' instantiates files and other configuration actions
16195
from templates according to the current configuration. Unless the files
16196
and actions are specified as TAGs, all are instantiated by default.
16198
Usage: $0 [OPTION]... [TAG]...
16200
-h, --help print this help, then exit
16201
-V, --version print version number and configuration settings, then exit
16202
--config print configuration, then exit
16203
-q, --quiet, --silent
16204
do not print progress messages
16205
-d, --debug don't remove temporary files
16206
--recheck update $as_me by reconfiguring in the same conditions
16207
--file=FILE[:TEMPLATE]
16208
instantiate the configuration file FILE
16209
--header=FILE[:TEMPLATE]
16210
instantiate the configuration header FILE
16212
Configuration files:
16215
Configuration headers:
16218
Configuration commands:
16221
Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=atkmm>.
16222
atkmm home page: <http://www.gtkmm.org/>."
16225
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16226
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16228
atkmm config.status 2.22.1
16229
configured by $0, generated by GNU Autoconf 2.67,
16230
with options \\"\$ac_cs_config\\"
16232
Copyright (C) 2010 Free Software Foundation, Inc.
16233
This config.status script is free software; the Free Software Foundation
16234
gives unlimited permission to copy, distribute and modify it."
16241
test -n "\$AWK" || AWK=awk
16244
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16245
# The default lists apply if the user does not specify any file.
16251
ac_option=`expr "X$1" : 'X\([^=]*\)='`
16252
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16256
ac_option=`expr "X$1" : 'X\([^=]*\)='`
16268
# Handling of the options.
16269
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16271
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16272
$as_echo "$ac_cs_version"; exit ;;
16273
--config | --confi | --conf | --con | --co | --c )
16274
$as_echo "$ac_cs_config"; exit ;;
16275
--debug | --debu | --deb | --de | --d | -d )
16277
--file | --fil | --fi | --f )
16280
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16281
'') as_fn_error $? "missing file argument" ;;
16283
as_fn_append CONFIG_FILES " '$ac_optarg'"
16284
ac_need_defaults=false;;
16285
--header | --heade | --head | --hea )
16288
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16290
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16291
ac_need_defaults=false;;
16293
# Conflict between --help and --header
16294
as_fn_error $? "ambiguous option: \`$1'
16295
Try \`$0 --help' for more information.";;
16296
--help | --hel | -h )
16297
$as_echo "$ac_cs_usage"; exit ;;
16298
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
16299
| -silent | --silent | --silen | --sile | --sil | --si | --s)
16302
# This is an error.
16303
-*) as_fn_error $? "unrecognized option: \`$1'
16304
Try \`$0 --help' for more information." ;;
16306
*) as_fn_append ac_config_targets " $1"
16307
ac_need_defaults=false ;;
16313
ac_configure_extra_args=
16315
if $ac_cs_silent; then
16317
ac_configure_extra_args="$ac_configure_extra_args --silent"
16321
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16322
if \$ac_cs_recheck; then
16323
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16325
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16326
CONFIG_SHELL='$SHELL'
16327
export CONFIG_SHELL
16332
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16336
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16337
## Running $as_me. ##
16343
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16347
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16350
# The HP-UX ksh and POSIX shell print the target directory to stdout
16351
# if CDPATH is set.
16352
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16354
sed_quote_subst='$sed_quote_subst'
16355
double_quote_subst='$double_quote_subst'
16356
delay_variable_subst='$delay_variable_subst'
16357
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
16358
AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
16359
DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16360
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
16361
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
16362
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
16363
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
16364
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
16365
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
16366
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
16367
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
16368
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
16369
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
16370
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
16371
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
16372
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
16373
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
16374
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
16375
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
16376
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
16377
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
16378
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
16379
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
16380
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
16381
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
16382
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
16383
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
16384
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
16385
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
16386
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
16387
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16388
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
16389
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
16390
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
16391
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16392
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
16393
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
16394
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16395
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16396
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16397
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
16398
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
16399
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
16400
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
16401
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
16402
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
16403
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"`'
16404
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"`'
16405
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
16406
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
16407
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
16408
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
16409
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
16410
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
16411
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
16412
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
16413
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
16414
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
16415
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
16416
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
16417
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
16418
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
16419
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
16420
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
16421
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16422
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16423
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
16424
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
16425
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16426
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16427
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
16428
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16429
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16430
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16431
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16432
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16433
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16434
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
16435
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16436
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
16437
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
16438
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
16439
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
16440
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
16441
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
16442
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
16443
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16444
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
16445
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
16446
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
16447
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
16448
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
16449
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16450
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16451
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
16452
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16453
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
16454
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
16455
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
16456
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
16457
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
16458
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16459
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
16460
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
16461
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16462
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
16463
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
16464
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16465
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16466
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
16467
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
16468
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
16469
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16470
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
16471
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
16472
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
16473
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
16474
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
16475
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
16476
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
16477
compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
16478
predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16479
postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
16480
predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
16481
postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
16482
compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
16483
LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16484
old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16485
compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16486
GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16487
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16488
lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16489
lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16490
lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16491
lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16492
archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16493
enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16494
export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16495
whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16496
compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16497
old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16498
old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16499
archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16500
archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16501
module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16502
module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16503
with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16504
allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16505
no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16506
hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16507
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16508
hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16509
hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16510
hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16511
hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16512
hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16513
hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16514
inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16515
link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16516
fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16517
always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16518
export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16519
exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16520
include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16521
prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16522
file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16523
hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16524
compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16525
predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16526
postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16527
predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16528
postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16529
compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
16532
LTCFLAGS='$LTCFLAGS'
16533
compiler='$compiler_DEFAULT'
16535
# Quote evaled strings.
16546
deplibs_check_method \
16555
lt_cv_sys_global_symbol_pipe \
16556
lt_cv_sys_global_symbol_to_cdecl \
16557
lt_cv_sys_global_symbol_to_c_name_address \
16558
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16561
lt_prog_compiler_no_builtin_flag \
16562
lt_prog_compiler_wl \
16563
lt_prog_compiler_pic \
16564
lt_prog_compiler_static \
16565
lt_cv_prog_compiler_c_o \
16573
export_dynamic_flag_spec \
16574
whole_archive_flag_spec \
16575
compiler_needs_object \
16577
allow_undefined_flag \
16578
no_undefined_flag \
16579
hardcode_libdir_flag_spec \
16580
hardcode_libdir_flag_spec_ld \
16581
hardcode_libdir_separator \
16586
variables_saved_for_relink \
16588
library_names_spec \
16593
compiler_lib_search_dirs \
16598
compiler_lib_search_path \
16601
lt_prog_compiler_no_builtin_flag_CXX \
16602
lt_prog_compiler_wl_CXX \
16603
lt_prog_compiler_pic_CXX \
16604
lt_prog_compiler_static_CXX \
16605
lt_cv_prog_compiler_c_o_CXX \
16606
export_dynamic_flag_spec_CXX \
16607
whole_archive_flag_spec_CXX \
16608
compiler_needs_object_CXX \
16610
allow_undefined_flag_CXX \
16611
no_undefined_flag_CXX \
16612
hardcode_libdir_flag_spec_CXX \
16613
hardcode_libdir_flag_spec_ld_CXX \
16614
hardcode_libdir_separator_CXX \
16615
fix_srcfile_path_CXX \
16616
exclude_expsyms_CXX \
16617
include_expsyms_CXX \
16618
file_list_spec_CXX \
16619
compiler_lib_search_dirs_CXX \
16620
predep_objects_CXX \
16621
postdep_objects_CXX \
16624
compiler_lib_search_path_CXX; do
16625
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16626
*[\\\\\\\`\\"\\\$]*)
16627
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16630
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16635
# Double-quote double-evaled strings.
16636
for var in reload_cmds \
16637
old_postinstall_cmds \
16638
old_postuninstall_cmds \
16640
extract_expsyms_cmds \
16641
old_archive_from_new_cmds \
16642
old_archive_from_expsyms_cmds \
16644
archive_expsym_cmds \
16646
module_expsym_cmds \
16647
export_symbols_cmds \
16650
postuninstall_cmds \
16652
sys_lib_search_path_spec \
16653
sys_lib_dlsearch_path_spec \
16654
old_archive_cmds_CXX \
16655
old_archive_from_new_cmds_CXX \
16656
old_archive_from_expsyms_cmds_CXX \
16658
archive_expsym_cmds_CXX \
16660
module_expsym_cmds_CXX \
16661
export_symbols_cmds_CXX \
16662
prelink_cmds_CXX; do
16663
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
16664
*[\\\\\\\`\\"\\\$]*)
16665
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16668
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16673
# Fix-up fallback echo if it was mangled by the above quoting rules.
16675
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
16679
ac_aux_dir='$ac_aux_dir'
16680
xsi_shell='$xsi_shell'
16681
lt_shell_append='$lt_shell_append'
16683
# See if we are running on zsh, and set the options which allow our
16684
# commands through without removal of \ escapes INIT.
16685
if test -n "\${ZSH_VERSION+set}" ; then
16686
setopt NO_GLOB_SUBST
16692
TIMESTAMP='$TIMESTAMP'
16703
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16705
# Handling of arguments.
16706
for ac_config_target in $ac_config_targets
16708
case $ac_config_target in
16709
"build/config.h") CONFIG_HEADERS="$CONFIG_HEADERS build/config.h" ;;
16710
"atk/atkmmconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS atk/atkmmconfig.h" ;;
16711
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16712
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16713
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16714
"codegen/Makefile") CONFIG_FILES="$CONFIG_FILES codegen/Makefile" ;;
16715
"atk/${ATKMM_MODULE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES atk/${ATKMM_MODULE_NAME}.pc:atk/atkmm.pc.in" ;;
16716
"atk/${ATKMM_MODULE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES atk/${ATKMM_MODULE_NAME}-uninstalled.pc:atk/atkmm-uninstalled.pc.in" ;;
16717
"atk/src/Makefile") CONFIG_FILES="$CONFIG_FILES atk/src/Makefile" ;;
16718
"atk/atkmm/Makefile") CONFIG_FILES="$CONFIG_FILES atk/atkmm/Makefile" ;;
16719
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16720
"doc/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/reference/Doxyfile" ;;
16721
"MSVC_Net2005/atkmm/atkmm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2005/atkmm/atkmm.rc" ;;
16722
"MSVC_Net2008/atkmm/atkmm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2008/atkmm/atkmm.rc" ;;
16723
"MSVC_Net2010/atkmm/atkmm.rc") CONFIG_FILES="$CONFIG_FILES MSVC_Net2010/atkmm/atkmm.rc" ;;
16724
"MSVC_Net2005/atkmm/atkmmconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2005/atkmm/atkmmconfig.h" ;;
16725
"MSVC_Net2008/atkmm/atkmmconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2008/atkmm/atkmmconfig.h" ;;
16726
"MSVC_Net2010/atkmm/atkmmconfig.h") CONFIG_COMMANDS="$CONFIG_COMMANDS MSVC_Net2010/atkmm/atkmmconfig.h" ;;
16728
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
16733
# If the user did not use the arguments to specify the items to instantiate,
16734
# then the envvar interface is used. Set only those that are not.
16735
# We use the long form for the default assignment because of an extremely
16736
# bizarre bug on SunOS 4.1.3.
16737
if $ac_need_defaults; then
16738
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16739
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16740
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16743
# Have a temporary directory for convenience. Make it in the build tree
16744
# simply because there is no reason against having it here, and in addition,
16745
# creating and moving files from /tmp can sometimes cause problems.
16746
# Hook for its removal unless debugging.
16747
# Note that there is a small window in which the directory will not be cleaned:
16748
# after its creation but before its name has been assigned to `$tmp'.
16752
trap 'exit_status=$?
16753
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16755
trap 'as_fn_exit 1' 1 2 13 15
16757
# Create a (secure) tmp directory for tmp files.
16760
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16761
test -n "$tmp" && test -d "$tmp"
16764
tmp=./conf$$-$RANDOM
16765
(umask 077 && mkdir "$tmp")
16766
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16768
# Set up the scripts for CONFIG_FILES section.
16769
# No need to generate them if there are no CONFIG_FILES.
16770
# This happens for instance with `./config.status config.h'.
16771
if test -n "$CONFIG_FILES"; then
16774
ac_cr=`echo X | tr X '\015'`
16775
# On cygwin, bash can eat \r inside `` if the user requested igncr.
16776
# But we know of no other shell where ac_cr would be empty at this
16777
# point, so we can use a bashism as a fallback.
16778
if test "x$ac_cr" = x; then
16779
eval ac_cr=\$\'\\r\'
16781
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16782
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16785
ac_cs_awk_cr=$ac_cr
16788
echo 'BEGIN {' >"$tmp/subs1.awk" &&
16793
echo "cat >conf$$subs.awk <<_ACEOF" &&
16794
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16796
} >conf$$subs.sh ||
16797
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16798
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16800
for ac_last_try in false false false false false :; do
16801
. ./conf$$subs.sh ||
16802
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16804
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16805
if test $ac_delim_n = $ac_delim_num; then
16807
elif $ac_last_try; then
16808
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16810
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16813
rm -f conf$$subs.sh
16815
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16816
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
16820
s/^/S["/; s/!.*/"]=/
16830
s/\(.\{148\}\)..*/\1/
16832
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16837
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16844
s/\(.\{148\}\)..*/\1/
16846
s/["\\]/\\&/g; s/^/"/; s/$/"/
16850
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16855
' <conf$$subs.awk | sed '
16860
' >>$CONFIG_STATUS || ac_write_fail=1
16861
rm -f conf$$subs.awk
16862
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16864
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
16865
for (key in S) S_is_set[key] = 1
16871
nfields = split(line, field, "@")
16873
len = length(field[1])
16874
for (i = 2; i < nfields; i++) {
16876
keylen = length(key)
16877
if (S_is_set[key]) {
16879
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16880
len += length(value) + length(field[++i])
16891
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16892
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16893
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16896
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
16897
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16900
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16901
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16902
# trailing colons and then remove the whole line if VPATH becomes empty
16903
# (actually we leave an empty line to preserve line numbers).
16904
if test "x$srcdir" = x.; then
16905
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16923
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16924
fi # test -n "$CONFIG_FILES"
16926
# Set up the scripts for CONFIG_HEADERS section.
16927
# No need to generate them if there are no CONFIG_HEADERS.
16928
# This happens for instance with `./config.status Makefile'.
16929
if test -n "$CONFIG_HEADERS"; then
16930
cat >"$tmp/defines.awk" <<\_ACAWK ||
16934
# Transform confdefs.h into an awk script `defines.awk', embedded as
16935
# here-document in config.status, that substitutes the proper values into
16936
# config.h.in to produce config.h.
16938
# Create a delimiter string that does not exist in confdefs.h, to ease
16939
# handling of long lines.
16941
for ac_last_try in false false :; do
16942
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
16943
if test -z "$ac_t"; then
16945
elif $ac_last_try; then
16946
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16948
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16952
# For the awk script, D is an array of macro values keyed by name,
16953
# likewise P contains macro parameters if any. Preserve backslash
16954
# newline sequences.
16956
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16958
s/.\{148\}/&'"$ac_delim"'/g
16961
s/^[ ]*#[ ]*define[ ][ ]*/ /
16968
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16970
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16974
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16975
D["\1"]=" \3\\\\\\n"\\/p
16977
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16982
s/.\{148\}/&'"$ac_delim"'/g
16987
s/["\\]/\\&/g; s/^/"/; s/$/"/p
16990
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16992
' <confdefs.h | sed '
16993
s/'"$ac_delim"'/"\\\
16994
"/g' >>$CONFIG_STATUS || ac_write_fail=1
16996
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16997
for (key in D) D_is_set[key] = 1
17000
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17002
split(line, arg, " ")
17003
if (arg[1] == "#") {
17007
defundef = substr(arg[1], 2)
17010
split(mac1, mac2, "(") #)
17012
prefix = substr(line, 1, index(line, defundef) - 1)
17013
if (D_is_set[macro]) {
17014
# Preserve the white space surrounding the "#".
17015
print prefix "define", macro P[macro] D[macro]
17018
# Replace #undef with comments. This is necessary, for example,
17019
# in the case of _POSIX_SOURCE, which is predefined and required
17020
# on some systems where configure will not decide to define it.
17021
if (defundef == "undef") {
17022
print "/*", prefix defundef, macro, "*/"
17030
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17031
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17032
fi # test -n "$CONFIG_HEADERS"
17035
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17040
:[FHLC]) ac_mode=$ac_tag; continue;;
17042
case $ac_mode$ac_tag in
17044
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
17045
:[FH]-) ac_tag=-:-;;
17046
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17063
-) ac_f="$tmp/stdin";;
17064
*) # Look for the file first in the build tree, then in the source tree
17065
# (if the path is not absolute). The absolute path cannot be DOS-style,
17066
# because $ac_f cannot contain `:'.
17070
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17072
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
17074
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17075
as_fn_append ac_file_inputs " '$ac_f'"
17078
# Let's still pretend it is `configure' which instantiates (i.e., don't
17079
# use $as_me), people would be surprised to read:
17080
# /* config.h. Generated by config.status. */
17081
configure_input='Generated from '`
17082
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17084
if test x"$ac_file" != x-; then
17085
configure_input="$ac_file. $configure_input"
17086
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17087
$as_echo "$as_me: creating $ac_file" >&6;}
17089
# Neutralize special characters interpreted by sed in replacement strings.
17090
case $configure_input in #(
17091
*\&* | *\|* | *\\* )
17092
ac_sed_conf_input=`$as_echo "$configure_input" |
17093
sed 's/[\\\\&|]/\\\\&/g'`;; #(
17094
*) ac_sed_conf_input=$configure_input;;
17098
*:-:* | *:-) cat >"$tmp/stdin" \
17099
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17104
ac_dir=`$as_dirname -- "$ac_file" ||
17105
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17106
X"$ac_file" : 'X\(//\)[^/]' \| \
17107
X"$ac_file" : 'X\(//\)$' \| \
17108
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17109
$as_echo X"$ac_file" |
17110
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17114
/^X\(\/\/\)[^/].*/{
17127
as_dir="$ac_dir"; as_fn_mkdir_p
17131
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17133
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17134
# A ".." for each directory in $ac_dir_suffix.
17135
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17136
case $ac_top_builddir_sub in
17137
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17138
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17141
ac_abs_top_builddir=$ac_pwd
17142
ac_abs_builddir=$ac_pwd$ac_dir_suffix
17143
# for backward compatibility:
17144
ac_top_builddir=$ac_top_build_prefix
17147
.) # We are building in place.
17149
ac_top_srcdir=$ac_top_builddir_sub
17150
ac_abs_top_srcdir=$ac_pwd ;;
17151
[\\/]* | ?:[\\/]* ) # Absolute name.
17152
ac_srcdir=$srcdir$ac_dir_suffix;
17153
ac_top_srcdir=$srcdir
17154
ac_abs_top_srcdir=$srcdir ;;
17155
*) # Relative name.
17156
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17157
ac_top_srcdir=$ac_top_build_prefix$srcdir
17158
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17160
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17170
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17171
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17173
ac_MKDIR_P=$MKDIR_P
17175
[\\/$]* | ?:[\\/]* ) ;;
17176
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17180
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17181
# If the template does not know about datarootdir, expand it.
17182
# FIXME: This hack should be removed a few years after 2.60.
17183
ac_datarootdir_hack=; ac_datarootdir_seen=
17194
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17195
*datarootdir*) ac_datarootdir_seen=yes;;
17196
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17197
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17198
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17200
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17201
ac_datarootdir_hack='
17202
s&@datadir@&$datadir&g
17203
s&@docdir@&$docdir&g
17204
s&@infodir@&$infodir&g
17205
s&@localedir@&$localedir&g
17206
s&@mandir@&$mandir&g
17207
s&\\\${datarootdir}&$datarootdir&g' ;;
17211
# Neutralize VPATH when `$srcdir' = `.'.
17212
# Shell code in configure.ac might set extrasub.
17213
# FIXME: do we really want to maintain this feature?
17214
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17215
ac_sed_extra="$ac_vpsub
17218
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17220
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17221
s|@configure_input@|$ac_sed_conf_input|;t t
17222
s&@top_builddir@&$ac_top_builddir_sub&;t t
17223
s&@top_build_prefix@&$ac_top_build_prefix&;t t
17224
s&@srcdir@&$ac_srcdir&;t t
17225
s&@abs_srcdir@&$ac_abs_srcdir&;t t
17226
s&@top_srcdir@&$ac_top_srcdir&;t t
17227
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17228
s&@builddir@&$ac_builddir&;t t
17229
s&@abs_builddir@&$ac_abs_builddir&;t t
17230
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17231
s&@INSTALL@&$ac_INSTALL&;t t
17232
s&@MKDIR_P@&$ac_MKDIR_P&;t t
17233
$ac_datarootdir_hack
17235
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
17236
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17238
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17239
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
17240
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
17241
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17242
which seems to be undefined. Please make sure it is defined" >&5
17243
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17244
which seems to be undefined. Please make sure it is defined" >&2;}
17248
-) cat "$tmp/out" && rm -f "$tmp/out";;
17249
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
17251
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17257
if test x"$ac_file" != x-; then
17259
$as_echo "/* $configure_input */" \
17260
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
17261
} >"$tmp/config.h" \
17262
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17263
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
17264
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17265
$as_echo "$as_me: $ac_file is unchanged" >&6;}
17268
mv "$tmp/config.h" "$ac_file" \
17269
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17272
$as_echo "/* $configure_input */" \
17273
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
17274
|| as_fn_error $? "could not create -" "$LINENO" 5
17276
# Compute "$ac_file"'s index in $config_headers.
17279
for _am_header in $config_headers :; do
17280
case $_am_header in
17281
$_am_arg | $_am_arg:* )
17284
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
17287
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17288
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17289
X"$_am_arg" : 'X\(//\)[^/]' \| \
17290
X"$_am_arg" : 'X\(//\)$' \| \
17291
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17292
$as_echo X"$_am_arg" |
17293
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17297
/^X\(\/\/\)[^/].*/{
17309
s/.*/./; q'`/stamp-h$_am_stamp_count
17312
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17313
$as_echo "$as_me: executing $ac_file commands" >&6;}
17318
case $ac_file$ac_mode in
17319
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17320
# Autoconf 2.62 quotes --file arguments for eval, but not when files
17321
# are listed without --file. Let's play safe and only enable the eval
17322
# if we detect the quoting.
17323
case $CONFIG_FILES in
17324
*\'*) eval set x "$CONFIG_FILES" ;;
17325
*) set x $CONFIG_FILES ;;
17330
# Strip MF so we end up with the name of the file.
17331
mf=`echo "$mf" | sed -e 's/:.*$//'`
17332
# Check whether this is an Automake generated Makefile or not.
17333
# We used to match only the files named `Makefile.in', but
17334
# some people rename them; so instead we look at the file content.
17335
# Grep'ing the first line is not enough: some people post-process
17336
# each Makefile.in and add a new line on top of each file to say so.
17337
# Grep'ing the whole file is not good either: AIX grep has a line
17338
# limit of 2048, but all sed's we know have understand at least 4000.
17339
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17340
dirpart=`$as_dirname -- "$mf" ||
17341
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17342
X"$mf" : 'X\(//\)[^/]' \| \
17343
X"$mf" : 'X\(//\)$' \| \
17344
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17346
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17350
/^X\(\/\/\)[^/].*/{
17366
# Extract the definition of DEPDIR, am__include, and am__quote
17367
# from the Makefile without running `make'.
17368
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17369
test -z "$DEPDIR" && continue
17370
am__include=`sed -n 's/^am__include = //p' < "$mf"`
17371
test -z "am__include" && continue
17372
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17373
# When using ansi2knr, U may be empty or an underscore; expand it
17374
U=`sed -n 's/^U = //p' < "$mf"`
17375
# Find all dependency output files, they are included files with
17376
# $(DEPDIR) in their names. We invoke sed twice because it is the
17377
# simplest approach to changing $(DEPDIR) to its actual value in the
17379
for file in `sed -n "
17380
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17381
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17382
# Make sure the directory exists.
17383
test -f "$dirpart/$file" && continue
17384
fdir=`$as_dirname -- "$file" ||
17385
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17386
X"$file" : 'X\(//\)[^/]' \| \
17387
X"$file" : 'X\(//\)$' \| \
17388
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17389
$as_echo X"$file" |
17390
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17394
/^X\(\/\/\)[^/].*/{
17407
as_dir=$dirpart/$fdir; as_fn_mkdir_p
17408
# echo "creating $dirpart/$file"
17409
echo '# dummy' > "$dirpart/$file"
17416
# See if we are running on zsh, and set the options which allow our
17417
# commands through without removal of \ escapes.
17418
if test -n "${ZSH_VERSION+set}" ; then
17419
setopt NO_GLOB_SUBST
17422
cfgfile="${ofile}T"
17423
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17426
cat <<_LT_EOF >> "$cfgfile"
17429
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17430
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17431
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17432
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17434
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17435
# 2006, 2007, 2008 Free Software Foundation, Inc.
17436
# Written by Gordon Matzigkeit, 1996
17438
# This file is part of GNU Libtool.
17440
# GNU Libtool is free software; you can redistribute it and/or
17441
# modify it under the terms of the GNU General Public License as
17442
# published by the Free Software Foundation; either version 2 of
17443
# the License, or (at your option) any later version.
17445
# As a special exception to the GNU General Public License,
17446
# if you distribute this file as part of a program or library that
17447
# is built using GNU Libtool, you may include this file under the
17448
# same distribution terms that you use for the rest of that program.
17450
# GNU Libtool is distributed in the hope that it will be useful,
17451
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17452
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17453
# GNU General Public License for more details.
17455
# You should have received a copy of the GNU General Public License
17456
# along with GNU Libtool; see the file COPYING. If not, a copy
17457
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17458
# obtained by writing to the Free Software Foundation, Inc.,
17459
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17462
# The names of the tagged configurations supported by this script.
17463
available_tags="CXX "
17465
# ### BEGIN LIBTOOL CONFIG
17467
# Whether or not to build static libraries.
17468
build_old_libs=$enable_static
17470
# Assembler program.
17473
# DLL creation program.
17476
# Object dumper program.
17479
# Which release of libtool.m4 was used?
17480
macro_version=$macro_version
17481
macro_revision=$macro_revision
17483
# Whether or not to build shared libraries.
17484
build_libtool_libs=$enable_shared
17486
# What type of objects to build.
17489
# Whether or not to optimize for fast installation.
17490
fast_install=$enable_fast_install
17493
host_alias=$host_alias
17497
# The build system.
17498
build_alias=$build_alias
17502
# A sed program that does not truncate output.
17505
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17506
Xsed="\$SED -e 1s/^X//"
17508
# A grep program that handles long lines.
17514
# A literal string matcher.
17517
# A BSD- or MS-compatible name lister.
17520
# Whether we need soft or hard links.
17523
# What is the maximum length of a command?
17524
max_cmd_len=$max_cmd_len
17526
# Object file suffix (normally "o").
17529
# Executable file suffix (normally "").
17532
# whether the shell understands "unset".
17535
# turn spaces into newlines.
17538
# turn newlines into spaces.
17541
# How to create reloadable object files.
17542
reload_flag=$lt_reload_flag
17543
reload_cmds=$lt_reload_cmds
17545
# Method to check whether dependent libraries are shared objects.
17546
deplibs_check_method=$lt_deplibs_check_method
17548
# Command to use when deplibs_check_method == "file_magic".
17549
file_magic_cmd=$lt_file_magic_cmd
17553
AR_FLAGS=$lt_AR_FLAGS
17555
# A symbol stripping program.
17558
# Commands used to install an old-style archive.
17560
old_postinstall_cmds=$lt_old_postinstall_cmds
17561
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17566
# LTCC compiler flags.
17567
LTCFLAGS=$lt_CFLAGS
17569
# Take the output of nm and produce a listing of raw symbols and C names.
17570
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17572
# Transform the output of nm in a proper C declaration.
17573
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17575
# Transform the output of nm in a C name address pair.
17576
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17578
# Transform the output of nm in a C name address pair when lib prefix is needed.
17579
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17581
# The name of the directory that contains temporary libtool files.
17584
# Shell to use when invoking shell scripts.
17587
# An echo program that does not interpret backslashes.
17590
# Used to examine libraries when file_magic_cmd begins with "file".
17591
MAGIC_CMD=$MAGIC_CMD
17593
# Must we lock files when doing compilation?
17594
need_locks=$lt_need_locks
17596
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17597
DSYMUTIL=$lt_DSYMUTIL
17599
# Tool to change global to local symbols on Mac OS X.
17602
# Tool to manipulate fat objects and archives on Mac OS X.
17605
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17608
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17609
OTOOL64=$lt_OTOOL64
17611
# Old archive suffix (normally "a").
17614
# Shared library suffix (normally ".so").
17615
shrext_cmds=$lt_shrext_cmds
17617
# The commands to extract the exported symbol list from a shared archive.
17618
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17620
# Variables whose values should be saved in libtool wrapper scripts and
17621
# restored at link time.
17622
variables_saved_for_relink=$lt_variables_saved_for_relink
17624
# Do we need the "lib" prefix for modules?
17625
need_lib_prefix=$need_lib_prefix
17627
# Do we need a version for libraries?
17628
need_version=$need_version
17630
# Library versioning type.
17631
version_type=$version_type
17633
# Shared library runtime path variable.
17634
runpath_var=$runpath_var
17636
# Shared library path variable.
17637
shlibpath_var=$shlibpath_var
17639
# Is shlibpath searched before the hard-coded library search path?
17640
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17642
# Format of library name prefix.
17643
libname_spec=$lt_libname_spec
17645
# List of archive names. First name is the real one, the rest are links.
17646
# The last name is the one that the linker finds with -lNAME
17647
library_names_spec=$lt_library_names_spec
17649
# The coded name of the library, if different from the real name.
17650
soname_spec=$lt_soname_spec
17652
# Command to use after installation of a shared archive.
17653
postinstall_cmds=$lt_postinstall_cmds
17655
# Command to use after uninstallation of a shared archive.
17656
postuninstall_cmds=$lt_postuninstall_cmds
17658
# Commands used to finish a libtool library installation in a directory.
17659
finish_cmds=$lt_finish_cmds
17661
# As "finish_cmds", except a single script fragment to be evaled but
17663
finish_eval=$lt_finish_eval
17665
# Whether we should hardcode library paths into libraries.
17666
hardcode_into_libs=$hardcode_into_libs
17668
# Compile-time system search path for libraries.
17669
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17671
# Run-time system search path for libraries.
17672
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17674
# Whether dlopen is supported.
17675
dlopen_support=$enable_dlopen
17677
# Whether dlopen of programs is supported.
17678
dlopen_self=$enable_dlopen_self
17680
# Whether dlopen of statically linked programs is supported.
17681
dlopen_self_static=$enable_dlopen_self_static
17683
# Commands to strip libraries.
17684
old_striplib=$lt_old_striplib
17685
striplib=$lt_striplib
17688
# The linker used to build libraries.
17691
# Commands used to build an old-style archive.
17692
old_archive_cmds=$lt_old_archive_cmds
17694
# A language specific compiler.
17697
# Is the compiler the GNU compiler?
17700
# Compiler flag to turn off builtin functions.
17701
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17703
# How to pass a linker flag through the compiler.
17704
wl=$lt_lt_prog_compiler_wl
17706
# Additional compiler flags for building library objects.
17707
pic_flag=$lt_lt_prog_compiler_pic
17709
# Compiler flag to prevent dynamic linking.
17710
link_static_flag=$lt_lt_prog_compiler_static
17712
# Does compiler simultaneously support -c and -o options?
17713
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17715
# Whether or not to add -lc for building shared libraries.
17716
build_libtool_need_lc=$archive_cmds_need_lc
17718
# Whether or not to disallow shared libs when runtime libs are static.
17719
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17721
# Compiler flag to allow reflexive dlopens.
17722
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17724
# Compiler flag to generate shared objects directly from archives.
17725
whole_archive_flag_spec=$lt_whole_archive_flag_spec
17727
# Whether the compiler copes with passing no objects directly.
17728
compiler_needs_object=$lt_compiler_needs_object
17730
# Create an old-style archive from a shared archive.
17731
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17733
# Create a temporary old-style archive to link instead of a shared archive.
17734
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17736
# Commands used to build a shared archive.
17737
archive_cmds=$lt_archive_cmds
17738
archive_expsym_cmds=$lt_archive_expsym_cmds
17740
# Commands used to build a loadable module if different from building
17741
# a shared archive.
17742
module_cmds=$lt_module_cmds
17743
module_expsym_cmds=$lt_module_expsym_cmds
17745
# Whether we are building with GNU ld or not.
17746
with_gnu_ld=$lt_with_gnu_ld
17748
# Flag that allows shared libraries with undefined symbols to be built.
17749
allow_undefined_flag=$lt_allow_undefined_flag
17751
# Flag that enforces no undefined symbols.
17752
no_undefined_flag=$lt_no_undefined_flag
17754
# Flag to hardcode \$libdir into a binary during linking.
17755
# This must work even if \$libdir does not exist
17756
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17758
# If ld is used when linking, flag to hardcode \$libdir into a binary
17759
# during linking. This must work even if \$libdir does not exist.
17760
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17762
# Whether we need a single "-rpath" flag with a separated argument.
17763
hardcode_libdir_separator=$lt_hardcode_libdir_separator
17765
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17766
# DIR into the resulting binary.
17767
hardcode_direct=$hardcode_direct
17769
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17770
# DIR into the resulting binary and the resulting library dependency is
17771
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17772
# library is relocated.
17773
hardcode_direct_absolute=$hardcode_direct_absolute
17775
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17776
# into the resulting binary.
17777
hardcode_minus_L=$hardcode_minus_L
17779
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17780
# into the resulting binary.
17781
hardcode_shlibpath_var=$hardcode_shlibpath_var
17783
# Set to "yes" if building a shared library automatically hardcodes DIR
17784
# into the library and all subsequent libraries and executables linked
17786
hardcode_automatic=$hardcode_automatic
17788
# Set to yes if linker adds runtime paths of dependent libraries
17789
# to runtime path list.
17790
inherit_rpath=$inherit_rpath
17792
# Whether libtool must link a program against all its dependency libraries.
17793
link_all_deplibs=$link_all_deplibs
17795
# Fix the shell variable \$srcfile for the compiler.
17796
fix_srcfile_path=$lt_fix_srcfile_path
17798
# Set to "yes" if exported symbols are required.
17799
always_export_symbols=$always_export_symbols
17801
# The commands to list exported symbols.
17802
export_symbols_cmds=$lt_export_symbols_cmds
17804
# Symbols that should not be listed in the preloaded symbols.
17805
exclude_expsyms=$lt_exclude_expsyms
17807
# Symbols that must always be exported.
17808
include_expsyms=$lt_include_expsyms
17810
# Commands necessary for linking programs (against libraries) with templates.
17811
prelink_cmds=$lt_prelink_cmds
17813
# Specify filename containing input files.
17814
file_list_spec=$lt_file_list_spec
17816
# How to hardcode a shared library path into an executable.
17817
hardcode_action=$hardcode_action
17819
# The directories searched by this compiler when creating a shared library.
17820
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17822
# Dependencies to place before and after the objects being linked to
17823
# create a shared library.
17824
predep_objects=$lt_predep_objects
17825
postdep_objects=$lt_postdep_objects
17826
predeps=$lt_predeps
17827
postdeps=$lt_postdeps
17829
# The library search path used internally by the compiler when linking
17830
# a shared library.
17831
compiler_lib_search_path=$lt_compiler_lib_search_path
17833
# ### END LIBTOOL CONFIG
17839
cat <<\_LT_EOF >> "$cfgfile"
17840
# AIX sometimes has problems with the GCC collect2 program. For some
17841
# reason, if we set the COLLECT_NAMES environment variable, the problems
17842
# vanish in a puff of smoke.
17843
if test "X${COLLECT_NAMES+set}" != Xset; then
17845
export COLLECT_NAMES
17852
ltmain="$ac_aux_dir/ltmain.sh"
17855
# We use sed instead of cat because bash on DJGPP gets confused if
17856
# if finds mixed CR/LF and LF-only lines. Since sed operates in
17857
# text mode, it properly converts lines to CR/LF. This bash problem
17858
# is reportedly fixed, but why not run on old versions too?
17859
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
17860
|| (rm -f "$cfgfile"; exit 1)
17864
cat << \_LT_EOF >> "$cfgfile"
17866
# func_dirname file append nondir_replacement
17867
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
17868
# otherwise set result to NONDIR_REPLACEMENT.
17872
*/*) func_dirname_result="${1%/*}${2}" ;;
17873
* ) func_dirname_result="${3}" ;;
17877
# func_basename file
17880
func_basename_result="${1##*/}"
17883
# func_dirname_and_basename file append nondir_replacement
17884
# perform func_basename and func_dirname in a single function
17886
# dirname: Compute the dirname of FILE. If nonempty,
17887
# add APPEND to the result, otherwise set result
17888
# to NONDIR_REPLACEMENT.
17889
# value returned in "$func_dirname_result"
17890
# basename: Compute filename of FILE.
17891
# value retuned in "$func_basename_result"
17892
# Implementation must be kept synchronized with func_dirname
17893
# and func_basename. For efficiency, we do not delegate to
17894
# those functions but instead duplicate the functionality here.
17895
func_dirname_and_basename ()
17898
*/*) func_dirname_result="${1%/*}${2}" ;;
17899
* ) func_dirname_result="${3}" ;;
17901
func_basename_result="${1##*/}"
17904
# func_stripname prefix suffix name
17905
# strip PREFIX and SUFFIX off of NAME.
17906
# PREFIX and SUFFIX must not contain globbing or regex special
17907
# characters, hashes, percent signs, but SUFFIX may contain a leading
17908
# dot (in which case that matches only a dot).
17911
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
17912
# positional parameters, so assign one to ordinary parameter first.
17913
func_stripname_result=${3}
17914
func_stripname_result=${func_stripname_result#"${1}"}
17915
func_stripname_result=${func_stripname_result%"${2}"}
17921
func_opt_split_opt=${1%%=*}
17922
func_opt_split_arg=${1#*=}
17929
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
17930
*) func_lo2o_result=${1} ;;
17934
# func_xform libobj-or-source
17937
func_xform_result=${1%.*}.lo
17940
# func_arith arithmetic-term...
17943
func_arith_result=$(( $* ))
17947
# STRING may not start with a hyphen.
17950
func_len_result=${#1}
17955
*) # Bourne compatible functions.
17956
cat << \_LT_EOF >> "$cfgfile"
17958
# func_dirname file append nondir_replacement
17959
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
17960
# otherwise set result to NONDIR_REPLACEMENT.
17963
# Extract subdirectory from the argument.
17964
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
17965
if test "X$func_dirname_result" = "X${1}"; then
17966
func_dirname_result="${3}"
17968
func_dirname_result="$func_dirname_result${2}"
17972
# func_basename file
17975
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
17979
# func_stripname prefix suffix name
17980
# strip PREFIX and SUFFIX off of NAME.
17981
# PREFIX and SUFFIX must not contain globbing or regex special
17982
# characters, hashes, percent signs, but SUFFIX may contain a leading
17983
# dot (in which case that matches only a dot).
17984
# func_strip_suffix prefix name
17988
.*) func_stripname_result=`$ECHO "X${3}" \
17989
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
17990
*) func_stripname_result=`$ECHO "X${3}" \
17991
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
17996
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
17997
my_sed_long_arg='1s/^-[^=]*=//'
18002
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
18003
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
18009
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
18012
# func_xform libobj-or-source
18015
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
18018
# func_arith arithmetic-term...
18021
func_arith_result=`expr "$@"`
18025
# STRING may not start with a hyphen.
18028
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
18034
case $lt_shell_append in
18036
cat << \_LT_EOF >> "$cfgfile"
18038
# func_append var value
18039
# Append VALUE to the end of shell variable VAR.
18047
cat << \_LT_EOF >> "$cfgfile"
18049
# func_append var value
18050
# Append VALUE to the end of shell variable VAR.
18061
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
18062
|| (rm -f "$cfgfile"; exit 1)
18064
mv -f "$cfgfile" "$ofile" ||
18065
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18069
cat <<_LT_EOF >> "$ofile"
18071
# ### BEGIN LIBTOOL TAG CONFIG: CXX
18073
# The linker used to build libraries.
18076
# Commands used to build an old-style archive.
18077
old_archive_cmds=$lt_old_archive_cmds_CXX
18079
# A language specific compiler.
18080
CC=$lt_compiler_CXX
18082
# Is the compiler the GNU compiler?
18085
# Compiler flag to turn off builtin functions.
18086
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18088
# How to pass a linker flag through the compiler.
18089
wl=$lt_lt_prog_compiler_wl_CXX
18091
# Additional compiler flags for building library objects.
18092
pic_flag=$lt_lt_prog_compiler_pic_CXX
18094
# Compiler flag to prevent dynamic linking.
18095
link_static_flag=$lt_lt_prog_compiler_static_CXX
18097
# Does compiler simultaneously support -c and -o options?
18098
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18100
# Whether or not to add -lc for building shared libraries.
18101
build_libtool_need_lc=$archive_cmds_need_lc_CXX
18103
# Whether or not to disallow shared libs when runtime libs are static.
18104
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18106
# Compiler flag to allow reflexive dlopens.
18107
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18109
# Compiler flag to generate shared objects directly from archives.
18110
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18112
# Whether the compiler copes with passing no objects directly.
18113
compiler_needs_object=$lt_compiler_needs_object_CXX
18115
# Create an old-style archive from a shared archive.
18116
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18118
# Create a temporary old-style archive to link instead of a shared archive.
18119
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18121
# Commands used to build a shared archive.
18122
archive_cmds=$lt_archive_cmds_CXX
18123
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18125
# Commands used to build a loadable module if different from building
18126
# a shared archive.
18127
module_cmds=$lt_module_cmds_CXX
18128
module_expsym_cmds=$lt_module_expsym_cmds_CXX
18130
# Whether we are building with GNU ld or not.
18131
with_gnu_ld=$lt_with_gnu_ld_CXX
18133
# Flag that allows shared libraries with undefined symbols to be built.
18134
allow_undefined_flag=$lt_allow_undefined_flag_CXX
18136
# Flag that enforces no undefined symbols.
18137
no_undefined_flag=$lt_no_undefined_flag_CXX
18139
# Flag to hardcode \$libdir into a binary during linking.
18140
# This must work even if \$libdir does not exist
18141
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18143
# If ld is used when linking, flag to hardcode \$libdir into a binary
18144
# during linking. This must work even if \$libdir does not exist.
18145
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
18147
# Whether we need a single "-rpath" flag with a separated argument.
18148
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18150
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18151
# DIR into the resulting binary.
18152
hardcode_direct=$hardcode_direct_CXX
18154
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18155
# DIR into the resulting binary and the resulting library dependency is
18156
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18157
# library is relocated.
18158
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18160
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18161
# into the resulting binary.
18162
hardcode_minus_L=$hardcode_minus_L_CXX
18164
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18165
# into the resulting binary.
18166
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18168
# Set to "yes" if building a shared library automatically hardcodes DIR
18169
# into the library and all subsequent libraries and executables linked
18171
hardcode_automatic=$hardcode_automatic_CXX
18173
# Set to yes if linker adds runtime paths of dependent libraries
18174
# to runtime path list.
18175
inherit_rpath=$inherit_rpath_CXX
18177
# Whether libtool must link a program against all its dependency libraries.
18178
link_all_deplibs=$link_all_deplibs_CXX
18180
# Fix the shell variable \$srcfile for the compiler.
18181
fix_srcfile_path=$lt_fix_srcfile_path_CXX
18183
# Set to "yes" if exported symbols are required.
18184
always_export_symbols=$always_export_symbols_CXX
18186
# The commands to list exported symbols.
18187
export_symbols_cmds=$lt_export_symbols_cmds_CXX
18189
# Symbols that should not be listed in the preloaded symbols.
18190
exclude_expsyms=$lt_exclude_expsyms_CXX
18192
# Symbols that must always be exported.
18193
include_expsyms=$lt_include_expsyms_CXX
18195
# Commands necessary for linking programs (against libraries) with templates.
18196
prelink_cmds=$lt_prelink_cmds_CXX
18198
# Specify filename containing input files.
18199
file_list_spec=$lt_file_list_spec_CXX
18201
# How to hardcode a shared library path into an executable.
18202
hardcode_action=$hardcode_action_CXX
18204
# The directories searched by this compiler when creating a shared library.
18205
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18207
# Dependencies to place before and after the objects being linked to
18208
# create a shared library.
18209
predep_objects=$lt_predep_objects_CXX
18210
postdep_objects=$lt_postdep_objects_CXX
18211
predeps=$lt_predeps_CXX
18212
postdeps=$lt_postdeps_CXX
18214
# The library search path used internally by the compiler when linking
18215
# a shared library.
18216
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18218
# ### END LIBTOOL TAG CONFIG: CXX
18222
"MSVC_Net2005/atkmm/atkmmconfig.h":C) cp -f atk/atkmmconfig.h MSVC_Net2005/atkmm/atkmmconfig.h ;;
18223
"MSVC_Net2008/atkmm/atkmmconfig.h":C) cp -f atk/atkmmconfig.h MSVC_Net2008/atkmm/atkmmconfig.h ;;
18224
"MSVC_Net2010/atkmm/atkmmconfig.h":C) cp -f atk/atkmmconfig.h MSVC_Net2010/atkmm/atkmmconfig.h ;;
18232
ac_clean_files=$ac_clean_files_save
18234
test $ac_write_fail = 0 ||
18235
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18238
# configure is writing to config.log, and then calls config.status.
18239
# config.status does its own redirection, appending to config.log.
18240
# Unfortunately, on DOS this fails, as config.log is still kept open
18241
# by configure, so config.status won't be able to write to it; its
18242
# output is simply discarded. So we exec the FD to /dev/null,
18243
# effectively closing config.log, so it can be properly (re)opened and
18244
# appended to by config.status. When coming back to configure, we
18245
# need to make the FD available again.
18246
if test "$no_create" != yes; then
18248
ac_config_status_args=
18249
test "$silent" = yes &&
18250
ac_config_status_args="$ac_config_status_args --quiet"
18252
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18254
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
18255
# would make configure fail if this is the last instruction.
18256
$ac_cs_success || as_fn_exit 1
18258
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18259
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18260
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}