2
# From configure.ac Revision.
3
# Guess values for system-dependent variables and create Makefiles.
4
# Generated by GNU Autoconf 2.68 for sflphone 1.0.1.
6
# Report bugs to <sflphoneteam@savoirfairelinux.com>.
9
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
14
# This configure script is free software; the Free Software Foundation
15
# gives unlimited permission to copy, distribute and modify it.
17
# Copyright (c) Savoir-Faire Linux 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
18
## -------------------- ##
19
## M4sh Initialization. ##
20
## -------------------- ##
22
# Be more Bourne compatible
23
DUALCASE=1; export DUALCASE # for MKS sh
24
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
27
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
28
# is contrary to our usage. Disable this feature.
29
alias -g '${1+"$@"}'='"$@"'
32
case `(set -o) 2>/dev/null` in #(
44
# Printing a long string crashes Solaris 7 /usr/bin/printf.
45
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
48
# Prefer a ksh shell builtin over an external printf program on Solaris,
49
# but without wasting forks for bash or zsh.
50
if test -z "$BASH_VERSION$ZSH_VERSION" \
51
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
53
as_echo_n='print -rn --'
54
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
58
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
60
as_echo_n='/usr/ucb/echo -n'
62
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
67
expr "X$arg" : "X\\(.*\\)$as_nl";
68
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
70
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73
as_echo_n='sh -c $as_echo_n_body as_echo'
76
as_echo='sh -c $as_echo_body as_echo'
79
# The user is always right.
80
if test "${PATH_SEPARATOR+set}" != set; then
82
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
83
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
90
# We need space, tab and new line, in precisely that order. Quoting is
91
# there to prevent editors from complaining about space-tab.
92
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
93
# splitting by setting IFS to empty value.)
96
# Find who we are. Look in the path if we contain no directory separator.
99
*[\\/]* ) as_myself=$0 ;;
100
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
104
test -z "$as_dir" && as_dir=.
105
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
111
# We did not find ourselves, most probably we were run as `sh COMMAND'
112
# in which case we are not to be found in the path.
113
if test "x$as_myself" = x; then
116
if test ! -f "$as_myself"; then
117
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
121
# Unset variables that we do not need and which cause bugs (e.g. in
122
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
123
# suppresses any "Segmentation fault" message there. '((' could
124
# trigger a bug in pdksh 5.2.14.
125
for as_var in BASH_ENV ENV MAIL MAILPATH
126
do eval test x\${$as_var+set} = xset \
127
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
140
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
142
if test "x$CONFIG_SHELL" = x; then
143
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
146
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
147
# is contrary to our usage. Disable this feature.
148
alias -g '\${1+\"\$@\"}'='\"\$@\"'
151
case \`(set -o) 2>/dev/null\` in #(
159
as_required="as_fn_return () { (exit \$1); }
160
as_fn_success () { as_fn_return 0; }
161
as_fn_failure () { as_fn_return 1; }
162
as_fn_ret_success () { return 0; }
163
as_fn_ret_failure () { return 1; }
166
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
167
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
168
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
169
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
170
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
173
exitcode=1; echo positional parameters were not saved.
175
test x\$exitcode = x0 || exit 1"
176
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
177
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
178
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
179
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
181
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
182
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
183
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
184
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
185
PATH=/empty FPATH=/empty; export PATH FPATH
186
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
187
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
188
test \$(( 1 + 1 )) = 2 || exit 1"
189
if (eval "$as_required") 2>/dev/null; then :
194
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
197
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
199
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
202
test -z "$as_dir" && as_dir=.
206
for as_base in sh bash ksh sh5; do
207
# Try only shells that exist, to save several forks.
208
as_shell=$as_dir/$as_base
209
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
210
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
211
CONFIG_SHELL=$as_shell as_have_required=yes
212
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
220
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
221
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
222
CONFIG_SHELL=$SHELL as_have_required=yes
227
if test "x$CONFIG_SHELL" != x; then :
228
# We cannot yet assume a decent shell, so we have to provide a
229
# neutralization value for shells without unset; and this also
230
# works around shells that cannot unset nonexistent variables.
231
# Preserve -v and -x to the replacement shell.
234
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
237
*v*x* | *x*v* ) as_opts=-vx ;;
242
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
245
if test x$as_have_required = xno; then :
246
$as_echo "$0: This script requires a shell more modern than all"
247
$as_echo "$0: the shells that I found on your system."
248
if test x${ZSH_VERSION+set} = xset ; then
249
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
250
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
252
$as_echo "$0: Please tell bug-autoconf@gnu.org and
253
$0: sflphoneteam@savoirfairelinux.com about your system,
254
$0: including any error possibly output before this
255
$0: message. Then install a modern shell, or manually run
256
$0: the script under such a shell if you do have one."
262
SHELL=${CONFIG_SHELL-/bin/sh}
264
# Unset more variables known to interfere with behavior of common tools.
265
CLICOLOR_FORCE= GREP_OPTIONS=
266
unset CLICOLOR_FORCE GREP_OPTIONS
268
## --------------------- ##
269
## M4sh Shell Functions. ##
270
## --------------------- ##
273
# Portably unset VAR.
276
{ eval $1=; unset $1;}
280
# as_fn_set_status STATUS
281
# -----------------------
282
# Set $? to STATUS, without forking.
290
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
300
# Create "$as_dir" as a directory, including parents if necessary.
305
-*) as_dir=./$as_dir;;
307
test -d "$as_dir" || eval $as_mkdir_p || {
311
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
314
as_dirs="'$as_qdir' $as_dirs"
315
as_dir=`$as_dirname -- "$as_dir" ||
316
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
317
X"$as_dir" : 'X\(//\)[^/]' \| \
318
X"$as_dir" : 'X\(//\)$' \| \
319
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
320
$as_echo X"$as_dir" |
321
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
338
test -d "$as_dir" && break
340
test -z "$as_dirs" || eval "mkdir $as_dirs"
341
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
345
# as_fn_append VAR VALUE
346
# ----------------------
347
# Append the text in VALUE to the end of the definition contained in VAR. Take
348
# advantage of any shell optimizations that allow amortized linear growth over
349
# repeated appends, instead of the typical quadratic growth present in naive
351
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
352
eval 'as_fn_append ()
365
# Perform arithmetic evaluation on the ARGs, and store the result in the
366
# global $as_val. Take advantage of shells that can avoid forks. The arguments
367
# must be portable across $(()) and expr.
368
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
376
as_val=`expr "$@" || test $? -eq 1`
381
# as_fn_error STATUS ERROR [LINENO LOG_FD]
382
# ----------------------------------------
383
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
384
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
385
# script with STATUS, using 1 if that was 0.
388
as_status=$1; test $as_status -eq 0 && as_status=1
390
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
391
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
393
$as_echo "$as_me: error: $2" >&2
394
as_fn_exit $as_status
397
if expr a : '\(a\)' >/dev/null 2>&1 &&
398
test "X`expr 00001 : '.*\(...\)'`" = X001; then
404
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
410
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
416
as_me=`$as_basename -- "$0" ||
417
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
418
X"$0" : 'X\(//\)$' \| \
419
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
421
sed '/^.*\/\([^/][^/]*\)\/*$/{
435
# Avoid depending upon Character Ranges.
436
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
437
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
438
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
439
as_cr_digits='0123456789'
440
as_cr_alnum=$as_cr_Letters$as_cr_digits
443
as_lineno_1=$LINENO as_lineno_1a=$LINENO
444
as_lineno_2=$LINENO as_lineno_2a=$LINENO
445
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
446
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
447
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
459
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
463
chmod +x "$as_me.lineno" ||
464
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
466
# Don't try to exec as it changes $[0], causing all sort of problems
467
# (the dirname of $[0] is not the place where we might find the
468
# original and so on. Autoconf is especially sensitive to this).
470
# Exit status is that of the last command.
474
ECHO_C= ECHO_N= ECHO_T=
475
case `echo -n x` in #(((((
477
case `echo 'xy\c'` in
478
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
480
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
487
rm -f conf$$ conf$$.exe conf$$.file
488
if test -d conf$$.dir; then
489
rm -f conf$$.dir/conf$$.file
492
mkdir conf$$.dir 2>/dev/null
494
if (echo >conf$$.file) 2>/dev/null; then
495
if ln -s conf$$.file conf$$ 2>/dev/null; then
497
# ... but there are two gotchas:
498
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
499
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
500
# In both cases, we have to default to `cp -p'.
501
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
503
elif ln conf$$.file conf$$ 2>/dev/null; then
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
rmdir conf$$.dir 2>/dev/null
514
if mkdir -p . 2>/dev/null; then
515
as_mkdir_p='mkdir -p "$as_dir"'
517
test -d ./-p && rmdir ./-p
521
if test -x / >/dev/null 2>&1; then
524
if ls -dL / >/dev/null 2>&1; then
531
if test -d "$1"; then
537
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
538
???[sx]*):;;*)false;;esac;fi
542
as_executable_p=$as_test_x
544
# Sed expression to map a string onto a valid CPP name.
545
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547
# Sed expression to map a string onto a valid variable name.
548
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
550
SHELL=${CONFIG_SHELL-/bin/sh}
553
test -n "$DJDIR" || exec 7<&0 </dev/null
557
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
558
# so uname gets run too.
559
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
ac_default_prefix=/usr/local
566
ac_config_libobj_dir=.
573
# Identity of this package.
574
PACKAGE_NAME='sflphone'
575
PACKAGE_TARNAME='sflphone'
576
PACKAGE_VERSION='1.0.1'
577
PACKAGE_STRING='sflphone 1.0.1'
578
PACKAGE_BUGREPORT='sflphoneteam@savoirfairelinux.com'
581
# Factoring default headers for most tests.
582
ac_includes_default="\
584
#ifdef HAVE_SYS_TYPES_H
585
# include <sys/types.h>
587
#ifdef HAVE_SYS_STAT_H
588
# include <sys/stat.h>
594
# ifdef HAVE_STDLIB_H
599
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
604
#ifdef HAVE_STRINGS_H
605
# include <strings.h>
607
#ifdef HAVE_INTTYPES_H
608
# include <inttypes.h>
618
enable_option_checking=no
619
ac_subst_vars='subdirs
627
USE_NETWORKMANAGER_FALSE
628
USE_NETWORKMANAGER_TRUE
733
INSTALL_STRIP_PROGRAM
787
program_transform_name
800
enable_option_checking
802
enable_dependency_tracking
818
ac_precious_vars='build_alias
860
ac_subdirs_all='libs/pjproject'
862
# Initialize some variables set by options.
864
ac_init_version=false
865
ac_unrecognized_opts=
867
# The variables have the same names as the options, with
868
# dashes changed to underlines.
876
program_transform_name=s,x,x,
884
# Installation directory options.
885
# These are left unexpanded so users can "make install exec_prefix=/foo"
886
# and all the variables that are supposed to be based on exec_prefix
887
# by default will actually change.
888
# Use braces instead of parens because sh, perl, etc. also accept them.
889
# (The list follows the same order as the GNU Coding Standards.)
890
bindir='${exec_prefix}/bin'
891
sbindir='${exec_prefix}/sbin'
892
libexecdir='${exec_prefix}/libexec'
893
datarootdir='${prefix}/share'
894
datadir='${datarootdir}'
895
sysconfdir='${prefix}/etc'
896
sharedstatedir='${prefix}/com'
897
localstatedir='${prefix}/var'
898
includedir='${prefix}/include'
899
oldincludedir='/usr/include'
900
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
901
infodir='${datarootdir}/info'
906
libdir='${exec_prefix}/lib'
907
localedir='${datarootdir}/locale'
908
mandir='${datarootdir}/man'
914
# If the previous option needs an argument, assign it.
915
if test -n "$ac_prev"; then
916
eval $ac_prev=\$ac_option
922
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
927
# Accept the important Cygnus configure options, so we can diagnose typos.
929
case $ac_dashdash$ac_option in
933
-bindir | --bindir | --bindi | --bind | --bin | --bi)
935
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
938
-build | --build | --buil | --bui | --bu)
939
ac_prev=build_alias ;;
940
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
941
build_alias=$ac_optarg ;;
943
-cache-file | --cache-file | --cache-fil | --cache-fi \
944
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
945
ac_prev=cache_file ;;
946
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
947
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
948
cache_file=$ac_optarg ;;
951
cache_file=config.cache ;;
953
-datadir | --datadir | --datadi | --datad)
955
-datadir=* | --datadir=* | --datadi=* | --datad=*)
956
datadir=$ac_optarg ;;
958
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
959
| --dataroo | --dataro | --datar)
960
ac_prev=datarootdir ;;
961
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
962
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
963
datarootdir=$ac_optarg ;;
965
-disable-* | --disable-*)
966
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
967
# Reject names that are not valid shell variable names.
968
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
969
as_fn_error $? "invalid feature name: $ac_useropt"
970
ac_useropt_orig=$ac_useropt
971
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972
case $ac_user_opts in
976
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
977
ac_unrecognized_sep=', ';;
979
eval enable_$ac_useropt=no ;;
981
-docdir | --docdir | --docdi | --doc | --do)
983
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
986
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
988
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
991
-enable-* | --enable-*)
992
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
993
# Reject names that are not valid shell variable names.
994
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
995
as_fn_error $? "invalid feature name: $ac_useropt"
996
ac_useropt_orig=$ac_useropt
997
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
998
case $ac_user_opts in
1000
"enable_$ac_useropt"
1002
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1003
ac_unrecognized_sep=', ';;
1005
eval enable_$ac_useropt=\$ac_optarg ;;
1007
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1008
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1009
| --exec | --exe | --ex)
1010
ac_prev=exec_prefix ;;
1011
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1012
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1013
| --exec=* | --exe=* | --ex=*)
1014
exec_prefix=$ac_optarg ;;
1016
-gas | --gas | --ga | --g)
1017
# Obsolete; use --with-gas.
1020
-help | --help | --hel | --he | -h)
1021
ac_init_help=long ;;
1022
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1023
ac_init_help=recursive ;;
1024
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1025
ac_init_help=short ;;
1027
-host | --host | --hos | --ho)
1028
ac_prev=host_alias ;;
1029
-host=* | --host=* | --hos=* | --ho=*)
1030
host_alias=$ac_optarg ;;
1032
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1034
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1036
htmldir=$ac_optarg ;;
1038
-includedir | --includedir | --includedi | --included | --include \
1039
| --includ | --inclu | --incl | --inc)
1040
ac_prev=includedir ;;
1041
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1042
| --includ=* | --inclu=* | --incl=* | --inc=*)
1043
includedir=$ac_optarg ;;
1045
-infodir | --infodir | --infodi | --infod | --info | --inf)
1047
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1048
infodir=$ac_optarg ;;
1050
-libdir | --libdir | --libdi | --libd)
1052
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1053
libdir=$ac_optarg ;;
1055
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1056
| --libexe | --libex | --libe)
1057
ac_prev=libexecdir ;;
1058
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1059
| --libexe=* | --libex=* | --libe=*)
1060
libexecdir=$ac_optarg ;;
1062
-localedir | --localedir | --localedi | --localed | --locale)
1063
ac_prev=localedir ;;
1064
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1065
localedir=$ac_optarg ;;
1067
-localstatedir | --localstatedir | --localstatedi | --localstated \
1068
| --localstate | --localstat | --localsta | --localst | --locals)
1069
ac_prev=localstatedir ;;
1070
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1071
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1072
localstatedir=$ac_optarg ;;
1074
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1076
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1077
mandir=$ac_optarg ;;
1079
-nfp | --nfp | --nf)
1080
# Obsolete; use --without-fp.
1083
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1084
| --no-cr | --no-c | -n)
1087
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1088
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1091
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1092
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1093
| --oldin | --oldi | --old | --ol | --o)
1094
ac_prev=oldincludedir ;;
1095
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1096
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1097
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1098
oldincludedir=$ac_optarg ;;
1100
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1102
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1103
prefix=$ac_optarg ;;
1105
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1106
| --program-pre | --program-pr | --program-p)
1107
ac_prev=program_prefix ;;
1108
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1109
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1110
program_prefix=$ac_optarg ;;
1112
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1113
| --program-suf | --program-su | --program-s)
1114
ac_prev=program_suffix ;;
1115
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1116
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1117
program_suffix=$ac_optarg ;;
1119
-program-transform-name | --program-transform-name \
1120
| --program-transform-nam | --program-transform-na \
1121
| --program-transform-n | --program-transform- \
1122
| --program-transform | --program-transfor \
1123
| --program-transfo | --program-transf \
1124
| --program-trans | --program-tran \
1125
| --progr-tra | --program-tr | --program-t)
1126
ac_prev=program_transform_name ;;
1127
-program-transform-name=* | --program-transform-name=* \
1128
| --program-transform-nam=* | --program-transform-na=* \
1129
| --program-transform-n=* | --program-transform-=* \
1130
| --program-transform=* | --program-transfor=* \
1131
| --program-transfo=* | --program-transf=* \
1132
| --program-trans=* | --program-tran=* \
1133
| --progr-tra=* | --program-tr=* | --program-t=*)
1134
program_transform_name=$ac_optarg ;;
1136
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1138
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1139
pdfdir=$ac_optarg ;;
1141
-psdir | --psdir | --psdi | --psd | --ps)
1143
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1146
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1147
| -silent | --silent | --silen | --sile | --sil)
1150
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1152
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1154
sbindir=$ac_optarg ;;
1156
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1157
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1158
| --sharedst | --shareds | --shared | --share | --shar \
1160
ac_prev=sharedstatedir ;;
1161
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1162
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1163
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1165
sharedstatedir=$ac_optarg ;;
1167
-site | --site | --sit)
1169
-site=* | --site=* | --sit=*)
1172
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1174
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1175
srcdir=$ac_optarg ;;
1177
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1178
| --syscon | --sysco | --sysc | --sys | --sy)
1179
ac_prev=sysconfdir ;;
1180
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1181
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1182
sysconfdir=$ac_optarg ;;
1184
-target | --target | --targe | --targ | --tar | --ta | --t)
1185
ac_prev=target_alias ;;
1186
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1187
target_alias=$ac_optarg ;;
1189
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1192
-version | --version | --versio | --versi | --vers | -V)
1193
ac_init_version=: ;;
1196
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1197
# Reject names that are not valid shell variable names.
1198
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1199
as_fn_error $? "invalid package name: $ac_useropt"
1200
ac_useropt_orig=$ac_useropt
1201
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202
case $ac_user_opts in
1206
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1207
ac_unrecognized_sep=', ';;
1209
eval with_$ac_useropt=\$ac_optarg ;;
1211
-without-* | --without-*)
1212
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1213
# Reject names that are not valid shell variable names.
1214
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1215
as_fn_error $? "invalid package name: $ac_useropt"
1216
ac_useropt_orig=$ac_useropt
1217
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1218
case $ac_user_opts in
1222
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1223
ac_unrecognized_sep=', ';;
1225
eval with_$ac_useropt=no ;;
1228
# Obsolete; use --with-x.
1231
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1232
| --x-incl | --x-inc | --x-in | --x-i)
1233
ac_prev=x_includes ;;
1234
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1235
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1236
x_includes=$ac_optarg ;;
1238
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1239
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1240
ac_prev=x_libraries ;;
1241
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1242
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1243
x_libraries=$ac_optarg ;;
1245
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1246
Try \`$0 --help' for more information"
1250
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1251
# Reject names that are not valid shell variable names.
1252
case $ac_envvar in #(
1253
'' | [0-9]* | *[!_$as_cr_alnum]* )
1254
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1256
eval $ac_envvar=\$ac_optarg
1257
export $ac_envvar ;;
1260
# FIXME: should be removed in autoconf 3.0.
1261
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1262
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1263
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1264
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1270
if test -n "$ac_prev"; then
1271
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1272
as_fn_error $? "missing argument to $ac_option"
1275
if test -n "$ac_unrecognized_opts"; then
1276
case $enable_option_checking in
1278
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1279
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1283
# Check all directory arguments for consistency.
1284
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1285
datadir sysconfdir sharedstatedir localstatedir includedir \
1286
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1287
libdir localedir mandir
1289
eval ac_val=\$$ac_var
1290
# Remove trailing slashes.
1293
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1294
eval $ac_var=\$ac_val;;
1296
# Be sure to have absolute directory names.
1298
[\\/$]* | ?:[\\/]* ) continue;;
1299
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1301
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1304
# There might be people who depend on the old broken behavior: `$host'
1305
# used to hold the argument of --host etc.
1306
# FIXME: To remove some day.
1309
target=$target_alias
1311
# FIXME: To remove some day.
1312
if test "x$host_alias" != x; then
1313
if test "x$build_alias" = x; then
1314
cross_compiling=maybe
1315
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1316
If a cross compiler is detected then cross compile mode will be used" >&2
1317
elif test "x$build_alias" != "x$host_alias"; then
1323
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1325
test "$silent" = yes && exec 6>/dev/null
1328
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1329
ac_ls_di=`ls -di .` &&
1330
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1331
as_fn_error $? "working directory cannot be determined"
1332
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1333
as_fn_error $? "pwd does not report name of working directory"
1336
# Find the source files, if location was not specified.
1337
if test -z "$srcdir"; then
1338
ac_srcdir_defaulted=yes
1339
# Try the directory containing this script, then the parent directory.
1340
ac_confdir=`$as_dirname -- "$as_myself" ||
1341
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1342
X"$as_myself" : 'X\(//\)[^/]' \| \
1343
X"$as_myself" : 'X\(//\)$' \| \
1344
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1345
$as_echo X"$as_myself" |
1346
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1364
if test ! -r "$srcdir/$ac_unique_file"; then
1368
ac_srcdir_defaulted=no
1370
if test ! -r "$srcdir/$ac_unique_file"; then
1371
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1372
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1374
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1376
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1378
# When building in place, set srcdir=.
1379
if test "$ac_abs_confdir" = "$ac_pwd"; then
1382
# Remove unnecessary trailing slashes from srcdir.
1383
# Double slashes in file names in object file debugging info
1384
# mess up M-x gdb in Emacs.
1386
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1388
for ac_var in $ac_precious_vars; do
1389
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1390
eval ac_env_${ac_var}_value=\$${ac_var}
1391
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1392
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1396
# Report the --help message.
1398
if test "$ac_init_help" = "long"; then
1399
# Omit some internal or obsolete options to make the list less imposing.
1400
# This message is too long to be a string in the A/UX 3.1 sh.
1402
\`configure' configures sflphone 1.0.1 to adapt to many kinds of systems.
1404
Usage: $0 [OPTION]... [VAR=VALUE]...
1406
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1407
VAR=VALUE. See below for descriptions of some of the useful variables.
1409
Defaults for the options are specified in brackets.
1412
-h, --help display this help and exit
1413
--help=short display options specific to this package
1414
--help=recursive display the short help of all the included packages
1415
-V, --version display version information and exit
1416
-q, --quiet, --silent do not print \`checking ...' messages
1417
--cache-file=FILE cache test results in FILE [disabled]
1418
-C, --config-cache alias for \`--cache-file=config.cache'
1419
-n, --no-create do not create output files
1420
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1422
Installation directories:
1423
--prefix=PREFIX install architecture-independent files in PREFIX
1424
[$ac_default_prefix]
1425
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1428
By default, \`make install' will install all the files in
1429
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1430
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1431
for instance \`--prefix=\$HOME'.
1433
For better control, use the options below.
1435
Fine tuning of the installation directories:
1436
--bindir=DIR user executables [EPREFIX/bin]
1437
--sbindir=DIR system admin executables [EPREFIX/sbin]
1438
--libexecdir=DIR program executables [EPREFIX/libexec]
1439
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1440
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1441
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1442
--libdir=DIR object code libraries [EPREFIX/lib]
1443
--includedir=DIR C header files [PREFIX/include]
1444
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1445
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1446
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1447
--infodir=DIR info documentation [DATAROOTDIR/info]
1448
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1449
--mandir=DIR man documentation [DATAROOTDIR/man]
1450
--docdir=DIR documentation root [DATAROOTDIR/doc/sflphone]
1451
--htmldir=DIR html documentation [DOCDIR]
1452
--dvidir=DIR dvi documentation [DOCDIR]
1453
--pdfdir=DIR pdf documentation [DOCDIR]
1454
--psdir=DIR ps documentation [DOCDIR]
1460
--program-prefix=PREFIX prepend PREFIX to installed program names
1461
--program-suffix=SUFFIX append SUFFIX to installed program names
1462
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1465
--build=BUILD configure for building on BUILD [guessed]
1466
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1467
--target=TARGET configure for building compilers for TARGET [HOST]
1471
if test -n "$ac_init_help"; then
1472
case $ac_init_help in
1473
short | recursive ) echo "Configuration of sflphone 1.0.1:";;
1478
--disable-option-checking ignore unrecognized --enable/--with options
1479
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1480
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1481
--enable-silent-rules less verbose build output (undo: `make V=1')
1482
--disable-silent-rules verbose build output (undo: `make V=0')
1483
--disable-dependency-tracking speeds up one-time build
1484
--enable-dependency-tracking do not reject slow dependency extractors
1485
--enable-shared[=PKGS] build shared libraries [default=yes]
1486
--enable-static[=PKGS] build static libraries [default=yes]
1487
--enable-fast-install[=PKGS]
1488
optimize for fast installation [default=yes]
1489
--disable-libtool-lock avoid locking (might break parallel builds)
1490
--enable-doxygen enable documentation generation with doxygen (disabled by default)
1491
--enable-dot use 'dot' to generate graphs in doxygen (auto)
1494
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1495
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1496
--with-pic try to use only PIC/non-PIC objects [default=use
1498
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1499
--with-sysroot=DIR Search for dependent libraries within DIR
1500
(or the compiler's sysroot if not specified).
1501
--without-gsm disable support for gsm codec
1502
--without-speex disable support for speex codec
1503
--without-celt disable support for celt codec
1504
--without-iax2 disable support for the iax2 protocol
1505
--without-networkmanager
1506
disable support for network-manager events
1508
Some influential environment variables:
1509
CC C compiler command
1510
CFLAGS C compiler flags
1511
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1512
nonstandard directory <lib dir>
1513
LIBS libraries to pass to the linker, e.g. -l<library>
1514
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1515
you have headers in a nonstandard directory <include dir>
1516
CXX C++ compiler command
1517
CXXFLAGS C++ compiler flags
1519
CXXCPP C++ preprocessor
1520
PKG_CONFIG path to pkg-config utility
1522
directories to add to pkg-config's search path
1524
path overriding pkg-config's built-in search path
1525
UUID_CFLAGS C compiler flags for UUID, overriding pkg-config
1526
UUID_LIBS linker flags for UUID, overriding pkg-config
1528
C compiler flags for LIBCRYPTO, overriding pkg-config
1530
linker flags for LIBCRYPTO, overriding pkg-config
1531
ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1532
ALSA_LIBS linker flags for ALSA, overriding pkg-config
1534
C compiler flags for PULSEAUDIO, overriding pkg-config
1536
linker flags for PULSEAUDIO, overriding pkg-config
1538
C compiler flags for SAMPLERATE, overriding pkg-config
1540
linker flags for SAMPLERATE, overriding pkg-config
1542
C compiler flags for CCGNU2, overriding pkg-config
1543
CCGNU2_LIBS linker flags for CCGNU2, overriding pkg-config
1545
C compiler flags for CCEXT2, overriding pkg-config
1546
CCEXT2_LIBS linker flags for CCEXT2, overriding pkg-config
1548
C compiler flags for CCRTP, overriding pkg-config
1549
CCRTP_LIBS linker flags for CCRTP, overriding pkg-config
1551
C compiler flags for libssl, overriding pkg-config
1552
libssl_LIBS linker flags for libssl, overriding pkg-config
1554
C compiler flags for ZRTPCPP, overriding pkg-config
1556
linker flags for ZRTPCPP, overriding pkg-config
1558
C compiler flags for DBUSCPP, overriding pkg-config
1560
linker flags for DBUSCPP, overriding pkg-config
1562
C compiler flags for CPPUNIT, overriding pkg-config
1564
linker flags for CPPUNIT, overriding pkg-config
1565
CELT_CFLAGS C compiler flags for CELT, overriding pkg-config
1566
CELT_LIBS linker flags for CELT, overriding pkg-config
1568
Use these variables to override the choices made by `configure' or to help
1569
it to find libraries and programs with nonstandard names/locations.
1571
Report bugs to <sflphoneteam@savoirfairelinux.com>.
1576
if test "$ac_init_help" = "recursive"; then
1577
# If there are subdirs, report their specific --help.
1578
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1579
test -d "$ac_dir" ||
1580
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1585
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1587
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1588
# A ".." for each directory in $ac_dir_suffix.
1589
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1590
case $ac_top_builddir_sub in
1591
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1592
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1595
ac_abs_top_builddir=$ac_pwd
1596
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1597
# for backward compatibility:
1598
ac_top_builddir=$ac_top_build_prefix
1601
.) # We are building in place.
1603
ac_top_srcdir=$ac_top_builddir_sub
1604
ac_abs_top_srcdir=$ac_pwd ;;
1605
[\\/]* | ?:[\\/]* ) # Absolute name.
1606
ac_srcdir=$srcdir$ac_dir_suffix;
1607
ac_top_srcdir=$srcdir
1608
ac_abs_top_srcdir=$srcdir ;;
1610
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1611
ac_top_srcdir=$ac_top_build_prefix$srcdir
1612
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1614
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1616
cd "$ac_dir" || { ac_status=$?; continue; }
1617
# Check for guested configure.
1618
if test -f "$ac_srcdir/configure.gnu"; then
1620
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1621
elif test -f "$ac_srcdir/configure"; then
1623
$SHELL "$ac_srcdir/configure" --help=recursive
1625
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1627
cd "$ac_pwd" || { ac_status=$?; break; }
1631
test -n "$ac_init_help" && exit $ac_status
1632
if $ac_init_version; then
1634
sflphone configure 1.0.1
1635
generated by GNU Autoconf 2.68
1637
Copyright (C) 2010 Free Software Foundation, Inc.
1638
This configure script is free software; the Free Software Foundation
1639
gives unlimited permission to copy, distribute and modify it.
1641
Copyright (c) Savoir-Faire Linux 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
1646
## ------------------------ ##
1647
## Autoconf initialization. ##
1648
## ------------------------ ##
1650
# ac_fn_c_try_compile LINENO
1651
# --------------------------
1652
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1653
ac_fn_c_try_compile ()
1655
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656
rm -f conftest.$ac_objext
1657
if { { ac_try="$ac_compile"
1659
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1660
*) ac_try_echo=$ac_try;;
1662
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1663
$as_echo "$ac_try_echo"; } >&5
1664
(eval "$ac_compile") 2>conftest.err
1666
if test -s conftest.err; then
1667
grep -v '^ *+' conftest.err >conftest.er1
1668
cat conftest.er1 >&5
1669
mv -f conftest.er1 conftest.err
1671
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1672
test $ac_status = 0; } && {
1673
test -z "$ac_c_werror_flag" ||
1674
test ! -s conftest.err
1675
} && test -s conftest.$ac_objext; then :
1678
$as_echo "$as_me: failed program was:" >&5
1679
sed 's/^/| /' conftest.$ac_ext >&5
1683
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1684
as_fn_set_status $ac_retval
1686
} # ac_fn_c_try_compile
1688
# ac_fn_cxx_try_compile LINENO
1689
# ----------------------------
1690
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1691
ac_fn_cxx_try_compile ()
1693
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1694
rm -f conftest.$ac_objext
1695
if { { ac_try="$ac_compile"
1697
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1698
*) ac_try_echo=$ac_try;;
1700
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701
$as_echo "$ac_try_echo"; } >&5
1702
(eval "$ac_compile") 2>conftest.err
1704
if test -s conftest.err; then
1705
grep -v '^ *+' conftest.err >conftest.er1
1706
cat conftest.er1 >&5
1707
mv -f conftest.er1 conftest.err
1709
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1710
test $ac_status = 0; } && {
1711
test -z "$ac_cxx_werror_flag" ||
1712
test ! -s conftest.err
1713
} && test -s conftest.$ac_objext; then :
1716
$as_echo "$as_me: failed program was:" >&5
1717
sed 's/^/| /' conftest.$ac_ext >&5
1721
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722
as_fn_set_status $ac_retval
1724
} # ac_fn_cxx_try_compile
1726
# ac_fn_c_try_cpp LINENO
1727
# ----------------------
1728
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1731
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732
if { { ac_try="$ac_cpp conftest.$ac_ext"
1734
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1735
*) ac_try_echo=$ac_try;;
1737
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738
$as_echo "$ac_try_echo"; } >&5
1739
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1741
if test -s conftest.err; then
1742
grep -v '^ *+' conftest.err >conftest.er1
1743
cat conftest.er1 >&5
1744
mv -f conftest.er1 conftest.err
1746
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747
test $ac_status = 0; } > conftest.i && {
1748
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1749
test ! -s conftest.err
1753
$as_echo "$as_me: failed program was:" >&5
1754
sed 's/^/| /' conftest.$ac_ext >&5
1758
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759
as_fn_set_status $ac_retval
1763
# ac_fn_c_try_link LINENO
1764
# -----------------------
1765
# Try to link conftest.$ac_ext, and return whether this succeeded.
1768
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769
rm -f conftest.$ac_objext conftest$ac_exeext
1770
if { { ac_try="$ac_link"
1772
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1773
*) ac_try_echo=$ac_try;;
1775
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776
$as_echo "$ac_try_echo"; } >&5
1777
(eval "$ac_link") 2>conftest.err
1779
if test -s conftest.err; then
1780
grep -v '^ *+' conftest.err >conftest.er1
1781
cat conftest.er1 >&5
1782
mv -f conftest.er1 conftest.err
1784
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785
test $ac_status = 0; } && {
1786
test -z "$ac_c_werror_flag" ||
1787
test ! -s conftest.err
1788
} && test -s conftest$ac_exeext && {
1789
test "$cross_compiling" = yes ||
1790
$as_test_x conftest$ac_exeext
1794
$as_echo "$as_me: failed program was:" >&5
1795
sed 's/^/| /' conftest.$ac_ext >&5
1799
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1800
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1801
# interfere with the next link command; also delete a directory that is
1802
# left behind by Apple's compiler. We do this before executing the actions.
1803
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1804
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805
as_fn_set_status $ac_retval
1807
} # ac_fn_c_try_link
1809
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1810
# -------------------------------------------------------
1811
# Tests whether HEADER exists and can be compiled using the include files in
1812
# INCLUDES, setting the cache variable VAR accordingly.
1813
ac_fn_c_check_header_compile ()
1815
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1817
$as_echo_n "checking for $2... " >&6; }
1818
if eval \${$3+:} false; then :
1819
$as_echo_n "(cached) " >&6
1821
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1822
/* end confdefs.h. */
1826
if ac_fn_c_try_compile "$LINENO"; then :
1831
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1834
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1835
$as_echo "$ac_res" >&6; }
1836
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1838
} # ac_fn_c_check_header_compile
1840
# ac_fn_c_try_run LINENO
1841
# ----------------------
1842
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1843
# that executables *can* be run.
1846
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847
if { { ac_try="$ac_link"
1849
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1850
*) ac_try_echo=$ac_try;;
1852
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853
$as_echo "$ac_try_echo"; } >&5
1854
(eval "$ac_link") 2>&5
1856
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1857
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1858
{ { case "(($ac_try" in
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_try") 2>&5
1866
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1867
test $ac_status = 0; }; }; then :
1870
$as_echo "$as_me: program exited with status $ac_status" >&5
1871
$as_echo "$as_me: failed program was:" >&5
1872
sed 's/^/| /' conftest.$ac_ext >&5
1874
ac_retval=$ac_status
1876
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1877
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1878
as_fn_set_status $ac_retval
1882
# ac_fn_c_check_func LINENO FUNC VAR
1883
# ----------------------------------
1884
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1885
ac_fn_c_check_func ()
1887
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1889
$as_echo_n "checking for $2... " >&6; }
1890
if eval \${$3+:} false; then :
1891
$as_echo_n "(cached) " >&6
1893
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894
/* end confdefs.h. */
1895
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1896
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1897
#define $2 innocuous_$2
1899
/* System header to define __stub macros and hopefully few prototypes,
1900
which can conflict with char $2 (); below.
1901
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1902
<limits.h> exists even on freestanding compilers. */
1905
# include <limits.h>
1907
# include <assert.h>
1912
/* Override any GCC internal prototype to avoid an error.
1913
Use char because int might match the return type of a GCC
1914
builtin and then its argument prototype would still apply. */
1919
/* The GNU C library defines this for functions which it implements
1920
to always fail with ENOSYS. Some functions are actually named
1921
something starting with __ and the normal name is an alias. */
1922
#if defined __stub_$2 || defined __stub___$2
1934
if ac_fn_c_try_link "$LINENO"; then :
1939
rm -f core conftest.err conftest.$ac_objext \
1940
conftest$ac_exeext conftest.$ac_ext
1943
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1944
$as_echo "$ac_res" >&6; }
1945
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1947
} # ac_fn_c_check_func
1949
# ac_fn_cxx_try_cpp LINENO
1950
# ------------------------
1951
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1952
ac_fn_cxx_try_cpp ()
1954
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1955
if { { ac_try="$ac_cpp conftest.$ac_ext"
1957
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1958
*) ac_try_echo=$ac_try;;
1960
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1961
$as_echo "$ac_try_echo"; } >&5
1962
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1964
if test -s conftest.err; then
1965
grep -v '^ *+' conftest.err >conftest.er1
1966
cat conftest.er1 >&5
1967
mv -f conftest.er1 conftest.err
1969
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1970
test $ac_status = 0; } > conftest.i && {
1971
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1972
test ! -s conftest.err
1976
$as_echo "$as_me: failed program was:" >&5
1977
sed 's/^/| /' conftest.$ac_ext >&5
1981
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1982
as_fn_set_status $ac_retval
1984
} # ac_fn_cxx_try_cpp
1986
# ac_fn_cxx_try_link LINENO
1987
# -------------------------
1988
# Try to link conftest.$ac_ext, and return whether this succeeded.
1989
ac_fn_cxx_try_link ()
1991
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992
rm -f conftest.$ac_objext conftest$ac_exeext
1993
if { { ac_try="$ac_link"
1995
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1996
*) ac_try_echo=$ac_try;;
1998
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1999
$as_echo "$ac_try_echo"; } >&5
2000
(eval "$ac_link") 2>conftest.err
2002
if test -s conftest.err; then
2003
grep -v '^ *+' conftest.err >conftest.er1
2004
cat conftest.er1 >&5
2005
mv -f conftest.er1 conftest.err
2007
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2008
test $ac_status = 0; } && {
2009
test -z "$ac_cxx_werror_flag" ||
2010
test ! -s conftest.err
2011
} && test -s conftest$ac_exeext && {
2012
test "$cross_compiling" = yes ||
2013
$as_test_x conftest$ac_exeext
2017
$as_echo "$as_me: failed program was:" >&5
2018
sed 's/^/| /' conftest.$ac_ext >&5
2022
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2023
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2024
# interfere with the next link command; also delete a directory that is
2025
# left behind by Apple's compiler. We do this before executing the actions.
2026
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2027
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2028
as_fn_set_status $ac_retval
2030
} # ac_fn_cxx_try_link
2032
# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2033
# ---------------------------------------------
2034
# Tests whether TYPE exists after having included INCLUDES, setting cache
2035
# variable VAR accordingly.
2036
ac_fn_cxx_check_type ()
2038
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2040
$as_echo_n "checking for $2... " >&6; }
2041
if eval \${$3+:} false; then :
2042
$as_echo_n "(cached) " >&6
2045
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2046
/* end confdefs.h. */
2057
if ac_fn_cxx_try_compile "$LINENO"; then :
2058
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2059
/* end confdefs.h. */
2070
if ac_fn_cxx_try_compile "$LINENO"; then :
2075
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2077
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2080
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2081
$as_echo "$ac_res" >&6; }
2082
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2084
} # ac_fn_cxx_check_type
2086
# ac_fn_cxx_check_func LINENO FUNC VAR
2087
# ------------------------------------
2088
# Tests whether FUNC exists, setting the cache variable VAR accordingly
2089
ac_fn_cxx_check_func ()
2091
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2093
$as_echo_n "checking for $2... " >&6; }
2094
if eval \${$3+:} false; then :
2095
$as_echo_n "(cached) " >&6
2097
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098
/* end confdefs.h. */
2099
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2100
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2101
#define $2 innocuous_$2
2103
/* System header to define __stub macros and hopefully few prototypes,
2104
which can conflict with char $2 (); below.
2105
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2106
<limits.h> exists even on freestanding compilers. */
2109
# include <limits.h>
2111
# include <assert.h>
2116
/* Override any GCC internal prototype to avoid an error.
2117
Use char because int might match the return type of a GCC
2118
builtin and then its argument prototype would still apply. */
2123
/* The GNU C library defines this for functions which it implements
2124
to always fail with ENOSYS. Some functions are actually named
2125
something starting with __ and the normal name is an alias. */
2126
#if defined __stub_$2 || defined __stub___$2
2138
if ac_fn_cxx_try_link "$LINENO"; then :
2143
rm -f core conftest.err conftest.$ac_objext \
2144
conftest$ac_exeext conftest.$ac_ext
2147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2148
$as_echo "$ac_res" >&6; }
2149
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2151
} # ac_fn_cxx_check_func
2153
# ac_fn_cxx_try_run LINENO
2154
# ------------------------
2155
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2156
# that executables *can* be run.
2157
ac_fn_cxx_try_run ()
2159
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2160
if { { ac_try="$ac_link"
2162
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2163
*) ac_try_echo=$ac_try;;
2165
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2166
$as_echo "$ac_try_echo"; } >&5
2167
(eval "$ac_link") 2>&5
2169
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2170
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2171
{ { case "(($ac_try" in
2172
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2173
*) ac_try_echo=$ac_try;;
2175
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2176
$as_echo "$ac_try_echo"; } >&5
2177
(eval "$ac_try") 2>&5
2179
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2180
test $ac_status = 0; }; }; then :
2183
$as_echo "$as_me: program exited with status $ac_status" >&5
2184
$as_echo "$as_me: failed program was:" >&5
2185
sed 's/^/| /' conftest.$ac_ext >&5
2187
ac_retval=$ac_status
2189
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2190
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2191
as_fn_set_status $ac_retval
2193
} # ac_fn_cxx_try_run
2195
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2196
# ---------------------------------------------------------
2197
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2198
# the include files in INCLUDES and setting the cache variable VAR
2200
ac_fn_cxx_check_header_mongrel ()
2202
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2203
if eval \${$3+:} false; then :
2204
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2205
$as_echo_n "checking for $2... " >&6; }
2206
if eval \${$3+:} false; then :
2207
$as_echo_n "(cached) " >&6
2210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2211
$as_echo "$ac_res" >&6; }
2213
# Is the header compilable?
2214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2215
$as_echo_n "checking $2 usability... " >&6; }
2216
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2217
/* end confdefs.h. */
2221
if ac_fn_cxx_try_compile "$LINENO"; then :
2222
ac_header_compiler=yes
2224
ac_header_compiler=no
2226
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2228
$as_echo "$ac_header_compiler" >&6; }
2230
# Is the header present?
2231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2232
$as_echo_n "checking $2 presence... " >&6; }
2233
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2234
/* end confdefs.h. */
2237
if ac_fn_cxx_try_cpp "$LINENO"; then :
2238
ac_header_preproc=yes
2240
ac_header_preproc=no
2242
rm -f conftest.err conftest.i conftest.$ac_ext
2243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2244
$as_echo "$ac_header_preproc" >&6; }
2246
# So? What about this header?
2247
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2249
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2250
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2251
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2252
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2255
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2256
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2257
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2258
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2259
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2260
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2261
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2262
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2263
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2264
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2265
( $as_echo "## ------------------------------------------------ ##
2266
## Report this to sflphoneteam@savoirfairelinux.com ##
2267
## ------------------------------------------------ ##"
2268
) | sed "s/^/$as_me: WARNING: /" >&2
2271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2272
$as_echo_n "checking for $2... " >&6; }
2273
if eval \${$3+:} false; then :
2274
$as_echo_n "(cached) " >&6
2276
eval "$3=\$ac_header_compiler"
2279
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2280
$as_echo "$ac_res" >&6; }
2282
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2284
} # ac_fn_cxx_check_header_mongrel
2286
# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2287
# ---------------------------------------------------------
2288
# Tests whether HEADER exists and can be compiled using the include files in
2289
# INCLUDES, setting the cache variable VAR accordingly.
2290
ac_fn_cxx_check_header_compile ()
2292
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2293
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2294
$as_echo_n "checking for $2... " >&6; }
2295
if eval \${$3+:} false; then :
2296
$as_echo_n "(cached) " >&6
2298
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2299
/* end confdefs.h. */
2303
if ac_fn_cxx_try_compile "$LINENO"; then :
2308
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2311
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2312
$as_echo "$ac_res" >&6; }
2313
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2315
} # ac_fn_cxx_check_header_compile
2316
cat >config.log <<_ACEOF
2317
This file contains any messages produced by compilers while
2318
running configure, to aid debugging if configure makes a mistake.
2320
It was created by sflphone $as_me 1.0.1, which was
2321
generated by GNU Autoconf 2.68. Invocation command line was
2333
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2334
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2335
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2336
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2337
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2339
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2340
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2342
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2343
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2344
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2345
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2346
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2347
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2348
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2352
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2356
test -z "$as_dir" && as_dir=.
2357
$as_echo "PATH: $as_dir"
2373
# Keep a trace of the command line.
2374
# Strip out --no-create and --no-recursion so they do not pile up.
2375
# Strip out --silent because we don't want to record it for future runs.
2376
# Also quote any args containing shell meta-characters.
2377
# Make two passes to allow for proper duplicate-argument suppression.
2381
ac_must_keep_next=false
2387
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2388
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2389
| -silent | --silent | --silen | --sile | --sil)
2392
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2395
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2397
as_fn_append ac_configure_args1 " '$ac_arg'"
2398
if test $ac_must_keep_next = true; then
2399
ac_must_keep_next=false # Got value, back to normal.
2402
*=* | --config-cache | -C | -disable-* | --disable-* \
2403
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2404
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2405
| -with-* | --with-* | -without-* | --without-* | --x)
2406
case "$ac_configure_args0 " in
2407
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2410
-* ) ac_must_keep_next=true ;;
2413
as_fn_append ac_configure_args " '$ac_arg'"
2418
{ ac_configure_args0=; unset ac_configure_args0;}
2419
{ ac_configure_args1=; unset ac_configure_args1;}
2421
# When interrupted or exit'd, cleanup temporary files, and complete
2422
# config.log. We remove comments because anyway the quotes in there
2423
# would cause problems or look ugly.
2424
# WARNING: Use '\'' to represent an apostrophe within the trap.
2425
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2426
trap 'exit_status=$?
2427
# Save into config.log some information that might help in debugging.
2431
$as_echo "## ---------------- ##
2432
## Cache variables. ##
2433
## ---------------- ##"
2435
# The following way of writing the cache mishandles newlines in values,
2437
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2438
eval ac_val=\$$ac_var
2442
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2443
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2446
_ | IFS | as_nl) ;; #(
2447
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2448
*) { eval $ac_var=; unset $ac_var;} ;;
2453
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2454
*${as_nl}ac_space=\ *)
2456
"s/'\''/'\''\\\\'\'''\''/g;
2457
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2460
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2467
$as_echo "## ----------------- ##
2468
## Output variables. ##
2469
## ----------------- ##"
2471
for ac_var in $ac_subst_vars
2473
eval ac_val=\$$ac_var
2475
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2477
$as_echo "$ac_var='\''$ac_val'\''"
2481
if test -n "$ac_subst_files"; then
2482
$as_echo "## ------------------- ##
2483
## File substitutions. ##
2484
## ------------------- ##"
2486
for ac_var in $ac_subst_files
2488
eval ac_val=\$$ac_var
2490
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2492
$as_echo "$ac_var='\''$ac_val'\''"
2497
if test -s confdefs.h; then
2498
$as_echo "## ----------- ##
2505
test "$ac_signal" != 0 &&
2506
$as_echo "$as_me: caught signal $ac_signal"
2507
$as_echo "$as_me: exit $exit_status"
2509
rm -f core *.core core.conftest.* &&
2510
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2513
for ac_signal in 1 2 13 15; do
2514
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2518
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2519
rm -f -r conftest* confdefs.h
2521
$as_echo "/* confdefs.h */" > confdefs.h
2523
# Predefined preprocessor variables.
2525
cat >>confdefs.h <<_ACEOF
2526
#define PACKAGE_NAME "$PACKAGE_NAME"
2529
cat >>confdefs.h <<_ACEOF
2530
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2533
cat >>confdefs.h <<_ACEOF
2534
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2537
cat >>confdefs.h <<_ACEOF
2538
#define PACKAGE_STRING "$PACKAGE_STRING"
2541
cat >>confdefs.h <<_ACEOF
2542
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2545
cat >>confdefs.h <<_ACEOF
2546
#define PACKAGE_URL "$PACKAGE_URL"
2550
# Let the site file select an alternate cache file if it wants to.
2551
# Prefer an explicitly selected file to automatically selected ones.
2554
if test -n "$CONFIG_SITE"; then
2555
# We do not want a PATH search for config.site.
2556
case $CONFIG_SITE in #((
2557
-*) ac_site_file1=./$CONFIG_SITE;;
2558
*/*) ac_site_file1=$CONFIG_SITE;;
2559
*) ac_site_file1=./$CONFIG_SITE;;
2561
elif test "x$prefix" != xNONE; then
2562
ac_site_file1=$prefix/share/config.site
2563
ac_site_file2=$prefix/etc/config.site
2565
ac_site_file1=$ac_default_prefix/share/config.site
2566
ac_site_file2=$ac_default_prefix/etc/config.site
2568
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2570
test "x$ac_site_file" = xNONE && continue
2571
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2572
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2573
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2574
sed 's/^/| /' "$ac_site_file" >&5
2576
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2577
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2578
as_fn_error $? "failed to load site script $ac_site_file
2579
See \`config.log' for more details" "$LINENO" 5; }
2583
if test -r "$cache_file"; then
2584
# Some versions of bash will fail to source /dev/null (special files
2585
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2586
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2587
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2588
$as_echo "$as_me: loading cache $cache_file" >&6;}
2590
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2591
*) . "./$cache_file";;
2595
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2596
$as_echo "$as_me: creating cache $cache_file" >&6;}
2600
as_fn_append ac_header_list " utime.h"
2601
# Check that the precious variables saved in the cache have kept the same
2603
ac_cache_corrupted=false
2604
for ac_var in $ac_precious_vars; do
2605
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2606
eval ac_new_set=\$ac_env_${ac_var}_set
2607
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2608
eval ac_new_val=\$ac_env_${ac_var}_value
2609
case $ac_old_set,$ac_new_set in
2611
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2612
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2613
ac_cache_corrupted=: ;;
2615
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2616
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2617
ac_cache_corrupted=: ;;
2620
if test "x$ac_old_val" != "x$ac_new_val"; then
2621
# differences in whitespace do not lead to failure.
2622
ac_old_val_w=`echo x $ac_old_val`
2623
ac_new_val_w=`echo x $ac_new_val`
2624
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2625
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2626
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2627
ac_cache_corrupted=:
2629
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2630
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2631
eval $ac_var=\$ac_old_val
2633
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2634
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2635
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2636
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2639
# Pass precious variables to config.status.
2640
if test "$ac_new_set" = set; then
2642
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2643
*) ac_arg=$ac_var=$ac_new_val ;;
2645
case " $ac_configure_args " in
2646
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2647
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2651
if $ac_cache_corrupted; then
2652
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2653
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2654
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2655
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2656
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2658
## -------------------- ##
2659
## Main body of script. ##
2660
## -------------------- ##
2663
ac_cpp='$CPP $CPPFLAGS'
2664
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2665
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2666
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2673
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2674
if test -f "$ac_dir/install-sh"; then
2676
ac_install_sh="$ac_aux_dir/install-sh -c"
2678
elif test -f "$ac_dir/install.sh"; then
2680
ac_install_sh="$ac_aux_dir/install.sh -c"
2682
elif test -f "$ac_dir/shtool"; then
2684
ac_install_sh="$ac_aux_dir/shtool install -c"
2688
if test -z "$ac_aux_dir"; then
2689
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2692
# These three variables are undocumented and unsupported,
2693
# and are intended to be withdrawn in a future Autoconf release.
2694
# They can cause serious problems if a builder's source tree is in a directory
2695
# whose full name contains unusual characters.
2696
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2697
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2698
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2701
# Make sure we can run config.sub.
2702
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2703
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2705
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2706
$as_echo_n "checking build system type... " >&6; }
2707
if ${ac_cv_build+:} false; then :
2708
$as_echo_n "(cached) " >&6
2710
ac_build_alias=$build_alias
2711
test "x$ac_build_alias" = x &&
2712
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2713
test "x$ac_build_alias" = x &&
2714
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2715
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2716
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2719
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2720
$as_echo "$ac_cv_build" >&6; }
2721
case $ac_cv_build in
2723
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2726
ac_save_IFS=$IFS; IFS='-'
2732
# Remember, the first character of IFS is used to create $*,
2733
# except with old shells:
2736
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2740
$as_echo_n "checking host system type... " >&6; }
2741
if ${ac_cv_host+:} false; then :
2742
$as_echo_n "(cached) " >&6
2744
if test "x$host_alias" = x; then
2745
ac_cv_host=$ac_cv_build
2747
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2748
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2752
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2753
$as_echo "$ac_cv_host" >&6; }
2756
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2759
ac_save_IFS=$IFS; IFS='-'
2765
# Remember, the first character of IFS is used to create $*,
2766
# except with old shells:
2769
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2773
$as_echo_n "checking target system type... " >&6; }
2774
if ${ac_cv_target+:} false; then :
2775
$as_echo_n "(cached) " >&6
2777
if test "x$target_alias" = x; then
2778
ac_cv_target=$ac_cv_host
2780
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2781
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2786
$as_echo "$ac_cv_target" >&6; }
2787
case $ac_cv_target in
2789
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2791
target=$ac_cv_target
2792
ac_save_IFS=$IFS; IFS='-'
2798
# Remember, the first character of IFS is used to create $*,
2799
# except with old shells:
2802
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2805
# The aliases save the names the user supplied, while $host etc.
2806
# will get canonicalized.
2807
test -n "$target_alias" &&
2808
test "$program_prefix$program_suffix$program_transform_name" = \
2810
program_prefix=${target_alias}-
2812
am__api_version='1.11'
2814
# Find a good install program. We prefer a C program (faster),
2815
# so one script is as good as another. But avoid the broken or
2816
# incompatible versions:
2817
# SysV /etc/install, /usr/sbin/install
2818
# SunOS /usr/etc/install
2819
# IRIX /sbin/install
2821
# AmigaOS /C/install, which installs bootblocks on floppy discs
2822
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2823
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2824
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2825
# OS/2's system install, which has a completely different semantic
2826
# ./install, which can be erroneously created by make from ./install.sh.
2827
# Reject install programs that cannot install multiple files.
2828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2829
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2830
if test -z "$INSTALL"; then
2831
if ${ac_cv_path_install+:} false; then :
2832
$as_echo_n "(cached) " >&6
2834
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838
test -z "$as_dir" && as_dir=.
2839
# Account for people who put trailing slashes in PATH elements.
2840
case $as_dir/ in #((
2841
./ | .// | /[cC]/* | \
2842
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2843
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2846
# OSF1 and SCO ODT 3.0 have their own names for install.
2847
# Don't use installbsd from OSF since it installs stuff as root
2849
for ac_prog in ginstall scoinst install; do
2850
for ac_exec_ext in '' $ac_executable_extensions; do
2851
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2852
if test $ac_prog = install &&
2853
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2854
# AIX install. It has an incompatible calling convention.
2856
elif test $ac_prog = install &&
2857
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2858
# program-specific install script used by HP pwplus--don't use.
2861
rm -rf conftest.one conftest.two conftest.dir
2862
echo one > conftest.one
2863
echo two > conftest.two
2865
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2866
test -s conftest.one && test -s conftest.two &&
2867
test -s conftest.dir/conftest.one &&
2868
test -s conftest.dir/conftest.two
2870
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2883
rm -rf conftest.one conftest.two conftest.dir
2886
if test "${ac_cv_path_install+set}" = set; then
2887
INSTALL=$ac_cv_path_install
2889
# As a last resort, use the slow shell script. Don't cache a
2890
# value for INSTALL within a source directory, because that will
2891
# break other packages using the cache if that directory is
2892
# removed, or if the value is a relative name.
2893
INSTALL=$ac_install_sh
2896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2897
$as_echo "$INSTALL" >&6; }
2899
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2900
# It thinks the first close brace ends the variable substitution.
2901
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2903
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2905
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2908
$as_echo_n "checking whether build environment is sane... " >&6; }
2911
echo timestamp > conftest.file
2912
# Reject unsafe characters in $srcdir or the absolute working directory
2913
# name. Accept space and tab only in the latter.
2917
*[\\\"\#\$\&\'\`$am_lf]*)
2918
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2921
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2922
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2925
# Do `set' in a subshell so we don't clobber the current shell's
2926
# arguments. Must try -L first in case configure is actually a
2927
# symlink; some systems play weird games with the mod time of symlinks
2928
# (eg FreeBSD returns the mod time of the symlink's containing
2931
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2932
if test "$*" = "X"; then
2934
set X `ls -t "$srcdir/configure" conftest.file`
2937
if test "$*" != "X $srcdir/configure conftest.file" \
2938
&& test "$*" != "X conftest.file $srcdir/configure"; then
2940
# If neither matched, then we have a broken ls. This can happen
2941
# if, for instance, CONFIG_SHELL is bash and it inherits a
2942
# broken ls alias from the environment. This has actually
2943
# happened. Such a system could not be considered "sane".
2944
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2945
alias in your environment" "$LINENO" 5
2948
test "$2" = conftest.file
2954
as_fn_error $? "newly created file is older than distributed files!
2955
Check your system clock" "$LINENO" 5
2957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2958
$as_echo "yes" >&6; }
2959
test "$program_prefix" != NONE &&
2960
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2961
# Use a double $ so make ignores it.
2962
test "$program_suffix" != NONE &&
2963
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2964
# Double any \ or $.
2965
# By default was `s,x,x', remove it if useless.
2966
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2967
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2969
# expand $ac_aux_dir to an absolute path
2970
am_aux_dir=`cd $ac_aux_dir && pwd`
2972
if test x"${MISSING+set}" != xset; then
2975
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2977
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2980
# Use eval to expand $SHELL
2981
if eval "$MISSING --run true"; then
2982
am_missing_run="$MISSING --run "
2985
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2986
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2989
if test x"${install_sh}" != xset; then
2992
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2994
install_sh="\${SHELL} $am_aux_dir/install-sh"
2998
# Installed binaries are usually stripped using `strip' when the user
2999
# run `make install-strip'. However `strip' might not be the right
3000
# tool to use in cross-compilation environments, therefore Automake
3001
# will honor the `STRIP' environment variable to overrule this program.
3002
if test "$cross_compiling" != no; then
3003
if test -n "$ac_tool_prefix"; then
3004
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3005
set dummy ${ac_tool_prefix}strip; ac_word=$2
3006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3007
$as_echo_n "checking for $ac_word... " >&6; }
3008
if ${ac_cv_prog_STRIP+:} false; then :
3009
$as_echo_n "(cached) " >&6
3011
if test -n "$STRIP"; then
3012
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3014
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3018
test -z "$as_dir" && as_dir=.
3019
for ac_exec_ext in '' $ac_executable_extensions; do
3020
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3021
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3022
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3031
STRIP=$ac_cv_prog_STRIP
3032
if test -n "$STRIP"; then
3033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3034
$as_echo "$STRIP" >&6; }
3036
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3037
$as_echo "no" >&6; }
3042
if test -z "$ac_cv_prog_STRIP"; then
3044
# Extract the first word of "strip", so it can be a program name with args.
3045
set dummy strip; ac_word=$2
3046
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3047
$as_echo_n "checking for $ac_word... " >&6; }
3048
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3049
$as_echo_n "(cached) " >&6
3051
if test -n "$ac_ct_STRIP"; then
3052
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3054
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3058
test -z "$as_dir" && as_dir=.
3059
for ac_exec_ext in '' $ac_executable_extensions; do
3060
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3061
ac_cv_prog_ac_ct_STRIP="strip"
3062
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3071
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3072
if test -n "$ac_ct_STRIP"; then
3073
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3074
$as_echo "$ac_ct_STRIP" >&6; }
3076
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3077
$as_echo "no" >&6; }
3080
if test "x$ac_ct_STRIP" = x; then
3083
case $cross_compiling:$ac_tool_warned in
3085
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3086
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3087
ac_tool_warned=yes ;;
3092
STRIP="$ac_cv_prog_STRIP"
3096
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3099
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3100
if test -z "$MKDIR_P"; then
3101
if ${ac_cv_path_mkdir+:} false; then :
3102
$as_echo_n "(cached) " >&6
3104
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3105
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3108
test -z "$as_dir" && as_dir=.
3109
for ac_prog in mkdir gmkdir; do
3110
for ac_exec_ext in '' $ac_executable_extensions; do
3111
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3112
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3113
'mkdir (GNU coreutils) '* | \
3114
'mkdir (coreutils) '* | \
3115
'mkdir (fileutils) '4.1*)
3116
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3126
test -d ./--version && rmdir ./--version
3127
if test "${ac_cv_path_mkdir+set}" = set; then
3128
MKDIR_P="$ac_cv_path_mkdir -p"
3130
# As a last resort, use the slow shell script. Don't cache a
3131
# value for MKDIR_P within a source directory, because that will
3132
# break other packages using the cache if that directory is
3133
# removed, or if the value is a relative name.
3134
MKDIR_P="$ac_install_sh -d"
3137
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3138
$as_echo "$MKDIR_P" >&6; }
3142
[\\/$]* | ?:[\\/]*) ;;
3143
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3146
for ac_prog in gawk mawk nawk awk
3148
# Extract the first word of "$ac_prog", so it can be a program name with args.
3149
set dummy $ac_prog; ac_word=$2
3150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3151
$as_echo_n "checking for $ac_word... " >&6; }
3152
if ${ac_cv_prog_AWK+:} false; then :
3153
$as_echo_n "(cached) " >&6
3155
if test -n "$AWK"; then
3156
ac_cv_prog_AWK="$AWK" # Let the user override the test.
3158
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3162
test -z "$as_dir" && as_dir=.
3163
for ac_exec_ext in '' $ac_executable_extensions; do
3164
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3165
ac_cv_prog_AWK="$ac_prog"
3166
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3176
if test -n "$AWK"; then
3177
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3178
$as_echo "$AWK" >&6; }
3180
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3181
$as_echo "no" >&6; }
3185
test -n "$AWK" && break
3188
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3189
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3191
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3192
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3193
$as_echo_n "(cached) " >&6
3195
cat >conftest.make <<\_ACEOF
3198
@echo '@@@%%%=$(MAKE)=@@@%%%'
3200
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3201
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3203
eval ac_cv_prog_make_${ac_make}_set=yes;;
3205
eval ac_cv_prog_make_${ac_make}_set=no;;
3209
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3211
$as_echo "yes" >&6; }
3214
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3215
$as_echo "no" >&6; }
3216
SET_MAKE="MAKE=${MAKE-make}"
3219
rm -rf .tst 2>/dev/null
3220
mkdir .tst 2>/dev/null
3221
if test -d .tst; then
3226
rmdir .tst 2>/dev/null
3228
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3229
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3230
# is not polluted with repeated "-I."
3231
am__isrc=' -I$(srcdir)'
3232
# test to see if srcdir already configured
3233
if test -f $srcdir/config.status; then
3234
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3238
# test whether we have cygpath
3239
if test -z "$CYGPATH_W"; then
3240
if (cygpath --version) >/dev/null 2>/dev/null; then
3241
CYGPATH_W='cygpath -w'
3248
# Define the identity of the package.
3253
cat >>confdefs.h <<_ACEOF
3254
#define PACKAGE "$PACKAGE"
3258
cat >>confdefs.h <<_ACEOF
3259
#define VERSION "$VERSION"
3262
# Some tools Automake needs.
3264
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3267
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3270
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3273
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3276
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3278
# We need awk for the "check" target. The system "awk" is bad on
3280
# Always define AMTAR for backward compatibility.
3282
AMTAR=${AMTAR-"${am_missing_run}tar"}
3284
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3290
ac_config_headers="$ac_config_headers config.h"
3293
# Silent build by default. Use make V=1 to increase verbosity
3294
# Check whether --enable-silent-rules was given.
3295
if test "${enable_silent_rules+set}" = set; then :
3296
enableval=$enable_silent_rules;
3299
case $enable_silent_rules in
3300
yes) AM_DEFAULT_VERBOSITY=0;;
3301
no) AM_DEFAULT_VERBOSITY=1;;
3302
*) AM_DEFAULT_VERBOSITY=0;;
3309
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3310
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3312
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3313
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3314
$as_echo_n "(cached) " >&6
3316
cat >conftest.make <<\_ACEOF
3319
@echo '@@@%%%=$(MAKE)=@@@%%%'
3321
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3322
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3324
eval ac_cv_prog_make_${ac_make}_set=yes;;
3326
eval ac_cv_prog_make_${ac_make}_set=no;;
3330
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3332
$as_echo "yes" >&6; }
3335
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3336
$as_echo "no" >&6; }
3337
SET_MAKE="MAKE=${MAKE-make}"
3343
ac_config_files="$ac_config_files Makefile"
3345
ac_config_files="$ac_config_files libs/Makefile libs/utilspp/Makefile libs/utilspp/singleton/Makefile libs/iax2/Makefile"
3348
ac_config_files="$ac_config_files src/Makefile src/sip/Makefile src/im/Makefile src/iax/Makefile src/audio/Makefile src/audio/audiortp/Makefile src/audio/pulseaudio/Makefile src/audio/alsa/Makefile src/audio/sound/Makefile src/audio/codecs/Makefile src/config/Makefile src/dbus/Makefile src/hooks/Makefile src/history/Makefile"
3351
ac_config_files="$ac_config_files test/Makefile"
3354
ac_config_files="$ac_config_files ringtones/Makefile"
3357
ac_config_files="$ac_config_files man/Makefile"
3360
ac_config_files="$ac_config_files doc/Makefile doc/dbus-api/Makefile doc/doxygen/Makefile"
3364
ac_cpp='$CPP $CPPFLAGS'
3365
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3366
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3367
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3368
if test -n "$ac_tool_prefix"; then
3369
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3370
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3372
$as_echo_n "checking for $ac_word... " >&6; }
3373
if ${ac_cv_prog_CC+:} false; then :
3374
$as_echo_n "(cached) " >&6
3376
if test -n "$CC"; then
3377
ac_cv_prog_CC="$CC" # Let the user override the test.
3379
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3383
test -z "$as_dir" && as_dir=.
3384
for ac_exec_ext in '' $ac_executable_extensions; do
3385
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3386
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3387
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3397
if test -n "$CC"; then
3398
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3399
$as_echo "$CC" >&6; }
3401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3402
$as_echo "no" >&6; }
3407
if test -z "$ac_cv_prog_CC"; then
3409
# Extract the first word of "gcc", so it can be a program name with args.
3410
set dummy gcc; ac_word=$2
3411
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3412
$as_echo_n "checking for $ac_word... " >&6; }
3413
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3414
$as_echo_n "(cached) " >&6
3416
if test -n "$ac_ct_CC"; then
3417
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3419
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3423
test -z "$as_dir" && as_dir=.
3424
for ac_exec_ext in '' $ac_executable_extensions; do
3425
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3426
ac_cv_prog_ac_ct_CC="gcc"
3427
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3436
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3437
if test -n "$ac_ct_CC"; then
3438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3439
$as_echo "$ac_ct_CC" >&6; }
3441
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3442
$as_echo "no" >&6; }
3445
if test "x$ac_ct_CC" = x; then
3448
case $cross_compiling:$ac_tool_warned in
3450
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3451
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3452
ac_tool_warned=yes ;;
3460
if test -z "$CC"; then
3461
if test -n "$ac_tool_prefix"; then
3462
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3463
set dummy ${ac_tool_prefix}cc; ac_word=$2
3464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3465
$as_echo_n "checking for $ac_word... " >&6; }
3466
if ${ac_cv_prog_CC+:} false; then :
3467
$as_echo_n "(cached) " >&6
3469
if test -n "$CC"; then
3470
ac_cv_prog_CC="$CC" # Let the user override the test.
3472
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3476
test -z "$as_dir" && as_dir=.
3477
for ac_exec_ext in '' $ac_executable_extensions; do
3478
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3479
ac_cv_prog_CC="${ac_tool_prefix}cc"
3480
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3490
if test -n "$CC"; then
3491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3492
$as_echo "$CC" >&6; }
3494
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3495
$as_echo "no" >&6; }
3501
if test -z "$CC"; then
3502
# Extract the first word of "cc", so it can be a program name with args.
3503
set dummy cc; ac_word=$2
3504
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3505
$as_echo_n "checking for $ac_word... " >&6; }
3506
if ${ac_cv_prog_CC+:} false; then :
3507
$as_echo_n "(cached) " >&6
3509
if test -n "$CC"; then
3510
ac_cv_prog_CC="$CC" # Let the user override the test.
3513
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3517
test -z "$as_dir" && as_dir=.
3518
for ac_exec_ext in '' $ac_executable_extensions; do
3519
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3520
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3521
ac_prog_rejected=yes
3525
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3532
if test $ac_prog_rejected = yes; then
3533
# We found a bogon in the path, so make sure we never use it.
3534
set dummy $ac_cv_prog_CC
3536
if test $# != 0; then
3537
# We chose a different compiler from the bogus one.
3538
# However, it has the same basename, so the bogon will be chosen
3539
# first if we set CC to just the basename; use the full file name.
3541
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3547
if test -n "$CC"; then
3548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3549
$as_echo "$CC" >&6; }
3551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552
$as_echo "no" >&6; }
3557
if test -z "$CC"; then
3558
if test -n "$ac_tool_prefix"; then
3559
for ac_prog in cl.exe
3561
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3562
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3564
$as_echo_n "checking for $ac_word... " >&6; }
3565
if ${ac_cv_prog_CC+:} false; then :
3566
$as_echo_n "(cached) " >&6
3568
if test -n "$CC"; then
3569
ac_cv_prog_CC="$CC" # Let the user override the test.
3571
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575
test -z "$as_dir" && as_dir=.
3576
for ac_exec_ext in '' $ac_executable_extensions; do
3577
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3578
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3579
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3589
if test -n "$CC"; then
3590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3591
$as_echo "$CC" >&6; }
3593
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3594
$as_echo "no" >&6; }
3598
test -n "$CC" && break
3601
if test -z "$CC"; then
3603
for ac_prog in cl.exe
3605
# Extract the first word of "$ac_prog", so it can be a program name with args.
3606
set dummy $ac_prog; ac_word=$2
3607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3608
$as_echo_n "checking for $ac_word... " >&6; }
3609
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3610
$as_echo_n "(cached) " >&6
3612
if test -n "$ac_ct_CC"; then
3613
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3615
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3619
test -z "$as_dir" && as_dir=.
3620
for ac_exec_ext in '' $ac_executable_extensions; do
3621
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3622
ac_cv_prog_ac_ct_CC="$ac_prog"
3623
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3632
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3633
if test -n "$ac_ct_CC"; then
3634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3635
$as_echo "$ac_ct_CC" >&6; }
3637
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3638
$as_echo "no" >&6; }
3642
test -n "$ac_ct_CC" && break
3645
if test "x$ac_ct_CC" = x; then
3648
case $cross_compiling:$ac_tool_warned in
3650
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3651
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3652
ac_tool_warned=yes ;;
3661
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3662
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3663
as_fn_error $? "no acceptable C compiler found in \$PATH
3664
See \`config.log' for more details" "$LINENO" 5; }
3666
# Provide some information about the compiler.
3667
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3670
for ac_option in --version -v -V -qversion; do
3671
{ { ac_try="$ac_compiler $ac_option >&5"
3673
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3674
*) ac_try_echo=$ac_try;;
3676
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3677
$as_echo "$ac_try_echo"; } >&5
3678
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3680
if test -s conftest.err; then
3682
... rest of stderr output deleted ...
3683
10q' conftest.err >conftest.er1
3684
cat conftest.er1 >&5
3686
rm -f conftest.er1 conftest.err
3687
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3688
test $ac_status = 0; }
3691
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3692
/* end confdefs.h. */
3702
ac_clean_files_save=$ac_clean_files
3703
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3704
# Try to create an executable without -o first, disregard a.out.
3705
# It will help us diagnose broken compilers, and finding out an intuition
3707
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3708
$as_echo_n "checking whether the C compiler works... " >&6; }
3709
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3711
# The possible output files:
3712
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3715
for ac_file in $ac_files
3718
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3719
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3724
if { { ac_try="$ac_link_default"
3726
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3727
*) ac_try_echo=$ac_try;;
3729
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3730
$as_echo "$ac_try_echo"; } >&5
3731
(eval "$ac_link_default") 2>&5
3733
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3734
test $ac_status = 0; }; then :
3735
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3736
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3737
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3738
# so that the user can short-circuit this test for compilers unknown to
3740
for ac_file in $ac_files ''
3742
test -f "$ac_file" || continue
3744
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3747
# We found the default executable, but exeext='' is most
3751
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3753
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3755
# We set ac_cv_exeext here because the later test for it is not
3756
# safe: cross compilers may not add the suffix if given an `-o'
3757
# argument, so we may need to know it at that point already.
3758
# Even if this section looks crufty: it has the advantage of
3765
test "$ac_cv_exeext" = no && ac_cv_exeext=
3770
if test -z "$ac_file"; then :
3771
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3772
$as_echo "no" >&6; }
3773
$as_echo "$as_me: failed program was:" >&5
3774
sed 's/^/| /' conftest.$ac_ext >&5
3776
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3777
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3778
as_fn_error 77 "C compiler cannot create executables
3779
See \`config.log' for more details" "$LINENO" 5; }
3781
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3782
$as_echo "yes" >&6; }
3784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3785
$as_echo_n "checking for C compiler default output file name... " >&6; }
3786
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3787
$as_echo "$ac_file" >&6; }
3788
ac_exeext=$ac_cv_exeext
3790
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3791
ac_clean_files=$ac_clean_files_save
3792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3793
$as_echo_n "checking for suffix of executables... " >&6; }
3794
if { { ac_try="$ac_link"
3796
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3797
*) ac_try_echo=$ac_try;;
3799
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3800
$as_echo "$ac_try_echo"; } >&5
3801
(eval "$ac_link") 2>&5
3803
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3804
test $ac_status = 0; }; then :
3805
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3806
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3807
# work properly (i.e., refer to `conftest.exe'), while it won't with
3809
for ac_file in conftest.exe conftest conftest.*; do
3810
test -f "$ac_file" || continue
3812
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3813
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3819
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3820
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3821
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3822
See \`config.log' for more details" "$LINENO" 5; }
3824
rm -f conftest conftest$ac_cv_exeext
3825
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3826
$as_echo "$ac_cv_exeext" >&6; }
3828
rm -f conftest.$ac_ext
3829
EXEEXT=$ac_cv_exeext
3831
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3832
/* end confdefs.h. */
3837
FILE *f = fopen ("conftest.out", "w");
3838
return ferror (f) || fclose (f) != 0;
3844
ac_clean_files="$ac_clean_files conftest.out"
3845
# Check that the compiler produces executables we can run. If not, either
3846
# the compiler is broken, or we cross compile.
3847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3848
$as_echo_n "checking whether we are cross compiling... " >&6; }
3849
if test "$cross_compiling" != yes; then
3850
{ { ac_try="$ac_link"
3852
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3853
*) ac_try_echo=$ac_try;;
3855
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3856
$as_echo "$ac_try_echo"; } >&5
3857
(eval "$ac_link") 2>&5
3859
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3860
test $ac_status = 0; }
3861
if { ac_try='./conftest$ac_cv_exeext'
3862
{ { case "(($ac_try" in
3863
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3864
*) ac_try_echo=$ac_try;;
3866
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3867
$as_echo "$ac_try_echo"; } >&5
3868
(eval "$ac_try") 2>&5
3870
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3871
test $ac_status = 0; }; }; then
3874
if test "$cross_compiling" = maybe; then
3877
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3878
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3879
as_fn_error $? "cannot run C compiled programs.
3880
If you meant to cross compile, use \`--host'.
3881
See \`config.log' for more details" "$LINENO" 5; }
3885
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3886
$as_echo "$cross_compiling" >&6; }
3888
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3889
ac_clean_files=$ac_clean_files_save
3890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3891
$as_echo_n "checking for suffix of object files... " >&6; }
3892
if ${ac_cv_objext+:} false; then :
3893
$as_echo_n "(cached) " >&6
3895
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3896
/* end confdefs.h. */
3906
rm -f conftest.o conftest.obj
3907
if { { ac_try="$ac_compile"
3909
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3910
*) ac_try_echo=$ac_try;;
3912
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3913
$as_echo "$ac_try_echo"; } >&5
3914
(eval "$ac_compile") 2>&5
3916
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3917
test $ac_status = 0; }; then :
3918
for ac_file in conftest.o conftest.obj conftest.*; do
3919
test -f "$ac_file" || continue;
3921
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3922
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3927
$as_echo "$as_me: failed program was:" >&5
3928
sed 's/^/| /' conftest.$ac_ext >&5
3930
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3931
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3932
as_fn_error $? "cannot compute suffix of object files: cannot compile
3933
See \`config.log' for more details" "$LINENO" 5; }
3935
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3938
$as_echo "$ac_cv_objext" >&6; }
3939
OBJEXT=$ac_cv_objext
3941
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3942
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3943
if ${ac_cv_c_compiler_gnu+:} false; then :
3944
$as_echo_n "(cached) " >&6
3946
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3947
/* end confdefs.h. */
3960
if ac_fn_c_try_compile "$LINENO"; then :
3965
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3966
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3970
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3971
if test $ac_compiler_gnu = yes; then
3976
ac_test_CFLAGS=${CFLAGS+set}
3977
ac_save_CFLAGS=$CFLAGS
3978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3979
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3980
if ${ac_cv_prog_cc_g+:} false; then :
3981
$as_echo_n "(cached) " >&6
3983
ac_save_c_werror_flag=$ac_c_werror_flag
3984
ac_c_werror_flag=yes
3987
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3988
/* end confdefs.h. */
3998
if ac_fn_c_try_compile "$LINENO"; then :
4002
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4003
/* end confdefs.h. */
4013
if ac_fn_c_try_compile "$LINENO"; then :
4016
ac_c_werror_flag=$ac_save_c_werror_flag
4018
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4019
/* end confdefs.h. */
4029
if ac_fn_c_try_compile "$LINENO"; then :
4032
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4034
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4036
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4037
ac_c_werror_flag=$ac_save_c_werror_flag
4039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4040
$as_echo "$ac_cv_prog_cc_g" >&6; }
4041
if test "$ac_test_CFLAGS" = set; then
4042
CFLAGS=$ac_save_CFLAGS
4043
elif test $ac_cv_prog_cc_g = yes; then
4044
if test "$GCC" = yes; then
4050
if test "$GCC" = yes; then
4056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4057
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4058
if ${ac_cv_prog_cc_c89+:} false; then :
4059
$as_echo_n "(cached) " >&6
4061
ac_cv_prog_cc_c89=no
4063
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4064
/* end confdefs.h. */
4067
#include <sys/types.h>
4068
#include <sys/stat.h>
4069
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4070
struct buf { int x; };
4071
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4072
static char *e (p, i)
4078
static char *f (char * (*g) (char **, int), char **p, ...)
4083
s = g (p, va_arg (v,int));
4088
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4089
function prototypes and stuff, but not '\xHH' hex character constants.
4090
These don't provoke an error unfortunately, instead are silently treated
4091
as 'x'. The following induces an error, until -std is added to get
4092
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4093
array size at least. It's necessary to write '\x00'==0 to get something
4094
that's true only with -std. */
4095
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4097
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4098
inside strings and character constants. */
4100
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4102
int test (int i, double x);
4103
struct s1 {int (*f) (int a);};
4104
struct s2 {int (*f) (double a);};
4105
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4111
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4116
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4117
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4119
CC="$ac_save_CC $ac_arg"
4120
if ac_fn_c_try_compile "$LINENO"; then :
4121
ac_cv_prog_cc_c89=$ac_arg
4123
rm -f core conftest.err conftest.$ac_objext
4124
test "x$ac_cv_prog_cc_c89" != "xno" && break
4126
rm -f conftest.$ac_ext
4131
case "x$ac_cv_prog_cc_c89" in
4133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4134
$as_echo "none needed" >&6; } ;;
4136
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4137
$as_echo "unsupported" >&6; } ;;
4139
CC="$CC $ac_cv_prog_cc_c89"
4140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4141
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4143
if test "x$ac_cv_prog_cc_c89" != xno; then :
4148
ac_cpp='$CPP $CPPFLAGS'
4149
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4150
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4151
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4152
DEPDIR="${am__leading_dot}deps"
4154
ac_config_commands="$ac_config_commands depfiles"
4157
am_make=${MAKE-make}
4158
cat > confinc << 'END'
4160
@echo this is the am__doit target
4163
# If we don't find an include directive, just comment out the code.
4164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4165
$as_echo_n "checking for style of include used by $am_make... " >&6; }
4169
# First try GNU make style include.
4170
echo "include confinc" > confmf
4171
# Ignore all kinds of additional output from `make'.
4172
case `$am_make -s -f confmf 2> /dev/null` in #(
4173
*the\ am__doit\ target*)
4179
# Now try BSD make style include.
4180
if test "$am__include" = "#"; then
4181
echo '.include "confinc"' > confmf
4182
case `$am_make -s -f confmf 2> /dev/null` in #(
4183
*the\ am__doit\ target*)
4184
am__include=.include
4192
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4193
$as_echo "$_am_result" >&6; }
4194
rm -f confinc confmf
4196
# Check whether --enable-dependency-tracking was given.
4197
if test "${enable_dependency_tracking+set}" = set; then :
4198
enableval=$enable_dependency_tracking;
4201
if test "x$enable_dependency_tracking" != xno; then
4202
am_depcomp="$ac_aux_dir/depcomp"
4205
if test "x$enable_dependency_tracking" != xno; then
4215
depcc="$CC" am_compiler_list=
4217
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4218
$as_echo_n "checking dependency style of $depcc... " >&6; }
4219
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4220
$as_echo_n "(cached) " >&6
4222
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4223
# We make a subdir and do the tests there. Otherwise we can end up
4224
# making bogus files that we don't know about and never remove. For
4225
# instance it was reported that on HP-UX the gcc test will end up
4226
# making a dummy file named `D' -- because `-MD' means `put the output
4229
# Copy depcomp to subdir because otherwise we won't find it if we're
4230
# using a relative directory.
4231
cp "$am_depcomp" conftest.dir
4233
# We will build objects and dependencies in a subdirectory because
4234
# it helps to detect inapplicable dependency modes. For instance
4235
# both Tru64's cc and ICC support -MD to output dependencies as a
4236
# side effect of compilation, but ICC will put the dependencies in
4237
# the current directory while Tru64 will put them in the object
4241
am_cv_CC_dependencies_compiler_type=none
4242
if test "$am_compiler_list" = ""; then
4243
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4246
case " $depcc " in #(
4247
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4250
for depmode in $am_compiler_list; do
4251
# Setup a source with many dependencies, because some compilers
4252
# like to wrap large dependency lists on column 80 (with \), and
4253
# we should not choose a depcomp mode which is confused by this.
4255
# We need to recreate these files for each test, as the compiler may
4256
# overwrite some of them when testing with obscure command lines.
4257
# This happens at least with the AIX C compiler.
4259
for i in 1 2 3 4 5 6; do
4260
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4261
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4262
# Solaris 8's {/usr,}/bin/sh.
4263
touch sub/conftst$i.h
4265
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4267
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4268
# mode. It turns out that the SunPro C++ compiler does not properly
4269
# handle `-M -o', and we need to detect this. Also, some Intel
4270
# versions had trouble with output in subdirs
4271
am__obj=sub/conftest.${OBJEXT-o}
4272
am__minus_obj="-o $am__obj"
4275
# This depmode causes a compiler race in universal mode.
4276
test "$am__universal" = false || continue
4279
# after this tag, mechanisms are not by side-effect, so they'll
4280
# only be used when explicitly requested
4281
if test "x$enable_dependency_tracking" = xyes; then
4287
msvisualcpp | msvcmsys)
4288
# This compiler won't grok `-c -o', but also, the minuso test has
4289
# not run yet. These depmodes are late enough in the game, and
4290
# so weak that their functioning should not be impacted.
4291
am__obj=conftest.${OBJEXT-o}
4296
if depmode=$depmode \
4297
source=sub/conftest.c object=$am__obj \
4298
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4299
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4300
>/dev/null 2>conftest.err &&
4301
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4302
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4303
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4304
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4305
# icc doesn't choke on unknown options, it will just issue warnings
4306
# or remarks (even with -Werror). So we grep stderr for any message
4307
# that says an option was ignored or not supported.
4308
# When given -MP, icc 7.0 and 7.1 complain thusly:
4309
# icc: Command line warning: ignoring option '-M'; no argument required
4310
# The diagnosis changed in icc 8.0:
4311
# icc: Command line remark: option '-MP' not supported
4312
if (grep 'ignoring option' conftest.err ||
4313
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4314
am_cv_CC_dependencies_compiler_type=$depmode
4323
am_cv_CC_dependencies_compiler_type=none
4327
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4328
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4329
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4332
test "x$enable_dependency_tracking" != xno \
4333
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4335
am__fastdepCC_FALSE='#'
4337
am__fastdepCC_TRUE='#'
4338
am__fastdepCC_FALSE=
4343
ac_cpp='$CXXCPP $CPPFLAGS'
4344
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4345
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4346
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4347
if test -z "$CXX"; then
4348
if test -n "$CCC"; then
4351
if test -n "$ac_tool_prefix"; then
4352
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4354
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4355
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4357
$as_echo_n "checking for $ac_word... " >&6; }
4358
if ${ac_cv_prog_CXX+:} false; then :
4359
$as_echo_n "(cached) " >&6
4361
if test -n "$CXX"; then
4362
ac_cv_prog_CXX="$CXX" # Let the user override the test.
4364
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368
test -z "$as_dir" && as_dir=.
4369
for ac_exec_ext in '' $ac_executable_extensions; do
4370
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4371
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4372
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4382
if test -n "$CXX"; then
4383
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4384
$as_echo "$CXX" >&6; }
4386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4387
$as_echo "no" >&6; }
4391
test -n "$CXX" && break
4394
if test -z "$CXX"; then
4396
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4398
# Extract the first word of "$ac_prog", so it can be a program name with args.
4399
set dummy $ac_prog; ac_word=$2
4400
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4401
$as_echo_n "checking for $ac_word... " >&6; }
4402
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4403
$as_echo_n "(cached) " >&6
4405
if test -n "$ac_ct_CXX"; then
4406
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4408
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412
test -z "$as_dir" && as_dir=.
4413
for ac_exec_ext in '' $ac_executable_extensions; do
4414
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4415
ac_cv_prog_ac_ct_CXX="$ac_prog"
4416
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4425
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4426
if test -n "$ac_ct_CXX"; then
4427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4428
$as_echo "$ac_ct_CXX" >&6; }
4430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4431
$as_echo "no" >&6; }
4435
test -n "$ac_ct_CXX" && break
4438
if test "x$ac_ct_CXX" = x; then
4441
case $cross_compiling:$ac_tool_warned in
4443
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4444
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4445
ac_tool_warned=yes ;;
4453
# Provide some information about the compiler.
4454
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4457
for ac_option in --version -v -V -qversion; do
4458
{ { ac_try="$ac_compiler $ac_option >&5"
4460
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4461
*) ac_try_echo=$ac_try;;
4463
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4464
$as_echo "$ac_try_echo"; } >&5
4465
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4467
if test -s conftest.err; then
4469
... rest of stderr output deleted ...
4470
10q' conftest.err >conftest.er1
4471
cat conftest.er1 >&5
4473
rm -f conftest.er1 conftest.err
4474
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4475
test $ac_status = 0; }
4478
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4479
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4480
if ${ac_cv_cxx_compiler_gnu+:} false; then :
4481
$as_echo_n "(cached) " >&6
4483
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4484
/* end confdefs.h. */
4497
if ac_fn_cxx_try_compile "$LINENO"; then :
4502
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4503
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4506
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4507
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4508
if test $ac_compiler_gnu = yes; then
4513
ac_test_CXXFLAGS=${CXXFLAGS+set}
4514
ac_save_CXXFLAGS=$CXXFLAGS
4515
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4516
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4517
if ${ac_cv_prog_cxx_g+:} false; then :
4518
$as_echo_n "(cached) " >&6
4520
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4521
ac_cxx_werror_flag=yes
4524
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525
/* end confdefs.h. */
4535
if ac_fn_cxx_try_compile "$LINENO"; then :
4536
ac_cv_prog_cxx_g=yes
4539
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540
/* end confdefs.h. */
4550
if ac_fn_cxx_try_compile "$LINENO"; then :
4553
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4555
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4556
/* end confdefs.h. */
4566
if ac_fn_cxx_try_compile "$LINENO"; then :
4567
ac_cv_prog_cxx_g=yes
4569
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4571
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4574
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4577
$as_echo "$ac_cv_prog_cxx_g" >&6; }
4578
if test "$ac_test_CXXFLAGS" = set; then
4579
CXXFLAGS=$ac_save_CXXFLAGS
4580
elif test $ac_cv_prog_cxx_g = yes; then
4581
if test "$GXX" = yes; then
4587
if test "$GXX" = yes; then
4594
ac_cpp='$CPP $CPPFLAGS'
4595
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4599
depcc="$CXX" am_compiler_list=
4601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4602
$as_echo_n "checking dependency style of $depcc... " >&6; }
4603
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4604
$as_echo_n "(cached) " >&6
4606
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4607
# We make a subdir and do the tests there. Otherwise we can end up
4608
# making bogus files that we don't know about and never remove. For
4609
# instance it was reported that on HP-UX the gcc test will end up
4610
# making a dummy file named `D' -- because `-MD' means `put the output
4613
# Copy depcomp to subdir because otherwise we won't find it if we're
4614
# using a relative directory.
4615
cp "$am_depcomp" conftest.dir
4617
# We will build objects and dependencies in a subdirectory because
4618
# it helps to detect inapplicable dependency modes. For instance
4619
# both Tru64's cc and ICC support -MD to output dependencies as a
4620
# side effect of compilation, but ICC will put the dependencies in
4621
# the current directory while Tru64 will put them in the object
4625
am_cv_CXX_dependencies_compiler_type=none
4626
if test "$am_compiler_list" = ""; then
4627
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4630
case " $depcc " in #(
4631
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4634
for depmode in $am_compiler_list; do
4635
# Setup a source with many dependencies, because some compilers
4636
# like to wrap large dependency lists on column 80 (with \), and
4637
# we should not choose a depcomp mode which is confused by this.
4639
# We need to recreate these files for each test, as the compiler may
4640
# overwrite some of them when testing with obscure command lines.
4641
# This happens at least with the AIX C compiler.
4643
for i in 1 2 3 4 5 6; do
4644
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4645
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4646
# Solaris 8's {/usr,}/bin/sh.
4647
touch sub/conftst$i.h
4649
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4651
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4652
# mode. It turns out that the SunPro C++ compiler does not properly
4653
# handle `-M -o', and we need to detect this. Also, some Intel
4654
# versions had trouble with output in subdirs
4655
am__obj=sub/conftest.${OBJEXT-o}
4656
am__minus_obj="-o $am__obj"
4659
# This depmode causes a compiler race in universal mode.
4660
test "$am__universal" = false || continue
4663
# after this tag, mechanisms are not by side-effect, so they'll
4664
# only be used when explicitly requested
4665
if test "x$enable_dependency_tracking" = xyes; then
4671
msvisualcpp | msvcmsys)
4672
# This compiler won't grok `-c -o', but also, the minuso test has
4673
# not run yet. These depmodes are late enough in the game, and
4674
# so weak that their functioning should not be impacted.
4675
am__obj=conftest.${OBJEXT-o}
4680
if depmode=$depmode \
4681
source=sub/conftest.c object=$am__obj \
4682
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4683
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4684
>/dev/null 2>conftest.err &&
4685
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4686
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4687
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4688
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4689
# icc doesn't choke on unknown options, it will just issue warnings
4690
# or remarks (even with -Werror). So we grep stderr for any message
4691
# that says an option was ignored or not supported.
4692
# When given -MP, icc 7.0 and 7.1 complain thusly:
4693
# icc: Command line warning: ignoring option '-M'; no argument required
4694
# The diagnosis changed in icc 8.0:
4695
# icc: Command line remark: option '-MP' not supported
4696
if (grep 'ignoring option' conftest.err ||
4697
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4698
am_cv_CXX_dependencies_compiler_type=$depmode
4707
am_cv_CXX_dependencies_compiler_type=none
4711
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4712
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4713
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4716
test "x$enable_dependency_tracking" != xno \
4717
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4718
am__fastdepCXX_TRUE=
4719
am__fastdepCXX_FALSE='#'
4721
am__fastdepCXX_TRUE='#'
4722
am__fastdepCXX_FALSE=
4727
ac_cpp='$CPP $CPPFLAGS'
4728
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4729
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4730
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4732
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4733
# On Suns, sometimes $CPP names a directory.
4734
if test -n "$CPP" && test -d "$CPP"; then
4737
if test -z "$CPP"; then
4738
if ${ac_cv_prog_CPP+:} false; then :
4739
$as_echo_n "(cached) " >&6
4741
# Double quotes because CPP needs to be expanded
4742
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4745
for ac_c_preproc_warn_flag in '' yes
4747
# Use a header file that comes with gcc, so configuring glibc
4748
# with a fresh cross-compiler works.
4749
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4750
# <limits.h> exists even on freestanding compilers.
4751
# On the NeXT, cc -E runs the code through the compiler's parser,
4752
# not just through cpp. "Syntax error" is here to catch this case.
4753
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4754
/* end confdefs.h. */
4756
# include <limits.h>
4758
# include <assert.h>
4762
if ac_fn_c_try_cpp "$LINENO"; then :
4765
# Broken: fails on valid input.
4768
rm -f conftest.err conftest.i conftest.$ac_ext
4770
# OK, works on sane cases. Now check whether nonexistent headers
4771
# can be detected and how.
4772
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4773
/* end confdefs.h. */
4774
#include <ac_nonexistent.h>
4776
if ac_fn_c_try_cpp "$LINENO"; then :
4777
# Broken: success on invalid input.
4780
# Passes both tests.
4784
rm -f conftest.err conftest.i conftest.$ac_ext
4787
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4788
rm -f conftest.i conftest.err conftest.$ac_ext
4789
if $ac_preproc_ok; then :
4801
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4802
$as_echo "$CPP" >&6; }
4804
for ac_c_preproc_warn_flag in '' yes
4806
# Use a header file that comes with gcc, so configuring glibc
4807
# with a fresh cross-compiler works.
4808
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4809
# <limits.h> exists even on freestanding compilers.
4810
# On the NeXT, cc -E runs the code through the compiler's parser,
4811
# not just through cpp. "Syntax error" is here to catch this case.
4812
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4813
/* end confdefs.h. */
4815
# include <limits.h>
4817
# include <assert.h>
4821
if ac_fn_c_try_cpp "$LINENO"; then :
4824
# Broken: fails on valid input.
4827
rm -f conftest.err conftest.i conftest.$ac_ext
4829
# OK, works on sane cases. Now check whether nonexistent headers
4830
# can be detected and how.
4831
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4832
/* end confdefs.h. */
4833
#include <ac_nonexistent.h>
4835
if ac_fn_c_try_cpp "$LINENO"; then :
4836
# Broken: success on invalid input.
4839
# Passes both tests.
4843
rm -f conftest.err conftest.i conftest.$ac_ext
4846
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4847
rm -f conftest.i conftest.err conftest.$ac_ext
4848
if $ac_preproc_ok; then :
4851
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4852
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4853
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4854
See \`config.log' for more details" "$LINENO" 5; }
4858
ac_cpp='$CPP $CPPFLAGS'
4859
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4860
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4861
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4864
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4865
$as_echo_n "checking whether ln -s works... " >&6; }
4867
if test "$LN_S" = "ln -s"; then
4868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4869
$as_echo "yes" >&6; }
4871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4872
$as_echo "no, using $LN_S" >&6; }
4875
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4876
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4878
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4879
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4880
$as_echo_n "(cached) " >&6
4882
cat >conftest.make <<\_ACEOF
4885
@echo '@@@%%%=$(MAKE)=@@@%%%'
4887
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4888
case `${MAKE-make} -f conftest.make 2>/dev/null` in
4890
eval ac_cv_prog_make_${ac_make}_set=yes;;
4892
eval ac_cv_prog_make_${ac_make}_set=no;;
4896
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4898
$as_echo "yes" >&6; }
4901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902
$as_echo "no" >&6; }
4903
SET_MAKE="MAKE=${MAKE-make}"
4909
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4910
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4916
macro_revision='1.3293'
4930
ltmain="$ac_aux_dir/ltmain.sh"
4932
# Backslashify metacharacters that are still active within
4933
# double-quoted strings.
4934
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4936
# Same as above, but do not quote variable references.
4937
double_quote_subst='s/\(["`\\]\)/\\\1/g'
4939
# Sed substitution to delay expansion of an escaped shell variable in a
4940
# double_quote_subst'ed string.
4941
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4943
# Sed substitution to delay expansion of an escaped single quote.
4944
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4946
# Sed substitution to avoid accidental globbing in evaled expressions
4947
no_glob_subst='s/\*/\\\*/g'
4949
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4950
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4951
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4954
$as_echo_n "checking how to print strings... " >&6; }
4955
# Test print first, because it will be a builtin if present.
4956
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4957
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4959
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4962
# Use this function as a fallback that always works.
4963
func_fallback_echo ()
4965
eval 'cat <<_LTECHO_EOF
4969
ECHO='func_fallback_echo'
4972
# func_echo_all arg...
4973
# Invoke $ECHO with all args, space-separated.
4980
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4981
$as_echo "printf" >&6; } ;;
4982
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4983
$as_echo "print -r" >&6; } ;;
4984
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4985
$as_echo "cat" >&6; } ;;
5001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5002
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5003
if ${ac_cv_path_SED+:} false; then :
5004
$as_echo_n "(cached) " >&6
5006
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5007
for ac_i in 1 2 3 4 5 6 7; do
5008
ac_script="$ac_script$as_nl$ac_script"
5010
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5011
{ ac_script=; unset ac_script;}
5012
if test -z "$SED"; then
5013
ac_path_SED_found=false
5014
# Loop through the user's path and test for each of PROGNAME-LIST
5015
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5019
test -z "$as_dir" && as_dir=.
5020
for ac_prog in sed gsed; do
5021
for ac_exec_ext in '' $ac_executable_extensions; do
5022
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5023
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5024
# Check for GNU ac_path_SED and select it if it is found.
5025
# Check for GNU $ac_path_SED
5026
case `"$ac_path_SED" --version 2>&1` in
5028
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5031
$as_echo_n 0123456789 >"conftest.in"
5034
cat "conftest.in" "conftest.in" >"conftest.tmp"
5035
mv "conftest.tmp" "conftest.in"
5036
cp "conftest.in" "conftest.nl"
5037
$as_echo '' >> "conftest.nl"
5038
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5039
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5040
as_fn_arith $ac_count + 1 && ac_count=$as_val
5041
if test $ac_count -gt ${ac_path_SED_max-0}; then
5042
# Best one so far, save it but keep looking for a better one
5043
ac_cv_path_SED="$ac_path_SED"
5044
ac_path_SED_max=$ac_count
5046
# 10*(2^10) chars as input seems more than enough
5047
test $ac_count -gt 10 && break
5049
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5052
$ac_path_SED_found && break 3
5057
if test -z "$ac_cv_path_SED"; then
5058
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5065
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5066
$as_echo "$ac_cv_path_SED" >&6; }
5067
SED="$ac_cv_path_SED"
5070
test -z "$SED" && SED=sed
5071
Xsed="$SED -e 1s/^X//"
5083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5084
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5085
if ${ac_cv_path_GREP+:} false; then :
5086
$as_echo_n "(cached) " >&6
5088
if test -z "$GREP"; then
5089
ac_path_GREP_found=false
5090
# Loop through the user's path and test for each of PROGNAME-LIST
5091
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5092
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5095
test -z "$as_dir" && as_dir=.
5096
for ac_prog in grep ggrep; do
5097
for ac_exec_ext in '' $ac_executable_extensions; do
5098
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5099
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5100
# Check for GNU ac_path_GREP and select it if it is found.
5101
# Check for GNU $ac_path_GREP
5102
case `"$ac_path_GREP" --version 2>&1` in
5104
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5107
$as_echo_n 0123456789 >"conftest.in"
5110
cat "conftest.in" "conftest.in" >"conftest.tmp"
5111
mv "conftest.tmp" "conftest.in"
5112
cp "conftest.in" "conftest.nl"
5113
$as_echo 'GREP' >> "conftest.nl"
5114
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5115
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5116
as_fn_arith $ac_count + 1 && ac_count=$as_val
5117
if test $ac_count -gt ${ac_path_GREP_max-0}; then
5118
# Best one so far, save it but keep looking for a better one
5119
ac_cv_path_GREP="$ac_path_GREP"
5120
ac_path_GREP_max=$ac_count
5122
# 10*(2^10) chars as input seems more than enough
5123
test $ac_count -gt 10 && break
5125
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5128
$ac_path_GREP_found && break 3
5133
if test -z "$ac_cv_path_GREP"; then
5134
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5137
ac_cv_path_GREP=$GREP
5141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5142
$as_echo "$ac_cv_path_GREP" >&6; }
5143
GREP="$ac_cv_path_GREP"
5146
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5147
$as_echo_n "checking for egrep... " >&6; }
5148
if ${ac_cv_path_EGREP+:} false; then :
5149
$as_echo_n "(cached) " >&6
5151
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5152
then ac_cv_path_EGREP="$GREP -E"
5154
if test -z "$EGREP"; then
5155
ac_path_EGREP_found=false
5156
# Loop through the user's path and test for each of PROGNAME-LIST
5157
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5158
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5161
test -z "$as_dir" && as_dir=.
5162
for ac_prog in egrep; do
5163
for ac_exec_ext in '' $ac_executable_extensions; do
5164
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5165
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5166
# Check for GNU ac_path_EGREP and select it if it is found.
5167
# Check for GNU $ac_path_EGREP
5168
case `"$ac_path_EGREP" --version 2>&1` in
5170
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5173
$as_echo_n 0123456789 >"conftest.in"
5176
cat "conftest.in" "conftest.in" >"conftest.tmp"
5177
mv "conftest.tmp" "conftest.in"
5178
cp "conftest.in" "conftest.nl"
5179
$as_echo 'EGREP' >> "conftest.nl"
5180
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5181
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5182
as_fn_arith $ac_count + 1 && ac_count=$as_val
5183
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5184
# Best one so far, save it but keep looking for a better one
5185
ac_cv_path_EGREP="$ac_path_EGREP"
5186
ac_path_EGREP_max=$ac_count
5188
# 10*(2^10) chars as input seems more than enough
5189
test $ac_count -gt 10 && break
5191
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5194
$ac_path_EGREP_found && break 3
5199
if test -z "$ac_cv_path_EGREP"; then
5200
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5203
ac_cv_path_EGREP=$EGREP
5208
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5209
$as_echo "$ac_cv_path_EGREP" >&6; }
5210
EGREP="$ac_cv_path_EGREP"
5213
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5214
$as_echo_n "checking for fgrep... " >&6; }
5215
if ${ac_cv_path_FGREP+:} false; then :
5216
$as_echo_n "(cached) " >&6
5218
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5219
then ac_cv_path_FGREP="$GREP -F"
5221
if test -z "$FGREP"; then
5222
ac_path_FGREP_found=false
5223
# Loop through the user's path and test for each of PROGNAME-LIST
5224
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5225
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5228
test -z "$as_dir" && as_dir=.
5229
for ac_prog in fgrep; do
5230
for ac_exec_ext in '' $ac_executable_extensions; do
5231
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5232
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5233
# Check for GNU ac_path_FGREP and select it if it is found.
5234
# Check for GNU $ac_path_FGREP
5235
case `"$ac_path_FGREP" --version 2>&1` in
5237
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5240
$as_echo_n 0123456789 >"conftest.in"
5243
cat "conftest.in" "conftest.in" >"conftest.tmp"
5244
mv "conftest.tmp" "conftest.in"
5245
cp "conftest.in" "conftest.nl"
5246
$as_echo 'FGREP' >> "conftest.nl"
5247
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5248
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5249
as_fn_arith $ac_count + 1 && ac_count=$as_val
5250
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5251
# Best one so far, save it but keep looking for a better one
5252
ac_cv_path_FGREP="$ac_path_FGREP"
5253
ac_path_FGREP_max=$ac_count
5255
# 10*(2^10) chars as input seems more than enough
5256
test $ac_count -gt 10 && break
5258
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5261
$ac_path_FGREP_found && break 3
5266
if test -z "$ac_cv_path_FGREP"; then
5267
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5270
ac_cv_path_FGREP=$FGREP
5275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5276
$as_echo "$ac_cv_path_FGREP" >&6; }
5277
FGREP="$ac_cv_path_FGREP"
5280
test -z "$GREP" && GREP=grep
5300
# Check whether --with-gnu-ld was given.
5301
if test "${with_gnu_ld+set}" = set; then :
5302
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5308
if test "$GCC" = yes; then
5309
# Check if gcc -print-prog-name=ld gives a path.
5310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5311
$as_echo_n "checking for ld used by $CC... " >&6; }
5314
# gcc leaves a trailing carriage return which upsets mingw
5315
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5317
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5320
# Accept absolute paths.
5322
re_direlt='/[^/][^/]*/\.\./'
5323
# Canonicalize the pathname of ld
5324
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5325
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5326
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5328
test -z "$LD" && LD="$ac_prog"
5331
# If it fails, then pretend we aren't using GCC.
5335
# If it is relative, then search for the first ld in PATH.
5339
elif test "$with_gnu_ld" = yes; then
5340
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5341
$as_echo_n "checking for GNU ld... " >&6; }
5343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5344
$as_echo_n "checking for non-GNU ld... " >&6; }
5346
if ${lt_cv_path_LD+:} false; then :
5347
$as_echo_n "(cached) " >&6
5349
if test -z "$LD"; then
5350
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5351
for ac_dir in $PATH; do
5353
test -z "$ac_dir" && ac_dir=.
5354
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5355
lt_cv_path_LD="$ac_dir/$ac_prog"
5356
# Check to see if the program is GNU ld. I'd rather use --version,
5357
# but apparently some variants of GNU ld only accept -v.
5358
# Break only if it was the GNU/non-GNU ld that we prefer.
5359
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5360
*GNU* | *'with BFD'*)
5361
test "$with_gnu_ld" != no && break
5364
test "$with_gnu_ld" != yes && break
5371
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5376
if test -n "$LD"; then
5377
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5378
$as_echo "$LD" >&6; }
5380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5381
$as_echo "no" >&6; }
5383
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5384
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5385
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5386
if ${lt_cv_prog_gnu_ld+:} false; then :
5387
$as_echo_n "(cached) " >&6
5389
# I'd rather use --version here, but apparently some GNU lds only accept -v.
5390
case `$LD -v 2>&1 </dev/null` in
5391
*GNU* | *'with BFD'*)
5392
lt_cv_prog_gnu_ld=yes
5395
lt_cv_prog_gnu_ld=no
5399
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5400
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5401
with_gnu_ld=$lt_cv_prog_gnu_ld
5411
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5412
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5413
if ${lt_cv_path_NM+:} false; then :
5414
$as_echo_n "(cached) " >&6
5416
if test -n "$NM"; then
5417
# Let the user override the test.
5420
lt_nm_to_check="${ac_tool_prefix}nm"
5421
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5422
lt_nm_to_check="$lt_nm_to_check nm"
5424
for lt_tmp_nm in $lt_nm_to_check; do
5425
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5426
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5428
test -z "$ac_dir" && ac_dir=.
5429
tmp_nm="$ac_dir/$lt_tmp_nm"
5430
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5431
# Check to see if the nm accepts a BSD-compat flag.
5432
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5433
# nm: unknown option "B" ignored
5434
# Tru64's nm complains that /dev/null is an invalid object file
5435
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5436
*/dev/null* | *'Invalid file or object type'*)
5437
lt_cv_path_NM="$tmp_nm -B"
5441
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5443
lt_cv_path_NM="$tmp_nm -p"
5447
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5448
continue # so that we can try to find one that supports BSD flags
5457
: ${lt_cv_path_NM=no}
5460
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5461
$as_echo "$lt_cv_path_NM" >&6; }
5462
if test "$lt_cv_path_NM" != "no"; then
5465
# Didn't find any BSD compatible name lister, look for dumpbin.
5466
if test -n "$DUMPBIN"; then :
5467
# Let the user override the test.
5469
if test -n "$ac_tool_prefix"; then
5470
for ac_prog in dumpbin "link -dump"
5472
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5473
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5474
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5475
$as_echo_n "checking for $ac_word... " >&6; }
5476
if ${ac_cv_prog_DUMPBIN+:} false; then :
5477
$as_echo_n "(cached) " >&6
5479
if test -n "$DUMPBIN"; then
5480
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5482
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5486
test -z "$as_dir" && as_dir=.
5487
for ac_exec_ext in '' $ac_executable_extensions; do
5488
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5489
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5490
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5499
DUMPBIN=$ac_cv_prog_DUMPBIN
5500
if test -n "$DUMPBIN"; then
5501
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5502
$as_echo "$DUMPBIN" >&6; }
5504
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5505
$as_echo "no" >&6; }
5509
test -n "$DUMPBIN" && break
5512
if test -z "$DUMPBIN"; then
5513
ac_ct_DUMPBIN=$DUMPBIN
5514
for ac_prog in dumpbin "link -dump"
5516
# Extract the first word of "$ac_prog", so it can be a program name with args.
5517
set dummy $ac_prog; ac_word=$2
5518
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5519
$as_echo_n "checking for $ac_word... " >&6; }
5520
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5521
$as_echo_n "(cached) " >&6
5523
if test -n "$ac_ct_DUMPBIN"; then
5524
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5526
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5530
test -z "$as_dir" && as_dir=.
5531
for ac_exec_ext in '' $ac_executable_extensions; do
5532
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5533
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5534
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5543
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5544
if test -n "$ac_ct_DUMPBIN"; then
5545
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5546
$as_echo "$ac_ct_DUMPBIN" >&6; }
5548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5549
$as_echo "no" >&6; }
5553
test -n "$ac_ct_DUMPBIN" && break
5556
if test "x$ac_ct_DUMPBIN" = x; then
5559
case $cross_compiling:$ac_tool_warned in
5561
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5562
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5563
ac_tool_warned=yes ;;
5565
DUMPBIN=$ac_ct_DUMPBIN
5569
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5571
DUMPBIN="$DUMPBIN -symbols"
5579
if test "$DUMPBIN" != ":"; then
5583
test -z "$NM" && NM=nm
5590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5591
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5592
if ${lt_cv_nm_interface+:} false; then :
5593
$as_echo_n "(cached) " >&6
5595
lt_cv_nm_interface="BSD nm"
5596
echo "int some_variable = 0;" > conftest.$ac_ext
5597
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5598
(eval "$ac_compile" 2>conftest.err)
5599
cat conftest.err >&5
5600
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5601
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5602
cat conftest.err >&5
5603
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
5604
cat conftest.out >&5
5605
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5606
lt_cv_nm_interface="MS dumpbin"
5610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5611
$as_echo "$lt_cv_nm_interface" >&6; }
5613
# find the maximum length of command line arguments
5614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5615
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5616
if ${lt_cv_sys_max_cmd_len+:} false; then :
5617
$as_echo_n "(cached) " >&6
5624
# On DJGPP, this test can blow up pretty badly due to problems in libc
5625
# (any single argument exceeding 2000 bytes causes a buffer overrun
5626
# during glob expansion). Even if it were fixed, the result of this
5627
# check would be larger than it should be.
5628
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5632
# Under GNU Hurd, this test is not required because there is
5633
# no limit to the length of command line arguments.
5634
# Libtool will interpret -1 as no limit whatsoever
5635
lt_cv_sys_max_cmd_len=-1;
5638
cygwin* | mingw* | cegcc*)
5639
# On Win9x/ME, this test blows up -- it succeeds, but takes
5640
# about 5 minutes as the teststring grows exponentially.
5641
# Worse, since 9x/ME are not pre-emptively multitasking,
5642
# you end up with a "frozen" computer, even though with patience
5643
# the test eventually succeeds (with a max line length of 256k).
5644
# Instead, let's just punt: use the minimum linelength reported by
5645
# all of the supported platforms: 8192 (on NT/2K/XP).
5646
lt_cv_sys_max_cmd_len=8192;
5650
# On MiNT this can take a long time and run out of memory.
5651
lt_cv_sys_max_cmd_len=8192;
5655
# On AmigaOS with pdksh, this test takes hours, literally.
5656
# So we just punt and use a minimum line length of 8192.
5657
lt_cv_sys_max_cmd_len=8192;
5660
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5661
# This has been around since 386BSD, at least. Likely further.
5662
if test -x /sbin/sysctl; then
5663
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5664
elif test -x /usr/sbin/sysctl; then
5665
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5667
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5669
# And add a safety zone
5670
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5671
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5675
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5676
lt_cv_sys_max_cmd_len=196608
5680
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5681
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5682
# nice to cause kernel panics so lets avoid the loop below.
5683
# First set a reasonable default.
5684
lt_cv_sys_max_cmd_len=16384
5686
if test -x /sbin/sysconfig; then
5687
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5688
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5693
lt_cv_sys_max_cmd_len=102400
5695
sysv5* | sco5v6* | sysv4.2uw2*)
5696
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5697
if test -n "$kargmax"; then
5698
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5700
lt_cv_sys_max_cmd_len=32768
5704
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5705
if test -n "$lt_cv_sys_max_cmd_len"; then
5706
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5707
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5709
# Make teststring a little bigger before we do anything with it.
5710
# a 1K string should be a reasonable start.
5711
for i in 1 2 3 4 5 6 7 8 ; do
5712
teststring=$teststring$teststring
5714
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5715
# If test is not a shell built-in, we'll probably end up computing a
5716
# maximum length that is only half of the actual maximum length, but
5718
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5719
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
5720
test $i != 17 # 1/2 MB should be enough
5723
teststring=$teststring$teststring
5725
# Only check the string length outside the loop.
5726
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5728
# Add a significant safety factor because C++ compilers can tack on
5729
# massive amounts of additional arguments before passing them to the
5730
# linker. It appears as though 1/2 is a usable value.
5731
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5738
if test -n $lt_cv_sys_max_cmd_len ; then
5739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5740
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5742
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5743
$as_echo "none" >&6; }
5745
max_cmd_len=$lt_cv_sys_max_cmd_len
5756
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5757
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5758
# Try some XSI features
5761
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5763
&& eval 'test $(( 1 + 1 )) -eq 2 \
5764
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5767
$as_echo "$xsi_shell" >&6; }
5770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5771
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5773
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5775
&& lt_shell_append=yes
5776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5777
$as_echo "$lt_shell_append" >&6; }
5780
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5790
# test EBCDIC or ASCII
5791
case `echo X|tr X '\101'` in
5792
A) # ASCII based system
5793
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5794
lt_SP2NL='tr \040 \012'
5795
lt_NL2SP='tr \015\012 \040\040'
5797
*) # EBCDIC based system
5798
lt_SP2NL='tr \100 \n'
5799
lt_NL2SP='tr \r\n \100\100'
5811
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5812
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5813
if ${lt_cv_to_host_file_cmd+:} false; then :
5814
$as_echo_n "(cached) " >&6
5819
*-*-mingw* ) # actually msys
5820
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5823
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5825
* ) # otherwise, assume *nix
5826
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5832
*-*-mingw* ) # actually msys
5833
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5836
lt_cv_to_host_file_cmd=func_convert_file_noop
5838
* ) # otherwise, assume *nix
5839
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5843
* ) # unhandled hosts (and "normal" native builds)
5844
lt_cv_to_host_file_cmd=func_convert_file_noop
5850
to_host_file_cmd=$lt_cv_to_host_file_cmd
5851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5852
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5859
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5860
if ${lt_cv_to_tool_file_cmd+:} false; then :
5861
$as_echo_n "(cached) " >&6
5863
#assume ordinary cross tools, or native build.
5864
lt_cv_to_tool_file_cmd=func_convert_file_noop
5868
*-*-mingw* ) # actually msys
5869
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5877
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5878
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5879
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5886
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5887
if ${lt_cv_ld_reload_flag+:} false; then :
5888
$as_echo_n "(cached) " >&6
5890
lt_cv_ld_reload_flag='-r'
5892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5893
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5894
reload_flag=$lt_cv_ld_reload_flag
5895
case $reload_flag in
5897
*) reload_flag=" $reload_flag" ;;
5899
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5901
cygwin* | mingw* | pw32* | cegcc*)
5902
if test "$GCC" != yes; then
5907
if test "$GCC" = yes; then
5908
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5910
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5923
if test -n "$ac_tool_prefix"; then
5924
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5925
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5926
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5927
$as_echo_n "checking for $ac_word... " >&6; }
5928
if ${ac_cv_prog_OBJDUMP+:} false; then :
5929
$as_echo_n "(cached) " >&6
5931
if test -n "$OBJDUMP"; then
5932
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5934
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5938
test -z "$as_dir" && as_dir=.
5939
for ac_exec_ext in '' $ac_executable_extensions; do
5940
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5941
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5942
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5951
OBJDUMP=$ac_cv_prog_OBJDUMP
5952
if test -n "$OBJDUMP"; then
5953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5954
$as_echo "$OBJDUMP" >&6; }
5956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5957
$as_echo "no" >&6; }
5962
if test -z "$ac_cv_prog_OBJDUMP"; then
5963
ac_ct_OBJDUMP=$OBJDUMP
5964
# Extract the first word of "objdump", so it can be a program name with args.
5965
set dummy objdump; ac_word=$2
5966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5967
$as_echo_n "checking for $ac_word... " >&6; }
5968
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5969
$as_echo_n "(cached) " >&6
5971
if test -n "$ac_ct_OBJDUMP"; then
5972
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5974
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5978
test -z "$as_dir" && as_dir=.
5979
for ac_exec_ext in '' $ac_executable_extensions; do
5980
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5981
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5982
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5991
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5992
if test -n "$ac_ct_OBJDUMP"; then
5993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5994
$as_echo "$ac_ct_OBJDUMP" >&6; }
5996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5997
$as_echo "no" >&6; }
6000
if test "x$ac_ct_OBJDUMP" = x; then
6003
case $cross_compiling:$ac_tool_warned in
6005
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6006
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6007
ac_tool_warned=yes ;;
6009
OBJDUMP=$ac_ct_OBJDUMP
6012
OBJDUMP="$ac_cv_prog_OBJDUMP"
6015
test -z "$OBJDUMP" && OBJDUMP=objdump
6025
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6026
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6027
if ${lt_cv_deplibs_check_method+:} false; then :
6028
$as_echo_n "(cached) " >&6
6030
lt_cv_file_magic_cmd='$MAGIC_CMD'
6031
lt_cv_file_magic_test_file=
6032
lt_cv_deplibs_check_method='unknown'
6033
# Need to set the preceding variable on all platforms that support
6034
# interlibrary dependencies.
6035
# 'none' -- dependencies not supported.
6036
# `unknown' -- same as none, but documents that we really don't know.
6037
# 'pass_all' -- all dependencies passed with no checks.
6038
# 'test_compile' -- check by making test program.
6039
# 'file_magic [[regex]]' -- check by looking for files in library path
6040
# which responds to the $file_magic_cmd with a given extended regex.
6041
# If you have `file' or equivalent on your system and you're not sure
6042
# whether `pass_all' will *always* work, you probably want this one.
6046
lt_cv_deplibs_check_method=pass_all
6050
lt_cv_deplibs_check_method=pass_all
6054
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6055
lt_cv_file_magic_cmd='/usr/bin/file -L'
6056
lt_cv_file_magic_test_file=/shlib/libc.so
6060
# func_win32_libid is a shell function defined in ltmain.sh
6061
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6062
lt_cv_file_magic_cmd='func_win32_libid'
6066
# Base MSYS/MinGW do not provide the 'file' command needed by
6067
# func_win32_libid shell function, so use a weaker test based on 'objdump',
6068
# unless we find 'file', for example because we are cross-compiling.
6069
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6070
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6071
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6072
lt_cv_file_magic_cmd='func_win32_libid'
6074
# Keep this pattern in sync with the one in func_win32_libid.
6075
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6076
lt_cv_file_magic_cmd='$OBJDUMP -f'
6081
# use the weaker test based on 'objdump'. See mingw*.
6082
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6083
lt_cv_file_magic_cmd='$OBJDUMP -f'
6086
darwin* | rhapsody*)
6087
lt_cv_deplibs_check_method=pass_all
6090
freebsd* | dragonfly*)
6091
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6094
# Not sure whether the presence of OpenBSD here was a mistake.
6095
# Let's accept both of them until this is cleared up.
6096
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6097
lt_cv_file_magic_cmd=/usr/bin/file
6098
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6102
lt_cv_deplibs_check_method=pass_all
6107
lt_cv_deplibs_check_method=pass_all
6111
lt_cv_deplibs_check_method=pass_all
6114
hpux10.20* | hpux11*)
6115
lt_cv_file_magic_cmd=/usr/bin/file
6118
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6119
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6122
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6123
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6126
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6127
lt_cv_file_magic_test_file=/usr/lib/libc.sl
6133
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6134
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6137
irix5* | irix6* | nonstopux*)
6139
*-32|*"-32 ") libmagic=32-bit;;
6140
*-n32|*"-n32 ") libmagic=N32;;
6141
*-64|*"-64 ") libmagic=64-bit;;
6142
*) libmagic=never-match;;
6144
lt_cv_deplibs_check_method=pass_all
6147
# This must be Linux ELF.
6148
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6149
lt_cv_deplibs_check_method=pass_all
6152
netbsd* | netbsdelf*-gnu)
6153
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6154
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6156
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6161
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6162
lt_cv_file_magic_cmd=/usr/bin/file
6163
lt_cv_file_magic_test_file=/usr/lib/libnls.so
6167
lt_cv_deplibs_check_method=pass_all
6171
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6172
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6174
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6178
osf3* | osf4* | osf5*)
6179
lt_cv_deplibs_check_method=pass_all
6183
lt_cv_deplibs_check_method=pass_all
6187
lt_cv_deplibs_check_method=pass_all
6190
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6191
lt_cv_deplibs_check_method=pass_all
6195
case $host_vendor in
6197
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]'
6198
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6201
lt_cv_deplibs_check_method=pass_all
6204
lt_cv_file_magic_cmd='/bin/file'
6205
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6208
lt_cv_file_magic_cmd='/bin/file'
6209
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6210
lt_cv_file_magic_test_file=/lib/libc.so
6213
lt_cv_deplibs_check_method=pass_all
6216
lt_cv_deplibs_check_method=pass_all
6222
lt_cv_deplibs_check_method=pass_all
6227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6228
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6232
if test "$build" = "$host"; then
6235
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6238
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6244
file_magic_cmd=$lt_cv_file_magic_cmd
6245
deplibs_check_method=$lt_cv_deplibs_check_method
6246
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6269
if test -n "$ac_tool_prefix"; then
6270
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6271
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6272
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6273
$as_echo_n "checking for $ac_word... " >&6; }
6274
if ${ac_cv_prog_DLLTOOL+:} false; then :
6275
$as_echo_n "(cached) " >&6
6277
if test -n "$DLLTOOL"; then
6278
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6280
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6284
test -z "$as_dir" && as_dir=.
6285
for ac_exec_ext in '' $ac_executable_extensions; do
6286
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6287
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6288
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297
DLLTOOL=$ac_cv_prog_DLLTOOL
6298
if test -n "$DLLTOOL"; then
6299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6300
$as_echo "$DLLTOOL" >&6; }
6302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6303
$as_echo "no" >&6; }
6308
if test -z "$ac_cv_prog_DLLTOOL"; then
6309
ac_ct_DLLTOOL=$DLLTOOL
6310
# Extract the first word of "dlltool", so it can be a program name with args.
6311
set dummy dlltool; ac_word=$2
6312
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6313
$as_echo_n "checking for $ac_word... " >&6; }
6314
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6315
$as_echo_n "(cached) " >&6
6317
if test -n "$ac_ct_DLLTOOL"; then
6318
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6320
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6324
test -z "$as_dir" && as_dir=.
6325
for ac_exec_ext in '' $ac_executable_extensions; do
6326
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6327
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6328
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6337
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6338
if test -n "$ac_ct_DLLTOOL"; then
6339
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6340
$as_echo "$ac_ct_DLLTOOL" >&6; }
6342
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6343
$as_echo "no" >&6; }
6346
if test "x$ac_ct_DLLTOOL" = x; then
6349
case $cross_compiling:$ac_tool_warned in
6351
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6352
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6353
ac_tool_warned=yes ;;
6355
DLLTOOL=$ac_ct_DLLTOOL
6358
DLLTOOL="$ac_cv_prog_DLLTOOL"
6361
test -z "$DLLTOOL" && DLLTOOL=dlltool
6372
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6373
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6374
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6375
$as_echo_n "(cached) " >&6
6377
lt_cv_sharedlib_from_linklib_cmd='unknown'
6380
cygwin* | mingw* | pw32* | cegcc*)
6381
# two different shell functions defined in ltmain.sh
6382
# decide which to use based on capabilities of $DLLTOOL
6383
case `$DLLTOOL --help 2>&1` in
6384
*--identify-strict*)
6385
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6388
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6393
# fallback: assume linklib IS sharedlib
6394
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6399
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6400
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6401
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6402
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6411
if test -n "$ac_tool_prefix"; then
6414
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6415
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6417
$as_echo_n "checking for $ac_word... " >&6; }
6418
if ${ac_cv_prog_AR+:} false; then :
6419
$as_echo_n "(cached) " >&6
6421
if test -n "$AR"; then
6422
ac_cv_prog_AR="$AR" # Let the user override the test.
6424
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6428
test -z "$as_dir" && as_dir=.
6429
for ac_exec_ext in '' $ac_executable_extensions; do
6430
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6431
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6432
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6442
if test -n "$AR"; then
6443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6444
$as_echo "$AR" >&6; }
6446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6447
$as_echo "no" >&6; }
6451
test -n "$AR" && break
6454
if test -z "$AR"; then
6458
# Extract the first word of "$ac_prog", so it can be a program name with args.
6459
set dummy $ac_prog; ac_word=$2
6460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6461
$as_echo_n "checking for $ac_word... " >&6; }
6462
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6463
$as_echo_n "(cached) " >&6
6465
if test -n "$ac_ct_AR"; then
6466
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6468
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6472
test -z "$as_dir" && as_dir=.
6473
for ac_exec_ext in '' $ac_executable_extensions; do
6474
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6475
ac_cv_prog_ac_ct_AR="$ac_prog"
6476
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6485
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6486
if test -n "$ac_ct_AR"; then
6487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6488
$as_echo "$ac_ct_AR" >&6; }
6490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6491
$as_echo "no" >&6; }
6495
test -n "$ac_ct_AR" && break
6498
if test "x$ac_ct_AR" = x; then
6501
case $cross_compiling:$ac_tool_warned in
6503
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6504
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6505
ac_tool_warned=yes ;;
6524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6525
$as_echo_n "checking for archiver @FILE support... " >&6; }
6526
if ${lt_cv_ar_at_file+:} false; then :
6527
$as_echo_n "(cached) " >&6
6530
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6531
/* end confdefs.h. */
6541
if ac_fn_c_try_compile "$LINENO"; then :
6542
echo conftest.$ac_objext > conftest.lst
6543
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6544
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6545
(eval $lt_ar_try) 2>&5
6547
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6548
test $ac_status = 0; }
6549
if test "$ac_status" -eq 0; then
6550
# Ensure the archiver fails upon bogus file names.
6551
rm -f conftest.$ac_objext libconftest.a
6552
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6553
(eval $lt_ar_try) 2>&5
6555
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6556
test $ac_status = 0; }
6557
if test "$ac_status" -ne 0; then
6561
rm -f conftest.* libconftest.a
6564
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6567
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6568
$as_echo "$lt_cv_ar_at_file" >&6; }
6570
if test "x$lt_cv_ar_at_file" = xno; then
6573
archiver_list_spec=$lt_cv_ar_at_file
6582
if test -n "$ac_tool_prefix"; then
6583
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6584
set dummy ${ac_tool_prefix}strip; ac_word=$2
6585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6586
$as_echo_n "checking for $ac_word... " >&6; }
6587
if ${ac_cv_prog_STRIP+:} false; then :
6588
$as_echo_n "(cached) " >&6
6590
if test -n "$STRIP"; then
6591
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6593
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6597
test -z "$as_dir" && as_dir=.
6598
for ac_exec_ext in '' $ac_executable_extensions; do
6599
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6600
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6601
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6610
STRIP=$ac_cv_prog_STRIP
6611
if test -n "$STRIP"; then
6612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6613
$as_echo "$STRIP" >&6; }
6615
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6616
$as_echo "no" >&6; }
6621
if test -z "$ac_cv_prog_STRIP"; then
6623
# Extract the first word of "strip", so it can be a program name with args.
6624
set dummy strip; ac_word=$2
6625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6626
$as_echo_n "checking for $ac_word... " >&6; }
6627
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6628
$as_echo_n "(cached) " >&6
6630
if test -n "$ac_ct_STRIP"; then
6631
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6633
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6637
test -z "$as_dir" && as_dir=.
6638
for ac_exec_ext in '' $ac_executable_extensions; do
6639
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6640
ac_cv_prog_ac_ct_STRIP="strip"
6641
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6650
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6651
if test -n "$ac_ct_STRIP"; then
6652
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6653
$as_echo "$ac_ct_STRIP" >&6; }
6655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6656
$as_echo "no" >&6; }
6659
if test "x$ac_ct_STRIP" = x; then
6662
case $cross_compiling:$ac_tool_warned in
6664
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6665
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6666
ac_tool_warned=yes ;;
6671
STRIP="$ac_cv_prog_STRIP"
6674
test -z "$STRIP" && STRIP=:
6681
if test -n "$ac_tool_prefix"; then
6682
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6683
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6684
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6685
$as_echo_n "checking for $ac_word... " >&6; }
6686
if ${ac_cv_prog_RANLIB+:} false; then :
6687
$as_echo_n "(cached) " >&6
6689
if test -n "$RANLIB"; then
6690
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6692
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696
test -z "$as_dir" && as_dir=.
6697
for ac_exec_ext in '' $ac_executable_extensions; do
6698
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6699
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6700
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6709
RANLIB=$ac_cv_prog_RANLIB
6710
if test -n "$RANLIB"; then
6711
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6712
$as_echo "$RANLIB" >&6; }
6714
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715
$as_echo "no" >&6; }
6720
if test -z "$ac_cv_prog_RANLIB"; then
6721
ac_ct_RANLIB=$RANLIB
6722
# Extract the first word of "ranlib", so it can be a program name with args.
6723
set dummy ranlib; ac_word=$2
6724
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6725
$as_echo_n "checking for $ac_word... " >&6; }
6726
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6727
$as_echo_n "(cached) " >&6
6729
if test -n "$ac_ct_RANLIB"; then
6730
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6732
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6736
test -z "$as_dir" && as_dir=.
6737
for ac_exec_ext in '' $ac_executable_extensions; do
6738
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6739
ac_cv_prog_ac_ct_RANLIB="ranlib"
6740
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6749
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6750
if test -n "$ac_ct_RANLIB"; then
6751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6752
$as_echo "$ac_ct_RANLIB" >&6; }
6754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6755
$as_echo "no" >&6; }
6758
if test "x$ac_ct_RANLIB" = x; then
6761
case $cross_compiling:$ac_tool_warned in
6763
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6764
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6765
ac_tool_warned=yes ;;
6767
RANLIB=$ac_ct_RANLIB
6770
RANLIB="$ac_cv_prog_RANLIB"
6773
test -z "$RANLIB" && RANLIB=:
6780
# Determine commands to create old-style static archives.
6781
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6782
old_postinstall_cmds='chmod 644 $oldlib'
6783
old_postuninstall_cmds=
6785
if test -n "$RANLIB"; then
6788
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6791
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6794
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6799
lock_old_archive_extraction=yes ;;
6801
lock_old_archive_extraction=no ;;
6842
# If no C compiler was specified, use CC.
6845
# If no C compiler flags were specified, use CFLAGS.
6846
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6848
# Allow CC to be a program name with arguments.
6852
# Check for command to grab the raw symbol name followed by C symbol from nm.
6853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6854
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6855
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6856
$as_echo_n "(cached) " >&6
6859
# These are sane defaults that work on at least a few old systems.
6860
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6862
# Character class describing NM global symbol codes.
6863
symcode='[BCDEGRST]'
6865
# Regexp to match symbols that can be accessed directly from C.
6866
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6868
# Define system-specific variables.
6873
cygwin* | mingw* | pw32* | cegcc*)
6874
symcode='[ABCDGISTW]'
6877
if test "$host_cpu" = ia64; then
6878
symcode='[ABCDEGRST]'
6882
symcode='[BCDEGRST]'
6885
symcode='[BCDEGQRST]'
6896
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6904
# If we're using GNU nm, then use its standard symbol codes.
6905
case `$NM -V 2>&1` in
6906
*GNU* | *'with BFD'*)
6907
symcode='[ABCDGIRSTW]' ;;
6910
# Transform an extracted symbol line into a proper C declaration.
6911
# Some systems (esp. on ia64) link data and code symbols differently,
6912
# so use this general approach.
6913
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6915
# Transform an extracted symbol line into symbol name and symbol address
6916
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6917
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'"
6919
# Handle CRLF in mingw tool chain
6923
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6927
# Try without a prefix underscore, then with it.
6928
for ac_symprfx in "" "_"; do
6930
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6931
symxfrm="\\1 $ac_symprfx\\2 \\2"
6933
# Write the raw and C identifiers.
6934
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6935
# Fake it for dumpbin and say T for any non-static function
6936
# and D for any global variable.
6937
# Also find C++ and __fastcall symbols from MSVC++,
6938
# which start with @ or ?.
6939
lt_cv_sys_global_symbol_pipe="$AWK '"\
6940
" {last_section=section; section=\$ 3};"\
6941
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6942
" \$ 0!~/External *\|/{next};"\
6943
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6944
" {if(hide[section]) next};"\
6945
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6946
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6947
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6948
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6949
" ' prfx=^$ac_symprfx"
6951
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6953
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6955
# Check to see that the pipe works correctly.
6959
cat > conftest.$ac_ext <<_LT_EOF
6964
void nm_test_func(void);
6965
void nm_test_func(void){}
6969
int main(){nm_test_var='a';nm_test_func();return(0);}
6972
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6973
(eval $ac_compile) 2>&5
6975
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6976
test $ac_status = 0; }; then
6977
# Now try to grab the symbols.
6979
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6980
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6982
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6983
test $ac_status = 0; } && test -s "$nlist"; then
6984
# Try sorting and uniquifying the output.
6985
if sort "$nlist" | uniq > "$nlist"T; then
6986
mv -f "$nlist"T "$nlist"
6991
# Make sure that we snagged all the symbols we need.
6992
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6993
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6994
cat <<_LT_EOF > conftest.$ac_ext
6995
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6996
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6997
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6998
relocations are performed -- see ld's documentation on pseudo-relocs. */
6999
# define LT_DLSYM_CONST
7000
#elif defined(__osf__)
7001
/* This system does not cope well with relocations in const data. */
7002
# define LT_DLSYM_CONST
7004
# define LT_DLSYM_CONST const
7012
# Now generate the symbol file.
7013
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7015
cat <<_LT_EOF >> conftest.$ac_ext
7017
/* The mapping between symbol names and symbols. */
7018
LT_DLSYM_CONST struct {
7022
lt__PROGRAM__LTX_preloaded_symbols[] =
7024
{ "@PROGRAM@", (void *) 0 },
7026
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7027
cat <<\_LT_EOF >> conftest.$ac_ext
7031
/* This works around a problem in FreeBSD linker */
7032
#ifdef FREEBSD_WORKAROUND
7033
static const void *lt_preloaded_setup() {
7034
return lt__PROGRAM__LTX_preloaded_symbols;
7042
# Now try linking the two files.
7043
mv conftest.$ac_objext conftstm.$ac_objext
7044
lt_globsym_save_LIBS=$LIBS
7045
lt_globsym_save_CFLAGS=$CFLAGS
7046
LIBS="conftstm.$ac_objext"
7047
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7048
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7049
(eval $ac_link) 2>&5
7051
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7052
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7055
LIBS=$lt_globsym_save_LIBS
7056
CFLAGS=$lt_globsym_save_CFLAGS
7058
echo "cannot find nm_test_func in $nlist" >&5
7061
echo "cannot find nm_test_var in $nlist" >&5
7064
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7067
echo "$progname: failed program was:" >&5
7068
cat conftest.$ac_ext >&5
7070
rm -rf conftest* conftst*
7072
# Do not use the global_symbol_pipe unless it works.
7073
if test "$pipe_works" = yes; then
7076
lt_cv_sys_global_symbol_pipe=
7082
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7083
lt_cv_sys_global_symbol_to_cdecl=
7085
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7087
$as_echo "failed" >&6; }
7089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7090
$as_echo "ok" >&6; }
7093
# Response file support.
7094
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7095
nm_file_list_spec='@'
7096
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7097
nm_file_list_spec='@'
7126
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7127
$as_echo_n "checking for sysroot... " >&6; }
7129
# Check whether --with-sysroot was given.
7130
if test "${with_sysroot+set}" = set; then :
7131
withval=$with_sysroot;
7138
case ${with_sysroot} in #(
7140
if test "$GCC" = yes; then
7141
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7145
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7150
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7151
$as_echo "${with_sysroot}" >&6; }
7152
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7157
$as_echo "${lt_sysroot:-no}" >&6; }
7163
# Check whether --enable-libtool-lock was given.
7164
if test "${enable_libtool_lock+set}" = set; then :
7165
enableval=$enable_libtool_lock;
7168
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7170
# Some flags need to be propagated to the compiler or linker for good
7174
# Find out which ABI we are using.
7175
echo 'int i;' > conftest.$ac_ext
7176
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7177
(eval $ac_compile) 2>&5
7179
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7180
test $ac_status = 0; }; then
7181
case `/usr/bin/file conftest.$ac_objext` in
7193
# Find out which ABI we are using.
7194
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7195
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7196
(eval $ac_compile) 2>&5
7198
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7199
test $ac_status = 0; }; then
7200
if test "$lt_cv_prog_gnu_ld" = yes; then
7201
case `/usr/bin/file conftest.$ac_objext` in
7203
LD="${LD-ld} -melf32bsmip"
7206
LD="${LD-ld} -melf32bmipn32"
7209
LD="${LD-ld} -melf64bmip"
7213
case `/usr/bin/file conftest.$ac_objext` in
7229
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7230
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7231
# Find out which ABI we are using.
7232
echo 'int i;' > conftest.$ac_ext
7233
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7234
(eval $ac_compile) 2>&5
7236
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7237
test $ac_status = 0; }; then
7238
case `/usr/bin/file conftest.o` in
7241
x86_64-*kfreebsd*-gnu)
7242
LD="${LD-ld} -m elf_i386_fbsd"
7245
LD="${LD-ld} -m elf_i386"
7247
ppc64-*linux*|powerpc64-*linux*)
7248
LD="${LD-ld} -m elf32ppclinux"
7251
LD="${LD-ld} -m elf_s390"
7254
LD="${LD-ld} -m elf32_sparc"
7260
x86_64-*kfreebsd*-gnu)
7261
LD="${LD-ld} -m elf_x86_64_fbsd"
7264
LD="${LD-ld} -m elf_x86_64"
7266
ppc*-*linux*|powerpc*-*linux*)
7267
LD="${LD-ld} -m elf64ppc"
7269
s390*-*linux*|s390*-*tpf*)
7270
LD="${LD-ld} -m elf64_s390"
7273
LD="${LD-ld} -m elf64_sparc"
7283
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
7284
SAVE_CFLAGS="$CFLAGS"
7285
CFLAGS="$CFLAGS -belf"
7286
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7287
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7288
if ${lt_cv_cc_needs_belf+:} false; then :
7289
$as_echo_n "(cached) " >&6
7292
ac_cpp='$CPP $CPPFLAGS'
7293
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7294
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7295
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7297
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7298
/* end confdefs.h. */
7308
if ac_fn_c_try_link "$LINENO"; then :
7309
lt_cv_cc_needs_belf=yes
7311
lt_cv_cc_needs_belf=no
7313
rm -f core conftest.err conftest.$ac_objext \
7314
conftest$ac_exeext conftest.$ac_ext
7316
ac_cpp='$CPP $CPPFLAGS'
7317
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7318
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7319
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7322
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7323
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7324
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7325
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7326
CFLAGS="$SAVE_CFLAGS"
7330
# Find out which ABI we are using.
7331
echo 'int i;' > conftest.$ac_ext
7332
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7333
(eval $ac_compile) 2>&5
7335
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7336
test $ac_status = 0; }; then
7337
case `/usr/bin/file conftest.o` in
7339
case $lt_cv_prog_gnu_ld in
7340
yes*) LD="${LD-ld} -m elf64_sparc" ;;
7342
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7354
need_locks="$enable_libtool_lock"
7356
if test -n "$ac_tool_prefix"; then
7357
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7358
set dummy ${ac_tool_prefix}mt; ac_word=$2
7359
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7360
$as_echo_n "checking for $ac_word... " >&6; }
7361
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7362
$as_echo_n "(cached) " >&6
7364
if test -n "$MANIFEST_TOOL"; then
7365
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7367
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371
test -z "$as_dir" && as_dir=.
7372
for ac_exec_ext in '' $ac_executable_extensions; do
7373
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7374
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7375
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7384
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7385
if test -n "$MANIFEST_TOOL"; then
7386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7387
$as_echo "$MANIFEST_TOOL" >&6; }
7389
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7390
$as_echo "no" >&6; }
7395
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7396
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7397
# Extract the first word of "mt", so it can be a program name with args.
7398
set dummy mt; ac_word=$2
7399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7400
$as_echo_n "checking for $ac_word... " >&6; }
7401
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7402
$as_echo_n "(cached) " >&6
7404
if test -n "$ac_ct_MANIFEST_TOOL"; then
7405
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7407
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411
test -z "$as_dir" && as_dir=.
7412
for ac_exec_ext in '' $ac_executable_extensions; do
7413
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7414
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7415
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7424
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7425
if test -n "$ac_ct_MANIFEST_TOOL"; then
7426
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7427
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7429
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7430
$as_echo "no" >&6; }
7433
if test "x$ac_ct_MANIFEST_TOOL" = x; then
7436
case $cross_compiling:$ac_tool_warned in
7438
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7439
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7440
ac_tool_warned=yes ;;
7442
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7445
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7448
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7450
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7451
if ${lt_cv_path_mainfest_tool+:} false; then :
7452
$as_echo_n "(cached) " >&6
7454
lt_cv_path_mainfest_tool=no
7455
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7456
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7457
cat conftest.err >&5
7458
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7459
lt_cv_path_mainfest_tool=yes
7463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7464
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7465
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7475
rhapsody* | darwin*)
7476
if test -n "$ac_tool_prefix"; then
7477
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7478
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7479
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7480
$as_echo_n "checking for $ac_word... " >&6; }
7481
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7482
$as_echo_n "(cached) " >&6
7484
if test -n "$DSYMUTIL"; then
7485
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7487
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7491
test -z "$as_dir" && as_dir=.
7492
for ac_exec_ext in '' $ac_executable_extensions; do
7493
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7494
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7495
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7504
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7505
if test -n "$DSYMUTIL"; then
7506
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7507
$as_echo "$DSYMUTIL" >&6; }
7509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7510
$as_echo "no" >&6; }
7515
if test -z "$ac_cv_prog_DSYMUTIL"; then
7516
ac_ct_DSYMUTIL=$DSYMUTIL
7517
# Extract the first word of "dsymutil", so it can be a program name with args.
7518
set dummy dsymutil; ac_word=$2
7519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7520
$as_echo_n "checking for $ac_word... " >&6; }
7521
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7522
$as_echo_n "(cached) " >&6
7524
if test -n "$ac_ct_DSYMUTIL"; then
7525
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7527
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7531
test -z "$as_dir" && as_dir=.
7532
for ac_exec_ext in '' $ac_executable_extensions; do
7533
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7534
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7535
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7544
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7545
if test -n "$ac_ct_DSYMUTIL"; then
7546
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7547
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7549
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7550
$as_echo "no" >&6; }
7553
if test "x$ac_ct_DSYMUTIL" = x; then
7556
case $cross_compiling:$ac_tool_warned in
7558
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7559
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7560
ac_tool_warned=yes ;;
7562
DSYMUTIL=$ac_ct_DSYMUTIL
7565
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7568
if test -n "$ac_tool_prefix"; then
7569
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7570
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7572
$as_echo_n "checking for $ac_word... " >&6; }
7573
if ${ac_cv_prog_NMEDIT+:} false; then :
7574
$as_echo_n "(cached) " >&6
7576
if test -n "$NMEDIT"; then
7577
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7579
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7583
test -z "$as_dir" && as_dir=.
7584
for ac_exec_ext in '' $ac_executable_extensions; do
7585
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7586
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7587
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7596
NMEDIT=$ac_cv_prog_NMEDIT
7597
if test -n "$NMEDIT"; then
7598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7599
$as_echo "$NMEDIT" >&6; }
7601
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7602
$as_echo "no" >&6; }
7607
if test -z "$ac_cv_prog_NMEDIT"; then
7608
ac_ct_NMEDIT=$NMEDIT
7609
# Extract the first word of "nmedit", so it can be a program name with args.
7610
set dummy nmedit; ac_word=$2
7611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7612
$as_echo_n "checking for $ac_word... " >&6; }
7613
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7614
$as_echo_n "(cached) " >&6
7616
if test -n "$ac_ct_NMEDIT"; then
7617
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7619
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7623
test -z "$as_dir" && as_dir=.
7624
for ac_exec_ext in '' $ac_executable_extensions; do
7625
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7626
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7627
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7636
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7637
if test -n "$ac_ct_NMEDIT"; then
7638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7639
$as_echo "$ac_ct_NMEDIT" >&6; }
7641
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7642
$as_echo "no" >&6; }
7645
if test "x$ac_ct_NMEDIT" = x; then
7648
case $cross_compiling:$ac_tool_warned in
7650
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7651
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7652
ac_tool_warned=yes ;;
7654
NMEDIT=$ac_ct_NMEDIT
7657
NMEDIT="$ac_cv_prog_NMEDIT"
7660
if test -n "$ac_tool_prefix"; then
7661
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7662
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7663
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7664
$as_echo_n "checking for $ac_word... " >&6; }
7665
if ${ac_cv_prog_LIPO+:} false; then :
7666
$as_echo_n "(cached) " >&6
7668
if test -n "$LIPO"; then
7669
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7671
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7675
test -z "$as_dir" && as_dir=.
7676
for ac_exec_ext in '' $ac_executable_extensions; do
7677
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7678
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7679
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7688
LIPO=$ac_cv_prog_LIPO
7689
if test -n "$LIPO"; then
7690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7691
$as_echo "$LIPO" >&6; }
7693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7694
$as_echo "no" >&6; }
7699
if test -z "$ac_cv_prog_LIPO"; then
7701
# Extract the first word of "lipo", so it can be a program name with args.
7702
set dummy lipo; ac_word=$2
7703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7704
$as_echo_n "checking for $ac_word... " >&6; }
7705
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7706
$as_echo_n "(cached) " >&6
7708
if test -n "$ac_ct_LIPO"; then
7709
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7711
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7715
test -z "$as_dir" && as_dir=.
7716
for ac_exec_ext in '' $ac_executable_extensions; do
7717
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7718
ac_cv_prog_ac_ct_LIPO="lipo"
7719
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7728
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7729
if test -n "$ac_ct_LIPO"; then
7730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7731
$as_echo "$ac_ct_LIPO" >&6; }
7733
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7734
$as_echo "no" >&6; }
7737
if test "x$ac_ct_LIPO" = x; then
7740
case $cross_compiling:$ac_tool_warned in
7742
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7743
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7744
ac_tool_warned=yes ;;
7749
LIPO="$ac_cv_prog_LIPO"
7752
if test -n "$ac_tool_prefix"; then
7753
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7754
set dummy ${ac_tool_prefix}otool; ac_word=$2
7755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7756
$as_echo_n "checking for $ac_word... " >&6; }
7757
if ${ac_cv_prog_OTOOL+:} false; then :
7758
$as_echo_n "(cached) " >&6
7760
if test -n "$OTOOL"; then
7761
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7763
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7767
test -z "$as_dir" && as_dir=.
7768
for ac_exec_ext in '' $ac_executable_extensions; do
7769
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7770
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7771
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7780
OTOOL=$ac_cv_prog_OTOOL
7781
if test -n "$OTOOL"; then
7782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7783
$as_echo "$OTOOL" >&6; }
7785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7786
$as_echo "no" >&6; }
7791
if test -z "$ac_cv_prog_OTOOL"; then
7793
# Extract the first word of "otool", so it can be a program name with args.
7794
set dummy otool; ac_word=$2
7795
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7796
$as_echo_n "checking for $ac_word... " >&6; }
7797
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7798
$as_echo_n "(cached) " >&6
7800
if test -n "$ac_ct_OTOOL"; then
7801
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7803
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7807
test -z "$as_dir" && as_dir=.
7808
for ac_exec_ext in '' $ac_executable_extensions; do
7809
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7810
ac_cv_prog_ac_ct_OTOOL="otool"
7811
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7820
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7821
if test -n "$ac_ct_OTOOL"; then
7822
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7823
$as_echo "$ac_ct_OTOOL" >&6; }
7825
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7826
$as_echo "no" >&6; }
7829
if test "x$ac_ct_OTOOL" = x; then
7832
case $cross_compiling:$ac_tool_warned in
7834
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7835
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7836
ac_tool_warned=yes ;;
7841
OTOOL="$ac_cv_prog_OTOOL"
7844
if test -n "$ac_tool_prefix"; then
7845
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7846
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7848
$as_echo_n "checking for $ac_word... " >&6; }
7849
if ${ac_cv_prog_OTOOL64+:} false; then :
7850
$as_echo_n "(cached) " >&6
7852
if test -n "$OTOOL64"; then
7853
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7855
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7859
test -z "$as_dir" && as_dir=.
7860
for ac_exec_ext in '' $ac_executable_extensions; do
7861
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7862
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7863
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7872
OTOOL64=$ac_cv_prog_OTOOL64
7873
if test -n "$OTOOL64"; then
7874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7875
$as_echo "$OTOOL64" >&6; }
7877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7878
$as_echo "no" >&6; }
7883
if test -z "$ac_cv_prog_OTOOL64"; then
7884
ac_ct_OTOOL64=$OTOOL64
7885
# Extract the first word of "otool64", so it can be a program name with args.
7886
set dummy otool64; ac_word=$2
7887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7888
$as_echo_n "checking for $ac_word... " >&6; }
7889
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7890
$as_echo_n "(cached) " >&6
7892
if test -n "$ac_ct_OTOOL64"; then
7893
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7895
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7899
test -z "$as_dir" && as_dir=.
7900
for ac_exec_ext in '' $ac_executable_extensions; do
7901
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7902
ac_cv_prog_ac_ct_OTOOL64="otool64"
7903
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7912
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7913
if test -n "$ac_ct_OTOOL64"; then
7914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7915
$as_echo "$ac_ct_OTOOL64" >&6; }
7917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7918
$as_echo "no" >&6; }
7921
if test "x$ac_ct_OTOOL64" = x; then
7924
case $cross_compiling:$ac_tool_warned in
7926
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7927
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7928
ac_tool_warned=yes ;;
7930
OTOOL64=$ac_ct_OTOOL64
7933
OTOOL64="$ac_cv_prog_OTOOL64"
7962
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7963
$as_echo_n "checking for -single_module linker flag... " >&6; }
7964
if ${lt_cv_apple_cc_single_mod+:} false; then :
7965
$as_echo_n "(cached) " >&6
7967
lt_cv_apple_cc_single_mod=no
7968
if test -z "${LT_MULTI_MODULE}"; then
7969
# By default we will add the -single_module flag. You can override
7970
# by either setting the environment variable LT_MULTI_MODULE
7971
# non-empty at configure time, or by adding -multi_module to the
7973
rm -rf libconftest.dylib*
7974
echo "int foo(void){return 1;}" > conftest.c
7975
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7976
-dynamiclib -Wl,-single_module conftest.c" >&5
7977
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7978
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7980
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7981
lt_cv_apple_cc_single_mod=yes
7983
cat conftest.err >&5
7985
rm -rf libconftest.dylib*
7989
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7990
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7991
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7992
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7993
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7994
$as_echo_n "(cached) " >&6
7996
lt_cv_ld_exported_symbols_list=no
7997
save_LDFLAGS=$LDFLAGS
7998
echo "_main" > conftest.sym
7999
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8000
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8001
/* end confdefs.h. */
8011
if ac_fn_c_try_link "$LINENO"; then :
8012
lt_cv_ld_exported_symbols_list=yes
8014
lt_cv_ld_exported_symbols_list=no
8016
rm -f core conftest.err conftest.$ac_objext \
8017
conftest$ac_exeext conftest.$ac_ext
8018
LDFLAGS="$save_LDFLAGS"
8021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8022
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8023
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8024
$as_echo_n "checking for -force_load linker flag... " >&6; }
8025
if ${lt_cv_ld_force_load+:} false; then :
8026
$as_echo_n "(cached) " >&6
8028
lt_cv_ld_force_load=no
8029
cat > conftest.c << _LT_EOF
8030
int forced_loaded() { return 2;}
8032
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8033
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8034
echo "$AR cru libconftest.a conftest.o" >&5
8035
$AR cru libconftest.a conftest.o 2>&5
8036
echo "$RANLIB libconftest.a" >&5
8037
$RANLIB libconftest.a 2>&5
8038
cat > conftest.c << _LT_EOF
8039
int main() { return 0;}
8041
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8042
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8044
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8045
lt_cv_ld_force_load=yes
8047
cat conftest.err >&5
8049
rm -f conftest.err libconftest.a conftest conftest.c
8050
rm -rf conftest.dSYM
8053
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8054
$as_echo "$lt_cv_ld_force_load" >&6; }
8056
rhapsody* | darwin1.[012])
8057
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8059
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8060
darwin*) # darwin 5.x on
8061
# if running on 10.5 or later, the deployment target defaults
8062
# to the OS version, if on x86, and 10.4, the deployment
8063
# target defaults to 10.4. Don't you love it?
8064
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8065
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8066
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8068
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8070
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8074
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8075
_lt_dar_single_mod='$single_module'
8077
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8078
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8080
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8082
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8083
_lt_dsymutil='~$DSYMUTIL $lib || :'
8091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8092
$as_echo_n "checking for ANSI C header files... " >&6; }
8093
if ${ac_cv_header_stdc+:} false; then :
8094
$as_echo_n "(cached) " >&6
8096
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8097
/* end confdefs.h. */
8111
if ac_fn_c_try_compile "$LINENO"; then :
8112
ac_cv_header_stdc=yes
8114
ac_cv_header_stdc=no
8116
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8118
if test $ac_cv_header_stdc = yes; then
8119
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8120
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8121
/* end confdefs.h. */
8125
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8126
$EGREP "memchr" >/dev/null 2>&1; then :
8129
ac_cv_header_stdc=no
8135
if test $ac_cv_header_stdc = yes; then
8136
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8137
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8138
/* end confdefs.h. */
8142
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8143
$EGREP "free" >/dev/null 2>&1; then :
8146
ac_cv_header_stdc=no
8152
if test $ac_cv_header_stdc = yes; then
8153
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8154
if test "$cross_compiling" = yes; then :
8157
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8158
/* end confdefs.h. */
8161
#if ((' ' & 0x0FF) == 0x020)
8162
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8163
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8165
# define ISLOWER(c) \
8166
(('a' <= (c) && (c) <= 'i') \
8167
|| ('j' <= (c) && (c) <= 'r') \
8168
|| ('s' <= (c) && (c) <= 'z'))
8169
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8172
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8177
for (i = 0; i < 256; i++)
8178
if (XOR (islower (i), ISLOWER (i))
8179
|| toupper (i) != TOUPPER (i))
8184
if ac_fn_c_try_run "$LINENO"; then :
8187
ac_cv_header_stdc=no
8189
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8190
conftest.$ac_objext conftest.beam conftest.$ac_ext
8195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8196
$as_echo "$ac_cv_header_stdc" >&6; }
8197
if test $ac_cv_header_stdc = yes; then
8199
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8203
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8204
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8205
inttypes.h stdint.h unistd.h
8207
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8208
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8210
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8211
cat >>confdefs.h <<_ACEOF
8212
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8220
for ac_header in dlfcn.h
8222
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8224
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8225
cat >>confdefs.h <<_ACEOF
8226
#define HAVE_DLFCN_H 1
8236
func_stripname_cnf ()
8239
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8240
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8242
} # func_stripname_cnf
8258
# Check whether --enable-shared was given.
8259
if test "${enable_shared+set}" = set; then :
8260
enableval=$enable_shared; p=${PACKAGE-default}
8262
yes) enable_shared=yes ;;
8263
no) enable_shared=no ;;
8266
# Look at the argument we got. We use all the common list separators.
8267
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8268
for pkg in $enableval; do
8270
if test "X$pkg" = "X$p"; then
8289
# Check whether --enable-static was given.
8290
if test "${enable_static+set}" = set; then :
8291
enableval=$enable_static; p=${PACKAGE-default}
8293
yes) enable_static=yes ;;
8294
no) enable_static=no ;;
8297
# Look at the argument we got. We use all the common list separators.
8298
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8299
for pkg in $enableval; do
8301
if test "X$pkg" = "X$p"; then
8321
# Check whether --with-pic was given.
8322
if test "${with_pic+set}" = set; then :
8323
withval=$with_pic; pic_mode="$withval"
8329
test -z "$pic_mode" && pic_mode=default
8337
# Check whether --enable-fast-install was given.
8338
if test "${enable_fast_install+set}" = set; then :
8339
enableval=$enable_fast_install; p=${PACKAGE-default}
8341
yes) enable_fast_install=yes ;;
8342
no) enable_fast_install=no ;;
8344
enable_fast_install=no
8345
# Look at the argument we got. We use all the common list separators.
8346
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8347
for pkg in $enableval; do
8349
if test "X$pkg" = "X$p"; then
8350
enable_fast_install=yes
8357
enable_fast_install=yes
8370
# This can be used to rebuild libtool when needed
8371
LIBTOOL_DEPS="$ltmain"
8373
# Always use our own libtool.
8374
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8401
test -z "$LN_S" && LN_S="ln -s"
8416
if test -n "${ZSH_VERSION+set}" ; then
8417
setopt NO_GLOB_SUBST
8420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8421
$as_echo_n "checking for objdir... " >&6; }
8422
if ${lt_cv_objdir+:} false; then :
8423
$as_echo_n "(cached) " >&6
8425
rm -f .libs 2>/dev/null
8426
mkdir .libs 2>/dev/null
8427
if test -d .libs; then
8430
# MS-DOS does not allow filenames that begin with a dot.
8433
rmdir .libs 2>/dev/null
8435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8436
$as_echo "$lt_cv_objdir" >&6; }
8437
objdir=$lt_cv_objdir
8443
cat >>confdefs.h <<_ACEOF
8444
#define LT_OBJDIR "$lt_cv_objdir/"
8452
# AIX sometimes has problems with the GCC collect2 program. For some
8453
# reason, if we set the COLLECT_NAMES environment variable, the problems
8454
# vanish in a puff of smoke.
8455
if test "X${COLLECT_NAMES+set}" != Xset; then
8457
export COLLECT_NAMES
8464
can_build_shared=yes
8466
# All known linkers require a `.a' archive for static linking (except MSVC,
8467
# which needs '.lib').
8470
with_gnu_ld="$lt_cv_prog_gnu_ld"
8473
old_CFLAGS="$CFLAGS"
8475
# Set sane defaults for various variables
8476
test -z "$CC" && CC=cc
8477
test -z "$LTCC" && LTCC=$CC
8478
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8479
test -z "$LD" && LD=ld
8480
test -z "$ac_objext" && ac_objext=o
8482
for cc_temp in $compiler""; do
8484
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8485
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8490
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8493
# Only perform the check for file, if the check method requires it
8494
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8495
case $deplibs_check_method in
8497
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8498
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8499
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8500
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8501
$as_echo_n "(cached) " >&6
8505
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8508
lt_save_MAGIC_CMD="$MAGIC_CMD"
8509
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8510
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8511
for ac_dir in $ac_dummy; do
8513
test -z "$ac_dir" && ac_dir=.
8514
if test -f $ac_dir/${ac_tool_prefix}file; then
8515
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8516
if test -n "$file_magic_test_file"; then
8517
case $deplibs_check_method in
8519
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8520
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8521
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8522
$EGREP "$file_magic_regex" > /dev/null; then
8527
*** Warning: the command libtool uses to detect shared libraries,
8528
*** $file_magic_cmd, produces output that libtool cannot recognize.
8529
*** The result is that libtool may fail to recognize shared libraries
8530
*** as such. This will affect the creation of libtool libraries that
8531
*** depend on shared libraries, but programs linked with such libtool
8532
*** libraries will work regardless of this problem. Nevertheless, you
8533
*** may want to report the problem to your system manager and/or to
8534
*** bug-libtool@gnu.org
8544
MAGIC_CMD="$lt_save_MAGIC_CMD"
8549
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8550
if test -n "$MAGIC_CMD"; then
8551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8552
$as_echo "$MAGIC_CMD" >&6; }
8554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8555
$as_echo "no" >&6; }
8562
if test -z "$lt_cv_path_MAGIC_CMD"; then
8563
if test -n "$ac_tool_prefix"; then
8564
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8565
$as_echo_n "checking for file... " >&6; }
8566
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8567
$as_echo_n "(cached) " >&6
8571
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8574
lt_save_MAGIC_CMD="$MAGIC_CMD"
8575
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8576
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8577
for ac_dir in $ac_dummy; do
8579
test -z "$ac_dir" && ac_dir=.
8580
if test -f $ac_dir/file; then
8581
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8582
if test -n "$file_magic_test_file"; then
8583
case $deplibs_check_method in
8585
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8586
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8587
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8588
$EGREP "$file_magic_regex" > /dev/null; then
8593
*** Warning: the command libtool uses to detect shared libraries,
8594
*** $file_magic_cmd, produces output that libtool cannot recognize.
8595
*** The result is that libtool may fail to recognize shared libraries
8596
*** as such. This will affect the creation of libtool libraries that
8597
*** depend on shared libraries, but programs linked with such libtool
8598
*** libraries will work regardless of this problem. Nevertheless, you
8599
*** may want to report the problem to your system manager and/or to
8600
*** bug-libtool@gnu.org
8610
MAGIC_CMD="$lt_save_MAGIC_CMD"
8615
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8616
if test -n "$MAGIC_CMD"; then
8617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8618
$as_echo "$MAGIC_CMD" >&6; }
8620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8621
$as_echo "no" >&6; }
8634
# Use C for the default configuration in the libtool script
8638
ac_cpp='$CPP $CPPFLAGS'
8639
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8640
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8641
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8644
# Source file extension for C test sources.
8647
# Object file extension for compiled C test sources.
8651
# Code to be used in simple compile tests
8652
lt_simple_compile_test_code="int some_variable = 0;"
8654
# Code to be used in simple link tests
8655
lt_simple_link_test_code='int main(){return(0);}'
8663
# If no C compiler was specified, use CC.
8666
# If no C compiler flags were specified, use CFLAGS.
8667
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8669
# Allow CC to be a program name with arguments.
8672
# Save the default compiler, since it gets overwritten when the other
8673
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8674
compiler_DEFAULT=$CC
8676
# save warnings/boilerplate of simple test code
8677
ac_outfile=conftest.$ac_objext
8678
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8679
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8680
_lt_compiler_boilerplate=`cat conftest.err`
8683
ac_outfile=conftest.$ac_objext
8684
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8685
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8686
_lt_linker_boilerplate=`cat conftest.err`
8691
## There is no encapsulation within the following macros, do not change
8692
## the running order or otherwise move them around unless you know exactly
8693
## what you are doing...
8694
if test -n "$compiler"; then
8696
lt_prog_compiler_no_builtin_flag=
8698
if test "$GCC" = yes; then
8699
case $cc_basename in
8701
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8703
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8707
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8708
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8709
$as_echo_n "(cached) " >&6
8711
lt_cv_prog_compiler_rtti_exceptions=no
8712
ac_outfile=conftest.$ac_objext
8713
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8714
lt_compiler_flag="-fno-rtti -fno-exceptions"
8715
# Insert the option either (1) after the last *FLAGS variable, or
8716
# (2) before a word containing "conftest.", or (3) at the end.
8717
# Note that $ac_compile itself does not contain backslashes and begins
8718
# with a dollar sign (not a hyphen), so the echo should work correctly.
8719
# The option is referenced via a variable to avoid confusing sed.
8720
lt_compile=`echo "$ac_compile" | $SED \
8721
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8722
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8723
-e 's:$: $lt_compiler_flag:'`
8724
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8725
(eval "$lt_compile" 2>conftest.err)
8727
cat conftest.err >&5
8728
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8729
if (exit $ac_status) && test -s "$ac_outfile"; then
8730
# The compiler can only warn and ignore the option if not recognized
8731
# So say no if there are warnings other than the usual output.
8732
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8733
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8734
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8735
lt_cv_prog_compiler_rtti_exceptions=yes
8741
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8742
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8744
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8745
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8757
lt_prog_compiler_wl=
8758
lt_prog_compiler_pic=
8759
lt_prog_compiler_static=
8762
if test "$GCC" = yes; then
8763
lt_prog_compiler_wl='-Wl,'
8764
lt_prog_compiler_static='-static'
8768
# All AIX code is PIC.
8769
if test "$host_cpu" = ia64; then
8770
# AIX 5 now supports IA64 processor
8771
lt_prog_compiler_static='-Bstatic'
8778
# see comment about AmigaOS4 .so support
8779
lt_prog_compiler_pic='-fPIC'
8782
# FIXME: we need at least 68020 code to build shared libraries, but
8783
# adding the `-m68020' flag to GCC prevents building anything better,
8785
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8790
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8791
# PIC is the default for these OSes.
8794
mingw* | cygwin* | pw32* | os2* | cegcc*)
8795
# This hack is so that the source file can tell whether it is being
8796
# built for inclusion in a dll (and should export symbols for example).
8797
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8798
# (--disable-auto-import) libraries
8799
lt_prog_compiler_pic='-DDLL_EXPORT'
8802
darwin* | rhapsody*)
8803
# PIC is the default on this platform
8804
# Common symbols not allowed in MH_DYLIB files
8805
lt_prog_compiler_pic='-fno-common'
8809
# PIC is the default for Haiku.
8810
# The "-static" flag exists, but is broken.
8811
lt_prog_compiler_static=
8815
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8816
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8817
# sets the default TLS model and affects inlining.
8823
lt_prog_compiler_pic='-fPIC'
8829
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8830
# Instead, we relocate shared libraries at runtime.
8834
# Just because we use GCC doesn't mean we suddenly get shared libraries
8835
# on systems that don't support them.
8836
lt_prog_compiler_can_build_shared=no
8841
# QNX uses GNU C++, but need to define -shared option too, otherwise
8843
lt_prog_compiler_pic='-fPIC -shared'
8847
if test -d /usr/nec; then
8848
lt_prog_compiler_pic=-Kconform_pic
8853
lt_prog_compiler_pic='-fPIC'
8857
case $cc_basename in
8858
nvcc*) # Cuda Compiler Driver 2.2
8859
lt_prog_compiler_wl='-Xlinker '
8860
lt_prog_compiler_pic='-Xcompiler -fPIC'
8864
# PORTME Check for flag to pass linker flags through the system compiler.
8867
lt_prog_compiler_wl='-Wl,'
8868
if test "$host_cpu" = ia64; then
8869
# AIX 5 now supports IA64 processor
8870
lt_prog_compiler_static='-Bstatic'
8872
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8876
mingw* | cygwin* | pw32* | os2* | cegcc*)
8877
# This hack is so that the source file can tell whether it is being
8878
# built for inclusion in a dll (and should export symbols for example).
8879
lt_prog_compiler_pic='-DDLL_EXPORT'
8882
hpux9* | hpux10* | hpux11*)
8883
lt_prog_compiler_wl='-Wl,'
8884
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8891
lt_prog_compiler_pic='+Z'
8894
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8895
lt_prog_compiler_static='${wl}-a ${wl}archive'
8898
irix5* | irix6* | nonstopux*)
8899
lt_prog_compiler_wl='-Wl,'
8900
# PIC (with -KPIC) is the default.
8901
lt_prog_compiler_static='-non_shared'
8904
linux* | k*bsd*-gnu | kopensolaris*-gnu)
8905
case $cc_basename in
8906
# old Intel for x86_64 which still supported -KPIC.
8908
lt_prog_compiler_wl='-Wl,'
8909
lt_prog_compiler_pic='-KPIC'
8910
lt_prog_compiler_static='-static'
8912
# icc used to be incompatible with GCC.
8913
# ICC 10 doesn't accept -KPIC any more.
8915
lt_prog_compiler_wl='-Wl,'
8916
lt_prog_compiler_pic='-fPIC'
8917
lt_prog_compiler_static='-static'
8919
# Lahey Fortran 8.1.
8921
lt_prog_compiler_wl='-Wl,'
8922
lt_prog_compiler_pic='--shared'
8923
lt_prog_compiler_static='--static'
8926
# NAG Fortran compiler
8927
lt_prog_compiler_wl='-Wl,-Wl,,'
8928
lt_prog_compiler_pic='-PIC'
8929
lt_prog_compiler_static='-Bstatic'
8931
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8932
# Portland Group compilers (*not* the Pentium gcc compiler,
8933
# which looks to be a dead project)
8934
lt_prog_compiler_wl='-Wl,'
8935
lt_prog_compiler_pic='-fpic'
8936
lt_prog_compiler_static='-Bstatic'
8939
lt_prog_compiler_wl='-Wl,'
8940
# All Alpha code is PIC.
8941
lt_prog_compiler_static='-non_shared'
8943
xl* | bgxl* | bgf* | mpixl*)
8944
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8945
lt_prog_compiler_wl='-Wl,'
8946
lt_prog_compiler_pic='-qpic'
8947
lt_prog_compiler_static='-qstaticlink'
8950
case `$CC -V 2>&1 | sed 5q` in
8951
*Sun\ F* | *Sun*Fortran*)
8952
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8953
lt_prog_compiler_pic='-KPIC'
8954
lt_prog_compiler_static='-Bstatic'
8955
lt_prog_compiler_wl=''
8959
lt_prog_compiler_pic='-KPIC'
8960
lt_prog_compiler_static='-Bstatic'
8961
lt_prog_compiler_wl='-Wl,'
8969
lt_prog_compiler_pic='-KPIC'
8970
lt_prog_compiler_static='-Bstatic'
8974
# QNX uses GNU C++, but need to define -shared option too, otherwise
8976
lt_prog_compiler_pic='-fPIC -shared'
8979
osf3* | osf4* | osf5*)
8980
lt_prog_compiler_wl='-Wl,'
8981
# All OSF/1 code is PIC.
8982
lt_prog_compiler_static='-non_shared'
8986
lt_prog_compiler_static='-non_shared'
8990
lt_prog_compiler_pic='-KPIC'
8991
lt_prog_compiler_static='-Bstatic'
8992
case $cc_basename in
8993
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8994
lt_prog_compiler_wl='-Qoption ld ';;
8996
lt_prog_compiler_wl='-Wl,';;
9001
lt_prog_compiler_wl='-Qoption ld '
9002
lt_prog_compiler_pic='-PIC'
9003
lt_prog_compiler_static='-Bstatic'
9006
sysv4 | sysv4.2uw2* | sysv4.3*)
9007
lt_prog_compiler_wl='-Wl,'
9008
lt_prog_compiler_pic='-KPIC'
9009
lt_prog_compiler_static='-Bstatic'
9013
if test -d /usr/nec ;then
9014
lt_prog_compiler_pic='-Kconform_pic'
9015
lt_prog_compiler_static='-Bstatic'
9019
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9020
lt_prog_compiler_wl='-Wl,'
9021
lt_prog_compiler_pic='-KPIC'
9022
lt_prog_compiler_static='-Bstatic'
9026
lt_prog_compiler_wl='-Wl,'
9027
lt_prog_compiler_can_build_shared=no
9031
lt_prog_compiler_pic='-pic'
9032
lt_prog_compiler_static='-Bstatic'
9036
lt_prog_compiler_can_build_shared=no
9042
# For platforms which do not support PIC, -DPIC is meaningless:
9044
lt_prog_compiler_pic=
9047
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9052
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9053
if ${lt_cv_prog_compiler_pic+:} false; then :
9054
$as_echo_n "(cached) " >&6
9056
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9058
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9059
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9060
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9063
# Check to make sure the PIC flag actually works.
9065
if test -n "$lt_prog_compiler_pic"; then
9066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9067
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9068
if ${lt_cv_prog_compiler_pic_works+:} false; then :
9069
$as_echo_n "(cached) " >&6
9071
lt_cv_prog_compiler_pic_works=no
9072
ac_outfile=conftest.$ac_objext
9073
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9074
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9075
# Insert the option either (1) after the last *FLAGS variable, or
9076
# (2) before a word containing "conftest.", or (3) at the end.
9077
# Note that $ac_compile itself does not contain backslashes and begins
9078
# with a dollar sign (not a hyphen), so the echo should work correctly.
9079
# The option is referenced via a variable to avoid confusing sed.
9080
lt_compile=`echo "$ac_compile" | $SED \
9081
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9082
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9083
-e 's:$: $lt_compiler_flag:'`
9084
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9085
(eval "$lt_compile" 2>conftest.err)
9087
cat conftest.err >&5
9088
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9089
if (exit $ac_status) && test -s "$ac_outfile"; then
9090
# The compiler can only warn and ignore the option if not recognized
9091
# So say no if there are warnings other than the usual output.
9092
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9093
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9094
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9095
lt_cv_prog_compiler_pic_works=yes
9101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9102
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9104
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9105
case $lt_prog_compiler_pic in
9107
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9110
lt_prog_compiler_pic=
9111
lt_prog_compiler_can_build_shared=no
9127
# Check to make sure the static flag actually works.
9129
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9131
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9132
if ${lt_cv_prog_compiler_static_works+:} false; then :
9133
$as_echo_n "(cached) " >&6
9135
lt_cv_prog_compiler_static_works=no
9136
save_LDFLAGS="$LDFLAGS"
9137
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9138
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9139
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9140
# The linker can only warn and ignore the option if not recognized
9141
# So say no if there are warnings
9142
if test -s conftest.err; then
9143
# Append any errors to the config.log.
9144
cat conftest.err 1>&5
9145
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9146
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9147
if diff conftest.exp conftest.er2 >/dev/null; then
9148
lt_cv_prog_compiler_static_works=yes
9151
lt_cv_prog_compiler_static_works=yes
9155
LDFLAGS="$save_LDFLAGS"
9158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9159
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9161
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9164
lt_prog_compiler_static=
9173
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9174
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9175
if ${lt_cv_prog_compiler_c_o+:} false; then :
9176
$as_echo_n "(cached) " >&6
9178
lt_cv_prog_compiler_c_o=no
9179
$RM -r conftest 2>/dev/null
9183
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9185
lt_compiler_flag="-o out/conftest2.$ac_objext"
9186
# Insert the option either (1) after the last *FLAGS variable, or
9187
# (2) before a word containing "conftest.", or (3) at the end.
9188
# Note that $ac_compile itself does not contain backslashes and begins
9189
# with a dollar sign (not a hyphen), so the echo should work correctly.
9190
lt_compile=`echo "$ac_compile" | $SED \
9191
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9192
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9193
-e 's:$: $lt_compiler_flag:'`
9194
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9195
(eval "$lt_compile" 2>out/conftest.err)
9197
cat out/conftest.err >&5
9198
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9199
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9201
# The compiler can only warn and ignore the option if not recognized
9202
# So say no if there are warnings
9203
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9204
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9205
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9206
lt_cv_prog_compiler_c_o=yes
9211
# SGI C++ compiler will create directory out/ii_files/ for
9212
# template instantiation
9213
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9214
$RM out/* && rmdir out
9220
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9221
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9229
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9230
if ${lt_cv_prog_compiler_c_o+:} false; then :
9231
$as_echo_n "(cached) " >&6
9233
lt_cv_prog_compiler_c_o=no
9234
$RM -r conftest 2>/dev/null
9238
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9240
lt_compiler_flag="-o out/conftest2.$ac_objext"
9241
# Insert the option either (1) after the last *FLAGS variable, or
9242
# (2) before a word containing "conftest.", or (3) at the end.
9243
# Note that $ac_compile itself does not contain backslashes and begins
9244
# with a dollar sign (not a hyphen), so the echo should work correctly.
9245
lt_compile=`echo "$ac_compile" | $SED \
9246
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9247
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9248
-e 's:$: $lt_compiler_flag:'`
9249
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9250
(eval "$lt_compile" 2>out/conftest.err)
9252
cat out/conftest.err >&5
9253
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9256
# The compiler can only warn and ignore the option if not recognized
9257
# So say no if there are warnings
9258
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9259
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9260
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9261
lt_cv_prog_compiler_c_o=yes
9266
# SGI C++ compiler will create directory out/ii_files/ for
9267
# template instantiation
9268
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9269
$RM out/* && rmdir out
9275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9276
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9281
hard_links="nottested"
9282
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9283
# do not overwrite the value of need_locks provided by the user
9284
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9285
$as_echo_n "checking if we can lock with hard links... " >&6; }
9288
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9290
ln conftest.a conftest.b 2>&5 || hard_links=no
9291
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9293
$as_echo "$hard_links" >&6; }
9294
if test "$hard_links" = no; then
9295
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9296
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9309
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9312
allow_undefined_flag=
9313
always_export_symbols=no
9315
archive_expsym_cmds=
9316
compiler_needs_object=no
9317
enable_shared_with_static_runtimes=no
9318
export_dynamic_flag_spec=
9319
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9320
hardcode_automatic=no
9322
hardcode_direct_absolute=no
9323
hardcode_libdir_flag_spec=
9324
hardcode_libdir_flag_spec_ld=
9325
hardcode_libdir_separator=
9327
hardcode_shlibpath_var=unsupported
9329
link_all_deplibs=unknown
9332
old_archive_from_new_cmds=
9333
old_archive_from_expsyms_cmds=
9334
thread_safe_flag_spec=
9335
whole_archive_flag_spec=
9336
# include_expsyms should be a list of space-separated symbols to be *always*
9337
# included in the symbol list
9339
# exclude_expsyms can be an extended regexp of symbols to exclude
9340
# it will be wrapped by ` (' and `)$', so one must not match beginning or
9341
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9342
# as well as any symbol that contains `d'.
9343
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9344
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9345
# platforms (ab)use it in PIC code, but their linkers get confused if
9346
# the symbol is explicitly referenced. Since portable code cannot
9347
# rely on this symbol name, it's probably fine to never include it in
9348
# preloaded symbol tables.
9349
# Exclude shared library initialization/finalization symbols.
9350
extract_expsyms_cmds=
9353
cygwin* | mingw* | pw32* | cegcc*)
9354
# FIXME: the MSVC++ port hasn't been tested in a loooong time
9355
# When not using gcc, we currently assume that we are using
9356
# Microsoft Visual C++.
9357
if test "$GCC" != yes; then
9362
# we just hope/assume this is gcc and not c89 (= MSVC++)
9368
linux* | k*bsd*-gnu | gnu*)
9375
# On some targets, GNU ld is compatible enough with the native linker
9376
# that we're better off using the native interface for both.
9377
lt_use_gnu_ld_interface=no
9378
if test "$with_gnu_ld" = yes; then
9381
# The AIX port of GNU ld has always aspired to compatibility
9382
# with the native linker. However, as the warning in the GNU ld
9383
# block says, versions before 2.19.5* couldn't really create working
9384
# shared libraries, regardless of the interface used.
9385
case `$LD -v 2>&1` in
9386
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9387
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9388
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
9390
lt_use_gnu_ld_interface=yes
9395
lt_use_gnu_ld_interface=yes
9400
if test "$lt_use_gnu_ld_interface" = yes; then
9401
# If archive_cmds runs LD, not CC, wlarc should be empty
9404
# Set some defaults for GNU ld with shared library support. These
9405
# are reset later if shared libraries are not supported. Putting them
9406
# here allows them to be overridden if necessary.
9407
runpath_var=LD_RUN_PATH
9408
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9409
export_dynamic_flag_spec='${wl}--export-dynamic'
9410
# ancient GNU ld didn't support --whole-archive et. al.
9411
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9412
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9414
whole_archive_flag_spec=
9416
supports_anon_versioning=no
9417
case `$LD -v 2>&1` in
9418
*GNU\ gold*) supports_anon_versioning=yes ;;
9419
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9420
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9421
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9422
*\ 2.11.*) ;; # other 2.11 versions
9423
*) supports_anon_versioning=yes ;;
9426
# See if GNU ld supports shared libraries.
9429
# On AIX/PPC, the GNU linker is very broken
9430
if test "$host_cpu" != ia64; then
9434
*** Warning: the GNU linker, at least up to release 2.19, is reported
9435
*** to be unable to reliably create shared libraries on AIX.
9436
*** Therefore, libtool is disabling shared libraries support. If you
9437
*** really care for shared libraries, you may want to install binutils
9438
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9439
*** You will then need to restart the configuration process.
9448
# see comment about AmigaOS4 .so support
9449
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9450
archive_expsym_cmds=''
9453
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)'
9454
hardcode_libdir_flag_spec='-L$libdir'
9455
hardcode_minus_L=yes
9461
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9462
allow_undefined_flag=unsupported
9463
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9464
# support --undefined. This deserves some investigation. FIXME
9465
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9471
cygwin* | mingw* | pw32* | cegcc*)
9472
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9473
# as there is no search path for DLLs.
9474
hardcode_libdir_flag_spec='-L$libdir'
9475
export_dynamic_flag_spec='${wl}--export-all-symbols'
9476
allow_undefined_flag=unsupported
9477
always_export_symbols=no
9478
enable_shared_with_static_runtimes=yes
9479
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9480
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9482
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9483
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9484
# If the export-symbols file already is a .def file (1st line
9485
# is EXPORTS), use it as is; otherwise, prepend...
9486
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9487
cp $export_symbols $output_objdir/$soname.def;
9489
echo EXPORTS > $output_objdir/$soname.def;
9490
cat $export_symbols >> $output_objdir/$soname.def;
9492
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9499
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9500
link_all_deplibs=yes
9505
hardcode_shlibpath_var=no
9506
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9507
export_dynamic_flag_spec='${wl}-E'
9508
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9509
# Instead, shared libraries are loaded at an image base (0x10000000 by
9510
# default) and relocated if they conflict, which is a slow very memory
9511
# consuming and fragmenting process. To avoid this, we pick a random,
9512
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9513
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9514
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9515
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'
9518
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9520
if test "$host_os" = linux-dietlibc; then
9521
case $cc_basename in
9522
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9525
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9526
&& test "$tmp_diet" = no
9528
tmp_addflag=' $pic_flag'
9529
tmp_sharedflag='-shared'
9530
case $cc_basename,$host_cpu in
9531
pgcc*) # Portland Group C compiler
9532
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9533
tmp_addflag=' $pic_flag'
9535
pgf77* | pgf90* | pgf95* | pgfortran*)
9536
# Portland Group f77 and f90 compilers
9537
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9538
tmp_addflag=' $pic_flag -Mnomain' ;;
9539
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9540
tmp_addflag=' -i_dynamic' ;;
9541
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9542
tmp_addflag=' -i_dynamic -nofor_main' ;;
9543
ifc* | ifort*) # Intel Fortran compiler
9544
tmp_addflag=' -nofor_main' ;;
9545
lf95*) # Lahey Fortran 8.1
9546
whole_archive_flag_spec=
9547
tmp_sharedflag='--shared' ;;
9548
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9549
tmp_sharedflag='-qmkshrobj'
9551
nvcc*) # Cuda Compiler Driver 2.2
9552
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9553
compiler_needs_object=yes
9556
case `$CC -V 2>&1 | sed 5q` in
9557
*Sun\ C*) # Sun C 5.9
9558
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9559
compiler_needs_object=yes
9560
tmp_sharedflag='-G' ;;
9561
*Sun\ F*) # Sun Fortran 8.3
9562
tmp_sharedflag='-G' ;;
9564
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9566
if test "x$supports_anon_versioning" = xyes; then
9567
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9568
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9569
echo "local: *; };" >> $output_objdir/$libname.ver~
9570
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9573
case $cc_basename in
9574
xlf* | bgf* | bgxlf* | mpixlf*)
9575
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9576
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9577
hardcode_libdir_flag_spec=
9578
hardcode_libdir_flag_spec_ld='-rpath $libdir'
9579
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9580
if test "x$supports_anon_versioning" = xyes; then
9581
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9582
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9583
echo "local: *; };" >> $output_objdir/$libname.ver~
9584
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9593
netbsd* | netbsdelf*-gnu)
9594
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9595
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9598
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9599
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9604
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9608
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9609
*** create shared libraries on Solaris systems. Therefore, libtool
9610
*** is disabling shared libraries support. We urge you to upgrade GNU
9611
*** binutils to release 2.9.1 or newer. Another option is to modify
9612
*** your PATH or compiler configuration so that the native linker is
9613
*** used, and then restart.
9616
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9617
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9618
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9624
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9625
case `$LD -v 2>&1` in
9626
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9630
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9631
*** reliably create shared libraries on SCO systems. Therefore, libtool
9632
*** is disabling shared libraries support. We urge you to upgrade GNU
9633
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9634
*** your PATH or compiler configuration so that the native linker is
9635
*** used, and then restart.
9640
# For security reasons, it is highly recommended that you always
9641
# use absolute paths for naming shared libraries, and exclude the
9642
# DT_RUNPATH tag from executables and libraries. But doing so
9643
# requires that you compile everything twice, which is a pain.
9644
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9645
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9646
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9647
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9656
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9659
hardcode_shlibpath_var=no
9663
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9664
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9665
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9672
if test "$ld_shlibs" = no; then
9674
hardcode_libdir_flag_spec=
9675
export_dynamic_flag_spec=
9676
whole_archive_flag_spec=
9679
# PORTME fill in a description of your system's linker (not GNU ld)
9682
allow_undefined_flag=unsupported
9683
always_export_symbols=yes
9684
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'
9685
# Note: this linker hardcodes the directories in LIBPATH if there
9686
# are no directories specified by -L.
9687
hardcode_minus_L=yes
9688
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9689
# Neither direct hardcoding nor static linking is supported with a
9691
hardcode_direct=unsupported
9696
if test "$host_cpu" = ia64; then
9697
# On IA64, the linker does run time linking by default, so we don't
9698
# have to do anything special.
9699
aix_use_runtimelinking=no
9700
exp_sym_flag='-Bexport'
9703
# If we're using GNU nm, then we don't want the "-C" option.
9704
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9705
# Also, AIX nm treats weak defined symbols like other global
9706
# defined symbols, whereas GNU nm marks them as "W".
9707
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9708
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9710
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'
9712
aix_use_runtimelinking=no
9714
# Test if we are trying to use run time linking or normal
9715
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9716
# need to do runtime linking.
9717
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9718
for ld_flag in $LDFLAGS; do
9719
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9720
aix_use_runtimelinking=yes
9727
exp_sym_flag='-bexport'
9728
no_entry_flag='-bnoentry'
9731
# When large executables or shared objects are built, AIX ld can
9732
# have problems creating the table of contents. If linking a library
9733
# or program results in "error TOC overflow" add -mminimal-toc to
9734
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9735
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9739
hardcode_direct_absolute=yes
9740
hardcode_libdir_separator=':'
9741
link_all_deplibs=yes
9742
file_list_spec='${wl}-f,'
9744
if test "$GCC" = yes; then
9745
case $host_os in aix4.[012]|aix4.[012].*)
9746
# We only want to do this on AIX 4.2 and lower, the check
9747
# below for broken collect2 doesn't work under 4.3+
9748
collect2name=`${CC} -print-prog-name=collect2`
9749
if test -f "$collect2name" &&
9750
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9752
# We have reworked collect2
9755
# We have old collect2
9756
hardcode_direct=unsupported
9757
# It fails to find uninstalled libraries when the uninstalled
9758
# path is not listed in the libpath. Setting hardcode_minus_L
9759
# to unsupported forces relinking
9760
hardcode_minus_L=yes
9761
hardcode_libdir_flag_spec='-L$libdir'
9762
hardcode_libdir_separator=
9766
shared_flag='-shared'
9767
if test "$aix_use_runtimelinking" = yes; then
9768
shared_flag="$shared_flag "'${wl}-G'
9773
if test "$host_cpu" = ia64; then
9774
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9775
# chokes on -Wl,-G. The following line is correct:
9778
if test "$aix_use_runtimelinking" = yes; then
9779
shared_flag='${wl}-G'
9781
shared_flag='${wl}-bM:SRE'
9786
export_dynamic_flag_spec='${wl}-bexpall'
9787
# It seems that -bexpall does not export symbols beginning with
9788
# underscore (_), so it is better to generate a list of symbols to export.
9789
always_export_symbols=yes
9790
if test "$aix_use_runtimelinking" = yes; then
9791
# Warning - without using the other runtime loading flags (-brtl),
9792
# -berok will link without error, but may produce a broken library.
9793
allow_undefined_flag='-berok'
9794
# Determine the default libpath from the value encoded in an
9796
if test "${lt_cv_aix_libpath+set}" = set; then
9797
aix_libpath=$lt_cv_aix_libpath
9799
if ${lt_cv_aix_libpath_+:} false; then :
9800
$as_echo_n "(cached) " >&6
9802
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9803
/* end confdefs.h. */
9813
if ac_fn_c_try_link "$LINENO"; then :
9815
lt_aix_libpath_sed='
9816
/Import File Strings/,/^$/ {
9818
s/^0 *\([^ ]*\) *$/\1/
9822
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9823
# Check for a 64-bit object if we didn't find anything.
9824
if test -z "$lt_cv_aix_libpath_"; then
9825
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9828
rm -f core conftest.err conftest.$ac_objext \
9829
conftest$ac_exeext conftest.$ac_ext
9830
if test -z "$lt_cv_aix_libpath_"; then
9831
lt_cv_aix_libpath_="/usr/lib:/lib"
9836
aix_libpath=$lt_cv_aix_libpath_
9839
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9840
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9842
if test "$host_cpu" = ia64; then
9843
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9844
allow_undefined_flag="-z nodefs"
9845
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"
9847
# Determine the default libpath from the value encoded in an
9849
if test "${lt_cv_aix_libpath+set}" = set; then
9850
aix_libpath=$lt_cv_aix_libpath
9852
if ${lt_cv_aix_libpath_+:} false; then :
9853
$as_echo_n "(cached) " >&6
9855
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9856
/* end confdefs.h. */
9866
if ac_fn_c_try_link "$LINENO"; then :
9868
lt_aix_libpath_sed='
9869
/Import File Strings/,/^$/ {
9871
s/^0 *\([^ ]*\) *$/\1/
9875
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9876
# Check for a 64-bit object if we didn't find anything.
9877
if test -z "$lt_cv_aix_libpath_"; then
9878
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9881
rm -f core conftest.err conftest.$ac_objext \
9882
conftest$ac_exeext conftest.$ac_ext
9883
if test -z "$lt_cv_aix_libpath_"; then
9884
lt_cv_aix_libpath_="/usr/lib:/lib"
9889
aix_libpath=$lt_cv_aix_libpath_
9892
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9893
# Warning - without using the other run time loading flags,
9894
# -berok will link without error, but may produce a broken library.
9895
no_undefined_flag=' ${wl}-bernotok'
9896
allow_undefined_flag=' ${wl}-berok'
9897
if test "$with_gnu_ld" = yes; then
9898
# We only use this code for GNU lds that support --whole-archive.
9899
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9901
# Exported symbols can be pulled into shared objects from archives
9902
whole_archive_flag_spec='$convenience'
9904
archive_cmds_need_lc=yes
9905
# This is similar to how AIX traditionally builds its shared libraries.
9906
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'
9914
# see comment about AmigaOS4 .so support
9915
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9916
archive_expsym_cmds=''
9919
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)'
9920
hardcode_libdir_flag_spec='-L$libdir'
9921
hardcode_minus_L=yes
9927
export_dynamic_flag_spec=-rdynamic
9930
cygwin* | mingw* | pw32* | cegcc*)
9931
# When not using gcc, we currently assume that we are using
9932
# Microsoft Visual C++.
9933
# hardcode_libdir_flag_spec is actually meaningless, as there is
9934
# no search path for DLLs.
9935
case $cc_basename in
9938
hardcode_libdir_flag_spec=' '
9939
allow_undefined_flag=unsupported
9940
always_export_symbols=yes
9942
# Tell ltmain to make .lib files, not .a files.
9944
# Tell ltmain to make .dll files, not .so files.
9946
# FIXME: Setting linknames here is a bad hack.
9947
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9948
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9949
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9951
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9953
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9955
# The linker will not automatically build a static lib if we build a DLL.
9956
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9957
enable_shared_with_static_runtimes=yes
9958
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9960
old_postinstall_cmds='chmod 644 $oldlib'
9961
postlink_cmds='lt_outputfile="@OUTPUT@"~
9962
lt_tool_outputfile="@TOOL_OUTPUT@"~
9963
case $lt_outputfile in
9966
lt_outputfile="$lt_outputfile.exe"
9967
lt_tool_outputfile="$lt_tool_outputfile.exe"
9970
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9971
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9972
$RM "$lt_outputfile.manifest";
9976
# Assume MSVC wrapper
9977
hardcode_libdir_flag_spec=' '
9978
allow_undefined_flag=unsupported
9979
# Tell ltmain to make .lib files, not .a files.
9981
# Tell ltmain to make .dll files, not .so files.
9983
# FIXME: Setting linknames here is a bad hack.
9984
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9985
# The linker will automatically build a .lib file if we build a DLL.
9986
old_archive_from_new_cmds='true'
9987
# FIXME: Should let the user specify the lib program.
9988
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9989
enable_shared_with_static_runtimes=yes
9994
darwin* | rhapsody*)
9997
archive_cmds_need_lc=no
9999
hardcode_automatic=yes
10000
hardcode_shlibpath_var=unsupported
10001
if test "$lt_cv_ld_force_load" = "yes"; then
10002
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10004
whole_archive_flag_spec=''
10006
link_all_deplibs=yes
10007
allow_undefined_flag="$_lt_dar_allow_undefined"
10008
case $cc_basename in
10009
ifort*) _lt_dar_can_shared=yes ;;
10010
*) _lt_dar_can_shared=$GCC ;;
10012
if test "$_lt_dar_can_shared" = "yes"; then
10013
output_verbose_link_cmd=func_echo_all
10014
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10015
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10016
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}"
10017
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}"
10026
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10027
hardcode_libdir_flag_spec='-L$libdir'
10028
hardcode_shlibpath_var=no
10035
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10036
# support. Future versions do this automatically, but an explicit c++rt0.o
10037
# does not break anything, and helps significantly (at the cost of a little
10040
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10041
hardcode_libdir_flag_spec='-R$libdir'
10042
hardcode_direct=yes
10043
hardcode_shlibpath_var=no
10046
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
10048
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10049
hardcode_direct=yes
10050
hardcode_minus_L=yes
10051
hardcode_shlibpath_var=no
10054
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10055
freebsd* | dragonfly*)
10056
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10057
hardcode_libdir_flag_spec='-R$libdir'
10058
hardcode_direct=yes
10059
hardcode_shlibpath_var=no
10063
if test "$GCC" = yes; then
10064
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10066
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'
10068
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10069
hardcode_libdir_separator=:
10070
hardcode_direct=yes
10072
# hardcode_minus_L: Not really in the search PATH,
10073
# but as the default location of the library.
10074
hardcode_minus_L=yes
10075
export_dynamic_flag_spec='${wl}-E'
10079
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10080
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10082
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10084
if test "$with_gnu_ld" = no; then
10085
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10086
hardcode_libdir_flag_spec_ld='+b $libdir'
10087
hardcode_libdir_separator=:
10088
hardcode_direct=yes
10089
hardcode_direct_absolute=yes
10090
export_dynamic_flag_spec='${wl}-E'
10091
# hardcode_minus_L: Not really in the search PATH,
10092
# but as the default location of the library.
10093
hardcode_minus_L=yes
10098
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10101
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10104
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10107
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10113
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10116
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10120
# Older versions of the 11.00 compiler do not understand -b yet
10121
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10122
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10123
$as_echo_n "checking if $CC understands -b... " >&6; }
10124
if ${lt_cv_prog_compiler__b+:} false; then :
10125
$as_echo_n "(cached) " >&6
10127
lt_cv_prog_compiler__b=no
10128
save_LDFLAGS="$LDFLAGS"
10129
LDFLAGS="$LDFLAGS -b"
10130
echo "$lt_simple_link_test_code" > conftest.$ac_ext
10131
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10132
# The linker can only warn and ignore the option if not recognized
10133
# So say no if there are warnings
10134
if test -s conftest.err; then
10135
# Append any errors to the config.log.
10136
cat conftest.err 1>&5
10137
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10138
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10139
if diff conftest.exp conftest.er2 >/dev/null; then
10140
lt_cv_prog_compiler__b=yes
10143
lt_cv_prog_compiler__b=yes
10147
LDFLAGS="$save_LDFLAGS"
10150
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10151
$as_echo "$lt_cv_prog_compiler__b" >&6; }
10153
if test x"$lt_cv_prog_compiler__b" = xyes; then
10154
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10156
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10162
if test "$with_gnu_ld" = no; then
10163
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10164
hardcode_libdir_separator=:
10169
hardcode_shlibpath_var=no
10172
hardcode_direct=yes
10173
hardcode_direct_absolute=yes
10174
export_dynamic_flag_spec='${wl}-E'
10176
# hardcode_minus_L: Not really in the search PATH,
10177
# but as the default location of the library.
10178
hardcode_minus_L=yes
10184
irix5* | irix6* | nonstopux*)
10185
if test "$GCC" = yes; then
10186
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10187
# Try to use the -exported_symbol ld option, if it does not
10188
# work, assume that -exports_file does not work either and
10189
# implicitly export all symbols.
10190
# This should be the same for all languages, so no per-tag cache variable.
10191
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10192
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10193
if ${lt_cv_irix_exported_symbol+:} false; then :
10194
$as_echo_n "(cached) " >&6
10196
save_LDFLAGS="$LDFLAGS"
10197
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10198
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10199
/* end confdefs.h. */
10200
int foo (void) { return 0; }
10202
if ac_fn_c_try_link "$LINENO"; then :
10203
lt_cv_irix_exported_symbol=yes
10205
lt_cv_irix_exported_symbol=no
10207
rm -f core conftest.err conftest.$ac_objext \
10208
conftest$ac_exeext conftest.$ac_ext
10209
LDFLAGS="$save_LDFLAGS"
10211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10212
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10213
if test "$lt_cv_irix_exported_symbol" = yes; then
10214
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10217
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10218
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10220
archive_cmds_need_lc='no'
10221
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10222
hardcode_libdir_separator=:
10224
link_all_deplibs=yes
10227
netbsd* | netbsdelf*-gnu)
10228
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10229
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10231
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10233
hardcode_libdir_flag_spec='-R$libdir'
10234
hardcode_direct=yes
10235
hardcode_shlibpath_var=no
10239
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10240
hardcode_direct=yes
10241
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10242
hardcode_libdir_separator=:
10243
hardcode_shlibpath_var=no
10250
if test -f /usr/libexec/ld.so; then
10251
hardcode_direct=yes
10252
hardcode_shlibpath_var=no
10253
hardcode_direct_absolute=yes
10254
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10255
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10256
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10257
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10258
export_dynamic_flag_spec='${wl}-E'
10261
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10262
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10263
hardcode_libdir_flag_spec='-R$libdir'
10266
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10267
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10277
hardcode_libdir_flag_spec='-L$libdir'
10278
hardcode_minus_L=yes
10279
allow_undefined_flag=unsupported
10280
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'
10281
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10285
if test "$GCC" = yes; then
10286
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10287
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10289
allow_undefined_flag=' -expect_unresolved \*'
10290
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10292
archive_cmds_need_lc='no'
10293
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10294
hardcode_libdir_separator=:
10297
osf4* | osf5*) # as osf3* with the addition of -msym flag
10298
if test "$GCC" = yes; then
10299
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10300
archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10301
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10303
allow_undefined_flag=' -expect_unresolved \*'
10304
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10305
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~
10306
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10308
# Both c and cxx compiler support -rpath directly
10309
hardcode_libdir_flag_spec='-rpath $libdir'
10311
archive_cmds_need_lc='no'
10312
hardcode_libdir_separator=:
10316
no_undefined_flag=' -z defs'
10317
if test "$GCC" = yes; then
10319
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10320
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10321
$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10323
case `$CC -V 2>&1` in
10326
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10327
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10328
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10332
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10333
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10334
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10338
hardcode_libdir_flag_spec='-R$libdir'
10339
hardcode_shlibpath_var=no
10341
solaris2.[0-5] | solaris2.[0-5].*) ;;
10343
# The compiler driver will combine and reorder linker options,
10344
# but understands `-z linker_flag'. GCC discards it without `$wl',
10345
# but is careful enough not to reorder.
10346
# Supported since Solaris 2.6 (maybe 2.5.1?)
10347
if test "$GCC" = yes; then
10348
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10350
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10354
link_all_deplibs=yes
10358
if test "x$host_vendor" = xsequent; then
10359
# Use $CC to link under sequent, because it throws in some extra .o
10360
# files that make .init and .fini sections work.
10361
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10363
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10365
hardcode_libdir_flag_spec='-L$libdir'
10366
hardcode_direct=yes
10367
hardcode_minus_L=yes
10368
hardcode_shlibpath_var=no
10372
case $host_vendor in
10374
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10375
hardcode_direct=yes # is this really true???
10378
## LD is ld it makes a PLAMLIB
10379
## CC just makes a GrossModule.
10380
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10381
reload_cmds='$CC -r -o $output$reload_objs'
10385
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10386
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10389
runpath_var='LD_RUN_PATH'
10390
hardcode_shlibpath_var=no
10394
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10395
hardcode_shlibpath_var=no
10396
export_dynamic_flag_spec='-Bexport'
10400
if test -d /usr/nec; then
10401
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10402
hardcode_shlibpath_var=no
10403
runpath_var=LD_RUN_PATH
10404
hardcode_runpath_var=yes
10409
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10410
no_undefined_flag='${wl}-z,text'
10411
archive_cmds_need_lc=no
10412
hardcode_shlibpath_var=no
10413
runpath_var='LD_RUN_PATH'
10415
if test "$GCC" = yes; then
10416
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10417
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10419
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10420
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10424
sysv5* | sco3.2v5* | sco5v6*)
10425
# Note: We can NOT use -z defs as we might desire, because we do not
10426
# link with -lc, and that would cause any symbols used from libc to
10427
# always be unresolved, which means just about no library would
10428
# ever link correctly. If we're not using GNU ld we use -z text
10429
# though, which does catch some bad symbols but isn't as heavy-handed
10431
no_undefined_flag='${wl}-z,text'
10432
allow_undefined_flag='${wl}-z,nodefs'
10433
archive_cmds_need_lc=no
10434
hardcode_shlibpath_var=no
10435
hardcode_libdir_flag_spec='${wl}-R,$libdir'
10436
hardcode_libdir_separator=':'
10437
link_all_deplibs=yes
10438
export_dynamic_flag_spec='${wl}-Bexport'
10439
runpath_var='LD_RUN_PATH'
10441
if test "$GCC" = yes; then
10442
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10443
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10445
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10446
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10451
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10452
hardcode_libdir_flag_spec='-L$libdir'
10453
hardcode_shlibpath_var=no
10461
if test x$host_vendor = xsni; then
10463
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10464
export_dynamic_flag_spec='${wl}-Blargedynsym'
10470
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10471
$as_echo "$ld_shlibs" >&6; }
10472
test "$ld_shlibs" = no && can_build_shared=no
10474
with_gnu_ld=$with_gnu_ld
10491
# Do we need to explicitly link libc?
10493
case "x$archive_cmds_need_lc" in
10495
# Assume -lc should be added
10496
archive_cmds_need_lc=yes
10498
if test "$enable_shared" = yes && test "$GCC" = yes; then
10499
case $archive_cmds in
10501
# FIXME: we may have to deal with multi-command sequences.
10504
# Test whether the compiler implicitly links with -lc since on some
10505
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10506
# to ld, don't add -lc before -lgcc.
10507
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10508
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10509
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10510
$as_echo_n "(cached) " >&6
10513
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10515
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10516
(eval $ac_compile) 2>&5
10518
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10519
test $ac_status = 0; } 2>conftest.err; then
10522
libobjs=conftest.$ac_objext
10524
wl=$lt_prog_compiler_wl
10525
pic_flag=$lt_prog_compiler_pic
10531
lt_save_allow_undefined_flag=$allow_undefined_flag
10532
allow_undefined_flag=
10533
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10534
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10536
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10537
test $ac_status = 0; }
10539
lt_cv_archive_cmds_need_lc=no
10541
lt_cv_archive_cmds_need_lc=yes
10543
allow_undefined_flag=$lt_save_allow_undefined_flag
10545
cat conftest.err 1>&5
10550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10551
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10552
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10715
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10716
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10718
if test "$GCC" = yes; then
10720
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10721
*) lt_awk_arg="/^libraries:/" ;;
10724
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10725
*) lt_sed_strip_eq="s,=/,/,g" ;;
10727
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10728
case $lt_search_path_spec in
10730
# if the path contains ";" then we assume it to be the separator
10731
# otherwise default to the standard path separator (i.e. ":") - it is
10732
# assumed that no part of a normal pathname contains ";" but that should
10733
# okay in the real world where ";" in dirpaths is itself problematic.
10734
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10737
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10740
# Ok, now we have the path, separated by spaces, we can step through it
10741
# and add multilib dir if necessary.
10742
lt_tmp_lt_search_path_spec=
10743
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10744
for lt_sys_path in $lt_search_path_spec; do
10745
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10746
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10748
test -d "$lt_sys_path" && \
10749
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10752
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10753
BEGIN {RS=" "; FS="/|\n";} {
10756
for (lt_i = NF; lt_i > 0; lt_i--) {
10757
if ($lt_i != "" && $lt_i != ".") {
10758
if ($lt_i == "..") {
10761
if (lt_count == 0) {
10762
lt_foo="/" $lt_i lt_foo;
10769
if (lt_foo != "") { lt_freq[lt_foo]++; }
10770
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10772
# AWK program above erroneously prepends '/' to C:/dos/paths
10775
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10776
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
10778
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10780
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10782
library_names_spec=
10783
libname_spec='lib$name'
10787
postuninstall_cmds=
10791
shlibpath_overrides_runpath=unknown
10793
dynamic_linker="$host_os ld.so"
10794
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10795
need_lib_prefix=unknown
10796
hardcode_into_libs=no
10798
# when you set need_version to no, make sure it does not cause -set_version
10799
# flags to be left without arguments
10800
need_version=unknown
10805
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10806
shlibpath_var=LIBPATH
10808
# AIX 3 has no versioning support, so we append a major version to the name.
10809
soname_spec='${libname}${release}${shared_ext}$major'
10816
hardcode_into_libs=yes
10817
if test "$host_cpu" = ia64; then
10818
# AIX 5 supports IA64
10819
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10820
shlibpath_var=LD_LIBRARY_PATH
10822
# With GCC up to 2.95.x, collect2 would create an import file
10823
# for dependence libraries. The import file would start with
10824
# the line `#! .'. This would cause the generated library to
10825
# depend on `.', always an invalid library. This was fixed in
10826
# development snapshots of GCC prior to 3.0.
10828
aix4 | aix4.[01] | aix4.[01].*)
10829
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10831
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10834
can_build_shared=no
10838
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10839
# soname into executable. Probably we can add versioning support to
10840
# collect2, so additional links can be useful in future.
10841
if test "$aix_use_runtimelinking" = yes; then
10842
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10843
# instead of lib<name>.a to let people know that these are not
10844
# typical AIX shared libraries.
10845
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10847
# We preserve .a as extension for shared libraries through AIX4.2
10848
# and later when we are not doing run time linking.
10849
library_names_spec='${libname}${release}.a $libname.a'
10850
soname_spec='${libname}${release}${shared_ext}$major'
10852
shlibpath_var=LIBPATH
10859
# Since July 2007 AmigaOS4 officially supports .so libraries.
10860
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10861
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10864
library_names_spec='$libname.ixlibrary $libname.a'
10865
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10866
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10872
library_names_spec='${libname}${shared_ext}'
10873
dynamic_linker="$host_os ld.so"
10874
shlibpath_var=LIBRARY_PATH
10880
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10881
soname_spec='${libname}${release}${shared_ext}$major'
10882
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10883
shlibpath_var=LD_LIBRARY_PATH
10884
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10885
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10886
# the default ld.so.conf also contains /usr/contrib/lib and
10887
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10888
# libtool to hard-code these into programs
10891
cygwin* | mingw* | pw32* | cegcc*)
10892
version_type=windows
10897
case $GCC,$cc_basename in
10900
library_names_spec='$libname.dll.a'
10901
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10902
postinstall_cmds='base_file=`basename \${file}`~
10903
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10904
dldir=$destdir/`dirname \$dlpath`~
10905
test -d \$dldir || mkdir -p \$dldir~
10906
$install_prog $dir/$dlname \$dldir/$dlname~
10907
chmod a+x \$dldir/$dlname~
10908
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10909
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10911
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10912
dlpath=$dir/\$dldll~
10914
shlibpath_overrides_runpath=yes
10918
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10919
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10921
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10924
# MinGW DLLs use traditional 'lib' prefix
10925
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10928
# pw32 DLLs use 'pw' prefix rather than 'lib'
10929
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10932
dynamic_linker='Win32 ld.exe'
10937
libname_spec='$name'
10938
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10939
library_names_spec='${libname}.dll.lib'
10943
sys_lib_search_path_spec=
10946
for lt_path in $LIB
10949
# Let DOS variable expansion print the short 8.3 style file name.
10950
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10951
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10954
# Convert to MSYS style.
10955
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10958
# Convert to unix form, then to dos form, then back to unix form
10959
# but this time dos style (no spaces!) so that the unix form looks
10960
# like /cygdrive/c/PROGRA~1:/cygdr...
10961
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10962
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10963
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10966
sys_lib_search_path_spec="$LIB"
10967
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10968
# It is most probably a Windows format PATH.
10969
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10971
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10973
# FIXME: find the short name or the path components, as spaces are
10974
# common. (e.g. "Program Files" -> "PROGRA~1")
10978
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10979
postinstall_cmds='base_file=`basename \${file}`~
10980
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10981
dldir=$destdir/`dirname \$dlpath`~
10982
test -d \$dldir || mkdir -p \$dldir~
10983
$install_prog $dir/$dlname \$dldir/$dlname'
10984
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10985
dlpath=$dir/\$dldll~
10987
shlibpath_overrides_runpath=yes
10988
dynamic_linker='Win32 link.exe'
10992
# Assume MSVC wrapper
10993
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10994
dynamic_linker='Win32 ld.exe'
10997
# FIXME: first we should search . and the directory the executable is in
11001
darwin* | rhapsody*)
11002
dynamic_linker="$host_os dyld"
11003
version_type=darwin
11006
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11007
soname_spec='${libname}${release}${major}$shared_ext'
11008
shlibpath_overrides_runpath=yes
11009
shlibpath_var=DYLD_LIBRARY_PATH
11010
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11012
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11013
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11020
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11021
soname_spec='${libname}${release}${shared_ext}$major'
11022
shlibpath_var=LD_LIBRARY_PATH
11029
freebsd* | dragonfly*)
11030
# DragonFly does not have aout. When/if they implement a new
11031
# versioning mechanism, adjust this.
11032
if test -x /usr/bin/objformat; then
11033
objformat=`/usr/bin/objformat`
11036
freebsd[123]*) objformat=aout ;;
11037
*) objformat=elf ;;
11040
version_type=freebsd-$objformat
11041
case $version_type in
11043
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11048
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11052
shlibpath_var=LD_LIBRARY_PATH
11055
shlibpath_overrides_runpath=yes
11057
freebsd3.[01]* | freebsdelf3.[01]*)
11058
shlibpath_overrides_runpath=yes
11059
hardcode_into_libs=yes
11061
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11062
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11063
shlibpath_overrides_runpath=no
11064
hardcode_into_libs=yes
11066
*) # from 4.6 on, and DragonFly
11067
shlibpath_overrides_runpath=yes
11068
hardcode_into_libs=yes
11077
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11078
soname_spec='${libname}${release}${shared_ext}$major'
11079
shlibpath_var=LD_LIBRARY_PATH
11080
shlibpath_overrides_runpath=no
11081
hardcode_into_libs=yes
11088
dynamic_linker="$host_os runtime_loader"
11089
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11090
soname_spec='${libname}${release}${shared_ext}$major'
11091
shlibpath_var=LIBRARY_PATH
11092
shlibpath_overrides_runpath=yes
11093
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11094
hardcode_into_libs=yes
11097
hpux9* | hpux10* | hpux11*)
11098
# Give a soname corresponding to the major version so that dld.sl refuses to
11099
# link against other versions.
11106
hardcode_into_libs=yes
11107
dynamic_linker="$host_os dld.so"
11108
shlibpath_var=LD_LIBRARY_PATH
11109
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11110
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11111
soname_spec='${libname}${release}${shared_ext}$major'
11112
if test "X$HPUX_IA64_MODE" = X32; then
11113
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11115
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11117
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11121
hardcode_into_libs=yes
11122
dynamic_linker="$host_os dld.sl"
11123
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11124
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11125
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11126
soname_spec='${libname}${release}${shared_ext}$major'
11127
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11128
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11132
dynamic_linker="$host_os dld.sl"
11133
shlibpath_var=SHLIB_PATH
11134
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11135
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11136
soname_spec='${libname}${release}${shared_ext}$major'
11139
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11140
postinstall_cmds='chmod 555 $lib'
11141
# or fails outright, so override atomically:
11142
install_override_mode=555
11149
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11150
soname_spec='${libname}${release}${shared_ext}$major'
11151
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11152
shlibpath_var=LD_LIBRARY_PATH
11153
shlibpath_overrides_runpath=no
11154
hardcode_into_libs=yes
11157
irix5* | irix6* | nonstopux*)
11159
nonstopux*) version_type=nonstopux ;;
11161
if test "$lt_cv_prog_gnu_ld" = yes; then
11169
soname_spec='${libname}${release}${shared_ext}$major'
11170
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11172
irix5* | nonstopux*)
11173
libsuff= shlibsuff=
11176
case $LD in # libtool.m4 will add one of these switches to LD
11177
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11178
libsuff= shlibsuff= libmagic=32-bit;;
11179
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11180
libsuff=32 shlibsuff=N32 libmagic=N32;;
11181
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11182
libsuff=64 shlibsuff=64 libmagic=64-bit;;
11183
*) libsuff= shlibsuff= libmagic=never-match;;
11187
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11188
shlibpath_overrides_runpath=no
11189
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11190
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11191
hardcode_into_libs=yes
11194
# No shared lib support for Linux oldld, aout, or coff.
11195
linux*oldld* | linux*aout* | linux*coff*)
11199
# This must be Linux ELF.
11200
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11204
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11205
soname_spec='${libname}${release}${shared_ext}$major'
11206
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11207
shlibpath_var=LD_LIBRARY_PATH
11208
shlibpath_overrides_runpath=no
11210
# Some binutils ld are patched to set DT_RUNPATH
11211
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11212
$as_echo_n "(cached) " >&6
11214
lt_cv_shlibpath_overrides_runpath=no
11215
save_LDFLAGS=$LDFLAGS
11216
save_libdir=$libdir
11217
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11218
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11219
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11220
/* end confdefs.h. */
11230
if ac_fn_c_try_link "$LINENO"; then :
11231
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11232
lt_cv_shlibpath_overrides_runpath=yes
11235
rm -f core conftest.err conftest.$ac_objext \
11236
conftest$ac_exeext conftest.$ac_ext
11237
LDFLAGS=$save_LDFLAGS
11238
libdir=$save_libdir
11242
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11244
# This implies no fast_install, which is unacceptable.
11245
# Some rework will be needed to allow for fast_install
11246
# before this can be enabled.
11247
hardcode_into_libs=yes
11249
# Append ld.so.conf contents to the search path
11250
if test -f /etc/ld.so.conf; then
11251
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;s/"//g;/^$/d' | tr '\n' ' '`
11252
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11255
# We used to test for /lib/ld.so.1 and disable shared libraries on
11256
# powerpc, because MkLinux only supported shared libraries with the
11257
# GNU dynamic linker. Since this was broken with cross compilers,
11258
# most powerpc-linux boxes support dynamic linking these days and
11259
# people can always --disable-shared, the test was removed, and we
11260
# assume the GNU/Linux dynamic linker is in use.
11261
dynamic_linker='GNU/Linux ld.so'
11268
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11269
soname_spec='${libname}${release}${shared_ext}$major'
11270
shlibpath_var=LD_LIBRARY_PATH
11271
shlibpath_overrides_runpath=no
11272
hardcode_into_libs=yes
11273
dynamic_linker='NetBSD ld.elf_so'
11280
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11281
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11282
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11283
dynamic_linker='NetBSD (a.out) ld.so'
11285
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11286
soname_spec='${libname}${release}${shared_ext}$major'
11287
dynamic_linker='NetBSD ld.elf_so'
11289
shlibpath_var=LD_LIBRARY_PATH
11290
shlibpath_overrides_runpath=yes
11291
hardcode_into_libs=yes
11296
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11297
shlibpath_var=LD_LIBRARY_PATH
11298
shlibpath_overrides_runpath=yes
11305
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11306
soname_spec='${libname}${release}${shared_ext}$major'
11307
shlibpath_var=LD_LIBRARY_PATH
11308
shlibpath_overrides_runpath=no
11309
hardcode_into_libs=yes
11310
dynamic_linker='ldqnx.so'
11315
sys_lib_dlsearch_path_spec="/usr/lib"
11317
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11319
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11320
*) need_version=no ;;
11322
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11323
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11324
shlibpath_var=LD_LIBRARY_PATH
11325
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11327
openbsd2.[89] | openbsd2.[89].*)
11328
shlibpath_overrides_runpath=no
11331
shlibpath_overrides_runpath=yes
11335
shlibpath_overrides_runpath=yes
11340
libname_spec='$name'
11343
library_names_spec='$libname${shared_ext} $libname.a'
11344
dynamic_linker='OS/2 ld.exe'
11345
shlibpath_var=LIBPATH
11348
osf3* | osf4* | osf5*)
11352
soname_spec='${libname}${release}${shared_ext}$major'
11353
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11354
shlibpath_var=LD_LIBRARY_PATH
11355
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11356
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11367
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11368
soname_spec='${libname}${release}${shared_ext}$major'
11369
shlibpath_var=LD_LIBRARY_PATH
11370
shlibpath_overrides_runpath=yes
11371
hardcode_into_libs=yes
11372
# ldd complains unless libraries are executable
11373
postinstall_cmds='chmod +x $lib'
11378
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11379
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11380
shlibpath_var=LD_LIBRARY_PATH
11381
shlibpath_overrides_runpath=yes
11382
if test "$with_gnu_ld" = yes; then
11390
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11391
soname_spec='${libname}${release}${shared_ext}$major'
11392
shlibpath_var=LD_LIBRARY_PATH
11393
case $host_vendor in
11395
shlibpath_overrides_runpath=no
11397
runpath_var=LD_RUN_PATH
11405
shlibpath_overrides_runpath=no
11406
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11412
if test -d /usr/nec ;then
11414
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11415
soname_spec='$libname${shared_ext}.$major'
11416
shlibpath_var=LD_LIBRARY_PATH
11420
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11421
version_type=freebsd-elf
11424
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11425
soname_spec='${libname}${release}${shared_ext}$major'
11426
shlibpath_var=LD_LIBRARY_PATH
11427
shlibpath_overrides_runpath=yes
11428
hardcode_into_libs=yes
11429
if test "$with_gnu_ld" = yes; then
11430
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11432
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11435
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11439
sys_lib_dlsearch_path_spec='/usr/lib'
11443
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11447
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11448
shlibpath_var=LD_LIBRARY_PATH
11449
shlibpath_overrides_runpath=no
11450
hardcode_into_libs=yes
11455
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11456
soname_spec='${libname}${release}${shared_ext}$major'
11457
shlibpath_var=LD_LIBRARY_PATH
11464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11465
$as_echo "$dynamic_linker" >&6; }
11466
test "$dynamic_linker" = no && can_build_shared=no
11468
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11469
if test "$GCC" = yes; then
11470
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11473
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11474
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11476
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11477
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11572
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11574
if test -n "$hardcode_libdir_flag_spec" ||
11575
test -n "$runpath_var" ||
11576
test "X$hardcode_automatic" = "Xyes" ; then
11578
# We can hardcode non-existent directories.
11579
if test "$hardcode_direct" != no &&
11580
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11581
# have to relink, otherwise we might link with an installed library
11582
# when we should be linking with a yet-to-be-installed one
11583
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11584
test "$hardcode_minus_L" != no; then
11585
# Linking always hardcodes the temporary library directory.
11586
hardcode_action=relink
11588
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11589
hardcode_action=immediate
11592
# We cannot hardcode anything, or else we can only hardcode existing
11594
hardcode_action=unsupported
11596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11597
$as_echo "$hardcode_action" >&6; }
11599
if test "$hardcode_action" = relink ||
11600
test "$inherit_rpath" = yes; then
11601
# Fast installation is not supported
11602
enable_fast_install=no
11603
elif test "$shlibpath_overrides_runpath" = yes ||
11604
test "$enable_shared" = no; then
11605
# Fast installation is not necessary
11606
enable_fast_install=needless
11614
if test "x$enable_dlopen" != xyes; then
11615
enable_dlopen=unknown
11616
enable_dlopen_self=unknown
11617
enable_dlopen_self_static=unknown
11624
lt_cv_dlopen="load_add_on"
11626
lt_cv_dlopen_self=yes
11629
mingw* | pw32* | cegcc*)
11630
lt_cv_dlopen="LoadLibrary"
11635
lt_cv_dlopen="dlopen"
11640
# if libdl is installed we need to link against it
11641
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11642
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11643
if ${ac_cv_lib_dl_dlopen+:} false; then :
11644
$as_echo_n "(cached) " >&6
11646
ac_check_lib_save_LIBS=$LIBS
11648
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11649
/* end confdefs.h. */
11651
/* Override any GCC internal prototype to avoid an error.
11652
Use char because int might match the return type of a GCC
11653
builtin and then its argument prototype would still apply. */
11666
if ac_fn_c_try_link "$LINENO"; then :
11667
ac_cv_lib_dl_dlopen=yes
11669
ac_cv_lib_dl_dlopen=no
11671
rm -f core conftest.err conftest.$ac_objext \
11672
conftest$ac_exeext conftest.$ac_ext
11673
LIBS=$ac_check_lib_save_LIBS
11675
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11676
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11677
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11678
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11681
lt_cv_dlopen="dyld"
11683
lt_cv_dlopen_self=yes
11690
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11691
if test "x$ac_cv_func_shl_load" = xyes; then :
11692
lt_cv_dlopen="shl_load"
11694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11695
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11696
if ${ac_cv_lib_dld_shl_load+:} false; then :
11697
$as_echo_n "(cached) " >&6
11699
ac_check_lib_save_LIBS=$LIBS
11701
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11702
/* end confdefs.h. */
11704
/* Override any GCC internal prototype to avoid an error.
11705
Use char because int might match the return type of a GCC
11706
builtin and then its argument prototype would still apply. */
11714
return shl_load ();
11719
if ac_fn_c_try_link "$LINENO"; then :
11720
ac_cv_lib_dld_shl_load=yes
11722
ac_cv_lib_dld_shl_load=no
11724
rm -f core conftest.err conftest.$ac_objext \
11725
conftest$ac_exeext conftest.$ac_ext
11726
LIBS=$ac_check_lib_save_LIBS
11728
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11729
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11730
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11731
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11733
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11734
if test "x$ac_cv_func_dlopen" = xyes; then :
11735
lt_cv_dlopen="dlopen"
11737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11738
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11739
if ${ac_cv_lib_dl_dlopen+:} false; then :
11740
$as_echo_n "(cached) " >&6
11742
ac_check_lib_save_LIBS=$LIBS
11744
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11745
/* end confdefs.h. */
11747
/* Override any GCC internal prototype to avoid an error.
11748
Use char because int might match the return type of a GCC
11749
builtin and then its argument prototype would still apply. */
11762
if ac_fn_c_try_link "$LINENO"; then :
11763
ac_cv_lib_dl_dlopen=yes
11765
ac_cv_lib_dl_dlopen=no
11767
rm -f core conftest.err conftest.$ac_objext \
11768
conftest$ac_exeext conftest.$ac_ext
11769
LIBS=$ac_check_lib_save_LIBS
11771
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11772
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11773
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11774
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11777
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11778
if ${ac_cv_lib_svld_dlopen+:} false; then :
11779
$as_echo_n "(cached) " >&6
11781
ac_check_lib_save_LIBS=$LIBS
11782
LIBS="-lsvld $LIBS"
11783
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11784
/* end confdefs.h. */
11786
/* Override any GCC internal prototype to avoid an error.
11787
Use char because int might match the return type of a GCC
11788
builtin and then its argument prototype would still apply. */
11801
if ac_fn_c_try_link "$LINENO"; then :
11802
ac_cv_lib_svld_dlopen=yes
11804
ac_cv_lib_svld_dlopen=no
11806
rm -f core conftest.err conftest.$ac_objext \
11807
conftest$ac_exeext conftest.$ac_ext
11808
LIBS=$ac_check_lib_save_LIBS
11810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11811
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11812
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11813
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11815
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11816
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11817
if ${ac_cv_lib_dld_dld_link+:} false; then :
11818
$as_echo_n "(cached) " >&6
11820
ac_check_lib_save_LIBS=$LIBS
11822
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11823
/* end confdefs.h. */
11825
/* Override any GCC internal prototype to avoid an error.
11826
Use char because int might match the return type of a GCC
11827
builtin and then its argument prototype would still apply. */
11835
return dld_link ();
11840
if ac_fn_c_try_link "$LINENO"; then :
11841
ac_cv_lib_dld_dld_link=yes
11843
ac_cv_lib_dld_dld_link=no
11845
rm -f core conftest.err conftest.$ac_objext \
11846
conftest$ac_exeext conftest.$ac_ext
11847
LIBS=$ac_check_lib_save_LIBS
11849
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11850
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11851
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11852
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11873
if test "x$lt_cv_dlopen" != xno; then
11879
case $lt_cv_dlopen in
11881
save_CPPFLAGS="$CPPFLAGS"
11882
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11884
save_LDFLAGS="$LDFLAGS"
11885
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11888
LIBS="$lt_cv_dlopen_libs $LIBS"
11890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11891
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11892
if ${lt_cv_dlopen_self+:} false; then :
11893
$as_echo_n "(cached) " >&6
11895
if test "$cross_compiling" = yes; then :
11896
lt_cv_dlopen_self=cross
11898
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11899
lt_status=$lt_dlunknown
11900
cat > conftest.$ac_ext <<_LT_EOF
11901
#line $LINENO "configure"
11902
#include "confdefs.h"
11911
# define LT_DLGLOBAL RTLD_GLOBAL
11914
# define LT_DLGLOBAL DL_GLOBAL
11916
# define LT_DLGLOBAL 0
11920
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11921
find out it does not work in some platform. */
11922
#ifndef LT_DLLAZY_OR_NOW
11924
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11927
# define LT_DLLAZY_OR_NOW DL_LAZY
11930
# define LT_DLLAZY_OR_NOW RTLD_NOW
11933
# define LT_DLLAZY_OR_NOW DL_NOW
11935
# define LT_DLLAZY_OR_NOW 0
11942
/* When -fvisbility=hidden is used, assume the code has been annotated
11943
correspondingly for the symbols needed. */
11944
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11945
int fnord () __attribute__((visibility("default")));
11948
int fnord () { return 42; }
11951
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11952
int status = $lt_dlunknown;
11956
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11959
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11960
else puts (dlerror ());
11962
/* dlclose (self); */
11970
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11971
(eval $ac_link) 2>&5
11973
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11974
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11975
(./conftest; exit; ) >&5 2>/dev/null
11977
case x$lt_status in
11978
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11979
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11980
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11983
# compilation failed
11984
lt_cv_dlopen_self=no
11991
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11992
$as_echo "$lt_cv_dlopen_self" >&6; }
11994
if test "x$lt_cv_dlopen_self" = xyes; then
11995
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11997
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11998
if ${lt_cv_dlopen_self_static+:} false; then :
11999
$as_echo_n "(cached) " >&6
12001
if test "$cross_compiling" = yes; then :
12002
lt_cv_dlopen_self_static=cross
12004
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12005
lt_status=$lt_dlunknown
12006
cat > conftest.$ac_ext <<_LT_EOF
12007
#line $LINENO "configure"
12008
#include "confdefs.h"
12017
# define LT_DLGLOBAL RTLD_GLOBAL
12020
# define LT_DLGLOBAL DL_GLOBAL
12022
# define LT_DLGLOBAL 0
12026
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12027
find out it does not work in some platform. */
12028
#ifndef LT_DLLAZY_OR_NOW
12030
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12033
# define LT_DLLAZY_OR_NOW DL_LAZY
12036
# define LT_DLLAZY_OR_NOW RTLD_NOW
12039
# define LT_DLLAZY_OR_NOW DL_NOW
12041
# define LT_DLLAZY_OR_NOW 0
12048
/* When -fvisbility=hidden is used, assume the code has been annotated
12049
correspondingly for the symbols needed. */
12050
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12051
int fnord () __attribute__((visibility("default")));
12054
int fnord () { return 42; }
12057
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12058
int status = $lt_dlunknown;
12062
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12065
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12066
else puts (dlerror ());
12068
/* dlclose (self); */
12076
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12077
(eval $ac_link) 2>&5
12079
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12080
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12081
(./conftest; exit; ) >&5 2>/dev/null
12083
case x$lt_status in
12084
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12085
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12086
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12089
# compilation failed
12090
lt_cv_dlopen_self_static=no
12097
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12098
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12101
CPPFLAGS="$save_CPPFLAGS"
12102
LDFLAGS="$save_LDFLAGS"
12107
case $lt_cv_dlopen_self in
12108
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12109
*) enable_dlopen_self=unknown ;;
12112
case $lt_cv_dlopen_self_static in
12113
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12114
*) enable_dlopen_self_static=unknown ;;
12136
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12137
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12138
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12139
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12140
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12142
$as_echo "yes" >&6; }
12144
# FIXME - insert some real tests, host_os isn't really good enough
12147
if test -n "$STRIP" ; then
12148
striplib="$STRIP -x"
12149
old_striplib="$STRIP -S"
12150
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12151
$as_echo "yes" >&6; }
12153
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12154
$as_echo "no" >&6; }
12158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12159
$as_echo "no" >&6; }
12175
# Report which library types will actually be built
12176
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12177
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12178
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12179
$as_echo "$can_build_shared" >&6; }
12181
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12182
$as_echo_n "checking whether to build shared libraries... " >&6; }
12183
test "$can_build_shared" = "no" && enable_shared=no
12185
# On AIX, shared libraries and static libraries use the same namespace, and
12186
# are all built from PIC.
12189
test "$enable_shared" = yes && enable_static=no
12190
if test -n "$RANLIB"; then
12191
archive_cmds="$archive_cmds~\$RANLIB \$lib"
12192
postinstall_cmds='$RANLIB $lib'
12197
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12198
test "$enable_shared" = yes && enable_static=no
12202
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12203
$as_echo "$enable_shared" >&6; }
12205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12206
$as_echo_n "checking whether to build static libraries... " >&6; }
12207
# Make sure either enable_shared or enable_static is yes.
12208
test "$enable_shared" = yes || enable_static=yes
12209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12210
$as_echo "$enable_static" >&6; }
12217
ac_cpp='$CPP $CPPFLAGS'
12218
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12219
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12220
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12224
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12225
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12226
(test "X$CXX" != "Xg++"))) ; then
12228
ac_cpp='$CXXCPP $CPPFLAGS'
12229
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12230
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12231
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12232
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12233
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12234
if test -z "$CXXCPP"; then
12235
if ${ac_cv_prog_CXXCPP+:} false; then :
12236
$as_echo_n "(cached) " >&6
12238
# Double quotes because CXXCPP needs to be expanded
12239
for CXXCPP in "$CXX -E" "/lib/cpp"
12241
ac_preproc_ok=false
12242
for ac_cxx_preproc_warn_flag in '' yes
12244
# Use a header file that comes with gcc, so configuring glibc
12245
# with a fresh cross-compiler works.
12246
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12247
# <limits.h> exists even on freestanding compilers.
12248
# On the NeXT, cc -E runs the code through the compiler's parser,
12249
# not just through cpp. "Syntax error" is here to catch this case.
12250
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12251
/* end confdefs.h. */
12253
# include <limits.h>
12255
# include <assert.h>
12259
if ac_fn_cxx_try_cpp "$LINENO"; then :
12262
# Broken: fails on valid input.
12265
rm -f conftest.err conftest.i conftest.$ac_ext
12267
# OK, works on sane cases. Now check whether nonexistent headers
12268
# can be detected and how.
12269
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12270
/* end confdefs.h. */
12271
#include <ac_nonexistent.h>
12273
if ac_fn_cxx_try_cpp "$LINENO"; then :
12274
# Broken: success on invalid input.
12277
# Passes both tests.
12281
rm -f conftest.err conftest.i conftest.$ac_ext
12284
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12285
rm -f conftest.i conftest.err conftest.$ac_ext
12286
if $ac_preproc_ok; then :
12291
ac_cv_prog_CXXCPP=$CXXCPP
12294
CXXCPP=$ac_cv_prog_CXXCPP
12296
ac_cv_prog_CXXCPP=$CXXCPP
12298
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12299
$as_echo "$CXXCPP" >&6; }
12300
ac_preproc_ok=false
12301
for ac_cxx_preproc_warn_flag in '' yes
12303
# Use a header file that comes with gcc, so configuring glibc
12304
# with a fresh cross-compiler works.
12305
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12306
# <limits.h> exists even on freestanding compilers.
12307
# On the NeXT, cc -E runs the code through the compiler's parser,
12308
# not just through cpp. "Syntax error" is here to catch this case.
12309
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12310
/* end confdefs.h. */
12312
# include <limits.h>
12314
# include <assert.h>
12318
if ac_fn_cxx_try_cpp "$LINENO"; then :
12321
# Broken: fails on valid input.
12324
rm -f conftest.err conftest.i conftest.$ac_ext
12326
# OK, works on sane cases. Now check whether nonexistent headers
12327
# can be detected and how.
12328
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12329
/* end confdefs.h. */
12330
#include <ac_nonexistent.h>
12332
if ac_fn_cxx_try_cpp "$LINENO"; then :
12333
# Broken: success on invalid input.
12336
# Passes both tests.
12340
rm -f conftest.err conftest.i conftest.$ac_ext
12343
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12344
rm -f conftest.i conftest.err conftest.$ac_ext
12345
if $ac_preproc_ok; then :
12348
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12349
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12350
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12351
See \`config.log' for more details" "$LINENO" 5; }
12355
ac_cpp='$CPP $CPPFLAGS'
12356
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12357
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12358
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12361
_lt_caught_CXX_error=yes
12365
ac_cpp='$CXXCPP $CPPFLAGS'
12366
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12367
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12368
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12370
archive_cmds_need_lc_CXX=no
12371
allow_undefined_flag_CXX=
12372
always_export_symbols_CXX=no
12373
archive_expsym_cmds_CXX=
12374
compiler_needs_object_CXX=no
12375
export_dynamic_flag_spec_CXX=
12376
hardcode_direct_CXX=no
12377
hardcode_direct_absolute_CXX=no
12378
hardcode_libdir_flag_spec_CXX=
12379
hardcode_libdir_flag_spec_ld_CXX=
12380
hardcode_libdir_separator_CXX=
12381
hardcode_minus_L_CXX=no
12382
hardcode_shlibpath_var_CXX=unsupported
12383
hardcode_automatic_CXX=no
12384
inherit_rpath_CXX=no
12386
module_expsym_cmds_CXX=
12387
link_all_deplibs_CXX=unknown
12388
old_archive_cmds_CXX=$old_archive_cmds
12389
reload_flag_CXX=$reload_flag
12390
reload_cmds_CXX=$reload_cmds
12391
no_undefined_flag_CXX=
12392
whole_archive_flag_spec_CXX=
12393
enable_shared_with_static_runtimes_CXX=no
12395
# Source file extension for C++ test sources.
12398
# Object file extension for compiled C++ test sources.
12402
# No sense in running all these tests if we already determined that
12403
# the CXX compiler isn't working. Some variables (like enable_shared)
12404
# are currently assumed to apply to all compilers on this platform,
12405
# and will be corrupted by setting them based on a non-working compiler.
12406
if test "$_lt_caught_CXX_error" != yes; then
12407
# Code to be used in simple compile tests
12408
lt_simple_compile_test_code="int some_variable = 0;"
12410
# Code to be used in simple link tests
12411
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12413
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12420
# If no C compiler was specified, use CC.
12423
# If no C compiler flags were specified, use CFLAGS.
12424
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12426
# Allow CC to be a program name with arguments.
12430
# save warnings/boilerplate of simple test code
12431
ac_outfile=conftest.$ac_objext
12432
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12433
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12434
_lt_compiler_boilerplate=`cat conftest.err`
12437
ac_outfile=conftest.$ac_objext
12438
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12439
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12440
_lt_linker_boilerplate=`cat conftest.err`
12444
# Allow CC to be a program name with arguments.
12446
lt_save_CFLAGS=$CFLAGS
12450
lt_save_with_gnu_ld=$with_gnu_ld
12451
lt_save_path_LD=$lt_cv_path_LD
12452
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12453
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12455
$as_unset lt_cv_prog_gnu_ld
12457
if test -n "${lt_cv_path_LDCXX+set}"; then
12458
lt_cv_path_LD=$lt_cv_path_LDCXX
12460
$as_unset lt_cv_path_LD
12462
test -z "${LDCXX+set}" || LD=$LDCXX
12467
for cc_temp in $compiler""; do
12469
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12470
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12475
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12478
if test -n "$compiler"; then
12479
# We don't want -fno-exception when compiling C++ code, so set the
12480
# no_builtin_flag separately
12481
if test "$GXX" = yes; then
12482
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12484
lt_prog_compiler_no_builtin_flag_CXX=
12487
if test "$GXX" = yes; then
12488
# Set up default GNU C++ configuration
12492
# Check whether --with-gnu-ld was given.
12493
if test "${with_gnu_ld+set}" = set; then :
12494
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12500
if test "$GCC" = yes; then
12501
# Check if gcc -print-prog-name=ld gives a path.
12502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12503
$as_echo_n "checking for ld used by $CC... " >&6; }
12506
# gcc leaves a trailing carriage return which upsets mingw
12507
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12509
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12512
# Accept absolute paths.
12514
re_direlt='/[^/][^/]*/\.\./'
12515
# Canonicalize the pathname of ld
12516
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12517
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12518
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12520
test -z "$LD" && LD="$ac_prog"
12523
# If it fails, then pretend we aren't using GCC.
12527
# If it is relative, then search for the first ld in PATH.
12528
with_gnu_ld=unknown
12531
elif test "$with_gnu_ld" = yes; then
12532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12533
$as_echo_n "checking for GNU ld... " >&6; }
12535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12536
$as_echo_n "checking for non-GNU ld... " >&6; }
12538
if ${lt_cv_path_LD+:} false; then :
12539
$as_echo_n "(cached) " >&6
12541
if test -z "$LD"; then
12542
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12543
for ac_dir in $PATH; do
12545
test -z "$ac_dir" && ac_dir=.
12546
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12547
lt_cv_path_LD="$ac_dir/$ac_prog"
12548
# Check to see if the program is GNU ld. I'd rather use --version,
12549
# but apparently some variants of GNU ld only accept -v.
12550
# Break only if it was the GNU/non-GNU ld that we prefer.
12551
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12552
*GNU* | *'with BFD'*)
12553
test "$with_gnu_ld" != no && break
12556
test "$with_gnu_ld" != yes && break
12563
lt_cv_path_LD="$LD" # Let the user override the test with a path.
12567
LD="$lt_cv_path_LD"
12568
if test -n "$LD"; then
12569
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12570
$as_echo "$LD" >&6; }
12572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12573
$as_echo "no" >&6; }
12575
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12576
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12577
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12578
if ${lt_cv_prog_gnu_ld+:} false; then :
12579
$as_echo_n "(cached) " >&6
12581
# I'd rather use --version here, but apparently some GNU lds only accept -v.
12582
case `$LD -v 2>&1 </dev/null` in
12583
*GNU* | *'with BFD'*)
12584
lt_cv_prog_gnu_ld=yes
12587
lt_cv_prog_gnu_ld=no
12591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12592
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12593
with_gnu_ld=$lt_cv_prog_gnu_ld
12601
# Check if GNU C++ uses GNU ld as the underlying linker, since the
12602
# archiving commands below assume that GNU ld is being used.
12603
if test "$with_gnu_ld" = yes; then
12604
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12605
archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12607
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12608
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12610
# If archive_cmds runs LD, not CC, wlarc should be empty
12611
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12612
# investigate it a little bit more. (MM)
12615
# ancient GNU ld didn't support --whole-archive et. al.
12616
if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12617
$GREP 'no-whole-archive' > /dev/null; then
12618
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12620
whole_archive_flag_spec_CXX=
12626
# A generic and very simple default shared library creation
12627
# command for GNU C++ for the case where it uses the native
12628
# linker, instead of GNU ld. If possible, this setting should
12629
# overridden to take advantage of the native linker features on
12630
# the platform it is being used on.
12631
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12634
# Commands to make compiler produce verbose output that lists
12635
# what "hidden" libraries, object files and flags are used when
12636
# linking a shared library.
12637
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12645
# PORTME: fill in a description of your system's C++ link characteristics
12646
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12647
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12651
# FIXME: insert proper C++ library support
12655
if test "$host_cpu" = ia64; then
12656
# On IA64, the linker does run time linking by default, so we don't
12657
# have to do anything special.
12658
aix_use_runtimelinking=no
12659
exp_sym_flag='-Bexport'
12662
aix_use_runtimelinking=no
12664
# Test if we are trying to use run time linking or normal
12665
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
12666
# need to do runtime linking.
12667
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12668
for ld_flag in $LDFLAGS; do
12671
aix_use_runtimelinking=yes
12679
exp_sym_flag='-bexport'
12680
no_entry_flag='-bnoentry'
12683
# When large executables or shared objects are built, AIX ld can
12684
# have problems creating the table of contents. If linking a library
12685
# or program results in "error TOC overflow" add -mminimal-toc to
12686
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12687
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12689
archive_cmds_CXX=''
12690
hardcode_direct_CXX=yes
12691
hardcode_direct_absolute_CXX=yes
12692
hardcode_libdir_separator_CXX=':'
12693
link_all_deplibs_CXX=yes
12694
file_list_spec_CXX='${wl}-f,'
12696
if test "$GXX" = yes; then
12697
case $host_os in aix4.[012]|aix4.[012].*)
12698
# We only want to do this on AIX 4.2 and lower, the check
12699
# below for broken collect2 doesn't work under 4.3+
12700
collect2name=`${CC} -print-prog-name=collect2`
12701
if test -f "$collect2name" &&
12702
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12704
# We have reworked collect2
12707
# We have old collect2
12708
hardcode_direct_CXX=unsupported
12709
# It fails to find uninstalled libraries when the uninstalled
12710
# path is not listed in the libpath. Setting hardcode_minus_L
12711
# to unsupported forces relinking
12712
hardcode_minus_L_CXX=yes
12713
hardcode_libdir_flag_spec_CXX='-L$libdir'
12714
hardcode_libdir_separator_CXX=
12717
shared_flag='-shared'
12718
if test "$aix_use_runtimelinking" = yes; then
12719
shared_flag="$shared_flag "'${wl}-G'
12723
if test "$host_cpu" = ia64; then
12724
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12725
# chokes on -Wl,-G. The following line is correct:
12728
if test "$aix_use_runtimelinking" = yes; then
12729
shared_flag='${wl}-G'
12731
shared_flag='${wl}-bM:SRE'
12736
export_dynamic_flag_spec_CXX='${wl}-bexpall'
12737
# It seems that -bexpall does not export symbols beginning with
12738
# underscore (_), so it is better to generate a list of symbols to
12740
always_export_symbols_CXX=yes
12741
if test "$aix_use_runtimelinking" = yes; then
12742
# Warning - without using the other runtime loading flags (-brtl),
12743
# -berok will link without error, but may produce a broken library.
12744
allow_undefined_flag_CXX='-berok'
12745
# Determine the default libpath from the value encoded in an empty
12747
if test "${lt_cv_aix_libpath+set}" = set; then
12748
aix_libpath=$lt_cv_aix_libpath
12750
if ${lt_cv_aix_libpath__CXX+:} false; then :
12751
$as_echo_n "(cached) " >&6
12753
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12754
/* end confdefs.h. */
12764
if ac_fn_cxx_try_link "$LINENO"; then :
12766
lt_aix_libpath_sed='
12767
/Import File Strings/,/^$/ {
12769
s/^0 *\([^ ]*\) *$/\1/
12773
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12774
# Check for a 64-bit object if we didn't find anything.
12775
if test -z "$lt_cv_aix_libpath__CXX"; then
12776
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12779
rm -f core conftest.err conftest.$ac_objext \
12780
conftest$ac_exeext conftest.$ac_ext
12781
if test -z "$lt_cv_aix_libpath__CXX"; then
12782
lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12787
aix_libpath=$lt_cv_aix_libpath__CXX
12790
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12792
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 func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12794
if test "$host_cpu" = ia64; then
12795
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12796
allow_undefined_flag_CXX="-z nodefs"
12797
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"
12799
# Determine the default libpath from the value encoded in an
12800
# empty executable.
12801
if test "${lt_cv_aix_libpath+set}" = set; then
12802
aix_libpath=$lt_cv_aix_libpath
12804
if ${lt_cv_aix_libpath__CXX+:} false; then :
12805
$as_echo_n "(cached) " >&6
12807
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12808
/* end confdefs.h. */
12818
if ac_fn_cxx_try_link "$LINENO"; then :
12820
lt_aix_libpath_sed='
12821
/Import File Strings/,/^$/ {
12823
s/^0 *\([^ ]*\) *$/\1/
12827
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12828
# Check for a 64-bit object if we didn't find anything.
12829
if test -z "$lt_cv_aix_libpath__CXX"; then
12830
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12833
rm -f core conftest.err conftest.$ac_objext \
12834
conftest$ac_exeext conftest.$ac_ext
12835
if test -z "$lt_cv_aix_libpath__CXX"; then
12836
lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12841
aix_libpath=$lt_cv_aix_libpath__CXX
12844
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12845
# Warning - without using the other run time loading flags,
12846
# -berok will link without error, but may produce a broken library.
12847
no_undefined_flag_CXX=' ${wl}-bernotok'
12848
allow_undefined_flag_CXX=' ${wl}-berok'
12849
if test "$with_gnu_ld" = yes; then
12850
# We only use this code for GNU lds that support --whole-archive.
12851
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12853
# Exported symbols can be pulled into shared objects from archives
12854
whole_archive_flag_spec_CXX='$convenience'
12856
archive_cmds_need_lc_CXX=yes
12857
# This is similar to how AIX traditionally builds its shared
12859
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'
12865
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12866
allow_undefined_flag_CXX=unsupported
12867
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12868
# support --undefined. This deserves some investigation. FIXME
12869
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12876
case $cc_basename in
12878
# FIXME: insert proper C++ library support
12884
cygwin* | mingw* | pw32* | cegcc*)
12885
case $GXX,$cc_basename in
12888
# hardcode_libdir_flag_spec is actually meaningless, as there is
12889
# no search path for DLLs.
12890
hardcode_libdir_flag_spec_CXX=' '
12891
allow_undefined_flag_CXX=unsupported
12892
always_export_symbols_CXX=yes
12893
file_list_spec_CXX='@'
12894
# Tell ltmain to make .lib files, not .a files.
12896
# Tell ltmain to make .dll files, not .so files.
12898
# FIXME: Setting linknames here is a bad hack.
12899
archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12900
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12901
$SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12903
$SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12905
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12907
# The linker will not automatically build a static lib if we build a DLL.
12908
# _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12909
enable_shared_with_static_runtimes_CXX=yes
12911
old_postinstall_cmds_CXX='chmod 644 $oldlib'
12912
postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12913
lt_tool_outputfile="@TOOL_OUTPUT@"~
12914
case $lt_outputfile in
12917
lt_outputfile="$lt_outputfile.exe"
12918
lt_tool_outputfile="$lt_tool_outputfile.exe"
12921
func_to_tool_file "$lt_outputfile"~
12922
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12923
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12924
$RM "$lt_outputfile.manifest";
12929
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12930
# as there is no search path for DLLs.
12931
hardcode_libdir_flag_spec_CXX='-L$libdir'
12932
export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12933
allow_undefined_flag_CXX=unsupported
12934
always_export_symbols_CXX=no
12935
enable_shared_with_static_runtimes_CXX=yes
12937
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12938
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'
12939
# If the export-symbols file already is a .def file (1st line
12940
# is EXPORTS), use it as is; otherwise, prepend...
12941
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12942
cp $export_symbols $output_objdir/$soname.def;
12944
echo EXPORTS > $output_objdir/$soname.def;
12945
cat $export_symbols >> $output_objdir/$soname.def;
12947
$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'
12954
darwin* | rhapsody*)
12957
archive_cmds_need_lc_CXX=no
12958
hardcode_direct_CXX=no
12959
hardcode_automatic_CXX=yes
12960
hardcode_shlibpath_var_CXX=unsupported
12961
if test "$lt_cv_ld_force_load" = "yes"; then
12962
whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12964
whole_archive_flag_spec_CXX=''
12966
link_all_deplibs_CXX=yes
12967
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12968
case $cc_basename in
12969
ifort*) _lt_dar_can_shared=yes ;;
12970
*) _lt_dar_can_shared=$GCC ;;
12972
if test "$_lt_dar_can_shared" = "yes"; then
12973
output_verbose_link_cmd=func_echo_all
12974
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}"
12975
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12976
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}"
12977
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}"
12978
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12979
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}"
12980
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}"
12990
case $cc_basename in
12992
# FIXME: insert proper C++ library support
12996
# Green Hills C++ Compiler
12997
# FIXME: insert proper C++ library support
13001
# FIXME: insert proper C++ library support
13008
# C++ shared libraries reported to be fairly broken before
13014
archive_cmds_need_lc_CXX=no
13017
freebsd* | dragonfly*)
13018
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13027
archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13028
link_all_deplibs_CXX=yes
13032
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13033
hardcode_libdir_separator_CXX=:
13034
export_dynamic_flag_spec_CXX='${wl}-E'
13035
hardcode_direct_CXX=yes
13036
hardcode_minus_L_CXX=yes # Not in the search PATH,
13037
# but as the default
13038
# location of the library.
13040
case $cc_basename in
13042
# FIXME: insert proper C++ library support
13046
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'
13047
# Commands to make compiler produce verbose output that lists
13048
# what "hidden" libraries, object files and flags are used when
13049
# linking a shared library.
13051
# There doesn't appear to be a way to prevent this compiler from
13052
# explicitly linking system object files so we need to strip them
13053
# from the output so that they don't get included in the library
13055
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; func_echo_all "$list"'
13058
if test "$GXX" = yes; then
13059
archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${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'
13061
# FIXME: insert proper C++ library support
13069
if test $with_gnu_ld = no; then
13070
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13071
hardcode_libdir_separator_CXX=:
13077
export_dynamic_flag_spec_CXX='${wl}-E'
13083
hardcode_direct_CXX=no
13084
hardcode_shlibpath_var_CXX=no
13087
hardcode_direct_CXX=yes
13088
hardcode_direct_absolute_CXX=yes
13089
hardcode_minus_L_CXX=yes # Not in the search PATH,
13090
# but as the default
13091
# location of the library.
13095
case $cc_basename in
13097
# FIXME: insert proper C++ library support
13103
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13106
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13109
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13112
# Commands to make compiler produce verbose output that lists
13113
# what "hidden" libraries, object files and flags are used when
13114
# linking a shared library.
13116
# There doesn't appear to be a way to prevent this compiler from
13117
# explicitly linking system object files so we need to strip them
13118
# from the output so that they don't get included in the library
13120
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; func_echo_all "$list"'
13123
if test "$GXX" = yes; then
13124
if test $with_gnu_ld = no; then
13127
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13130
archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13133
archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13138
# FIXME: insert proper C++ library support
13146
hardcode_direct_CXX=no
13147
hardcode_shlibpath_var_CXX=no
13148
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13149
export_dynamic_flag_spec_CXX='${wl}-E'
13150
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13151
# Instead, shared libraries are loaded at an image base (0x10000000 by
13152
# default) and relocated if they conflict, which is a slow very memory
13153
# consuming and fragmenting process. To avoid this, we pick a random,
13154
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13155
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
13156
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'
13157
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'
13160
case $cc_basename in
13163
archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13165
# Archives containing C++ object files must be created using
13166
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
13167
# necessary to make sure instantiated templates are included
13169
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13172
if test "$GXX" = yes; then
13173
if test "$with_gnu_ld" = no; then
13174
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13176
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13179
link_all_deplibs_CXX=yes
13182
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13183
hardcode_libdir_separator_CXX=:
13184
inherit_rpath_CXX=yes
13187
linux* | k*bsd*-gnu | kopensolaris*-gnu)
13188
case $cc_basename in
13190
# Kuck and Associates, Inc. (KAI) C++ Compiler
13192
# KCC will only create a shared library if the output file
13193
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13194
# to its proper name (with version) after linking.
13195
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'
13196
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'
13197
# Commands to make compiler produce verbose output that lists
13198
# what "hidden" libraries, object files and flags are used when
13199
# linking a shared library.
13201
# There doesn't appear to be a way to prevent this compiler from
13202
# explicitly linking system object files so we need to strip them
13203
# from the output so that they don't get included in the library
13205
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; func_echo_all "$list"'
13207
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13208
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13210
# Archives containing C++ object files must be created using
13211
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
13212
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13217
# version 8.0 and above of icpc choke on multiply defined symbols
13218
# if we add $predep_objects and $postdep_objects, however 7.1 and
13219
# earlier do not add the objects themselves.
13220
case `$CC -V 2>&1` in
13222
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13223
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'
13225
*) # Version 8.0 or newer
13228
ia64*) tmp_idyn=' -i_dynamic';;
13230
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13231
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'
13234
archive_cmds_need_lc_CXX=no
13235
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13236
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13237
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13240
# Portland Group C++ compiler
13242
*pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13243
prelink_cmds_CXX='tpldir=Template.dir~
13245
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13246
compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13247
old_archive_cmds_CXX='tpldir=Template.dir~
13249
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13250
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13252
archive_cmds_CXX='tpldir=Template.dir~
13254
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13255
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13256
archive_expsym_cmds_CXX='tpldir=Template.dir~
13258
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13259
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13261
*) # Version 6 and above use weak symbols
13262
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13263
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'
13267
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13268
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13269
whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13273
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13274
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'
13276
runpath_var=LD_RUN_PATH
13277
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13278
hardcode_libdir_separator_CXX=:
13280
# Commands to make compiler produce verbose output that lists
13281
# what "hidden" libraries, object files and flags are used when
13282
# linking a shared library.
13284
# There doesn't appear to be a way to prevent this compiler from
13285
# explicitly linking system object files so we need to strip them
13286
# from the output so that they don't get included in the library
13288
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13290
xl* | mpixl* | bgxl*)
13291
# IBM XL 8.0 on PPC, with GNU ld
13292
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13293
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13294
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13295
if test "x$supports_anon_versioning" = xyes; then
13296
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13297
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13298
echo "local: *; };" >> $output_objdir/$libname.ver~
13299
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13303
case `$CC -V 2>&1 | sed 5q` in
13306
no_undefined_flag_CXX=' -zdefs'
13307
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13308
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'
13309
hardcode_libdir_flag_spec_CXX='-R$libdir'
13310
whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13311
compiler_needs_object_CXX=yes
13313
# Not sure whether something based on
13314
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13316
output_verbose_link_cmd='func_echo_all'
13318
# Archives containing C++ object files must be created using
13319
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13320
# necessary to make sure instantiated templates are included
13322
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13330
# FIXME: insert proper C++ library support
13335
# FIXME: insert proper C++ library support
13340
case $cc_basename in
13342
# FIXME: insert proper C++ library support
13346
# FIXME: insert proper C++ library support
13353
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13354
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13356
hardcode_libdir_flag_spec_CXX='-R$libdir'
13357
hardcode_direct_CXX=yes
13358
hardcode_shlibpath_var_CXX=no
13360
# Workaround some broken pre-1.5 toolchains
13361
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13369
# C++ shared libraries are fairly broken
13374
if test -f /usr/libexec/ld.so; then
13375
hardcode_direct_CXX=yes
13376
hardcode_shlibpath_var_CXX=no
13377
hardcode_direct_absolute_CXX=yes
13378
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13379
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13380
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13381
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13382
export_dynamic_flag_spec_CXX='${wl}-E'
13383
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13385
output_verbose_link_cmd=func_echo_all
13391
osf3* | osf4* | osf5*)
13392
case $cc_basename in
13394
# Kuck and Associates, Inc. (KAI) C++ Compiler
13396
# KCC will only create a shared library if the output file
13397
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13398
# to its proper name (with version) after linking.
13399
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'
13401
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13402
hardcode_libdir_separator_CXX=:
13404
# Archives containing C++ object files must be created using
13405
# the KAI C++ compiler.
13407
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13408
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13412
# Rational C++ 2.4.1
13413
# FIXME: insert proper C++ library support
13419
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13420
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13421
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13424
allow_undefined_flag_CXX=' -expect_unresolved \*'
13425
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13426
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13427
echo "-hidden">> $lib.exp~
13428
$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13430
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13434
hardcode_libdir_separator_CXX=:
13436
# Commands to make compiler produce verbose output that lists
13437
# what "hidden" libraries, object files and flags are used when
13438
# linking a shared library.
13440
# There doesn't appear to be a way to prevent this compiler from
13441
# explicitly linking system object files so we need to strip them
13442
# from the output so that they don't get included in the library
13444
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13447
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13448
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13451
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13454
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13458
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13459
hardcode_libdir_separator_CXX=:
13461
# Commands to make compiler produce verbose output that lists
13462
# what "hidden" libraries, object files and flags are used when
13463
# linking a shared library.
13464
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13467
# FIXME: insert proper C++ library support
13475
# FIXME: insert proper C++ library support
13480
case $cc_basename in
13483
# FIXME: insert proper C++ library support
13488
# FIXME: insert proper C++ library support
13492
# FIXME: insert proper C++ library support
13499
case $cc_basename in
13501
# Sun C++ 4.2, 5.x and Centerline C++
13502
archive_cmds_need_lc_CXX=yes
13503
no_undefined_flag_CXX=' -zdefs'
13504
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13505
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13506
$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'
13508
hardcode_libdir_flag_spec_CXX='-R$libdir'
13509
hardcode_shlibpath_var_CXX=no
13511
solaris2.[0-5] | solaris2.[0-5].*) ;;
13513
# The compiler driver will combine and reorder linker options,
13514
# but understands `-z linker_flag'.
13515
# Supported since Solaris 2.6 (maybe 2.5.1?)
13516
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13519
link_all_deplibs_CXX=yes
13521
output_verbose_link_cmd='func_echo_all'
13523
# Archives containing C++ object files must be created using
13524
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13525
# necessary to make sure instantiated templates are included
13527
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13530
# Green Hills C++ Compiler
13531
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13533
# The C++ compiler must be used to create the archive.
13534
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13537
# GNU C++ compiler with Solaris linker
13538
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13539
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13540
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13541
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13542
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13543
$CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13545
# Commands to make compiler produce verbose output that lists
13546
# what "hidden" libraries, object files and flags are used when
13547
# linking a shared library.
13548
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13550
# g++ 2.7 appears to require `-G' NOT `-shared' on this
13552
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13553
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13554
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13556
# Commands to make compiler produce verbose output that lists
13557
# what "hidden" libraries, object files and flags are used when
13558
# linking a shared library.
13559
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13562
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13564
solaris2.[0-5] | solaris2.[0-5].*) ;;
13566
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13574
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13575
no_undefined_flag_CXX='${wl}-z,text'
13576
archive_cmds_need_lc_CXX=no
13577
hardcode_shlibpath_var_CXX=no
13578
runpath_var='LD_RUN_PATH'
13580
case $cc_basename in
13582
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13583
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13586
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13587
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13592
sysv5* | sco3.2v5* | sco5v6*)
13593
# Note: We can NOT use -z defs as we might desire, because we do not
13594
# link with -lc, and that would cause any symbols used from libc to
13595
# always be unresolved, which means just about no library would
13596
# ever link correctly. If we're not using GNU ld we use -z text
13597
# though, which does catch some bad symbols but isn't as heavy-handed
13599
no_undefined_flag_CXX='${wl}-z,text'
13600
allow_undefined_flag_CXX='${wl}-z,nodefs'
13601
archive_cmds_need_lc_CXX=no
13602
hardcode_shlibpath_var_CXX=no
13603
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13604
hardcode_libdir_separator_CXX=':'
13605
link_all_deplibs_CXX=yes
13606
export_dynamic_flag_spec_CXX='${wl}-Bexport'
13607
runpath_var='LD_RUN_PATH'
13609
case $cc_basename in
13611
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13612
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13613
old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13614
'"$old_archive_cmds_CXX"
13615
reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13616
'"$reload_cmds_CXX"
13619
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13620
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13626
case $cc_basename in
13628
# NonStop-UX NCC 3.20
13629
# FIXME: insert proper C++ library support
13633
# FIXME: insert proper C++ library support
13640
# FIXME: insert proper C++ library support
13645
# FIXME: insert proper C++ library support
13650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13651
$as_echo "$ld_shlibs_CXX" >&6; }
13652
test "$ld_shlibs_CXX" = no && can_build_shared=no
13658
## There is no encapsulation within the following macros, do not change
13659
## the running order or otherwise move them around unless you know exactly
13660
## what you are doing...
13661
# Dependencies to place before and after the object being linked:
13662
predep_objects_CXX=
13663
postdep_objects_CXX=
13666
compiler_lib_search_path_CXX=
13668
cat > conftest.$ac_ext <<_LT_EOF
13672
Foo (void) { a = 0; }
13679
_lt_libdeps_save_CFLAGS=$CFLAGS
13680
case "$CC $CFLAGS " in #(
13681
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13682
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13685
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13686
(eval $ac_compile) 2>&5
13688
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13689
test $ac_status = 0; }; then
13690
# Parse the compiler output and extract the necessary
13691
# objects, libraries and library flags.
13693
# Sentinel used to keep track of whether or not we are before
13694
# the conftest object file.
13695
pre_test_object_deps_done=no
13697
for p in `eval "$output_verbose_link_cmd"`; do
13698
case ${prev}${p} in
13701
# Some compilers place space between "-{L,R}" and the path.
13702
# Remove the space.
13703
if test $p = "-L" ||
13704
test $p = "-R"; then
13709
# Expand the sysroot to ease extracting the directories later.
13710
if test -z "$prev"; then
13712
-L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13713
-R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13714
-l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13718
=*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13720
if test "$pre_test_object_deps_done" = no; then
13723
# Internal compiler library paths should come after those
13724
# provided the user. The postdeps already come after the
13725
# user supplied libs so there is no need to process them.
13726
if test -z "$compiler_lib_search_path_CXX"; then
13727
compiler_lib_search_path_CXX="${prev}${p}"
13729
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13732
# The "-l" case would never come before the object being
13733
# linked, so don't bother handling this case.
13736
if test -z "$postdeps_CXX"; then
13737
postdeps_CXX="${prev}${p}"
13739
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13745
*.lto.$objext) ;; # Ignore GCC LTO objects
13747
# This assumes that the test object file only shows up
13748
# once in the compiler output.
13749
if test "$p" = "conftest.$objext"; then
13750
pre_test_object_deps_done=yes
13754
if test "$pre_test_object_deps_done" = no; then
13755
if test -z "$predep_objects_CXX"; then
13756
predep_objects_CXX="$p"
13758
predep_objects_CXX="$predep_objects_CXX $p"
13761
if test -z "$postdep_objects_CXX"; then
13762
postdep_objects_CXX="$p"
13764
postdep_objects_CXX="$postdep_objects_CXX $p"
13769
*) ;; # Ignore the rest.
13777
echo "libtool.m4: error: problem compiling CXX test program"
13780
$RM -f confest.$objext
13781
CFLAGS=$_lt_libdeps_save_CFLAGS
13783
# PORTME: override above test on systems where it is broken
13786
# Interix 3.5 installs completely hosed .la files for C++, so rather than
13787
# hack all around it, let's just trust "g++" to DTRT.
13788
predep_objects_CXX=
13789
postdep_objects_CXX=
13794
case `$CC -V 2>&1 | sed 5q` in
13798
# The more standards-conforming stlport4 library is
13799
# incompatible with the Cstd library. Avoid specifying
13800
# it if it's in CXXFLAGS. Ignore libCrun as
13801
# -library=stlport4 depends on it.
13802
case " $CXX $CXXFLAGS " in
13803
*" -library=stlport4 "*)
13804
solaris_use_stlport4=yes
13808
if test "$solaris_use_stlport4" != yes; then
13809
postdeps_CXX='-library=Cstd -library=Crun'
13816
case $cc_basename in
13818
# The more standards-conforming stlport4 library is
13819
# incompatible with the Cstd library. Avoid specifying
13820
# it if it's in CXXFLAGS. Ignore libCrun as
13821
# -library=stlport4 depends on it.
13822
case " $CXX $CXXFLAGS " in
13823
*" -library=stlport4 "*)
13824
solaris_use_stlport4=yes
13828
# Adding this requires a known-good setup of shared libraries for
13829
# Sun compiler versions before 5.6, else PIC objects from an old
13830
# archive will be linked into the output, leading to subtle bugs.
13831
if test "$solaris_use_stlport4" != yes; then
13832
postdeps_CXX='-library=Cstd -library=Crun'
13840
case " $postdeps_CXX " in
13841
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13843
compiler_lib_search_dirs_CXX=
13844
if test -n "${compiler_lib_search_path_CXX}"; then
13845
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13878
lt_prog_compiler_wl_CXX=
13879
lt_prog_compiler_pic_CXX=
13880
lt_prog_compiler_static_CXX=
13883
# C++ specific cases for pic, static, wl, etc.
13884
if test "$GXX" = yes; then
13885
lt_prog_compiler_wl_CXX='-Wl,'
13886
lt_prog_compiler_static_CXX='-static'
13890
# All AIX code is PIC.
13891
if test "$host_cpu" = ia64; then
13892
# AIX 5 now supports IA64 processor
13893
lt_prog_compiler_static_CXX='-Bstatic'
13900
# see comment about AmigaOS4 .so support
13901
lt_prog_compiler_pic_CXX='-fPIC'
13904
# FIXME: we need at least 68020 code to build shared libraries, but
13905
# adding the `-m68020' flag to GCC prevents building anything better,
13907
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13912
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13913
# PIC is the default for these OSes.
13915
mingw* | cygwin* | os2* | pw32* | cegcc*)
13916
# This hack is so that the source file can tell whether it is being
13917
# built for inclusion in a dll (and should export symbols for example).
13918
# Although the cygwin gcc ignores -fPIC, still need this for old-style
13919
# (--disable-auto-import) libraries
13920
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13922
darwin* | rhapsody*)
13923
# PIC is the default on this platform
13924
# Common symbols not allowed in MH_DYLIB files
13925
lt_prog_compiler_pic_CXX='-fno-common'
13928
# DJGPP does not support shared libraries at all
13929
lt_prog_compiler_pic_CXX=
13932
# PIC is the default for Haiku.
13933
# The "-static" flag exists, but is broken.
13934
lt_prog_compiler_static_CXX=
13937
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
13938
# Instead, we relocate shared libraries at runtime.
13941
if test -d /usr/nec; then
13942
lt_prog_compiler_pic_CXX=-Kconform_pic
13946
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13947
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13948
# sets the default TLS model and affects inlining.
13953
lt_prog_compiler_pic_CXX='-fPIC'
13958
# QNX uses GNU C++, but need to define -shared option too, otherwise
13959
# it will coredump.
13960
lt_prog_compiler_pic_CXX='-fPIC -shared'
13963
lt_prog_compiler_pic_CXX='-fPIC'
13969
# All AIX code is PIC.
13970
if test "$host_cpu" = ia64; then
13971
# AIX 5 now supports IA64 processor
13972
lt_prog_compiler_static_CXX='-Bstatic'
13974
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13978
case $cc_basename in
13980
# Green Hills C++ Compiler
13981
# _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"
13985
mingw* | cygwin* | os2* | pw32* | cegcc*)
13986
# This hack is so that the source file can tell whether it is being
13987
# built for inclusion in a dll (and should export symbols for example).
13988
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13991
case $cc_basename in
13993
lt_prog_compiler_pic_CXX='-KPIC'
13996
# Green Hills C++ Compiler
13997
lt_prog_compiler_pic_CXX='-pic'
14003
freebsd* | dragonfly*)
14004
# FreeBSD uses GNU C++
14006
hpux9* | hpux10* | hpux11*)
14007
case $cc_basename in
14009
lt_prog_compiler_wl_CXX='-Wl,'
14010
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14011
if test "$host_cpu" != ia64; then
14012
lt_prog_compiler_pic_CXX='+Z'
14016
lt_prog_compiler_wl_CXX='-Wl,'
14017
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14023
lt_prog_compiler_pic_CXX='+Z'
14032
# This is c89, which is MS Visual C++ (no shared libs)
14033
# Anyone wants to do a port?
14035
irix5* | irix6* | nonstopux*)
14036
case $cc_basename in
14038
lt_prog_compiler_wl_CXX='-Wl,'
14039
lt_prog_compiler_static_CXX='-non_shared'
14040
# CC pic flag -KPIC is the default.
14046
linux* | k*bsd*-gnu | kopensolaris*-gnu)
14047
case $cc_basename in
14050
lt_prog_compiler_wl_CXX='--backend -Wl,'
14051
lt_prog_compiler_pic_CXX='-fPIC'
14054
# old Intel C++ for x86_64 which still supported -KPIC.
14055
lt_prog_compiler_wl_CXX='-Wl,'
14056
lt_prog_compiler_pic_CXX='-KPIC'
14057
lt_prog_compiler_static_CXX='-static'
14060
# Intel C++, used to be incompatible with GCC.
14061
# ICC 10 doesn't accept -KPIC any more.
14062
lt_prog_compiler_wl_CXX='-Wl,'
14063
lt_prog_compiler_pic_CXX='-fPIC'
14064
lt_prog_compiler_static_CXX='-static'
14067
# Portland Group C++ compiler
14068
lt_prog_compiler_wl_CXX='-Wl,'
14069
lt_prog_compiler_pic_CXX='-fpic'
14070
lt_prog_compiler_static_CXX='-Bstatic'
14074
# Make sure the PIC flag is empty. It appears that all Alpha
14075
# Linux and Compaq Tru64 Unix objects are PIC.
14076
lt_prog_compiler_pic_CXX=
14077
lt_prog_compiler_static_CXX='-non_shared'
14079
xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14080
# IBM XL 8.0, 9.0 on PPC and BlueGene
14081
lt_prog_compiler_wl_CXX='-Wl,'
14082
lt_prog_compiler_pic_CXX='-qpic'
14083
lt_prog_compiler_static_CXX='-qstaticlink'
14086
case `$CC -V 2>&1 | sed 5q` in
14089
lt_prog_compiler_pic_CXX='-KPIC'
14090
lt_prog_compiler_static_CXX='-Bstatic'
14091
lt_prog_compiler_wl_CXX='-Qoption ld '
14102
case $cc_basename in
14104
lt_prog_compiler_pic_CXX='-W c,exportall'
14110
netbsd* | netbsdelf*-gnu)
14113
# QNX uses GNU C++, but need to define -shared option too, otherwise
14114
# it will coredump.
14115
lt_prog_compiler_pic_CXX='-fPIC -shared'
14117
osf3* | osf4* | osf5*)
14118
case $cc_basename in
14120
lt_prog_compiler_wl_CXX='--backend -Wl,'
14123
# Rational C++ 2.4.1
14124
lt_prog_compiler_pic_CXX='-pic'
14127
# Digital/Compaq C++
14128
lt_prog_compiler_wl_CXX='-Wl,'
14129
# Make sure the PIC flag is empty. It appears that all Alpha
14130
# Linux and Compaq Tru64 Unix objects are PIC.
14131
lt_prog_compiler_pic_CXX=
14132
lt_prog_compiler_static_CXX='-non_shared'
14141
case $cc_basename in
14143
# Sun C++ 4.2, 5.x and Centerline C++
14144
lt_prog_compiler_pic_CXX='-KPIC'
14145
lt_prog_compiler_static_CXX='-Bstatic'
14146
lt_prog_compiler_wl_CXX='-Qoption ld '
14149
# Green Hills C++ Compiler
14150
lt_prog_compiler_pic_CXX='-PIC'
14157
case $cc_basename in
14160
lt_prog_compiler_pic_CXX='-pic'
14161
lt_prog_compiler_static_CXX='-Bstatic'
14165
lt_prog_compiler_pic_CXX='-pic'
14171
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14172
case $cc_basename in
14174
lt_prog_compiler_wl_CXX='-Wl,'
14175
lt_prog_compiler_pic_CXX='-KPIC'
14176
lt_prog_compiler_static_CXX='-Bstatic'
14181
case $cc_basename in
14183
# NonStop-UX NCC 3.20
14184
lt_prog_compiler_pic_CXX='-KPIC'
14193
lt_prog_compiler_can_build_shared_CXX=no
14199
# For platforms which do not support PIC, -DPIC is meaningless:
14201
lt_prog_compiler_pic_CXX=
14204
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14209
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14210
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14211
$as_echo_n "(cached) " >&6
14213
lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14215
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14216
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14217
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14220
# Check to make sure the PIC flag actually works.
14222
if test -n "$lt_prog_compiler_pic_CXX"; then
14223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14224
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14225
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14226
$as_echo_n "(cached) " >&6
14228
lt_cv_prog_compiler_pic_works_CXX=no
14229
ac_outfile=conftest.$ac_objext
14230
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14231
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14232
# Insert the option either (1) after the last *FLAGS variable, or
14233
# (2) before a word containing "conftest.", or (3) at the end.
14234
# Note that $ac_compile itself does not contain backslashes and begins
14235
# with a dollar sign (not a hyphen), so the echo should work correctly.
14236
# The option is referenced via a variable to avoid confusing sed.
14237
lt_compile=`echo "$ac_compile" | $SED \
14238
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14239
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14240
-e 's:$: $lt_compiler_flag:'`
14241
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14242
(eval "$lt_compile" 2>conftest.err)
14244
cat conftest.err >&5
14245
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14246
if (exit $ac_status) && test -s "$ac_outfile"; then
14247
# The compiler can only warn and ignore the option if not recognized
14248
# So say no if there are warnings other than the usual output.
14249
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14250
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14251
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14252
lt_cv_prog_compiler_pic_works_CXX=yes
14258
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14259
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14261
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14262
case $lt_prog_compiler_pic_CXX in
14264
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14267
lt_prog_compiler_pic_CXX=
14268
lt_prog_compiler_can_build_shared_CXX=no
14278
# Check to make sure the static flag actually works.
14280
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14281
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14282
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14283
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14284
$as_echo_n "(cached) " >&6
14286
lt_cv_prog_compiler_static_works_CXX=no
14287
save_LDFLAGS="$LDFLAGS"
14288
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14289
echo "$lt_simple_link_test_code" > conftest.$ac_ext
14290
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14291
# The linker can only warn and ignore the option if not recognized
14292
# So say no if there are warnings
14293
if test -s conftest.err; then
14294
# Append any errors to the config.log.
14295
cat conftest.err 1>&5
14296
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14297
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14298
if diff conftest.exp conftest.er2 >/dev/null; then
14299
lt_cv_prog_compiler_static_works_CXX=yes
14302
lt_cv_prog_compiler_static_works_CXX=yes
14306
LDFLAGS="$save_LDFLAGS"
14309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14310
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14312
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14315
lt_prog_compiler_static_CXX=
14321
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14322
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14323
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14324
$as_echo_n "(cached) " >&6
14326
lt_cv_prog_compiler_c_o_CXX=no
14327
$RM -r conftest 2>/dev/null
14331
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14333
lt_compiler_flag="-o out/conftest2.$ac_objext"
14334
# Insert the option either (1) after the last *FLAGS variable, or
14335
# (2) before a word containing "conftest.", or (3) at the end.
14336
# Note that $ac_compile itself does not contain backslashes and begins
14337
# with a dollar sign (not a hyphen), so the echo should work correctly.
14338
lt_compile=`echo "$ac_compile" | $SED \
14339
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14340
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14341
-e 's:$: $lt_compiler_flag:'`
14342
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14343
(eval "$lt_compile" 2>out/conftest.err)
14345
cat out/conftest.err >&5
14346
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14349
# The compiler can only warn and ignore the option if not recognized
14350
# So say no if there are warnings
14351
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14352
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14353
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14354
lt_cv_prog_compiler_c_o_CXX=yes
14359
# SGI C++ compiler will create directory out/ii_files/ for
14360
# template instantiation
14361
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14362
$RM out/* && rmdir out
14368
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14369
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14374
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14375
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14376
$as_echo_n "(cached) " >&6
14378
lt_cv_prog_compiler_c_o_CXX=no
14379
$RM -r conftest 2>/dev/null
14383
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14385
lt_compiler_flag="-o out/conftest2.$ac_objext"
14386
# Insert the option either (1) after the last *FLAGS variable, or
14387
# (2) before a word containing "conftest.", or (3) at the end.
14388
# Note that $ac_compile itself does not contain backslashes and begins
14389
# with a dollar sign (not a hyphen), so the echo should work correctly.
14390
lt_compile=`echo "$ac_compile" | $SED \
14391
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14392
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14393
-e 's:$: $lt_compiler_flag:'`
14394
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14395
(eval "$lt_compile" 2>out/conftest.err)
14397
cat out/conftest.err >&5
14398
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14399
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14401
# The compiler can only warn and ignore the option if not recognized
14402
# So say no if there are warnings
14403
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14404
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14405
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14406
lt_cv_prog_compiler_c_o_CXX=yes
14411
# SGI C++ compiler will create directory out/ii_files/ for
14412
# template instantiation
14413
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14414
$RM out/* && rmdir out
14420
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14421
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14426
hard_links="nottested"
14427
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14428
# do not overwrite the value of need_locks provided by the user
14429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14430
$as_echo_n "checking if we can lock with hard links... " >&6; }
14433
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14435
ln conftest.a conftest.b 2>&5 || hard_links=no
14436
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14438
$as_echo "$hard_links" >&6; }
14439
if test "$hard_links" = no; then
14440
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14441
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14451
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14453
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14454
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14457
# If we're using GNU nm, then we don't want the "-C" option.
14458
# -C means demangle to AIX nm, but means don't demangle with GNU nm
14459
# Also, AIX nm treats weak defined symbols like other global defined
14460
# symbols, whereas GNU nm marks them as "W".
14461
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14462
export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14464
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'
14468
export_symbols_cmds_CXX="$ltdll_cmds"
14470
cygwin* | mingw* | cegcc*)
14471
case $cc_basename in
14474
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14475
exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14479
linux* | k*bsd*-gnu | gnu*)
14480
link_all_deplibs_CXX=no
14483
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14488
$as_echo "$ld_shlibs_CXX" >&6; }
14489
test "$ld_shlibs_CXX" = no && can_build_shared=no
14491
with_gnu_ld_CXX=$with_gnu_ld
14499
# Do we need to explicitly link libc?
14501
case "x$archive_cmds_need_lc_CXX" in
14503
# Assume -lc should be added
14504
archive_cmds_need_lc_CXX=yes
14506
if test "$enable_shared" = yes && test "$GCC" = yes; then
14507
case $archive_cmds_CXX in
14509
# FIXME: we may have to deal with multi-command sequences.
14512
# Test whether the compiler implicitly links with -lc since on some
14513
# systems, -lgcc has to come before -lc. If gcc already passes -lc
14514
# to ld, don't add -lc before -lgcc.
14515
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14516
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14517
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14518
$as_echo_n "(cached) " >&6
14521
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14523
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14524
(eval $ac_compile) 2>&5
14526
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14527
test $ac_status = 0; } 2>conftest.err; then
14530
libobjs=conftest.$ac_objext
14532
wl=$lt_prog_compiler_wl_CXX
14533
pic_flag=$lt_prog_compiler_pic_CXX
14539
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14540
allow_undefined_flag_CXX=
14541
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14542
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14544
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14545
test $ac_status = 0; }
14547
lt_cv_archive_cmds_need_lc_CXX=no
14549
lt_cv_archive_cmds_need_lc_CXX=yes
14551
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14553
cat conftest.err 1>&5
14558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14559
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14560
archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14631
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14633
library_names_spec=
14634
libname_spec='lib$name'
14638
postuninstall_cmds=
14642
shlibpath_overrides_runpath=unknown
14644
dynamic_linker="$host_os ld.so"
14645
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14646
need_lib_prefix=unknown
14647
hardcode_into_libs=no
14649
# when you set need_version to no, make sure it does not cause -set_version
14650
# flags to be left without arguments
14651
need_version=unknown
14656
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14657
shlibpath_var=LIBPATH
14659
# AIX 3 has no versioning support, so we append a major version to the name.
14660
soname_spec='${libname}${release}${shared_ext}$major'
14667
hardcode_into_libs=yes
14668
if test "$host_cpu" = ia64; then
14669
# AIX 5 supports IA64
14670
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14671
shlibpath_var=LD_LIBRARY_PATH
14673
# With GCC up to 2.95.x, collect2 would create an import file
14674
# for dependence libraries. The import file would start with
14675
# the line `#! .'. This would cause the generated library to
14676
# depend on `.', always an invalid library. This was fixed in
14677
# development snapshots of GCC prior to 3.0.
14679
aix4 | aix4.[01] | aix4.[01].*)
14680
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14682
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14685
can_build_shared=no
14689
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14690
# soname into executable. Probably we can add versioning support to
14691
# collect2, so additional links can be useful in future.
14692
if test "$aix_use_runtimelinking" = yes; then
14693
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
14694
# instead of lib<name>.a to let people know that these are not
14695
# typical AIX shared libraries.
14696
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14698
# We preserve .a as extension for shared libraries through AIX4.2
14699
# and later when we are not doing run time linking.
14700
library_names_spec='${libname}${release}.a $libname.a'
14701
soname_spec='${libname}${release}${shared_ext}$major'
14703
shlibpath_var=LIBPATH
14710
# Since July 2007 AmigaOS4 officially supports .so libraries.
14711
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14712
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14715
library_names_spec='$libname.ixlibrary $libname.a'
14716
# Create ${libname}_ixlibrary.a entries in /sys/libs.
14717
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
14723
library_names_spec='${libname}${shared_ext}'
14724
dynamic_linker="$host_os ld.so"
14725
shlibpath_var=LIBRARY_PATH
14731
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732
soname_spec='${libname}${release}${shared_ext}$major'
14733
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14734
shlibpath_var=LD_LIBRARY_PATH
14735
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14736
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14737
# the default ld.so.conf also contains /usr/contrib/lib and
14738
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14739
# libtool to hard-code these into programs
14742
cygwin* | mingw* | pw32* | cegcc*)
14743
version_type=windows
14748
case $GCC,$cc_basename in
14751
library_names_spec='$libname.dll.a'
14752
# DLL is installed to $(libdir)/../bin by postinstall_cmds
14753
postinstall_cmds='base_file=`basename \${file}`~
14754
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14755
dldir=$destdir/`dirname \$dlpath`~
14756
test -d \$dldir || mkdir -p \$dldir~
14757
$install_prog $dir/$dlname \$dldir/$dlname~
14758
chmod a+x \$dldir/$dlname~
14759
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14760
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14762
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14763
dlpath=$dir/\$dldll~
14765
shlibpath_overrides_runpath=yes
14769
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
14770
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14774
# MinGW DLLs use traditional 'lib' prefix
14775
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14778
# pw32 DLLs use 'pw' prefix rather than 'lib'
14779
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14782
dynamic_linker='Win32 ld.exe'
14787
libname_spec='$name'
14788
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14789
library_names_spec='${libname}.dll.lib'
14793
sys_lib_search_path_spec=
14796
for lt_path in $LIB
14799
# Let DOS variable expansion print the short 8.3 style file name.
14800
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14801
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14804
# Convert to MSYS style.
14805
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14808
# Convert to unix form, then to dos form, then back to unix form
14809
# but this time dos style (no spaces!) so that the unix form looks
14810
# like /cygdrive/c/PROGRA~1:/cygdr...
14811
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14812
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14813
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14816
sys_lib_search_path_spec="$LIB"
14817
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14818
# It is most probably a Windows format PATH.
14819
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14821
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14823
# FIXME: find the short name or the path components, as spaces are
14824
# common. (e.g. "Program Files" -> "PROGRA~1")
14828
# DLL is installed to $(libdir)/../bin by postinstall_cmds
14829
postinstall_cmds='base_file=`basename \${file}`~
14830
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14831
dldir=$destdir/`dirname \$dlpath`~
14832
test -d \$dldir || mkdir -p \$dldir~
14833
$install_prog $dir/$dlname \$dldir/$dlname'
14834
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14835
dlpath=$dir/\$dldll~
14837
shlibpath_overrides_runpath=yes
14838
dynamic_linker='Win32 link.exe'
14842
# Assume MSVC wrapper
14843
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14844
dynamic_linker='Win32 ld.exe'
14847
# FIXME: first we should search . and the directory the executable is in
14851
darwin* | rhapsody*)
14852
dynamic_linker="$host_os dyld"
14853
version_type=darwin
14856
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14857
soname_spec='${libname}${release}${major}$shared_ext'
14858
shlibpath_overrides_runpath=yes
14859
shlibpath_var=DYLD_LIBRARY_PATH
14860
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14862
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14869
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14870
soname_spec='${libname}${release}${shared_ext}$major'
14871
shlibpath_var=LD_LIBRARY_PATH
14878
freebsd* | dragonfly*)
14879
# DragonFly does not have aout. When/if they implement a new
14880
# versioning mechanism, adjust this.
14881
if test -x /usr/bin/objformat; then
14882
objformat=`/usr/bin/objformat`
14885
freebsd[123]*) objformat=aout ;;
14886
*) objformat=elf ;;
14889
version_type=freebsd-$objformat
14890
case $version_type in
14892
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14897
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14901
shlibpath_var=LD_LIBRARY_PATH
14904
shlibpath_overrides_runpath=yes
14906
freebsd3.[01]* | freebsdelf3.[01]*)
14907
shlibpath_overrides_runpath=yes
14908
hardcode_into_libs=yes
14910
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14911
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14912
shlibpath_overrides_runpath=no
14913
hardcode_into_libs=yes
14915
*) # from 4.6 on, and DragonFly
14916
shlibpath_overrides_runpath=yes
14917
hardcode_into_libs=yes
14926
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14927
soname_spec='${libname}${release}${shared_ext}$major'
14928
shlibpath_var=LD_LIBRARY_PATH
14929
shlibpath_overrides_runpath=no
14930
hardcode_into_libs=yes
14937
dynamic_linker="$host_os runtime_loader"
14938
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14939
soname_spec='${libname}${release}${shared_ext}$major'
14940
shlibpath_var=LIBRARY_PATH
14941
shlibpath_overrides_runpath=yes
14942
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14943
hardcode_into_libs=yes
14946
hpux9* | hpux10* | hpux11*)
14947
# Give a soname corresponding to the major version so that dld.sl refuses to
14948
# link against other versions.
14955
hardcode_into_libs=yes
14956
dynamic_linker="$host_os dld.so"
14957
shlibpath_var=LD_LIBRARY_PATH
14958
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14959
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14960
soname_spec='${libname}${release}${shared_ext}$major'
14961
if test "X$HPUX_IA64_MODE" = X32; then
14962
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14964
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14966
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14970
hardcode_into_libs=yes
14971
dynamic_linker="$host_os dld.sl"
14972
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14973
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14974
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14975
soname_spec='${libname}${release}${shared_ext}$major'
14976
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14977
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14981
dynamic_linker="$host_os dld.sl"
14982
shlibpath_var=SHLIB_PATH
14983
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14984
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14985
soname_spec='${libname}${release}${shared_ext}$major'
14988
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14989
postinstall_cmds='chmod 555 $lib'
14990
# or fails outright, so override atomically:
14991
install_override_mode=555
14998
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14999
soname_spec='${libname}${release}${shared_ext}$major'
15000
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15001
shlibpath_var=LD_LIBRARY_PATH
15002
shlibpath_overrides_runpath=no
15003
hardcode_into_libs=yes
15006
irix5* | irix6* | nonstopux*)
15008
nonstopux*) version_type=nonstopux ;;
15010
if test "$lt_cv_prog_gnu_ld" = yes; then
15018
soname_spec='${libname}${release}${shared_ext}$major'
15019
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15021
irix5* | nonstopux*)
15022
libsuff= shlibsuff=
15025
case $LD in # libtool.m4 will add one of these switches to LD
15026
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15027
libsuff= shlibsuff= libmagic=32-bit;;
15028
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15029
libsuff=32 shlibsuff=N32 libmagic=N32;;
15030
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15031
libsuff=64 shlibsuff=64 libmagic=64-bit;;
15032
*) libsuff= shlibsuff= libmagic=never-match;;
15036
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15037
shlibpath_overrides_runpath=no
15038
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15039
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15040
hardcode_into_libs=yes
15043
# No shared lib support for Linux oldld, aout, or coff.
15044
linux*oldld* | linux*aout* | linux*coff*)
15048
# This must be Linux ELF.
15049
linux* | k*bsd*-gnu | kopensolaris*-gnu)
15053
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15054
soname_spec='${libname}${release}${shared_ext}$major'
15055
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15056
shlibpath_var=LD_LIBRARY_PATH
15057
shlibpath_overrides_runpath=no
15059
# Some binutils ld are patched to set DT_RUNPATH
15060
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15061
$as_echo_n "(cached) " >&6
15063
lt_cv_shlibpath_overrides_runpath=no
15064
save_LDFLAGS=$LDFLAGS
15065
save_libdir=$libdir
15066
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15067
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15068
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15069
/* end confdefs.h. */
15079
if ac_fn_cxx_try_link "$LINENO"; then :
15080
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15081
lt_cv_shlibpath_overrides_runpath=yes
15084
rm -f core conftest.err conftest.$ac_objext \
15085
conftest$ac_exeext conftest.$ac_ext
15086
LDFLAGS=$save_LDFLAGS
15087
libdir=$save_libdir
15091
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15093
# This implies no fast_install, which is unacceptable.
15094
# Some rework will be needed to allow for fast_install
15095
# before this can be enabled.
15096
hardcode_into_libs=yes
15098
# Append ld.so.conf contents to the search path
15099
if test -f /etc/ld.so.conf; then
15100
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;s/"//g;/^$/d' | tr '\n' ' '`
15101
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15104
# We used to test for /lib/ld.so.1 and disable shared libraries on
15105
# powerpc, because MkLinux only supported shared libraries with the
15106
# GNU dynamic linker. Since this was broken with cross compilers,
15107
# most powerpc-linux boxes support dynamic linking these days and
15108
# people can always --disable-shared, the test was removed, and we
15109
# assume the GNU/Linux dynamic linker is in use.
15110
dynamic_linker='GNU/Linux ld.so'
15117
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15118
soname_spec='${libname}${release}${shared_ext}$major'
15119
shlibpath_var=LD_LIBRARY_PATH
15120
shlibpath_overrides_runpath=no
15121
hardcode_into_libs=yes
15122
dynamic_linker='NetBSD ld.elf_so'
15129
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15130
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15131
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15132
dynamic_linker='NetBSD (a.out) ld.so'
15134
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15135
soname_spec='${libname}${release}${shared_ext}$major'
15136
dynamic_linker='NetBSD ld.elf_so'
15138
shlibpath_var=LD_LIBRARY_PATH
15139
shlibpath_overrides_runpath=yes
15140
hardcode_into_libs=yes
15145
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15146
shlibpath_var=LD_LIBRARY_PATH
15147
shlibpath_overrides_runpath=yes
15154
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15155
soname_spec='${libname}${release}${shared_ext}$major'
15156
shlibpath_var=LD_LIBRARY_PATH
15157
shlibpath_overrides_runpath=no
15158
hardcode_into_libs=yes
15159
dynamic_linker='ldqnx.so'
15164
sys_lib_dlsearch_path_spec="/usr/lib"
15166
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15168
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15169
*) need_version=no ;;
15171
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15172
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15173
shlibpath_var=LD_LIBRARY_PATH
15174
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15176
openbsd2.[89] | openbsd2.[89].*)
15177
shlibpath_overrides_runpath=no
15180
shlibpath_overrides_runpath=yes
15184
shlibpath_overrides_runpath=yes
15189
libname_spec='$name'
15192
library_names_spec='$libname${shared_ext} $libname.a'
15193
dynamic_linker='OS/2 ld.exe'
15194
shlibpath_var=LIBPATH
15197
osf3* | osf4* | osf5*)
15201
soname_spec='${libname}${release}${shared_ext}$major'
15202
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15203
shlibpath_var=LD_LIBRARY_PATH
15204
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15205
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15216
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15217
soname_spec='${libname}${release}${shared_ext}$major'
15218
shlibpath_var=LD_LIBRARY_PATH
15219
shlibpath_overrides_runpath=yes
15220
hardcode_into_libs=yes
15221
# ldd complains unless libraries are executable
15222
postinstall_cmds='chmod +x $lib'
15227
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15228
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15229
shlibpath_var=LD_LIBRARY_PATH
15230
shlibpath_overrides_runpath=yes
15231
if test "$with_gnu_ld" = yes; then
15239
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15240
soname_spec='${libname}${release}${shared_ext}$major'
15241
shlibpath_var=LD_LIBRARY_PATH
15242
case $host_vendor in
15244
shlibpath_overrides_runpath=no
15246
runpath_var=LD_RUN_PATH
15254
shlibpath_overrides_runpath=no
15255
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15261
if test -d /usr/nec ;then
15263
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15264
soname_spec='$libname${shared_ext}.$major'
15265
shlibpath_var=LD_LIBRARY_PATH
15269
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15270
version_type=freebsd-elf
15273
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15274
soname_spec='${libname}${release}${shared_ext}$major'
15275
shlibpath_var=LD_LIBRARY_PATH
15276
shlibpath_overrides_runpath=yes
15277
hardcode_into_libs=yes
15278
if test "$with_gnu_ld" = yes; then
15279
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15281
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15284
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15288
sys_lib_dlsearch_path_spec='/usr/lib'
15292
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15296
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15297
shlibpath_var=LD_LIBRARY_PATH
15298
shlibpath_overrides_runpath=no
15299
hardcode_into_libs=yes
15304
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15305
soname_spec='${libname}${release}${shared_ext}$major'
15306
shlibpath_var=LD_LIBRARY_PATH
15313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15314
$as_echo "$dynamic_linker" >&6; }
15315
test "$dynamic_linker" = no && can_build_shared=no
15317
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15318
if test "$GCC" = yes; then
15319
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15322
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15323
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15325
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15326
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15367
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15368
hardcode_action_CXX=
15369
if test -n "$hardcode_libdir_flag_spec_CXX" ||
15370
test -n "$runpath_var_CXX" ||
15371
test "X$hardcode_automatic_CXX" = "Xyes" ; then
15373
# We can hardcode non-existent directories.
15374
if test "$hardcode_direct_CXX" != no &&
15375
# If the only mechanism to avoid hardcoding is shlibpath_var, we
15376
# have to relink, otherwise we might link with an installed library
15377
# when we should be linking with a yet-to-be-installed one
15378
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15379
test "$hardcode_minus_L_CXX" != no; then
15380
# Linking always hardcodes the temporary library directory.
15381
hardcode_action_CXX=relink
15383
# We can link without hardcoding, and we can hardcode nonexisting dirs.
15384
hardcode_action_CXX=immediate
15387
# We cannot hardcode anything, or else we can only hardcode existing
15389
hardcode_action_CXX=unsupported
15391
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15392
$as_echo "$hardcode_action_CXX" >&6; }
15394
if test "$hardcode_action_CXX" = relink ||
15395
test "$inherit_rpath_CXX" = yes; then
15396
# Fast installation is not supported
15397
enable_fast_install=no
15398
elif test "$shlibpath_overrides_runpath" = yes ||
15399
test "$enable_shared" = no; then
15400
# Fast installation is not necessary
15401
enable_fast_install=needless
15410
fi # test -n "$compiler"
15413
CFLAGS=$lt_save_CFLAGS
15417
with_gnu_ld=$lt_save_with_gnu_ld
15418
lt_cv_path_LDCXX=$lt_cv_path_LD
15419
lt_cv_path_LD=$lt_save_path_LD
15420
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15421
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15422
fi # test "$_lt_caught_CXX_error" != yes
15425
ac_cpp='$CPP $CPPFLAGS'
15426
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15427
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15428
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15442
ac_config_commands="$ac_config_commands libtool"
15447
# Only expand once:
15452
ac_cpp='$CXXCPP $CPPFLAGS'
15453
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15454
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15455
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15458
ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15459
if test "x$ac_cv_type_size_t" = xyes; then :
15463
cat >>confdefs.h <<_ACEOF
15464
#define size_t unsigned int
15470
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15471
# for constant arguments. Useless!
15472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
15473
$as_echo_n "checking for working alloca.h... " >&6; }
15474
if ${ac_cv_working_alloca_h+:} false; then :
15475
$as_echo_n "(cached) " >&6
15477
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15478
/* end confdefs.h. */
15479
#include <alloca.h>
15483
char *p = (char *) alloca (2 * sizeof (int));
15489
if ac_fn_cxx_try_link "$LINENO"; then :
15490
ac_cv_working_alloca_h=yes
15492
ac_cv_working_alloca_h=no
15494
rm -f core conftest.err conftest.$ac_objext \
15495
conftest$ac_exeext conftest.$ac_ext
15497
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
15498
$as_echo "$ac_cv_working_alloca_h" >&6; }
15499
if test $ac_cv_working_alloca_h = yes; then
15501
$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
15505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
15506
$as_echo_n "checking for alloca... " >&6; }
15507
if ${ac_cv_func_alloca_works+:} false; then :
15508
$as_echo_n "(cached) " >&6
15510
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15511
/* end confdefs.h. */
15513
# define alloca __builtin_alloca
15516
# include <malloc.h>
15517
# define alloca _alloca
15519
# ifdef HAVE_ALLOCA_H
15520
# include <alloca.h>
15525
# ifndef alloca /* predefined by HP cc +Olibcalls */
15526
void *alloca (size_t);
15536
char *p = (char *) alloca (1);
15542
if ac_fn_cxx_try_link "$LINENO"; then :
15543
ac_cv_func_alloca_works=yes
15545
ac_cv_func_alloca_works=no
15547
rm -f core conftest.err conftest.$ac_objext \
15548
conftest$ac_exeext conftest.$ac_ext
15550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
15551
$as_echo "$ac_cv_func_alloca_works" >&6; }
15553
if test $ac_cv_func_alloca_works = yes; then
15555
$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
15558
# The SVR3 libPW and SVR4 libucb both contain incompatible functions
15559
# that cause trouble. Some versions do not even contain alloca or
15560
# contain a buggy version. If you still want to use their alloca,
15561
# use ar to extract alloca.o from them instead of compiling alloca.c.
15563
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
15565
$as_echo "#define C_ALLOCA 1" >>confdefs.h
15568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
15569
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
15570
if ${ac_cv_os_cray+:} false; then :
15571
$as_echo_n "(cached) " >&6
15573
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15574
/* end confdefs.h. */
15575
#if defined CRAY && ! defined CRAY2
15582
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15583
$EGREP "webecray" >/dev/null 2>&1; then :
15591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
15592
$as_echo "$ac_cv_os_cray" >&6; }
15593
if test $ac_cv_os_cray = yes; then
15594
for ac_func in _getb67 GETB67 getb67; do
15595
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15596
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
15597
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15599
cat >>confdefs.h <<_ACEOF
15600
#define CRAY_STACKSEG_END $ac_func
15609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
15610
$as_echo_n "checking stack direction for C alloca... " >&6; }
15611
if ${ac_cv_c_stack_direction+:} false; then :
15612
$as_echo_n "(cached) " >&6
15614
if test "$cross_compiling" = yes; then :
15615
ac_cv_c_stack_direction=0
15617
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15618
/* end confdefs.h. */
15619
$ac_includes_default
15621
find_stack_direction ()
15623
static char *addr = 0;
15628
return find_stack_direction ();
15631
return (&dummy > addr) ? 1 : -1;
15637
return find_stack_direction () < 0;
15640
if ac_fn_cxx_try_run "$LINENO"; then :
15641
ac_cv_c_stack_direction=1
15643
ac_cv_c_stack_direction=-1
15645
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15646
conftest.$ac_objext conftest.beam conftest.$ac_ext
15650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
15651
$as_echo "$ac_cv_c_stack_direction" >&6; }
15652
cat >>confdefs.h <<_ACEOF
15653
#define STACK_DIRECTION $ac_cv_c_stack_direction
15659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15660
$as_echo_n "checking for ANSI C header files... " >&6; }
15661
if ${ac_cv_header_stdc+:} false; then :
15662
$as_echo_n "(cached) " >&6
15664
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15665
/* end confdefs.h. */
15666
#include <stdlib.h>
15667
#include <stdarg.h>
15668
#include <string.h>
15679
if ac_fn_cxx_try_compile "$LINENO"; then :
15680
ac_cv_header_stdc=yes
15682
ac_cv_header_stdc=no
15684
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15686
if test $ac_cv_header_stdc = yes; then
15687
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15688
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15689
/* end confdefs.h. */
15690
#include <string.h>
15693
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15694
$EGREP "memchr" >/dev/null 2>&1; then :
15697
ac_cv_header_stdc=no
15703
if test $ac_cv_header_stdc = yes; then
15704
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15705
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15706
/* end confdefs.h. */
15707
#include <stdlib.h>
15710
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15711
$EGREP "free" >/dev/null 2>&1; then :
15714
ac_cv_header_stdc=no
15720
if test $ac_cv_header_stdc = yes; then
15721
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15722
if test "$cross_compiling" = yes; then :
15725
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15726
/* end confdefs.h. */
15728
#include <stdlib.h>
15729
#if ((' ' & 0x0FF) == 0x020)
15730
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15731
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15733
# define ISLOWER(c) \
15734
(('a' <= (c) && (c) <= 'i') \
15735
|| ('j' <= (c) && (c) <= 'r') \
15736
|| ('s' <= (c) && (c) <= 'z'))
15737
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15740
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15745
for (i = 0; i < 256; i++)
15746
if (XOR (islower (i), ISLOWER (i))
15747
|| toupper (i) != TOUPPER (i))
15752
if ac_fn_cxx_try_run "$LINENO"; then :
15755
ac_cv_header_stdc=no
15757
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15758
conftest.$ac_objext conftest.beam conftest.$ac_ext
15763
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15764
$as_echo "$ac_cv_header_stdc" >&6; }
15765
if test $ac_cv_header_stdc = yes; then
15767
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
15771
for ac_header in arpa/inet.h fcntl.h libintl.h limits.h malloc.h \
15772
memory.h netdb.h netinet/in.h stdlib.h string.h strings.h \
15773
sys/ioctl.h sys/socket.h sys/time.h unistd.h utime.h ostream
15775
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15776
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15777
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15778
cat >>confdefs.h <<_ACEOF
15779
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
15788
$as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
15789
if ${ac_cv_header_stat_broken+:} false; then :
15790
$as_echo_n "(cached) " >&6
15792
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15793
/* end confdefs.h. */
15794
#include <sys/types.h>
15795
#include <sys/stat.h>
15797
#if defined S_ISBLK && defined S_IFDIR
15798
extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
15801
#if defined S_ISBLK && defined S_IFCHR
15802
extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
15805
#if defined S_ISLNK && defined S_IFREG
15806
extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
15809
#if defined S_ISSOCK && defined S_IFREG
15810
extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
15814
if ac_fn_cxx_try_compile "$LINENO"; then :
15815
ac_cv_header_stat_broken=no
15817
ac_cv_header_stat_broken=yes
15819
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15821
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
15822
$as_echo "$ac_cv_header_stat_broken" >&6; }
15823
if test $ac_cv_header_stat_broken = yes; then
15825
$as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
15829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
15830
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
15831
if ${ac_cv_header_stdbool_h+:} false; then :
15832
$as_echo_n "(cached) " >&6
15834
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15835
/* end confdefs.h. */
15837
#include <stdbool.h>
15839
"error: bool is not defined"
15842
"error: false is not defined"
15845
"error: false is not 0"
15848
"error: true is not defined"
15851
"error: true is not 1"
15853
#ifndef __bool_true_false_are_defined
15854
"error: __bool_true_false_are_defined is not defined"
15857
struct s { _Bool s: 1; _Bool t; } s;
15859
char a[true == 1 ? 1 : -1];
15860
char b[false == 0 ? 1 : -1];
15861
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
15862
char d[(bool) 0.5 == true ? 1 : -1];
15863
/* See body of main program for 'e'. */
15864
char f[(_Bool) 0.0 == false ? 1 : -1];
15866
char h[sizeof (_Bool)];
15867
char i[sizeof s.t];
15868
enum { j = false, k = true, l = false * true, m = true * 256 };
15869
/* The following fails for
15870
HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
15872
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
15873
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
15874
/* Catch a bug in an HP-UX C compiler. See
15875
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
15876
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
15888
/* Refer to every declared value, to avoid compiler optimizations. */
15889
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
15890
+ !m + !n + !o + !p + !q + !pq);
15896
if ac_fn_cxx_try_compile "$LINENO"; then :
15897
ac_cv_header_stdbool_h=yes
15899
ac_cv_header_stdbool_h=no
15901
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
15904
$as_echo "$ac_cv_header_stdbool_h" >&6; }
15905
ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
15906
if test "x$ac_cv_type__Bool" = xyes; then :
15908
cat >>confdefs.h <<_ACEOF
15909
#define HAVE__BOOL 1
15915
if test $ac_cv_header_stdbool_h = yes; then
15917
$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
15921
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15922
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
15923
if ${ac_cv_c_const+:} false; then :
15924
$as_echo_n "(cached) " >&6
15926
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15927
/* end confdefs.h. */
15932
/* FIXME: Include the comments suggested by Paul. */
15933
#ifndef __cplusplus
15934
/* Ultrix mips cc rejects this. */
15935
typedef int charset[2];
15937
/* SunOS 4.1.1 cc rejects this. */
15938
char const *const *pcpcc;
15940
/* NEC SVR4.0.2 mips cc rejects this. */
15941
struct point {int x, y;};
15942
static struct point const zero = {0,0};
15943
/* AIX XL C 1.02.0.0 rejects this.
15944
It does not let you subtract one const X* pointer from another in
15945
an arm of an if-expression whose if-part is not a constant
15947
const char *g = "string";
15948
pcpcc = &g + (g ? g-g : 0);
15949
/* HPUX 7.0 cc rejects these. */
15951
ppc = (char**) pcpcc;
15952
pcpcc = (char const *const *) ppc;
15953
{ /* SCO 3.2v4 cc rejects this. */
15955
char const *s = 0 ? (char *) 0 : (char const *) 0;
15960
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15961
int x[] = {25, 17};
15962
const int *foo = &x[0];
15965
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15966
typedef const int *iptr;
15970
{ /* AIX XL C 1.02.0.0 rejects this saying
15971
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15972
struct s { int j; const int *ap[3]; };
15973
struct s *b; b->j = 5;
15975
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15976
const int foo = 10;
15977
if (!foo) return 0;
15979
return !cs[0] && !zero.x;
15986
if ac_fn_cxx_try_compile "$LINENO"; then :
15991
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
15994
$as_echo "$ac_cv_c_const" >&6; }
15995
if test $ac_cv_c_const = no; then
15997
$as_echo "#define const /**/" >>confdefs.h
16001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16002
$as_echo_n "checking for inline... " >&6; }
16003
if ${ac_cv_c_inline+:} false; then :
16004
$as_echo_n "(cached) " >&6
16007
for ac_kw in inline __inline__ __inline; do
16008
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16009
/* end confdefs.h. */
16010
#ifndef __cplusplus
16012
static $ac_kw foo_t static_foo () {return 0; }
16013
$ac_kw foo_t foo () {return 0; }
16017
if ac_fn_cxx_try_compile "$LINENO"; then :
16018
ac_cv_c_inline=$ac_kw
16020
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16021
test "$ac_cv_c_inline" != no && break
16025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16026
$as_echo "$ac_cv_c_inline" >&6; }
16028
case $ac_cv_c_inline in
16031
case $ac_cv_c_inline in
16033
*) ac_val=$ac_cv_c_inline;;
16035
cat >>confdefs.h <<_ACEOF
16036
#ifndef __cplusplus
16037
#define inline $ac_val
16043
ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16044
if test "x$ac_cv_type_pid_t" = xyes; then :
16048
cat >>confdefs.h <<_ACEOF
16054
ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16055
if test "x$ac_cv_type_size_t" = xyes; then :
16059
cat >>confdefs.h <<_ACEOF
16060
#define size_t unsigned int
16065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
16066
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
16067
if ${ac_cv_header_time+:} false; then :
16068
$as_echo_n "(cached) " >&6
16070
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16071
/* end confdefs.h. */
16072
#include <sys/types.h>
16073
#include <sys/time.h>
16079
if ((struct tm *) 0)
16085
if ac_fn_cxx_try_compile "$LINENO"; then :
16086
ac_cv_header_time=yes
16088
ac_cv_header_time=no
16090
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
16093
$as_echo "$ac_cv_header_time" >&6; }
16094
if test $ac_cv_header_time = yes; then
16096
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
16100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
16101
$as_echo_n "checking for working volatile... " >&6; }
16102
if ${ac_cv_c_volatile+:} false; then :
16103
$as_echo_n "(cached) " >&6
16105
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16106
/* end confdefs.h. */
16113
int * volatile y = (int *) 0;
16119
if ac_fn_cxx_try_compile "$LINENO"; then :
16120
ac_cv_c_volatile=yes
16122
ac_cv_c_volatile=no
16124
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
16127
$as_echo "$ac_cv_c_volatile" >&6; }
16128
if test $ac_cv_c_volatile = no; then
16130
$as_echo "#define volatile /**/" >>confdefs.h
16134
ac_fn_cxx_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16135
if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
16137
cat >>confdefs.h <<_ACEOF
16138
#define HAVE_PTRDIFF_T 1
16145
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
16146
$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
16147
if ${ac_cv_type_uid_t+:} false; then :
16148
$as_echo_n "(cached) " >&6
16150
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16151
/* end confdefs.h. */
16152
#include <sys/types.h>
16155
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16156
$EGREP "uid_t" >/dev/null 2>&1; then :
16157
ac_cv_type_uid_t=yes
16159
ac_cv_type_uid_t=no
16164
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
16165
$as_echo "$ac_cv_type_uid_t" >&6; }
16166
if test $ac_cv_type_uid_t = no; then
16168
$as_echo "#define uid_t int" >>confdefs.h
16171
$as_echo "#define gid_t int" >>confdefs.h
16175
for ac_header in unistd.h
16177
ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
16178
if test "x$ac_cv_header_unistd_h" = xyes; then :
16179
cat >>confdefs.h <<_ACEOF
16180
#define HAVE_UNISTD_H 1
16187
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5
16188
$as_echo_n "checking for working chown... " >&6; }
16189
if ${ac_cv_func_chown_works+:} false; then :
16190
$as_echo_n "(cached) " >&6
16192
if test "$cross_compiling" = yes; then :
16193
ac_cv_func_chown_works=no
16195
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16196
/* end confdefs.h. */
16197
$ac_includes_default
16203
char *f = "conftest.chown";
16204
struct stat before, after;
16206
if (creat (f, 0600) < 0)
16208
if (stat (f, &before) < 0)
16210
if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
16212
if (stat (f, &after) < 0)
16214
return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
16220
if ac_fn_cxx_try_run "$LINENO"; then :
16221
ac_cv_func_chown_works=yes
16223
ac_cv_func_chown_works=no
16225
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16226
conftest.$ac_objext conftest.beam conftest.$ac_ext
16229
rm -f conftest.chown
16232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5
16233
$as_echo "$ac_cv_func_chown_works" >&6; }
16234
if test $ac_cv_func_chown_works = yes; then
16236
$as_echo "#define HAVE_CHOWN 1" >>confdefs.h
16240
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
16241
$as_echo_n "checking for error_at_line... " >&6; }
16242
if ${ac_cv_lib_error_at_line+:} false; then :
16243
$as_echo_n "(cached) " >&6
16245
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16246
/* end confdefs.h. */
16251
error_at_line (0, 0, "", 0, "an error occurred");
16256
if ac_fn_cxx_try_link "$LINENO"; then :
16257
ac_cv_lib_error_at_line=yes
16259
ac_cv_lib_error_at_line=no
16261
rm -f core conftest.err conftest.$ac_objext \
16262
conftest$ac_exeext conftest.$ac_ext
16264
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
16265
$as_echo "$ac_cv_lib_error_at_line" >&6; }
16266
if test $ac_cv_lib_error_at_line = no; then
16267
case " $LIBOBJS " in
16268
*" error.$ac_objext "* ) ;;
16269
*) LIBOBJS="$LIBOBJS error.$ac_objext"
16275
for ac_header in vfork.h
16277
ac_fn_cxx_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
16278
if test "x$ac_cv_header_vfork_h" = xyes; then :
16279
cat >>confdefs.h <<_ACEOF
16280
#define HAVE_VFORK_H 1
16287
for ac_func in fork vfork
16289
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16290
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
16291
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16292
cat >>confdefs.h <<_ACEOF
16293
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16299
if test "x$ac_cv_func_fork" = xyes; then
16300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
16301
$as_echo_n "checking for working fork... " >&6; }
16302
if ${ac_cv_func_fork_works+:} false; then :
16303
$as_echo_n "(cached) " >&6
16305
if test "$cross_compiling" = yes; then :
16306
ac_cv_func_fork_works=cross
16308
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16309
/* end confdefs.h. */
16310
$ac_includes_default
16315
/* By Ruediger Kuhlmann. */
16316
return fork () < 0;
16322
if ac_fn_cxx_try_run "$LINENO"; then :
16323
ac_cv_func_fork_works=yes
16325
ac_cv_func_fork_works=no
16327
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16328
conftest.$ac_objext conftest.beam conftest.$ac_ext
16332
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
16333
$as_echo "$ac_cv_func_fork_works" >&6; }
16336
ac_cv_func_fork_works=$ac_cv_func_fork
16338
if test "x$ac_cv_func_fork_works" = xcross; then
16340
*-*-amigaos* | *-*-msdosdjgpp*)
16341
# Override, as these systems have only a dummy fork() stub
16342
ac_cv_func_fork_works=no
16345
ac_cv_func_fork_works=yes
16348
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
16349
$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
16351
ac_cv_func_vfork_works=$ac_cv_func_vfork
16352
if test "x$ac_cv_func_vfork" = xyes; then
16353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
16354
$as_echo_n "checking for working vfork... " >&6; }
16355
if ${ac_cv_func_vfork_works+:} false; then :
16356
$as_echo_n "(cached) " >&6
16358
if test "$cross_compiling" = yes; then :
16359
ac_cv_func_vfork_works=cross
16361
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16362
/* end confdefs.h. */
16363
/* Thanks to Paul Eggert for this test. */
16364
$ac_includes_default
16365
#include <sys/wait.h>
16366
#ifdef HAVE_VFORK_H
16367
# include <vfork.h>
16369
/* On some sparc systems, changes by the child to local and incoming
16370
argument registers are propagated back to the parent. The compiler
16371
is told about this with #include <vfork.h>, but some compilers
16372
(e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
16373
static variable whose address is put into a register that is
16374
clobbered by the vfork. */
16377
sparc_address_test (int arg)
16379
sparc_address_test (arg) int arg;
16382
static pid_t child;
16400
pid_t parent = getpid ();
16403
sparc_address_test (0);
16408
/* Here is another test for sparc vfork register problems. This
16409
test uses lots of local variables, at least as many local
16410
variables as main has allocated so far including compiler
16411
temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
16412
4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
16413
reuse the register of parent for one of the local variables,
16414
since it will think that parent can't possibly be used any more
16415
in this routine. Assigning to the local variable will thus
16416
munge parent in the parent process. */
16418
p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
16419
p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
16420
/* Convince the compiler that p..p7 are live; otherwise, it might
16421
use the same hardware register for all 8 local variables. */
16422
if (p != p1 || p != p2 || p != p3 || p != p4
16423
|| p != p5 || p != p6 || p != p7)
16426
/* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
16427
from child file descriptors. If the child closes a descriptor
16428
before it execs or exits, this munges the parent's descriptor
16429
as well. Test for this by closing stdout in the child. */
16430
_exit(close(fileno(stdout)) != 0);
16435
while (wait(&status) != child)
16438
/* Was there some problem with vforking? */
16441
/* Did the child fail? (This shouldn't happen.) */
16444
/* Did the vfork/compiler bug occur? */
16445
|| parent != getpid()
16447
/* Did the file descriptor bug occur? */
16448
|| fstat(fileno(stdout), &st) != 0
16453
if ac_fn_cxx_try_run "$LINENO"; then :
16454
ac_cv_func_vfork_works=yes
16456
ac_cv_func_vfork_works=no
16458
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16459
conftest.$ac_objext conftest.beam conftest.$ac_ext
16463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
16464
$as_echo "$ac_cv_func_vfork_works" >&6; }
16467
if test "x$ac_cv_func_fork_works" = xcross; then
16468
ac_cv_func_vfork_works=$ac_cv_func_vfork
16469
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
16470
$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
16473
if test "x$ac_cv_func_vfork_works" = xyes; then
16475
$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
16479
$as_echo "#define vfork fork" >>confdefs.h
16482
if test "x$ac_cv_func_fork_works" = xyes; then
16484
$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
16488
if test $ac_cv_c_compiler_gnu = yes; then
16489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
16490
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
16491
if ${ac_cv_prog_gcc_traditional+:} false; then :
16492
$as_echo_n "(cached) " >&6
16494
ac_pattern="Autoconf.*'x'"
16495
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16496
/* end confdefs.h. */
16500
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16501
$EGREP "$ac_pattern" >/dev/null 2>&1; then :
16502
ac_cv_prog_gcc_traditional=yes
16504
ac_cv_prog_gcc_traditional=no
16509
if test $ac_cv_prog_gcc_traditional = no; then
16510
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16511
/* end confdefs.h. */
16512
#include <termio.h>
16515
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16516
$EGREP "$ac_pattern" >/dev/null 2>&1; then :
16517
ac_cv_prog_gcc_traditional=yes
16523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
16524
$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
16525
if test $ac_cv_prog_gcc_traditional = yes; then
16526
CC="$CC -traditional"
16530
for ac_header in stdlib.h
16532
ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
16533
if test "x$ac_cv_header_stdlib_h" = xyes; then :
16534
cat >>confdefs.h <<_ACEOF
16535
#define HAVE_STDLIB_H 1
16542
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
16543
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
16544
if ${ac_cv_func_malloc_0_nonnull+:} false; then :
16545
$as_echo_n "(cached) " >&6
16547
if test "$cross_compiling" = yes; then :
16548
ac_cv_func_malloc_0_nonnull=no
16550
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16551
/* end confdefs.h. */
16552
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
16553
# include <stdlib.h>
16561
return ! malloc (0);
16566
if ac_fn_cxx_try_run "$LINENO"; then :
16567
ac_cv_func_malloc_0_nonnull=yes
16569
ac_cv_func_malloc_0_nonnull=no
16571
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16572
conftest.$ac_objext conftest.beam conftest.$ac_ext
16576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
16577
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
16578
if test $ac_cv_func_malloc_0_nonnull = yes; then :
16580
$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
16583
$as_echo "#define HAVE_MALLOC 0" >>confdefs.h
16585
case " $LIBOBJS " in
16586
*" malloc.$ac_objext "* ) ;;
16587
*) LIBOBJS="$LIBOBJS malloc.$ac_objext"
16592
$as_echo "#define malloc rpl_malloc" >>confdefs.h
16597
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
16598
$as_echo_n "checking for working memcmp... " >&6; }
16599
if ${ac_cv_func_memcmp_working+:} false; then :
16600
$as_echo_n "(cached) " >&6
16602
if test "$cross_compiling" = yes; then :
16603
ac_cv_func_memcmp_working=no
16605
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16606
/* end confdefs.h. */
16607
$ac_includes_default
16612
/* Some versions of memcmp are not 8-bit clean. */
16613
char c0 = '\100', c1 = '\200', c2 = '\201';
16614
if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
16617
/* The Next x86 OpenStep bug shows up only when comparing 16 bytes
16618
or more and with at least one buffer not starting on a 4-byte boundary.
16619
William Lewis provided this test program. */
16624
for (i = 0; i < 4; i++)
16628
strcpy (a, "--------01111111");
16629
strcpy (b, "--------10000000");
16630
if (memcmp (a, b, 16) >= 0)
16640
if ac_fn_cxx_try_run "$LINENO"; then :
16641
ac_cv_func_memcmp_working=yes
16643
ac_cv_func_memcmp_working=no
16645
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16646
conftest.$ac_objext conftest.beam conftest.$ac_ext
16650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
16651
$as_echo "$ac_cv_func_memcmp_working" >&6; }
16652
test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
16653
*" memcmp.$ac_objext "* ) ;;
16654
*) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
16659
for ac_header in stdlib.h
16661
ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
16662
if test "x$ac_cv_header_stdlib_h" = xyes; then :
16663
cat >>confdefs.h <<_ACEOF
16664
#define HAVE_STDLIB_H 1
16671
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
16672
$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
16673
if ${ac_cv_func_realloc_0_nonnull+:} false; then :
16674
$as_echo_n "(cached) " >&6
16676
if test "$cross_compiling" = yes; then :
16677
ac_cv_func_realloc_0_nonnull=no
16679
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16680
/* end confdefs.h. */
16681
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
16682
# include <stdlib.h>
16690
return ! realloc (0, 0);
16695
if ac_fn_cxx_try_run "$LINENO"; then :
16696
ac_cv_func_realloc_0_nonnull=yes
16698
ac_cv_func_realloc_0_nonnull=no
16700
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16701
conftest.$ac_objext conftest.beam conftest.$ac_ext
16705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
16706
$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
16707
if test $ac_cv_func_realloc_0_nonnull = yes; then :
16709
$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
16712
$as_echo "#define HAVE_REALLOC 0" >>confdefs.h
16714
case " $LIBOBJS " in
16715
*" realloc.$ac_objext "* ) ;;
16716
*) LIBOBJS="$LIBOBJS realloc.$ac_objext"
16721
$as_echo "#define realloc rpl_realloc" >>confdefs.h
16726
for ac_header in sys/select.h sys/socket.h
16728
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16729
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16730
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16731
cat >>confdefs.h <<_ACEOF
16732
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
16740
$as_echo_n "checking types of arguments for select... " >&6; }
16741
if ${ac_cv_func_select_args+:} false; then :
16742
$as_echo_n "(cached) " >&6
16744
for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
16745
for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
16746
for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
16747
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16748
/* end confdefs.h. */
16749
$ac_includes_default
16750
#ifdef HAVE_SYS_SELECT_H
16751
# include <sys/select.h>
16753
#ifdef HAVE_SYS_SOCKET_H
16754
# include <sys/socket.h>
16760
extern int select ($ac_arg1,
16761
$ac_arg234, $ac_arg234, $ac_arg234,
16767
if ac_fn_cxx_try_compile "$LINENO"; then :
16768
ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
16770
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16774
# Provide a safe default value.
16775
: "${ac_cv_func_select_args=int,int *,struct timeval *}"
16778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
16779
$as_echo "$ac_cv_func_select_args" >&6; }
16780
ac_save_IFS=$IFS; IFS=','
16781
set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
16785
cat >>confdefs.h <<_ACEOF
16786
#define SELECT_TYPE_ARG1 $1
16790
cat >>confdefs.h <<_ACEOF
16791
#define SELECT_TYPE_ARG234 ($2)
16795
cat >>confdefs.h <<_ACEOF
16796
#define SELECT_TYPE_ARG5 ($3)
16801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
16802
$as_echo_n "checking return type of signal handlers... " >&6; }
16803
if ${ac_cv_type_signal+:} false; then :
16804
$as_echo_n "(cached) " >&6
16806
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16807
/* end confdefs.h. */
16808
#include <sys/types.h>
16809
#include <signal.h>
16814
return *(signal (0, 0)) (0) == 1;
16819
if ac_fn_cxx_try_compile "$LINENO"; then :
16820
ac_cv_type_signal=int
16822
ac_cv_type_signal=void
16824
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
16827
$as_echo "$ac_cv_type_signal" >&6; }
16829
cat >>confdefs.h <<_ACEOF
16830
#define RETSIGTYPE $ac_cv_type_signal
16834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
16835
$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
16836
if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
16837
$as_echo_n "(cached) " >&6
16839
rm -f conftest.sym conftest.file
16840
echo >conftest.file
16841
if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
16842
if test "$cross_compiling" = yes; then :
16843
ac_cv_func_lstat_dereferences_slashed_symlink=no
16845
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16846
/* end confdefs.h. */
16847
$ac_includes_default
16852
/* Linux will dereference the symlink and fail, as required by POSIX.
16853
That is better in the sense that it means we will not
16854
have to compile and use the lstat wrapper. */
16855
return lstat ("conftest.sym/", &sbuf) == 0;
16860
if ac_fn_cxx_try_run "$LINENO"; then :
16861
ac_cv_func_lstat_dereferences_slashed_symlink=yes
16863
ac_cv_func_lstat_dereferences_slashed_symlink=no
16865
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16866
conftest.$ac_objext conftest.beam conftest.$ac_ext
16870
# If the `ln -s' command failed, then we probably don't even
16871
# have an lstat function.
16872
ac_cv_func_lstat_dereferences_slashed_symlink=no
16874
rm -f conftest.sym conftest.file
16877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
16878
$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
16880
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
16882
cat >>confdefs.h <<_ACEOF
16883
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
16887
if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
16888
case " $LIBOBJS " in
16889
*" lstat.$ac_objext "* ) ;;
16890
*) LIBOBJS="$LIBOBJS lstat.$ac_objext"
16896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
16897
$as_echo_n "checking whether stat accepts an empty string... " >&6; }
16898
if ${ac_cv_func_stat_empty_string_bug+:} false; then :
16899
$as_echo_n "(cached) " >&6
16901
if test "$cross_compiling" = yes; then :
16902
ac_cv_func_stat_empty_string_bug=yes
16904
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16905
/* end confdefs.h. */
16906
$ac_includes_default
16911
return stat ("", &sbuf) == 0;
16916
if ac_fn_cxx_try_run "$LINENO"; then :
16917
ac_cv_func_stat_empty_string_bug=no
16919
ac_cv_func_stat_empty_string_bug=yes
16921
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16922
conftest.$ac_objext conftest.beam conftest.$ac_ext
16926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
16927
$as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
16928
if test $ac_cv_func_stat_empty_string_bug = yes; then
16929
case " $LIBOBJS " in
16930
*" stat.$ac_objext "* ) ;;
16931
*) LIBOBJS="$LIBOBJS stat.$ac_objext"
16936
cat >>confdefs.h <<_ACEOF
16937
#define HAVE_STAT_EMPTY_STRING_BUG 1
16945
for ac_header in $ac_header_list
16947
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16948
ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16950
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16951
cat >>confdefs.h <<_ACEOF
16952
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16962
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether utime accepts a null argument" >&5
16963
$as_echo_n "checking whether utime accepts a null argument... " >&6; }
16964
if ${ac_cv_func_utime_null+:} false; then :
16965
$as_echo_n "(cached) " >&6
16967
rm -f conftest.data; >conftest.data
16968
# Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
16969
if test "$cross_compiling" = yes; then :
16970
ac_cv_func_utime_null='guessing yes'
16972
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973
/* end confdefs.h. */
16974
$ac_includes_default
16975
#ifdef HAVE_UTIME_H
16976
# include <utime.h>
16982
return ! (stat ("conftest.data", &s) == 0
16983
&& utime ("conftest.data", 0) == 0
16984
&& stat ("conftest.data", &t) == 0
16985
&& t.st_mtime >= s.st_mtime
16986
&& t.st_mtime - s.st_mtime < 120);
16991
if ac_fn_cxx_try_run "$LINENO"; then :
16992
ac_cv_func_utime_null=yes
16994
ac_cv_func_utime_null=no
16996
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16997
conftest.$ac_objext conftest.beam conftest.$ac_ext
17001
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_utime_null" >&5
17002
$as_echo "$ac_cv_func_utime_null" >&6; }
17003
if test "x$ac_cv_func_utime_null" != xno; then
17004
ac_cv_func_utime_null=yes
17006
$as_echo "#define HAVE_UTIME_NULL 1" >>confdefs.h
17009
rm -f conftest.data
17011
for ac_func in vprintf
17013
ac_fn_cxx_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
17014
if test "x$ac_cv_func_vprintf" = xyes; then :
17015
cat >>confdefs.h <<_ACEOF
17016
#define HAVE_VPRINTF 1
17019
ac_fn_cxx_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
17020
if test "x$ac_cv_func__doprnt" = xyes; then :
17022
$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
17030
for ac_func in bzero floor gethostbyname gethrtime gettimeofday \
17031
inet_ntoa memset mkdir pathconf pow regcomp select setlocale socket \
17032
strchr strdup strerror strrchr strstr strtol utime
17034
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17035
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
17036
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17037
cat >>confdefs.h <<_ACEOF
17038
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17052
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17053
if test -n "$ac_tool_prefix"; then
17054
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17055
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17057
$as_echo_n "checking for $ac_word... " >&6; }
17058
if ${ac_cv_path_PKG_CONFIG+:} false; then :
17059
$as_echo_n "(cached) " >&6
17061
case $PKG_CONFIG in
17063
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17066
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17067
for as_dir in $PATH
17070
test -z "$as_dir" && as_dir=.
17071
for ac_exec_ext in '' $ac_executable_extensions; do
17072
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17073
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17074
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17084
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17085
if test -n "$PKG_CONFIG"; then
17086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17087
$as_echo "$PKG_CONFIG" >&6; }
17089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17090
$as_echo "no" >&6; }
17095
if test -z "$ac_cv_path_PKG_CONFIG"; then
17096
ac_pt_PKG_CONFIG=$PKG_CONFIG
17097
# Extract the first word of "pkg-config", so it can be a program name with args.
17098
set dummy pkg-config; ac_word=$2
17099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17100
$as_echo_n "checking for $ac_word... " >&6; }
17101
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17102
$as_echo_n "(cached) " >&6
17104
case $ac_pt_PKG_CONFIG in
17106
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17109
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17110
for as_dir in $PATH
17113
test -z "$as_dir" && as_dir=.
17114
for ac_exec_ext in '' $ac_executable_extensions; do
17115
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17116
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17117
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17127
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17128
if test -n "$ac_pt_PKG_CONFIG"; then
17129
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17130
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
17132
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17133
$as_echo "no" >&6; }
17136
if test "x$ac_pt_PKG_CONFIG" = x; then
17139
case $cross_compiling:$ac_tool_warned in
17141
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17142
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17143
ac_tool_warned=yes ;;
17145
PKG_CONFIG=$ac_pt_PKG_CONFIG
17148
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17152
if test -n "$PKG_CONFIG"; then
17153
_pkg_min_version=0.9.0
17154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17155
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17156
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17157
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17158
$as_echo "yes" >&6; }
17160
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17161
$as_echo "no" >&6; }
17167
UUID_MIN_VERSION=1.0
17170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UUID" >&5
17171
$as_echo_n "checking for UUID... " >&6; }
17173
if test -n "$UUID_CFLAGS"; then
17174
pkg_cv_UUID_CFLAGS="$UUID_CFLAGS"
17175
elif test -n "$PKG_CONFIG"; then
17176
if test -n "$PKG_CONFIG" && \
17177
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= \${UUID_MIN_VERSION}\""; } >&5
17178
($PKG_CONFIG --exists --print-errors "uuid >= ${UUID_MIN_VERSION}") 2>&5
17180
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17181
test $ac_status = 0; }; then
17182
pkg_cv_UUID_CFLAGS=`$PKG_CONFIG --cflags "uuid >= ${UUID_MIN_VERSION}" 2>/dev/null`
17183
test "x$?" != "x0" && pkg_failed=yes
17190
if test -n "$UUID_LIBS"; then
17191
pkg_cv_UUID_LIBS="$UUID_LIBS"
17192
elif test -n "$PKG_CONFIG"; then
17193
if test -n "$PKG_CONFIG" && \
17194
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= \${UUID_MIN_VERSION}\""; } >&5
17195
($PKG_CONFIG --exists --print-errors "uuid >= ${UUID_MIN_VERSION}") 2>&5
17197
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17198
test $ac_status = 0; }; then
17199
pkg_cv_UUID_LIBS=`$PKG_CONFIG --libs "uuid >= ${UUID_MIN_VERSION}" 2>/dev/null`
17200
test "x$?" != "x0" && pkg_failed=yes
17210
if test $pkg_failed = yes; then
17211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17212
$as_echo "no" >&6; }
17214
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17215
_pkg_short_errors_supported=yes
17217
_pkg_short_errors_supported=no
17219
if test $_pkg_short_errors_supported = yes; then
17220
UUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid >= ${UUID_MIN_VERSION}" 2>&1`
17222
UUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid >= ${UUID_MIN_VERSION}" 2>&1`
17224
# Put the nasty error message in config.log where it belongs
17225
echo "$UUID_PKG_ERRORS" >&5
17228
elif test $pkg_failed = untried; then
17229
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17230
$as_echo "no" >&6; }
17233
UUID_CFLAGS=$pkg_cv_UUID_CFLAGS
17234
UUID_LIBS=$pkg_cv_UUID_LIBS
17235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17236
$as_echo "yes" >&6; }
17240
LIBCRYPTO_MIN_VERSION=1.0
17243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTO" >&5
17244
$as_echo_n "checking for LIBCRYPTO... " >&6; }
17246
if test -n "$LIBCRYPTO_CFLAGS"; then
17247
pkg_cv_LIBCRYPTO_CFLAGS="$LIBCRYPTO_CFLAGS"
17248
elif test -n "$PKG_CONFIG"; then
17249
if test -n "$PKG_CONFIG" && \
17250
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= \${LIBCRYPTO_MIN_VERSION}\""; } >&5
17251
($PKG_CONFIG --exists --print-errors "libcrypto >= ${LIBCRYPTO_MIN_VERSION}") 2>&5
17253
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17254
test $ac_status = 0; }; then
17255
pkg_cv_LIBCRYPTO_CFLAGS=`$PKG_CONFIG --cflags "libcrypto >= ${LIBCRYPTO_MIN_VERSION}" 2>/dev/null`
17256
test "x$?" != "x0" && pkg_failed=yes
17263
if test -n "$LIBCRYPTO_LIBS"; then
17264
pkg_cv_LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS"
17265
elif test -n "$PKG_CONFIG"; then
17266
if test -n "$PKG_CONFIG" && \
17267
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= \${LIBCRYPTO_MIN_VERSION}\""; } >&5
17268
($PKG_CONFIG --exists --print-errors "libcrypto >= ${LIBCRYPTO_MIN_VERSION}") 2>&5
17270
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17271
test $ac_status = 0; }; then
17272
pkg_cv_LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto >= ${LIBCRYPTO_MIN_VERSION}" 2>/dev/null`
17273
test "x$?" != "x0" && pkg_failed=yes
17283
if test $pkg_failed = yes; then
17284
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17285
$as_echo "no" >&6; }
17287
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17288
_pkg_short_errors_supported=yes
17290
_pkg_short_errors_supported=no
17292
if test $_pkg_short_errors_supported = yes; then
17293
LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= ${LIBCRYPTO_MIN_VERSION}" 2>&1`
17295
LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto >= ${LIBCRYPTO_MIN_VERSION}" 2>&1`
17297
# Put the nasty error message in config.log where it belongs
17298
echo "$LIBCRYPTO_PKG_ERRORS" >&5
17300
HAVE_LIBCRYPTO=false
17301
elif test $pkg_failed = untried; then
17302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17303
$as_echo "no" >&6; }
17304
HAVE_LIBCRYPTO=false
17306
LIBCRYPTO_CFLAGS=$pkg_cv_LIBCRYPTO_CFLAGS
17307
LIBCRYPTO_LIBS=$pkg_cv_LIBCRYPTO_LIBS
17308
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17309
$as_echo "yes" >&6; }
17310
HAVE_LIBCRYPTO=true
17313
ALSA_MIN_VERSION=1.0
17316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
17317
$as_echo_n "checking for ALSA... " >&6; }
17319
if test -n "$ALSA_CFLAGS"; then
17320
pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
17321
elif test -n "$PKG_CONFIG"; then
17322
if test -n "$PKG_CONFIG" && \
17323
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= \${ALSA_MIN_VERSION}\""; } >&5
17324
($PKG_CONFIG --exists --print-errors "alsa >= ${ALSA_MIN_VERSION}") 2>&5
17326
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17327
test $ac_status = 0; }; then
17328
pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa >= ${ALSA_MIN_VERSION}" 2>/dev/null`
17329
test "x$?" != "x0" && pkg_failed=yes
17336
if test -n "$ALSA_LIBS"; then
17337
pkg_cv_ALSA_LIBS="$ALSA_LIBS"
17338
elif test -n "$PKG_CONFIG"; then
17339
if test -n "$PKG_CONFIG" && \
17340
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= \${ALSA_MIN_VERSION}\""; } >&5
17341
($PKG_CONFIG --exists --print-errors "alsa >= ${ALSA_MIN_VERSION}") 2>&5
17343
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17344
test $ac_status = 0; }; then
17345
pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa >= ${ALSA_MIN_VERSION}" 2>/dev/null`
17346
test "x$?" != "x0" && pkg_failed=yes
17356
if test $pkg_failed = yes; then
17357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17358
$as_echo "no" >&6; }
17360
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17361
_pkg_short_errors_supported=yes
17363
_pkg_short_errors_supported=no
17365
if test $_pkg_short_errors_supported = yes; then
17366
ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "alsa >= ${ALSA_MIN_VERSION}" 2>&1`
17368
ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "alsa >= ${ALSA_MIN_VERSION}" 2>&1`
17370
# Put the nasty error message in config.log where it belongs
17371
echo "$ALSA_PKG_ERRORS" >&5
17373
as_fn_error $? "Missing alsa development package: libasound2-dev or alsa-lib-devel" "$LINENO" 5
17374
elif test $pkg_failed = untried; then
17375
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17376
$as_echo "no" >&6; }
17377
as_fn_error $? "Missing alsa development package: libasound2-dev or alsa-lib-devel" "$LINENO" 5
17379
ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
17380
ALSA_LIBS=$pkg_cv_ALSA_LIBS
17381
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17382
$as_echo "yes" >&6; }
17386
LIBPULSE_MIN_VERSION=0.9.15
17389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSEAUDIO" >&5
17390
$as_echo_n "checking for PULSEAUDIO... " >&6; }
17392
if test -n "$PULSEAUDIO_CFLAGS"; then
17393
pkg_cv_PULSEAUDIO_CFLAGS="$PULSEAUDIO_CFLAGS"
17394
elif test -n "$PKG_CONFIG"; then
17395
if test -n "$PKG_CONFIG" && \
17396
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse >= \${LIBPULSE_MIN_VERSION}\""; } >&5
17397
($PKG_CONFIG --exists --print-errors "libpulse >= ${LIBPULSE_MIN_VERSION}") 2>&5
17399
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17400
test $ac_status = 0; }; then
17401
pkg_cv_PULSEAUDIO_CFLAGS=`$PKG_CONFIG --cflags "libpulse >= ${LIBPULSE_MIN_VERSION}" 2>/dev/null`
17402
test "x$?" != "x0" && pkg_failed=yes
17409
if test -n "$PULSEAUDIO_LIBS"; then
17410
pkg_cv_PULSEAUDIO_LIBS="$PULSEAUDIO_LIBS"
17411
elif test -n "$PKG_CONFIG"; then
17412
if test -n "$PKG_CONFIG" && \
17413
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse >= \${LIBPULSE_MIN_VERSION}\""; } >&5
17414
($PKG_CONFIG --exists --print-errors "libpulse >= ${LIBPULSE_MIN_VERSION}") 2>&5
17416
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17417
test $ac_status = 0; }; then
17418
pkg_cv_PULSEAUDIO_LIBS=`$PKG_CONFIG --libs "libpulse >= ${LIBPULSE_MIN_VERSION}" 2>/dev/null`
17419
test "x$?" != "x0" && pkg_failed=yes
17429
if test $pkg_failed = yes; then
17430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17431
$as_echo "no" >&6; }
17433
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17434
_pkg_short_errors_supported=yes
17436
_pkg_short_errors_supported=no
17438
if test $_pkg_short_errors_supported = yes; then
17439
PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpulse >= ${LIBPULSE_MIN_VERSION}" 2>&1`
17441
PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpulse >= ${LIBPULSE_MIN_VERSION}" 2>&1`
17443
# Put the nasty error message in config.log where it belongs
17444
echo "$PULSEAUDIO_PKG_ERRORS" >&5
17446
as_fn_error $? "Missing pulseaudio development package: libpulse-dev" "$LINENO" 5
17447
elif test $pkg_failed = untried; then
17448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17449
$as_echo "no" >&6; }
17450
as_fn_error $? "Missing pulseaudio development package: libpulse-dev" "$LINENO" 5
17452
PULSEAUDIO_CFLAGS=$pkg_cv_PULSEAUDIO_CFLAGS
17453
PULSEAUDIO_LIBS=$pkg_cv_PULSEAUDIO_LIBS
17454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17455
$as_echo "yes" >&6; }
17459
LIBSAMPLERATE_MIN_VERSION=0.1.2
17462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SAMPLERATE" >&5
17463
$as_echo_n "checking for SAMPLERATE... " >&6; }
17465
if test -n "$SAMPLERATE_CFLAGS"; then
17466
pkg_cv_SAMPLERATE_CFLAGS="$SAMPLERATE_CFLAGS"
17467
elif test -n "$PKG_CONFIG"; then
17468
if test -n "$PKG_CONFIG" && \
17469
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate >= \${LIBSAMPLERATE_MIN_VERSION}\""; } >&5
17470
($PKG_CONFIG --exists --print-errors "samplerate >= ${LIBSAMPLERATE_MIN_VERSION}") 2>&5
17472
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17473
test $ac_status = 0; }; then
17474
pkg_cv_SAMPLERATE_CFLAGS=`$PKG_CONFIG --cflags "samplerate >= ${LIBSAMPLERATE_MIN_VERSION}" 2>/dev/null`
17475
test "x$?" != "x0" && pkg_failed=yes
17482
if test -n "$SAMPLERATE_LIBS"; then
17483
pkg_cv_SAMPLERATE_LIBS="$SAMPLERATE_LIBS"
17484
elif test -n "$PKG_CONFIG"; then
17485
if test -n "$PKG_CONFIG" && \
17486
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate >= \${LIBSAMPLERATE_MIN_VERSION}\""; } >&5
17487
($PKG_CONFIG --exists --print-errors "samplerate >= ${LIBSAMPLERATE_MIN_VERSION}") 2>&5
17489
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17490
test $ac_status = 0; }; then
17491
pkg_cv_SAMPLERATE_LIBS=`$PKG_CONFIG --libs "samplerate >= ${LIBSAMPLERATE_MIN_VERSION}" 2>/dev/null`
17492
test "x$?" != "x0" && pkg_failed=yes
17502
if test $pkg_failed = yes; then
17503
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17504
$as_echo "no" >&6; }
17506
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17507
_pkg_short_errors_supported=yes
17509
_pkg_short_errors_supported=no
17511
if test $_pkg_short_errors_supported = yes; then
17512
SAMPLERATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "samplerate >= ${LIBSAMPLERATE_MIN_VERSION}" 2>&1`
17514
SAMPLERATE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "samplerate >= ${LIBSAMPLERATE_MIN_VERSION}" 2>&1`
17516
# Put the nasty error message in config.log where it belongs
17517
echo "$SAMPLERATE_PKG_ERRORS" >&5
17519
as_fn_error $? "Missing libsamplerate development package: libsamplerate0-dev" "$LINENO" 5
17520
elif test $pkg_failed = untried; then
17521
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17522
$as_echo "no" >&6; }
17523
as_fn_error $? "Missing libsamplerate development package: libsamplerate0-dev" "$LINENO" 5
17525
SAMPLERATE_CFLAGS=$pkg_cv_SAMPLERATE_CFLAGS
17526
SAMPLERATE_LIBS=$pkg_cv_SAMPLERATE_LIBS
17527
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17528
$as_echo "yes" >&6; }
17532
LIBCCGNU2_MIN_VERSION=1.3.1
17535
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCGNU2" >&5
17536
$as_echo_n "checking for CCGNU2... " >&6; }
17538
if test -n "$CCGNU2_CFLAGS"; then
17539
pkg_cv_CCGNU2_CFLAGS="$CCGNU2_CFLAGS"
17540
elif test -n "$PKG_CONFIG"; then
17541
if test -n "$PKG_CONFIG" && \
17542
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccgnu2 >= \${LIBCCGNU2_MIN_VERSION}\""; } >&5
17543
($PKG_CONFIG --exists --print-errors "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}") 2>&5
17545
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17546
test $ac_status = 0; }; then
17547
pkg_cv_CCGNU2_CFLAGS=`$PKG_CONFIG --cflags "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>/dev/null`
17548
test "x$?" != "x0" && pkg_failed=yes
17555
if test -n "$CCGNU2_LIBS"; then
17556
pkg_cv_CCGNU2_LIBS="$CCGNU2_LIBS"
17557
elif test -n "$PKG_CONFIG"; then
17558
if test -n "$PKG_CONFIG" && \
17559
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccgnu2 >= \${LIBCCGNU2_MIN_VERSION}\""; } >&5
17560
($PKG_CONFIG --exists --print-errors "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}") 2>&5
17562
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17563
test $ac_status = 0; }; then
17564
pkg_cv_CCGNU2_LIBS=`$PKG_CONFIG --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>/dev/null`
17565
test "x$?" != "x0" && pkg_failed=yes
17575
if test $pkg_failed = yes; then
17576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17577
$as_echo "no" >&6; }
17579
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17580
_pkg_short_errors_supported=yes
17582
_pkg_short_errors_supported=no
17584
if test $_pkg_short_errors_supported = yes; then
17585
CCGNU2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
17587
CCGNU2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
17589
# Put the nasty error message in config.log where it belongs
17590
echo "$CCGNU2_PKG_ERRORS" >&5
17592
as_fn_error $? "Missing common cpp development package: libcommoncpp2-dev" "$LINENO" 5
17593
elif test $pkg_failed = untried; then
17594
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17595
$as_echo "no" >&6; }
17596
as_fn_error $? "Missing common cpp development package: libcommoncpp2-dev" "$LINENO" 5
17598
CCGNU2_CFLAGS=$pkg_cv_CCGNU2_CFLAGS
17599
CCGNU2_LIBS=$pkg_cv_CCGNU2_LIBS
17600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17601
$as_echo "yes" >&6; }
17605
LIBCCEXT2_MIN_VERSION=1.3.1
17608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCEXT2" >&5
17609
$as_echo_n "checking for CCEXT2... " >&6; }
17611
if test -n "$CCEXT2_CFLAGS"; then
17612
pkg_cv_CCEXT2_CFLAGS="$CCEXT2_CFLAGS"
17613
elif test -n "$PKG_CONFIG"; then
17614
if test -n "$PKG_CONFIG" && \
17615
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccext2 >= \${LIBCCEXT2_MIN_VERSION}\""; } >&5
17616
($PKG_CONFIG --exists --print-errors "libccext2 >= ${LIBCCEXT2_MIN_VERSION}") 2>&5
17618
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17619
test $ac_status = 0; }; then
17620
pkg_cv_CCEXT2_CFLAGS=`$PKG_CONFIG --cflags "libccext2 >= ${LIBCCEXT2_MIN_VERSION}" 2>/dev/null`
17621
test "x$?" != "x0" && pkg_failed=yes
17628
if test -n "$CCEXT2_LIBS"; then
17629
pkg_cv_CCEXT2_LIBS="$CCEXT2_LIBS"
17630
elif test -n "$PKG_CONFIG"; then
17631
if test -n "$PKG_CONFIG" && \
17632
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccext2 >= \${LIBCCEXT2_MIN_VERSION}\""; } >&5
17633
($PKG_CONFIG --exists --print-errors "libccext2 >= ${LIBCCEXT2_MIN_VERSION}") 2>&5
17635
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17636
test $ac_status = 0; }; then
17637
pkg_cv_CCEXT2_LIBS=`$PKG_CONFIG --libs "libccext2 >= ${LIBCCEXT2_MIN_VERSION}" 2>/dev/null`
17638
test "x$?" != "x0" && pkg_failed=yes
17648
if test $pkg_failed = yes; then
17649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17650
$as_echo "no" >&6; }
17652
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17653
_pkg_short_errors_supported=yes
17655
_pkg_short_errors_supported=no
17657
if test $_pkg_short_errors_supported = yes; then
17658
CCEXT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libccext2 >= ${LIBCCEXT2_MIN_VERSION}" 2>&1`
17660
CCEXT2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libccext2 >= ${LIBCCEXT2_MIN_VERSION}" 2>&1`
17662
# Put the nasty error message in config.log where it belongs
17663
echo "$CCEXT2_PKG_ERRORS" >&5
17665
as_fn_error $? "Package requirements (libccext2 >= ${LIBCCEXT2_MIN_VERSION}) were not met:
17669
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17670
installed software in a non-standard prefix.
17672
Alternatively, you may set the environment variables CCEXT2_CFLAGS
17673
and CCEXT2_LIBS to avoid the need to call pkg-config.
17674
See the pkg-config man page for more details." "$LINENO" 5
17675
elif test $pkg_failed = untried; then
17676
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17677
$as_echo "no" >&6; }
17678
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17679
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17680
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17681
is in your PATH or set the PKG_CONFIG environment variable to the full
17682
path to pkg-config.
17684
Alternatively, you may set the environment variables CCEXT2_CFLAGS
17685
and CCEXT2_LIBS to avoid the need to call pkg-config.
17686
See the pkg-config man page for more details.
17688
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17689
See \`config.log' for more details" "$LINENO" 5; }
17691
CCEXT2_CFLAGS=$pkg_cv_CCEXT2_CFLAGS
17692
CCEXT2_LIBS=$pkg_cv_CCEXT2_LIBS
17693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17694
$as_echo "yes" >&6; }
17698
LIBCCRT_MIN_VERSION=1.3.0
17701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCRTP" >&5
17702
$as_echo_n "checking for CCRTP... " >&6; }
17704
if test -n "$CCRTP_CFLAGS"; then
17705
pkg_cv_CCRTP_CFLAGS="$CCRTP_CFLAGS"
17706
elif test -n "$PKG_CONFIG"; then
17707
if test -n "$PKG_CONFIG" && \
17708
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccrtp1 >= \${LIBCCRT_MIN_VERSION}\""; } >&5
17709
($PKG_CONFIG --exists --print-errors "libccrtp1 >= ${LIBCCRT_MIN_VERSION}") 2>&5
17711
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17712
test $ac_status = 0; }; then
17713
pkg_cv_CCRTP_CFLAGS=`$PKG_CONFIG --cflags "libccrtp1 >= ${LIBCCRT_MIN_VERSION}" 2>/dev/null`
17714
test "x$?" != "x0" && pkg_failed=yes
17721
if test -n "$CCRTP_LIBS"; then
17722
pkg_cv_CCRTP_LIBS="$CCRTP_LIBS"
17723
elif test -n "$PKG_CONFIG"; then
17724
if test -n "$PKG_CONFIG" && \
17725
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccrtp1 >= \${LIBCCRT_MIN_VERSION}\""; } >&5
17726
($PKG_CONFIG --exists --print-errors "libccrtp1 >= ${LIBCCRT_MIN_VERSION}") 2>&5
17728
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17729
test $ac_status = 0; }; then
17730
pkg_cv_CCRTP_LIBS=`$PKG_CONFIG --libs "libccrtp1 >= ${LIBCCRT_MIN_VERSION}" 2>/dev/null`
17731
test "x$?" != "x0" && pkg_failed=yes
17741
if test $pkg_failed = yes; then
17742
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17743
$as_echo "no" >&6; }
17745
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17746
_pkg_short_errors_supported=yes
17748
_pkg_short_errors_supported=no
17750
if test $_pkg_short_errors_supported = yes; then
17751
CCRTP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libccrtp1 >= ${LIBCCRT_MIN_VERSION}" 2>&1`
17753
CCRTP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libccrtp1 >= ${LIBCCRT_MIN_VERSION}" 2>&1`
17755
# Put the nasty error message in config.log where it belongs
17756
echo "$CCRTP_PKG_ERRORS" >&5
17758
as_fn_error $? "Missing ccrtp development package: libccrtp-dev" "$LINENO" 5
17759
elif test $pkg_failed = untried; then
17760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17761
$as_echo "no" >&6; }
17762
as_fn_error $? "Missing ccrtp development package: libccrtp-dev" "$LINENO" 5
17764
CCRTP_CFLAGS=$pkg_cv_CCRTP_CFLAGS
17765
CCRTP_LIBS=$pkg_cv_CCRTP_LIBS
17766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17767
$as_echo "yes" >&6; }
17773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libssl" >&5
17774
$as_echo_n "checking for libssl... " >&6; }
17776
if test -n "$libssl_CFLAGS"; then
17777
pkg_cv_libssl_CFLAGS="$libssl_CFLAGS"
17778
elif test -n "$PKG_CONFIG"; then
17779
if test -n "$PKG_CONFIG" && \
17780
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssl\""; } >&5
17781
($PKG_CONFIG --exists --print-errors "libssl") 2>&5
17783
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17784
test $ac_status = 0; }; then
17785
pkg_cv_libssl_CFLAGS=`$PKG_CONFIG --cflags "libssl" 2>/dev/null`
17786
test "x$?" != "x0" && pkg_failed=yes
17793
if test -n "$libssl_LIBS"; then
17794
pkg_cv_libssl_LIBS="$libssl_LIBS"
17795
elif test -n "$PKG_CONFIG"; then
17796
if test -n "$PKG_CONFIG" && \
17797
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssl\""; } >&5
17798
($PKG_CONFIG --exists --print-errors "libssl") 2>&5
17800
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17801
test $ac_status = 0; }; then
17802
pkg_cv_libssl_LIBS=`$PKG_CONFIG --libs "libssl" 2>/dev/null`
17803
test "x$?" != "x0" && pkg_failed=yes
17813
if test $pkg_failed = yes; then
17814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17815
$as_echo "no" >&6; }
17817
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17818
_pkg_short_errors_supported=yes
17820
_pkg_short_errors_supported=no
17822
if test $_pkg_short_errors_supported = yes; then
17823
libssl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libssl" 2>&1`
17825
libssl_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libssl" 2>&1`
17827
# Put the nasty error message in config.log where it belongs
17828
echo "$libssl_PKG_ERRORS" >&5
17830
as_fn_error $? "Missing ssl development package: libssl-dev" "$LINENO" 5
17831
elif test $pkg_failed = untried; then
17832
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17833
$as_echo "no" >&6; }
17834
as_fn_error $? "Missing ssl development package: libssl-dev" "$LINENO" 5
17836
libssl_CFLAGS=$pkg_cv_libssl_CFLAGS
17837
libssl_LIBS=$pkg_cv_libssl_LIBS
17838
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17839
$as_echo "yes" >&6; }
17843
LIBZRTPCPP_MIN_VERSION=1.3.0
17846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZRTPCPP" >&5
17847
$as_echo_n "checking for ZRTPCPP... " >&6; }
17849
if test -n "$ZRTPCPP_CFLAGS"; then
17850
pkg_cv_ZRTPCPP_CFLAGS="$ZRTPCPP_CFLAGS"
17851
elif test -n "$PKG_CONFIG"; then
17852
if test -n "$PKG_CONFIG" && \
17853
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzrtpcpp >= \${LIBZRTPCPP_MIN_VERSION}\""; } >&5
17854
($PKG_CONFIG --exists --print-errors "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}") 2>&5
17856
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17857
test $ac_status = 0; }; then
17858
pkg_cv_ZRTPCPP_CFLAGS=`$PKG_CONFIG --cflags "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}" 2>/dev/null`
17859
test "x$?" != "x0" && pkg_failed=yes
17866
if test -n "$ZRTPCPP_LIBS"; then
17867
pkg_cv_ZRTPCPP_LIBS="$ZRTPCPP_LIBS"
17868
elif test -n "$PKG_CONFIG"; then
17869
if test -n "$PKG_CONFIG" && \
17870
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzrtpcpp >= \${LIBZRTPCPP_MIN_VERSION}\""; } >&5
17871
($PKG_CONFIG --exists --print-errors "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}") 2>&5
17873
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17874
test $ac_status = 0; }; then
17875
pkg_cv_ZRTPCPP_LIBS=`$PKG_CONFIG --libs "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}" 2>/dev/null`
17876
test "x$?" != "x0" && pkg_failed=yes
17886
if test $pkg_failed = yes; then
17887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17888
$as_echo "no" >&6; }
17890
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17891
_pkg_short_errors_supported=yes
17893
_pkg_short_errors_supported=no
17895
if test $_pkg_short_errors_supported = yes; then
17896
ZRTPCPP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}" 2>&1`
17898
ZRTPCPP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}" 2>&1`
17900
# Put the nasty error message in config.log where it belongs
17901
echo "$ZRTPCPP_PKG_ERRORS" >&5
17903
as_fn_error $? "Missing zrtp development package: libzrtpcpp-dev" "$LINENO" 5
17904
elif test $pkg_failed = untried; then
17905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17906
$as_echo "no" >&6; }
17907
as_fn_error $? "Missing zrtp development package: libzrtpcpp-dev" "$LINENO" 5
17909
ZRTPCPP_CFLAGS=$pkg_cv_ZRTPCPP_CFLAGS
17910
ZRTPCPP_LIBS=$pkg_cv_ZRTPCPP_LIBS
17911
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17912
$as_echo "yes" >&6; }
17916
DBUS_CPP_REQUIRED_VERSION=0.6.0-pre1
17919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUSCPP" >&5
17920
$as_echo_n "checking for DBUSCPP... " >&6; }
17922
if test -n "$DBUSCPP_CFLAGS"; then
17923
pkg_cv_DBUSCPP_CFLAGS="$DBUSCPP_CFLAGS"
17924
elif test -n "$PKG_CONFIG"; then
17925
if test -n "$PKG_CONFIG" && \
17926
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-c++-1\""; } >&5
17927
($PKG_CONFIG --exists --print-errors "dbus-c++-1") 2>&5
17929
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17930
test $ac_status = 0; }; then
17931
pkg_cv_DBUSCPP_CFLAGS=`$PKG_CONFIG --cflags "dbus-c++-1" 2>/dev/null`
17932
test "x$?" != "x0" && pkg_failed=yes
17939
if test -n "$DBUSCPP_LIBS"; then
17940
pkg_cv_DBUSCPP_LIBS="$DBUSCPP_LIBS"
17941
elif test -n "$PKG_CONFIG"; then
17942
if test -n "$PKG_CONFIG" && \
17943
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-c++-1\""; } >&5
17944
($PKG_CONFIG --exists --print-errors "dbus-c++-1") 2>&5
17946
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17947
test $ac_status = 0; }; then
17948
pkg_cv_DBUSCPP_LIBS=`$PKG_CONFIG --libs "dbus-c++-1" 2>/dev/null`
17949
test "x$?" != "x0" && pkg_failed=yes
17959
if test $pkg_failed = yes; then
17960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17961
$as_echo "no" >&6; }
17963
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17964
_pkg_short_errors_supported=yes
17966
_pkg_short_errors_supported=no
17968
if test $_pkg_short_errors_supported = yes; then
17969
DBUSCPP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-c++-1" 2>&1`
17971
DBUSCPP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-c++-1" 2>&1`
17973
# Put the nasty error message in config.log where it belongs
17974
echo "$DBUSCPP_PKG_ERRORS" >&5
17976
as_fn_error $? "You need the DBus-c++ libraries (version $DBUS_CPP_REQUIRED_VERSION or better)" "$LINENO" 5
17977
elif test $pkg_failed = untried; then
17978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17979
$as_echo "no" >&6; }
17980
as_fn_error $? "You need the DBus-c++ libraries (version $DBUS_CPP_REQUIRED_VERSION or better)" "$LINENO" 5
17982
DBUSCPP_CFLAGS=$pkg_cv_DBUSCPP_CFLAGS
17983
DBUSCPP_LIBS=$pkg_cv_DBUSCPP_LIBS
17984
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17985
$as_echo "yes" >&6; }
17989
CXXFLAGS="${CXXFLAGS} -g -Wno-return-type -Wall -Wextra -Wnon-virtual-dtor -Weffc++ -Wfatal-errors"
17991
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate_MM in -lexpat" >&5
17992
$as_echo_n "checking for XML_ParserCreate_MM in -lexpat... " >&6; }
17993
if ${ac_cv_lib_expat_XML_ParserCreate_MM+:} false; then :
17994
$as_echo_n "(cached) " >&6
17996
ac_check_lib_save_LIBS=$LIBS
17997
LIBS="-lexpat $LIBS"
17998
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17999
/* end confdefs.h. */
18001
/* Override any GCC internal prototype to avoid an error.
18002
Use char because int might match the return type of a GCC
18003
builtin and then its argument prototype would still apply. */
18007
char XML_ParserCreate_MM ();
18011
return XML_ParserCreate_MM ();
18016
if ac_fn_cxx_try_link "$LINENO"; then :
18017
ac_cv_lib_expat_XML_ParserCreate_MM=yes
18019
ac_cv_lib_expat_XML_ParserCreate_MM=no
18021
rm -f core conftest.err conftest.$ac_objext \
18022
conftest$ac_exeext conftest.$ac_ext
18023
LIBS=$ac_check_lib_save_LIBS
18025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate_MM" >&5
18026
$as_echo "$ac_cv_lib_expat_XML_ParserCreate_MM" >&6; }
18027
if test "x$ac_cv_lib_expat_XML_ParserCreate_MM" = xyes; then :
18028
for ac_header in expat.h
18030
ac_fn_cxx_check_header_mongrel "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
18031
if test "x$ac_cv_header_expat_h" = xyes; then :
18032
cat >>confdefs.h <<_ACEOF
18033
#define HAVE_EXPAT_H 1
18047
test "$have_expat" = false && as_fn_error $? "libexpat development files missing" "$LINENO" 5
18055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for yaml_parser_initialize in -lyaml" >&5
18056
$as_echo_n "checking for yaml_parser_initialize in -lyaml... " >&6; }
18057
if ${ac_cv_lib_yaml_yaml_parser_initialize+:} false; then :
18058
$as_echo_n "(cached) " >&6
18060
ac_check_lib_save_LIBS=$LIBS
18061
LIBS="-lyaml $LIBS"
18062
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18063
/* end confdefs.h. */
18065
/* Override any GCC internal prototype to avoid an error.
18066
Use char because int might match the return type of a GCC
18067
builtin and then its argument prototype would still apply. */
18071
char yaml_parser_initialize ();
18075
return yaml_parser_initialize ();
18080
if ac_fn_cxx_try_link "$LINENO"; then :
18081
ac_cv_lib_yaml_yaml_parser_initialize=yes
18083
ac_cv_lib_yaml_yaml_parser_initialize=no
18085
rm -f core conftest.err conftest.$ac_objext \
18086
conftest$ac_exeext conftest.$ac_ext
18087
LIBS=$ac_check_lib_save_LIBS
18089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_yaml_yaml_parser_initialize" >&5
18090
$as_echo "$ac_cv_lib_yaml_yaml_parser_initialize" >&6; }
18091
if test "x$ac_cv_lib_yaml_yaml_parser_initialize" = xyes; then :
18092
for ac_header in yaml.h
18094
ac_fn_cxx_check_header_mongrel "$LINENO" "yaml.h" "ac_cv_header_yaml_h" "$ac_includes_default"
18095
if test "x$ac_cv_header_yaml_h" = xyes; then :
18096
cat >>confdefs.h <<_ACEOF
18097
#define HAVE_YAML_H 1
18111
test "$have_yaml" = "false" && as_fn_error $? "libyaml development files missing" "$LINENO" 5
18118
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
18119
$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
18120
if ${ac_cv_lib_pthread_pthread_create+:} false; then :
18121
$as_echo_n "(cached) " >&6
18123
ac_check_lib_save_LIBS=$LIBS
18124
LIBS="-lpthread $LIBS"
18125
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18126
/* end confdefs.h. */
18128
/* Override any GCC internal prototype to avoid an error.
18129
Use char because int might match the return type of a GCC
18130
builtin and then its argument prototype would still apply. */
18134
char pthread_create ();
18138
return pthread_create ();
18143
if ac_fn_cxx_try_link "$LINENO"; then :
18144
ac_cv_lib_pthread_pthread_create=yes
18146
ac_cv_lib_pthread_pthread_create=no
18148
rm -f core conftest.err conftest.$ac_objext \
18149
conftest$ac_exeext conftest.$ac_ext
18150
LIBS=$ac_check_lib_save_LIBS
18152
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
18153
$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
18154
if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
18155
for ac_header in pthread.h
18157
ac_fn_cxx_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
18158
if test "x$ac_cv_header_pthread_h" = xyes; then :
18159
cat >>confdefs.h <<_ACEOF
18160
#define HAVE_PTHREAD_H 1
18174
test "$have_pthread" = "false" && as_fn_error $? "You need the POSIX Thread library (pthreads)" "$LINENO" 5
18177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_free in -lpcre" >&5
18178
$as_echo_n "checking for pcre_free in -lpcre... " >&6; }
18179
if ${ac_cv_lib_pcre_pcre_free+:} false; then :
18180
$as_echo_n "(cached) " >&6
18182
ac_check_lib_save_LIBS=$LIBS
18183
LIBS="-lpcre $LIBS"
18184
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18185
/* end confdefs.h. */
18187
/* Override any GCC internal prototype to avoid an error.
18188
Use char because int might match the return type of a GCC
18189
builtin and then its argument prototype would still apply. */
18197
return pcre_free ();
18202
if ac_fn_cxx_try_link "$LINENO"; then :
18203
ac_cv_lib_pcre_pcre_free=yes
18205
ac_cv_lib_pcre_pcre_free=no
18207
rm -f core conftest.err conftest.$ac_objext \
18208
conftest$ac_exeext conftest.$ac_ext
18209
LIBS=$ac_check_lib_save_LIBS
18211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_free" >&5
18212
$as_echo "$ac_cv_lib_pcre_pcre_free" >&6; }
18213
if test "x$ac_cv_lib_pcre_pcre_free" = xyes; then :
18214
for ac_header in pcre.h
18216
ac_fn_cxx_check_header_mongrel "$LINENO" "pcre.h" "ac_cv_header_pcre_h" "$ac_includes_default"
18217
if test "x$ac_cv_header_pcre_h" = xyes; then :
18218
cat >>confdefs.h <<_ACEOF
18219
#define HAVE_PCRE_H 1
18233
test "$have_pcre" = "false" && as_fn_error $? "You need the Perl-Compatible Regular Expressions library (pcre)" "$LINENO" 5
18240
CPPUNIT_MIN_VERSION=1.12
18243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CPPUNIT" >&5
18244
$as_echo_n "checking for CPPUNIT... " >&6; }
18246
if test -n "$CPPUNIT_CFLAGS"; then
18247
pkg_cv_CPPUNIT_CFLAGS="$CPPUNIT_CFLAGS"
18248
elif test -n "$PKG_CONFIG"; then
18249
if test -n "$PKG_CONFIG" && \
18250
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit >= \${CPPUNIT_MIN_VERSION}\""; } >&5
18251
($PKG_CONFIG --exists --print-errors "cppunit >= ${CPPUNIT_MIN_VERSION}") 2>&5
18253
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18254
test $ac_status = 0; }; then
18255
pkg_cv_CPPUNIT_CFLAGS=`$PKG_CONFIG --cflags "cppunit >= ${CPPUNIT_MIN_VERSION}" 2>/dev/null`
18256
test "x$?" != "x0" && pkg_failed=yes
18263
if test -n "$CPPUNIT_LIBS"; then
18264
pkg_cv_CPPUNIT_LIBS="$CPPUNIT_LIBS"
18265
elif test -n "$PKG_CONFIG"; then
18266
if test -n "$PKG_CONFIG" && \
18267
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit >= \${CPPUNIT_MIN_VERSION}\""; } >&5
18268
($PKG_CONFIG --exists --print-errors "cppunit >= ${CPPUNIT_MIN_VERSION}") 2>&5
18270
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18271
test $ac_status = 0; }; then
18272
pkg_cv_CPPUNIT_LIBS=`$PKG_CONFIG --libs "cppunit >= ${CPPUNIT_MIN_VERSION}" 2>/dev/null`
18273
test "x$?" != "x0" && pkg_failed=yes
18283
if test $pkg_failed = yes; then
18284
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18285
$as_echo "no" >&6; }
18287
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18288
_pkg_short_errors_supported=yes
18290
_pkg_short_errors_supported=no
18292
if test $_pkg_short_errors_supported = yes; then
18293
CPPUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cppunit >= ${CPPUNIT_MIN_VERSION}" 2>&1`
18295
CPPUNIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cppunit >= ${CPPUNIT_MIN_VERSION}" 2>&1`
18297
# Put the nasty error message in config.log where it belongs
18298
echo "$CPPUNIT_PKG_ERRORS" >&5
18300
if test 0 = 1 ; then
18302
BUILD_TEST_FALSE='#'
18304
BUILD_TEST_TRUE='#'
18308
elif test $pkg_failed = untried; then
18309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18310
$as_echo "no" >&6; }
18311
if test 0 = 1 ; then
18313
BUILD_TEST_FALSE='#'
18315
BUILD_TEST_TRUE='#'
18320
CPPUNIT_CFLAGS=$pkg_cv_CPPUNIT_CFLAGS
18321
CPPUNIT_LIBS=$pkg_cv_CPPUNIT_LIBS
18322
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18323
$as_echo "yes" >&6; }
18324
if test 1 = 1 ; then
18326
BUILD_TEST_FALSE='#'
18328
BUILD_TEST_TRUE='#'
18334
# check for libgsm1 (doesn't use pkg-config)
18336
# Check whether --with-gsm was given.
18337
if test "${with_gsm+set}" = set; then :
18345
if test "x$with_gsm" != xno; then :
18346
ac_fn_cxx_check_header_mongrel "$LINENO" "gsm/gsm.h" "ac_cv_header_gsm_gsm_h" "$ac_includes_default"
18347
if test "x$ac_cv_header_gsm_gsm_h" = xyes; then :
18350
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18351
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18352
as_fn_error $? "Unable to find the libgsm1 headers (you may need to install the dev package). You may use --without-gsm to compile without gsm codec support.
18353
See \`config.log' for more details" "$LINENO" 5; }
18357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gsm_decode in -lgsm" >&5
18358
$as_echo_n "checking for gsm_decode in -lgsm... " >&6; }
18359
if ${ac_cv_lib_gsm_gsm_decode+:} false; then :
18360
$as_echo_n "(cached) " >&6
18362
ac_check_lib_save_LIBS=$LIBS
18364
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18365
/* end confdefs.h. */
18367
/* Override any GCC internal prototype to avoid an error.
18368
Use char because int might match the return type of a GCC
18369
builtin and then its argument prototype would still apply. */
18373
char gsm_decode ();
18377
return gsm_decode ();
18382
if ac_fn_cxx_try_link "$LINENO"; then :
18383
ac_cv_lib_gsm_gsm_decode=yes
18385
ac_cv_lib_gsm_gsm_decode=no
18387
rm -f core conftest.err conftest.$ac_objext \
18388
conftest$ac_exeext conftest.$ac_ext
18389
LIBS=$ac_check_lib_save_LIBS
18391
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gsm_gsm_decode" >&5
18392
$as_echo "$ac_cv_lib_gsm_gsm_decode" >&6; }
18393
if test "x$ac_cv_lib_gsm_gsm_decode" = xyes; then :
18394
cat >>confdefs.h <<_ACEOF
18395
#define HAVE_LIBGSM 1
18401
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18402
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18403
as_fn_error $? "libgsm link test failed. You may use --without-gsm to compile without gsm codec support.
18404
See \`config.log' for more details" "$LINENO" 5; }
18413
cat >>confdefs.h <<_ACEOF
18414
#define HAVE_GSM `if test "x$with_gsm" = "xyes"; then echo 1; else echo 0; fi`
18417
if test "x$with_gsm" = "xyes" ; then
18419
BUILD_GSM_FALSE='#'
18427
# Check whether --with-speex was given.
18428
if test "${with_speex+set}" = set; then :
18429
withval=$with_speex;
18435
if test "x$with_speex" != xno; then :
18436
ac_fn_cxx_check_header_mongrel "$LINENO" "speex/speex.h" "ac_cv_header_speex_speex_h" "$ac_includes_default"
18437
if test "x$ac_cv_header_speex_speex_h" = xyes; then :
18440
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18441
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18442
as_fn_error $? "Unable to find the libspeex headers (you may need to install the dev package). You may use --without-speex to compile without speex codec support.
18443
See \`config.log' for more details" "$LINENO" 5; }
18447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for speex_decode_int in -lspeex" >&5
18448
$as_echo_n "checking for speex_decode_int in -lspeex... " >&6; }
18449
if ${ac_cv_lib_speex_speex_decode_int+:} false; then :
18450
$as_echo_n "(cached) " >&6
18452
ac_check_lib_save_LIBS=$LIBS
18453
LIBS="-lspeex $LIBS"
18454
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18455
/* end confdefs.h. */
18457
/* Override any GCC internal prototype to avoid an error.
18458
Use char because int might match the return type of a GCC
18459
builtin and then its argument prototype would still apply. */
18463
char speex_decode_int ();
18467
return speex_decode_int ();
18472
if ac_fn_cxx_try_link "$LINENO"; then :
18473
ac_cv_lib_speex_speex_decode_int=yes
18475
ac_cv_lib_speex_speex_decode_int=no
18477
rm -f core conftest.err conftest.$ac_objext \
18478
conftest$ac_exeext conftest.$ac_ext
18479
LIBS=$ac_check_lib_save_LIBS
18481
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_speex_speex_decode_int" >&5
18482
$as_echo "$ac_cv_lib_speex_speex_decode_int" >&6; }
18483
if test "x$ac_cv_lib_speex_speex_decode_int" = xyes; then :
18484
cat >>confdefs.h <<_ACEOF
18485
#define HAVE_LIBSPEEX 1
18488
LIBS="-lspeex $LIBS"
18491
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18492
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18493
as_fn_error $? "libspeex link test failed. You may use --without-speex to compile without speex codec support.
18494
See \`config.log' for more details" "$LINENO" 5; }
18501
cat >>confdefs.h <<_ACEOF
18502
#define HAVE_SPEEX `if test "x$with_speex" = "xyes"; then echo 1; else echo 0; fi`
18505
if test "x$with_speex" = "xyes" ; then
18507
BUILD_SPEEX_FALSE='#'
18509
BUILD_SPEEX_TRUE='#'
18514
ac_fn_cxx_check_header_mongrel "$LINENO" "speex/speex_preprocess.h" "ac_cv_header_speex_speex_preprocess_h" "$ac_includes_default"
18515
if test "x$ac_cv_header_speex_speex_preprocess_h" = xyes; then :
18518
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18519
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18520
as_fn_error $? "Unable to find the libspeexdsp headers (you may need to install the libspeexdsp-dev package) used for Noise Suppression and Automatic Gain Control.
18521
See \`config.log' for more details" "$LINENO" 5; }
18525
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for speex_preprocess_run in -lspeexdsp" >&5
18526
$as_echo_n "checking for speex_preprocess_run in -lspeexdsp... " >&6; }
18527
if ${ac_cv_lib_speexdsp_speex_preprocess_run+:} false; then :
18528
$as_echo_n "(cached) " >&6
18530
ac_check_lib_save_LIBS=$LIBS
18531
LIBS="-lspeexdsp $LIBS"
18532
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18533
/* end confdefs.h. */
18535
/* Override any GCC internal prototype to avoid an error.
18536
Use char because int might match the return type of a GCC
18537
builtin and then its argument prototype would still apply. */
18541
char speex_preprocess_run ();
18545
return speex_preprocess_run ();
18550
if ac_fn_cxx_try_link "$LINENO"; then :
18551
ac_cv_lib_speexdsp_speex_preprocess_run=yes
18553
ac_cv_lib_speexdsp_speex_preprocess_run=no
18555
rm -f core conftest.err conftest.$ac_objext \
18556
conftest$ac_exeext conftest.$ac_ext
18557
LIBS=$ac_check_lib_save_LIBS
18559
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_speexdsp_speex_preprocess_run" >&5
18560
$as_echo "$ac_cv_lib_speexdsp_speex_preprocess_run" >&6; }
18561
if test "x$ac_cv_lib_speexdsp_speex_preprocess_run" = xyes; then :
18562
cat >>confdefs.h <<_ACEOF
18563
#define HAVE_LIBSPEEXDSP 1
18566
LIBS="-lspeexdsp $LIBS"
18572
# check for libcelt
18574
# Check whether --with-celt was given.
18575
if test "${with_celt+set}" = set; then :
18576
withval=$with_celt;
18582
if test "x$with_celt" != xno; then :
18585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CELT" >&5
18586
$as_echo_n "checking for CELT... " >&6; }
18588
if test -n "$CELT_CFLAGS"; then
18589
pkg_cv_CELT_CFLAGS="$CELT_CFLAGS"
18590
elif test -n "$PKG_CONFIG"; then
18591
if test -n "$PKG_CONFIG" && \
18592
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.9.1\""; } >&5
18593
($PKG_CONFIG --exists --print-errors "celt >= 0.9.1") 2>&5
18595
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18596
test $ac_status = 0; }; then
18597
pkg_cv_CELT_CFLAGS=`$PKG_CONFIG --cflags "celt >= 0.9.1" 2>/dev/null`
18598
test "x$?" != "x0" && pkg_failed=yes
18605
if test -n "$CELT_LIBS"; then
18606
pkg_cv_CELT_LIBS="$CELT_LIBS"
18607
elif test -n "$PKG_CONFIG"; then
18608
if test -n "$PKG_CONFIG" && \
18609
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.9.1\""; } >&5
18610
($PKG_CONFIG --exists --print-errors "celt >= 0.9.1") 2>&5
18612
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18613
test $ac_status = 0; }; then
18614
pkg_cv_CELT_LIBS=`$PKG_CONFIG --libs "celt >= 0.9.1" 2>/dev/null`
18615
test "x$?" != "x0" && pkg_failed=yes
18625
if test $pkg_failed = yes; then
18626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18627
$as_echo "no" >&6; }
18629
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18630
_pkg_short_errors_supported=yes
18632
_pkg_short_errors_supported=no
18634
if test $_pkg_short_errors_supported = yes; then
18635
CELT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "celt >= 0.9.1" 2>&1`
18637
CELT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "celt >= 0.9.1" 2>&1`
18639
# Put the nasty error message in config.log where it belongs
18640
echo "$CELT_PKG_ERRORS" >&5
18645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CELT" >&5
18646
$as_echo_n "checking for CELT... " >&6; }
18648
if test -n "$CELT_CFLAGS"; then
18649
pkg_cv_CELT_CFLAGS="$CELT_CFLAGS"
18650
elif test -n "$PKG_CONFIG"; then
18651
if test -n "$PKG_CONFIG" && \
18652
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.7.1\""; } >&5
18653
($PKG_CONFIG --exists --print-errors "celt >= 0.7.1") 2>&5
18655
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18656
test $ac_status = 0; }; then
18657
pkg_cv_CELT_CFLAGS=`$PKG_CONFIG --cflags "celt >= 0.7.1" 2>/dev/null`
18658
test "x$?" != "x0" && pkg_failed=yes
18665
if test -n "$CELT_LIBS"; then
18666
pkg_cv_CELT_LIBS="$CELT_LIBS"
18667
elif test -n "$PKG_CONFIG"; then
18668
if test -n "$PKG_CONFIG" && \
18669
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.7.1\""; } >&5
18670
($PKG_CONFIG --exists --print-errors "celt >= 0.7.1") 2>&5
18672
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18673
test $ac_status = 0; }; then
18674
pkg_cv_CELT_LIBS=`$PKG_CONFIG --libs "celt >= 0.7.1" 2>/dev/null`
18675
test "x$?" != "x0" && pkg_failed=yes
18685
if test $pkg_failed = yes; then
18686
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18687
$as_echo "no" >&6; }
18689
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18690
_pkg_short_errors_supported=yes
18692
_pkg_short_errors_supported=no
18694
if test $_pkg_short_errors_supported = yes; then
18695
CELT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "celt >= 0.7.1" 2>&1`
18697
CELT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "celt >= 0.7.1" 2>&1`
18699
# Put the nasty error message in config.log where it belongs
18700
echo "$CELT_PKG_ERRORS" >&5
18703
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18704
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18705
as_fn_error $? "libcelt link test failed. You may use --without-celt to compile without celt codec support.
18706
See \`config.log' for more details" "$LINENO" 5; }
18708
elif test $pkg_failed = untried; then
18709
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18710
$as_echo "no" >&6; }
18712
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18713
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18714
as_fn_error $? "libcelt link test failed. You may use --without-celt to compile without celt codec support.
18715
See \`config.log' for more details" "$LINENO" 5; }
18718
CELT_CFLAGS=$pkg_cv_CELT_CFLAGS
18719
CELT_LIBS=$pkg_cv_CELT_LIBS
18720
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18721
$as_echo "yes" >&6; }
18723
with_celt_71=yes; { $as_echo "$as_me:${as_lineno-$LINENO}: Using celt 0.7.1" >&5
18724
$as_echo "$as_me: Using celt 0.7.1" >&6;}
18728
elif test $pkg_failed = untried; then
18729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18730
$as_echo "no" >&6; }
18734
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CELT" >&5
18735
$as_echo_n "checking for CELT... " >&6; }
18737
if test -n "$CELT_CFLAGS"; then
18738
pkg_cv_CELT_CFLAGS="$CELT_CFLAGS"
18739
elif test -n "$PKG_CONFIG"; then
18740
if test -n "$PKG_CONFIG" && \
18741
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.7.1\""; } >&5
18742
($PKG_CONFIG --exists --print-errors "celt >= 0.7.1") 2>&5
18744
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18745
test $ac_status = 0; }; then
18746
pkg_cv_CELT_CFLAGS=`$PKG_CONFIG --cflags "celt >= 0.7.1" 2>/dev/null`
18747
test "x$?" != "x0" && pkg_failed=yes
18754
if test -n "$CELT_LIBS"; then
18755
pkg_cv_CELT_LIBS="$CELT_LIBS"
18756
elif test -n "$PKG_CONFIG"; then
18757
if test -n "$PKG_CONFIG" && \
18758
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.7.1\""; } >&5
18759
($PKG_CONFIG --exists --print-errors "celt >= 0.7.1") 2>&5
18761
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18762
test $ac_status = 0; }; then
18763
pkg_cv_CELT_LIBS=`$PKG_CONFIG --libs "celt >= 0.7.1" 2>/dev/null`
18764
test "x$?" != "x0" && pkg_failed=yes
18774
if test $pkg_failed = yes; then
18775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18776
$as_echo "no" >&6; }
18778
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18779
_pkg_short_errors_supported=yes
18781
_pkg_short_errors_supported=no
18783
if test $_pkg_short_errors_supported = yes; then
18784
CELT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "celt >= 0.7.1" 2>&1`
18786
CELT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "celt >= 0.7.1" 2>&1`
18788
# Put the nasty error message in config.log where it belongs
18789
echo "$CELT_PKG_ERRORS" >&5
18792
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18793
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18794
as_fn_error $? "libcelt link test failed. You may use --without-celt to compile without celt codec support.
18795
See \`config.log' for more details" "$LINENO" 5; }
18797
elif test $pkg_failed = untried; then
18798
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18799
$as_echo "no" >&6; }
18801
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18802
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18803
as_fn_error $? "libcelt link test failed. You may use --without-celt to compile without celt codec support.
18804
See \`config.log' for more details" "$LINENO" 5; }
18807
CELT_CFLAGS=$pkg_cv_CELT_CFLAGS
18808
CELT_LIBS=$pkg_cv_CELT_LIBS
18809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18810
$as_echo "yes" >&6; }
18812
with_celt_71=yes; { $as_echo "$as_me:${as_lineno-$LINENO}: Using celt 0.7.1" >&5
18813
$as_echo "$as_me: Using celt 0.7.1" >&6;}
18818
CELT_CFLAGS=$pkg_cv_CELT_CFLAGS
18819
CELT_LIBS=$pkg_cv_CELT_LIBS
18820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18821
$as_echo "yes" >&6; }
18823
with_celt_91=yes; { $as_echo "$as_me:${as_lineno-$LINENO}: Using celt 0.9.1" >&5
18824
$as_echo "$as_me: Using celt 0.9.1" >&6;}
18830
# AC_SUBST(BUILD_CELT)
18831
# AM_CONDITIONAL(BUILD_CELT, test "x$with_celt" = "xyes" )
18832
if test "x$with_celt_91" = "xyes" ; then
18833
BUILD_CELT_91_TRUE=
18834
BUILD_CELT_91_FALSE='#'
18836
BUILD_CELT_91_TRUE='#'
18837
BUILD_CELT_91_FALSE=
18840
if test "x$with_celt_71" = "xyes" ; then
18841
BUILD_CELT_71_TRUE=
18842
BUILD_CELT_71_FALSE='#'
18844
BUILD_CELT_71_TRUE='#'
18845
BUILD_CELT_71_FALSE=
18851
# Check whether --with-iax2 was given.
18852
if test "${with_iax2+set}" = set; then :
18853
withval=$with_iax2;
18860
cat >>confdefs.h <<_ACEOF
18861
#define HAVE_IAX `if test "x$with_iax2" = "xyes"; then echo 1; else echo 0;fi`
18864
if test "x$with_iax2" = "xyes" ; then
18874
# Check whether --with-networkmanager was given.
18875
if test "${with_networkmanager+set}" = set; then :
18876
withval=$with_networkmanager;
18878
with_networkmanager=yes
18882
if test "x$with_networkmanager" = "xyes" ; then
18883
USE_NETWORKMANAGER_TRUE=
18884
USE_NETWORKMANAGER_FALSE='#'
18886
USE_NETWORKMANAGER_TRUE='#'
18887
USE_NETWORKMANAGER_FALSE=
18891
# check for doxygen, mostly stolen from http://log4cpp.sourceforge.net/
18892
# ----------------------------------------------------------------------------
18894
# Acutally perform the doxygen check
18896
# Check whether --enable-doxygen was given.
18897
if test "${enable_doxygen+set}" = set; then :
18898
enableval=$enable_doxygen;
18901
# Check whether --enable-dot was given.
18902
if test "${enable_dot+set}" = set; then :
18903
enableval=$enable_dot;
18906
if test "x$enable_doxygen" = xyes; then
18907
# Extract the first word of "doxygen", so it can be a program name with args.
18908
set dummy doxygen; ac_word=$2
18909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18910
$as_echo_n "checking for $ac_word... " >&6; }
18911
if ${ac_cv_path_DOXYGEN+:} false; then :
18912
$as_echo_n "(cached) " >&6
18916
ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
18919
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18920
for as_dir in $PATH
18923
test -z "$as_dir" && as_dir=.
18924
for ac_exec_ext in '' $ac_executable_extensions; do
18925
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18926
ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
18927
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18937
DOXYGEN=$ac_cv_path_DOXYGEN
18938
if test -n "$DOXYGEN"; then
18939
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
18940
$as_echo "$DOXYGEN" >&6; }
18942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18943
$as_echo "no" >&6; }
18947
test x$DOXYGEN = x && as_fn_error $? "could not find doxygen" "$LINENO" 5
18948
# Extract the first word of "dot", so it can be a program name with args.
18949
set dummy dot; ac_word=$2
18950
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18951
$as_echo_n "checking for $ac_word... " >&6; }
18952
if ${ac_cv_path_DOT+:} false; then :
18953
$as_echo_n "(cached) " >&6
18957
ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18960
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18961
for as_dir in $PATH
18964
test -z "$as_dir" && as_dir=.
18965
for ac_exec_ext in '' $ac_executable_extensions; do
18966
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18967
ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18968
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18978
DOT=$ac_cv_path_DOT
18979
if test -n "$DOT"; then
18980
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
18981
$as_echo "$DOT" >&6; }
18983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18984
$as_echo "no" >&6; }
18988
test x$DOT = x -a "x$enable_dot" = xyes && as_fn_error $? "could not find dot" "$LINENO" 5
18990
if test x$DOXYGEN = xyes; then
18991
ENABLE_DOXYGEN_TRUE=
18992
ENABLE_DOXYGEN_FALSE='#'
18994
ENABLE_DOXYGEN_TRUE='#'
18995
ENABLE_DOXYGEN_FALSE=
19001
cat >confcache <<\_ACEOF
19002
# This file is a shell script that caches the results of configure
19003
# tests run on this system so they can be shared between configure
19004
# scripts and configure runs, see configure's option --config-cache.
19005
# It is not useful on other systems. If it contains results you don't
19006
# want to keep, you may remove or edit it.
19008
# config.status only pays attention to the cache file if you give it
19009
# the --recheck option to rerun configure.
19011
# `ac_cv_env_foo' variables (set or unset) will be overridden when
19012
# loading this file, other *unset* `ac_cv_foo' will be assigned the
19013
# following values.
19017
# The following way of writing the cache mishandles newlines in values,
19018
# but we know of no workaround that is simple, portable, and efficient.
19019
# So, we kill variables containing newlines.
19020
# Ultrix sh set writes to stderr and can't be redirected directly,
19021
# and sets the high bit in the cache file unless we assign to the vars.
19023
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19024
eval ac_val=\$$ac_var
19028
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19029
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19032
_ | IFS | as_nl) ;; #(
19033
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19034
*) { eval $ac_var=; unset $ac_var;} ;;
19040
case $as_nl`(ac_space=' '; set) 2>&1` in #(
19041
*${as_nl}ac_space=\ *)
19042
# `set' does not quote correctly, so add quotes: double-quote
19043
# substitution turns \\\\ into \\, and sed turns \\ into \.
19046
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19049
# `set' quotes correctly as required by POSIX, so do not add quotes.
19050
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19059
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19061
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19063
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19064
if test -w "$cache_file"; then
19065
if test "x$cache_file" != "x/dev/null"; then
19066
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19067
$as_echo "$as_me: updating cache $cache_file" >&6;}
19068
if test ! -f "$cache_file" || test -h "$cache_file"; then
19069
cat confcache >"$cache_file"
19071
case $cache_file in #(
19073
mv -f confcache "$cache_file"$$ &&
19074
mv -f "$cache_file"$$ "$cache_file" ;; #(
19076
mv -f confcache "$cache_file" ;;
19081
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19082
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19087
test "x$prefix" = xNONE && prefix=$ac_default_prefix
19088
# Let make expand exec_prefix.
19089
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19091
DEFS=-DHAVE_CONFIG_H
19096
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19097
# 1. Remove the extension, and $U if already installed.
19098
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19099
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19100
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19101
# will be set to the directory where LIBOBJS objects are built.
19102
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19103
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19105
LIBOBJS=$ac_libobjs
19107
LTLIBOBJS=$ac_ltlibobjs
19110
if test -n "$EXEEXT"; then
19112
am__EXEEXT_FALSE='#'
19114
am__EXEEXT_TRUE='#'
19118
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19119
as_fn_error $? "conditional \"AMDEP\" was never defined.
19120
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19122
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19123
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19124
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19126
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19127
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19128
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19130
if test -z "${BUILD_TEST_TRUE}" && test -z "${BUILD_TEST_FALSE}"; then
19131
as_fn_error $? "conditional \"BUILD_TEST\" was never defined.
19132
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19134
if test -z "${BUILD_TEST_TRUE}" && test -z "${BUILD_TEST_FALSE}"; then
19135
as_fn_error $? "conditional \"BUILD_TEST\" was never defined.
19136
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19138
if test -z "${BUILD_GSM_TRUE}" && test -z "${BUILD_GSM_FALSE}"; then
19139
as_fn_error $? "conditional \"BUILD_GSM\" was never defined.
19140
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19142
if test -z "${BUILD_SPEEX_TRUE}" && test -z "${BUILD_SPEEX_FALSE}"; then
19143
as_fn_error $? "conditional \"BUILD_SPEEX\" was never defined.
19144
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19146
if test -z "${BUILD_CELT_91_TRUE}" && test -z "${BUILD_CELT_91_FALSE}"; then
19147
as_fn_error $? "conditional \"BUILD_CELT_91\" was never defined.
19148
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19150
if test -z "${BUILD_CELT_71_TRUE}" && test -z "${BUILD_CELT_71_FALSE}"; then
19151
as_fn_error $? "conditional \"BUILD_CELT_71\" was never defined.
19152
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19154
if test -z "${USE_IAX_TRUE}" && test -z "${USE_IAX_FALSE}"; then
19155
as_fn_error $? "conditional \"USE_IAX\" was never defined.
19156
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19158
if test -z "${USE_NETWORKMANAGER_TRUE}" && test -z "${USE_NETWORKMANAGER_FALSE}"; then
19159
as_fn_error $? "conditional \"USE_NETWORKMANAGER\" was never defined.
19160
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19162
if test -z "${ENABLE_DOXYGEN_TRUE}" && test -z "${ENABLE_DOXYGEN_FALSE}"; then
19163
as_fn_error $? "conditional \"ENABLE_DOXYGEN\" was never defined.
19164
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19167
: "${CONFIG_STATUS=./config.status}"
19169
ac_clean_files_save=$ac_clean_files
19170
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19171
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19172
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19174
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19176
# Generated by $as_me.
19177
# Run this file to recreate the current configuration.
19178
# Compiler output produced by configure, useful for debugging
19179
# configure, is in config.log if it exists.
19182
ac_cs_recheck=false
19185
SHELL=\${CONFIG_SHELL-$SHELL}
19188
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19189
## -------------------- ##
19190
## M4sh Initialization. ##
19191
## -------------------- ##
19193
# Be more Bourne compatible
19194
DUALCASE=1; export DUALCASE # for MKS sh
19195
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19198
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19199
# is contrary to our usage. Disable this feature.
19200
alias -g '${1+"$@"}'='"$@"'
19201
setopt NO_GLOB_SUBST
19203
case `(set -o) 2>/dev/null` in #(
19215
# Printing a long string crashes Solaris 7 /usr/bin/printf.
19216
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19217
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19218
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19219
# Prefer a ksh shell builtin over an external printf program on Solaris,
19220
# but without wasting forks for bash or zsh.
19221
if test -z "$BASH_VERSION$ZSH_VERSION" \
19222
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19223
as_echo='print -r --'
19224
as_echo_n='print -rn --'
19225
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19226
as_echo='printf %s\n'
19227
as_echo_n='printf %s'
19229
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19230
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19231
as_echo_n='/usr/ucb/echo -n'
19233
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19234
as_echo_n_body='eval
19238
expr "X$arg" : "X\\(.*\\)$as_nl";
19239
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19241
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19243
export as_echo_n_body
19244
as_echo_n='sh -c $as_echo_n_body as_echo'
19246
export as_echo_body
19247
as_echo='sh -c $as_echo_body as_echo'
19250
# The user is always right.
19251
if test "${PATH_SEPARATOR+set}" != set; then
19253
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19254
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19261
# We need space, tab and new line, in precisely that order. Quoting is
19262
# there to prevent editors from complaining about space-tab.
19263
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
19264
# splitting by setting IFS to empty value.)
19267
# Find who we are. Look in the path if we contain no directory separator.
19270
*[\\/]* ) as_myself=$0 ;;
19271
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19272
for as_dir in $PATH
19275
test -z "$as_dir" && as_dir=.
19276
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19282
# We did not find ourselves, most probably we were run as `sh COMMAND'
19283
# in which case we are not to be found in the path.
19284
if test "x$as_myself" = x; then
19287
if test ! -f "$as_myself"; then
19288
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19292
# Unset variables that we do not need and which cause bugs (e.g. in
19293
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19294
# suppresses any "Segmentation fault" message there. '((' could
19295
# trigger a bug in pdksh 5.2.14.
19296
for as_var in BASH_ENV ENV MAIL MAILPATH
19297
do eval test x\${$as_var+set} = xset \
19298
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19311
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19314
# as_fn_error STATUS ERROR [LINENO LOG_FD]
19315
# ----------------------------------------
19316
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19317
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19318
# script with STATUS, using 1 if that was 0.
19321
as_status=$1; test $as_status -eq 0 && as_status=1
19323
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19324
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19326
$as_echo "$as_me: error: $2" >&2
19327
as_fn_exit $as_status
19331
# as_fn_set_status STATUS
19332
# -----------------------
19333
# Set $? to STATUS, without forking.
19334
as_fn_set_status ()
19337
} # as_fn_set_status
19339
# as_fn_exit STATUS
19340
# -----------------
19341
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19345
as_fn_set_status $1
19351
# Portably unset VAR.
19354
{ eval $1=; unset $1;}
19356
as_unset=as_fn_unset
19357
# as_fn_append VAR VALUE
19358
# ----------------------
19359
# Append the text in VALUE to the end of the definition contained in VAR. Take
19360
# advantage of any shell optimizations that allow amortized linear growth over
19361
# repeated appends, instead of the typical quadratic growth present in naive
19363
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19364
eval 'as_fn_append ()
19375
# as_fn_arith ARG...
19376
# ------------------
19377
# Perform arithmetic evaluation on the ARGs, and store the result in the
19378
# global $as_val. Take advantage of shells that can avoid forks. The arguments
19379
# must be portable across $(()) and expr.
19380
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19381
eval 'as_fn_arith ()
19388
as_val=`expr "$@" || test $? -eq 1`
19393
if expr a : '\(a\)' >/dev/null 2>&1 &&
19394
test "X`expr 00001 : '.*\(...\)'`" = X001; then
19400
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19401
as_basename=basename
19406
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19412
as_me=`$as_basename -- "$0" ||
19413
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19414
X"$0" : 'X\(//\)$' \| \
19415
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19417
sed '/^.*\/\([^/][^/]*\)\/*$/{
19431
# Avoid depending upon Character Ranges.
19432
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19433
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19434
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19435
as_cr_digits='0123456789'
19436
as_cr_alnum=$as_cr_Letters$as_cr_digits
19438
ECHO_C= ECHO_N= ECHO_T=
19439
case `echo -n x` in #(((((
19441
case `echo 'xy\c'` in
19442
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
19444
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19451
rm -f conf$$ conf$$.exe conf$$.file
19452
if test -d conf$$.dir; then
19453
rm -f conf$$.dir/conf$$.file
19456
mkdir conf$$.dir 2>/dev/null
19458
if (echo >conf$$.file) 2>/dev/null; then
19459
if ln -s conf$$.file conf$$ 2>/dev/null; then
19461
# ... but there are two gotchas:
19462
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19463
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19464
# In both cases, we have to default to `cp -p'.
19465
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19467
elif ln conf$$.file conf$$ 2>/dev/null; then
19475
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19476
rmdir conf$$.dir 2>/dev/null
19481
# Create "$as_dir" as a directory, including parents if necessary.
19486
-*) as_dir=./$as_dir;;
19488
test -d "$as_dir" || eval $as_mkdir_p || {
19492
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19493
*) as_qdir=$as_dir;;
19495
as_dirs="'$as_qdir' $as_dirs"
19496
as_dir=`$as_dirname -- "$as_dir" ||
19497
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19498
X"$as_dir" : 'X\(//\)[^/]' \| \
19499
X"$as_dir" : 'X\(//\)$' \| \
19500
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19501
$as_echo X"$as_dir" |
19502
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19506
/^X\(\/\/\)[^/].*/{
19519
test -d "$as_dir" && break
19521
test -z "$as_dirs" || eval "mkdir $as_dirs"
19522
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19526
if mkdir -p . 2>/dev/null; then
19527
as_mkdir_p='mkdir -p "$as_dir"'
19529
test -d ./-p && rmdir ./-p
19533
if test -x / >/dev/null 2>&1; then
19534
as_test_x='test -x'
19536
if ls -dL / >/dev/null 2>&1; then
19543
if test -d "$1"; then
19549
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19550
???[sx]*):;;*)false;;esac;fi
19554
as_executable_p=$as_test_x
19556
# Sed expression to map a string onto a valid CPP name.
19557
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19559
# Sed expression to map a string onto a valid variable name.
19560
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19564
## ----------------------------------- ##
19565
## Main body of $CONFIG_STATUS script. ##
19566
## ----------------------------------- ##
19568
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19570
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19571
# Save the log message, to keep $0 and so on meaningful, and to
19572
# report actual input values of CONFIG_FILES etc. instead of their
19573
# values after options handling.
19575
This file was extended by sflphone $as_me 1.0.1, which was
19576
generated by GNU Autoconf 2.68. Invocation command line was
19578
CONFIG_FILES = $CONFIG_FILES
19579
CONFIG_HEADERS = $CONFIG_HEADERS
19580
CONFIG_LINKS = $CONFIG_LINKS
19581
CONFIG_COMMANDS = $CONFIG_COMMANDS
19584
on `(hostname || uname -n) 2>/dev/null | sed 1q`
19589
case $ac_config_files in *"
19590
"*) set x $ac_config_files; shift; ac_config_files=$*;;
19593
case $ac_config_headers in *"
19594
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19598
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19599
# Files that config.status was made for.
19600
config_files="$ac_config_files"
19601
config_headers="$ac_config_headers"
19602
config_commands="$ac_config_commands"
19606
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19608
\`$as_me' instantiates files and other configuration actions
19609
from templates according to the current configuration. Unless the files
19610
and actions are specified as TAGs, all are instantiated by default.
19612
Usage: $0 [OPTION]... [TAG]...
19614
-h, --help print this help, then exit
19615
-V, --version print version number and configuration settings, then exit
19616
--config print configuration, then exit
19617
-q, --quiet, --silent
19618
do not print progress messages
19619
-d, --debug don't remove temporary files
19620
--recheck update $as_me by reconfiguring in the same conditions
19621
--file=FILE[:TEMPLATE]
19622
instantiate the configuration file FILE
19623
--header=FILE[:TEMPLATE]
19624
instantiate the configuration header FILE
19626
Configuration files:
19629
Configuration headers:
19632
Configuration commands:
19635
Report bugs to <sflphoneteam@savoirfairelinux.com>."
19638
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19639
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19641
sflphone config.status 1.0.1
19642
configured by $0, generated by GNU Autoconf 2.68,
19643
with options \\"\$ac_cs_config\\"
19645
Copyright (C) 2010 Free Software Foundation, Inc.
19646
This config.status script is free software; the Free Software Foundation
19647
gives unlimited permission to copy, distribute and modify it."
19654
test -n "\$AWK" || AWK=awk
19657
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19658
# The default lists apply if the user does not specify any file.
19664
ac_option=`expr "X$1" : 'X\([^=]*\)='`
19665
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19669
ac_option=`expr "X$1" : 'X\([^=]*\)='`
19681
# Handling of the options.
19682
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19684
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19685
$as_echo "$ac_cs_version"; exit ;;
19686
--config | --confi | --conf | --con | --co | --c )
19687
$as_echo "$ac_cs_config"; exit ;;
19688
--debug | --debu | --deb | --de | --d | -d )
19690
--file | --fil | --fi | --f )
19693
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19694
'') as_fn_error $? "missing file argument" ;;
19696
as_fn_append CONFIG_FILES " '$ac_optarg'"
19697
ac_need_defaults=false;;
19698
--header | --heade | --head | --hea )
19701
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19703
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19704
ac_need_defaults=false;;
19706
# Conflict between --help and --header
19707
as_fn_error $? "ambiguous option: \`$1'
19708
Try \`$0 --help' for more information.";;
19709
--help | --hel | -h )
19710
$as_echo "$ac_cs_usage"; exit ;;
19711
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
19712
| -silent | --silent | --silen | --sile | --sil | --si | --s)
19715
# This is an error.
19716
-*) as_fn_error $? "unrecognized option: \`$1'
19717
Try \`$0 --help' for more information." ;;
19719
*) as_fn_append ac_config_targets " $1"
19720
ac_need_defaults=false ;;
19726
ac_configure_extra_args=
19728
if $ac_cs_silent; then
19730
ac_configure_extra_args="$ac_configure_extra_args --silent"
19734
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19735
if \$ac_cs_recheck; then
19736
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19738
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19739
CONFIG_SHELL='$SHELL'
19740
export CONFIG_SHELL
19745
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19749
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19750
## Running $as_me. ##
19756
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19760
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19763
# The HP-UX ksh and POSIX shell print the target directory to stdout
19764
# if CDPATH is set.
19765
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19767
sed_quote_subst='$sed_quote_subst'
19768
double_quote_subst='$double_quote_subst'
19769
delay_variable_subst='$delay_variable_subst'
19770
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19771
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19772
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19773
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19774
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19775
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19776
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19777
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19778
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19779
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19780
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19781
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19782
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19783
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19784
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19785
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19786
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19787
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19788
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19789
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19790
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19791
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19792
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19793
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19794
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19795
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19796
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19797
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19798
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19799
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19800
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19801
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19802
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19803
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19804
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19805
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19806
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19807
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19808
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19809
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19810
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19811
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19812
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19813
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19814
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19815
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19816
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19817
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19818
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19819
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19820
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19821
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19822
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19823
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19824
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19825
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
19826
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19827
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
19828
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19829
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19830
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19831
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19832
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19833
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19834
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19835
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19836
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19837
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19838
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19839
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19840
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19841
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19842
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19843
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19844
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19845
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19846
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19847
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19848
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19849
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19850
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19851
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19852
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19853
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19854
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19855
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19856
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19857
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19858
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19859
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19860
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
19861
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19862
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19863
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19864
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19865
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19866
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19867
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19868
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19869
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19870
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19871
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19872
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19873
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19874
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19875
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19876
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19877
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19878
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19879
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19880
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19881
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19882
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19883
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19884
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19885
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19886
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19887
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19888
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19889
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19890
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19891
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19892
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19893
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
19894
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19895
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19896
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19897
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19898
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19899
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19900
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
19901
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
19902
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
19903
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
19904
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
19905
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
19906
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
19907
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
19908
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19909
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19910
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
19911
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
19912
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
19913
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
19914
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
19915
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
19916
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
19917
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
19918
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
19919
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19920
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19921
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
19922
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19923
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19924
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19925
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19926
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19927
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19928
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
19929
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19930
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19931
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19932
hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
19933
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
19934
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
19935
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
19936
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
19937
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
19938
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
19939
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
19940
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
19941
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
19942
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19943
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19944
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19945
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19946
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19947
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
19948
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
19949
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
19950
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19951
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19952
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
19953
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
19954
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
19957
LTCFLAGS='$LTCFLAGS'
19958
compiler='$compiler_DEFAULT'
19960
# A function that is used when there is no print builtin or printf.
19961
func_fallback_echo ()
19963
eval 'cat <<_LTECHO_EOF
19968
# Quote evaled strings.
19982
deplibs_check_method \
19987
sharedlib_from_linklib_cmd \
19990
archiver_list_spec \
19996
lt_cv_sys_global_symbol_pipe \
19997
lt_cv_sys_global_symbol_to_cdecl \
19998
lt_cv_sys_global_symbol_to_c_name_address \
19999
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20000
nm_file_list_spec \
20001
lt_prog_compiler_no_builtin_flag \
20002
lt_prog_compiler_pic \
20003
lt_prog_compiler_wl \
20004
lt_prog_compiler_static \
20005
lt_cv_prog_compiler_c_o \
20014
export_dynamic_flag_spec \
20015
whole_archive_flag_spec \
20016
compiler_needs_object \
20018
allow_undefined_flag \
20019
no_undefined_flag \
20020
hardcode_libdir_flag_spec \
20021
hardcode_libdir_flag_spec_ld \
20022
hardcode_libdir_separator \
20026
variables_saved_for_relink \
20028
library_names_spec \
20030
install_override_mode \
20034
compiler_lib_search_dirs \
20039
compiler_lib_search_path \
20043
lt_prog_compiler_no_builtin_flag_CXX \
20044
lt_prog_compiler_pic_CXX \
20045
lt_prog_compiler_wl_CXX \
20046
lt_prog_compiler_static_CXX \
20047
lt_cv_prog_compiler_c_o_CXX \
20048
export_dynamic_flag_spec_CXX \
20049
whole_archive_flag_spec_CXX \
20050
compiler_needs_object_CXX \
20052
allow_undefined_flag_CXX \
20053
no_undefined_flag_CXX \
20054
hardcode_libdir_flag_spec_CXX \
20055
hardcode_libdir_flag_spec_ld_CXX \
20056
hardcode_libdir_separator_CXX \
20057
exclude_expsyms_CXX \
20058
include_expsyms_CXX \
20059
file_list_spec_CXX \
20060
compiler_lib_search_dirs_CXX \
20061
predep_objects_CXX \
20062
postdep_objects_CXX \
20065
compiler_lib_search_path_CXX; do
20066
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20067
*[\\\\\\\`\\"\\\$]*)
20068
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20071
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20076
# Double-quote double-evaled strings.
20077
for var in reload_cmds \
20078
old_postinstall_cmds \
20079
old_postuninstall_cmds \
20081
extract_expsyms_cmds \
20082
old_archive_from_new_cmds \
20083
old_archive_from_expsyms_cmds \
20085
archive_expsym_cmds \
20087
module_expsym_cmds \
20088
export_symbols_cmds \
20092
postuninstall_cmds \
20094
sys_lib_search_path_spec \
20095
sys_lib_dlsearch_path_spec \
20097
old_archive_cmds_CXX \
20098
old_archive_from_new_cmds_CXX \
20099
old_archive_from_expsyms_cmds_CXX \
20101
archive_expsym_cmds_CXX \
20103
module_expsym_cmds_CXX \
20104
export_symbols_cmds_CXX \
20106
postlink_cmds_CXX; do
20107
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20108
*[\\\\\\\`\\"\\\$]*)
20109
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20112
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20117
ac_aux_dir='$ac_aux_dir'
20118
xsi_shell='$xsi_shell'
20119
lt_shell_append='$lt_shell_append'
20121
# See if we are running on zsh, and set the options which allow our
20122
# commands through without removal of \ escapes INIT.
20123
if test -n "\${ZSH_VERSION+set}" ; then
20124
setopt NO_GLOB_SUBST
20130
TIMESTAMP='$TIMESTAMP'
20141
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20143
# Handling of arguments.
20144
for ac_config_target in $ac_config_targets
20146
case $ac_config_target in
20147
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20148
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20149
"libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
20150
"libs/utilspp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/utilspp/Makefile" ;;
20151
"libs/utilspp/singleton/Makefile") CONFIG_FILES="$CONFIG_FILES libs/utilspp/singleton/Makefile" ;;
20152
"libs/iax2/Makefile") CONFIG_FILES="$CONFIG_FILES libs/iax2/Makefile" ;;
20153
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
20154
"src/sip/Makefile") CONFIG_FILES="$CONFIG_FILES src/sip/Makefile" ;;
20155
"src/im/Makefile") CONFIG_FILES="$CONFIG_FILES src/im/Makefile" ;;
20156
"src/iax/Makefile") CONFIG_FILES="$CONFIG_FILES src/iax/Makefile" ;;
20157
"src/audio/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/Makefile" ;;
20158
"src/audio/audiortp/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/audiortp/Makefile" ;;
20159
"src/audio/pulseaudio/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/pulseaudio/Makefile" ;;
20160
"src/audio/alsa/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/alsa/Makefile" ;;
20161
"src/audio/sound/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/sound/Makefile" ;;
20162
"src/audio/codecs/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/codecs/Makefile" ;;
20163
"src/config/Makefile") CONFIG_FILES="$CONFIG_FILES src/config/Makefile" ;;
20164
"src/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/dbus/Makefile" ;;
20165
"src/hooks/Makefile") CONFIG_FILES="$CONFIG_FILES src/hooks/Makefile" ;;
20166
"src/history/Makefile") CONFIG_FILES="$CONFIG_FILES src/history/Makefile" ;;
20167
"test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
20168
"ringtones/Makefile") CONFIG_FILES="$CONFIG_FILES ringtones/Makefile" ;;
20169
"man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
20170
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20171
"doc/dbus-api/Makefile") CONFIG_FILES="$CONFIG_FILES doc/dbus-api/Makefile" ;;
20172
"doc/doxygen/Makefile") CONFIG_FILES="$CONFIG_FILES doc/doxygen/Makefile" ;;
20173
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20174
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20176
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20181
# If the user did not use the arguments to specify the items to instantiate,
20182
# then the envvar interface is used. Set only those that are not.
20183
# We use the long form for the default assignment because of an extremely
20184
# bizarre bug on SunOS 4.1.3.
20185
if $ac_need_defaults; then
20186
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20187
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20188
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20191
# Have a temporary directory for convenience. Make it in the build tree
20192
# simply because there is no reason against having it here, and in addition,
20193
# creating and moving files from /tmp can sometimes cause problems.
20194
# Hook for its removal unless debugging.
20195
# Note that there is a small window in which the directory will not be cleaned:
20196
# after its creation but before its name has been assigned to `$tmp'.
20200
trap 'exit_status=$?
20201
: "${ac_tmp:=$tmp}"
20202
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20204
trap 'as_fn_exit 1' 1 2 13 15
20206
# Create a (secure) tmp directory for tmp files.
20209
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20213
tmp=./conf$$-$RANDOM
20214
(umask 077 && mkdir "$tmp")
20215
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20218
# Set up the scripts for CONFIG_FILES section.
20219
# No need to generate them if there are no CONFIG_FILES.
20220
# This happens for instance with `./config.status config.h'.
20221
if test -n "$CONFIG_FILES"; then
20224
ac_cr=`echo X | tr X '\015'`
20225
# On cygwin, bash can eat \r inside `` if the user requested igncr.
20226
# But we know of no other shell where ac_cr would be empty at this
20227
# point, so we can use a bashism as a fallback.
20228
if test "x$ac_cr" = x; then
20229
eval ac_cr=\$\'\\r\'
20231
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20232
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20235
ac_cs_awk_cr=$ac_cr
20238
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20243
echo "cat >conf$$subs.awk <<_ACEOF" &&
20244
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20246
} >conf$$subs.sh ||
20247
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20248
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20250
for ac_last_try in false false false false false :; do
20251
. ./conf$$subs.sh ||
20252
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20254
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20255
if test $ac_delim_n = $ac_delim_num; then
20257
elif $ac_last_try; then
20258
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20260
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20263
rm -f conf$$subs.sh
20265
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20266
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20270
s/^/S["/; s/!.*/"]=/
20280
s/\(.\{148\}\)..*/\1/
20282
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20287
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20294
s/\(.\{148\}\)..*/\1/
20296
s/["\\]/\\&/g; s/^/"/; s/$/"/
20300
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20305
' <conf$$subs.awk | sed '
20310
' >>$CONFIG_STATUS || ac_write_fail=1
20311
rm -f conf$$subs.awk
20312
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20314
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20315
for (key in S) S_is_set[key] = 1
20321
nfields = split(line, field, "@")
20323
len = length(field[1])
20324
for (i = 2; i < nfields; i++) {
20326
keylen = length(key)
20327
if (S_is_set[key]) {
20329
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20330
len += length(value) + length(field[++i])
20341
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20342
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20343
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20346
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20347
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20350
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20351
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20352
# trailing colons and then remove the whole line if VPATH becomes empty
20353
# (actually we leave an empty line to preserve line numbers).
20354
if test "x$srcdir" = x.; then
20355
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20373
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20374
fi # test -n "$CONFIG_FILES"
20376
# Set up the scripts for CONFIG_HEADERS section.
20377
# No need to generate them if there are no CONFIG_HEADERS.
20378
# This happens for instance with `./config.status Makefile'.
20379
if test -n "$CONFIG_HEADERS"; then
20380
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20384
# Transform confdefs.h into an awk script `defines.awk', embedded as
20385
# here-document in config.status, that substitutes the proper values into
20386
# config.h.in to produce config.h.
20388
# Create a delimiter string that does not exist in confdefs.h, to ease
20389
# handling of long lines.
20391
for ac_last_try in false false :; do
20392
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20393
if test -z "$ac_tt"; then
20395
elif $ac_last_try; then
20396
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20398
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20402
# For the awk script, D is an array of macro values keyed by name,
20403
# likewise P contains macro parameters if any. Preserve backslash
20404
# newline sequences.
20406
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20408
s/.\{148\}/&'"$ac_delim"'/g
20411
s/^[ ]*#[ ]*define[ ][ ]*/ /
20418
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20420
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20424
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20425
D["\1"]=" \3\\\\\\n"\\/p
20427
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20432
s/.\{148\}/&'"$ac_delim"'/g
20437
s/["\\]/\\&/g; s/^/"/; s/$/"/p
20440
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20442
' <confdefs.h | sed '
20443
s/'"$ac_delim"'/"\\\
20444
"/g' >>$CONFIG_STATUS || ac_write_fail=1
20446
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20447
for (key in D) D_is_set[key] = 1
20450
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20452
split(line, arg, " ")
20453
if (arg[1] == "#") {
20457
defundef = substr(arg[1], 2)
20460
split(mac1, mac2, "(") #)
20462
prefix = substr(line, 1, index(line, defundef) - 1)
20463
if (D_is_set[macro]) {
20464
# Preserve the white space surrounding the "#".
20465
print prefix "define", macro P[macro] D[macro]
20468
# Replace #undef with comments. This is necessary, for example,
20469
# in the case of _POSIX_SOURCE, which is predefined and required
20470
# on some systems where configure will not decide to define it.
20471
if (defundef == "undef") {
20472
print "/*", prefix defundef, macro, "*/"
20480
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20481
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20482
fi # test -n "$CONFIG_HEADERS"
20485
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20490
:[FHLC]) ac_mode=$ac_tag; continue;;
20492
case $ac_mode$ac_tag in
20494
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20495
:[FH]-) ac_tag=-:-;;
20496
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20513
-) ac_f="$ac_tmp/stdin";;
20514
*) # Look for the file first in the build tree, then in the source tree
20515
# (if the path is not absolute). The absolute path cannot be DOS-style,
20516
# because $ac_f cannot contain `:'.
20520
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20522
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20524
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20525
as_fn_append ac_file_inputs " '$ac_f'"
20528
# Let's still pretend it is `configure' which instantiates (i.e., don't
20529
# use $as_me), people would be surprised to read:
20530
# /* config.h. Generated by config.status. */
20531
configure_input='Generated from '`
20532
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20534
if test x"$ac_file" != x-; then
20535
configure_input="$ac_file. $configure_input"
20536
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20537
$as_echo "$as_me: creating $ac_file" >&6;}
20539
# Neutralize special characters interpreted by sed in replacement strings.
20540
case $configure_input in #(
20541
*\&* | *\|* | *\\* )
20542
ac_sed_conf_input=`$as_echo "$configure_input" |
20543
sed 's/[\\\\&|]/\\\\&/g'`;; #(
20544
*) ac_sed_conf_input=$configure_input;;
20548
*:-:* | *:-) cat >"$ac_tmp/stdin" \
20549
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20554
ac_dir=`$as_dirname -- "$ac_file" ||
20555
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20556
X"$ac_file" : 'X\(//\)[^/]' \| \
20557
X"$ac_file" : 'X\(//\)$' \| \
20558
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20559
$as_echo X"$ac_file" |
20560
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20564
/^X\(\/\/\)[^/].*/{
20577
as_dir="$ac_dir"; as_fn_mkdir_p
20581
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20583
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20584
# A ".." for each directory in $ac_dir_suffix.
20585
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20586
case $ac_top_builddir_sub in
20587
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20588
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20591
ac_abs_top_builddir=$ac_pwd
20592
ac_abs_builddir=$ac_pwd$ac_dir_suffix
20593
# for backward compatibility:
20594
ac_top_builddir=$ac_top_build_prefix
20597
.) # We are building in place.
20599
ac_top_srcdir=$ac_top_builddir_sub
20600
ac_abs_top_srcdir=$ac_pwd ;;
20601
[\\/]* | ?:[\\/]* ) # Absolute name.
20602
ac_srcdir=$srcdir$ac_dir_suffix;
20603
ac_top_srcdir=$srcdir
20604
ac_abs_top_srcdir=$srcdir ;;
20605
*) # Relative name.
20606
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20607
ac_top_srcdir=$ac_top_build_prefix$srcdir
20608
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20610
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20620
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20621
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20623
ac_MKDIR_P=$MKDIR_P
20625
[\\/$]* | ?:[\\/]* ) ;;
20626
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20630
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20631
# If the template does not know about datarootdir, expand it.
20632
# FIXME: This hack should be removed a few years after 2.60.
20633
ac_datarootdir_hack=; ac_datarootdir_seen=
20644
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20645
*datarootdir*) ac_datarootdir_seen=yes;;
20646
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20647
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20648
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20650
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20651
ac_datarootdir_hack='
20652
s&@datadir@&$datadir&g
20653
s&@docdir@&$docdir&g
20654
s&@infodir@&$infodir&g
20655
s&@localedir@&$localedir&g
20656
s&@mandir@&$mandir&g
20657
s&\\\${datarootdir}&$datarootdir&g' ;;
20661
# Neutralize VPATH when `$srcdir' = `.'.
20662
# Shell code in configure.ac might set extrasub.
20663
# FIXME: do we really want to maintain this feature?
20664
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20665
ac_sed_extra="$ac_vpsub
20668
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20670
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20671
s|@configure_input@|$ac_sed_conf_input|;t t
20672
s&@top_builddir@&$ac_top_builddir_sub&;t t
20673
s&@top_build_prefix@&$ac_top_build_prefix&;t t
20674
s&@srcdir@&$ac_srcdir&;t t
20675
s&@abs_srcdir@&$ac_abs_srcdir&;t t
20676
s&@top_srcdir@&$ac_top_srcdir&;t t
20677
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20678
s&@builddir@&$ac_builddir&;t t
20679
s&@abs_builddir@&$ac_abs_builddir&;t t
20680
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20681
s&@INSTALL@&$ac_INSTALL&;t t
20682
s&@MKDIR_P@&$ac_MKDIR_P&;t t
20683
$ac_datarootdir_hack
20685
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20686
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20688
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20689
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20690
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20691
"$ac_tmp/out"`; test -z "$ac_out"; } &&
20692
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20693
which seems to be undefined. Please make sure it is defined" >&5
20694
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20695
which seems to be undefined. Please make sure it is defined" >&2;}
20697
rm -f "$ac_tmp/stdin"
20699
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20700
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20702
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
20708
if test x"$ac_file" != x-; then
20710
$as_echo "/* $configure_input */" \
20711
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20712
} >"$ac_tmp/config.h" \
20713
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
20714
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20715
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20716
$as_echo "$as_me: $ac_file is unchanged" >&6;}
20719
mv "$ac_tmp/config.h" "$ac_file" \
20720
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
20723
$as_echo "/* $configure_input */" \
20724
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20725
|| as_fn_error $? "could not create -" "$LINENO" 5
20727
# Compute "$ac_file"'s index in $config_headers.
20730
for _am_header in $config_headers :; do
20731
case $_am_header in
20732
$_am_arg | $_am_arg:* )
20735
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
20738
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20739
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20740
X"$_am_arg" : 'X\(//\)[^/]' \| \
20741
X"$_am_arg" : 'X\(//\)$' \| \
20742
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20743
$as_echo X"$_am_arg" |
20744
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20748
/^X\(\/\/\)[^/].*/{
20760
s/.*/./; q'`/stamp-h$_am_stamp_count
20763
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20764
$as_echo "$as_me: executing $ac_file commands" >&6;}
20769
case $ac_file$ac_mode in
20770
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20771
# Autoconf 2.62 quotes --file arguments for eval, but not when files
20772
# are listed without --file. Let's play safe and only enable the eval
20773
# if we detect the quoting.
20774
case $CONFIG_FILES in
20775
*\'*) eval set x "$CONFIG_FILES" ;;
20776
*) set x $CONFIG_FILES ;;
20781
# Strip MF so we end up with the name of the file.
20782
mf=`echo "$mf" | sed -e 's/:.*$//'`
20783
# Check whether this is an Automake generated Makefile or not.
20784
# We used to match only the files named `Makefile.in', but
20785
# some people rename them; so instead we look at the file content.
20786
# Grep'ing the first line is not enough: some people post-process
20787
# each Makefile.in and add a new line on top of each file to say so.
20788
# Grep'ing the whole file is not good either: AIX grep has a line
20789
# limit of 2048, but all sed's we know have understand at least 4000.
20790
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20791
dirpart=`$as_dirname -- "$mf" ||
20792
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20793
X"$mf" : 'X\(//\)[^/]' \| \
20794
X"$mf" : 'X\(//\)$' \| \
20795
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20797
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20801
/^X\(\/\/\)[^/].*/{
20817
# Extract the definition of DEPDIR, am__include, and am__quote
20818
# from the Makefile without running `make'.
20819
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20820
test -z "$DEPDIR" && continue
20821
am__include=`sed -n 's/^am__include = //p' < "$mf"`
20822
test -z "am__include" && continue
20823
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20824
# When using ansi2knr, U may be empty or an underscore; expand it
20825
U=`sed -n 's/^U = //p' < "$mf"`
20826
# Find all dependency output files, they are included files with
20827
# $(DEPDIR) in their names. We invoke sed twice because it is the
20828
# simplest approach to changing $(DEPDIR) to its actual value in the
20830
for file in `sed -n "
20831
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20832
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20833
# Make sure the directory exists.
20834
test -f "$dirpart/$file" && continue
20835
fdir=`$as_dirname -- "$file" ||
20836
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20837
X"$file" : 'X\(//\)[^/]' \| \
20838
X"$file" : 'X\(//\)$' \| \
20839
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20840
$as_echo X"$file" |
20841
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20845
/^X\(\/\/\)[^/].*/{
20858
as_dir=$dirpart/$fdir; as_fn_mkdir_p
20859
# echo "creating $dirpart/$file"
20860
echo '# dummy' > "$dirpart/$file"
20867
# See if we are running on zsh, and set the options which allow our
20868
# commands through without removal of \ escapes.
20869
if test -n "${ZSH_VERSION+set}" ; then
20870
setopt NO_GLOB_SUBST
20873
cfgfile="${ofile}T"
20874
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20877
cat <<_LT_EOF >> "$cfgfile"
20880
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20881
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20882
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20883
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
20885
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20886
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
20888
# Written by Gordon Matzigkeit, 1996
20890
# This file is part of GNU Libtool.
20892
# GNU Libtool is free software; you can redistribute it and/or
20893
# modify it under the terms of the GNU General Public License as
20894
# published by the Free Software Foundation; either version 2 of
20895
# the License, or (at your option) any later version.
20897
# As a special exception to the GNU General Public License,
20898
# if you distribute this file as part of a program or library that
20899
# is built using GNU Libtool, you may include this file under the
20900
# same distribution terms that you use for the rest of that program.
20902
# GNU Libtool is distributed in the hope that it will be useful,
20903
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20904
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20905
# GNU General Public License for more details.
20907
# You should have received a copy of the GNU General Public License
20908
# along with GNU Libtool; see the file COPYING. If not, a copy
20909
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20910
# obtained by writing to the Free Software Foundation, Inc.,
20911
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20914
# The names of the tagged configurations supported by this script.
20915
available_tags="CXX "
20917
# ### BEGIN LIBTOOL CONFIG
20919
# Which release of libtool.m4 was used?
20920
macro_version=$macro_version
20921
macro_revision=$macro_revision
20923
# Whether or not to build shared libraries.
20924
build_libtool_libs=$enable_shared
20926
# Whether or not to build static libraries.
20927
build_old_libs=$enable_static
20929
# What type of objects to build.
20932
# Whether or not to optimize for fast installation.
20933
fast_install=$enable_fast_install
20935
# Shell to use when invoking shell scripts.
20938
# An echo program that protects backslashes.
20942
host_alias=$host_alias
20946
# The build system.
20947
build_alias=$build_alias
20951
# A sed program that does not truncate output.
20954
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
20955
Xsed="\$SED -e 1s/^X//"
20957
# A grep program that handles long lines.
20963
# A literal string matcher.
20966
# A BSD- or MS-compatible name lister.
20969
# Whether we need soft or hard links.
20972
# What is the maximum length of a command?
20973
max_cmd_len=$max_cmd_len
20975
# Object file suffix (normally "o").
20978
# Executable file suffix (normally "").
20981
# whether the shell understands "unset".
20984
# turn spaces into newlines.
20987
# turn newlines into spaces.
20990
# convert \$build file names to \$host format.
20991
to_host_file_cmd=$lt_cv_to_host_file_cmd
20993
# convert \$build files to toolchain format.
20994
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
20996
# An object symbol dumper.
20997
OBJDUMP=$lt_OBJDUMP
20999
# Method to check whether dependent libraries are shared objects.
21000
deplibs_check_method=$lt_deplibs_check_method
21002
# Command to use when deplibs_check_method = "file_magic".
21003
file_magic_cmd=$lt_file_magic_cmd
21005
# How to find potential files when deplibs_check_method = "file_magic".
21006
file_magic_glob=$lt_file_magic_glob
21008
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21009
want_nocaseglob=$lt_want_nocaseglob
21011
# DLL creation program.
21012
DLLTOOL=$lt_DLLTOOL
21014
# Command to associate shared and link libraries.
21015
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21020
# Flags to create an archive.
21021
AR_FLAGS=$lt_AR_FLAGS
21023
# How to feed a file listing to the archiver.
21024
archiver_list_spec=$lt_archiver_list_spec
21026
# A symbol stripping program.
21029
# Commands used to install an old-style archive.
21031
old_postinstall_cmds=$lt_old_postinstall_cmds
21032
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21034
# Whether to use a lock for old archive extraction.
21035
lock_old_archive_extraction=$lock_old_archive_extraction
21040
# LTCC compiler flags.
21041
LTCFLAGS=$lt_CFLAGS
21043
# Take the output of nm and produce a listing of raw symbols and C names.
21044
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21046
# Transform the output of nm in a proper C declaration.
21047
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21049
# Transform the output of nm in a C name address pair.
21050
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21052
# Transform the output of nm in a C name address pair when lib prefix is needed.
21053
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21055
# Specify filename containing input files for \$NM.
21056
nm_file_list_spec=$lt_nm_file_list_spec
21058
# The root where to search for dependent libraries,and in which our libraries should be installed.
21059
lt_sysroot=$lt_sysroot
21061
# The name of the directory that contains temporary libtool files.
21064
# Used to examine libraries when file_magic_cmd begins with "file".
21065
MAGIC_CMD=$MAGIC_CMD
21067
# Must we lock files when doing compilation?
21068
need_locks=$lt_need_locks
21071
MANIFEST_TOOL=$lt_MANIFEST_TOOL
21073
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21074
DSYMUTIL=$lt_DSYMUTIL
21076
# Tool to change global to local symbols on Mac OS X.
21079
# Tool to manipulate fat objects and archives on Mac OS X.
21082
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
21085
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21086
OTOOL64=$lt_OTOOL64
21088
# Old archive suffix (normally "a").
21091
# Shared library suffix (normally ".so").
21092
shrext_cmds=$lt_shrext_cmds
21094
# The commands to extract the exported symbol list from a shared archive.
21095
extract_expsyms_cmds=$lt_extract_expsyms_cmds
21097
# Variables whose values should be saved in libtool wrapper scripts and
21098
# restored at link time.
21099
variables_saved_for_relink=$lt_variables_saved_for_relink
21101
# Do we need the "lib" prefix for modules?
21102
need_lib_prefix=$need_lib_prefix
21104
# Do we need a version for libraries?
21105
need_version=$need_version
21107
# Library versioning type.
21108
version_type=$version_type
21110
# Shared library runtime path variable.
21111
runpath_var=$runpath_var
21113
# Shared library path variable.
21114
shlibpath_var=$shlibpath_var
21116
# Is shlibpath searched before the hard-coded library search path?
21117
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21119
# Format of library name prefix.
21120
libname_spec=$lt_libname_spec
21122
# List of archive names. First name is the real one, the rest are links.
21123
# The last name is the one that the linker finds with -lNAME
21124
library_names_spec=$lt_library_names_spec
21126
# The coded name of the library, if different from the real name.
21127
soname_spec=$lt_soname_spec
21129
# Permission mode override for installation of shared libraries.
21130
install_override_mode=$lt_install_override_mode
21132
# Command to use after installation of a shared archive.
21133
postinstall_cmds=$lt_postinstall_cmds
21135
# Command to use after uninstallation of a shared archive.
21136
postuninstall_cmds=$lt_postuninstall_cmds
21138
# Commands used to finish a libtool library installation in a directory.
21139
finish_cmds=$lt_finish_cmds
21141
# As "finish_cmds", except a single script fragment to be evaled but
21143
finish_eval=$lt_finish_eval
21145
# Whether we should hardcode library paths into libraries.
21146
hardcode_into_libs=$hardcode_into_libs
21148
# Compile-time system search path for libraries.
21149
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21151
# Run-time system search path for libraries.
21152
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21154
# Whether dlopen is supported.
21155
dlopen_support=$enable_dlopen
21157
# Whether dlopen of programs is supported.
21158
dlopen_self=$enable_dlopen_self
21160
# Whether dlopen of statically linked programs is supported.
21161
dlopen_self_static=$enable_dlopen_self_static
21163
# Commands to strip libraries.
21164
old_striplib=$lt_old_striplib
21165
striplib=$lt_striplib
21168
# The linker used to build libraries.
21171
# How to create reloadable object files.
21172
reload_flag=$lt_reload_flag
21173
reload_cmds=$lt_reload_cmds
21175
# Commands used to build an old-style archive.
21176
old_archive_cmds=$lt_old_archive_cmds
21178
# A language specific compiler.
21181
# Is the compiler the GNU compiler?
21184
# Compiler flag to turn off builtin functions.
21185
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21187
# Additional compiler flags for building library objects.
21188
pic_flag=$lt_lt_prog_compiler_pic
21190
# How to pass a linker flag through the compiler.
21191
wl=$lt_lt_prog_compiler_wl
21193
# Compiler flag to prevent dynamic linking.
21194
link_static_flag=$lt_lt_prog_compiler_static
21196
# Does compiler simultaneously support -c and -o options?
21197
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21199
# Whether or not to add -lc for building shared libraries.
21200
build_libtool_need_lc=$archive_cmds_need_lc
21202
# Whether or not to disallow shared libs when runtime libs are static.
21203
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21205
# Compiler flag to allow reflexive dlopens.
21206
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21208
# Compiler flag to generate shared objects directly from archives.
21209
whole_archive_flag_spec=$lt_whole_archive_flag_spec
21211
# Whether the compiler copes with passing no objects directly.
21212
compiler_needs_object=$lt_compiler_needs_object
21214
# Create an old-style archive from a shared archive.
21215
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21217
# Create a temporary old-style archive to link instead of a shared archive.
21218
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21220
# Commands used to build a shared archive.
21221
archive_cmds=$lt_archive_cmds
21222
archive_expsym_cmds=$lt_archive_expsym_cmds
21224
# Commands used to build a loadable module if different from building
21225
# a shared archive.
21226
module_cmds=$lt_module_cmds
21227
module_expsym_cmds=$lt_module_expsym_cmds
21229
# Whether we are building with GNU ld or not.
21230
with_gnu_ld=$lt_with_gnu_ld
21232
# Flag that allows shared libraries with undefined symbols to be built.
21233
allow_undefined_flag=$lt_allow_undefined_flag
21235
# Flag that enforces no undefined symbols.
21236
no_undefined_flag=$lt_no_undefined_flag
21238
# Flag to hardcode \$libdir into a binary during linking.
21239
# This must work even if \$libdir does not exist
21240
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21242
# If ld is used when linking, flag to hardcode \$libdir into a binary
21243
# during linking. This must work even if \$libdir does not exist.
21244
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21246
# Whether we need a single "-rpath" flag with a separated argument.
21247
hardcode_libdir_separator=$lt_hardcode_libdir_separator
21249
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21250
# DIR into the resulting binary.
21251
hardcode_direct=$hardcode_direct
21253
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21254
# DIR into the resulting binary and the resulting library dependency is
21255
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21256
# library is relocated.
21257
hardcode_direct_absolute=$hardcode_direct_absolute
21259
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21260
# into the resulting binary.
21261
hardcode_minus_L=$hardcode_minus_L
21263
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21264
# into the resulting binary.
21265
hardcode_shlibpath_var=$hardcode_shlibpath_var
21267
# Set to "yes" if building a shared library automatically hardcodes DIR
21268
# into the library and all subsequent libraries and executables linked
21270
hardcode_automatic=$hardcode_automatic
21272
# Set to yes if linker adds runtime paths of dependent libraries
21273
# to runtime path list.
21274
inherit_rpath=$inherit_rpath
21276
# Whether libtool must link a program against all its dependency libraries.
21277
link_all_deplibs=$link_all_deplibs
21279
# Set to "yes" if exported symbols are required.
21280
always_export_symbols=$always_export_symbols
21282
# The commands to list exported symbols.
21283
export_symbols_cmds=$lt_export_symbols_cmds
21285
# Symbols that should not be listed in the preloaded symbols.
21286
exclude_expsyms=$lt_exclude_expsyms
21288
# Symbols that must always be exported.
21289
include_expsyms=$lt_include_expsyms
21291
# Commands necessary for linking programs (against libraries) with templates.
21292
prelink_cmds=$lt_prelink_cmds
21294
# Commands necessary for finishing linking programs.
21295
postlink_cmds=$lt_postlink_cmds
21297
# Specify filename containing input files.
21298
file_list_spec=$lt_file_list_spec
21300
# How to hardcode a shared library path into an executable.
21301
hardcode_action=$hardcode_action
21303
# The directories searched by this compiler when creating a shared library.
21304
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21306
# Dependencies to place before and after the objects being linked to
21307
# create a shared library.
21308
predep_objects=$lt_predep_objects
21309
postdep_objects=$lt_postdep_objects
21310
predeps=$lt_predeps
21311
postdeps=$lt_postdeps
21313
# The library search path used internally by the compiler when linking
21314
# a shared library.
21315
compiler_lib_search_path=$lt_compiler_lib_search_path
21317
# ### END LIBTOOL CONFIG
21323
cat <<\_LT_EOF >> "$cfgfile"
21324
# AIX sometimes has problems with the GCC collect2 program. For some
21325
# reason, if we set the COLLECT_NAMES environment variable, the problems
21326
# vanish in a puff of smoke.
21327
if test "X${COLLECT_NAMES+set}" != Xset; then
21329
export COLLECT_NAMES
21336
ltmain="$ac_aux_dir/ltmain.sh"
21339
# We use sed instead of cat because bash on DJGPP gets confused if
21340
# if finds mixed CR/LF and LF-only lines. Since sed operates in
21341
# text mode, it properly converts lines to CR/LF. This bash problem
21342
# is reportedly fixed, but why not run on old versions too?
21343
sed '$q' "$ltmain" >> "$cfgfile" \
21344
|| (rm -f "$cfgfile"; exit 1)
21346
if test x"$xsi_shell" = xyes; then
21347
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21351
\ */*) func_dirname_result="${1%/*}${2}" ;;\
21352
\ * ) func_dirname_result="${3}" ;;\
21354
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21355
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21356
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21357
test 0 -eq $? || _lt_function_replace_fail=:
21360
sed -e '/^func_basename ()$/,/^} # func_basename /c\
21363
\ func_basename_result="${1##*/}"\
21364
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21365
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21366
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21367
test 0 -eq $? || _lt_function_replace_fail=:
21370
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21371
func_dirname_and_basename ()\
21374
\ */*) func_dirname_result="${1%/*}${2}" ;;\
21375
\ * ) func_dirname_result="${3}" ;;\
21377
\ func_basename_result="${1##*/}"\
21378
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21379
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21380
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21381
test 0 -eq $? || _lt_function_replace_fail=:
21384
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21387
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21388
\ # positional parameters, so assign one to ordinary parameter first.\
21389
\ func_stripname_result=${3}\
21390
\ func_stripname_result=${func_stripname_result#"${1}"}\
21391
\ func_stripname_result=${func_stripname_result%"${2}"}\
21392
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21393
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21394
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21395
test 0 -eq $? || _lt_function_replace_fail=:
21398
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21399
func_split_long_opt ()\
21401
\ func_split_long_opt_name=${1%%=*}\
21402
\ func_split_long_opt_arg=${1#*=}\
21403
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21404
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21405
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21406
test 0 -eq $? || _lt_function_replace_fail=:
21409
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21410
func_split_short_opt ()\
21412
\ func_split_short_opt_arg=${1#??}\
21413
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21414
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21415
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21416
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21417
test 0 -eq $? || _lt_function_replace_fail=:
21420
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21424
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21425
\ *) func_lo2o_result=${1} ;;\
21427
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21428
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21429
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21430
test 0 -eq $? || _lt_function_replace_fail=:
21433
sed -e '/^func_xform ()$/,/^} # func_xform /c\
21436
func_xform_result=${1%.*}.lo\
21437
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21438
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21439
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21440
test 0 -eq $? || _lt_function_replace_fail=:
21443
sed -e '/^func_arith ()$/,/^} # func_arith /c\
21446
func_arith_result=$(( $* ))\
21447
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21448
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21449
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21450
test 0 -eq $? || _lt_function_replace_fail=:
21453
sed -e '/^func_len ()$/,/^} # func_len /c\
21456
func_len_result=${#1}\
21457
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21458
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21459
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21460
test 0 -eq $? || _lt_function_replace_fail=:
21464
if test x"$lt_shell_append" = xyes; then
21465
sed -e '/^func_append ()$/,/^} # func_append /c\
21468
eval "${1}+=\\${2}"\
21469
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21470
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21471
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21472
test 0 -eq $? || _lt_function_replace_fail=:
21475
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21476
func_append_quoted ()\
21478
\ func_quote_for_eval "${2}"\
21479
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21480
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21481
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21482
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21483
test 0 -eq $? || _lt_function_replace_fail=:
21486
# Save a `func_append' function call where possible by direct use of '+='
21487
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21488
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21489
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21490
test 0 -eq $? || _lt_function_replace_fail=:
21492
# Save a `func_append' function call even when '+=' is not available
21493
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21494
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21495
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21496
test 0 -eq $? || _lt_function_replace_fail=:
21499
if test x"$_lt_function_replace_fail" = x":"; then
21500
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21501
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21505
mv -f "$cfgfile" "$ofile" ||
21506
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21510
cat <<_LT_EOF >> "$ofile"
21512
# ### BEGIN LIBTOOL TAG CONFIG: CXX
21514
# The linker used to build libraries.
21517
# How to create reloadable object files.
21518
reload_flag=$lt_reload_flag_CXX
21519
reload_cmds=$lt_reload_cmds_CXX
21521
# Commands used to build an old-style archive.
21522
old_archive_cmds=$lt_old_archive_cmds_CXX
21524
# A language specific compiler.
21525
CC=$lt_compiler_CXX
21527
# Is the compiler the GNU compiler?
21530
# Compiler flag to turn off builtin functions.
21531
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21533
# Additional compiler flags for building library objects.
21534
pic_flag=$lt_lt_prog_compiler_pic_CXX
21536
# How to pass a linker flag through the compiler.
21537
wl=$lt_lt_prog_compiler_wl_CXX
21539
# Compiler flag to prevent dynamic linking.
21540
link_static_flag=$lt_lt_prog_compiler_static_CXX
21542
# Does compiler simultaneously support -c and -o options?
21543
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21545
# Whether or not to add -lc for building shared libraries.
21546
build_libtool_need_lc=$archive_cmds_need_lc_CXX
21548
# Whether or not to disallow shared libs when runtime libs are static.
21549
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21551
# Compiler flag to allow reflexive dlopens.
21552
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21554
# Compiler flag to generate shared objects directly from archives.
21555
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21557
# Whether the compiler copes with passing no objects directly.
21558
compiler_needs_object=$lt_compiler_needs_object_CXX
21560
# Create an old-style archive from a shared archive.
21561
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21563
# Create a temporary old-style archive to link instead of a shared archive.
21564
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21566
# Commands used to build a shared archive.
21567
archive_cmds=$lt_archive_cmds_CXX
21568
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21570
# Commands used to build a loadable module if different from building
21571
# a shared archive.
21572
module_cmds=$lt_module_cmds_CXX
21573
module_expsym_cmds=$lt_module_expsym_cmds_CXX
21575
# Whether we are building with GNU ld or not.
21576
with_gnu_ld=$lt_with_gnu_ld_CXX
21578
# Flag that allows shared libraries with undefined symbols to be built.
21579
allow_undefined_flag=$lt_allow_undefined_flag_CXX
21581
# Flag that enforces no undefined symbols.
21582
no_undefined_flag=$lt_no_undefined_flag_CXX
21584
# Flag to hardcode \$libdir into a binary during linking.
21585
# This must work even if \$libdir does not exist
21586
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21588
# If ld is used when linking, flag to hardcode \$libdir into a binary
21589
# during linking. This must work even if \$libdir does not exist.
21590
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
21592
# Whether we need a single "-rpath" flag with a separated argument.
21593
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21595
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21596
# DIR into the resulting binary.
21597
hardcode_direct=$hardcode_direct_CXX
21599
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21600
# DIR into the resulting binary and the resulting library dependency is
21601
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21602
# library is relocated.
21603
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21605
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21606
# into the resulting binary.
21607
hardcode_minus_L=$hardcode_minus_L_CXX
21609
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21610
# into the resulting binary.
21611
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21613
# Set to "yes" if building a shared library automatically hardcodes DIR
21614
# into the library and all subsequent libraries and executables linked
21616
hardcode_automatic=$hardcode_automatic_CXX
21618
# Set to yes if linker adds runtime paths of dependent libraries
21619
# to runtime path list.
21620
inherit_rpath=$inherit_rpath_CXX
21622
# Whether libtool must link a program against all its dependency libraries.
21623
link_all_deplibs=$link_all_deplibs_CXX
21625
# Set to "yes" if exported symbols are required.
21626
always_export_symbols=$always_export_symbols_CXX
21628
# The commands to list exported symbols.
21629
export_symbols_cmds=$lt_export_symbols_cmds_CXX
21631
# Symbols that should not be listed in the preloaded symbols.
21632
exclude_expsyms=$lt_exclude_expsyms_CXX
21634
# Symbols that must always be exported.
21635
include_expsyms=$lt_include_expsyms_CXX
21637
# Commands necessary for linking programs (against libraries) with templates.
21638
prelink_cmds=$lt_prelink_cmds_CXX
21640
# Commands necessary for finishing linking programs.
21641
postlink_cmds=$lt_postlink_cmds_CXX
21643
# Specify filename containing input files.
21644
file_list_spec=$lt_file_list_spec_CXX
21646
# How to hardcode a shared library path into an executable.
21647
hardcode_action=$hardcode_action_CXX
21649
# The directories searched by this compiler when creating a shared library.
21650
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21652
# Dependencies to place before and after the objects being linked to
21653
# create a shared library.
21654
predep_objects=$lt_predep_objects_CXX
21655
postdep_objects=$lt_postdep_objects_CXX
21656
predeps=$lt_predeps_CXX
21657
postdeps=$lt_postdeps_CXX
21659
# The library search path used internally by the compiler when linking
21660
# a shared library.
21661
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21663
# ### END LIBTOOL TAG CONFIG: CXX
21674
ac_clean_files=$ac_clean_files_save
21676
test $ac_write_fail = 0 ||
21677
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21680
# configure is writing to config.log, and then calls config.status.
21681
# config.status does its own redirection, appending to config.log.
21682
# Unfortunately, on DOS this fails, as config.log is still kept open
21683
# by configure, so config.status won't be able to write to it; its
21684
# output is simply discarded. So we exec the FD to /dev/null,
21685
# effectively closing config.log, so it can be properly (re)opened and
21686
# appended to by config.status. When coming back to configure, we
21687
# need to make the FD available again.
21688
if test "$no_create" != yes; then
21690
ac_config_status_args=
21691
test "$silent" = yes &&
21692
ac_config_status_args="$ac_config_status_args --quiet"
21694
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21696
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
21697
# would make configure fail if this is the last instruction.
21698
$ac_cs_success || as_fn_exit 1
21700
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21701
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21702
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21708
subdirs="$subdirs libs/pjproject"
21710
{ $as_echo "$as_me:${as_lineno-$LINENO}: Configuration done! Please make sure that pjsip library (libs/pjproject) has already been compiled. Run \`make' to build the software." >&5
21711
$as_echo "$as_me: Configuration done! Please make sure that pjsip library (libs/pjproject) has already been compiled. Run \`make' to build the software." >&6;}