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.1.0.
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, 2012
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.1.0'
577
PACKAGE_STRING='sflphone 1.1.0'
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
740
INSTALL_STRIP_PROGRAM
782
program_transform_name
795
enable_option_checking
797
enable_dependency_tracking
816
ac_precious_vars='build_alias
854
ac_subdirs_all='libs/pjproject'
856
# Initialize some variables set by options.
858
ac_init_version=false
859
ac_unrecognized_opts=
861
# The variables have the same names as the options, with
862
# dashes changed to underlines.
870
program_transform_name=s,x,x,
878
# Installation directory options.
879
# These are left unexpanded so users can "make install exec_prefix=/foo"
880
# and all the variables that are supposed to be based on exec_prefix
881
# by default will actually change.
882
# Use braces instead of parens because sh, perl, etc. also accept them.
883
# (The list follows the same order as the GNU Coding Standards.)
884
bindir='${exec_prefix}/bin'
885
sbindir='${exec_prefix}/sbin'
886
libexecdir='${exec_prefix}/libexec'
887
datarootdir='${prefix}/share'
888
datadir='${datarootdir}'
889
sysconfdir='${prefix}/etc'
890
sharedstatedir='${prefix}/com'
891
localstatedir='${prefix}/var'
892
includedir='${prefix}/include'
893
oldincludedir='/usr/include'
894
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
895
infodir='${datarootdir}/info'
900
libdir='${exec_prefix}/lib'
901
localedir='${datarootdir}/locale'
902
mandir='${datarootdir}/man'
908
# If the previous option needs an argument, assign it.
909
if test -n "$ac_prev"; then
910
eval $ac_prev=\$ac_option
916
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
921
# Accept the important Cygnus configure options, so we can diagnose typos.
923
case $ac_dashdash$ac_option in
927
-bindir | --bindir | --bindi | --bind | --bin | --bi)
929
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
932
-build | --build | --buil | --bui | --bu)
933
ac_prev=build_alias ;;
934
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
935
build_alias=$ac_optarg ;;
937
-cache-file | --cache-file | --cache-fil | --cache-fi \
938
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
939
ac_prev=cache_file ;;
940
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
941
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
942
cache_file=$ac_optarg ;;
945
cache_file=config.cache ;;
947
-datadir | --datadir | --datadi | --datad)
949
-datadir=* | --datadir=* | --datadi=* | --datad=*)
950
datadir=$ac_optarg ;;
952
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
953
| --dataroo | --dataro | --datar)
954
ac_prev=datarootdir ;;
955
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
956
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
957
datarootdir=$ac_optarg ;;
959
-disable-* | --disable-*)
960
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
961
# Reject names that are not valid shell variable names.
962
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
963
as_fn_error $? "invalid feature name: $ac_useropt"
964
ac_useropt_orig=$ac_useropt
965
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
966
case $ac_user_opts in
970
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
971
ac_unrecognized_sep=', ';;
973
eval enable_$ac_useropt=no ;;
975
-docdir | --docdir | --docdi | --doc | --do)
977
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
980
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
982
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
985
-enable-* | --enable-*)
986
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
987
# Reject names that are not valid shell variable names.
988
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
989
as_fn_error $? "invalid feature name: $ac_useropt"
990
ac_useropt_orig=$ac_useropt
991
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992
case $ac_user_opts in
996
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
997
ac_unrecognized_sep=', ';;
999
eval enable_$ac_useropt=\$ac_optarg ;;
1001
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1002
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1003
| --exec | --exe | --ex)
1004
ac_prev=exec_prefix ;;
1005
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1006
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1007
| --exec=* | --exe=* | --ex=*)
1008
exec_prefix=$ac_optarg ;;
1010
-gas | --gas | --ga | --g)
1011
# Obsolete; use --with-gas.
1014
-help | --help | --hel | --he | -h)
1015
ac_init_help=long ;;
1016
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1017
ac_init_help=recursive ;;
1018
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1019
ac_init_help=short ;;
1021
-host | --host | --hos | --ho)
1022
ac_prev=host_alias ;;
1023
-host=* | --host=* | --hos=* | --ho=*)
1024
host_alias=$ac_optarg ;;
1026
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1028
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1030
htmldir=$ac_optarg ;;
1032
-includedir | --includedir | --includedi | --included | --include \
1033
| --includ | --inclu | --incl | --inc)
1034
ac_prev=includedir ;;
1035
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1036
| --includ=* | --inclu=* | --incl=* | --inc=*)
1037
includedir=$ac_optarg ;;
1039
-infodir | --infodir | --infodi | --infod | --info | --inf)
1041
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1042
infodir=$ac_optarg ;;
1044
-libdir | --libdir | --libdi | --libd)
1046
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1047
libdir=$ac_optarg ;;
1049
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1050
| --libexe | --libex | --libe)
1051
ac_prev=libexecdir ;;
1052
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1053
| --libexe=* | --libex=* | --libe=*)
1054
libexecdir=$ac_optarg ;;
1056
-localedir | --localedir | --localedi | --localed | --locale)
1057
ac_prev=localedir ;;
1058
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1059
localedir=$ac_optarg ;;
1061
-localstatedir | --localstatedir | --localstatedi | --localstated \
1062
| --localstate | --localstat | --localsta | --localst | --locals)
1063
ac_prev=localstatedir ;;
1064
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1065
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1066
localstatedir=$ac_optarg ;;
1068
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1070
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1071
mandir=$ac_optarg ;;
1073
-nfp | --nfp | --nf)
1074
# Obsolete; use --without-fp.
1077
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1078
| --no-cr | --no-c | -n)
1081
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1082
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1085
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1086
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1087
| --oldin | --oldi | --old | --ol | --o)
1088
ac_prev=oldincludedir ;;
1089
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1090
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1091
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1092
oldincludedir=$ac_optarg ;;
1094
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1096
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1097
prefix=$ac_optarg ;;
1099
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1100
| --program-pre | --program-pr | --program-p)
1101
ac_prev=program_prefix ;;
1102
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1103
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1104
program_prefix=$ac_optarg ;;
1106
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1107
| --program-suf | --program-su | --program-s)
1108
ac_prev=program_suffix ;;
1109
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1110
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1111
program_suffix=$ac_optarg ;;
1113
-program-transform-name | --program-transform-name \
1114
| --program-transform-nam | --program-transform-na \
1115
| --program-transform-n | --program-transform- \
1116
| --program-transform | --program-transfor \
1117
| --program-transfo | --program-transf \
1118
| --program-trans | --program-tran \
1119
| --progr-tra | --program-tr | --program-t)
1120
ac_prev=program_transform_name ;;
1121
-program-transform-name=* | --program-transform-name=* \
1122
| --program-transform-nam=* | --program-transform-na=* \
1123
| --program-transform-n=* | --program-transform-=* \
1124
| --program-transform=* | --program-transfor=* \
1125
| --program-transfo=* | --program-transf=* \
1126
| --program-trans=* | --program-tran=* \
1127
| --progr-tra=* | --program-tr=* | --program-t=*)
1128
program_transform_name=$ac_optarg ;;
1130
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1132
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1133
pdfdir=$ac_optarg ;;
1135
-psdir | --psdir | --psdi | --psd | --ps)
1137
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1140
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1141
| -silent | --silent | --silen | --sile | --sil)
1144
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1146
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1148
sbindir=$ac_optarg ;;
1150
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1151
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1152
| --sharedst | --shareds | --shared | --share | --shar \
1154
ac_prev=sharedstatedir ;;
1155
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1156
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1157
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1159
sharedstatedir=$ac_optarg ;;
1161
-site | --site | --sit)
1163
-site=* | --site=* | --sit=*)
1166
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1168
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1169
srcdir=$ac_optarg ;;
1171
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1172
| --syscon | --sysco | --sysc | --sys | --sy)
1173
ac_prev=sysconfdir ;;
1174
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1175
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1176
sysconfdir=$ac_optarg ;;
1178
-target | --target | --targe | --targ | --tar | --ta | --t)
1179
ac_prev=target_alias ;;
1180
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1181
target_alias=$ac_optarg ;;
1183
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1186
-version | --version | --versio | --versi | --vers | -V)
1187
ac_init_version=: ;;
1190
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1191
# Reject names that are not valid shell variable names.
1192
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1193
as_fn_error $? "invalid package name: $ac_useropt"
1194
ac_useropt_orig=$ac_useropt
1195
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1196
case $ac_user_opts in
1200
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1201
ac_unrecognized_sep=', ';;
1203
eval with_$ac_useropt=\$ac_optarg ;;
1205
-without-* | --without-*)
1206
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1207
# Reject names that are not valid shell variable names.
1208
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1209
as_fn_error $? "invalid package name: $ac_useropt"
1210
ac_useropt_orig=$ac_useropt
1211
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1212
case $ac_user_opts in
1216
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1217
ac_unrecognized_sep=', ';;
1219
eval with_$ac_useropt=no ;;
1222
# Obsolete; use --with-x.
1225
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1226
| --x-incl | --x-inc | --x-in | --x-i)
1227
ac_prev=x_includes ;;
1228
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1229
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1230
x_includes=$ac_optarg ;;
1232
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1233
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1234
ac_prev=x_libraries ;;
1235
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1236
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1237
x_libraries=$ac_optarg ;;
1239
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1240
Try \`$0 --help' for more information"
1244
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1245
# Reject names that are not valid shell variable names.
1246
case $ac_envvar in #(
1247
'' | [0-9]* | *[!_$as_cr_alnum]* )
1248
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1250
eval $ac_envvar=\$ac_optarg
1251
export $ac_envvar ;;
1254
# FIXME: should be removed in autoconf 3.0.
1255
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1256
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1257
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1258
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1264
if test -n "$ac_prev"; then
1265
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1266
as_fn_error $? "missing argument to $ac_option"
1269
if test -n "$ac_unrecognized_opts"; then
1270
case $enable_option_checking in
1272
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1273
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1277
# Check all directory arguments for consistency.
1278
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1279
datadir sysconfdir sharedstatedir localstatedir includedir \
1280
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1281
libdir localedir mandir
1283
eval ac_val=\$$ac_var
1284
# Remove trailing slashes.
1287
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1288
eval $ac_var=\$ac_val;;
1290
# Be sure to have absolute directory names.
1292
[\\/$]* | ?:[\\/]* ) continue;;
1293
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1295
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1298
# There might be people who depend on the old broken behavior: `$host'
1299
# used to hold the argument of --host etc.
1300
# FIXME: To remove some day.
1303
target=$target_alias
1305
# FIXME: To remove some day.
1306
if test "x$host_alias" != x; then
1307
if test "x$build_alias" = x; then
1308
cross_compiling=maybe
1309
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1310
If a cross compiler is detected then cross compile mode will be used" >&2
1311
elif test "x$build_alias" != "x$host_alias"; then
1317
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1319
test "$silent" = yes && exec 6>/dev/null
1322
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1323
ac_ls_di=`ls -di .` &&
1324
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1325
as_fn_error $? "working directory cannot be determined"
1326
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1327
as_fn_error $? "pwd does not report name of working directory"
1330
# Find the source files, if location was not specified.
1331
if test -z "$srcdir"; then
1332
ac_srcdir_defaulted=yes
1333
# Try the directory containing this script, then the parent directory.
1334
ac_confdir=`$as_dirname -- "$as_myself" ||
1335
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1336
X"$as_myself" : 'X\(//\)[^/]' \| \
1337
X"$as_myself" : 'X\(//\)$' \| \
1338
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1339
$as_echo X"$as_myself" |
1340
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1358
if test ! -r "$srcdir/$ac_unique_file"; then
1362
ac_srcdir_defaulted=no
1364
if test ! -r "$srcdir/$ac_unique_file"; then
1365
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1366
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1368
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1370
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1372
# When building in place, set srcdir=.
1373
if test "$ac_abs_confdir" = "$ac_pwd"; then
1376
# Remove unnecessary trailing slashes from srcdir.
1377
# Double slashes in file names in object file debugging info
1378
# mess up M-x gdb in Emacs.
1380
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1382
for ac_var in $ac_precious_vars; do
1383
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1384
eval ac_env_${ac_var}_value=\$${ac_var}
1385
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1386
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1390
# Report the --help message.
1392
if test "$ac_init_help" = "long"; then
1393
# Omit some internal or obsolete options to make the list less imposing.
1394
# This message is too long to be a string in the A/UX 3.1 sh.
1396
\`configure' configures sflphone 1.1.0 to adapt to many kinds of systems.
1398
Usage: $0 [OPTION]... [VAR=VALUE]...
1400
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1401
VAR=VALUE. See below for descriptions of some of the useful variables.
1403
Defaults for the options are specified in brackets.
1406
-h, --help display this help and exit
1407
--help=short display options specific to this package
1408
--help=recursive display the short help of all the included packages
1409
-V, --version display version information and exit
1410
-q, --quiet, --silent do not print \`checking ...' messages
1411
--cache-file=FILE cache test results in FILE [disabled]
1412
-C, --config-cache alias for \`--cache-file=config.cache'
1413
-n, --no-create do not create output files
1414
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1416
Installation directories:
1417
--prefix=PREFIX install architecture-independent files in PREFIX
1418
[$ac_default_prefix]
1419
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1422
By default, \`make install' will install all the files in
1423
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1424
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1425
for instance \`--prefix=\$HOME'.
1427
For better control, use the options below.
1429
Fine tuning of the installation directories:
1430
--bindir=DIR user executables [EPREFIX/bin]
1431
--sbindir=DIR system admin executables [EPREFIX/sbin]
1432
--libexecdir=DIR program executables [EPREFIX/libexec]
1433
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1434
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1435
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1436
--libdir=DIR object code libraries [EPREFIX/lib]
1437
--includedir=DIR C header files [PREFIX/include]
1438
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1439
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1440
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1441
--infodir=DIR info documentation [DATAROOTDIR/info]
1442
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1443
--mandir=DIR man documentation [DATAROOTDIR/man]
1444
--docdir=DIR documentation root [DATAROOTDIR/doc/sflphone]
1445
--htmldir=DIR html documentation [DOCDIR]
1446
--dvidir=DIR dvi documentation [DOCDIR]
1447
--pdfdir=DIR pdf documentation [DOCDIR]
1448
--psdir=DIR ps documentation [DOCDIR]
1454
--program-prefix=PREFIX prepend PREFIX to installed program names
1455
--program-suffix=SUFFIX append SUFFIX to installed program names
1456
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1459
--build=BUILD configure for building on BUILD [guessed]
1460
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1464
if test -n "$ac_init_help"; then
1465
case $ac_init_help in
1466
short | recursive ) echo "Configuration of sflphone 1.1.0:";;
1471
--disable-option-checking ignore unrecognized --enable/--with options
1472
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1473
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1474
--enable-silent-rules less verbose build output (undo: `make V=1')
1475
--disable-silent-rules verbose build output (undo: `make V=0')
1476
--disable-dependency-tracking speeds up one-time build
1477
--enable-dependency-tracking do not reject slow dependency extractors
1478
--enable-shared[=PKGS] build shared libraries [default=yes]
1479
--enable-static[=PKGS] build static libraries [default=yes]
1480
--enable-fast-install[=PKGS]
1481
optimize for fast installation [default=yes]
1482
--disable-libtool-lock avoid locking (might break parallel builds)
1483
--enable-doxygen enable documentation generation with doxygen (disabled by default)
1484
--enable-dot use 'dot' to generate graphs in doxygen (auto)
1487
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1488
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1489
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1491
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1492
--with-sysroot=DIR Search for dependent libraries within DIR
1493
(or the compiler's sysroot if not specified).
1494
--with-expat=[ARG] use Expat XML Parser from given prefix (ARG=path);
1495
check standard prefixes (ARG=yes); disable (ARG=no)
1496
--with-expat-inc=[DIR] path to Expat XML Parser headers
1497
--with-expat-lib=[ARG] link options for Expat XML Parser libraries
1498
--with-pcre[=prefix] compile xmlpcre part (via libpcre check)
1499
--without-gsm disable support for gsm codec
1500
--without-speex disable support for speex codec
1501
--without-iax2 disable support for the iax2 protocol
1502
--without-networkmanager
1503
disable support for network-manager events
1505
Some influential environment variables:
1506
CC C compiler command
1507
CFLAGS C compiler flags
1508
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1509
nonstandard directory <lib dir>
1510
LIBS libraries to pass to the linker, e.g. -l<library>
1511
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1512
you have headers in a nonstandard directory <include dir>
1513
CXX C++ compiler command
1514
CXXFLAGS C++ compiler flags
1516
CXXCPP C++ preprocessor
1517
PKG_CONFIG path to pkg-config utility
1519
directories to add to pkg-config's search path
1521
path overriding pkg-config's built-in search path
1522
UUID_CFLAGS C compiler flags for UUID, overriding pkg-config
1523
UUID_LIBS linker flags for UUID, overriding pkg-config
1525
C compiler flags for LIBCRYPTO, overriding pkg-config
1527
linker flags for LIBCRYPTO, overriding pkg-config
1528
ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
1529
ALSA_LIBS linker flags for ALSA, overriding pkg-config
1531
C compiler flags for PULSEAUDIO, overriding pkg-config
1533
linker flags for PULSEAUDIO, overriding pkg-config
1535
C compiler flags for SAMPLERATE, overriding pkg-config
1537
linker flags for SAMPLERATE, overriding pkg-config
1539
C compiler flags for CCGNU2, overriding pkg-config
1540
CCGNU2_LIBS linker flags for CCGNU2, overriding pkg-config
1542
C compiler flags for CCRTP, overriding pkg-config
1543
CCRTP_LIBS linker flags for CCRTP, overriding pkg-config
1545
C compiler flags for libssl, overriding pkg-config
1546
libssl_LIBS linker flags for libssl, overriding pkg-config
1548
C compiler flags for ZRTPCPP, overriding pkg-config
1550
linker flags for ZRTPCPP, overriding pkg-config
1552
C compiler flags for DBUSCPP, overriding pkg-config
1554
linker flags for DBUSCPP, overriding pkg-config
1556
C compiler flags for CPPUNIT, overriding pkg-config
1558
linker flags for CPPUNIT, overriding pkg-config
1560
Use these variables to override the choices made by `configure' or to help
1561
it to find libraries and programs with nonstandard names/locations.
1563
Report bugs to <sflphoneteam@savoirfairelinux.com>.
1568
if test "$ac_init_help" = "recursive"; then
1569
# If there are subdirs, report their specific --help.
1570
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1571
test -d "$ac_dir" ||
1572
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1577
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1579
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1580
# A ".." for each directory in $ac_dir_suffix.
1581
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1582
case $ac_top_builddir_sub in
1583
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1584
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1587
ac_abs_top_builddir=$ac_pwd
1588
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1589
# for backward compatibility:
1590
ac_top_builddir=$ac_top_build_prefix
1593
.) # We are building in place.
1595
ac_top_srcdir=$ac_top_builddir_sub
1596
ac_abs_top_srcdir=$ac_pwd ;;
1597
[\\/]* | ?:[\\/]* ) # Absolute name.
1598
ac_srcdir=$srcdir$ac_dir_suffix;
1599
ac_top_srcdir=$srcdir
1600
ac_abs_top_srcdir=$srcdir ;;
1602
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1603
ac_top_srcdir=$ac_top_build_prefix$srcdir
1604
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1606
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1608
cd "$ac_dir" || { ac_status=$?; continue; }
1609
# Check for guested configure.
1610
if test -f "$ac_srcdir/configure.gnu"; then
1612
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1613
elif test -f "$ac_srcdir/configure"; then
1615
$SHELL "$ac_srcdir/configure" --help=recursive
1617
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1619
cd "$ac_pwd" || { ac_status=$?; break; }
1623
test -n "$ac_init_help" && exit $ac_status
1624
if $ac_init_version; then
1626
sflphone configure 1.1.0
1627
generated by GNU Autoconf 2.68
1629
Copyright (C) 2010 Free Software Foundation, Inc.
1630
This configure script is free software; the Free Software Foundation
1631
gives unlimited permission to copy, distribute and modify it.
1633
Copyright (c) Savoir-Faire Linux 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
1638
## ------------------------ ##
1639
## Autoconf initialization. ##
1640
## ------------------------ ##
1642
# ac_fn_c_try_compile LINENO
1643
# --------------------------
1644
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1645
ac_fn_c_try_compile ()
1647
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1648
rm -f conftest.$ac_objext
1649
if { { ac_try="$ac_compile"
1651
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1652
*) ac_try_echo=$ac_try;;
1654
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655
$as_echo "$ac_try_echo"; } >&5
1656
(eval "$ac_compile") 2>conftest.err
1658
if test -s conftest.err; then
1659
grep -v '^ *+' conftest.err >conftest.er1
1660
cat conftest.er1 >&5
1661
mv -f conftest.er1 conftest.err
1663
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664
test $ac_status = 0; } && {
1665
test -z "$ac_c_werror_flag" ||
1666
test ! -s conftest.err
1667
} && test -s conftest.$ac_objext; then :
1670
$as_echo "$as_me: failed program was:" >&5
1671
sed 's/^/| /' conftest.$ac_ext >&5
1675
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1676
as_fn_set_status $ac_retval
1678
} # ac_fn_c_try_compile
1680
# ac_fn_cxx_try_compile LINENO
1681
# ----------------------------
1682
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1683
ac_fn_cxx_try_compile ()
1685
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686
rm -f conftest.$ac_objext
1687
if { { ac_try="$ac_compile"
1689
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1690
*) ac_try_echo=$ac_try;;
1692
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693
$as_echo "$ac_try_echo"; } >&5
1694
(eval "$ac_compile") 2>conftest.err
1696
if test -s conftest.err; then
1697
grep -v '^ *+' conftest.err >conftest.er1
1698
cat conftest.er1 >&5
1699
mv -f conftest.er1 conftest.err
1701
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702
test $ac_status = 0; } && {
1703
test -z "$ac_cxx_werror_flag" ||
1704
test ! -s conftest.err
1705
} && test -s conftest.$ac_objext; then :
1708
$as_echo "$as_me: failed program was:" >&5
1709
sed 's/^/| /' conftest.$ac_ext >&5
1713
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1714
as_fn_set_status $ac_retval
1716
} # ac_fn_cxx_try_compile
1718
# ac_fn_c_try_cpp LINENO
1719
# ----------------------
1720
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1723
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1724
if { { ac_try="$ac_cpp conftest.$ac_ext"
1726
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1727
*) ac_try_echo=$ac_try;;
1729
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1730
$as_echo "$ac_try_echo"; } >&5
1731
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1733
if test -s conftest.err; then
1734
grep -v '^ *+' conftest.err >conftest.er1
1735
cat conftest.er1 >&5
1736
mv -f conftest.er1 conftest.err
1738
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739
test $ac_status = 0; } > conftest.i && {
1740
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1741
test ! -s conftest.err
1745
$as_echo "$as_me: failed program was:" >&5
1746
sed 's/^/| /' conftest.$ac_ext >&5
1750
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751
as_fn_set_status $ac_retval
1755
# ac_fn_c_try_link LINENO
1756
# -----------------------
1757
# Try to link conftest.$ac_ext, and return whether this succeeded.
1760
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761
rm -f conftest.$ac_objext conftest$ac_exeext
1762
if { { ac_try="$ac_link"
1764
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765
*) ac_try_echo=$ac_try;;
1767
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768
$as_echo "$ac_try_echo"; } >&5
1769
(eval "$ac_link") 2>conftest.err
1771
if test -s conftest.err; then
1772
grep -v '^ *+' conftest.err >conftest.er1
1773
cat conftest.er1 >&5
1774
mv -f conftest.er1 conftest.err
1776
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1777
test $ac_status = 0; } && {
1778
test -z "$ac_c_werror_flag" ||
1779
test ! -s conftest.err
1780
} && test -s conftest$ac_exeext && {
1781
test "$cross_compiling" = yes ||
1782
$as_test_x conftest$ac_exeext
1786
$as_echo "$as_me: failed program was:" >&5
1787
sed 's/^/| /' conftest.$ac_ext >&5
1791
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1792
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1793
# interfere with the next link command; also delete a directory that is
1794
# left behind by Apple's compiler. We do this before executing the actions.
1795
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1796
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1797
as_fn_set_status $ac_retval
1799
} # ac_fn_c_try_link
1801
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1802
# -------------------------------------------------------
1803
# Tests whether HEADER exists and can be compiled using the include files in
1804
# INCLUDES, setting the cache variable VAR accordingly.
1805
ac_fn_c_check_header_compile ()
1807
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1809
$as_echo_n "checking for $2... " >&6; }
1810
if eval \${$3+:} false; then :
1811
$as_echo_n "(cached) " >&6
1813
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814
/* end confdefs.h. */
1818
if ac_fn_c_try_compile "$LINENO"; then :
1823
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1827
$as_echo "$ac_res" >&6; }
1828
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1830
} # ac_fn_c_check_header_compile
1832
# ac_fn_c_try_run LINENO
1833
# ----------------------
1834
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1835
# that executables *can* be run.
1838
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1839
if { { ac_try="$ac_link"
1841
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1842
*) ac_try_echo=$ac_try;;
1844
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1845
$as_echo "$ac_try_echo"; } >&5
1846
(eval "$ac_link") 2>&5
1848
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1850
{ { case "(($ac_try" in
1851
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1852
*) ac_try_echo=$ac_try;;
1854
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1855
$as_echo "$ac_try_echo"; } >&5
1856
(eval "$ac_try") 2>&5
1858
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1859
test $ac_status = 0; }; }; then :
1862
$as_echo "$as_me: program exited with status $ac_status" >&5
1863
$as_echo "$as_me: failed program was:" >&5
1864
sed 's/^/| /' conftest.$ac_ext >&5
1866
ac_retval=$ac_status
1868
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1869
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1870
as_fn_set_status $ac_retval
1874
# ac_fn_c_check_func LINENO FUNC VAR
1875
# ----------------------------------
1876
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1877
ac_fn_c_check_func ()
1879
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881
$as_echo_n "checking for $2... " >&6; }
1882
if eval \${$3+:} false; then :
1883
$as_echo_n "(cached) " >&6
1885
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886
/* end confdefs.h. */
1887
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1888
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1889
#define $2 innocuous_$2
1891
/* System header to define __stub macros and hopefully few prototypes,
1892
which can conflict with char $2 (); below.
1893
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1894
<limits.h> exists even on freestanding compilers. */
1897
# include <limits.h>
1899
# include <assert.h>
1904
/* Override any GCC internal prototype to avoid an error.
1905
Use char because int might match the return type of a GCC
1906
builtin and then its argument prototype would still apply. */
1911
/* The GNU C library defines this for functions which it implements
1912
to always fail with ENOSYS. Some functions are actually named
1913
something starting with __ and the normal name is an alias. */
1914
#if defined __stub_$2 || defined __stub___$2
1926
if ac_fn_c_try_link "$LINENO"; then :
1931
rm -f core conftest.err conftest.$ac_objext \
1932
conftest$ac_exeext conftest.$ac_ext
1935
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1936
$as_echo "$ac_res" >&6; }
1937
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939
} # ac_fn_c_check_func
1941
# ac_fn_cxx_try_cpp LINENO
1942
# ------------------------
1943
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1944
ac_fn_cxx_try_cpp ()
1946
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1947
if { { ac_try="$ac_cpp conftest.$ac_ext"
1949
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1950
*) ac_try_echo=$ac_try;;
1952
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1953
$as_echo "$ac_try_echo"; } >&5
1954
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1956
if test -s conftest.err; then
1957
grep -v '^ *+' conftest.err >conftest.er1
1958
cat conftest.er1 >&5
1959
mv -f conftest.er1 conftest.err
1961
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1962
test $ac_status = 0; } > conftest.i && {
1963
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1964
test ! -s conftest.err
1968
$as_echo "$as_me: failed program was:" >&5
1969
sed 's/^/| /' conftest.$ac_ext >&5
1973
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1974
as_fn_set_status $ac_retval
1976
} # ac_fn_cxx_try_cpp
1978
# ac_fn_cxx_try_link LINENO
1979
# -------------------------
1980
# Try to link conftest.$ac_ext, and return whether this succeeded.
1981
ac_fn_cxx_try_link ()
1983
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1984
rm -f conftest.$ac_objext conftest$ac_exeext
1985
if { { ac_try="$ac_link"
1987
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1988
*) ac_try_echo=$ac_try;;
1990
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1991
$as_echo "$ac_try_echo"; } >&5
1992
(eval "$ac_link") 2>conftest.err
1994
if test -s conftest.err; then
1995
grep -v '^ *+' conftest.err >conftest.er1
1996
cat conftest.er1 >&5
1997
mv -f conftest.er1 conftest.err
1999
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2000
test $ac_status = 0; } && {
2001
test -z "$ac_cxx_werror_flag" ||
2002
test ! -s conftest.err
2003
} && test -s conftest$ac_exeext && {
2004
test "$cross_compiling" = yes ||
2005
$as_test_x conftest$ac_exeext
2009
$as_echo "$as_me: failed program was:" >&5
2010
sed 's/^/| /' conftest.$ac_ext >&5
2014
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2015
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2016
# interfere with the next link command; also delete a directory that is
2017
# left behind by Apple's compiler. We do this before executing the actions.
2018
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2019
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2020
as_fn_set_status $ac_retval
2022
} # ac_fn_cxx_try_link
2024
# ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2025
# ---------------------------------------------
2026
# Tests whether TYPE exists after having included INCLUDES, setting cache
2027
# variable VAR accordingly.
2028
ac_fn_cxx_check_type ()
2030
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2032
$as_echo_n "checking for $2... " >&6; }
2033
if eval \${$3+:} false; then :
2034
$as_echo_n "(cached) " >&6
2037
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038
/* end confdefs.h. */
2049
if ac_fn_cxx_try_compile "$LINENO"; then :
2050
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2051
/* end confdefs.h. */
2062
if ac_fn_cxx_try_compile "$LINENO"; then :
2067
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2069
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2073
$as_echo "$ac_res" >&6; }
2074
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2076
} # ac_fn_cxx_check_type
2078
# ac_fn_cxx_check_func LINENO FUNC VAR
2079
# ------------------------------------
2080
# Tests whether FUNC exists, setting the cache variable VAR accordingly
2081
ac_fn_cxx_check_func ()
2083
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2085
$as_echo_n "checking for $2... " >&6; }
2086
if eval \${$3+:} false; then :
2087
$as_echo_n "(cached) " >&6
2089
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2090
/* end confdefs.h. */
2091
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2092
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2093
#define $2 innocuous_$2
2095
/* System header to define __stub macros and hopefully few prototypes,
2096
which can conflict with char $2 (); below.
2097
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2098
<limits.h> exists even on freestanding compilers. */
2101
# include <limits.h>
2103
# include <assert.h>
2108
/* Override any GCC internal prototype to avoid an error.
2109
Use char because int might match the return type of a GCC
2110
builtin and then its argument prototype would still apply. */
2115
/* The GNU C library defines this for functions which it implements
2116
to always fail with ENOSYS. Some functions are actually named
2117
something starting with __ and the normal name is an alias. */
2118
#if defined __stub_$2 || defined __stub___$2
2130
if ac_fn_cxx_try_link "$LINENO"; then :
2135
rm -f core conftest.err conftest.$ac_objext \
2136
conftest$ac_exeext conftest.$ac_ext
2139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2140
$as_echo "$ac_res" >&6; }
2141
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2143
} # ac_fn_cxx_check_func
2145
# ac_fn_cxx_try_run LINENO
2146
# ------------------------
2147
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2148
# that executables *can* be run.
2149
ac_fn_cxx_try_run ()
2151
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2152
if { { ac_try="$ac_link"
2154
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2155
*) ac_try_echo=$ac_try;;
2157
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2158
$as_echo "$ac_try_echo"; } >&5
2159
(eval "$ac_link") 2>&5
2161
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2162
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2163
{ { case "(($ac_try" in
2164
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2165
*) ac_try_echo=$ac_try;;
2167
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2168
$as_echo "$ac_try_echo"; } >&5
2169
(eval "$ac_try") 2>&5
2171
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2172
test $ac_status = 0; }; }; then :
2175
$as_echo "$as_me: program exited with status $ac_status" >&5
2176
$as_echo "$as_me: failed program was:" >&5
2177
sed 's/^/| /' conftest.$ac_ext >&5
2179
ac_retval=$ac_status
2181
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2182
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2183
as_fn_set_status $ac_retval
2185
} # ac_fn_cxx_try_run
2187
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2188
# ---------------------------------------------------------
2189
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2190
# the include files in INCLUDES and setting the cache variable VAR
2192
ac_fn_cxx_check_header_mongrel ()
2194
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2195
if eval \${$3+:} false; then :
2196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2197
$as_echo_n "checking for $2... " >&6; }
2198
if eval \${$3+:} false; then :
2199
$as_echo_n "(cached) " >&6
2202
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2203
$as_echo "$ac_res" >&6; }
2205
# Is the header compilable?
2206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2207
$as_echo_n "checking $2 usability... " >&6; }
2208
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209
/* end confdefs.h. */
2213
if ac_fn_cxx_try_compile "$LINENO"; then :
2214
ac_header_compiler=yes
2216
ac_header_compiler=no
2218
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2220
$as_echo "$ac_header_compiler" >&6; }
2222
# Is the header present?
2223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2224
$as_echo_n "checking $2 presence... " >&6; }
2225
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2226
/* end confdefs.h. */
2229
if ac_fn_cxx_try_cpp "$LINENO"; then :
2230
ac_header_preproc=yes
2232
ac_header_preproc=no
2234
rm -f conftest.err conftest.i conftest.$ac_ext
2235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2236
$as_echo "$ac_header_preproc" >&6; }
2238
# So? What about this header?
2239
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2241
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2242
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2243
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2244
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2247
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2248
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2249
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2250
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2251
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2252
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2253
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2254
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2255
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2256
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2257
( $as_echo "## ------------------------------------------------ ##
2258
## Report this to sflphoneteam@savoirfairelinux.com ##
2259
## ------------------------------------------------ ##"
2260
) | sed "s/^/$as_me: WARNING: /" >&2
2263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2264
$as_echo_n "checking for $2... " >&6; }
2265
if eval \${$3+:} false; then :
2266
$as_echo_n "(cached) " >&6
2268
eval "$3=\$ac_header_compiler"
2271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2272
$as_echo "$ac_res" >&6; }
2274
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2276
} # ac_fn_cxx_check_header_mongrel
2278
# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
2279
# ---------------------------------------------------------
2280
# Tests whether HEADER exists and can be compiled using the include files in
2281
# INCLUDES, setting the cache variable VAR accordingly.
2282
ac_fn_cxx_check_header_compile ()
2284
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2286
$as_echo_n "checking for $2... " >&6; }
2287
if eval \${$3+:} false; then :
2288
$as_echo_n "(cached) " >&6
2290
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2291
/* end confdefs.h. */
2295
if ac_fn_cxx_try_compile "$LINENO"; then :
2300
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2304
$as_echo "$ac_res" >&6; }
2305
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2307
} # ac_fn_cxx_check_header_compile
2308
cat >config.log <<_ACEOF
2309
This file contains any messages produced by compilers while
2310
running configure, to aid debugging if configure makes a mistake.
2312
It was created by sflphone $as_me 1.1.0, which was
2313
generated by GNU Autoconf 2.68. Invocation command line was
2325
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2326
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2327
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2328
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2329
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2331
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2332
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2334
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2335
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2336
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2337
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2338
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2339
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2340
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2344
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2348
test -z "$as_dir" && as_dir=.
2349
$as_echo "PATH: $as_dir"
2365
# Keep a trace of the command line.
2366
# Strip out --no-create and --no-recursion so they do not pile up.
2367
# Strip out --silent because we don't want to record it for future runs.
2368
# Also quote any args containing shell meta-characters.
2369
# Make two passes to allow for proper duplicate-argument suppression.
2373
ac_must_keep_next=false
2379
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2380
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2381
| -silent | --silent | --silen | --sile | --sil)
2384
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2387
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2389
as_fn_append ac_configure_args1 " '$ac_arg'"
2390
if test $ac_must_keep_next = true; then
2391
ac_must_keep_next=false # Got value, back to normal.
2394
*=* | --config-cache | -C | -disable-* | --disable-* \
2395
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2396
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2397
| -with-* | --with-* | -without-* | --without-* | --x)
2398
case "$ac_configure_args0 " in
2399
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2402
-* ) ac_must_keep_next=true ;;
2405
as_fn_append ac_configure_args " '$ac_arg'"
2410
{ ac_configure_args0=; unset ac_configure_args0;}
2411
{ ac_configure_args1=; unset ac_configure_args1;}
2413
# When interrupted or exit'd, cleanup temporary files, and complete
2414
# config.log. We remove comments because anyway the quotes in there
2415
# would cause problems or look ugly.
2416
# WARNING: Use '\'' to represent an apostrophe within the trap.
2417
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2418
trap 'exit_status=$?
2419
# Save into config.log some information that might help in debugging.
2423
$as_echo "## ---------------- ##
2424
## Cache variables. ##
2425
## ---------------- ##"
2427
# The following way of writing the cache mishandles newlines in values,
2429
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2430
eval ac_val=\$$ac_var
2434
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2435
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2438
_ | IFS | as_nl) ;; #(
2439
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2440
*) { eval $ac_var=; unset $ac_var;} ;;
2445
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2446
*${as_nl}ac_space=\ *)
2448
"s/'\''/'\''\\\\'\'''\''/g;
2449
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2452
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2459
$as_echo "## ----------------- ##
2460
## Output variables. ##
2461
## ----------------- ##"
2463
for ac_var in $ac_subst_vars
2465
eval ac_val=\$$ac_var
2467
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2469
$as_echo "$ac_var='\''$ac_val'\''"
2473
if test -n "$ac_subst_files"; then
2474
$as_echo "## ------------------- ##
2475
## File substitutions. ##
2476
## ------------------- ##"
2478
for ac_var in $ac_subst_files
2480
eval ac_val=\$$ac_var
2482
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2484
$as_echo "$ac_var='\''$ac_val'\''"
2489
if test -s confdefs.h; then
2490
$as_echo "## ----------- ##
2497
test "$ac_signal" != 0 &&
2498
$as_echo "$as_me: caught signal $ac_signal"
2499
$as_echo "$as_me: exit $exit_status"
2501
rm -f core *.core core.conftest.* &&
2502
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2505
for ac_signal in 1 2 13 15; do
2506
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2510
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2511
rm -f -r conftest* confdefs.h
2513
$as_echo "/* confdefs.h */" > confdefs.h
2515
# Predefined preprocessor variables.
2517
cat >>confdefs.h <<_ACEOF
2518
#define PACKAGE_NAME "$PACKAGE_NAME"
2521
cat >>confdefs.h <<_ACEOF
2522
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2525
cat >>confdefs.h <<_ACEOF
2526
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2529
cat >>confdefs.h <<_ACEOF
2530
#define PACKAGE_STRING "$PACKAGE_STRING"
2533
cat >>confdefs.h <<_ACEOF
2534
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2537
cat >>confdefs.h <<_ACEOF
2538
#define PACKAGE_URL "$PACKAGE_URL"
2542
# Let the site file select an alternate cache file if it wants to.
2543
# Prefer an explicitly selected file to automatically selected ones.
2546
if test -n "$CONFIG_SITE"; then
2547
# We do not want a PATH search for config.site.
2548
case $CONFIG_SITE in #((
2549
-*) ac_site_file1=./$CONFIG_SITE;;
2550
*/*) ac_site_file1=$CONFIG_SITE;;
2551
*) ac_site_file1=./$CONFIG_SITE;;
2553
elif test "x$prefix" != xNONE; then
2554
ac_site_file1=$prefix/share/config.site
2555
ac_site_file2=$prefix/etc/config.site
2557
ac_site_file1=$ac_default_prefix/share/config.site
2558
ac_site_file2=$ac_default_prefix/etc/config.site
2560
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2562
test "x$ac_site_file" = xNONE && continue
2563
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2564
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2565
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2566
sed 's/^/| /' "$ac_site_file" >&5
2568
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2569
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2570
as_fn_error $? "failed to load site script $ac_site_file
2571
See \`config.log' for more details" "$LINENO" 5; }
2575
if test -r "$cache_file"; then
2576
# Some versions of bash will fail to source /dev/null (special files
2577
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2578
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2579
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2580
$as_echo "$as_me: loading cache $cache_file" >&6;}
2582
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2583
*) . "./$cache_file";;
2587
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2588
$as_echo "$as_me: creating cache $cache_file" >&6;}
2592
as_fn_append ac_header_list " utime.h"
2593
# Check that the precious variables saved in the cache have kept the same
2595
ac_cache_corrupted=false
2596
for ac_var in $ac_precious_vars; do
2597
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2598
eval ac_new_set=\$ac_env_${ac_var}_set
2599
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2600
eval ac_new_val=\$ac_env_${ac_var}_value
2601
case $ac_old_set,$ac_new_set in
2603
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2604
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2605
ac_cache_corrupted=: ;;
2607
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2608
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2609
ac_cache_corrupted=: ;;
2612
if test "x$ac_old_val" != "x$ac_new_val"; then
2613
# differences in whitespace do not lead to failure.
2614
ac_old_val_w=`echo x $ac_old_val`
2615
ac_new_val_w=`echo x $ac_new_val`
2616
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2617
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2618
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2619
ac_cache_corrupted=:
2621
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2622
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2623
eval $ac_var=\$ac_old_val
2625
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2626
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2627
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2628
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2631
# Pass precious variables to config.status.
2632
if test "$ac_new_set" = set; then
2634
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2635
*) ac_arg=$ac_var=$ac_new_val ;;
2637
case " $ac_configure_args " in
2638
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2639
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2643
if $ac_cache_corrupted; then
2644
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2645
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2646
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2647
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2648
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2650
## -------------------- ##
2651
## Main body of script. ##
2652
## -------------------- ##
2655
ac_cpp='$CPP $CPPFLAGS'
2656
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2657
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2658
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2664
am__api_version='1.11'
2667
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2668
if test -f "$ac_dir/install-sh"; then
2670
ac_install_sh="$ac_aux_dir/install-sh -c"
2672
elif test -f "$ac_dir/install.sh"; then
2674
ac_install_sh="$ac_aux_dir/install.sh -c"
2676
elif test -f "$ac_dir/shtool"; then
2678
ac_install_sh="$ac_aux_dir/shtool install -c"
2682
if test -z "$ac_aux_dir"; then
2683
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2686
# These three variables are undocumented and unsupported,
2687
# and are intended to be withdrawn in a future Autoconf release.
2688
# They can cause serious problems if a builder's source tree is in a directory
2689
# whose full name contains unusual characters.
2690
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2691
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2692
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2695
# Find a good install program. We prefer a C program (faster),
2696
# so one script is as good as another. But avoid the broken or
2697
# incompatible versions:
2698
# SysV /etc/install, /usr/sbin/install
2699
# SunOS /usr/etc/install
2700
# IRIX /sbin/install
2702
# AmigaOS /C/install, which installs bootblocks on floppy discs
2703
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2704
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2705
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2706
# OS/2's system install, which has a completely different semantic
2707
# ./install, which can be erroneously created by make from ./install.sh.
2708
# Reject install programs that cannot install multiple files.
2709
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2710
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2711
if test -z "$INSTALL"; then
2712
if ${ac_cv_path_install+:} false; then :
2713
$as_echo_n "(cached) " >&6
2715
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2719
test -z "$as_dir" && as_dir=.
2720
# Account for people who put trailing slashes in PATH elements.
2721
case $as_dir/ in #((
2722
./ | .// | /[cC]/* | \
2723
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2724
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2727
# OSF1 and SCO ODT 3.0 have their own names for install.
2728
# Don't use installbsd from OSF since it installs stuff as root
2730
for ac_prog in ginstall scoinst install; do
2731
for ac_exec_ext in '' $ac_executable_extensions; do
2732
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2733
if test $ac_prog = install &&
2734
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2735
# AIX install. It has an incompatible calling convention.
2737
elif test $ac_prog = install &&
2738
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2739
# program-specific install script used by HP pwplus--don't use.
2742
rm -rf conftest.one conftest.two conftest.dir
2743
echo one > conftest.one
2744
echo two > conftest.two
2746
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2747
test -s conftest.one && test -s conftest.two &&
2748
test -s conftest.dir/conftest.one &&
2749
test -s conftest.dir/conftest.two
2751
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2764
rm -rf conftest.one conftest.two conftest.dir
2767
if test "${ac_cv_path_install+set}" = set; then
2768
INSTALL=$ac_cv_path_install
2770
# As a last resort, use the slow shell script. Don't cache a
2771
# value for INSTALL within a source directory, because that will
2772
# break other packages using the cache if that directory is
2773
# removed, or if the value is a relative name.
2774
INSTALL=$ac_install_sh
2777
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2778
$as_echo "$INSTALL" >&6; }
2780
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2781
# It thinks the first close brace ends the variable substitution.
2782
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2784
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2786
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2789
$as_echo_n "checking whether build environment is sane... " >&6; }
2792
echo timestamp > conftest.file
2793
# Reject unsafe characters in $srcdir or the absolute working directory
2794
# name. Accept space and tab only in the latter.
2798
*[\\\"\#\$\&\'\`$am_lf]*)
2799
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2802
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2803
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2806
# Do `set' in a subshell so we don't clobber the current shell's
2807
# arguments. Must try -L first in case configure is actually a
2808
# symlink; some systems play weird games with the mod time of symlinks
2809
# (eg FreeBSD returns the mod time of the symlink's containing
2812
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2813
if test "$*" = "X"; then
2815
set X `ls -t "$srcdir/configure" conftest.file`
2818
if test "$*" != "X $srcdir/configure conftest.file" \
2819
&& test "$*" != "X conftest.file $srcdir/configure"; then
2821
# If neither matched, then we have a broken ls. This can happen
2822
# if, for instance, CONFIG_SHELL is bash and it inherits a
2823
# broken ls alias from the environment. This has actually
2824
# happened. Such a system could not be considered "sane".
2825
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2826
alias in your environment" "$LINENO" 5
2829
test "$2" = conftest.file
2835
as_fn_error $? "newly created file is older than distributed files!
2836
Check your system clock" "$LINENO" 5
2838
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2839
$as_echo "yes" >&6; }
2840
test "$program_prefix" != NONE &&
2841
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2842
# Use a double $ so make ignores it.
2843
test "$program_suffix" != NONE &&
2844
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2845
# Double any \ or $.
2846
# By default was `s,x,x', remove it if useless.
2847
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2848
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2850
# expand $ac_aux_dir to an absolute path
2851
am_aux_dir=`cd $ac_aux_dir && pwd`
2853
if test x"${MISSING+set}" != xset; then
2856
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2858
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2861
# Use eval to expand $SHELL
2862
if eval "$MISSING --run true"; then
2863
am_missing_run="$MISSING --run "
2866
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2867
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2870
if test x"${install_sh}" != xset; then
2873
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2875
install_sh="\${SHELL} $am_aux_dir/install-sh"
2879
# Installed binaries are usually stripped using `strip' when the user
2880
# run `make install-strip'. However `strip' might not be the right
2881
# tool to use in cross-compilation environments, therefore Automake
2882
# will honor the `STRIP' environment variable to overrule this program.
2883
if test "$cross_compiling" != no; then
2884
if test -n "$ac_tool_prefix"; then
2885
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2886
set dummy ${ac_tool_prefix}strip; ac_word=$2
2887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2888
$as_echo_n "checking for $ac_word... " >&6; }
2889
if ${ac_cv_prog_STRIP+:} false; then :
2890
$as_echo_n "(cached) " >&6
2892
if test -n "$STRIP"; then
2893
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2895
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2899
test -z "$as_dir" && as_dir=.
2900
for ac_exec_ext in '' $ac_executable_extensions; do
2901
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2902
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2903
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2912
STRIP=$ac_cv_prog_STRIP
2913
if test -n "$STRIP"; then
2914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2915
$as_echo "$STRIP" >&6; }
2917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2918
$as_echo "no" >&6; }
2923
if test -z "$ac_cv_prog_STRIP"; then
2925
# Extract the first word of "strip", so it can be a program name with args.
2926
set dummy strip; ac_word=$2
2927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2928
$as_echo_n "checking for $ac_word... " >&6; }
2929
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2930
$as_echo_n "(cached) " >&6
2932
if test -n "$ac_ct_STRIP"; then
2933
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2935
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2939
test -z "$as_dir" && as_dir=.
2940
for ac_exec_ext in '' $ac_executable_extensions; do
2941
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2942
ac_cv_prog_ac_ct_STRIP="strip"
2943
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2952
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2953
if test -n "$ac_ct_STRIP"; then
2954
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2955
$as_echo "$ac_ct_STRIP" >&6; }
2957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2958
$as_echo "no" >&6; }
2961
if test "x$ac_ct_STRIP" = x; then
2964
case $cross_compiling:$ac_tool_warned in
2966
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2967
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2968
ac_tool_warned=yes ;;
2973
STRIP="$ac_cv_prog_STRIP"
2977
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2980
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2981
if test -z "$MKDIR_P"; then
2982
if ${ac_cv_path_mkdir+:} false; then :
2983
$as_echo_n "(cached) " >&6
2985
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2986
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2989
test -z "$as_dir" && as_dir=.
2990
for ac_prog in mkdir gmkdir; do
2991
for ac_exec_ext in '' $ac_executable_extensions; do
2992
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2993
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2994
'mkdir (GNU coreutils) '* | \
2995
'mkdir (coreutils) '* | \
2996
'mkdir (fileutils) '4.1*)
2997
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3007
test -d ./--version && rmdir ./--version
3008
if test "${ac_cv_path_mkdir+set}" = set; then
3009
MKDIR_P="$ac_cv_path_mkdir -p"
3011
# As a last resort, use the slow shell script. Don't cache a
3012
# value for MKDIR_P within a source directory, because that will
3013
# break other packages using the cache if that directory is
3014
# removed, or if the value is a relative name.
3015
MKDIR_P="$ac_install_sh -d"
3018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3019
$as_echo "$MKDIR_P" >&6; }
3023
[\\/$]* | ?:[\\/]*) ;;
3024
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3027
for ac_prog in gawk mawk nawk awk
3029
# Extract the first word of "$ac_prog", so it can be a program name with args.
3030
set dummy $ac_prog; ac_word=$2
3031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3032
$as_echo_n "checking for $ac_word... " >&6; }
3033
if ${ac_cv_prog_AWK+:} false; then :
3034
$as_echo_n "(cached) " >&6
3036
if test -n "$AWK"; then
3037
ac_cv_prog_AWK="$AWK" # Let the user override the test.
3039
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3043
test -z "$as_dir" && as_dir=.
3044
for ac_exec_ext in '' $ac_executable_extensions; do
3045
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3046
ac_cv_prog_AWK="$ac_prog"
3047
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3057
if test -n "$AWK"; then
3058
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3059
$as_echo "$AWK" >&6; }
3061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3062
$as_echo "no" >&6; }
3066
test -n "$AWK" && break
3069
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3070
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3072
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3073
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3074
$as_echo_n "(cached) " >&6
3076
cat >conftest.make <<\_ACEOF
3079
@echo '@@@%%%=$(MAKE)=@@@%%%'
3081
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3082
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3084
eval ac_cv_prog_make_${ac_make}_set=yes;;
3086
eval ac_cv_prog_make_${ac_make}_set=no;;
3090
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3092
$as_echo "yes" >&6; }
3095
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3096
$as_echo "no" >&6; }
3097
SET_MAKE="MAKE=${MAKE-make}"
3100
rm -rf .tst 2>/dev/null
3101
mkdir .tst 2>/dev/null
3102
if test -d .tst; then
3107
rmdir .tst 2>/dev/null
3109
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3110
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3111
# is not polluted with repeated "-I."
3112
am__isrc=' -I$(srcdir)'
3113
# test to see if srcdir already configured
3114
if test -f $srcdir/config.status; then
3115
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3119
# test whether we have cygpath
3120
if test -z "$CYGPATH_W"; then
3121
if (cygpath --version) >/dev/null 2>/dev/null; then
3122
CYGPATH_W='cygpath -w'
3129
# Define the identity of the package.
3134
cat >>confdefs.h <<_ACEOF
3135
#define PACKAGE "$PACKAGE"
3139
cat >>confdefs.h <<_ACEOF
3140
#define VERSION "$VERSION"
3143
# Some tools Automake needs.
3145
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3148
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3151
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3154
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3157
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3159
# We need awk for the "check" target. The system "awk" is bad on
3161
# Always define AMTAR for backward compatibility. Yes, it's still used
3162
# in the wild :-( We should find a proper way to deprecate it ...
3165
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3171
ac_config_headers="$ac_config_headers config.h"
3174
# Silent build by default. Use make V=1 to increase verbosity
3175
# Check whether --enable-silent-rules was given.
3176
if test "${enable_silent_rules+set}" = set; then :
3177
enableval=$enable_silent_rules;
3180
case $enable_silent_rules in
3181
yes) AM_DEFAULT_VERBOSITY=0;;
3182
no) AM_DEFAULT_VERBOSITY=1;;
3183
*) AM_DEFAULT_VERBOSITY=0;;
3185
am_make=${MAKE-make}
3186
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3187
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3188
if ${am_cv_make_support_nested_variables+:} false; then :
3189
$as_echo_n "(cached) " >&6
3191
if $as_echo 'TRUE=$(BAR$(V))
3197
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3198
am_cv_make_support_nested_variables=yes
3200
am_cv_make_support_nested_variables=no
3203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3204
$as_echo "$am_cv_make_support_nested_variables" >&6; }
3205
if test $am_cv_make_support_nested_variables = yes; then
3207
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3209
AM_V=$AM_DEFAULT_VERBOSITY
3210
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3216
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3218
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3219
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3220
$as_echo_n "(cached) " >&6
3222
cat >conftest.make <<\_ACEOF
3225
@echo '@@@%%%=$(MAKE)=@@@%%%'
3227
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3228
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3230
eval ac_cv_prog_make_${ac_make}_set=yes;;
3232
eval ac_cv_prog_make_${ac_make}_set=no;;
3236
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3237
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3238
$as_echo "yes" >&6; }
3241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242
$as_echo "no" >&6; }
3243
SET_MAKE="MAKE=${MAKE-make}"
3249
ac_config_files="$ac_config_files test/Makefile"
3252
ac_config_files="$ac_config_files ringtones/Makefile"
3255
ac_config_files="$ac_config_files man/Makefile"
3258
ac_config_files="$ac_config_files doc/Makefile doc/dbus-api/Makefile doc/doxygen/Makefile"
3262
ac_cpp='$CPP $CPPFLAGS'
3263
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3264
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3265
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3266
if test -n "$ac_tool_prefix"; then
3267
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3268
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3270
$as_echo_n "checking for $ac_word... " >&6; }
3271
if ${ac_cv_prog_CC+:} false; then :
3272
$as_echo_n "(cached) " >&6
3274
if test -n "$CC"; then
3275
ac_cv_prog_CC="$CC" # Let the user override the test.
3277
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3281
test -z "$as_dir" && as_dir=.
3282
for ac_exec_ext in '' $ac_executable_extensions; do
3283
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3284
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3285
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3295
if test -n "$CC"; then
3296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3297
$as_echo "$CC" >&6; }
3299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3300
$as_echo "no" >&6; }
3305
if test -z "$ac_cv_prog_CC"; then
3307
# Extract the first word of "gcc", so it can be a program name with args.
3308
set dummy gcc; ac_word=$2
3309
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3310
$as_echo_n "checking for $ac_word... " >&6; }
3311
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3312
$as_echo_n "(cached) " >&6
3314
if test -n "$ac_ct_CC"; then
3315
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3317
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3321
test -z "$as_dir" && as_dir=.
3322
for ac_exec_ext in '' $ac_executable_extensions; do
3323
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3324
ac_cv_prog_ac_ct_CC="gcc"
3325
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3334
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3335
if test -n "$ac_ct_CC"; then
3336
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3337
$as_echo "$ac_ct_CC" >&6; }
3339
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3340
$as_echo "no" >&6; }
3343
if test "x$ac_ct_CC" = x; then
3346
case $cross_compiling:$ac_tool_warned in
3348
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3349
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3350
ac_tool_warned=yes ;;
3358
if test -z "$CC"; then
3359
if test -n "$ac_tool_prefix"; then
3360
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3361
set dummy ${ac_tool_prefix}cc; ac_word=$2
3362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3363
$as_echo_n "checking for $ac_word... " >&6; }
3364
if ${ac_cv_prog_CC+:} false; then :
3365
$as_echo_n "(cached) " >&6
3367
if test -n "$CC"; then
3368
ac_cv_prog_CC="$CC" # Let the user override the test.
3370
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374
test -z "$as_dir" && as_dir=.
3375
for ac_exec_ext in '' $ac_executable_extensions; do
3376
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3377
ac_cv_prog_CC="${ac_tool_prefix}cc"
3378
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3388
if test -n "$CC"; then
3389
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3390
$as_echo "$CC" >&6; }
3392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3393
$as_echo "no" >&6; }
3399
if test -z "$CC"; then
3400
# Extract the first word of "cc", so it can be a program name with args.
3401
set dummy cc; ac_word=$2
3402
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3403
$as_echo_n "checking for $ac_word... " >&6; }
3404
if ${ac_cv_prog_CC+:} false; then :
3405
$as_echo_n "(cached) " >&6
3407
if test -n "$CC"; then
3408
ac_cv_prog_CC="$CC" # Let the user override the test.
3411
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3415
test -z "$as_dir" && as_dir=.
3416
for ac_exec_ext in '' $ac_executable_extensions; do
3417
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3418
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3419
ac_prog_rejected=yes
3423
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3430
if test $ac_prog_rejected = yes; then
3431
# We found a bogon in the path, so make sure we never use it.
3432
set dummy $ac_cv_prog_CC
3434
if test $# != 0; then
3435
# We chose a different compiler from the bogus one.
3436
# However, it has the same basename, so the bogon will be chosen
3437
# first if we set CC to just the basename; use the full file name.
3439
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3445
if test -n "$CC"; then
3446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3447
$as_echo "$CC" >&6; }
3449
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3450
$as_echo "no" >&6; }
3455
if test -z "$CC"; then
3456
if test -n "$ac_tool_prefix"; then
3457
for ac_prog in cl.exe
3459
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3460
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3462
$as_echo_n "checking for $ac_word... " >&6; }
3463
if ${ac_cv_prog_CC+:} false; then :
3464
$as_echo_n "(cached) " >&6
3466
if test -n "$CC"; then
3467
ac_cv_prog_CC="$CC" # Let the user override the test.
3469
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3473
test -z "$as_dir" && as_dir=.
3474
for ac_exec_ext in '' $ac_executable_extensions; do
3475
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3476
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3477
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3487
if test -n "$CC"; then
3488
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3489
$as_echo "$CC" >&6; }
3491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3492
$as_echo "no" >&6; }
3496
test -n "$CC" && break
3499
if test -z "$CC"; then
3501
for ac_prog in cl.exe
3503
# Extract the first word of "$ac_prog", so it can be a program name with args.
3504
set dummy $ac_prog; ac_word=$2
3505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3506
$as_echo_n "checking for $ac_word... " >&6; }
3507
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3508
$as_echo_n "(cached) " >&6
3510
if test -n "$ac_ct_CC"; then
3511
ac_cv_prog_ac_ct_CC="$ac_ct_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
ac_cv_prog_ac_ct_CC="$ac_prog"
3521
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3530
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3531
if test -n "$ac_ct_CC"; then
3532
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3533
$as_echo "$ac_ct_CC" >&6; }
3535
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3536
$as_echo "no" >&6; }
3540
test -n "$ac_ct_CC" && break
3543
if test "x$ac_ct_CC" = x; then
3546
case $cross_compiling:$ac_tool_warned in
3548
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3549
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3550
ac_tool_warned=yes ;;
3559
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3560
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3561
as_fn_error $? "no acceptable C compiler found in \$PATH
3562
See \`config.log' for more details" "$LINENO" 5; }
3564
# Provide some information about the compiler.
3565
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3568
for ac_option in --version -v -V -qversion; do
3569
{ { ac_try="$ac_compiler $ac_option >&5"
3571
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3572
*) ac_try_echo=$ac_try;;
3574
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3575
$as_echo "$ac_try_echo"; } >&5
3576
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3578
if test -s conftest.err; then
3580
... rest of stderr output deleted ...
3581
10q' conftest.err >conftest.er1
3582
cat conftest.er1 >&5
3584
rm -f conftest.er1 conftest.err
3585
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3586
test $ac_status = 0; }
3589
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590
/* end confdefs.h. */
3600
ac_clean_files_save=$ac_clean_files
3601
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3602
# Try to create an executable without -o first, disregard a.out.
3603
# It will help us diagnose broken compilers, and finding out an intuition
3605
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3606
$as_echo_n "checking whether the C compiler works... " >&6; }
3607
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3609
# The possible output files:
3610
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3613
for ac_file in $ac_files
3616
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3617
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3622
if { { ac_try="$ac_link_default"
3624
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3625
*) ac_try_echo=$ac_try;;
3627
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3628
$as_echo "$ac_try_echo"; } >&5
3629
(eval "$ac_link_default") 2>&5
3631
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3632
test $ac_status = 0; }; then :
3633
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3634
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3635
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3636
# so that the user can short-circuit this test for compilers unknown to
3638
for ac_file in $ac_files ''
3640
test -f "$ac_file" || continue
3642
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3645
# We found the default executable, but exeext='' is most
3649
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3651
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3653
# We set ac_cv_exeext here because the later test for it is not
3654
# safe: cross compilers may not add the suffix if given an `-o'
3655
# argument, so we may need to know it at that point already.
3656
# Even if this section looks crufty: it has the advantage of
3663
test "$ac_cv_exeext" = no && ac_cv_exeext=
3668
if test -z "$ac_file"; then :
3669
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670
$as_echo "no" >&6; }
3671
$as_echo "$as_me: failed program was:" >&5
3672
sed 's/^/| /' conftest.$ac_ext >&5
3674
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3675
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3676
as_fn_error 77 "C compiler cannot create executables
3677
See \`config.log' for more details" "$LINENO" 5; }
3679
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3680
$as_echo "yes" >&6; }
3682
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3683
$as_echo_n "checking for C compiler default output file name... " >&6; }
3684
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3685
$as_echo "$ac_file" >&6; }
3686
ac_exeext=$ac_cv_exeext
3688
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3689
ac_clean_files=$ac_clean_files_save
3690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3691
$as_echo_n "checking for suffix of executables... " >&6; }
3692
if { { ac_try="$ac_link"
3694
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3695
*) ac_try_echo=$ac_try;;
3697
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3698
$as_echo "$ac_try_echo"; } >&5
3699
(eval "$ac_link") 2>&5
3701
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3702
test $ac_status = 0; }; then :
3703
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3704
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3705
# work properly (i.e., refer to `conftest.exe'), while it won't with
3707
for ac_file in conftest.exe conftest conftest.*; do
3708
test -f "$ac_file" || continue
3710
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3711
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3717
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3718
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3719
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3720
See \`config.log' for more details" "$LINENO" 5; }
3722
rm -f conftest conftest$ac_cv_exeext
3723
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3724
$as_echo "$ac_cv_exeext" >&6; }
3726
rm -f conftest.$ac_ext
3727
EXEEXT=$ac_cv_exeext
3729
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3730
/* end confdefs.h. */
3735
FILE *f = fopen ("conftest.out", "w");
3736
return ferror (f) || fclose (f) != 0;
3742
ac_clean_files="$ac_clean_files conftest.out"
3743
# Check that the compiler produces executables we can run. If not, either
3744
# the compiler is broken, or we cross compile.
3745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3746
$as_echo_n "checking whether we are cross compiling... " >&6; }
3747
if test "$cross_compiling" != yes; then
3748
{ { ac_try="$ac_link"
3750
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3751
*) ac_try_echo=$ac_try;;
3753
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3754
$as_echo "$ac_try_echo"; } >&5
3755
(eval "$ac_link") 2>&5
3757
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3758
test $ac_status = 0; }
3759
if { ac_try='./conftest$ac_cv_exeext'
3760
{ { case "(($ac_try" in
3761
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3762
*) ac_try_echo=$ac_try;;
3764
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3765
$as_echo "$ac_try_echo"; } >&5
3766
(eval "$ac_try") 2>&5
3768
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3769
test $ac_status = 0; }; }; then
3772
if test "$cross_compiling" = maybe; then
3775
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3776
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3777
as_fn_error $? "cannot run C compiled programs.
3778
If you meant to cross compile, use \`--host'.
3779
See \`config.log' for more details" "$LINENO" 5; }
3783
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3784
$as_echo "$cross_compiling" >&6; }
3786
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3787
ac_clean_files=$ac_clean_files_save
3788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3789
$as_echo_n "checking for suffix of object files... " >&6; }
3790
if ${ac_cv_objext+:} false; then :
3791
$as_echo_n "(cached) " >&6
3793
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794
/* end confdefs.h. */
3804
rm -f conftest.o conftest.obj
3805
if { { ac_try="$ac_compile"
3807
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3808
*) ac_try_echo=$ac_try;;
3810
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3811
$as_echo "$ac_try_echo"; } >&5
3812
(eval "$ac_compile") 2>&5
3814
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3815
test $ac_status = 0; }; then :
3816
for ac_file in conftest.o conftest.obj conftest.*; do
3817
test -f "$ac_file" || continue;
3819
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3820
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3825
$as_echo "$as_me: failed program was:" >&5
3826
sed 's/^/| /' conftest.$ac_ext >&5
3828
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3829
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3830
as_fn_error $? "cannot compute suffix of object files: cannot compile
3831
See \`config.log' for more details" "$LINENO" 5; }
3833
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3836
$as_echo "$ac_cv_objext" >&6; }
3837
OBJEXT=$ac_cv_objext
3839
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3840
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3841
if ${ac_cv_c_compiler_gnu+:} false; then :
3842
$as_echo_n "(cached) " >&6
3844
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3845
/* end confdefs.h. */
3858
if ac_fn_c_try_compile "$LINENO"; then :
3863
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3864
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3868
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3869
if test $ac_compiler_gnu = yes; then
3874
ac_test_CFLAGS=${CFLAGS+set}
3875
ac_save_CFLAGS=$CFLAGS
3876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3877
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3878
if ${ac_cv_prog_cc_g+:} false; then :
3879
$as_echo_n "(cached) " >&6
3881
ac_save_c_werror_flag=$ac_c_werror_flag
3882
ac_c_werror_flag=yes
3885
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3886
/* end confdefs.h. */
3896
if ac_fn_c_try_compile "$LINENO"; then :
3900
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3901
/* end confdefs.h. */
3911
if ac_fn_c_try_compile "$LINENO"; then :
3914
ac_c_werror_flag=$ac_save_c_werror_flag
3916
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3917
/* end confdefs.h. */
3927
if ac_fn_c_try_compile "$LINENO"; then :
3930
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3932
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3934
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3935
ac_c_werror_flag=$ac_save_c_werror_flag
3937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3938
$as_echo "$ac_cv_prog_cc_g" >&6; }
3939
if test "$ac_test_CFLAGS" = set; then
3940
CFLAGS=$ac_save_CFLAGS
3941
elif test $ac_cv_prog_cc_g = yes; then
3942
if test "$GCC" = yes; then
3948
if test "$GCC" = yes; then
3954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3955
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3956
if ${ac_cv_prog_cc_c89+:} false; then :
3957
$as_echo_n "(cached) " >&6
3959
ac_cv_prog_cc_c89=no
3961
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3962
/* end confdefs.h. */
3965
#include <sys/types.h>
3966
#include <sys/stat.h>
3967
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3968
struct buf { int x; };
3969
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3970
static char *e (p, i)
3976
static char *f (char * (*g) (char **, int), char **p, ...)
3981
s = g (p, va_arg (v,int));
3986
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3987
function prototypes and stuff, but not '\xHH' hex character constants.
3988
These don't provoke an error unfortunately, instead are silently treated
3989
as 'x'. The following induces an error, until -std is added to get
3990
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3991
array size at least. It's necessary to write '\x00'==0 to get something
3992
that's true only with -std. */
3993
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3995
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3996
inside strings and character constants. */
3998
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4000
int test (int i, double x);
4001
struct s1 {int (*f) (int a);};
4002
struct s2 {int (*f) (double a);};
4003
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4009
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4014
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4015
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4017
CC="$ac_save_CC $ac_arg"
4018
if ac_fn_c_try_compile "$LINENO"; then :
4019
ac_cv_prog_cc_c89=$ac_arg
4021
rm -f core conftest.err conftest.$ac_objext
4022
test "x$ac_cv_prog_cc_c89" != "xno" && break
4024
rm -f conftest.$ac_ext
4029
case "x$ac_cv_prog_cc_c89" in
4031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4032
$as_echo "none needed" >&6; } ;;
4034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4035
$as_echo "unsupported" >&6; } ;;
4037
CC="$CC $ac_cv_prog_cc_c89"
4038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4039
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4041
if test "x$ac_cv_prog_cc_c89" != xno; then :
4046
ac_cpp='$CPP $CPPFLAGS'
4047
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4048
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4049
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4050
DEPDIR="${am__leading_dot}deps"
4052
ac_config_commands="$ac_config_commands depfiles"
4055
am_make=${MAKE-make}
4056
cat > confinc << 'END'
4058
@echo this is the am__doit target
4061
# If we don't find an include directive, just comment out the code.
4062
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4063
$as_echo_n "checking for style of include used by $am_make... " >&6; }
4067
# First try GNU make style include.
4068
echo "include confinc" > confmf
4069
# Ignore all kinds of additional output from `make'.
4070
case `$am_make -s -f confmf 2> /dev/null` in #(
4071
*the\ am__doit\ target*)
4077
# Now try BSD make style include.
4078
if test "$am__include" = "#"; then
4079
echo '.include "confinc"' > confmf
4080
case `$am_make -s -f confmf 2> /dev/null` in #(
4081
*the\ am__doit\ target*)
4082
am__include=.include
4090
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4091
$as_echo "$_am_result" >&6; }
4092
rm -f confinc confmf
4094
# Check whether --enable-dependency-tracking was given.
4095
if test "${enable_dependency_tracking+set}" = set; then :
4096
enableval=$enable_dependency_tracking;
4099
if test "x$enable_dependency_tracking" != xno; then
4100
am_depcomp="$ac_aux_dir/depcomp"
4104
if test "x$enable_dependency_tracking" != xno; then
4114
depcc="$CC" am_compiler_list=
4116
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4117
$as_echo_n "checking dependency style of $depcc... " >&6; }
4118
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4119
$as_echo_n "(cached) " >&6
4121
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4122
# We make a subdir and do the tests there. Otherwise we can end up
4123
# making bogus files that we don't know about and never remove. For
4124
# instance it was reported that on HP-UX the gcc test will end up
4125
# making a dummy file named `D' -- because `-MD' means `put the output
4129
# Copy depcomp to subdir because otherwise we won't find it if we're
4130
# using a relative directory.
4131
cp "$am_depcomp" conftest.dir
4133
# We will build objects and dependencies in a subdirectory because
4134
# it helps to detect inapplicable dependency modes. For instance
4135
# both Tru64's cc and ICC support -MD to output dependencies as a
4136
# side effect of compilation, but ICC will put the dependencies in
4137
# the current directory while Tru64 will put them in the object
4141
am_cv_CC_dependencies_compiler_type=none
4142
if test "$am_compiler_list" = ""; then
4143
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4146
case " $depcc " in #(
4147
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4150
for depmode in $am_compiler_list; do
4151
# Setup a source with many dependencies, because some compilers
4152
# like to wrap large dependency lists on column 80 (with \), and
4153
# we should not choose a depcomp mode which is confused by this.
4155
# We need to recreate these files for each test, as the compiler may
4156
# overwrite some of them when testing with obscure command lines.
4157
# This happens at least with the AIX C compiler.
4159
for i in 1 2 3 4 5 6; do
4160
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4161
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4162
# Solaris 8's {/usr,}/bin/sh.
4163
touch sub/conftst$i.h
4165
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4167
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4168
# mode. It turns out that the SunPro C++ compiler does not properly
4169
# handle `-M -o', and we need to detect this. Also, some Intel
4170
# versions had trouble with output in subdirs
4171
am__obj=sub/conftest.${OBJEXT-o}
4172
am__minus_obj="-o $am__obj"
4175
# This depmode causes a compiler race in universal mode.
4176
test "$am__universal" = false || continue
4179
# after this tag, mechanisms are not by side-effect, so they'll
4180
# only be used when explicitly requested
4181
if test "x$enable_dependency_tracking" = xyes; then
4187
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4188
# This compiler won't grok `-c -o', but also, the minuso test has
4189
# not run yet. These depmodes are late enough in the game, and
4190
# so weak that their functioning should not be impacted.
4191
am__obj=conftest.${OBJEXT-o}
4196
if depmode=$depmode \
4197
source=sub/conftest.c object=$am__obj \
4198
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4199
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4200
>/dev/null 2>conftest.err &&
4201
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4202
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4203
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4204
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4205
# icc doesn't choke on unknown options, it will just issue warnings
4206
# or remarks (even with -Werror). So we grep stderr for any message
4207
# that says an option was ignored or not supported.
4208
# When given -MP, icc 7.0 and 7.1 complain thusly:
4209
# icc: Command line warning: ignoring option '-M'; no argument required
4210
# The diagnosis changed in icc 8.0:
4211
# icc: Command line remark: option '-MP' not supported
4212
if (grep 'ignoring option' conftest.err ||
4213
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4214
am_cv_CC_dependencies_compiler_type=$depmode
4223
am_cv_CC_dependencies_compiler_type=none
4227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4228
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4229
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4232
test "x$enable_dependency_tracking" != xno \
4233
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4235
am__fastdepCC_FALSE='#'
4237
am__fastdepCC_TRUE='#'
4238
am__fastdepCC_FALSE=
4243
ac_cpp='$CXXCPP $CPPFLAGS'
4244
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4245
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4246
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4247
if test -z "$CXX"; then
4248
if test -n "$CCC"; then
4251
if test -n "$ac_tool_prefix"; then
4252
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4254
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4255
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4256
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4257
$as_echo_n "checking for $ac_word... " >&6; }
4258
if ${ac_cv_prog_CXX+:} false; then :
4259
$as_echo_n "(cached) " >&6
4261
if test -n "$CXX"; then
4262
ac_cv_prog_CXX="$CXX" # Let the user override the test.
4264
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4268
test -z "$as_dir" && as_dir=.
4269
for ac_exec_ext in '' $ac_executable_extensions; do
4270
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4271
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4272
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4282
if test -n "$CXX"; then
4283
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4284
$as_echo "$CXX" >&6; }
4286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4287
$as_echo "no" >&6; }
4291
test -n "$CXX" && break
4294
if test -z "$CXX"; then
4296
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4298
# Extract the first word of "$ac_prog", so it can be a program name with args.
4299
set dummy $ac_prog; ac_word=$2
4300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4301
$as_echo_n "checking for $ac_word... " >&6; }
4302
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4303
$as_echo_n "(cached) " >&6
4305
if test -n "$ac_ct_CXX"; then
4306
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4308
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4312
test -z "$as_dir" && as_dir=.
4313
for ac_exec_ext in '' $ac_executable_extensions; do
4314
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4315
ac_cv_prog_ac_ct_CXX="$ac_prog"
4316
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4325
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4326
if test -n "$ac_ct_CXX"; then
4327
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4328
$as_echo "$ac_ct_CXX" >&6; }
4330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4331
$as_echo "no" >&6; }
4335
test -n "$ac_ct_CXX" && break
4338
if test "x$ac_ct_CXX" = x; then
4341
case $cross_compiling:$ac_tool_warned in
4343
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4344
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4345
ac_tool_warned=yes ;;
4353
# Provide some information about the compiler.
4354
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4357
for ac_option in --version -v -V -qversion; do
4358
{ { ac_try="$ac_compiler $ac_option >&5"
4360
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4361
*) ac_try_echo=$ac_try;;
4363
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4364
$as_echo "$ac_try_echo"; } >&5
4365
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4367
if test -s conftest.err; then
4369
... rest of stderr output deleted ...
4370
10q' conftest.err >conftest.er1
4371
cat conftest.er1 >&5
4373
rm -f conftest.er1 conftest.err
4374
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4375
test $ac_status = 0; }
4378
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4379
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4380
if ${ac_cv_cxx_compiler_gnu+:} false; then :
4381
$as_echo_n "(cached) " >&6
4383
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4384
/* end confdefs.h. */
4397
if ac_fn_cxx_try_compile "$LINENO"; then :
4402
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4403
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4406
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4407
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4408
if test $ac_compiler_gnu = yes; then
4413
ac_test_CXXFLAGS=${CXXFLAGS+set}
4414
ac_save_CXXFLAGS=$CXXFLAGS
4415
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4416
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
4417
if ${ac_cv_prog_cxx_g+:} false; then :
4418
$as_echo_n "(cached) " >&6
4420
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4421
ac_cxx_werror_flag=yes
4424
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4425
/* end confdefs.h. */
4435
if ac_fn_cxx_try_compile "$LINENO"; then :
4436
ac_cv_prog_cxx_g=yes
4439
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4440
/* end confdefs.h. */
4450
if ac_fn_cxx_try_compile "$LINENO"; then :
4453
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4455
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4456
/* end confdefs.h. */
4466
if ac_fn_cxx_try_compile "$LINENO"; then :
4467
ac_cv_prog_cxx_g=yes
4469
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4471
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4473
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4474
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4476
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4477
$as_echo "$ac_cv_prog_cxx_g" >&6; }
4478
if test "$ac_test_CXXFLAGS" = set; then
4479
CXXFLAGS=$ac_save_CXXFLAGS
4480
elif test $ac_cv_prog_cxx_g = yes; then
4481
if test "$GXX" = yes; then
4487
if test "$GXX" = yes; then
4494
ac_cpp='$CPP $CPPFLAGS'
4495
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4496
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4497
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4499
depcc="$CXX" am_compiler_list=
4501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4502
$as_echo_n "checking dependency style of $depcc... " >&6; }
4503
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4504
$as_echo_n "(cached) " >&6
4506
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4507
# We make a subdir and do the tests there. Otherwise we can end up
4508
# making bogus files that we don't know about and never remove. For
4509
# instance it was reported that on HP-UX the gcc test will end up
4510
# making a dummy file named `D' -- because `-MD' means `put the output
4514
# Copy depcomp to subdir because otherwise we won't find it if we're
4515
# using a relative directory.
4516
cp "$am_depcomp" conftest.dir
4518
# We will build objects and dependencies in a subdirectory because
4519
# it helps to detect inapplicable dependency modes. For instance
4520
# both Tru64's cc and ICC support -MD to output dependencies as a
4521
# side effect of compilation, but ICC will put the dependencies in
4522
# the current directory while Tru64 will put them in the object
4526
am_cv_CXX_dependencies_compiler_type=none
4527
if test "$am_compiler_list" = ""; then
4528
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4531
case " $depcc " in #(
4532
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4535
for depmode in $am_compiler_list; do
4536
# Setup a source with many dependencies, because some compilers
4537
# like to wrap large dependency lists on column 80 (with \), and
4538
# we should not choose a depcomp mode which is confused by this.
4540
# We need to recreate these files for each test, as the compiler may
4541
# overwrite some of them when testing with obscure command lines.
4542
# This happens at least with the AIX C compiler.
4544
for i in 1 2 3 4 5 6; do
4545
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4546
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4547
# Solaris 8's {/usr,}/bin/sh.
4548
touch sub/conftst$i.h
4550
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4552
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4553
# mode. It turns out that the SunPro C++ compiler does not properly
4554
# handle `-M -o', and we need to detect this. Also, some Intel
4555
# versions had trouble with output in subdirs
4556
am__obj=sub/conftest.${OBJEXT-o}
4557
am__minus_obj="-o $am__obj"
4560
# This depmode causes a compiler race in universal mode.
4561
test "$am__universal" = false || continue
4564
# after this tag, mechanisms are not by side-effect, so they'll
4565
# only be used when explicitly requested
4566
if test "x$enable_dependency_tracking" = xyes; then
4572
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4573
# This compiler won't grok `-c -o', but also, the minuso test has
4574
# not run yet. These depmodes are late enough in the game, and
4575
# so weak that their functioning should not be impacted.
4576
am__obj=conftest.${OBJEXT-o}
4581
if depmode=$depmode \
4582
source=sub/conftest.c object=$am__obj \
4583
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4584
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4585
>/dev/null 2>conftest.err &&
4586
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4587
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4588
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4589
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4590
# icc doesn't choke on unknown options, it will just issue warnings
4591
# or remarks (even with -Werror). So we grep stderr for any message
4592
# that says an option was ignored or not supported.
4593
# When given -MP, icc 7.0 and 7.1 complain thusly:
4594
# icc: Command line warning: ignoring option '-M'; no argument required
4595
# The diagnosis changed in icc 8.0:
4596
# icc: Command line remark: option '-MP' not supported
4597
if (grep 'ignoring option' conftest.err ||
4598
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4599
am_cv_CXX_dependencies_compiler_type=$depmode
4608
am_cv_CXX_dependencies_compiler_type=none
4612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
4613
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
4614
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
4617
test "x$enable_dependency_tracking" != xno \
4618
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
4619
am__fastdepCXX_TRUE=
4620
am__fastdepCXX_FALSE='#'
4622
am__fastdepCXX_TRUE='#'
4623
am__fastdepCXX_FALSE=
4628
ac_cpp='$CPP $CPPFLAGS'
4629
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4630
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4631
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4633
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4634
# On Suns, sometimes $CPP names a directory.
4635
if test -n "$CPP" && test -d "$CPP"; then
4638
if test -z "$CPP"; then
4639
if ${ac_cv_prog_CPP+:} false; then :
4640
$as_echo_n "(cached) " >&6
4642
# Double quotes because CPP needs to be expanded
4643
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4646
for ac_c_preproc_warn_flag in '' yes
4648
# Use a header file that comes with gcc, so configuring glibc
4649
# with a fresh cross-compiler works.
4650
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4651
# <limits.h> exists even on freestanding compilers.
4652
# On the NeXT, cc -E runs the code through the compiler's parser,
4653
# not just through cpp. "Syntax error" is here to catch this case.
4654
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4655
/* end confdefs.h. */
4657
# include <limits.h>
4659
# include <assert.h>
4663
if ac_fn_c_try_cpp "$LINENO"; then :
4666
# Broken: fails on valid input.
4669
rm -f conftest.err conftest.i conftest.$ac_ext
4671
# OK, works on sane cases. Now check whether nonexistent headers
4672
# can be detected and how.
4673
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4674
/* end confdefs.h. */
4675
#include <ac_nonexistent.h>
4677
if ac_fn_c_try_cpp "$LINENO"; then :
4678
# Broken: success on invalid input.
4681
# Passes both tests.
4685
rm -f conftest.err conftest.i conftest.$ac_ext
4688
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4689
rm -f conftest.i conftest.err conftest.$ac_ext
4690
if $ac_preproc_ok; then :
4702
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4703
$as_echo "$CPP" >&6; }
4705
for ac_c_preproc_warn_flag in '' yes
4707
# Use a header file that comes with gcc, so configuring glibc
4708
# with a fresh cross-compiler works.
4709
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4710
# <limits.h> exists even on freestanding compilers.
4711
# On the NeXT, cc -E runs the code through the compiler's parser,
4712
# not just through cpp. "Syntax error" is here to catch this case.
4713
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4714
/* end confdefs.h. */
4716
# include <limits.h>
4718
# include <assert.h>
4722
if ac_fn_c_try_cpp "$LINENO"; then :
4725
# Broken: fails on valid input.
4728
rm -f conftest.err conftest.i conftest.$ac_ext
4730
# OK, works on sane cases. Now check whether nonexistent headers
4731
# can be detected and how.
4732
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4733
/* end confdefs.h. */
4734
#include <ac_nonexistent.h>
4736
if ac_fn_c_try_cpp "$LINENO"; then :
4737
# Broken: success on invalid input.
4740
# Passes both tests.
4744
rm -f conftest.err conftest.i conftest.$ac_ext
4747
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4748
rm -f conftest.i conftest.err conftest.$ac_ext
4749
if $ac_preproc_ok; then :
4752
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4753
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4754
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4755
See \`config.log' for more details" "$LINENO" 5; }
4759
ac_cpp='$CPP $CPPFLAGS'
4760
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4761
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4762
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4766
$as_echo_n "checking whether ln -s works... " >&6; }
4768
if test "$LN_S" = "ln -s"; then
4769
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4770
$as_echo "yes" >&6; }
4772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4773
$as_echo "no, using $LN_S" >&6; }
4776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4777
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4779
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4780
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4781
$as_echo_n "(cached) " >&6
4783
cat >conftest.make <<\_ACEOF
4786
@echo '@@@%%%=$(MAKE)=@@@%%%'
4788
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4789
case `${MAKE-make} -f conftest.make 2>/dev/null` in
4791
eval ac_cv_prog_make_${ac_make}_set=yes;;
4793
eval ac_cv_prog_make_${ac_make}_set=no;;
4797
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4798
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4799
$as_echo "yes" >&6; }
4802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803
$as_echo "no" >&6; }
4804
SET_MAKE="MAKE=${MAKE-make}"
4810
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4811
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4816
macro_version='2.4.2'
4817
macro_revision='1.3337'
4831
ltmain="$ac_aux_dir/ltmain.sh"
4833
# Make sure we can run config.sub.
4834
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4835
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4838
$as_echo_n "checking build system type... " >&6; }
4839
if ${ac_cv_build+:} false; then :
4840
$as_echo_n "(cached) " >&6
4842
ac_build_alias=$build_alias
4843
test "x$ac_build_alias" = x &&
4844
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4845
test "x$ac_build_alias" = x &&
4846
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4847
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4848
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4852
$as_echo "$ac_cv_build" >&6; }
4853
case $ac_cv_build in
4855
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4858
ac_save_IFS=$IFS; IFS='-'
4864
# Remember, the first character of IFS is used to create $*,
4865
# except with old shells:
4868
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4872
$as_echo_n "checking host system type... " >&6; }
4873
if ${ac_cv_host+:} false; then :
4874
$as_echo_n "(cached) " >&6
4876
if test "x$host_alias" = x; then
4877
ac_cv_host=$ac_cv_build
4879
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4880
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4885
$as_echo "$ac_cv_host" >&6; }
4888
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4891
ac_save_IFS=$IFS; IFS='-'
4897
# Remember, the first character of IFS is used to create $*,
4898
# except with old shells:
4901
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4904
# Backslashify metacharacters that are still active within
4905
# double-quoted strings.
4906
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4908
# Same as above, but do not quote variable references.
4909
double_quote_subst='s/\(["`\\]\)/\\\1/g'
4911
# Sed substitution to delay expansion of an escaped shell variable in a
4912
# double_quote_subst'ed string.
4913
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4915
# Sed substitution to delay expansion of an escaped single quote.
4916
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4918
# Sed substitution to avoid accidental globbing in evaled expressions
4919
no_glob_subst='s/\*/\\\*/g'
4921
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4922
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4923
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4925
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4926
$as_echo_n "checking how to print strings... " >&6; }
4927
# Test print first, because it will be a builtin if present.
4928
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4929
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4931
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4934
# Use this function as a fallback that always works.
4935
func_fallback_echo ()
4937
eval 'cat <<_LTECHO_EOF
4941
ECHO='func_fallback_echo'
4944
# func_echo_all arg...
4945
# Invoke $ECHO with all args, space-separated.
4952
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4953
$as_echo "printf" >&6; } ;;
4954
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4955
$as_echo "print -r" >&6; } ;;
4956
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4957
$as_echo "cat" >&6; } ;;
4973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4974
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4975
if ${ac_cv_path_SED+:} false; then :
4976
$as_echo_n "(cached) " >&6
4978
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4979
for ac_i in 1 2 3 4 5 6 7; do
4980
ac_script="$ac_script$as_nl$ac_script"
4982
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4983
{ ac_script=; unset ac_script;}
4984
if test -z "$SED"; then
4985
ac_path_SED_found=false
4986
# Loop through the user's path and test for each of PROGNAME-LIST
4987
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4991
test -z "$as_dir" && as_dir=.
4992
for ac_prog in sed gsed; do
4993
for ac_exec_ext in '' $ac_executable_extensions; do
4994
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4995
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4996
# Check for GNU ac_path_SED and select it if it is found.
4997
# Check for GNU $ac_path_SED
4998
case `"$ac_path_SED" --version 2>&1` in
5000
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5003
$as_echo_n 0123456789 >"conftest.in"
5006
cat "conftest.in" "conftest.in" >"conftest.tmp"
5007
mv "conftest.tmp" "conftest.in"
5008
cp "conftest.in" "conftest.nl"
5009
$as_echo '' >> "conftest.nl"
5010
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5011
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5012
as_fn_arith $ac_count + 1 && ac_count=$as_val
5013
if test $ac_count -gt ${ac_path_SED_max-0}; then
5014
# Best one so far, save it but keep looking for a better one
5015
ac_cv_path_SED="$ac_path_SED"
5016
ac_path_SED_max=$ac_count
5018
# 10*(2^10) chars as input seems more than enough
5019
test $ac_count -gt 10 && break
5021
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5024
$ac_path_SED_found && break 3
5029
if test -z "$ac_cv_path_SED"; then
5030
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5037
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5038
$as_echo "$ac_cv_path_SED" >&6; }
5039
SED="$ac_cv_path_SED"
5042
test -z "$SED" && SED=sed
5043
Xsed="$SED -e 1s/^X//"
5055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5056
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5057
if ${ac_cv_path_GREP+:} false; then :
5058
$as_echo_n "(cached) " >&6
5060
if test -z "$GREP"; then
5061
ac_path_GREP_found=false
5062
# Loop through the user's path and test for each of PROGNAME-LIST
5063
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5067
test -z "$as_dir" && as_dir=.
5068
for ac_prog in grep ggrep; do
5069
for ac_exec_ext in '' $ac_executable_extensions; do
5070
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5071
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5072
# Check for GNU ac_path_GREP and select it if it is found.
5073
# Check for GNU $ac_path_GREP
5074
case `"$ac_path_GREP" --version 2>&1` in
5076
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5079
$as_echo_n 0123456789 >"conftest.in"
5082
cat "conftest.in" "conftest.in" >"conftest.tmp"
5083
mv "conftest.tmp" "conftest.in"
5084
cp "conftest.in" "conftest.nl"
5085
$as_echo 'GREP' >> "conftest.nl"
5086
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5087
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5088
as_fn_arith $ac_count + 1 && ac_count=$as_val
5089
if test $ac_count -gt ${ac_path_GREP_max-0}; then
5090
# Best one so far, save it but keep looking for a better one
5091
ac_cv_path_GREP="$ac_path_GREP"
5092
ac_path_GREP_max=$ac_count
5094
# 10*(2^10) chars as input seems more than enough
5095
test $ac_count -gt 10 && break
5097
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5100
$ac_path_GREP_found && break 3
5105
if test -z "$ac_cv_path_GREP"; then
5106
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5109
ac_cv_path_GREP=$GREP
5113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5114
$as_echo "$ac_cv_path_GREP" >&6; }
5115
GREP="$ac_cv_path_GREP"
5118
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5119
$as_echo_n "checking for egrep... " >&6; }
5120
if ${ac_cv_path_EGREP+:} false; then :
5121
$as_echo_n "(cached) " >&6
5123
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5124
then ac_cv_path_EGREP="$GREP -E"
5126
if test -z "$EGREP"; then
5127
ac_path_EGREP_found=false
5128
# Loop through the user's path and test for each of PROGNAME-LIST
5129
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5130
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5133
test -z "$as_dir" && as_dir=.
5134
for ac_prog in egrep; do
5135
for ac_exec_ext in '' $ac_executable_extensions; do
5136
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5137
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5138
# Check for GNU ac_path_EGREP and select it if it is found.
5139
# Check for GNU $ac_path_EGREP
5140
case `"$ac_path_EGREP" --version 2>&1` in
5142
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5145
$as_echo_n 0123456789 >"conftest.in"
5148
cat "conftest.in" "conftest.in" >"conftest.tmp"
5149
mv "conftest.tmp" "conftest.in"
5150
cp "conftest.in" "conftest.nl"
5151
$as_echo 'EGREP' >> "conftest.nl"
5152
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5153
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5154
as_fn_arith $ac_count + 1 && ac_count=$as_val
5155
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5156
# Best one so far, save it but keep looking for a better one
5157
ac_cv_path_EGREP="$ac_path_EGREP"
5158
ac_path_EGREP_max=$ac_count
5160
# 10*(2^10) chars as input seems more than enough
5161
test $ac_count -gt 10 && break
5163
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5166
$ac_path_EGREP_found && break 3
5171
if test -z "$ac_cv_path_EGREP"; then
5172
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5175
ac_cv_path_EGREP=$EGREP
5180
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5181
$as_echo "$ac_cv_path_EGREP" >&6; }
5182
EGREP="$ac_cv_path_EGREP"
5185
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5186
$as_echo_n "checking for fgrep... " >&6; }
5187
if ${ac_cv_path_FGREP+:} false; then :
5188
$as_echo_n "(cached) " >&6
5190
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5191
then ac_cv_path_FGREP="$GREP -F"
5193
if test -z "$FGREP"; then
5194
ac_path_FGREP_found=false
5195
# Loop through the user's path and test for each of PROGNAME-LIST
5196
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5197
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5200
test -z "$as_dir" && as_dir=.
5201
for ac_prog in fgrep; do
5202
for ac_exec_ext in '' $ac_executable_extensions; do
5203
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5204
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5205
# Check for GNU ac_path_FGREP and select it if it is found.
5206
# Check for GNU $ac_path_FGREP
5207
case `"$ac_path_FGREP" --version 2>&1` in
5209
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5212
$as_echo_n 0123456789 >"conftest.in"
5215
cat "conftest.in" "conftest.in" >"conftest.tmp"
5216
mv "conftest.tmp" "conftest.in"
5217
cp "conftest.in" "conftest.nl"
5218
$as_echo 'FGREP' >> "conftest.nl"
5219
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5220
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5221
as_fn_arith $ac_count + 1 && ac_count=$as_val
5222
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5223
# Best one so far, save it but keep looking for a better one
5224
ac_cv_path_FGREP="$ac_path_FGREP"
5225
ac_path_FGREP_max=$ac_count
5227
# 10*(2^10) chars as input seems more than enough
5228
test $ac_count -gt 10 && break
5230
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5233
$ac_path_FGREP_found && break 3
5238
if test -z "$ac_cv_path_FGREP"; then
5239
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5242
ac_cv_path_FGREP=$FGREP
5247
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5248
$as_echo "$ac_cv_path_FGREP" >&6; }
5249
FGREP="$ac_cv_path_FGREP"
5252
test -z "$GREP" && GREP=grep
5272
# Check whether --with-gnu-ld was given.
5273
if test "${with_gnu_ld+set}" = set; then :
5274
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5280
if test "$GCC" = yes; then
5281
# Check if gcc -print-prog-name=ld gives a path.
5282
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5283
$as_echo_n "checking for ld used by $CC... " >&6; }
5286
# gcc leaves a trailing carriage return which upsets mingw
5287
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5289
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5292
# Accept absolute paths.
5294
re_direlt='/[^/][^/]*/\.\./'
5295
# Canonicalize the pathname of ld
5296
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5297
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5298
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5300
test -z "$LD" && LD="$ac_prog"
5303
# If it fails, then pretend we aren't using GCC.
5307
# If it is relative, then search for the first ld in PATH.
5311
elif test "$with_gnu_ld" = yes; then
5312
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5313
$as_echo_n "checking for GNU ld... " >&6; }
5315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5316
$as_echo_n "checking for non-GNU ld... " >&6; }
5318
if ${lt_cv_path_LD+:} false; then :
5319
$as_echo_n "(cached) " >&6
5321
if test -z "$LD"; then
5322
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5323
for ac_dir in $PATH; do
5325
test -z "$ac_dir" && ac_dir=.
5326
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5327
lt_cv_path_LD="$ac_dir/$ac_prog"
5328
# Check to see if the program is GNU ld. I'd rather use --version,
5329
# but apparently some variants of GNU ld only accept -v.
5330
# Break only if it was the GNU/non-GNU ld that we prefer.
5331
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5332
*GNU* | *'with BFD'*)
5333
test "$with_gnu_ld" != no && break
5336
test "$with_gnu_ld" != yes && break
5343
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5348
if test -n "$LD"; then
5349
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5350
$as_echo "$LD" >&6; }
5352
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5353
$as_echo "no" >&6; }
5355
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5357
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5358
if ${lt_cv_prog_gnu_ld+:} false; then :
5359
$as_echo_n "(cached) " >&6
5361
# I'd rather use --version here, but apparently some GNU lds only accept -v.
5362
case `$LD -v 2>&1 </dev/null` in
5363
*GNU* | *'with BFD'*)
5364
lt_cv_prog_gnu_ld=yes
5367
lt_cv_prog_gnu_ld=no
5371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5372
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5373
with_gnu_ld=$lt_cv_prog_gnu_ld
5383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5384
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5385
if ${lt_cv_path_NM+:} false; then :
5386
$as_echo_n "(cached) " >&6
5388
if test -n "$NM"; then
5389
# Let the user override the test.
5392
lt_nm_to_check="${ac_tool_prefix}nm"
5393
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5394
lt_nm_to_check="$lt_nm_to_check nm"
5396
for lt_tmp_nm in $lt_nm_to_check; do
5397
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5398
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5400
test -z "$ac_dir" && ac_dir=.
5401
tmp_nm="$ac_dir/$lt_tmp_nm"
5402
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5403
# Check to see if the nm accepts a BSD-compat flag.
5404
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5405
# nm: unknown option "B" ignored
5406
# Tru64's nm complains that /dev/null is an invalid object file
5407
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5408
*/dev/null* | *'Invalid file or object type'*)
5409
lt_cv_path_NM="$tmp_nm -B"
5413
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5415
lt_cv_path_NM="$tmp_nm -p"
5419
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5420
continue # so that we can try to find one that supports BSD flags
5429
: ${lt_cv_path_NM=no}
5432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5433
$as_echo "$lt_cv_path_NM" >&6; }
5434
if test "$lt_cv_path_NM" != "no"; then
5437
# Didn't find any BSD compatible name lister, look for dumpbin.
5438
if test -n "$DUMPBIN"; then :
5439
# Let the user override the test.
5441
if test -n "$ac_tool_prefix"; then
5442
for ac_prog in dumpbin "link -dump"
5444
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5445
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5447
$as_echo_n "checking for $ac_word... " >&6; }
5448
if ${ac_cv_prog_DUMPBIN+:} false; then :
5449
$as_echo_n "(cached) " >&6
5451
if test -n "$DUMPBIN"; then
5452
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5454
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5458
test -z "$as_dir" && as_dir=.
5459
for ac_exec_ext in '' $ac_executable_extensions; do
5460
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5461
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5462
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5471
DUMPBIN=$ac_cv_prog_DUMPBIN
5472
if test -n "$DUMPBIN"; then
5473
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5474
$as_echo "$DUMPBIN" >&6; }
5476
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5477
$as_echo "no" >&6; }
5481
test -n "$DUMPBIN" && break
5484
if test -z "$DUMPBIN"; then
5485
ac_ct_DUMPBIN=$DUMPBIN
5486
for ac_prog in dumpbin "link -dump"
5488
# Extract the first word of "$ac_prog", so it can be a program name with args.
5489
set dummy $ac_prog; ac_word=$2
5490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5491
$as_echo_n "checking for $ac_word... " >&6; }
5492
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5493
$as_echo_n "(cached) " >&6
5495
if test -n "$ac_ct_DUMPBIN"; then
5496
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5498
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502
test -z "$as_dir" && as_dir=.
5503
for ac_exec_ext in '' $ac_executable_extensions; do
5504
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5505
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5506
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5515
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5516
if test -n "$ac_ct_DUMPBIN"; then
5517
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5518
$as_echo "$ac_ct_DUMPBIN" >&6; }
5520
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5521
$as_echo "no" >&6; }
5525
test -n "$ac_ct_DUMPBIN" && break
5528
if test "x$ac_ct_DUMPBIN" = x; then
5531
case $cross_compiling:$ac_tool_warned in
5533
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5534
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5535
ac_tool_warned=yes ;;
5537
DUMPBIN=$ac_ct_DUMPBIN
5541
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5543
DUMPBIN="$DUMPBIN -symbols"
5551
if test "$DUMPBIN" != ":"; then
5555
test -z "$NM" && NM=nm
5562
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5563
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5564
if ${lt_cv_nm_interface+:} false; then :
5565
$as_echo_n "(cached) " >&6
5567
lt_cv_nm_interface="BSD nm"
5568
echo "int some_variable = 0;" > conftest.$ac_ext
5569
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5570
(eval "$ac_compile" 2>conftest.err)
5571
cat conftest.err >&5
5572
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5573
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5574
cat conftest.err >&5
5575
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
5576
cat conftest.out >&5
5577
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5578
lt_cv_nm_interface="MS dumpbin"
5582
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5583
$as_echo "$lt_cv_nm_interface" >&6; }
5585
# find the maximum length of command line arguments
5586
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5587
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5588
if ${lt_cv_sys_max_cmd_len+:} false; then :
5589
$as_echo_n "(cached) " >&6
5596
# On DJGPP, this test can blow up pretty badly due to problems in libc
5597
# (any single argument exceeding 2000 bytes causes a buffer overrun
5598
# during glob expansion). Even if it were fixed, the result of this
5599
# check would be larger than it should be.
5600
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5604
# Under GNU Hurd, this test is not required because there is
5605
# no limit to the length of command line arguments.
5606
# Libtool will interpret -1 as no limit whatsoever
5607
lt_cv_sys_max_cmd_len=-1;
5610
cygwin* | mingw* | cegcc*)
5611
# On Win9x/ME, this test blows up -- it succeeds, but takes
5612
# about 5 minutes as the teststring grows exponentially.
5613
# Worse, since 9x/ME are not pre-emptively multitasking,
5614
# you end up with a "frozen" computer, even though with patience
5615
# the test eventually succeeds (with a max line length of 256k).
5616
# Instead, let's just punt: use the minimum linelength reported by
5617
# all of the supported platforms: 8192 (on NT/2K/XP).
5618
lt_cv_sys_max_cmd_len=8192;
5622
# On MiNT this can take a long time and run out of memory.
5623
lt_cv_sys_max_cmd_len=8192;
5627
# On AmigaOS with pdksh, this test takes hours, literally.
5628
# So we just punt and use a minimum line length of 8192.
5629
lt_cv_sys_max_cmd_len=8192;
5632
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5633
# This has been around since 386BSD, at least. Likely further.
5634
if test -x /sbin/sysctl; then
5635
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5636
elif test -x /usr/sbin/sysctl; then
5637
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5639
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5641
# And add a safety zone
5642
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5643
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5647
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5648
lt_cv_sys_max_cmd_len=196608
5652
# The test takes a long time on OS/2.
5653
lt_cv_sys_max_cmd_len=8192
5657
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5658
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5659
# nice to cause kernel panics so lets avoid the loop below.
5660
# First set a reasonable default.
5661
lt_cv_sys_max_cmd_len=16384
5663
if test -x /sbin/sysconfig; then
5664
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5665
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5670
lt_cv_sys_max_cmd_len=102400
5672
sysv5* | sco5v6* | sysv4.2uw2*)
5673
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5674
if test -n "$kargmax"; then
5675
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5677
lt_cv_sys_max_cmd_len=32768
5681
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5682
if test -n "$lt_cv_sys_max_cmd_len"; then
5683
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5684
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5686
# Make teststring a little bigger before we do anything with it.
5687
# a 1K string should be a reasonable start.
5688
for i in 1 2 3 4 5 6 7 8 ; do
5689
teststring=$teststring$teststring
5691
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5692
# If test is not a shell built-in, we'll probably end up computing a
5693
# maximum length that is only half of the actual maximum length, but
5695
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5696
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
5697
test $i != 17 # 1/2 MB should be enough
5700
teststring=$teststring$teststring
5702
# Only check the string length outside the loop.
5703
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5705
# Add a significant safety factor because C++ compilers can tack on
5706
# massive amounts of additional arguments before passing them to the
5707
# linker. It appears as though 1/2 is a usable value.
5708
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5715
if test -n $lt_cv_sys_max_cmd_len ; then
5716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5717
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5719
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5720
$as_echo "none" >&6; }
5722
max_cmd_len=$lt_cv_sys_max_cmd_len
5733
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5734
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5735
# Try some XSI features
5738
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5740
&& eval 'test $(( 1 + 1 )) -eq 2 \
5741
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5743
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5744
$as_echo "$xsi_shell" >&6; }
5747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5748
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5750
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5752
&& lt_shell_append=yes
5753
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5754
$as_echo "$lt_shell_append" >&6; }
5757
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5767
# test EBCDIC or ASCII
5768
case `echo X|tr X '\101'` in
5769
A) # ASCII based system
5770
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5771
lt_SP2NL='tr \040 \012'
5772
lt_NL2SP='tr \015\012 \040\040'
5774
*) # EBCDIC based system
5775
lt_SP2NL='tr \100 \n'
5776
lt_NL2SP='tr \r\n \100\100'
5788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5789
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5790
if ${lt_cv_to_host_file_cmd+:} false; then :
5791
$as_echo_n "(cached) " >&6
5796
*-*-mingw* ) # actually msys
5797
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5800
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5802
* ) # otherwise, assume *nix
5803
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5809
*-*-mingw* ) # actually msys
5810
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5813
lt_cv_to_host_file_cmd=func_convert_file_noop
5815
* ) # otherwise, assume *nix
5816
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5820
* ) # unhandled hosts (and "normal" native builds)
5821
lt_cv_to_host_file_cmd=func_convert_file_noop
5827
to_host_file_cmd=$lt_cv_to_host_file_cmd
5828
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5829
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5836
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5837
if ${lt_cv_to_tool_file_cmd+:} false; then :
5838
$as_echo_n "(cached) " >&6
5840
#assume ordinary cross tools, or native build.
5841
lt_cv_to_tool_file_cmd=func_convert_file_noop
5845
*-*-mingw* ) # actually msys
5846
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5854
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5855
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5856
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5863
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5864
if ${lt_cv_ld_reload_flag+:} false; then :
5865
$as_echo_n "(cached) " >&6
5867
lt_cv_ld_reload_flag='-r'
5869
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5870
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5871
reload_flag=$lt_cv_ld_reload_flag
5872
case $reload_flag in
5874
*) reload_flag=" $reload_flag" ;;
5876
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5878
cygwin* | mingw* | pw32* | cegcc*)
5879
if test "$GCC" != yes; then
5884
if test "$GCC" = yes; then
5885
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5887
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5900
if test -n "$ac_tool_prefix"; then
5901
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5902
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5904
$as_echo_n "checking for $ac_word... " >&6; }
5905
if ${ac_cv_prog_OBJDUMP+:} false; then :
5906
$as_echo_n "(cached) " >&6
5908
if test -n "$OBJDUMP"; then
5909
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5911
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5915
test -z "$as_dir" && as_dir=.
5916
for ac_exec_ext in '' $ac_executable_extensions; do
5917
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5918
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5919
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5928
OBJDUMP=$ac_cv_prog_OBJDUMP
5929
if test -n "$OBJDUMP"; then
5930
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5931
$as_echo "$OBJDUMP" >&6; }
5933
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5934
$as_echo "no" >&6; }
5939
if test -z "$ac_cv_prog_OBJDUMP"; then
5940
ac_ct_OBJDUMP=$OBJDUMP
5941
# Extract the first word of "objdump", so it can be a program name with args.
5942
set dummy objdump; ac_word=$2
5943
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5944
$as_echo_n "checking for $ac_word... " >&6; }
5945
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5946
$as_echo_n "(cached) " >&6
5948
if test -n "$ac_ct_OBJDUMP"; then
5949
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5951
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5955
test -z "$as_dir" && as_dir=.
5956
for ac_exec_ext in '' $ac_executable_extensions; do
5957
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5958
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5959
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5968
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5969
if test -n "$ac_ct_OBJDUMP"; then
5970
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5971
$as_echo "$ac_ct_OBJDUMP" >&6; }
5973
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5974
$as_echo "no" >&6; }
5977
if test "x$ac_ct_OBJDUMP" = x; then
5980
case $cross_compiling:$ac_tool_warned in
5982
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5983
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5984
ac_tool_warned=yes ;;
5986
OBJDUMP=$ac_ct_OBJDUMP
5989
OBJDUMP="$ac_cv_prog_OBJDUMP"
5992
test -z "$OBJDUMP" && OBJDUMP=objdump
6002
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6003
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6004
if ${lt_cv_deplibs_check_method+:} false; then :
6005
$as_echo_n "(cached) " >&6
6007
lt_cv_file_magic_cmd='$MAGIC_CMD'
6008
lt_cv_file_magic_test_file=
6009
lt_cv_deplibs_check_method='unknown'
6010
# Need to set the preceding variable on all platforms that support
6011
# interlibrary dependencies.
6012
# 'none' -- dependencies not supported.
6013
# `unknown' -- same as none, but documents that we really don't know.
6014
# 'pass_all' -- all dependencies passed with no checks.
6015
# 'test_compile' -- check by making test program.
6016
# 'file_magic [[regex]]' -- check by looking for files in library path
6017
# which responds to the $file_magic_cmd with a given extended regex.
6018
# If you have `file' or equivalent on your system and you're not sure
6019
# whether `pass_all' will *always* work, you probably want this one.
6023
lt_cv_deplibs_check_method=pass_all
6027
lt_cv_deplibs_check_method=pass_all
6031
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6032
lt_cv_file_magic_cmd='/usr/bin/file -L'
6033
lt_cv_file_magic_test_file=/shlib/libc.so
6037
# func_win32_libid is a shell function defined in ltmain.sh
6038
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6039
lt_cv_file_magic_cmd='func_win32_libid'
6043
# Base MSYS/MinGW do not provide the 'file' command needed by
6044
# func_win32_libid shell function, so use a weaker test based on 'objdump',
6045
# unless we find 'file', for example because we are cross-compiling.
6046
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6047
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6048
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6049
lt_cv_file_magic_cmd='func_win32_libid'
6051
# Keep this pattern in sync with the one in func_win32_libid.
6052
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6053
lt_cv_file_magic_cmd='$OBJDUMP -f'
6058
# use the weaker test based on 'objdump'. See mingw*.
6059
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6060
lt_cv_file_magic_cmd='$OBJDUMP -f'
6063
darwin* | rhapsody*)
6064
lt_cv_deplibs_check_method=pass_all
6067
freebsd* | dragonfly*)
6068
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6071
# Not sure whether the presence of OpenBSD here was a mistake.
6072
# Let's accept both of them until this is cleared up.
6073
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6074
lt_cv_file_magic_cmd=/usr/bin/file
6075
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6079
lt_cv_deplibs_check_method=pass_all
6084
lt_cv_deplibs_check_method=pass_all
6088
lt_cv_deplibs_check_method=pass_all
6091
hpux10.20* | hpux11*)
6092
lt_cv_file_magic_cmd=/usr/bin/file
6095
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6096
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6099
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]'
6100
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6103
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6104
lt_cv_file_magic_test_file=/usr/lib/libc.sl
6110
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6111
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6114
irix5* | irix6* | nonstopux*)
6116
*-32|*"-32 ") libmagic=32-bit;;
6117
*-n32|*"-n32 ") libmagic=N32;;
6118
*-64|*"-64 ") libmagic=64-bit;;
6119
*) libmagic=never-match;;
6121
lt_cv_deplibs_check_method=pass_all
6124
# This must be glibc/ELF.
6125
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6126
lt_cv_deplibs_check_method=pass_all
6129
netbsd* | netbsdelf*-gnu)
6130
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6131
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6133
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6138
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6139
lt_cv_file_magic_cmd=/usr/bin/file
6140
lt_cv_file_magic_test_file=/usr/lib/libnls.so
6144
lt_cv_deplibs_check_method=pass_all
6148
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6149
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6151
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6155
osf3* | osf4* | osf5*)
6156
lt_cv_deplibs_check_method=pass_all
6160
lt_cv_deplibs_check_method=pass_all
6164
lt_cv_deplibs_check_method=pass_all
6167
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6168
lt_cv_deplibs_check_method=pass_all
6172
case $host_vendor in
6174
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]'
6175
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6178
lt_cv_deplibs_check_method=pass_all
6181
lt_cv_file_magic_cmd='/bin/file'
6182
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6185
lt_cv_file_magic_cmd='/bin/file'
6186
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6187
lt_cv_file_magic_test_file=/lib/libc.so
6190
lt_cv_deplibs_check_method=pass_all
6193
lt_cv_deplibs_check_method=pass_all
6199
lt_cv_deplibs_check_method=pass_all
6204
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6205
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6209
if test "$build" = "$host"; then
6212
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6215
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6221
file_magic_cmd=$lt_cv_file_magic_cmd
6222
deplibs_check_method=$lt_cv_deplibs_check_method
6223
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6246
if test -n "$ac_tool_prefix"; then
6247
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6248
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6250
$as_echo_n "checking for $ac_word... " >&6; }
6251
if ${ac_cv_prog_DLLTOOL+:} false; then :
6252
$as_echo_n "(cached) " >&6
6254
if test -n "$DLLTOOL"; then
6255
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6257
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6261
test -z "$as_dir" && as_dir=.
6262
for ac_exec_ext in '' $ac_executable_extensions; do
6263
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6264
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6265
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6274
DLLTOOL=$ac_cv_prog_DLLTOOL
6275
if test -n "$DLLTOOL"; then
6276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6277
$as_echo "$DLLTOOL" >&6; }
6279
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6280
$as_echo "no" >&6; }
6285
if test -z "$ac_cv_prog_DLLTOOL"; then
6286
ac_ct_DLLTOOL=$DLLTOOL
6287
# Extract the first word of "dlltool", so it can be a program name with args.
6288
set dummy dlltool; ac_word=$2
6289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6290
$as_echo_n "checking for $ac_word... " >&6; }
6291
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6292
$as_echo_n "(cached) " >&6
6294
if test -n "$ac_ct_DLLTOOL"; then
6295
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6297
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6301
test -z "$as_dir" && as_dir=.
6302
for ac_exec_ext in '' $ac_executable_extensions; do
6303
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6304
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6305
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6314
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6315
if test -n "$ac_ct_DLLTOOL"; then
6316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6317
$as_echo "$ac_ct_DLLTOOL" >&6; }
6319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6320
$as_echo "no" >&6; }
6323
if test "x$ac_ct_DLLTOOL" = x; then
6326
case $cross_compiling:$ac_tool_warned in
6328
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6329
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6330
ac_tool_warned=yes ;;
6332
DLLTOOL=$ac_ct_DLLTOOL
6335
DLLTOOL="$ac_cv_prog_DLLTOOL"
6338
test -z "$DLLTOOL" && DLLTOOL=dlltool
6349
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6350
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6351
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6352
$as_echo_n "(cached) " >&6
6354
lt_cv_sharedlib_from_linklib_cmd='unknown'
6357
cygwin* | mingw* | pw32* | cegcc*)
6358
# two different shell functions defined in ltmain.sh
6359
# decide which to use based on capabilities of $DLLTOOL
6360
case `$DLLTOOL --help 2>&1` in
6361
*--identify-strict*)
6362
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6365
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6370
# fallback: assume linklib IS sharedlib
6371
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6377
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6378
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6379
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6388
if test -n "$ac_tool_prefix"; then
6391
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6392
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6393
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6394
$as_echo_n "checking for $ac_word... " >&6; }
6395
if ${ac_cv_prog_AR+:} false; then :
6396
$as_echo_n "(cached) " >&6
6398
if test -n "$AR"; then
6399
ac_cv_prog_AR="$AR" # Let the user override the test.
6401
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6405
test -z "$as_dir" && as_dir=.
6406
for ac_exec_ext in '' $ac_executable_extensions; do
6407
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6408
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6409
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6419
if test -n "$AR"; then
6420
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6421
$as_echo "$AR" >&6; }
6423
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6424
$as_echo "no" >&6; }
6428
test -n "$AR" && break
6431
if test -z "$AR"; then
6435
# Extract the first word of "$ac_prog", so it can be a program name with args.
6436
set dummy $ac_prog; ac_word=$2
6437
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6438
$as_echo_n "checking for $ac_word... " >&6; }
6439
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6440
$as_echo_n "(cached) " >&6
6442
if test -n "$ac_ct_AR"; then
6443
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6445
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6449
test -z "$as_dir" && as_dir=.
6450
for ac_exec_ext in '' $ac_executable_extensions; do
6451
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6452
ac_cv_prog_ac_ct_AR="$ac_prog"
6453
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6462
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6463
if test -n "$ac_ct_AR"; then
6464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6465
$as_echo "$ac_ct_AR" >&6; }
6467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6468
$as_echo "no" >&6; }
6472
test -n "$ac_ct_AR" && break
6475
if test "x$ac_ct_AR" = x; then
6478
case $cross_compiling:$ac_tool_warned in
6480
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6481
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6482
ac_tool_warned=yes ;;
6501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6502
$as_echo_n "checking for archiver @FILE support... " >&6; }
6503
if ${lt_cv_ar_at_file+:} false; then :
6504
$as_echo_n "(cached) " >&6
6507
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6508
/* end confdefs.h. */
6518
if ac_fn_c_try_compile "$LINENO"; then :
6519
echo conftest.$ac_objext > conftest.lst
6520
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6521
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6522
(eval $lt_ar_try) 2>&5
6524
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6525
test $ac_status = 0; }
6526
if test "$ac_status" -eq 0; then
6527
# Ensure the archiver fails upon bogus file names.
6528
rm -f conftest.$ac_objext libconftest.a
6529
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6530
(eval $lt_ar_try) 2>&5
6532
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6533
test $ac_status = 0; }
6534
if test "$ac_status" -ne 0; then
6538
rm -f conftest.* libconftest.a
6541
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6545
$as_echo "$lt_cv_ar_at_file" >&6; }
6547
if test "x$lt_cv_ar_at_file" = xno; then
6550
archiver_list_spec=$lt_cv_ar_at_file
6559
if test -n "$ac_tool_prefix"; then
6560
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6561
set dummy ${ac_tool_prefix}strip; ac_word=$2
6562
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6563
$as_echo_n "checking for $ac_word... " >&6; }
6564
if ${ac_cv_prog_STRIP+:} false; then :
6565
$as_echo_n "(cached) " >&6
6567
if test -n "$STRIP"; then
6568
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6570
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6574
test -z "$as_dir" && as_dir=.
6575
for ac_exec_ext in '' $ac_executable_extensions; do
6576
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6577
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6578
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6587
STRIP=$ac_cv_prog_STRIP
6588
if test -n "$STRIP"; then
6589
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6590
$as_echo "$STRIP" >&6; }
6592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6593
$as_echo "no" >&6; }
6598
if test -z "$ac_cv_prog_STRIP"; then
6600
# Extract the first word of "strip", so it can be a program name with args.
6601
set dummy strip; ac_word=$2
6602
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6603
$as_echo_n "checking for $ac_word... " >&6; }
6604
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6605
$as_echo_n "(cached) " >&6
6607
if test -n "$ac_ct_STRIP"; then
6608
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6610
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6614
test -z "$as_dir" && as_dir=.
6615
for ac_exec_ext in '' $ac_executable_extensions; do
6616
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6617
ac_cv_prog_ac_ct_STRIP="strip"
6618
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6627
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6628
if test -n "$ac_ct_STRIP"; then
6629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6630
$as_echo "$ac_ct_STRIP" >&6; }
6632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6633
$as_echo "no" >&6; }
6636
if test "x$ac_ct_STRIP" = x; then
6639
case $cross_compiling:$ac_tool_warned in
6641
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6642
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6643
ac_tool_warned=yes ;;
6648
STRIP="$ac_cv_prog_STRIP"
6651
test -z "$STRIP" && STRIP=:
6658
if test -n "$ac_tool_prefix"; then
6659
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6660
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6662
$as_echo_n "checking for $ac_word... " >&6; }
6663
if ${ac_cv_prog_RANLIB+:} false; then :
6664
$as_echo_n "(cached) " >&6
6666
if test -n "$RANLIB"; then
6667
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6669
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6673
test -z "$as_dir" && as_dir=.
6674
for ac_exec_ext in '' $ac_executable_extensions; do
6675
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6676
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6677
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6686
RANLIB=$ac_cv_prog_RANLIB
6687
if test -n "$RANLIB"; then
6688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6689
$as_echo "$RANLIB" >&6; }
6691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6692
$as_echo "no" >&6; }
6697
if test -z "$ac_cv_prog_RANLIB"; then
6698
ac_ct_RANLIB=$RANLIB
6699
# Extract the first word of "ranlib", so it can be a program name with args.
6700
set dummy ranlib; ac_word=$2
6701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6702
$as_echo_n "checking for $ac_word... " >&6; }
6703
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6704
$as_echo_n "(cached) " >&6
6706
if test -n "$ac_ct_RANLIB"; then
6707
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6709
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6713
test -z "$as_dir" && as_dir=.
6714
for ac_exec_ext in '' $ac_executable_extensions; do
6715
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6716
ac_cv_prog_ac_ct_RANLIB="ranlib"
6717
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6726
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6727
if test -n "$ac_ct_RANLIB"; then
6728
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6729
$as_echo "$ac_ct_RANLIB" >&6; }
6731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6732
$as_echo "no" >&6; }
6735
if test "x$ac_ct_RANLIB" = x; then
6738
case $cross_compiling:$ac_tool_warned in
6740
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6741
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6742
ac_tool_warned=yes ;;
6744
RANLIB=$ac_ct_RANLIB
6747
RANLIB="$ac_cv_prog_RANLIB"
6750
test -z "$RANLIB" && RANLIB=:
6757
# Determine commands to create old-style static archives.
6758
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6759
old_postinstall_cmds='chmod 644 $oldlib'
6760
old_postuninstall_cmds=
6762
if test -n "$RANLIB"; then
6765
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6768
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6771
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6776
lock_old_archive_extraction=yes ;;
6778
lock_old_archive_extraction=no ;;
6819
# If no C compiler was specified, use CC.
6822
# If no C compiler flags were specified, use CFLAGS.
6823
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6825
# Allow CC to be a program name with arguments.
6829
# Check for command to grab the raw symbol name followed by C symbol from nm.
6830
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6831
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6832
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6833
$as_echo_n "(cached) " >&6
6836
# These are sane defaults that work on at least a few old systems.
6837
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6839
# Character class describing NM global symbol codes.
6840
symcode='[BCDEGRST]'
6842
# Regexp to match symbols that can be accessed directly from C.
6843
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6845
# Define system-specific variables.
6850
cygwin* | mingw* | pw32* | cegcc*)
6851
symcode='[ABCDGISTW]'
6854
if test "$host_cpu" = ia64; then
6855
symcode='[ABCDEGRST]'
6859
symcode='[BCDEGRST]'
6862
symcode='[BCDEGQRST]'
6873
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6881
# If we're using GNU nm, then use its standard symbol codes.
6882
case `$NM -V 2>&1` in
6883
*GNU* | *'with BFD'*)
6884
symcode='[ABCDGIRSTW]' ;;
6887
# Transform an extracted symbol line into a proper C declaration.
6888
# Some systems (esp. on ia64) link data and code symbols differently,
6889
# so use this general approach.
6890
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6892
# Transform an extracted symbol line into symbol name and symbol address
6893
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6894
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'"
6896
# Handle CRLF in mingw tool chain
6900
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6904
# Try without a prefix underscore, then with it.
6905
for ac_symprfx in "" "_"; do
6907
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6908
symxfrm="\\1 $ac_symprfx\\2 \\2"
6910
# Write the raw and C identifiers.
6911
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6912
# Fake it for dumpbin and say T for any non-static function
6913
# and D for any global variable.
6914
# Also find C++ and __fastcall symbols from MSVC++,
6915
# which start with @ or ?.
6916
lt_cv_sys_global_symbol_pipe="$AWK '"\
6917
" {last_section=section; section=\$ 3};"\
6918
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6919
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6920
" \$ 0!~/External *\|/{next};"\
6921
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6922
" {if(hide[section]) next};"\
6923
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6924
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6925
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6926
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6927
" ' prfx=^$ac_symprfx"
6929
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6931
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6933
# Check to see that the pipe works correctly.
6937
cat > conftest.$ac_ext <<_LT_EOF
6942
void nm_test_func(void);
6943
void nm_test_func(void){}
6947
int main(){nm_test_var='a';nm_test_func();return(0);}
6950
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6951
(eval $ac_compile) 2>&5
6953
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6954
test $ac_status = 0; }; then
6955
# Now try to grab the symbols.
6957
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6958
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6960
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6961
test $ac_status = 0; } && test -s "$nlist"; then
6962
# Try sorting and uniquifying the output.
6963
if sort "$nlist" | uniq > "$nlist"T; then
6964
mv -f "$nlist"T "$nlist"
6969
# Make sure that we snagged all the symbols we need.
6970
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6971
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6972
cat <<_LT_EOF > conftest.$ac_ext
6973
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6974
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6975
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6976
relocations are performed -- see ld's documentation on pseudo-relocs. */
6977
# define LT_DLSYM_CONST
6978
#elif defined(__osf__)
6979
/* This system does not cope well with relocations in const data. */
6980
# define LT_DLSYM_CONST
6982
# define LT_DLSYM_CONST const
6990
# Now generate the symbol file.
6991
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6993
cat <<_LT_EOF >> conftest.$ac_ext
6995
/* The mapping between symbol names and symbols. */
6996
LT_DLSYM_CONST struct {
7000
lt__PROGRAM__LTX_preloaded_symbols[] =
7002
{ "@PROGRAM@", (void *) 0 },
7004
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7005
cat <<\_LT_EOF >> conftest.$ac_ext
7009
/* This works around a problem in FreeBSD linker */
7010
#ifdef FREEBSD_WORKAROUND
7011
static const void *lt_preloaded_setup() {
7012
return lt__PROGRAM__LTX_preloaded_symbols;
7020
# Now try linking the two files.
7021
mv conftest.$ac_objext conftstm.$ac_objext
7022
lt_globsym_save_LIBS=$LIBS
7023
lt_globsym_save_CFLAGS=$CFLAGS
7024
LIBS="conftstm.$ac_objext"
7025
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7026
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7027
(eval $ac_link) 2>&5
7029
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7030
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7033
LIBS=$lt_globsym_save_LIBS
7034
CFLAGS=$lt_globsym_save_CFLAGS
7036
echo "cannot find nm_test_func in $nlist" >&5
7039
echo "cannot find nm_test_var in $nlist" >&5
7042
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7045
echo "$progname: failed program was:" >&5
7046
cat conftest.$ac_ext >&5
7048
rm -rf conftest* conftst*
7050
# Do not use the global_symbol_pipe unless it works.
7051
if test "$pipe_works" = yes; then
7054
lt_cv_sys_global_symbol_pipe=
7060
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7061
lt_cv_sys_global_symbol_to_cdecl=
7063
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7065
$as_echo "failed" >&6; }
7067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7068
$as_echo "ok" >&6; }
7071
# Response file support.
7072
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7073
nm_file_list_spec='@'
7074
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7075
nm_file_list_spec='@'
7104
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7105
$as_echo_n "checking for sysroot... " >&6; }
7107
# Check whether --with-sysroot was given.
7108
if test "${with_sysroot+set}" = set; then :
7109
withval=$with_sysroot;
7116
case ${with_sysroot} in #(
7118
if test "$GCC" = yes; then
7119
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7123
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7129
$as_echo "${with_sysroot}" >&6; }
7130
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7134
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7135
$as_echo "${lt_sysroot:-no}" >&6; }
7141
# Check whether --enable-libtool-lock was given.
7142
if test "${enable_libtool_lock+set}" = set; then :
7143
enableval=$enable_libtool_lock;
7146
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7148
# Some flags need to be propagated to the compiler or linker for good
7152
# Find out which ABI we are using.
7153
echo 'int i;' > conftest.$ac_ext
7154
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7155
(eval $ac_compile) 2>&5
7157
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7158
test $ac_status = 0; }; then
7159
case `/usr/bin/file conftest.$ac_objext` in
7171
# Find out which ABI we are using.
7172
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7173
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7174
(eval $ac_compile) 2>&5
7176
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7177
test $ac_status = 0; }; then
7178
if test "$lt_cv_prog_gnu_ld" = yes; then
7179
case `/usr/bin/file conftest.$ac_objext` in
7181
LD="${LD-ld} -melf32bsmip"
7184
LD="${LD-ld} -melf32bmipn32"
7187
LD="${LD-ld} -melf64bmip"
7191
case `/usr/bin/file conftest.$ac_objext` in
7207
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7208
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7209
# Find out which ABI we are using.
7210
echo 'int i;' > conftest.$ac_ext
7211
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7212
(eval $ac_compile) 2>&5
7214
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7215
test $ac_status = 0; }; then
7216
case `/usr/bin/file conftest.o` in
7219
x86_64-*kfreebsd*-gnu)
7220
LD="${LD-ld} -m elf_i386_fbsd"
7223
LD="${LD-ld} -m elf_i386"
7225
ppc64-*linux*|powerpc64-*linux*)
7226
LD="${LD-ld} -m elf32ppclinux"
7229
LD="${LD-ld} -m elf_s390"
7232
LD="${LD-ld} -m elf32_sparc"
7238
x86_64-*kfreebsd*-gnu)
7239
LD="${LD-ld} -m elf_x86_64_fbsd"
7242
LD="${LD-ld} -m elf_x86_64"
7244
ppc*-*linux*|powerpc*-*linux*)
7245
LD="${LD-ld} -m elf64ppc"
7247
s390*-*linux*|s390*-*tpf*)
7248
LD="${LD-ld} -m elf64_s390"
7251
LD="${LD-ld} -m elf64_sparc"
7261
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
7262
SAVE_CFLAGS="$CFLAGS"
7263
CFLAGS="$CFLAGS -belf"
7264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7265
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7266
if ${lt_cv_cc_needs_belf+:} false; then :
7267
$as_echo_n "(cached) " >&6
7270
ac_cpp='$CPP $CPPFLAGS'
7271
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7272
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7273
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7275
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276
/* end confdefs.h. */
7286
if ac_fn_c_try_link "$LINENO"; then :
7287
lt_cv_cc_needs_belf=yes
7289
lt_cv_cc_needs_belf=no
7291
rm -f core conftest.err conftest.$ac_objext \
7292
conftest$ac_exeext conftest.$ac_ext
7294
ac_cpp='$CPP $CPPFLAGS'
7295
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7296
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7297
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7300
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7301
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7302
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7303
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7304
CFLAGS="$SAVE_CFLAGS"
7308
# Find out which ABI we are using.
7309
echo 'int i;' > conftest.$ac_ext
7310
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7311
(eval $ac_compile) 2>&5
7313
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7314
test $ac_status = 0; }; then
7315
case `/usr/bin/file conftest.o` in
7317
case $lt_cv_prog_gnu_ld in
7321
LD="${LD-ld} -m elf_x86_64"
7324
LD="${LD-ld} -m elf64_sparc"
7327
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7328
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7333
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7345
need_locks="$enable_libtool_lock"
7347
if test -n "$ac_tool_prefix"; then
7348
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7349
set dummy ${ac_tool_prefix}mt; ac_word=$2
7350
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7351
$as_echo_n "checking for $ac_word... " >&6; }
7352
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7353
$as_echo_n "(cached) " >&6
7355
if test -n "$MANIFEST_TOOL"; then
7356
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7358
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7362
test -z "$as_dir" && as_dir=.
7363
for ac_exec_ext in '' $ac_executable_extensions; do
7364
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7365
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7366
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7375
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7376
if test -n "$MANIFEST_TOOL"; then
7377
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7378
$as_echo "$MANIFEST_TOOL" >&6; }
7380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7381
$as_echo "no" >&6; }
7386
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7387
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7388
# Extract the first word of "mt", so it can be a program name with args.
7389
set dummy mt; ac_word=$2
7390
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7391
$as_echo_n "checking for $ac_word... " >&6; }
7392
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7393
$as_echo_n "(cached) " >&6
7395
if test -n "$ac_ct_MANIFEST_TOOL"; then
7396
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7398
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7402
test -z "$as_dir" && as_dir=.
7403
for ac_exec_ext in '' $ac_executable_extensions; do
7404
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7405
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7406
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7415
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7416
if test -n "$ac_ct_MANIFEST_TOOL"; then
7417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7418
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7420
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7421
$as_echo "no" >&6; }
7424
if test "x$ac_ct_MANIFEST_TOOL" = x; then
7427
case $cross_compiling:$ac_tool_warned in
7429
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7430
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7431
ac_tool_warned=yes ;;
7433
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7436
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7439
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7441
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7442
if ${lt_cv_path_mainfest_tool+:} false; then :
7443
$as_echo_n "(cached) " >&6
7445
lt_cv_path_mainfest_tool=no
7446
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7447
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7448
cat conftest.err >&5
7449
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7450
lt_cv_path_mainfest_tool=yes
7454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7455
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7456
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7466
rhapsody* | darwin*)
7467
if test -n "$ac_tool_prefix"; then
7468
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7469
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7470
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7471
$as_echo_n "checking for $ac_word... " >&6; }
7472
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7473
$as_echo_n "(cached) " >&6
7475
if test -n "$DSYMUTIL"; then
7476
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7478
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482
test -z "$as_dir" && as_dir=.
7483
for ac_exec_ext in '' $ac_executable_extensions; do
7484
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7485
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7486
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7495
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7496
if test -n "$DSYMUTIL"; then
7497
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7498
$as_echo "$DSYMUTIL" >&6; }
7500
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7501
$as_echo "no" >&6; }
7506
if test -z "$ac_cv_prog_DSYMUTIL"; then
7507
ac_ct_DSYMUTIL=$DSYMUTIL
7508
# Extract the first word of "dsymutil", so it can be a program name with args.
7509
set dummy dsymutil; ac_word=$2
7510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7511
$as_echo_n "checking for $ac_word... " >&6; }
7512
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7513
$as_echo_n "(cached) " >&6
7515
if test -n "$ac_ct_DSYMUTIL"; then
7516
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7518
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7522
test -z "$as_dir" && as_dir=.
7523
for ac_exec_ext in '' $ac_executable_extensions; do
7524
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7525
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7526
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7535
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7536
if test -n "$ac_ct_DSYMUTIL"; then
7537
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7538
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7541
$as_echo "no" >&6; }
7544
if test "x$ac_ct_DSYMUTIL" = x; then
7547
case $cross_compiling:$ac_tool_warned in
7549
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7550
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7551
ac_tool_warned=yes ;;
7553
DSYMUTIL=$ac_ct_DSYMUTIL
7556
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7559
if test -n "$ac_tool_prefix"; then
7560
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7561
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7562
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7563
$as_echo_n "checking for $ac_word... " >&6; }
7564
if ${ac_cv_prog_NMEDIT+:} false; then :
7565
$as_echo_n "(cached) " >&6
7567
if test -n "$NMEDIT"; then
7568
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7570
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7574
test -z "$as_dir" && as_dir=.
7575
for ac_exec_ext in '' $ac_executable_extensions; do
7576
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7577
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7578
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7587
NMEDIT=$ac_cv_prog_NMEDIT
7588
if test -n "$NMEDIT"; then
7589
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7590
$as_echo "$NMEDIT" >&6; }
7592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7593
$as_echo "no" >&6; }
7598
if test -z "$ac_cv_prog_NMEDIT"; then
7599
ac_ct_NMEDIT=$NMEDIT
7600
# Extract the first word of "nmedit", so it can be a program name with args.
7601
set dummy nmedit; ac_word=$2
7602
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7603
$as_echo_n "checking for $ac_word... " >&6; }
7604
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7605
$as_echo_n "(cached) " >&6
7607
if test -n "$ac_ct_NMEDIT"; then
7608
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7610
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7614
test -z "$as_dir" && as_dir=.
7615
for ac_exec_ext in '' $ac_executable_extensions; do
7616
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7617
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7618
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7627
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7628
if test -n "$ac_ct_NMEDIT"; then
7629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7630
$as_echo "$ac_ct_NMEDIT" >&6; }
7632
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7633
$as_echo "no" >&6; }
7636
if test "x$ac_ct_NMEDIT" = x; then
7639
case $cross_compiling:$ac_tool_warned in
7641
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7642
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7643
ac_tool_warned=yes ;;
7645
NMEDIT=$ac_ct_NMEDIT
7648
NMEDIT="$ac_cv_prog_NMEDIT"
7651
if test -n "$ac_tool_prefix"; then
7652
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7653
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7655
$as_echo_n "checking for $ac_word... " >&6; }
7656
if ${ac_cv_prog_LIPO+:} false; then :
7657
$as_echo_n "(cached) " >&6
7659
if test -n "$LIPO"; then
7660
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7662
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7666
test -z "$as_dir" && as_dir=.
7667
for ac_exec_ext in '' $ac_executable_extensions; do
7668
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7669
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7670
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7679
LIPO=$ac_cv_prog_LIPO
7680
if test -n "$LIPO"; then
7681
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7682
$as_echo "$LIPO" >&6; }
7684
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7685
$as_echo "no" >&6; }
7690
if test -z "$ac_cv_prog_LIPO"; then
7692
# Extract the first word of "lipo", so it can be a program name with args.
7693
set dummy lipo; ac_word=$2
7694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7695
$as_echo_n "checking for $ac_word... " >&6; }
7696
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7697
$as_echo_n "(cached) " >&6
7699
if test -n "$ac_ct_LIPO"; then
7700
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7702
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7706
test -z "$as_dir" && as_dir=.
7707
for ac_exec_ext in '' $ac_executable_extensions; do
7708
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7709
ac_cv_prog_ac_ct_LIPO="lipo"
7710
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7719
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7720
if test -n "$ac_ct_LIPO"; then
7721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7722
$as_echo "$ac_ct_LIPO" >&6; }
7724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7725
$as_echo "no" >&6; }
7728
if test "x$ac_ct_LIPO" = x; then
7731
case $cross_compiling:$ac_tool_warned in
7733
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7734
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7735
ac_tool_warned=yes ;;
7740
LIPO="$ac_cv_prog_LIPO"
7743
if test -n "$ac_tool_prefix"; then
7744
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7745
set dummy ${ac_tool_prefix}otool; ac_word=$2
7746
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7747
$as_echo_n "checking for $ac_word... " >&6; }
7748
if ${ac_cv_prog_OTOOL+:} false; then :
7749
$as_echo_n "(cached) " >&6
7751
if test -n "$OTOOL"; then
7752
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7754
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7758
test -z "$as_dir" && as_dir=.
7759
for ac_exec_ext in '' $ac_executable_extensions; do
7760
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7761
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7762
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7771
OTOOL=$ac_cv_prog_OTOOL
7772
if test -n "$OTOOL"; then
7773
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7774
$as_echo "$OTOOL" >&6; }
7776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7777
$as_echo "no" >&6; }
7782
if test -z "$ac_cv_prog_OTOOL"; then
7784
# Extract the first word of "otool", so it can be a program name with args.
7785
set dummy otool; ac_word=$2
7786
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7787
$as_echo_n "checking for $ac_word... " >&6; }
7788
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7789
$as_echo_n "(cached) " >&6
7791
if test -n "$ac_ct_OTOOL"; then
7792
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7794
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7798
test -z "$as_dir" && as_dir=.
7799
for ac_exec_ext in '' $ac_executable_extensions; do
7800
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7801
ac_cv_prog_ac_ct_OTOOL="otool"
7802
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7811
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7812
if test -n "$ac_ct_OTOOL"; then
7813
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7814
$as_echo "$ac_ct_OTOOL" >&6; }
7816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7817
$as_echo "no" >&6; }
7820
if test "x$ac_ct_OTOOL" = x; then
7823
case $cross_compiling:$ac_tool_warned in
7825
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7826
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7827
ac_tool_warned=yes ;;
7832
OTOOL="$ac_cv_prog_OTOOL"
7835
if test -n "$ac_tool_prefix"; then
7836
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7837
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7839
$as_echo_n "checking for $ac_word... " >&6; }
7840
if ${ac_cv_prog_OTOOL64+:} false; then :
7841
$as_echo_n "(cached) " >&6
7843
if test -n "$OTOOL64"; then
7844
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7846
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7850
test -z "$as_dir" && as_dir=.
7851
for ac_exec_ext in '' $ac_executable_extensions; do
7852
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7853
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7854
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7863
OTOOL64=$ac_cv_prog_OTOOL64
7864
if test -n "$OTOOL64"; then
7865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7866
$as_echo "$OTOOL64" >&6; }
7868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7869
$as_echo "no" >&6; }
7874
if test -z "$ac_cv_prog_OTOOL64"; then
7875
ac_ct_OTOOL64=$OTOOL64
7876
# Extract the first word of "otool64", so it can be a program name with args.
7877
set dummy otool64; ac_word=$2
7878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7879
$as_echo_n "checking for $ac_word... " >&6; }
7880
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7881
$as_echo_n "(cached) " >&6
7883
if test -n "$ac_ct_OTOOL64"; then
7884
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7886
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7890
test -z "$as_dir" && as_dir=.
7891
for ac_exec_ext in '' $ac_executable_extensions; do
7892
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7893
ac_cv_prog_ac_ct_OTOOL64="otool64"
7894
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7903
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7904
if test -n "$ac_ct_OTOOL64"; then
7905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7906
$as_echo "$ac_ct_OTOOL64" >&6; }
7908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7909
$as_echo "no" >&6; }
7912
if test "x$ac_ct_OTOOL64" = x; then
7915
case $cross_compiling:$ac_tool_warned in
7917
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7918
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7919
ac_tool_warned=yes ;;
7921
OTOOL64=$ac_ct_OTOOL64
7924
OTOOL64="$ac_cv_prog_OTOOL64"
7953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7954
$as_echo_n "checking for -single_module linker flag... " >&6; }
7955
if ${lt_cv_apple_cc_single_mod+:} false; then :
7956
$as_echo_n "(cached) " >&6
7958
lt_cv_apple_cc_single_mod=no
7959
if test -z "${LT_MULTI_MODULE}"; then
7960
# By default we will add the -single_module flag. You can override
7961
# by either setting the environment variable LT_MULTI_MODULE
7962
# non-empty at configure time, or by adding -multi_module to the
7964
rm -rf libconftest.dylib*
7965
echo "int foo(void){return 1;}" > conftest.c
7966
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7967
-dynamiclib -Wl,-single_module conftest.c" >&5
7968
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7969
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7971
# If there is a non-empty error log, and "single_module"
7972
# appears in it, assume the flag caused a linker warning
7973
if test -s conftest.err && $GREP single_module conftest.err; then
7974
cat conftest.err >&5
7975
# Otherwise, if the output was created with a 0 exit code from
7976
# the compiler, it worked.
7977
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7978
lt_cv_apple_cc_single_mod=yes
7980
cat conftest.err >&5
7982
rm -rf libconftest.dylib*
7986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7987
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7990
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7991
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7992
$as_echo_n "(cached) " >&6
7994
lt_cv_ld_exported_symbols_list=no
7995
save_LDFLAGS=$LDFLAGS
7996
echo "_main" > conftest.sym
7997
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7998
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7999
/* end confdefs.h. */
8009
if ac_fn_c_try_link "$LINENO"; then :
8010
lt_cv_ld_exported_symbols_list=yes
8012
lt_cv_ld_exported_symbols_list=no
8014
rm -f core conftest.err conftest.$ac_objext \
8015
conftest$ac_exeext conftest.$ac_ext
8016
LDFLAGS="$save_LDFLAGS"
8019
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8020
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8022
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8023
$as_echo_n "checking for -force_load linker flag... " >&6; }
8024
if ${lt_cv_ld_force_load+:} false; then :
8025
$as_echo_n "(cached) " >&6
8027
lt_cv_ld_force_load=no
8028
cat > conftest.c << _LT_EOF
8029
int forced_loaded() { return 2;}
8031
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8032
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8033
echo "$AR cru libconftest.a conftest.o" >&5
8034
$AR cru libconftest.a conftest.o 2>&5
8035
echo "$RANLIB libconftest.a" >&5
8036
$RANLIB libconftest.a 2>&5
8037
cat > conftest.c << _LT_EOF
8038
int main() { return 0;}
8040
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8041
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8043
if test -s conftest.err && $GREP force_load conftest.err; then
8044
cat conftest.err >&5
8045
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8046
lt_cv_ld_force_load=yes
8048
cat conftest.err >&5
8050
rm -f conftest.err libconftest.a conftest conftest.c
8051
rm -rf conftest.dSYM
8054
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8055
$as_echo "$lt_cv_ld_force_load" >&6; }
8057
rhapsody* | darwin1.[012])
8058
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8060
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8061
darwin*) # darwin 5.x on
8062
# if running on 10.5 or later, the deployment target defaults
8063
# to the OS version, if on x86, and 10.4, the deployment
8064
# target defaults to 10.4. Don't you love it?
8065
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8066
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8067
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8069
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8071
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8075
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8076
_lt_dar_single_mod='$single_module'
8078
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8079
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8081
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8083
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8084
_lt_dsymutil='~$DSYMUTIL $lib || :'
8092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8093
$as_echo_n "checking for ANSI C header files... " >&6; }
8094
if ${ac_cv_header_stdc+:} false; then :
8095
$as_echo_n "(cached) " >&6
8097
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8098
/* end confdefs.h. */
8112
if ac_fn_c_try_compile "$LINENO"; then :
8113
ac_cv_header_stdc=yes
8115
ac_cv_header_stdc=no
8117
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8119
if test $ac_cv_header_stdc = yes; then
8120
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8121
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8122
/* end confdefs.h. */
8126
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8127
$EGREP "memchr" >/dev/null 2>&1; then :
8130
ac_cv_header_stdc=no
8136
if test $ac_cv_header_stdc = yes; then
8137
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8138
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8139
/* end confdefs.h. */
8143
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8144
$EGREP "free" >/dev/null 2>&1; then :
8147
ac_cv_header_stdc=no
8153
if test $ac_cv_header_stdc = yes; then
8154
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8155
if test "$cross_compiling" = yes; then :
8158
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8159
/* end confdefs.h. */
8162
#if ((' ' & 0x0FF) == 0x020)
8163
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8164
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8166
# define ISLOWER(c) \
8167
(('a' <= (c) && (c) <= 'i') \
8168
|| ('j' <= (c) && (c) <= 'r') \
8169
|| ('s' <= (c) && (c) <= 'z'))
8170
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8173
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8178
for (i = 0; i < 256; i++)
8179
if (XOR (islower (i), ISLOWER (i))
8180
|| toupper (i) != TOUPPER (i))
8185
if ac_fn_c_try_run "$LINENO"; then :
8188
ac_cv_header_stdc=no
8190
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8191
conftest.$ac_objext conftest.beam conftest.$ac_ext
8196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8197
$as_echo "$ac_cv_header_stdc" >&6; }
8198
if test $ac_cv_header_stdc = yes; then
8200
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8204
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8205
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8206
inttypes.h stdint.h unistd.h
8208
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8209
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8211
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8212
cat >>confdefs.h <<_ACEOF
8213
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8221
for ac_header in dlfcn.h
8223
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8225
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8226
cat >>confdefs.h <<_ACEOF
8227
#define HAVE_DLFCN_H 1
8237
func_stripname_cnf ()
8240
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8241
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8243
} # func_stripname_cnf
8259
# Check whether --enable-shared was given.
8260
if test "${enable_shared+set}" = set; then :
8261
enableval=$enable_shared; p=${PACKAGE-default}
8263
yes) enable_shared=yes ;;
8264
no) enable_shared=no ;;
8267
# Look at the argument we got. We use all the common list separators.
8268
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8269
for pkg in $enableval; do
8271
if test "X$pkg" = "X$p"; then
8290
# Check whether --enable-static was given.
8291
if test "${enable_static+set}" = set; then :
8292
enableval=$enable_static; p=${PACKAGE-default}
8294
yes) enable_static=yes ;;
8295
no) enable_static=no ;;
8298
# Look at the argument we got. We use all the common list separators.
8299
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8300
for pkg in $enableval; do
8302
if test "X$pkg" = "X$p"; then
8322
# Check whether --with-pic was given.
8323
if test "${with_pic+set}" = set; then :
8324
withval=$with_pic; lt_p=${PACKAGE-default}
8326
yes|no) pic_mode=$withval ;;
8329
# Look at the argument we got. We use all the common list separators.
8330
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8331
for lt_pkg in $withval; do
8333
if test "X$lt_pkg" = "X$lt_p"; then
8345
test -z "$pic_mode" && pic_mode=default
8353
# Check whether --enable-fast-install was given.
8354
if test "${enable_fast_install+set}" = set; then :
8355
enableval=$enable_fast_install; p=${PACKAGE-default}
8357
yes) enable_fast_install=yes ;;
8358
no) enable_fast_install=no ;;
8360
enable_fast_install=no
8361
# Look at the argument we got. We use all the common list separators.
8362
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8363
for pkg in $enableval; do
8365
if test "X$pkg" = "X$p"; then
8366
enable_fast_install=yes
8373
enable_fast_install=yes
8386
# This can be used to rebuild libtool when needed
8387
LIBTOOL_DEPS="$ltmain"
8389
# Always use our own libtool.
8390
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8421
test -z "$LN_S" && LN_S="ln -s"
8436
if test -n "${ZSH_VERSION+set}" ; then
8437
setopt NO_GLOB_SUBST
8440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8441
$as_echo_n "checking for objdir... " >&6; }
8442
if ${lt_cv_objdir+:} false; then :
8443
$as_echo_n "(cached) " >&6
8445
rm -f .libs 2>/dev/null
8446
mkdir .libs 2>/dev/null
8447
if test -d .libs; then
8450
# MS-DOS does not allow filenames that begin with a dot.
8453
rmdir .libs 2>/dev/null
8455
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8456
$as_echo "$lt_cv_objdir" >&6; }
8457
objdir=$lt_cv_objdir
8463
cat >>confdefs.h <<_ACEOF
8464
#define LT_OBJDIR "$lt_cv_objdir/"
8472
# AIX sometimes has problems with the GCC collect2 program. For some
8473
# reason, if we set the COLLECT_NAMES environment variable, the problems
8474
# vanish in a puff of smoke.
8475
if test "X${COLLECT_NAMES+set}" != Xset; then
8477
export COLLECT_NAMES
8484
can_build_shared=yes
8486
# All known linkers require a `.a' archive for static linking (except MSVC,
8487
# which needs '.lib').
8490
with_gnu_ld="$lt_cv_prog_gnu_ld"
8493
old_CFLAGS="$CFLAGS"
8495
# Set sane defaults for various variables
8496
test -z "$CC" && CC=cc
8497
test -z "$LTCC" && LTCC=$CC
8498
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8499
test -z "$LD" && LD=ld
8500
test -z "$ac_objext" && ac_objext=o
8502
for cc_temp in $compiler""; do
8504
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8505
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8510
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8513
# Only perform the check for file, if the check method requires it
8514
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8515
case $deplibs_check_method in
8517
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8518
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8519
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8520
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8521
$as_echo_n "(cached) " >&6
8525
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8528
lt_save_MAGIC_CMD="$MAGIC_CMD"
8529
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8530
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8531
for ac_dir in $ac_dummy; do
8533
test -z "$ac_dir" && ac_dir=.
8534
if test -f $ac_dir/${ac_tool_prefix}file; then
8535
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8536
if test -n "$file_magic_test_file"; then
8537
case $deplibs_check_method in
8539
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8540
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8541
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8542
$EGREP "$file_magic_regex" > /dev/null; then
8547
*** Warning: the command libtool uses to detect shared libraries,
8548
*** $file_magic_cmd, produces output that libtool cannot recognize.
8549
*** The result is that libtool may fail to recognize shared libraries
8550
*** as such. This will affect the creation of libtool libraries that
8551
*** depend on shared libraries, but programs linked with such libtool
8552
*** libraries will work regardless of this problem. Nevertheless, you
8553
*** may want to report the problem to your system manager and/or to
8554
*** bug-libtool@gnu.org
8564
MAGIC_CMD="$lt_save_MAGIC_CMD"
8569
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8570
if test -n "$MAGIC_CMD"; then
8571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8572
$as_echo "$MAGIC_CMD" >&6; }
8574
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8575
$as_echo "no" >&6; }
8582
if test -z "$lt_cv_path_MAGIC_CMD"; then
8583
if test -n "$ac_tool_prefix"; then
8584
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8585
$as_echo_n "checking for file... " >&6; }
8586
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8587
$as_echo_n "(cached) " >&6
8591
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8594
lt_save_MAGIC_CMD="$MAGIC_CMD"
8595
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8596
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8597
for ac_dir in $ac_dummy; do
8599
test -z "$ac_dir" && ac_dir=.
8600
if test -f $ac_dir/file; then
8601
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8602
if test -n "$file_magic_test_file"; then
8603
case $deplibs_check_method in
8605
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8606
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8607
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8608
$EGREP "$file_magic_regex" > /dev/null; then
8613
*** Warning: the command libtool uses to detect shared libraries,
8614
*** $file_magic_cmd, produces output that libtool cannot recognize.
8615
*** The result is that libtool may fail to recognize shared libraries
8616
*** as such. This will affect the creation of libtool libraries that
8617
*** depend on shared libraries, but programs linked with such libtool
8618
*** libraries will work regardless of this problem. Nevertheless, you
8619
*** may want to report the problem to your system manager and/or to
8620
*** bug-libtool@gnu.org
8630
MAGIC_CMD="$lt_save_MAGIC_CMD"
8635
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8636
if test -n "$MAGIC_CMD"; then
8637
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8638
$as_echo "$MAGIC_CMD" >&6; }
8640
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8641
$as_echo "no" >&6; }
8654
# Use C for the default configuration in the libtool script
8658
ac_cpp='$CPP $CPPFLAGS'
8659
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8660
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8661
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8664
# Source file extension for C test sources.
8667
# Object file extension for compiled C test sources.
8671
# Code to be used in simple compile tests
8672
lt_simple_compile_test_code="int some_variable = 0;"
8674
# Code to be used in simple link tests
8675
lt_simple_link_test_code='int main(){return(0);}'
8683
# If no C compiler was specified, use CC.
8686
# If no C compiler flags were specified, use CFLAGS.
8687
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8689
# Allow CC to be a program name with arguments.
8692
# Save the default compiler, since it gets overwritten when the other
8693
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8694
compiler_DEFAULT=$CC
8696
# save warnings/boilerplate of simple test code
8697
ac_outfile=conftest.$ac_objext
8698
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8699
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8700
_lt_compiler_boilerplate=`cat conftest.err`
8703
ac_outfile=conftest.$ac_objext
8704
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8705
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8706
_lt_linker_boilerplate=`cat conftest.err`
8711
## There is no encapsulation within the following macros, do not change
8712
## the running order or otherwise move them around unless you know exactly
8713
## what you are doing...
8714
if test -n "$compiler"; then
8716
lt_prog_compiler_no_builtin_flag=
8718
if test "$GCC" = yes; then
8719
case $cc_basename in
8721
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8723
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8726
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8727
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8728
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8729
$as_echo_n "(cached) " >&6
8731
lt_cv_prog_compiler_rtti_exceptions=no
8732
ac_outfile=conftest.$ac_objext
8733
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8734
lt_compiler_flag="-fno-rtti -fno-exceptions"
8735
# Insert the option either (1) after the last *FLAGS variable, or
8736
# (2) before a word containing "conftest.", or (3) at the end.
8737
# Note that $ac_compile itself does not contain backslashes and begins
8738
# with a dollar sign (not a hyphen), so the echo should work correctly.
8739
# The option is referenced via a variable to avoid confusing sed.
8740
lt_compile=`echo "$ac_compile" | $SED \
8741
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8742
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8743
-e 's:$: $lt_compiler_flag:'`
8744
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8745
(eval "$lt_compile" 2>conftest.err)
8747
cat conftest.err >&5
8748
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8749
if (exit $ac_status) && test -s "$ac_outfile"; then
8750
# The compiler can only warn and ignore the option if not recognized
8751
# So say no if there are warnings other than the usual output.
8752
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8753
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8754
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8755
lt_cv_prog_compiler_rtti_exceptions=yes
8761
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8762
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8764
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8765
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8777
lt_prog_compiler_wl=
8778
lt_prog_compiler_pic=
8779
lt_prog_compiler_static=
8782
if test "$GCC" = yes; then
8783
lt_prog_compiler_wl='-Wl,'
8784
lt_prog_compiler_static='-static'
8788
# All AIX code is PIC.
8789
if test "$host_cpu" = ia64; then
8790
# AIX 5 now supports IA64 processor
8791
lt_prog_compiler_static='-Bstatic'
8798
# see comment about AmigaOS4 .so support
8799
lt_prog_compiler_pic='-fPIC'
8802
# FIXME: we need at least 68020 code to build shared libraries, but
8803
# adding the `-m68020' flag to GCC prevents building anything better,
8805
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8810
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8811
# PIC is the default for these OSes.
8814
mingw* | cygwin* | pw32* | os2* | cegcc*)
8815
# This hack is so that the source file can tell whether it is being
8816
# built for inclusion in a dll (and should export symbols for example).
8817
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8818
# (--disable-auto-import) libraries
8819
lt_prog_compiler_pic='-DDLL_EXPORT'
8822
darwin* | rhapsody*)
8823
# PIC is the default on this platform
8824
# Common symbols not allowed in MH_DYLIB files
8825
lt_prog_compiler_pic='-fno-common'
8829
# PIC is the default for Haiku.
8830
# The "-static" flag exists, but is broken.
8831
lt_prog_compiler_static=
8835
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8836
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8837
# sets the default TLS model and affects inlining.
8843
lt_prog_compiler_pic='-fPIC'
8849
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8850
# Instead, we relocate shared libraries at runtime.
8854
# Just because we use GCC doesn't mean we suddenly get shared libraries
8855
# on systems that don't support them.
8856
lt_prog_compiler_can_build_shared=no
8861
# QNX uses GNU C++, but need to define -shared option too, otherwise
8863
lt_prog_compiler_pic='-fPIC -shared'
8867
if test -d /usr/nec; then
8868
lt_prog_compiler_pic=-Kconform_pic
8873
lt_prog_compiler_pic='-fPIC'
8877
case $cc_basename in
8878
nvcc*) # Cuda Compiler Driver 2.2
8879
lt_prog_compiler_wl='-Xlinker '
8880
if test -n "$lt_prog_compiler_pic"; then
8881
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8886
# PORTME Check for flag to pass linker flags through the system compiler.
8889
lt_prog_compiler_wl='-Wl,'
8890
if test "$host_cpu" = ia64; then
8891
# AIX 5 now supports IA64 processor
8892
lt_prog_compiler_static='-Bstatic'
8894
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8898
mingw* | cygwin* | pw32* | os2* | cegcc*)
8899
# This hack is so that the source file can tell whether it is being
8900
# built for inclusion in a dll (and should export symbols for example).
8901
lt_prog_compiler_pic='-DDLL_EXPORT'
8904
hpux9* | hpux10* | hpux11*)
8905
lt_prog_compiler_wl='-Wl,'
8906
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8913
lt_prog_compiler_pic='+Z'
8916
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8917
lt_prog_compiler_static='${wl}-a ${wl}archive'
8920
irix5* | irix6* | nonstopux*)
8921
lt_prog_compiler_wl='-Wl,'
8922
# PIC (with -KPIC) is the default.
8923
lt_prog_compiler_static='-non_shared'
8926
linux* | k*bsd*-gnu | kopensolaris*-gnu)
8927
case $cc_basename in
8928
# old Intel for x86_64 which still supported -KPIC.
8930
lt_prog_compiler_wl='-Wl,'
8931
lt_prog_compiler_pic='-KPIC'
8932
lt_prog_compiler_static='-static'
8934
# icc used to be incompatible with GCC.
8935
# ICC 10 doesn't accept -KPIC any more.
8937
lt_prog_compiler_wl='-Wl,'
8938
lt_prog_compiler_pic='-fPIC'
8939
lt_prog_compiler_static='-static'
8941
# Lahey Fortran 8.1.
8943
lt_prog_compiler_wl='-Wl,'
8944
lt_prog_compiler_pic='--shared'
8945
lt_prog_compiler_static='--static'
8948
# NAG Fortran compiler
8949
lt_prog_compiler_wl='-Wl,-Wl,,'
8950
lt_prog_compiler_pic='-PIC'
8951
lt_prog_compiler_static='-Bstatic'
8953
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8954
# Portland Group compilers (*not* the Pentium gcc compiler,
8955
# which looks to be a dead project)
8956
lt_prog_compiler_wl='-Wl,'
8957
lt_prog_compiler_pic='-fpic'
8958
lt_prog_compiler_static='-Bstatic'
8961
lt_prog_compiler_wl='-Wl,'
8962
# All Alpha code is PIC.
8963
lt_prog_compiler_static='-non_shared'
8965
xl* | bgxl* | bgf* | mpixl*)
8966
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8967
lt_prog_compiler_wl='-Wl,'
8968
lt_prog_compiler_pic='-qpic'
8969
lt_prog_compiler_static='-qstaticlink'
8972
case `$CC -V 2>&1 | sed 5q` in
8973
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8974
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8975
lt_prog_compiler_pic='-KPIC'
8976
lt_prog_compiler_static='-Bstatic'
8977
lt_prog_compiler_wl=''
8979
*Sun\ F* | *Sun*Fortran*)
8980
lt_prog_compiler_pic='-KPIC'
8981
lt_prog_compiler_static='-Bstatic'
8982
lt_prog_compiler_wl='-Qoption ld '
8986
lt_prog_compiler_pic='-KPIC'
8987
lt_prog_compiler_static='-Bstatic'
8988
lt_prog_compiler_wl='-Wl,'
8990
*Intel*\ [CF]*Compiler*)
8991
lt_prog_compiler_wl='-Wl,'
8992
lt_prog_compiler_pic='-fPIC'
8993
lt_prog_compiler_static='-static'
8996
lt_prog_compiler_wl='-Wl,'
8997
lt_prog_compiler_pic='-fpic'
8998
lt_prog_compiler_static='-Bstatic'
9006
lt_prog_compiler_pic='-KPIC'
9007
lt_prog_compiler_static='-Bstatic'
9011
# QNX uses GNU C++, but need to define -shared option too, otherwise
9013
lt_prog_compiler_pic='-fPIC -shared'
9016
osf3* | osf4* | osf5*)
9017
lt_prog_compiler_wl='-Wl,'
9018
# All OSF/1 code is PIC.
9019
lt_prog_compiler_static='-non_shared'
9023
lt_prog_compiler_static='-non_shared'
9027
lt_prog_compiler_pic='-KPIC'
9028
lt_prog_compiler_static='-Bstatic'
9029
case $cc_basename in
9030
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9031
lt_prog_compiler_wl='-Qoption ld ';;
9033
lt_prog_compiler_wl='-Wl,';;
9038
lt_prog_compiler_wl='-Qoption ld '
9039
lt_prog_compiler_pic='-PIC'
9040
lt_prog_compiler_static='-Bstatic'
9043
sysv4 | sysv4.2uw2* | sysv4.3*)
9044
lt_prog_compiler_wl='-Wl,'
9045
lt_prog_compiler_pic='-KPIC'
9046
lt_prog_compiler_static='-Bstatic'
9050
if test -d /usr/nec ;then
9051
lt_prog_compiler_pic='-Kconform_pic'
9052
lt_prog_compiler_static='-Bstatic'
9056
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9057
lt_prog_compiler_wl='-Wl,'
9058
lt_prog_compiler_pic='-KPIC'
9059
lt_prog_compiler_static='-Bstatic'
9063
lt_prog_compiler_wl='-Wl,'
9064
lt_prog_compiler_can_build_shared=no
9068
lt_prog_compiler_pic='-pic'
9069
lt_prog_compiler_static='-Bstatic'
9073
lt_prog_compiler_can_build_shared=no
9079
# For platforms which do not support PIC, -DPIC is meaningless:
9081
lt_prog_compiler_pic=
9084
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9089
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9090
if ${lt_cv_prog_compiler_pic+:} false; then :
9091
$as_echo_n "(cached) " >&6
9093
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9095
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9096
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9097
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9100
# Check to make sure the PIC flag actually works.
9102
if test -n "$lt_prog_compiler_pic"; then
9103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9104
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9105
if ${lt_cv_prog_compiler_pic_works+:} false; then :
9106
$as_echo_n "(cached) " >&6
9108
lt_cv_prog_compiler_pic_works=no
9109
ac_outfile=conftest.$ac_objext
9110
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9111
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9112
# Insert the option either (1) after the last *FLAGS variable, or
9113
# (2) before a word containing "conftest.", or (3) at the end.
9114
# Note that $ac_compile itself does not contain backslashes and begins
9115
# with a dollar sign (not a hyphen), so the echo should work correctly.
9116
# The option is referenced via a variable to avoid confusing sed.
9117
lt_compile=`echo "$ac_compile" | $SED \
9118
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9119
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9120
-e 's:$: $lt_compiler_flag:'`
9121
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9122
(eval "$lt_compile" 2>conftest.err)
9124
cat conftest.err >&5
9125
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126
if (exit $ac_status) && test -s "$ac_outfile"; then
9127
# The compiler can only warn and ignore the option if not recognized
9128
# So say no if there are warnings other than the usual output.
9129
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9130
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9131
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9132
lt_cv_prog_compiler_pic_works=yes
9138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9139
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9141
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9142
case $lt_prog_compiler_pic in
9144
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9147
lt_prog_compiler_pic=
9148
lt_prog_compiler_can_build_shared=no
9164
# Check to make sure the static flag actually works.
9166
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9168
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9169
if ${lt_cv_prog_compiler_static_works+:} false; then :
9170
$as_echo_n "(cached) " >&6
9172
lt_cv_prog_compiler_static_works=no
9173
save_LDFLAGS="$LDFLAGS"
9174
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9175
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9176
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9177
# The linker can only warn and ignore the option if not recognized
9178
# So say no if there are warnings
9179
if test -s conftest.err; then
9180
# Append any errors to the config.log.
9181
cat conftest.err 1>&5
9182
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9183
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9184
if diff conftest.exp conftest.er2 >/dev/null; then
9185
lt_cv_prog_compiler_static_works=yes
9188
lt_cv_prog_compiler_static_works=yes
9192
LDFLAGS="$save_LDFLAGS"
9195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9196
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9198
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9201
lt_prog_compiler_static=
9210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9211
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9212
if ${lt_cv_prog_compiler_c_o+:} false; then :
9213
$as_echo_n "(cached) " >&6
9215
lt_cv_prog_compiler_c_o=no
9216
$RM -r conftest 2>/dev/null
9220
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9222
lt_compiler_flag="-o out/conftest2.$ac_objext"
9223
# Insert the option either (1) after the last *FLAGS variable, or
9224
# (2) before a word containing "conftest.", or (3) at the end.
9225
# Note that $ac_compile itself does not contain backslashes and begins
9226
# with a dollar sign (not a hyphen), so the echo should work correctly.
9227
lt_compile=`echo "$ac_compile" | $SED \
9228
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9229
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9230
-e 's:$: $lt_compiler_flag:'`
9231
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9232
(eval "$lt_compile" 2>out/conftest.err)
9234
cat out/conftest.err >&5
9235
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9238
# The compiler can only warn and ignore the option if not recognized
9239
# So say no if there are warnings
9240
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9241
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9242
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9243
lt_cv_prog_compiler_c_o=yes
9248
# SGI C++ compiler will create directory out/ii_files/ for
9249
# template instantiation
9250
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9251
$RM out/* && rmdir out
9257
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9258
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9265
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9266
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9267
if ${lt_cv_prog_compiler_c_o+:} false; then :
9268
$as_echo_n "(cached) " >&6
9270
lt_cv_prog_compiler_c_o=no
9271
$RM -r conftest 2>/dev/null
9275
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9277
lt_compiler_flag="-o out/conftest2.$ac_objext"
9278
# Insert the option either (1) after the last *FLAGS variable, or
9279
# (2) before a word containing "conftest.", or (3) at the end.
9280
# Note that $ac_compile itself does not contain backslashes and begins
9281
# with a dollar sign (not a hyphen), so the echo should work correctly.
9282
lt_compile=`echo "$ac_compile" | $SED \
9283
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9284
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9285
-e 's:$: $lt_compiler_flag:'`
9286
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9287
(eval "$lt_compile" 2>out/conftest.err)
9289
cat out/conftest.err >&5
9290
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9291
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9293
# The compiler can only warn and ignore the option if not recognized
9294
# So say no if there are warnings
9295
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9296
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9297
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9298
lt_cv_prog_compiler_c_o=yes
9303
# SGI C++ compiler will create directory out/ii_files/ for
9304
# template instantiation
9305
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9306
$RM out/* && rmdir out
9312
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9313
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9318
hard_links="nottested"
9319
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9320
# do not overwrite the value of need_locks provided by the user
9321
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9322
$as_echo_n "checking if we can lock with hard links... " >&6; }
9325
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9327
ln conftest.a conftest.b 2>&5 || hard_links=no
9328
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9330
$as_echo "$hard_links" >&6; }
9331
if test "$hard_links" = no; then
9332
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9333
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9346
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9349
allow_undefined_flag=
9350
always_export_symbols=no
9352
archive_expsym_cmds=
9353
compiler_needs_object=no
9354
enable_shared_with_static_runtimes=no
9355
export_dynamic_flag_spec=
9356
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9357
hardcode_automatic=no
9359
hardcode_direct_absolute=no
9360
hardcode_libdir_flag_spec=
9361
hardcode_libdir_separator=
9363
hardcode_shlibpath_var=unsupported
9365
link_all_deplibs=unknown
9368
old_archive_from_new_cmds=
9369
old_archive_from_expsyms_cmds=
9370
thread_safe_flag_spec=
9371
whole_archive_flag_spec=
9372
# include_expsyms should be a list of space-separated symbols to be *always*
9373
# included in the symbol list
9375
# exclude_expsyms can be an extended regexp of symbols to exclude
9376
# it will be wrapped by ` (' and `)$', so one must not match beginning or
9377
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9378
# as well as any symbol that contains `d'.
9379
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9380
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9381
# platforms (ab)use it in PIC code, but their linkers get confused if
9382
# the symbol is explicitly referenced. Since portable code cannot
9383
# rely on this symbol name, it's probably fine to never include it in
9384
# preloaded symbol tables.
9385
# Exclude shared library initialization/finalization symbols.
9386
extract_expsyms_cmds=
9389
cygwin* | mingw* | pw32* | cegcc*)
9390
# FIXME: the MSVC++ port hasn't been tested in a loooong time
9391
# When not using gcc, we currently assume that we are using
9392
# Microsoft Visual C++.
9393
if test "$GCC" != yes; then
9398
# we just hope/assume this is gcc and not c89 (= MSVC++)
9404
linux* | k*bsd*-gnu | gnu*)
9411
# On some targets, GNU ld is compatible enough with the native linker
9412
# that we're better off using the native interface for both.
9413
lt_use_gnu_ld_interface=no
9414
if test "$with_gnu_ld" = yes; then
9417
# The AIX port of GNU ld has always aspired to compatibility
9418
# with the native linker. However, as the warning in the GNU ld
9419
# block says, versions before 2.19.5* couldn't really create working
9420
# shared libraries, regardless of the interface used.
9421
case `$LD -v 2>&1` in
9422
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9423
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9424
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
9426
lt_use_gnu_ld_interface=yes
9431
lt_use_gnu_ld_interface=yes
9436
if test "$lt_use_gnu_ld_interface" = yes; then
9437
# If archive_cmds runs LD, not CC, wlarc should be empty
9440
# Set some defaults for GNU ld with shared library support. These
9441
# are reset later if shared libraries are not supported. Putting them
9442
# here allows them to be overridden if necessary.
9443
runpath_var=LD_RUN_PATH
9444
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9445
export_dynamic_flag_spec='${wl}--export-dynamic'
9446
# ancient GNU ld didn't support --whole-archive et. al.
9447
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9448
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9450
whole_archive_flag_spec=
9452
supports_anon_versioning=no
9453
case `$LD -v 2>&1` in
9454
*GNU\ gold*) supports_anon_versioning=yes ;;
9455
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9456
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9457
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9458
*\ 2.11.*) ;; # other 2.11 versions
9459
*) supports_anon_versioning=yes ;;
9462
# See if GNU ld supports shared libraries.
9465
# On AIX/PPC, the GNU linker is very broken
9466
if test "$host_cpu" != ia64; then
9470
*** Warning: the GNU linker, at least up to release 2.19, is reported
9471
*** to be unable to reliably create shared libraries on AIX.
9472
*** Therefore, libtool is disabling shared libraries support. If you
9473
*** really care for shared libraries, you may want to install binutils
9474
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9475
*** You will then need to restart the configuration process.
9484
# see comment about AmigaOS4 .so support
9485
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9486
archive_expsym_cmds=''
9489
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)'
9490
hardcode_libdir_flag_spec='-L$libdir'
9491
hardcode_minus_L=yes
9497
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9498
allow_undefined_flag=unsupported
9499
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9500
# support --undefined. This deserves some investigation. FIXME
9501
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9507
cygwin* | mingw* | pw32* | cegcc*)
9508
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9509
# as there is no search path for DLLs.
9510
hardcode_libdir_flag_spec='-L$libdir'
9511
export_dynamic_flag_spec='${wl}--export-all-symbols'
9512
allow_undefined_flag=unsupported
9513
always_export_symbols=no
9514
enable_shared_with_static_runtimes=yes
9515
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'
9516
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9518
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9519
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9520
# If the export-symbols file already is a .def file (1st line
9521
# is EXPORTS), use it as is; otherwise, prepend...
9522
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9523
cp $export_symbols $output_objdir/$soname.def;
9525
echo EXPORTS > $output_objdir/$soname.def;
9526
cat $export_symbols >> $output_objdir/$soname.def;
9528
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9535
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9536
link_all_deplibs=yes
9541
hardcode_shlibpath_var=no
9542
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9543
export_dynamic_flag_spec='${wl}-E'
9544
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9545
# Instead, shared libraries are loaded at an image base (0x10000000 by
9546
# default) and relocated if they conflict, which is a slow very memory
9547
# consuming and fragmenting process. To avoid this, we pick a random,
9548
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9549
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9550
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9551
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'
9554
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9556
if test "$host_os" = linux-dietlibc; then
9557
case $cc_basename in
9558
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9561
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9562
&& test "$tmp_diet" = no
9564
tmp_addflag=' $pic_flag'
9565
tmp_sharedflag='-shared'
9566
case $cc_basename,$host_cpu in
9567
pgcc*) # Portland Group C compiler
9568
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'
9569
tmp_addflag=' $pic_flag'
9571
pgf77* | pgf90* | pgf95* | pgfortran*)
9572
# Portland Group f77 and f90 compilers
9573
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'
9574
tmp_addflag=' $pic_flag -Mnomain' ;;
9575
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9576
tmp_addflag=' -i_dynamic' ;;
9577
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9578
tmp_addflag=' -i_dynamic -nofor_main' ;;
9579
ifc* | ifort*) # Intel Fortran compiler
9580
tmp_addflag=' -nofor_main' ;;
9581
lf95*) # Lahey Fortran 8.1
9582
whole_archive_flag_spec=
9583
tmp_sharedflag='--shared' ;;
9584
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9585
tmp_sharedflag='-qmkshrobj'
9587
nvcc*) # Cuda Compiler Driver 2.2
9588
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'
9589
compiler_needs_object=yes
9592
case `$CC -V 2>&1 | sed 5q` in
9593
*Sun\ C*) # Sun C 5.9
9594
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'
9595
compiler_needs_object=yes
9596
tmp_sharedflag='-G' ;;
9597
*Sun\ F*) # Sun Fortran 8.3
9598
tmp_sharedflag='-G' ;;
9600
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9602
if test "x$supports_anon_versioning" = xyes; then
9603
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9604
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9605
echo "local: *; };" >> $output_objdir/$libname.ver~
9606
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9609
case $cc_basename in
9610
xlf* | bgf* | bgxlf* | mpixlf*)
9611
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9612
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9613
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9614
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9615
if test "x$supports_anon_versioning" = xyes; then
9616
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9617
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9618
echo "local: *; };" >> $output_objdir/$libname.ver~
9619
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9628
netbsd* | netbsdelf*-gnu)
9629
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9630
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9633
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9634
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9639
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9643
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9644
*** create shared libraries on Solaris systems. Therefore, libtool
9645
*** is disabling shared libraries support. We urge you to upgrade GNU
9646
*** binutils to release 2.9.1 or newer. Another option is to modify
9647
*** your PATH or compiler configuration so that the native linker is
9648
*** used, and then restart.
9651
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9652
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9653
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9659
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9660
case `$LD -v 2>&1` in
9661
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9665
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9666
*** reliably create shared libraries on SCO systems. Therefore, libtool
9667
*** is disabling shared libraries support. We urge you to upgrade GNU
9668
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9669
*** your PATH or compiler configuration so that the native linker is
9670
*** used, and then restart.
9675
# For security reasons, it is highly recommended that you always
9676
# use absolute paths for naming shared libraries, and exclude the
9677
# DT_RUNPATH tag from executables and libraries. But doing so
9678
# requires that you compile everything twice, which is a pain.
9679
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9680
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9681
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9682
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9691
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9694
hardcode_shlibpath_var=no
9698
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9699
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9700
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9707
if test "$ld_shlibs" = no; then
9709
hardcode_libdir_flag_spec=
9710
export_dynamic_flag_spec=
9711
whole_archive_flag_spec=
9714
# PORTME fill in a description of your system's linker (not GNU ld)
9717
allow_undefined_flag=unsupported
9718
always_export_symbols=yes
9719
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'
9720
# Note: this linker hardcodes the directories in LIBPATH if there
9721
# are no directories specified by -L.
9722
hardcode_minus_L=yes
9723
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9724
# Neither direct hardcoding nor static linking is supported with a
9726
hardcode_direct=unsupported
9731
if test "$host_cpu" = ia64; then
9732
# On IA64, the linker does run time linking by default, so we don't
9733
# have to do anything special.
9734
aix_use_runtimelinking=no
9735
exp_sym_flag='-Bexport'
9738
# If we're using GNU nm, then we don't want the "-C" option.
9739
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9740
# Also, AIX nm treats weak defined symbols like other global
9741
# defined symbols, whereas GNU nm marks them as "W".
9742
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9743
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'
9745
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'
9747
aix_use_runtimelinking=no
9749
# Test if we are trying to use run time linking or normal
9750
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9751
# need to do runtime linking.
9752
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9753
for ld_flag in $LDFLAGS; do
9754
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9755
aix_use_runtimelinking=yes
9762
exp_sym_flag='-bexport'
9763
no_entry_flag='-bnoentry'
9766
# When large executables or shared objects are built, AIX ld can
9767
# have problems creating the table of contents. If linking a library
9768
# or program results in "error TOC overflow" add -mminimal-toc to
9769
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9770
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9774
hardcode_direct_absolute=yes
9775
hardcode_libdir_separator=':'
9776
link_all_deplibs=yes
9777
file_list_spec='${wl}-f,'
9779
if test "$GCC" = yes; then
9780
case $host_os in aix4.[012]|aix4.[012].*)
9781
# We only want to do this on AIX 4.2 and lower, the check
9782
# below for broken collect2 doesn't work under 4.3+
9783
collect2name=`${CC} -print-prog-name=collect2`
9784
if test -f "$collect2name" &&
9785
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9787
# We have reworked collect2
9790
# We have old collect2
9791
hardcode_direct=unsupported
9792
# It fails to find uninstalled libraries when the uninstalled
9793
# path is not listed in the libpath. Setting hardcode_minus_L
9794
# to unsupported forces relinking
9795
hardcode_minus_L=yes
9796
hardcode_libdir_flag_spec='-L$libdir'
9797
hardcode_libdir_separator=
9801
shared_flag='-shared'
9802
if test "$aix_use_runtimelinking" = yes; then
9803
shared_flag="$shared_flag "'${wl}-G'
9808
if test "$host_cpu" = ia64; then
9809
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9810
# chokes on -Wl,-G. The following line is correct:
9813
if test "$aix_use_runtimelinking" = yes; then
9814
shared_flag='${wl}-G'
9816
shared_flag='${wl}-bM:SRE'
9821
export_dynamic_flag_spec='${wl}-bexpall'
9822
# It seems that -bexpall does not export symbols beginning with
9823
# underscore (_), so it is better to generate a list of symbols to export.
9824
always_export_symbols=yes
9825
if test "$aix_use_runtimelinking" = yes; then
9826
# Warning - without using the other runtime loading flags (-brtl),
9827
# -berok will link without error, but may produce a broken library.
9828
allow_undefined_flag='-berok'
9829
# Determine the default libpath from the value encoded in an
9831
if test "${lt_cv_aix_libpath+set}" = set; then
9832
aix_libpath=$lt_cv_aix_libpath
9834
if ${lt_cv_aix_libpath_+:} false; then :
9835
$as_echo_n "(cached) " >&6
9837
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9838
/* end confdefs.h. */
9848
if ac_fn_c_try_link "$LINENO"; then :
9850
lt_aix_libpath_sed='
9851
/Import File Strings/,/^$/ {
9853
s/^0 *\([^ ]*\) *$/\1/
9857
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9858
# Check for a 64-bit object if we didn't find anything.
9859
if test -z "$lt_cv_aix_libpath_"; then
9860
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9863
rm -f core conftest.err conftest.$ac_objext \
9864
conftest$ac_exeext conftest.$ac_ext
9865
if test -z "$lt_cv_aix_libpath_"; then
9866
lt_cv_aix_libpath_="/usr/lib:/lib"
9871
aix_libpath=$lt_cv_aix_libpath_
9874
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9875
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"
9877
if test "$host_cpu" = ia64; then
9878
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9879
allow_undefined_flag="-z nodefs"
9880
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"
9882
# Determine the default libpath from the value encoded in an
9884
if test "${lt_cv_aix_libpath+set}" = set; then
9885
aix_libpath=$lt_cv_aix_libpath
9887
if ${lt_cv_aix_libpath_+:} false; then :
9888
$as_echo_n "(cached) " >&6
9890
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9891
/* end confdefs.h. */
9901
if ac_fn_c_try_link "$LINENO"; then :
9903
lt_aix_libpath_sed='
9904
/Import File Strings/,/^$/ {
9906
s/^0 *\([^ ]*\) *$/\1/
9910
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9911
# Check for a 64-bit object if we didn't find anything.
9912
if test -z "$lt_cv_aix_libpath_"; then
9913
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9916
rm -f core conftest.err conftest.$ac_objext \
9917
conftest$ac_exeext conftest.$ac_ext
9918
if test -z "$lt_cv_aix_libpath_"; then
9919
lt_cv_aix_libpath_="/usr/lib:/lib"
9924
aix_libpath=$lt_cv_aix_libpath_
9927
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9928
# Warning - without using the other run time loading flags,
9929
# -berok will link without error, but may produce a broken library.
9930
no_undefined_flag=' ${wl}-bernotok'
9931
allow_undefined_flag=' ${wl}-berok'
9932
if test "$with_gnu_ld" = yes; then
9933
# We only use this code for GNU lds that support --whole-archive.
9934
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9936
# Exported symbols can be pulled into shared objects from archives
9937
whole_archive_flag_spec='$convenience'
9939
archive_cmds_need_lc=yes
9940
# This is similar to how AIX traditionally builds its shared libraries.
9941
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'
9949
# see comment about AmigaOS4 .so support
9950
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9951
archive_expsym_cmds=''
9954
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)'
9955
hardcode_libdir_flag_spec='-L$libdir'
9956
hardcode_minus_L=yes
9962
export_dynamic_flag_spec=-rdynamic
9965
cygwin* | mingw* | pw32* | cegcc*)
9966
# When not using gcc, we currently assume that we are using
9967
# Microsoft Visual C++.
9968
# hardcode_libdir_flag_spec is actually meaningless, as there is
9969
# no search path for DLLs.
9970
case $cc_basename in
9973
hardcode_libdir_flag_spec=' '
9974
allow_undefined_flag=unsupported
9975
always_export_symbols=yes
9977
# Tell ltmain to make .lib files, not .a files.
9979
# Tell ltmain to make .dll files, not .so files.
9981
# FIXME: Setting linknames here is a bad hack.
9982
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9983
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9984
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9986
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9988
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9990
# The linker will not automatically build a static lib if we build a DLL.
9991
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9992
enable_shared_with_static_runtimes=yes
9993
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9994
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9996
old_postinstall_cmds='chmod 644 $oldlib'
9997
postlink_cmds='lt_outputfile="@OUTPUT@"~
9998
lt_tool_outputfile="@TOOL_OUTPUT@"~
9999
case $lt_outputfile in
10002
lt_outputfile="$lt_outputfile.exe"
10003
lt_tool_outputfile="$lt_tool_outputfile.exe"
10006
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10007
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10008
$RM "$lt_outputfile.manifest";
10012
# Assume MSVC wrapper
10013
hardcode_libdir_flag_spec=' '
10014
allow_undefined_flag=unsupported
10015
# Tell ltmain to make .lib files, not .a files.
10017
# Tell ltmain to make .dll files, not .so files.
10019
# FIXME: Setting linknames here is a bad hack.
10020
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10021
# The linker will automatically build a .lib file if we build a DLL.
10022
old_archive_from_new_cmds='true'
10023
# FIXME: Should let the user specify the lib program.
10024
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10025
enable_shared_with_static_runtimes=yes
10030
darwin* | rhapsody*)
10033
archive_cmds_need_lc=no
10035
hardcode_automatic=yes
10036
hardcode_shlibpath_var=unsupported
10037
if test "$lt_cv_ld_force_load" = "yes"; then
10038
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\"`'
10041
whole_archive_flag_spec=''
10043
link_all_deplibs=yes
10044
allow_undefined_flag="$_lt_dar_allow_undefined"
10045
case $cc_basename in
10046
ifort*) _lt_dar_can_shared=yes ;;
10047
*) _lt_dar_can_shared=$GCC ;;
10049
if test "$_lt_dar_can_shared" = "yes"; then
10050
output_verbose_link_cmd=func_echo_all
10051
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10052
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10053
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}"
10054
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}"
10063
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10064
hardcode_libdir_flag_spec='-L$libdir'
10065
hardcode_shlibpath_var=no
10068
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10069
# support. Future versions do this automatically, but an explicit c++rt0.o
10070
# does not break anything, and helps significantly (at the cost of a little
10073
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10074
hardcode_libdir_flag_spec='-R$libdir'
10075
hardcode_direct=yes
10076
hardcode_shlibpath_var=no
10079
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
10081
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10082
hardcode_direct=yes
10083
hardcode_minus_L=yes
10084
hardcode_shlibpath_var=no
10087
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10088
freebsd* | dragonfly*)
10089
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10090
hardcode_libdir_flag_spec='-R$libdir'
10091
hardcode_direct=yes
10092
hardcode_shlibpath_var=no
10096
if test "$GCC" = yes; then
10097
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'
10099
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'
10101
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10102
hardcode_libdir_separator=:
10103
hardcode_direct=yes
10105
# hardcode_minus_L: Not really in the search PATH,
10106
# but as the default location of the library.
10107
hardcode_minus_L=yes
10108
export_dynamic_flag_spec='${wl}-E'
10112
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10113
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10115
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10117
if test "$with_gnu_ld" = no; then
10118
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10119
hardcode_libdir_separator=:
10120
hardcode_direct=yes
10121
hardcode_direct_absolute=yes
10122
export_dynamic_flag_spec='${wl}-E'
10123
# hardcode_minus_L: Not really in the search PATH,
10124
# but as the default location of the library.
10125
hardcode_minus_L=yes
10130
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10133
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10136
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10139
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10145
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10148
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10152
# Older versions of the 11.00 compiler do not understand -b yet
10153
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10155
$as_echo_n "checking if $CC understands -b... " >&6; }
10156
if ${lt_cv_prog_compiler__b+:} false; then :
10157
$as_echo_n "(cached) " >&6
10159
lt_cv_prog_compiler__b=no
10160
save_LDFLAGS="$LDFLAGS"
10161
LDFLAGS="$LDFLAGS -b"
10162
echo "$lt_simple_link_test_code" > conftest.$ac_ext
10163
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10164
# The linker can only warn and ignore the option if not recognized
10165
# So say no if there are warnings
10166
if test -s conftest.err; then
10167
# Append any errors to the config.log.
10168
cat conftest.err 1>&5
10169
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10170
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10171
if diff conftest.exp conftest.er2 >/dev/null; then
10172
lt_cv_prog_compiler__b=yes
10175
lt_cv_prog_compiler__b=yes
10179
LDFLAGS="$save_LDFLAGS"
10182
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10183
$as_echo "$lt_cv_prog_compiler__b" >&6; }
10185
if test x"$lt_cv_prog_compiler__b" = xyes; then
10186
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10188
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10194
if test "$with_gnu_ld" = no; then
10195
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10196
hardcode_libdir_separator=:
10201
hardcode_shlibpath_var=no
10204
hardcode_direct=yes
10205
hardcode_direct_absolute=yes
10206
export_dynamic_flag_spec='${wl}-E'
10208
# hardcode_minus_L: Not really in the search PATH,
10209
# but as the default location of the library.
10210
hardcode_minus_L=yes
10216
irix5* | irix6* | nonstopux*)
10217
if test "$GCC" = yes; then
10218
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'
10219
# Try to use the -exported_symbol ld option, if it does not
10220
# work, assume that -exports_file does not work either and
10221
# implicitly export all symbols.
10222
# This should be the same for all languages, so no per-tag cache variable.
10223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10224
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10225
if ${lt_cv_irix_exported_symbol+:} false; then :
10226
$as_echo_n "(cached) " >&6
10228
save_LDFLAGS="$LDFLAGS"
10229
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10230
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10231
/* end confdefs.h. */
10232
int foo (void) { return 0; }
10234
if ac_fn_c_try_link "$LINENO"; then :
10235
lt_cv_irix_exported_symbol=yes
10237
lt_cv_irix_exported_symbol=no
10239
rm -f core conftest.err conftest.$ac_objext \
10240
conftest$ac_exeext conftest.$ac_ext
10241
LDFLAGS="$save_LDFLAGS"
10243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10244
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10245
if test "$lt_cv_irix_exported_symbol" = yes; then
10246
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'
10249
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'
10250
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'
10252
archive_cmds_need_lc='no'
10253
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10254
hardcode_libdir_separator=:
10256
link_all_deplibs=yes
10259
netbsd* | netbsdelf*-gnu)
10260
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10261
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10263
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10265
hardcode_libdir_flag_spec='-R$libdir'
10266
hardcode_direct=yes
10267
hardcode_shlibpath_var=no
10271
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10272
hardcode_direct=yes
10273
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10274
hardcode_libdir_separator=:
10275
hardcode_shlibpath_var=no
10282
if test -f /usr/libexec/ld.so; then
10283
hardcode_direct=yes
10284
hardcode_shlibpath_var=no
10285
hardcode_direct_absolute=yes
10286
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10287
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10288
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10289
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10290
export_dynamic_flag_spec='${wl}-E'
10293
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10294
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10295
hardcode_libdir_flag_spec='-R$libdir'
10298
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10299
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10309
hardcode_libdir_flag_spec='-L$libdir'
10310
hardcode_minus_L=yes
10311
allow_undefined_flag=unsupported
10312
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'
10313
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10317
if test "$GCC" = yes; then
10318
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10319
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'
10321
allow_undefined_flag=' -expect_unresolved \*'
10322
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'
10324
archive_cmds_need_lc='no'
10325
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10326
hardcode_libdir_separator=:
10329
osf4* | osf5*) # as osf3* with the addition of -msym flag
10330
if test "$GCC" = yes; then
10331
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10332
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'
10333
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10335
allow_undefined_flag=' -expect_unresolved \*'
10336
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'
10337
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~
10338
$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'
10340
# Both c and cxx compiler support -rpath directly
10341
hardcode_libdir_flag_spec='-rpath $libdir'
10343
archive_cmds_need_lc='no'
10344
hardcode_libdir_separator=:
10348
no_undefined_flag=' -z defs'
10349
if test "$GCC" = yes; then
10351
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10352
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10353
$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'
10355
case `$CC -V 2>&1` in
10358
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10359
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10360
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10364
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10365
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10366
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10370
hardcode_libdir_flag_spec='-R$libdir'
10371
hardcode_shlibpath_var=no
10373
solaris2.[0-5] | solaris2.[0-5].*) ;;
10375
# The compiler driver will combine and reorder linker options,
10376
# but understands `-z linker_flag'. GCC discards it without `$wl',
10377
# but is careful enough not to reorder.
10378
# Supported since Solaris 2.6 (maybe 2.5.1?)
10379
if test "$GCC" = yes; then
10380
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10382
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10386
link_all_deplibs=yes
10390
if test "x$host_vendor" = xsequent; then
10391
# Use $CC to link under sequent, because it throws in some extra .o
10392
# files that make .init and .fini sections work.
10393
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10395
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10397
hardcode_libdir_flag_spec='-L$libdir'
10398
hardcode_direct=yes
10399
hardcode_minus_L=yes
10400
hardcode_shlibpath_var=no
10404
case $host_vendor in
10406
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10407
hardcode_direct=yes # is this really true???
10410
## LD is ld it makes a PLAMLIB
10411
## CC just makes a GrossModule.
10412
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10413
reload_cmds='$CC -r -o $output$reload_objs'
10417
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10418
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10421
runpath_var='LD_RUN_PATH'
10422
hardcode_shlibpath_var=no
10426
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10427
hardcode_shlibpath_var=no
10428
export_dynamic_flag_spec='-Bexport'
10432
if test -d /usr/nec; then
10433
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10434
hardcode_shlibpath_var=no
10435
runpath_var=LD_RUN_PATH
10436
hardcode_runpath_var=yes
10441
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10442
no_undefined_flag='${wl}-z,text'
10443
archive_cmds_need_lc=no
10444
hardcode_shlibpath_var=no
10445
runpath_var='LD_RUN_PATH'
10447
if test "$GCC" = yes; then
10448
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10449
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10451
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10452
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10456
sysv5* | sco3.2v5* | sco5v6*)
10457
# Note: We can NOT use -z defs as we might desire, because we do not
10458
# link with -lc, and that would cause any symbols used from libc to
10459
# always be unresolved, which means just about no library would
10460
# ever link correctly. If we're not using GNU ld we use -z text
10461
# though, which does catch some bad symbols but isn't as heavy-handed
10463
no_undefined_flag='${wl}-z,text'
10464
allow_undefined_flag='${wl}-z,nodefs'
10465
archive_cmds_need_lc=no
10466
hardcode_shlibpath_var=no
10467
hardcode_libdir_flag_spec='${wl}-R,$libdir'
10468
hardcode_libdir_separator=':'
10469
link_all_deplibs=yes
10470
export_dynamic_flag_spec='${wl}-Bexport'
10471
runpath_var='LD_RUN_PATH'
10473
if test "$GCC" = yes; then
10474
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10475
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10477
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10478
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10483
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10484
hardcode_libdir_flag_spec='-L$libdir'
10485
hardcode_shlibpath_var=no
10493
if test x$host_vendor = xsni; then
10495
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10496
export_dynamic_flag_spec='${wl}-Blargedynsym'
10502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10503
$as_echo "$ld_shlibs" >&6; }
10504
test "$ld_shlibs" = no && can_build_shared=no
10506
with_gnu_ld=$with_gnu_ld
10523
# Do we need to explicitly link libc?
10525
case "x$archive_cmds_need_lc" in
10527
# Assume -lc should be added
10528
archive_cmds_need_lc=yes
10530
if test "$enable_shared" = yes && test "$GCC" = yes; then
10531
case $archive_cmds in
10533
# FIXME: we may have to deal with multi-command sequences.
10536
# Test whether the compiler implicitly links with -lc since on some
10537
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10538
# to ld, don't add -lc before -lgcc.
10539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10540
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10541
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10542
$as_echo_n "(cached) " >&6
10545
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10547
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10548
(eval $ac_compile) 2>&5
10550
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10551
test $ac_status = 0; } 2>conftest.err; then
10554
libobjs=conftest.$ac_objext
10556
wl=$lt_prog_compiler_wl
10557
pic_flag=$lt_prog_compiler_pic
10563
lt_save_allow_undefined_flag=$allow_undefined_flag
10564
allow_undefined_flag=
10565
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10566
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10568
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10569
test $ac_status = 0; }
10571
lt_cv_archive_cmds_need_lc=no
10573
lt_cv_archive_cmds_need_lc=yes
10575
allow_undefined_flag=$lt_save_allow_undefined_flag
10577
cat conftest.err 1>&5
10582
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10583
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10584
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10743
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10745
if test "$GCC" = yes; then
10747
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10748
*) lt_awk_arg="/^libraries:/" ;;
10751
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10752
*) lt_sed_strip_eq="s,=/,/,g" ;;
10754
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10755
case $lt_search_path_spec in
10757
# if the path contains ";" then we assume it to be the separator
10758
# otherwise default to the standard path separator (i.e. ":") - it is
10759
# assumed that no part of a normal pathname contains ";" but that should
10760
# okay in the real world where ";" in dirpaths is itself problematic.
10761
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10764
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10767
# Ok, now we have the path, separated by spaces, we can step through it
10768
# and add multilib dir if necessary.
10769
lt_tmp_lt_search_path_spec=
10770
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10771
for lt_sys_path in $lt_search_path_spec; do
10772
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10773
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10775
test -d "$lt_sys_path" && \
10776
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10779
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10780
BEGIN {RS=" "; FS="/|\n";} {
10783
for (lt_i = NF; lt_i > 0; lt_i--) {
10784
if ($lt_i != "" && $lt_i != ".") {
10785
if ($lt_i == "..") {
10788
if (lt_count == 0) {
10789
lt_foo="/" $lt_i lt_foo;
10796
if (lt_foo != "") { lt_freq[lt_foo]++; }
10797
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10799
# AWK program above erroneously prepends '/' to C:/dos/paths
10802
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10803
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
10805
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10807
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10809
library_names_spec=
10810
libname_spec='lib$name'
10814
postuninstall_cmds=
10818
shlibpath_overrides_runpath=unknown
10820
dynamic_linker="$host_os ld.so"
10821
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10822
need_lib_prefix=unknown
10823
hardcode_into_libs=no
10825
# when you set need_version to no, make sure it does not cause -set_version
10826
# flags to be left without arguments
10827
need_version=unknown
10831
version_type=linux # correct to gnu/linux during the next big refactor
10832
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10833
shlibpath_var=LIBPATH
10835
# AIX 3 has no versioning support, so we append a major version to the name.
10836
soname_spec='${libname}${release}${shared_ext}$major'
10840
version_type=linux # correct to gnu/linux during the next big refactor
10843
hardcode_into_libs=yes
10844
if test "$host_cpu" = ia64; then
10845
# AIX 5 supports IA64
10846
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10847
shlibpath_var=LD_LIBRARY_PATH
10849
# With GCC up to 2.95.x, collect2 would create an import file
10850
# for dependence libraries. The import file would start with
10851
# the line `#! .'. This would cause the generated library to
10852
# depend on `.', always an invalid library. This was fixed in
10853
# development snapshots of GCC prior to 3.0.
10855
aix4 | aix4.[01] | aix4.[01].*)
10856
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10858
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10861
can_build_shared=no
10865
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10866
# soname into executable. Probably we can add versioning support to
10867
# collect2, so additional links can be useful in future.
10868
if test "$aix_use_runtimelinking" = yes; then
10869
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10870
# instead of lib<name>.a to let people know that these are not
10871
# typical AIX shared libraries.
10872
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10874
# We preserve .a as extension for shared libraries through AIX4.2
10875
# and later when we are not doing run time linking.
10876
library_names_spec='${libname}${release}.a $libname.a'
10877
soname_spec='${libname}${release}${shared_ext}$major'
10879
shlibpath_var=LIBPATH
10886
# Since July 2007 AmigaOS4 officially supports .so libraries.
10887
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10888
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10891
library_names_spec='$libname.ixlibrary $libname.a'
10892
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10893
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'
10899
library_names_spec='${libname}${shared_ext}'
10900
dynamic_linker="$host_os ld.so"
10901
shlibpath_var=LIBRARY_PATH
10905
version_type=linux # correct to gnu/linux during the next big refactor
10907
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10908
soname_spec='${libname}${release}${shared_ext}$major'
10909
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10910
shlibpath_var=LD_LIBRARY_PATH
10911
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10912
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10913
# the default ld.so.conf also contains /usr/contrib/lib and
10914
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10915
# libtool to hard-code these into programs
10918
cygwin* | mingw* | pw32* | cegcc*)
10919
version_type=windows
10924
case $GCC,$cc_basename in
10927
library_names_spec='$libname.dll.a'
10928
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10929
postinstall_cmds='base_file=`basename \${file}`~
10930
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10931
dldir=$destdir/`dirname \$dlpath`~
10932
test -d \$dldir || mkdir -p \$dldir~
10933
$install_prog $dir/$dlname \$dldir/$dlname~
10934
chmod a+x \$dldir/$dlname~
10935
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10936
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10938
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10939
dlpath=$dir/\$dldll~
10941
shlibpath_overrides_runpath=yes
10945
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10946
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10948
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10951
# MinGW DLLs use traditional 'lib' prefix
10952
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10955
# pw32 DLLs use 'pw' prefix rather than 'lib'
10956
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10959
dynamic_linker='Win32 ld.exe'
10964
libname_spec='$name'
10965
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10966
library_names_spec='${libname}.dll.lib'
10970
sys_lib_search_path_spec=
10973
for lt_path in $LIB
10976
# Let DOS variable expansion print the short 8.3 style file name.
10977
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10978
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10981
# Convert to MSYS style.
10982
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10985
# Convert to unix form, then to dos form, then back to unix form
10986
# but this time dos style (no spaces!) so that the unix form looks
10987
# like /cygdrive/c/PROGRA~1:/cygdr...
10988
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10989
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10990
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10993
sys_lib_search_path_spec="$LIB"
10994
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10995
# It is most probably a Windows format PATH.
10996
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10998
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11000
# FIXME: find the short name or the path components, as spaces are
11001
# common. (e.g. "Program Files" -> "PROGRA~1")
11005
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11006
postinstall_cmds='base_file=`basename \${file}`~
11007
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11008
dldir=$destdir/`dirname \$dlpath`~
11009
test -d \$dldir || mkdir -p \$dldir~
11010
$install_prog $dir/$dlname \$dldir/$dlname'
11011
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11012
dlpath=$dir/\$dldll~
11014
shlibpath_overrides_runpath=yes
11015
dynamic_linker='Win32 link.exe'
11019
# Assume MSVC wrapper
11020
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11021
dynamic_linker='Win32 ld.exe'
11024
# FIXME: first we should search . and the directory the executable is in
11028
darwin* | rhapsody*)
11029
dynamic_linker="$host_os dyld"
11030
version_type=darwin
11033
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11034
soname_spec='${libname}${release}${major}$shared_ext'
11035
shlibpath_overrides_runpath=yes
11036
shlibpath_var=DYLD_LIBRARY_PATH
11037
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11039
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11040
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11044
version_type=linux # correct to gnu/linux during the next big refactor
11047
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11048
soname_spec='${libname}${release}${shared_ext}$major'
11049
shlibpath_var=LD_LIBRARY_PATH
11052
freebsd* | dragonfly*)
11053
# DragonFly does not have aout. When/if they implement a new
11054
# versioning mechanism, adjust this.
11055
if test -x /usr/bin/objformat; then
11056
objformat=`/usr/bin/objformat`
11059
freebsd[23].*) objformat=aout ;;
11060
*) objformat=elf ;;
11063
version_type=freebsd-$objformat
11064
case $version_type in
11066
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11071
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11075
shlibpath_var=LD_LIBRARY_PATH
11078
shlibpath_overrides_runpath=yes
11080
freebsd3.[01]* | freebsdelf3.[01]*)
11081
shlibpath_overrides_runpath=yes
11082
hardcode_into_libs=yes
11084
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11085
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11086
shlibpath_overrides_runpath=no
11087
hardcode_into_libs=yes
11089
*) # from 4.6 on, and DragonFly
11090
shlibpath_overrides_runpath=yes
11091
hardcode_into_libs=yes
11097
version_type=linux # correct to gnu/linux during the next big refactor
11100
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11101
soname_spec='${libname}${release}${shared_ext}$major'
11102
shlibpath_var=LD_LIBRARY_PATH
11103
shlibpath_overrides_runpath=no
11104
hardcode_into_libs=yes
11108
version_type=linux # correct to gnu/linux during the next big refactor
11111
dynamic_linker="$host_os runtime_loader"
11112
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11113
soname_spec='${libname}${release}${shared_ext}$major'
11114
shlibpath_var=LIBRARY_PATH
11115
shlibpath_overrides_runpath=yes
11116
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11117
hardcode_into_libs=yes
11120
hpux9* | hpux10* | hpux11*)
11121
# Give a soname corresponding to the major version so that dld.sl refuses to
11122
# link against other versions.
11129
hardcode_into_libs=yes
11130
dynamic_linker="$host_os dld.so"
11131
shlibpath_var=LD_LIBRARY_PATH
11132
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11133
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11134
soname_spec='${libname}${release}${shared_ext}$major'
11135
if test "X$HPUX_IA64_MODE" = X32; then
11136
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11138
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11140
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11144
hardcode_into_libs=yes
11145
dynamic_linker="$host_os dld.sl"
11146
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11147
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11148
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11149
soname_spec='${libname}${release}${shared_ext}$major'
11150
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11151
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11155
dynamic_linker="$host_os dld.sl"
11156
shlibpath_var=SHLIB_PATH
11157
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11158
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11159
soname_spec='${libname}${release}${shared_ext}$major'
11162
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11163
postinstall_cmds='chmod 555 $lib'
11164
# or fails outright, so override atomically:
11165
install_override_mode=555
11169
version_type=linux # correct to gnu/linux during the next big refactor
11172
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11173
soname_spec='${libname}${release}${shared_ext}$major'
11174
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11175
shlibpath_var=LD_LIBRARY_PATH
11176
shlibpath_overrides_runpath=no
11177
hardcode_into_libs=yes
11180
irix5* | irix6* | nonstopux*)
11182
nonstopux*) version_type=nonstopux ;;
11184
if test "$lt_cv_prog_gnu_ld" = yes; then
11185
version_type=linux # correct to gnu/linux during the next big refactor
11192
soname_spec='${libname}${release}${shared_ext}$major'
11193
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11195
irix5* | nonstopux*)
11196
libsuff= shlibsuff=
11199
case $LD in # libtool.m4 will add one of these switches to LD
11200
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11201
libsuff= shlibsuff= libmagic=32-bit;;
11202
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11203
libsuff=32 shlibsuff=N32 libmagic=N32;;
11204
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11205
libsuff=64 shlibsuff=64 libmagic=64-bit;;
11206
*) libsuff= shlibsuff= libmagic=never-match;;
11210
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11211
shlibpath_overrides_runpath=no
11212
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11213
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11214
hardcode_into_libs=yes
11217
# No shared lib support for Linux oldld, aout, or coff.
11218
linux*oldld* | linux*aout* | linux*coff*)
11222
# This must be glibc/ELF.
11223
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11224
version_type=linux # correct to gnu/linux during the next big refactor
11227
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11228
soname_spec='${libname}${release}${shared_ext}$major'
11229
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11230
shlibpath_var=LD_LIBRARY_PATH
11231
shlibpath_overrides_runpath=no
11233
# Some binutils ld are patched to set DT_RUNPATH
11234
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11235
$as_echo_n "(cached) " >&6
11237
lt_cv_shlibpath_overrides_runpath=no
11238
save_LDFLAGS=$LDFLAGS
11239
save_libdir=$libdir
11240
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11241
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11242
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11243
/* end confdefs.h. */
11253
if ac_fn_c_try_link "$LINENO"; then :
11254
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11255
lt_cv_shlibpath_overrides_runpath=yes
11258
rm -f core conftest.err conftest.$ac_objext \
11259
conftest$ac_exeext conftest.$ac_ext
11260
LDFLAGS=$save_LDFLAGS
11261
libdir=$save_libdir
11265
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11267
# This implies no fast_install, which is unacceptable.
11268
# Some rework will be needed to allow for fast_install
11269
# before this can be enabled.
11270
hardcode_into_libs=yes
11272
# Append ld.so.conf contents to the search path
11273
if test -f /etc/ld.so.conf; then
11274
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' ' '`
11275
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11278
# We used to test for /lib/ld.so.1 and disable shared libraries on
11279
# powerpc, because MkLinux only supported shared libraries with the
11280
# GNU dynamic linker. Since this was broken with cross compilers,
11281
# most powerpc-linux boxes support dynamic linking these days and
11282
# people can always --disable-shared, the test was removed, and we
11283
# assume the GNU/Linux dynamic linker is in use.
11284
dynamic_linker='GNU/Linux ld.so'
11291
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11292
soname_spec='${libname}${release}${shared_ext}$major'
11293
shlibpath_var=LD_LIBRARY_PATH
11294
shlibpath_overrides_runpath=no
11295
hardcode_into_libs=yes
11296
dynamic_linker='NetBSD ld.elf_so'
11303
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11304
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11305
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11306
dynamic_linker='NetBSD (a.out) ld.so'
11308
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11309
soname_spec='${libname}${release}${shared_ext}$major'
11310
dynamic_linker='NetBSD ld.elf_so'
11312
shlibpath_var=LD_LIBRARY_PATH
11313
shlibpath_overrides_runpath=yes
11314
hardcode_into_libs=yes
11318
version_type=linux # correct to gnu/linux during the next big refactor
11319
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11320
shlibpath_var=LD_LIBRARY_PATH
11321
shlibpath_overrides_runpath=yes
11328
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11329
soname_spec='${libname}${release}${shared_ext}$major'
11330
shlibpath_var=LD_LIBRARY_PATH
11331
shlibpath_overrides_runpath=no
11332
hardcode_into_libs=yes
11333
dynamic_linker='ldqnx.so'
11338
sys_lib_dlsearch_path_spec="/usr/lib"
11340
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11342
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11343
*) need_version=no ;;
11345
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11346
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11347
shlibpath_var=LD_LIBRARY_PATH
11348
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11350
openbsd2.[89] | openbsd2.[89].*)
11351
shlibpath_overrides_runpath=no
11354
shlibpath_overrides_runpath=yes
11358
shlibpath_overrides_runpath=yes
11363
libname_spec='$name'
11366
library_names_spec='$libname${shared_ext} $libname.a'
11367
dynamic_linker='OS/2 ld.exe'
11368
shlibpath_var=LIBPATH
11371
osf3* | osf4* | osf5*)
11375
soname_spec='${libname}${release}${shared_ext}$major'
11376
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11377
shlibpath_var=LD_LIBRARY_PATH
11378
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11379
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11387
version_type=linux # correct to gnu/linux during the next big refactor
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
shlibpath_overrides_runpath=yes
11394
hardcode_into_libs=yes
11395
# ldd complains unless libraries are executable
11396
postinstall_cmds='chmod +x $lib'
11401
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11402
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11403
shlibpath_var=LD_LIBRARY_PATH
11404
shlibpath_overrides_runpath=yes
11405
if test "$with_gnu_ld" = yes; then
11412
version_type=linux # correct to gnu/linux during the next big refactor
11413
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11414
soname_spec='${libname}${release}${shared_ext}$major'
11415
shlibpath_var=LD_LIBRARY_PATH
11416
case $host_vendor in
11418
shlibpath_overrides_runpath=no
11420
runpath_var=LD_RUN_PATH
11428
shlibpath_overrides_runpath=no
11429
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11435
if test -d /usr/nec ;then
11436
version_type=linux # correct to gnu/linux during the next big refactor
11437
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11438
soname_spec='$libname${shared_ext}.$major'
11439
shlibpath_var=LD_LIBRARY_PATH
11443
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11444
version_type=freebsd-elf
11447
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11448
soname_spec='${libname}${release}${shared_ext}$major'
11449
shlibpath_var=LD_LIBRARY_PATH
11450
shlibpath_overrides_runpath=yes
11451
hardcode_into_libs=yes
11452
if test "$with_gnu_ld" = yes; then
11453
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11455
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11458
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11462
sys_lib_dlsearch_path_spec='/usr/lib'
11466
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11467
version_type=linux # correct to gnu/linux during the next big refactor
11470
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11471
shlibpath_var=LD_LIBRARY_PATH
11472
shlibpath_overrides_runpath=no
11473
hardcode_into_libs=yes
11477
version_type=linux # correct to gnu/linux during the next big refactor
11478
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11479
soname_spec='${libname}${release}${shared_ext}$major'
11480
shlibpath_var=LD_LIBRARY_PATH
11487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11488
$as_echo "$dynamic_linker" >&6; }
11489
test "$dynamic_linker" = no && can_build_shared=no
11491
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11492
if test "$GCC" = yes; then
11493
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11496
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11497
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11499
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11500
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11594
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11595
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11597
if test -n "$hardcode_libdir_flag_spec" ||
11598
test -n "$runpath_var" ||
11599
test "X$hardcode_automatic" = "Xyes" ; then
11601
# We can hardcode non-existent directories.
11602
if test "$hardcode_direct" != no &&
11603
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11604
# have to relink, otherwise we might link with an installed library
11605
# when we should be linking with a yet-to-be-installed one
11606
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11607
test "$hardcode_minus_L" != no; then
11608
# Linking always hardcodes the temporary library directory.
11609
hardcode_action=relink
11611
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11612
hardcode_action=immediate
11615
# We cannot hardcode anything, or else we can only hardcode existing
11617
hardcode_action=unsupported
11619
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11620
$as_echo "$hardcode_action" >&6; }
11622
if test "$hardcode_action" = relink ||
11623
test "$inherit_rpath" = yes; then
11624
# Fast installation is not supported
11625
enable_fast_install=no
11626
elif test "$shlibpath_overrides_runpath" = yes ||
11627
test "$enable_shared" = no; then
11628
# Fast installation is not necessary
11629
enable_fast_install=needless
11637
if test "x$enable_dlopen" != xyes; then
11638
enable_dlopen=unknown
11639
enable_dlopen_self=unknown
11640
enable_dlopen_self_static=unknown
11647
lt_cv_dlopen="load_add_on"
11649
lt_cv_dlopen_self=yes
11652
mingw* | pw32* | cegcc*)
11653
lt_cv_dlopen="LoadLibrary"
11658
lt_cv_dlopen="dlopen"
11663
# if libdl is installed we need to link against it
11664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11665
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11666
if ${ac_cv_lib_dl_dlopen+:} false; then :
11667
$as_echo_n "(cached) " >&6
11669
ac_check_lib_save_LIBS=$LIBS
11671
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11672
/* end confdefs.h. */
11674
/* Override any GCC internal prototype to avoid an error.
11675
Use char because int might match the return type of a GCC
11676
builtin and then its argument prototype would still apply. */
11689
if ac_fn_c_try_link "$LINENO"; then :
11690
ac_cv_lib_dl_dlopen=yes
11692
ac_cv_lib_dl_dlopen=no
11694
rm -f core conftest.err conftest.$ac_objext \
11695
conftest$ac_exeext conftest.$ac_ext
11696
LIBS=$ac_check_lib_save_LIBS
11698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11699
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11700
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11701
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11704
lt_cv_dlopen="dyld"
11706
lt_cv_dlopen_self=yes
11713
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11714
if test "x$ac_cv_func_shl_load" = xyes; then :
11715
lt_cv_dlopen="shl_load"
11717
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11718
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11719
if ${ac_cv_lib_dld_shl_load+:} false; then :
11720
$as_echo_n "(cached) " >&6
11722
ac_check_lib_save_LIBS=$LIBS
11724
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11725
/* end confdefs.h. */
11727
/* Override any GCC internal prototype to avoid an error.
11728
Use char because int might match the return type of a GCC
11729
builtin and then its argument prototype would still apply. */
11737
return shl_load ();
11742
if ac_fn_c_try_link "$LINENO"; then :
11743
ac_cv_lib_dld_shl_load=yes
11745
ac_cv_lib_dld_shl_load=no
11747
rm -f core conftest.err conftest.$ac_objext \
11748
conftest$ac_exeext conftest.$ac_ext
11749
LIBS=$ac_check_lib_save_LIBS
11751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11752
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11753
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11754
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11756
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11757
if test "x$ac_cv_func_dlopen" = xyes; then :
11758
lt_cv_dlopen="dlopen"
11760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11761
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11762
if ${ac_cv_lib_dl_dlopen+:} false; then :
11763
$as_echo_n "(cached) " >&6
11765
ac_check_lib_save_LIBS=$LIBS
11767
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11768
/* end confdefs.h. */
11770
/* Override any GCC internal prototype to avoid an error.
11771
Use char because int might match the return type of a GCC
11772
builtin and then its argument prototype would still apply. */
11785
if ac_fn_c_try_link "$LINENO"; then :
11786
ac_cv_lib_dl_dlopen=yes
11788
ac_cv_lib_dl_dlopen=no
11790
rm -f core conftest.err conftest.$ac_objext \
11791
conftest$ac_exeext conftest.$ac_ext
11792
LIBS=$ac_check_lib_save_LIBS
11794
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11795
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11796
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11797
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11800
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11801
if ${ac_cv_lib_svld_dlopen+:} false; then :
11802
$as_echo_n "(cached) " >&6
11804
ac_check_lib_save_LIBS=$LIBS
11805
LIBS="-lsvld $LIBS"
11806
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11807
/* end confdefs.h. */
11809
/* Override any GCC internal prototype to avoid an error.
11810
Use char because int might match the return type of a GCC
11811
builtin and then its argument prototype would still apply. */
11824
if ac_fn_c_try_link "$LINENO"; then :
11825
ac_cv_lib_svld_dlopen=yes
11827
ac_cv_lib_svld_dlopen=no
11829
rm -f core conftest.err conftest.$ac_objext \
11830
conftest$ac_exeext conftest.$ac_ext
11831
LIBS=$ac_check_lib_save_LIBS
11833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11834
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11835
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11836
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11839
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11840
if ${ac_cv_lib_dld_dld_link+:} false; then :
11841
$as_echo_n "(cached) " >&6
11843
ac_check_lib_save_LIBS=$LIBS
11845
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11846
/* end confdefs.h. */
11848
/* Override any GCC internal prototype to avoid an error.
11849
Use char because int might match the return type of a GCC
11850
builtin and then its argument prototype would still apply. */
11858
return dld_link ();
11863
if ac_fn_c_try_link "$LINENO"; then :
11864
ac_cv_lib_dld_dld_link=yes
11866
ac_cv_lib_dld_dld_link=no
11868
rm -f core conftest.err conftest.$ac_objext \
11869
conftest$ac_exeext conftest.$ac_ext
11870
LIBS=$ac_check_lib_save_LIBS
11872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11873
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11874
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11875
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11896
if test "x$lt_cv_dlopen" != xno; then
11902
case $lt_cv_dlopen in
11904
save_CPPFLAGS="$CPPFLAGS"
11905
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11907
save_LDFLAGS="$LDFLAGS"
11908
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11911
LIBS="$lt_cv_dlopen_libs $LIBS"
11913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11914
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11915
if ${lt_cv_dlopen_self+:} false; then :
11916
$as_echo_n "(cached) " >&6
11918
if test "$cross_compiling" = yes; then :
11919
lt_cv_dlopen_self=cross
11921
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11922
lt_status=$lt_dlunknown
11923
cat > conftest.$ac_ext <<_LT_EOF
11924
#line $LINENO "configure"
11925
#include "confdefs.h"
11934
# define LT_DLGLOBAL RTLD_GLOBAL
11937
# define LT_DLGLOBAL DL_GLOBAL
11939
# define LT_DLGLOBAL 0
11943
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11944
find out it does not work in some platform. */
11945
#ifndef LT_DLLAZY_OR_NOW
11947
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11950
# define LT_DLLAZY_OR_NOW DL_LAZY
11953
# define LT_DLLAZY_OR_NOW RTLD_NOW
11956
# define LT_DLLAZY_OR_NOW DL_NOW
11958
# define LT_DLLAZY_OR_NOW 0
11965
/* When -fvisbility=hidden is used, assume the code has been annotated
11966
correspondingly for the symbols needed. */
11967
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11968
int fnord () __attribute__((visibility("default")));
11971
int fnord () { return 42; }
11974
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11975
int status = $lt_dlunknown;
11979
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11982
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11983
else puts (dlerror ());
11985
/* dlclose (self); */
11993
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11994
(eval $ac_link) 2>&5
11996
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11997
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11998
(./conftest; exit; ) >&5 2>/dev/null
12000
case x$lt_status in
12001
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12002
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12003
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12006
# compilation failed
12007
lt_cv_dlopen_self=no
12014
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12015
$as_echo "$lt_cv_dlopen_self" >&6; }
12017
if test "x$lt_cv_dlopen_self" = xyes; then
12018
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12020
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12021
if ${lt_cv_dlopen_self_static+:} false; then :
12022
$as_echo_n "(cached) " >&6
12024
if test "$cross_compiling" = yes; then :
12025
lt_cv_dlopen_self_static=cross
12027
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12028
lt_status=$lt_dlunknown
12029
cat > conftest.$ac_ext <<_LT_EOF
12030
#line $LINENO "configure"
12031
#include "confdefs.h"
12040
# define LT_DLGLOBAL RTLD_GLOBAL
12043
# define LT_DLGLOBAL DL_GLOBAL
12045
# define LT_DLGLOBAL 0
12049
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12050
find out it does not work in some platform. */
12051
#ifndef LT_DLLAZY_OR_NOW
12053
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12056
# define LT_DLLAZY_OR_NOW DL_LAZY
12059
# define LT_DLLAZY_OR_NOW RTLD_NOW
12062
# define LT_DLLAZY_OR_NOW DL_NOW
12064
# define LT_DLLAZY_OR_NOW 0
12071
/* When -fvisbility=hidden is used, assume the code has been annotated
12072
correspondingly for the symbols needed. */
12073
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12074
int fnord () __attribute__((visibility("default")));
12077
int fnord () { return 42; }
12080
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12081
int status = $lt_dlunknown;
12085
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12088
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12089
else puts (dlerror ());
12091
/* dlclose (self); */
12099
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12100
(eval $ac_link) 2>&5
12102
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12103
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12104
(./conftest; exit; ) >&5 2>/dev/null
12106
case x$lt_status in
12107
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12108
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12109
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12112
# compilation failed
12113
lt_cv_dlopen_self_static=no
12120
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12121
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12124
CPPFLAGS="$save_CPPFLAGS"
12125
LDFLAGS="$save_LDFLAGS"
12130
case $lt_cv_dlopen_self in
12131
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12132
*) enable_dlopen_self=unknown ;;
12135
case $lt_cv_dlopen_self_static in
12136
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12137
*) enable_dlopen_self_static=unknown ;;
12159
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12160
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12161
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12162
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12163
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12164
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12165
$as_echo "yes" >&6; }
12167
# FIXME - insert some real tests, host_os isn't really good enough
12170
if test -n "$STRIP" ; then
12171
striplib="$STRIP -x"
12172
old_striplib="$STRIP -S"
12173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12174
$as_echo "yes" >&6; }
12176
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12177
$as_echo "no" >&6; }
12181
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12182
$as_echo "no" >&6; }
12198
# Report which library types will actually be built
12199
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12200
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12201
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12202
$as_echo "$can_build_shared" >&6; }
12204
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12205
$as_echo_n "checking whether to build shared libraries... " >&6; }
12206
test "$can_build_shared" = "no" && enable_shared=no
12208
# On AIX, shared libraries and static libraries use the same namespace, and
12209
# are all built from PIC.
12212
test "$enable_shared" = yes && enable_static=no
12213
if test -n "$RANLIB"; then
12214
archive_cmds="$archive_cmds~\$RANLIB \$lib"
12215
postinstall_cmds='$RANLIB $lib'
12220
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12221
test "$enable_shared" = yes && enable_static=no
12225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12226
$as_echo "$enable_shared" >&6; }
12228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12229
$as_echo_n "checking whether to build static libraries... " >&6; }
12230
# Make sure either enable_shared or enable_static is yes.
12231
test "$enable_shared" = yes || enable_static=yes
12232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12233
$as_echo "$enable_static" >&6; }
12240
ac_cpp='$CPP $CPPFLAGS'
12241
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12242
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12243
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12247
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12248
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12249
(test "X$CXX" != "Xg++"))) ; then
12251
ac_cpp='$CXXCPP $CPPFLAGS'
12252
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12253
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12254
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12256
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12257
if test -z "$CXXCPP"; then
12258
if ${ac_cv_prog_CXXCPP+:} false; then :
12259
$as_echo_n "(cached) " >&6
12261
# Double quotes because CXXCPP needs to be expanded
12262
for CXXCPP in "$CXX -E" "/lib/cpp"
12264
ac_preproc_ok=false
12265
for ac_cxx_preproc_warn_flag in '' yes
12267
# Use a header file that comes with gcc, so configuring glibc
12268
# with a fresh cross-compiler works.
12269
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12270
# <limits.h> exists even on freestanding compilers.
12271
# On the NeXT, cc -E runs the code through the compiler's parser,
12272
# not just through cpp. "Syntax error" is here to catch this case.
12273
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12274
/* end confdefs.h. */
12276
# include <limits.h>
12278
# include <assert.h>
12282
if ac_fn_cxx_try_cpp "$LINENO"; then :
12285
# Broken: fails on valid input.
12288
rm -f conftest.err conftest.i conftest.$ac_ext
12290
# OK, works on sane cases. Now check whether nonexistent headers
12291
# can be detected and how.
12292
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12293
/* end confdefs.h. */
12294
#include <ac_nonexistent.h>
12296
if ac_fn_cxx_try_cpp "$LINENO"; then :
12297
# Broken: success on invalid input.
12300
# Passes both tests.
12304
rm -f conftest.err conftest.i conftest.$ac_ext
12307
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12308
rm -f conftest.i conftest.err conftest.$ac_ext
12309
if $ac_preproc_ok; then :
12314
ac_cv_prog_CXXCPP=$CXXCPP
12317
CXXCPP=$ac_cv_prog_CXXCPP
12319
ac_cv_prog_CXXCPP=$CXXCPP
12321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12322
$as_echo "$CXXCPP" >&6; }
12323
ac_preproc_ok=false
12324
for ac_cxx_preproc_warn_flag in '' yes
12326
# Use a header file that comes with gcc, so configuring glibc
12327
# with a fresh cross-compiler works.
12328
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12329
# <limits.h> exists even on freestanding compilers.
12330
# On the NeXT, cc -E runs the code through the compiler's parser,
12331
# not just through cpp. "Syntax error" is here to catch this case.
12332
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12333
/* end confdefs.h. */
12335
# include <limits.h>
12337
# include <assert.h>
12341
if ac_fn_cxx_try_cpp "$LINENO"; then :
12344
# Broken: fails on valid input.
12347
rm -f conftest.err conftest.i conftest.$ac_ext
12349
# OK, works on sane cases. Now check whether nonexistent headers
12350
# can be detected and how.
12351
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12352
/* end confdefs.h. */
12353
#include <ac_nonexistent.h>
12355
if ac_fn_cxx_try_cpp "$LINENO"; then :
12356
# Broken: success on invalid input.
12359
# Passes both tests.
12363
rm -f conftest.err conftest.i conftest.$ac_ext
12366
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12367
rm -f conftest.i conftest.err conftest.$ac_ext
12368
if $ac_preproc_ok; then :
12371
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12372
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12373
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12374
See \`config.log' for more details" "$LINENO" 5; }
12378
ac_cpp='$CPP $CPPFLAGS'
12379
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12380
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12381
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12384
_lt_caught_CXX_error=yes
12388
ac_cpp='$CXXCPP $CPPFLAGS'
12389
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12390
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12391
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12393
archive_cmds_need_lc_CXX=no
12394
allow_undefined_flag_CXX=
12395
always_export_symbols_CXX=no
12396
archive_expsym_cmds_CXX=
12397
compiler_needs_object_CXX=no
12398
export_dynamic_flag_spec_CXX=
12399
hardcode_direct_CXX=no
12400
hardcode_direct_absolute_CXX=no
12401
hardcode_libdir_flag_spec_CXX=
12402
hardcode_libdir_separator_CXX=
12403
hardcode_minus_L_CXX=no
12404
hardcode_shlibpath_var_CXX=unsupported
12405
hardcode_automatic_CXX=no
12406
inherit_rpath_CXX=no
12408
module_expsym_cmds_CXX=
12409
link_all_deplibs_CXX=unknown
12410
old_archive_cmds_CXX=$old_archive_cmds
12411
reload_flag_CXX=$reload_flag
12412
reload_cmds_CXX=$reload_cmds
12413
no_undefined_flag_CXX=
12414
whole_archive_flag_spec_CXX=
12415
enable_shared_with_static_runtimes_CXX=no
12417
# Source file extension for C++ test sources.
12420
# Object file extension for compiled C++ test sources.
12424
# No sense in running all these tests if we already determined that
12425
# the CXX compiler isn't working. Some variables (like enable_shared)
12426
# are currently assumed to apply to all compilers on this platform,
12427
# and will be corrupted by setting them based on a non-working compiler.
12428
if test "$_lt_caught_CXX_error" != yes; then
12429
# Code to be used in simple compile tests
12430
lt_simple_compile_test_code="int some_variable = 0;"
12432
# Code to be used in simple link tests
12433
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12435
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12442
# If no C compiler was specified, use CC.
12445
# If no C compiler flags were specified, use CFLAGS.
12446
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12448
# Allow CC to be a program name with arguments.
12452
# save warnings/boilerplate of simple test code
12453
ac_outfile=conftest.$ac_objext
12454
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12455
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12456
_lt_compiler_boilerplate=`cat conftest.err`
12459
ac_outfile=conftest.$ac_objext
12460
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12461
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12462
_lt_linker_boilerplate=`cat conftest.err`
12466
# Allow CC to be a program name with arguments.
12468
lt_save_CFLAGS=$CFLAGS
12472
lt_save_with_gnu_ld=$with_gnu_ld
12473
lt_save_path_LD=$lt_cv_path_LD
12474
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12475
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12477
$as_unset lt_cv_prog_gnu_ld
12479
if test -n "${lt_cv_path_LDCXX+set}"; then
12480
lt_cv_path_LD=$lt_cv_path_LDCXX
12482
$as_unset lt_cv_path_LD
12484
test -z "${LDCXX+set}" || LD=$LDCXX
12489
for cc_temp in $compiler""; do
12491
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12492
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12497
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12500
if test -n "$compiler"; then
12501
# We don't want -fno-exception when compiling C++ code, so set the
12502
# no_builtin_flag separately
12503
if test "$GXX" = yes; then
12504
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12506
lt_prog_compiler_no_builtin_flag_CXX=
12509
if test "$GXX" = yes; then
12510
# Set up default GNU C++ configuration
12514
# Check whether --with-gnu-ld was given.
12515
if test "${with_gnu_ld+set}" = set; then :
12516
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12522
if test "$GCC" = yes; then
12523
# Check if gcc -print-prog-name=ld gives a path.
12524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12525
$as_echo_n "checking for ld used by $CC... " >&6; }
12528
# gcc leaves a trailing carriage return which upsets mingw
12529
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12531
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12534
# Accept absolute paths.
12536
re_direlt='/[^/][^/]*/\.\./'
12537
# Canonicalize the pathname of ld
12538
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12539
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12540
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12542
test -z "$LD" && LD="$ac_prog"
12545
# If it fails, then pretend we aren't using GCC.
12549
# If it is relative, then search for the first ld in PATH.
12550
with_gnu_ld=unknown
12553
elif test "$with_gnu_ld" = yes; then
12554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12555
$as_echo_n "checking for GNU ld... " >&6; }
12557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12558
$as_echo_n "checking for non-GNU ld... " >&6; }
12560
if ${lt_cv_path_LD+:} false; then :
12561
$as_echo_n "(cached) " >&6
12563
if test -z "$LD"; then
12564
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12565
for ac_dir in $PATH; do
12567
test -z "$ac_dir" && ac_dir=.
12568
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12569
lt_cv_path_LD="$ac_dir/$ac_prog"
12570
# Check to see if the program is GNU ld. I'd rather use --version,
12571
# but apparently some variants of GNU ld only accept -v.
12572
# Break only if it was the GNU/non-GNU ld that we prefer.
12573
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12574
*GNU* | *'with BFD'*)
12575
test "$with_gnu_ld" != no && break
12578
test "$with_gnu_ld" != yes && break
12585
lt_cv_path_LD="$LD" # Let the user override the test with a path.
12589
LD="$lt_cv_path_LD"
12590
if test -n "$LD"; then
12591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12592
$as_echo "$LD" >&6; }
12594
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12595
$as_echo "no" >&6; }
12597
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12598
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12599
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12600
if ${lt_cv_prog_gnu_ld+:} false; then :
12601
$as_echo_n "(cached) " >&6
12603
# I'd rather use --version here, but apparently some GNU lds only accept -v.
12604
case `$LD -v 2>&1 </dev/null` in
12605
*GNU* | *'with BFD'*)
12606
lt_cv_prog_gnu_ld=yes
12609
lt_cv_prog_gnu_ld=no
12613
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12614
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12615
with_gnu_ld=$lt_cv_prog_gnu_ld
12623
# Check if GNU C++ uses GNU ld as the underlying linker, since the
12624
# archiving commands below assume that GNU ld is being used.
12625
if test "$with_gnu_ld" = yes; then
12626
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12627
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'
12629
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12630
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12632
# If archive_cmds runs LD, not CC, wlarc should be empty
12633
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12634
# investigate it a little bit more. (MM)
12637
# ancient GNU ld didn't support --whole-archive et. al.
12638
if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12639
$GREP 'no-whole-archive' > /dev/null; then
12640
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12642
whole_archive_flag_spec_CXX=
12648
# A generic and very simple default shared library creation
12649
# command for GNU C++ for the case where it uses the native
12650
# linker, instead of GNU ld. If possible, this setting should
12651
# overridden to take advantage of the native linker features on
12652
# the platform it is being used on.
12653
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12656
# Commands to make compiler produce verbose output that lists
12657
# what "hidden" libraries, object files and flags are used when
12658
# linking a shared library.
12659
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12667
# PORTME: fill in a description of your system's C++ link characteristics
12668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12669
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12673
# FIXME: insert proper C++ library support
12677
if test "$host_cpu" = ia64; then
12678
# On IA64, the linker does run time linking by default, so we don't
12679
# have to do anything special.
12680
aix_use_runtimelinking=no
12681
exp_sym_flag='-Bexport'
12684
aix_use_runtimelinking=no
12686
# Test if we are trying to use run time linking or normal
12687
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
12688
# need to do runtime linking.
12689
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12690
for ld_flag in $LDFLAGS; do
12693
aix_use_runtimelinking=yes
12701
exp_sym_flag='-bexport'
12702
no_entry_flag='-bnoentry'
12705
# When large executables or shared objects are built, AIX ld can
12706
# have problems creating the table of contents. If linking a library
12707
# or program results in "error TOC overflow" add -mminimal-toc to
12708
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12709
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12711
archive_cmds_CXX=''
12712
hardcode_direct_CXX=yes
12713
hardcode_direct_absolute_CXX=yes
12714
hardcode_libdir_separator_CXX=':'
12715
link_all_deplibs_CXX=yes
12716
file_list_spec_CXX='${wl}-f,'
12718
if test "$GXX" = yes; then
12719
case $host_os in aix4.[012]|aix4.[012].*)
12720
# We only want to do this on AIX 4.2 and lower, the check
12721
# below for broken collect2 doesn't work under 4.3+
12722
collect2name=`${CC} -print-prog-name=collect2`
12723
if test -f "$collect2name" &&
12724
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12726
# We have reworked collect2
12729
# We have old collect2
12730
hardcode_direct_CXX=unsupported
12731
# It fails to find uninstalled libraries when the uninstalled
12732
# path is not listed in the libpath. Setting hardcode_minus_L
12733
# to unsupported forces relinking
12734
hardcode_minus_L_CXX=yes
12735
hardcode_libdir_flag_spec_CXX='-L$libdir'
12736
hardcode_libdir_separator_CXX=
12739
shared_flag='-shared'
12740
if test "$aix_use_runtimelinking" = yes; then
12741
shared_flag="$shared_flag "'${wl}-G'
12745
if test "$host_cpu" = ia64; then
12746
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12747
# chokes on -Wl,-G. The following line is correct:
12750
if test "$aix_use_runtimelinking" = yes; then
12751
shared_flag='${wl}-G'
12753
shared_flag='${wl}-bM:SRE'
12758
export_dynamic_flag_spec_CXX='${wl}-bexpall'
12759
# It seems that -bexpall does not export symbols beginning with
12760
# underscore (_), so it is better to generate a list of symbols to
12762
always_export_symbols_CXX=yes
12763
if test "$aix_use_runtimelinking" = yes; then
12764
# Warning - without using the other runtime loading flags (-brtl),
12765
# -berok will link without error, but may produce a broken library.
12766
allow_undefined_flag_CXX='-berok'
12767
# Determine the default libpath from the value encoded in an empty
12769
if test "${lt_cv_aix_libpath+set}" = set; then
12770
aix_libpath=$lt_cv_aix_libpath
12772
if ${lt_cv_aix_libpath__CXX+:} false; then :
12773
$as_echo_n "(cached) " >&6
12775
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12776
/* end confdefs.h. */
12786
if ac_fn_cxx_try_link "$LINENO"; then :
12788
lt_aix_libpath_sed='
12789
/Import File Strings/,/^$/ {
12791
s/^0 *\([^ ]*\) *$/\1/
12795
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12796
# Check for a 64-bit object if we didn't find anything.
12797
if test -z "$lt_cv_aix_libpath__CXX"; then
12798
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12801
rm -f core conftest.err conftest.$ac_objext \
12802
conftest$ac_exeext conftest.$ac_ext
12803
if test -z "$lt_cv_aix_libpath__CXX"; then
12804
lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12809
aix_libpath=$lt_cv_aix_libpath__CXX
12812
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12814
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"
12816
if test "$host_cpu" = ia64; then
12817
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12818
allow_undefined_flag_CXX="-z nodefs"
12819
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"
12821
# Determine the default libpath from the value encoded in an
12822
# empty executable.
12823
if test "${lt_cv_aix_libpath+set}" = set; then
12824
aix_libpath=$lt_cv_aix_libpath
12826
if ${lt_cv_aix_libpath__CXX+:} false; then :
12827
$as_echo_n "(cached) " >&6
12829
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12830
/* end confdefs.h. */
12840
if ac_fn_cxx_try_link "$LINENO"; then :
12842
lt_aix_libpath_sed='
12843
/Import File Strings/,/^$/ {
12845
s/^0 *\([^ ]*\) *$/\1/
12849
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12850
# Check for a 64-bit object if we didn't find anything.
12851
if test -z "$lt_cv_aix_libpath__CXX"; then
12852
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12855
rm -f core conftest.err conftest.$ac_objext \
12856
conftest$ac_exeext conftest.$ac_ext
12857
if test -z "$lt_cv_aix_libpath__CXX"; then
12858
lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12863
aix_libpath=$lt_cv_aix_libpath__CXX
12866
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12867
# Warning - without using the other run time loading flags,
12868
# -berok will link without error, but may produce a broken library.
12869
no_undefined_flag_CXX=' ${wl}-bernotok'
12870
allow_undefined_flag_CXX=' ${wl}-berok'
12871
if test "$with_gnu_ld" = yes; then
12872
# We only use this code for GNU lds that support --whole-archive.
12873
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12875
# Exported symbols can be pulled into shared objects from archives
12876
whole_archive_flag_spec_CXX='$convenience'
12878
archive_cmds_need_lc_CXX=yes
12879
# This is similar to how AIX traditionally builds its shared
12881
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'
12887
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12888
allow_undefined_flag_CXX=unsupported
12889
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12890
# support --undefined. This deserves some investigation. FIXME
12891
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12898
case $cc_basename in
12900
# FIXME: insert proper C++ library support
12906
cygwin* | mingw* | pw32* | cegcc*)
12907
case $GXX,$cc_basename in
12910
# hardcode_libdir_flag_spec is actually meaningless, as there is
12911
# no search path for DLLs.
12912
hardcode_libdir_flag_spec_CXX=' '
12913
allow_undefined_flag_CXX=unsupported
12914
always_export_symbols_CXX=yes
12915
file_list_spec_CXX='@'
12916
# Tell ltmain to make .lib files, not .a files.
12918
# Tell ltmain to make .dll files, not .so files.
12920
# FIXME: Setting linknames here is a bad hack.
12921
archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12922
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12923
$SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12925
$SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12927
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12929
# The linker will not automatically build a static lib if we build a DLL.
12930
# _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12931
enable_shared_with_static_runtimes_CXX=yes
12933
old_postinstall_cmds_CXX='chmod 644 $oldlib'
12934
postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12935
lt_tool_outputfile="@TOOL_OUTPUT@"~
12936
case $lt_outputfile in
12939
lt_outputfile="$lt_outputfile.exe"
12940
lt_tool_outputfile="$lt_tool_outputfile.exe"
12943
func_to_tool_file "$lt_outputfile"~
12944
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12945
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12946
$RM "$lt_outputfile.manifest";
12951
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12952
# as there is no search path for DLLs.
12953
hardcode_libdir_flag_spec_CXX='-L$libdir'
12954
export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12955
allow_undefined_flag_CXX=unsupported
12956
always_export_symbols_CXX=no
12957
enable_shared_with_static_runtimes_CXX=yes
12959
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12960
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'
12961
# If the export-symbols file already is a .def file (1st line
12962
# is EXPORTS), use it as is; otherwise, prepend...
12963
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12964
cp $export_symbols $output_objdir/$soname.def;
12966
echo EXPORTS > $output_objdir/$soname.def;
12967
cat $export_symbols >> $output_objdir/$soname.def;
12969
$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'
12976
darwin* | rhapsody*)
12979
archive_cmds_need_lc_CXX=no
12980
hardcode_direct_CXX=no
12981
hardcode_automatic_CXX=yes
12982
hardcode_shlibpath_var_CXX=unsupported
12983
if test "$lt_cv_ld_force_load" = "yes"; then
12984
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\"`'
12987
whole_archive_flag_spec_CXX=''
12989
link_all_deplibs_CXX=yes
12990
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12991
case $cc_basename in
12992
ifort*) _lt_dar_can_shared=yes ;;
12993
*) _lt_dar_can_shared=$GCC ;;
12995
if test "$_lt_dar_can_shared" = "yes"; then
12996
output_verbose_link_cmd=func_echo_all
12997
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}"
12998
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12999
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}"
13000
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}"
13001
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13002
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}"
13003
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}"
13013
case $cc_basename in
13015
# FIXME: insert proper C++ library support
13019
# Green Hills C++ Compiler
13020
# FIXME: insert proper C++ library support
13024
# FIXME: insert proper C++ library support
13031
# C++ shared libraries reported to be fairly broken before
13037
archive_cmds_need_lc_CXX=no
13040
freebsd* | dragonfly*)
13041
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13050
archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13051
link_all_deplibs_CXX=yes
13055
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13056
hardcode_libdir_separator_CXX=:
13057
export_dynamic_flag_spec_CXX='${wl}-E'
13058
hardcode_direct_CXX=yes
13059
hardcode_minus_L_CXX=yes # Not in the search PATH,
13060
# but as the default
13061
# location of the library.
13063
case $cc_basename in
13065
# FIXME: insert proper C++ library support
13069
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'
13070
# Commands to make compiler produce verbose output that lists
13071
# what "hidden" libraries, object files and flags are used when
13072
# linking a shared library.
13074
# There doesn't appear to be a way to prevent this compiler from
13075
# explicitly linking system object files so we need to strip them
13076
# from the output so that they don't get included in the library
13078
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"'
13081
if test "$GXX" = yes; then
13082
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'
13084
# FIXME: insert proper C++ library support
13092
if test $with_gnu_ld = no; then
13093
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13094
hardcode_libdir_separator_CXX=:
13100
export_dynamic_flag_spec_CXX='${wl}-E'
13106
hardcode_direct_CXX=no
13107
hardcode_shlibpath_var_CXX=no
13110
hardcode_direct_CXX=yes
13111
hardcode_direct_absolute_CXX=yes
13112
hardcode_minus_L_CXX=yes # Not in the search PATH,
13113
# but as the default
13114
# location of the library.
13118
case $cc_basename in
13120
# FIXME: insert proper C++ library support
13126
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13129
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13132
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13135
# Commands to make compiler produce verbose output that lists
13136
# what "hidden" libraries, object files and flags are used when
13137
# linking a shared library.
13139
# There doesn't appear to be a way to prevent this compiler from
13140
# explicitly linking system object files so we need to strip them
13141
# from the output so that they don't get included in the library
13143
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"'
13146
if test "$GXX" = yes; then
13147
if test $with_gnu_ld = no; then
13150
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13153
archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13156
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'
13161
# FIXME: insert proper C++ library support
13169
hardcode_direct_CXX=no
13170
hardcode_shlibpath_var_CXX=no
13171
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13172
export_dynamic_flag_spec_CXX='${wl}-E'
13173
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13174
# Instead, shared libraries are loaded at an image base (0x10000000 by
13175
# default) and relocated if they conflict, which is a slow very memory
13176
# consuming and fragmenting process. To avoid this, we pick a random,
13177
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13178
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
13179
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'
13180
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'
13183
case $cc_basename in
13186
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'
13188
# Archives containing C++ object files must be created using
13189
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
13190
# necessary to make sure instantiated templates are included
13192
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13195
if test "$GXX" = yes; then
13196
if test "$with_gnu_ld" = no; then
13197
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'
13199
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'
13202
link_all_deplibs_CXX=yes
13205
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13206
hardcode_libdir_separator_CXX=:
13207
inherit_rpath_CXX=yes
13210
linux* | k*bsd*-gnu | kopensolaris*-gnu)
13211
case $cc_basename in
13213
# Kuck and Associates, Inc. (KAI) C++ Compiler
13215
# KCC will only create a shared library if the output file
13216
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13217
# to its proper name (with version) after linking.
13218
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'
13219
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'
13220
# Commands to make compiler produce verbose output that lists
13221
# what "hidden" libraries, object files and flags are used when
13222
# linking a shared library.
13224
# There doesn't appear to be a way to prevent this compiler from
13225
# explicitly linking system object files so we need to strip them
13226
# from the output so that they don't get included in the library
13228
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"'
13230
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13231
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13233
# Archives containing C++ object files must be created using
13234
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
13235
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13240
# version 8.0 and above of icpc choke on multiply defined symbols
13241
# if we add $predep_objects and $postdep_objects, however 7.1 and
13242
# earlier do not add the objects themselves.
13243
case `$CC -V 2>&1` in
13245
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13246
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'
13248
*) # Version 8.0 or newer
13251
ia64*) tmp_idyn=' -i_dynamic';;
13253
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13254
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'
13257
archive_cmds_need_lc_CXX=no
13258
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13259
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13260
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13263
# Portland Group C++ compiler
13265
*pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13266
prelink_cmds_CXX='tpldir=Template.dir~
13268
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13269
compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13270
old_archive_cmds_CXX='tpldir=Template.dir~
13272
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13273
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13275
archive_cmds_CXX='tpldir=Template.dir~
13277
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13278
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13279
archive_expsym_cmds_CXX='tpldir=Template.dir~
13281
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13282
$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'
13284
*) # Version 6 and above use weak symbols
13285
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13286
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'
13290
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13291
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13292
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'
13296
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13297
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'
13299
runpath_var=LD_RUN_PATH
13300
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13301
hardcode_libdir_separator_CXX=:
13303
# Commands to make compiler produce verbose output that lists
13304
# what "hidden" libraries, object files and flags are used when
13305
# linking a shared library.
13307
# There doesn't appear to be a way to prevent this compiler from
13308
# explicitly linking system object files so we need to strip them
13309
# from the output so that they don't get included in the library
13311
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'
13313
xl* | mpixl* | bgxl*)
13314
# IBM XL 8.0 on PPC, with GNU ld
13315
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13316
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13317
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13318
if test "x$supports_anon_versioning" = xyes; then
13319
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13320
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13321
echo "local: *; };" >> $output_objdir/$libname.ver~
13322
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13326
case `$CC -V 2>&1 | sed 5q` in
13329
no_undefined_flag_CXX=' -zdefs'
13330
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13331
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'
13332
hardcode_libdir_flag_spec_CXX='-R$libdir'
13333
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'
13334
compiler_needs_object_CXX=yes
13336
# Not sure whether something based on
13337
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13339
output_verbose_link_cmd='func_echo_all'
13341
# Archives containing C++ object files must be created using
13342
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13343
# necessary to make sure instantiated templates are included
13345
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13353
# FIXME: insert proper C++ library support
13358
# FIXME: insert proper C++ library support
13363
case $cc_basename in
13365
# FIXME: insert proper C++ library support
13369
# FIXME: insert proper C++ library support
13376
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13377
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13379
hardcode_libdir_flag_spec_CXX='-R$libdir'
13380
hardcode_direct_CXX=yes
13381
hardcode_shlibpath_var_CXX=no
13383
# Workaround some broken pre-1.5 toolchains
13384
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13392
# C++ shared libraries are fairly broken
13397
if test -f /usr/libexec/ld.so; then
13398
hardcode_direct_CXX=yes
13399
hardcode_shlibpath_var_CXX=no
13400
hardcode_direct_absolute_CXX=yes
13401
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13402
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13403
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13404
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13405
export_dynamic_flag_spec_CXX='${wl}-E'
13406
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13408
output_verbose_link_cmd=func_echo_all
13414
osf3* | osf4* | osf5*)
13415
case $cc_basename in
13417
# Kuck and Associates, Inc. (KAI) C++ Compiler
13419
# KCC will only create a shared library if the output file
13420
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13421
# to its proper name (with version) after linking.
13422
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'
13424
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13425
hardcode_libdir_separator_CXX=:
13427
# Archives containing C++ object files must be created using
13428
# the KAI C++ compiler.
13430
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13431
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13435
# Rational C++ 2.4.1
13436
# FIXME: insert proper C++ library support
13442
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13443
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'
13444
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13447
allow_undefined_flag_CXX=' -expect_unresolved \*'
13448
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'
13449
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13450
echo "-hidden">> $lib.exp~
13451
$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~
13453
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13457
hardcode_libdir_separator_CXX=:
13459
# Commands to make compiler produce verbose output that lists
13460
# what "hidden" libraries, object files and flags are used when
13461
# linking a shared library.
13463
# There doesn't appear to be a way to prevent this compiler from
13464
# explicitly linking system object files so we need to strip them
13465
# from the output so that they don't get included in the library
13467
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"'
13470
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13471
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13474
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'
13477
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'
13481
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13482
hardcode_libdir_separator_CXX=:
13484
# Commands to make compiler produce verbose output that lists
13485
# what "hidden" libraries, object files and flags are used when
13486
# linking a shared library.
13487
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13490
# FIXME: insert proper C++ library support
13498
# FIXME: insert proper C++ library support
13503
case $cc_basename in
13506
# FIXME: insert proper C++ library support
13511
# FIXME: insert proper C++ library support
13515
# FIXME: insert proper C++ library support
13522
case $cc_basename in
13524
# Sun C++ 4.2, 5.x and Centerline C++
13525
archive_cmds_need_lc_CXX=yes
13526
no_undefined_flag_CXX=' -zdefs'
13527
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13528
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13529
$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'
13531
hardcode_libdir_flag_spec_CXX='-R$libdir'
13532
hardcode_shlibpath_var_CXX=no
13534
solaris2.[0-5] | solaris2.[0-5].*) ;;
13536
# The compiler driver will combine and reorder linker options,
13537
# but understands `-z linker_flag'.
13538
# Supported since Solaris 2.6 (maybe 2.5.1?)
13539
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13542
link_all_deplibs_CXX=yes
13544
output_verbose_link_cmd='func_echo_all'
13546
# Archives containing C++ object files must be created using
13547
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13548
# necessary to make sure instantiated templates are included
13550
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13553
# Green Hills C++ Compiler
13554
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13556
# The C++ compiler must be used to create the archive.
13557
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13560
# GNU C++ compiler with Solaris linker
13561
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13562
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13563
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13564
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13565
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13566
$CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13568
# Commands to make compiler produce verbose output that lists
13569
# what "hidden" libraries, object files and flags are used when
13570
# linking a shared library.
13571
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13573
# g++ 2.7 appears to require `-G' NOT `-shared' on this
13575
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13576
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13577
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13579
# Commands to make compiler produce verbose output that lists
13580
# what "hidden" libraries, object files and flags are used when
13581
# linking a shared library.
13582
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13585
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13587
solaris2.[0-5] | solaris2.[0-5].*) ;;
13589
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13597
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13598
no_undefined_flag_CXX='${wl}-z,text'
13599
archive_cmds_need_lc_CXX=no
13600
hardcode_shlibpath_var_CXX=no
13601
runpath_var='LD_RUN_PATH'
13603
case $cc_basename in
13605
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13606
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13609
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13610
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13615
sysv5* | sco3.2v5* | sco5v6*)
13616
# Note: We can NOT use -z defs as we might desire, because we do not
13617
# link with -lc, and that would cause any symbols used from libc to
13618
# always be unresolved, which means just about no library would
13619
# ever link correctly. If we're not using GNU ld we use -z text
13620
# though, which does catch some bad symbols but isn't as heavy-handed
13622
no_undefined_flag_CXX='${wl}-z,text'
13623
allow_undefined_flag_CXX='${wl}-z,nodefs'
13624
archive_cmds_need_lc_CXX=no
13625
hardcode_shlibpath_var_CXX=no
13626
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13627
hardcode_libdir_separator_CXX=':'
13628
link_all_deplibs_CXX=yes
13629
export_dynamic_flag_spec_CXX='${wl}-Bexport'
13630
runpath_var='LD_RUN_PATH'
13632
case $cc_basename in
13634
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13635
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13636
old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13637
'"$old_archive_cmds_CXX"
13638
reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13639
'"$reload_cmds_CXX"
13642
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13643
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13649
case $cc_basename in
13651
# NonStop-UX NCC 3.20
13652
# FIXME: insert proper C++ library support
13656
# FIXME: insert proper C++ library support
13663
# FIXME: insert proper C++ library support
13668
# FIXME: insert proper C++ library support
13673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13674
$as_echo "$ld_shlibs_CXX" >&6; }
13675
test "$ld_shlibs_CXX" = no && can_build_shared=no
13681
## There is no encapsulation within the following macros, do not change
13682
## the running order or otherwise move them around unless you know exactly
13683
## what you are doing...
13684
# Dependencies to place before and after the object being linked:
13685
predep_objects_CXX=
13686
postdep_objects_CXX=
13689
compiler_lib_search_path_CXX=
13691
cat > conftest.$ac_ext <<_LT_EOF
13695
Foo (void) { a = 0; }
13702
_lt_libdeps_save_CFLAGS=$CFLAGS
13703
case "$CC $CFLAGS " in #(
13704
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13705
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13706
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13709
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13710
(eval $ac_compile) 2>&5
13712
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13713
test $ac_status = 0; }; then
13714
# Parse the compiler output and extract the necessary
13715
# objects, libraries and library flags.
13717
# Sentinel used to keep track of whether or not we are before
13718
# the conftest object file.
13719
pre_test_object_deps_done=no
13721
for p in `eval "$output_verbose_link_cmd"`; do
13722
case ${prev}${p} in
13725
# Some compilers place space between "-{L,R}" and the path.
13726
# Remove the space.
13727
if test $p = "-L" ||
13728
test $p = "-R"; then
13733
# Expand the sysroot to ease extracting the directories later.
13734
if test -z "$prev"; then
13736
-L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13737
-R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13738
-l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13742
=*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13744
if test "$pre_test_object_deps_done" = no; then
13747
# Internal compiler library paths should come after those
13748
# provided the user. The postdeps already come after the
13749
# user supplied libs so there is no need to process them.
13750
if test -z "$compiler_lib_search_path_CXX"; then
13751
compiler_lib_search_path_CXX="${prev}${p}"
13753
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13756
# The "-l" case would never come before the object being
13757
# linked, so don't bother handling this case.
13760
if test -z "$postdeps_CXX"; then
13761
postdeps_CXX="${prev}${p}"
13763
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13769
*.lto.$objext) ;; # Ignore GCC LTO objects
13771
# This assumes that the test object file only shows up
13772
# once in the compiler output.
13773
if test "$p" = "conftest.$objext"; then
13774
pre_test_object_deps_done=yes
13778
if test "$pre_test_object_deps_done" = no; then
13779
if test -z "$predep_objects_CXX"; then
13780
predep_objects_CXX="$p"
13782
predep_objects_CXX="$predep_objects_CXX $p"
13785
if test -z "$postdep_objects_CXX"; then
13786
postdep_objects_CXX="$p"
13788
postdep_objects_CXX="$postdep_objects_CXX $p"
13793
*) ;; # Ignore the rest.
13801
echo "libtool.m4: error: problem compiling CXX test program"
13804
$RM -f confest.$objext
13805
CFLAGS=$_lt_libdeps_save_CFLAGS
13807
# PORTME: override above test on systems where it is broken
13810
# Interix 3.5 installs completely hosed .la files for C++, so rather than
13811
# hack all around it, let's just trust "g++" to DTRT.
13812
predep_objects_CXX=
13813
postdep_objects_CXX=
13818
case `$CC -V 2>&1 | sed 5q` in
13822
# The more standards-conforming stlport4 library is
13823
# incompatible with the Cstd library. Avoid specifying
13824
# it if it's in CXXFLAGS. Ignore libCrun as
13825
# -library=stlport4 depends on it.
13826
case " $CXX $CXXFLAGS " in
13827
*" -library=stlport4 "*)
13828
solaris_use_stlport4=yes
13832
if test "$solaris_use_stlport4" != yes; then
13833
postdeps_CXX='-library=Cstd -library=Crun'
13840
case $cc_basename in
13842
# The more standards-conforming stlport4 library is
13843
# incompatible with the Cstd library. Avoid specifying
13844
# it if it's in CXXFLAGS. Ignore libCrun as
13845
# -library=stlport4 depends on it.
13846
case " $CXX $CXXFLAGS " in
13847
*" -library=stlport4 "*)
13848
solaris_use_stlport4=yes
13852
# Adding this requires a known-good setup of shared libraries for
13853
# Sun compiler versions before 5.6, else PIC objects from an old
13854
# archive will be linked into the output, leading to subtle bugs.
13855
if test "$solaris_use_stlport4" != yes; then
13856
postdeps_CXX='-library=Cstd -library=Crun'
13864
case " $postdeps_CXX " in
13865
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13867
compiler_lib_search_dirs_CXX=
13868
if test -n "${compiler_lib_search_path_CXX}"; then
13869
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13902
lt_prog_compiler_wl_CXX=
13903
lt_prog_compiler_pic_CXX=
13904
lt_prog_compiler_static_CXX=
13907
# C++ specific cases for pic, static, wl, etc.
13908
if test "$GXX" = yes; then
13909
lt_prog_compiler_wl_CXX='-Wl,'
13910
lt_prog_compiler_static_CXX='-static'
13914
# All AIX code is PIC.
13915
if test "$host_cpu" = ia64; then
13916
# AIX 5 now supports IA64 processor
13917
lt_prog_compiler_static_CXX='-Bstatic'
13924
# see comment about AmigaOS4 .so support
13925
lt_prog_compiler_pic_CXX='-fPIC'
13928
# FIXME: we need at least 68020 code to build shared libraries, but
13929
# adding the `-m68020' flag to GCC prevents building anything better,
13931
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13936
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13937
# PIC is the default for these OSes.
13939
mingw* | cygwin* | os2* | pw32* | cegcc*)
13940
# This hack is so that the source file can tell whether it is being
13941
# built for inclusion in a dll (and should export symbols for example).
13942
# Although the cygwin gcc ignores -fPIC, still need this for old-style
13943
# (--disable-auto-import) libraries
13944
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13946
darwin* | rhapsody*)
13947
# PIC is the default on this platform
13948
# Common symbols not allowed in MH_DYLIB files
13949
lt_prog_compiler_pic_CXX='-fno-common'
13952
# DJGPP does not support shared libraries at all
13953
lt_prog_compiler_pic_CXX=
13956
# PIC is the default for Haiku.
13957
# The "-static" flag exists, but is broken.
13958
lt_prog_compiler_static_CXX=
13961
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
13962
# Instead, we relocate shared libraries at runtime.
13965
if test -d /usr/nec; then
13966
lt_prog_compiler_pic_CXX=-Kconform_pic
13970
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13971
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13972
# sets the default TLS model and affects inlining.
13977
lt_prog_compiler_pic_CXX='-fPIC'
13982
# QNX uses GNU C++, but need to define -shared option too, otherwise
13983
# it will coredump.
13984
lt_prog_compiler_pic_CXX='-fPIC -shared'
13987
lt_prog_compiler_pic_CXX='-fPIC'
13993
# All AIX code is PIC.
13994
if test "$host_cpu" = ia64; then
13995
# AIX 5 now supports IA64 processor
13996
lt_prog_compiler_static_CXX='-Bstatic'
13998
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14002
case $cc_basename in
14004
# Green Hills C++ Compiler
14005
# _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"
14009
mingw* | cygwin* | os2* | pw32* | cegcc*)
14010
# This hack is so that the source file can tell whether it is being
14011
# built for inclusion in a dll (and should export symbols for example).
14012
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14015
case $cc_basename in
14017
lt_prog_compiler_pic_CXX='-KPIC'
14020
# Green Hills C++ Compiler
14021
lt_prog_compiler_pic_CXX='-pic'
14027
freebsd* | dragonfly*)
14028
# FreeBSD uses GNU C++
14030
hpux9* | hpux10* | hpux11*)
14031
case $cc_basename in
14033
lt_prog_compiler_wl_CXX='-Wl,'
14034
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14035
if test "$host_cpu" != ia64; then
14036
lt_prog_compiler_pic_CXX='+Z'
14040
lt_prog_compiler_wl_CXX='-Wl,'
14041
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14047
lt_prog_compiler_pic_CXX='+Z'
14056
# This is c89, which is MS Visual C++ (no shared libs)
14057
# Anyone wants to do a port?
14059
irix5* | irix6* | nonstopux*)
14060
case $cc_basename in
14062
lt_prog_compiler_wl_CXX='-Wl,'
14063
lt_prog_compiler_static_CXX='-non_shared'
14064
# CC pic flag -KPIC is the default.
14070
linux* | k*bsd*-gnu | kopensolaris*-gnu)
14071
case $cc_basename in
14074
lt_prog_compiler_wl_CXX='--backend -Wl,'
14075
lt_prog_compiler_pic_CXX='-fPIC'
14078
# old Intel C++ for x86_64 which still supported -KPIC.
14079
lt_prog_compiler_wl_CXX='-Wl,'
14080
lt_prog_compiler_pic_CXX='-KPIC'
14081
lt_prog_compiler_static_CXX='-static'
14084
# Intel C++, used to be incompatible with GCC.
14085
# ICC 10 doesn't accept -KPIC any more.
14086
lt_prog_compiler_wl_CXX='-Wl,'
14087
lt_prog_compiler_pic_CXX='-fPIC'
14088
lt_prog_compiler_static_CXX='-static'
14091
# Portland Group C++ compiler
14092
lt_prog_compiler_wl_CXX='-Wl,'
14093
lt_prog_compiler_pic_CXX='-fpic'
14094
lt_prog_compiler_static_CXX='-Bstatic'
14098
# Make sure the PIC flag is empty. It appears that all Alpha
14099
# Linux and Compaq Tru64 Unix objects are PIC.
14100
lt_prog_compiler_pic_CXX=
14101
lt_prog_compiler_static_CXX='-non_shared'
14103
xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14104
# IBM XL 8.0, 9.0 on PPC and BlueGene
14105
lt_prog_compiler_wl_CXX='-Wl,'
14106
lt_prog_compiler_pic_CXX='-qpic'
14107
lt_prog_compiler_static_CXX='-qstaticlink'
14110
case `$CC -V 2>&1 | sed 5q` in
14113
lt_prog_compiler_pic_CXX='-KPIC'
14114
lt_prog_compiler_static_CXX='-Bstatic'
14115
lt_prog_compiler_wl_CXX='-Qoption ld '
14126
case $cc_basename in
14128
lt_prog_compiler_pic_CXX='-W c,exportall'
14134
netbsd* | netbsdelf*-gnu)
14137
# QNX uses GNU C++, but need to define -shared option too, otherwise
14138
# it will coredump.
14139
lt_prog_compiler_pic_CXX='-fPIC -shared'
14141
osf3* | osf4* | osf5*)
14142
case $cc_basename in
14144
lt_prog_compiler_wl_CXX='--backend -Wl,'
14147
# Rational C++ 2.4.1
14148
lt_prog_compiler_pic_CXX='-pic'
14151
# Digital/Compaq C++
14152
lt_prog_compiler_wl_CXX='-Wl,'
14153
# Make sure the PIC flag is empty. It appears that all Alpha
14154
# Linux and Compaq Tru64 Unix objects are PIC.
14155
lt_prog_compiler_pic_CXX=
14156
lt_prog_compiler_static_CXX='-non_shared'
14165
case $cc_basename in
14167
# Sun C++ 4.2, 5.x and Centerline C++
14168
lt_prog_compiler_pic_CXX='-KPIC'
14169
lt_prog_compiler_static_CXX='-Bstatic'
14170
lt_prog_compiler_wl_CXX='-Qoption ld '
14173
# Green Hills C++ Compiler
14174
lt_prog_compiler_pic_CXX='-PIC'
14181
case $cc_basename in
14184
lt_prog_compiler_pic_CXX='-pic'
14185
lt_prog_compiler_static_CXX='-Bstatic'
14189
lt_prog_compiler_pic_CXX='-pic'
14195
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14196
case $cc_basename in
14198
lt_prog_compiler_wl_CXX='-Wl,'
14199
lt_prog_compiler_pic_CXX='-KPIC'
14200
lt_prog_compiler_static_CXX='-Bstatic'
14205
case $cc_basename in
14207
# NonStop-UX NCC 3.20
14208
lt_prog_compiler_pic_CXX='-KPIC'
14217
lt_prog_compiler_can_build_shared_CXX=no
14223
# For platforms which do not support PIC, -DPIC is meaningless:
14225
lt_prog_compiler_pic_CXX=
14228
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14232
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14233
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14234
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14235
$as_echo_n "(cached) " >&6
14237
lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14239
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14240
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14241
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14244
# Check to make sure the PIC flag actually works.
14246
if test -n "$lt_prog_compiler_pic_CXX"; then
14247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14248
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14249
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14250
$as_echo_n "(cached) " >&6
14252
lt_cv_prog_compiler_pic_works_CXX=no
14253
ac_outfile=conftest.$ac_objext
14254
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14255
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14256
# Insert the option either (1) after the last *FLAGS variable, or
14257
# (2) before a word containing "conftest.", or (3) at the end.
14258
# Note that $ac_compile itself does not contain backslashes and begins
14259
# with a dollar sign (not a hyphen), so the echo should work correctly.
14260
# The option is referenced via a variable to avoid confusing sed.
14261
lt_compile=`echo "$ac_compile" | $SED \
14262
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14263
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14264
-e 's:$: $lt_compiler_flag:'`
14265
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14266
(eval "$lt_compile" 2>conftest.err)
14268
cat conftest.err >&5
14269
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14270
if (exit $ac_status) && test -s "$ac_outfile"; then
14271
# The compiler can only warn and ignore the option if not recognized
14272
# So say no if there are warnings other than the usual output.
14273
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14274
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14275
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14276
lt_cv_prog_compiler_pic_works_CXX=yes
14282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14283
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14285
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14286
case $lt_prog_compiler_pic_CXX in
14288
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14291
lt_prog_compiler_pic_CXX=
14292
lt_prog_compiler_can_build_shared_CXX=no
14302
# Check to make sure the static flag actually works.
14304
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14305
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14306
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14307
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14308
$as_echo_n "(cached) " >&6
14310
lt_cv_prog_compiler_static_works_CXX=no
14311
save_LDFLAGS="$LDFLAGS"
14312
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14313
echo "$lt_simple_link_test_code" > conftest.$ac_ext
14314
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14315
# The linker can only warn and ignore the option if not recognized
14316
# So say no if there are warnings
14317
if test -s conftest.err; then
14318
# Append any errors to the config.log.
14319
cat conftest.err 1>&5
14320
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14321
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14322
if diff conftest.exp conftest.er2 >/dev/null; then
14323
lt_cv_prog_compiler_static_works_CXX=yes
14326
lt_cv_prog_compiler_static_works_CXX=yes
14330
LDFLAGS="$save_LDFLAGS"
14333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14334
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14336
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14339
lt_prog_compiler_static_CXX=
14345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14346
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14347
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14348
$as_echo_n "(cached) " >&6
14350
lt_cv_prog_compiler_c_o_CXX=no
14351
$RM -r conftest 2>/dev/null
14355
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14357
lt_compiler_flag="-o out/conftest2.$ac_objext"
14358
# Insert the option either (1) after the last *FLAGS variable, or
14359
# (2) before a word containing "conftest.", or (3) at the end.
14360
# Note that $ac_compile itself does not contain backslashes and begins
14361
# with a dollar sign (not a hyphen), so the echo should work correctly.
14362
lt_compile=`echo "$ac_compile" | $SED \
14363
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14364
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14365
-e 's:$: $lt_compiler_flag:'`
14366
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14367
(eval "$lt_compile" 2>out/conftest.err)
14369
cat out/conftest.err >&5
14370
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14371
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14373
# The compiler can only warn and ignore the option if not recognized
14374
# So say no if there are warnings
14375
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14376
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14377
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14378
lt_cv_prog_compiler_c_o_CXX=yes
14383
# SGI C++ compiler will create directory out/ii_files/ for
14384
# template instantiation
14385
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14386
$RM out/* && rmdir out
14392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14393
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14397
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14398
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14399
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14400
$as_echo_n "(cached) " >&6
14402
lt_cv_prog_compiler_c_o_CXX=no
14403
$RM -r conftest 2>/dev/null
14407
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14409
lt_compiler_flag="-o out/conftest2.$ac_objext"
14410
# Insert the option either (1) after the last *FLAGS variable, or
14411
# (2) before a word containing "conftest.", or (3) at the end.
14412
# Note that $ac_compile itself does not contain backslashes and begins
14413
# with a dollar sign (not a hyphen), so the echo should work correctly.
14414
lt_compile=`echo "$ac_compile" | $SED \
14415
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14416
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14417
-e 's:$: $lt_compiler_flag:'`
14418
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14419
(eval "$lt_compile" 2>out/conftest.err)
14421
cat out/conftest.err >&5
14422
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14423
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14425
# The compiler can only warn and ignore the option if not recognized
14426
# So say no if there are warnings
14427
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14428
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14429
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14430
lt_cv_prog_compiler_c_o_CXX=yes
14435
# SGI C++ compiler will create directory out/ii_files/ for
14436
# template instantiation
14437
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14438
$RM out/* && rmdir out
14444
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14445
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14450
hard_links="nottested"
14451
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14452
# do not overwrite the value of need_locks provided by the user
14453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14454
$as_echo_n "checking if we can lock with hard links... " >&6; }
14457
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14459
ln conftest.a conftest.b 2>&5 || hard_links=no
14460
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14462
$as_echo "$hard_links" >&6; }
14463
if test "$hard_links" = no; then
14464
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14465
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14474
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14475
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14477
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14478
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14481
# If we're using GNU nm, then we don't want the "-C" option.
14482
# -C means demangle to AIX nm, but means don't demangle with GNU nm
14483
# Also, AIX nm treats weak defined symbols like other global defined
14484
# symbols, whereas GNU nm marks them as "W".
14485
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14486
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'
14488
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'
14492
export_symbols_cmds_CXX="$ltdll_cmds"
14494
cygwin* | mingw* | cegcc*)
14495
case $cc_basename in
14497
exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14500
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'
14501
exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14505
linux* | k*bsd*-gnu | gnu*)
14506
link_all_deplibs_CXX=no
14509
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14514
$as_echo "$ld_shlibs_CXX" >&6; }
14515
test "$ld_shlibs_CXX" = no && can_build_shared=no
14517
with_gnu_ld_CXX=$with_gnu_ld
14525
# Do we need to explicitly link libc?
14527
case "x$archive_cmds_need_lc_CXX" in
14529
# Assume -lc should be added
14530
archive_cmds_need_lc_CXX=yes
14532
if test "$enable_shared" = yes && test "$GCC" = yes; then
14533
case $archive_cmds_CXX in
14535
# FIXME: we may have to deal with multi-command sequences.
14538
# Test whether the compiler implicitly links with -lc since on some
14539
# systems, -lgcc has to come before -lc. If gcc already passes -lc
14540
# to ld, don't add -lc before -lgcc.
14541
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14542
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14543
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14544
$as_echo_n "(cached) " >&6
14547
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14549
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14550
(eval $ac_compile) 2>&5
14552
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14553
test $ac_status = 0; } 2>conftest.err; then
14556
libobjs=conftest.$ac_objext
14558
wl=$lt_prog_compiler_wl_CXX
14559
pic_flag=$lt_prog_compiler_pic_CXX
14565
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14566
allow_undefined_flag_CXX=
14567
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14568
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14570
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14571
test $ac_status = 0; }
14573
lt_cv_archive_cmds_need_lc_CXX=no
14575
lt_cv_archive_cmds_need_lc_CXX=yes
14577
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14579
cat conftest.err 1>&5
14584
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14585
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14586
archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14655
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14657
library_names_spec=
14658
libname_spec='lib$name'
14662
postuninstall_cmds=
14666
shlibpath_overrides_runpath=unknown
14668
dynamic_linker="$host_os ld.so"
14669
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14670
need_lib_prefix=unknown
14671
hardcode_into_libs=no
14673
# when you set need_version to no, make sure it does not cause -set_version
14674
# flags to be left without arguments
14675
need_version=unknown
14679
version_type=linux # correct to gnu/linux during the next big refactor
14680
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14681
shlibpath_var=LIBPATH
14683
# AIX 3 has no versioning support, so we append a major version to the name.
14684
soname_spec='${libname}${release}${shared_ext}$major'
14688
version_type=linux # correct to gnu/linux during the next big refactor
14691
hardcode_into_libs=yes
14692
if test "$host_cpu" = ia64; then
14693
# AIX 5 supports IA64
14694
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14695
shlibpath_var=LD_LIBRARY_PATH
14697
# With GCC up to 2.95.x, collect2 would create an import file
14698
# for dependence libraries. The import file would start with
14699
# the line `#! .'. This would cause the generated library to
14700
# depend on `.', always an invalid library. This was fixed in
14701
# development snapshots of GCC prior to 3.0.
14703
aix4 | aix4.[01] | aix4.[01].*)
14704
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14706
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14709
can_build_shared=no
14713
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14714
# soname into executable. Probably we can add versioning support to
14715
# collect2, so additional links can be useful in future.
14716
if test "$aix_use_runtimelinking" = yes; then
14717
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
14718
# instead of lib<name>.a to let people know that these are not
14719
# typical AIX shared libraries.
14720
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14722
# We preserve .a as extension for shared libraries through AIX4.2
14723
# and later when we are not doing run time linking.
14724
library_names_spec='${libname}${release}.a $libname.a'
14725
soname_spec='${libname}${release}${shared_ext}$major'
14727
shlibpath_var=LIBPATH
14734
# Since July 2007 AmigaOS4 officially supports .so libraries.
14735
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14736
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14739
library_names_spec='$libname.ixlibrary $libname.a'
14740
# Create ${libname}_ixlibrary.a entries in /sys/libs.
14741
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'
14747
library_names_spec='${libname}${shared_ext}'
14748
dynamic_linker="$host_os ld.so"
14749
shlibpath_var=LIBRARY_PATH
14753
version_type=linux # correct to gnu/linux during the next big refactor
14755
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14756
soname_spec='${libname}${release}${shared_ext}$major'
14757
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14758
shlibpath_var=LD_LIBRARY_PATH
14759
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14760
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14761
# the default ld.so.conf also contains /usr/contrib/lib and
14762
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14763
# libtool to hard-code these into programs
14766
cygwin* | mingw* | pw32* | cegcc*)
14767
version_type=windows
14772
case $GCC,$cc_basename in
14775
library_names_spec='$libname.dll.a'
14776
# DLL is installed to $(libdir)/../bin by postinstall_cmds
14777
postinstall_cmds='base_file=`basename \${file}`~
14778
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14779
dldir=$destdir/`dirname \$dlpath`~
14780
test -d \$dldir || mkdir -p \$dldir~
14781
$install_prog $dir/$dlname \$dldir/$dlname~
14782
chmod a+x \$dldir/$dlname~
14783
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14784
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14786
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14787
dlpath=$dir/\$dldll~
14789
shlibpath_overrides_runpath=yes
14793
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
14794
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14798
# MinGW DLLs use traditional 'lib' prefix
14799
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14802
# pw32 DLLs use 'pw' prefix rather than 'lib'
14803
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14806
dynamic_linker='Win32 ld.exe'
14811
libname_spec='$name'
14812
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14813
library_names_spec='${libname}.dll.lib'
14817
sys_lib_search_path_spec=
14820
for lt_path in $LIB
14823
# Let DOS variable expansion print the short 8.3 style file name.
14824
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14825
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14828
# Convert to MSYS style.
14829
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14832
# Convert to unix form, then to dos form, then back to unix form
14833
# but this time dos style (no spaces!) so that the unix form looks
14834
# like /cygdrive/c/PROGRA~1:/cygdr...
14835
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14836
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14837
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14840
sys_lib_search_path_spec="$LIB"
14841
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14842
# It is most probably a Windows format PATH.
14843
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14845
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14847
# FIXME: find the short name or the path components, as spaces are
14848
# common. (e.g. "Program Files" -> "PROGRA~1")
14852
# DLL is installed to $(libdir)/../bin by postinstall_cmds
14853
postinstall_cmds='base_file=`basename \${file}`~
14854
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14855
dldir=$destdir/`dirname \$dlpath`~
14856
test -d \$dldir || mkdir -p \$dldir~
14857
$install_prog $dir/$dlname \$dldir/$dlname'
14858
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14859
dlpath=$dir/\$dldll~
14861
shlibpath_overrides_runpath=yes
14862
dynamic_linker='Win32 link.exe'
14866
# Assume MSVC wrapper
14867
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14868
dynamic_linker='Win32 ld.exe'
14871
# FIXME: first we should search . and the directory the executable is in
14875
darwin* | rhapsody*)
14876
dynamic_linker="$host_os dyld"
14877
version_type=darwin
14880
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14881
soname_spec='${libname}${release}${major}$shared_ext'
14882
shlibpath_overrides_runpath=yes
14883
shlibpath_var=DYLD_LIBRARY_PATH
14884
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14886
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14890
version_type=linux # correct to gnu/linux during the next big refactor
14893
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14894
soname_spec='${libname}${release}${shared_ext}$major'
14895
shlibpath_var=LD_LIBRARY_PATH
14898
freebsd* | dragonfly*)
14899
# DragonFly does not have aout. When/if they implement a new
14900
# versioning mechanism, adjust this.
14901
if test -x /usr/bin/objformat; then
14902
objformat=`/usr/bin/objformat`
14905
freebsd[23].*) objformat=aout ;;
14906
*) objformat=elf ;;
14909
version_type=freebsd-$objformat
14910
case $version_type in
14912
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14917
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14921
shlibpath_var=LD_LIBRARY_PATH
14924
shlibpath_overrides_runpath=yes
14926
freebsd3.[01]* | freebsdelf3.[01]*)
14927
shlibpath_overrides_runpath=yes
14928
hardcode_into_libs=yes
14930
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14931
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14932
shlibpath_overrides_runpath=no
14933
hardcode_into_libs=yes
14935
*) # from 4.6 on, and DragonFly
14936
shlibpath_overrides_runpath=yes
14937
hardcode_into_libs=yes
14943
version_type=linux # correct to gnu/linux during the next big refactor
14946
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14947
soname_spec='${libname}${release}${shared_ext}$major'
14948
shlibpath_var=LD_LIBRARY_PATH
14949
shlibpath_overrides_runpath=no
14950
hardcode_into_libs=yes
14954
version_type=linux # correct to gnu/linux during the next big refactor
14957
dynamic_linker="$host_os runtime_loader"
14958
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14959
soname_spec='${libname}${release}${shared_ext}$major'
14960
shlibpath_var=LIBRARY_PATH
14961
shlibpath_overrides_runpath=yes
14962
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14963
hardcode_into_libs=yes
14966
hpux9* | hpux10* | hpux11*)
14967
# Give a soname corresponding to the major version so that dld.sl refuses to
14968
# link against other versions.
14975
hardcode_into_libs=yes
14976
dynamic_linker="$host_os dld.so"
14977
shlibpath_var=LD_LIBRARY_PATH
14978
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14979
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14980
soname_spec='${libname}${release}${shared_ext}$major'
14981
if test "X$HPUX_IA64_MODE" = X32; then
14982
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14984
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14986
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14990
hardcode_into_libs=yes
14991
dynamic_linker="$host_os dld.sl"
14992
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14993
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14994
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14995
soname_spec='${libname}${release}${shared_ext}$major'
14996
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14997
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15001
dynamic_linker="$host_os dld.sl"
15002
shlibpath_var=SHLIB_PATH
15003
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15004
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15005
soname_spec='${libname}${release}${shared_ext}$major'
15008
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15009
postinstall_cmds='chmod 555 $lib'
15010
# or fails outright, so override atomically:
15011
install_override_mode=555
15015
version_type=linux # correct to gnu/linux during the next big refactor
15018
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15019
soname_spec='${libname}${release}${shared_ext}$major'
15020
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15021
shlibpath_var=LD_LIBRARY_PATH
15022
shlibpath_overrides_runpath=no
15023
hardcode_into_libs=yes
15026
irix5* | irix6* | nonstopux*)
15028
nonstopux*) version_type=nonstopux ;;
15030
if test "$lt_cv_prog_gnu_ld" = yes; then
15031
version_type=linux # correct to gnu/linux during the next big refactor
15038
soname_spec='${libname}${release}${shared_ext}$major'
15039
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15041
irix5* | nonstopux*)
15042
libsuff= shlibsuff=
15045
case $LD in # libtool.m4 will add one of these switches to LD
15046
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15047
libsuff= shlibsuff= libmagic=32-bit;;
15048
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15049
libsuff=32 shlibsuff=N32 libmagic=N32;;
15050
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15051
libsuff=64 shlibsuff=64 libmagic=64-bit;;
15052
*) libsuff= shlibsuff= libmagic=never-match;;
15056
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15057
shlibpath_overrides_runpath=no
15058
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15059
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15060
hardcode_into_libs=yes
15063
# No shared lib support for Linux oldld, aout, or coff.
15064
linux*oldld* | linux*aout* | linux*coff*)
15068
# This must be glibc/ELF.
15069
linux* | k*bsd*-gnu | kopensolaris*-gnu)
15070
version_type=linux # correct to gnu/linux during the next big refactor
15073
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15074
soname_spec='${libname}${release}${shared_ext}$major'
15075
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15076
shlibpath_var=LD_LIBRARY_PATH
15077
shlibpath_overrides_runpath=no
15079
# Some binutils ld are patched to set DT_RUNPATH
15080
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15081
$as_echo_n "(cached) " >&6
15083
lt_cv_shlibpath_overrides_runpath=no
15084
save_LDFLAGS=$LDFLAGS
15085
save_libdir=$libdir
15086
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15087
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15088
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15089
/* end confdefs.h. */
15099
if ac_fn_cxx_try_link "$LINENO"; then :
15100
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15101
lt_cv_shlibpath_overrides_runpath=yes
15104
rm -f core conftest.err conftest.$ac_objext \
15105
conftest$ac_exeext conftest.$ac_ext
15106
LDFLAGS=$save_LDFLAGS
15107
libdir=$save_libdir
15111
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15113
# This implies no fast_install, which is unacceptable.
15114
# Some rework will be needed to allow for fast_install
15115
# before this can be enabled.
15116
hardcode_into_libs=yes
15118
# Append ld.so.conf contents to the search path
15119
if test -f /etc/ld.so.conf; then
15120
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' ' '`
15121
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15124
# We used to test for /lib/ld.so.1 and disable shared libraries on
15125
# powerpc, because MkLinux only supported shared libraries with the
15126
# GNU dynamic linker. Since this was broken with cross compilers,
15127
# most powerpc-linux boxes support dynamic linking these days and
15128
# people can always --disable-shared, the test was removed, and we
15129
# assume the GNU/Linux dynamic linker is in use.
15130
dynamic_linker='GNU/Linux ld.so'
15137
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15138
soname_spec='${libname}${release}${shared_ext}$major'
15139
shlibpath_var=LD_LIBRARY_PATH
15140
shlibpath_overrides_runpath=no
15141
hardcode_into_libs=yes
15142
dynamic_linker='NetBSD ld.elf_so'
15149
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15150
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15151
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15152
dynamic_linker='NetBSD (a.out) ld.so'
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
dynamic_linker='NetBSD ld.elf_so'
15158
shlibpath_var=LD_LIBRARY_PATH
15159
shlibpath_overrides_runpath=yes
15160
hardcode_into_libs=yes
15164
version_type=linux # correct to gnu/linux during the next big refactor
15165
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15166
shlibpath_var=LD_LIBRARY_PATH
15167
shlibpath_overrides_runpath=yes
15174
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15175
soname_spec='${libname}${release}${shared_ext}$major'
15176
shlibpath_var=LD_LIBRARY_PATH
15177
shlibpath_overrides_runpath=no
15178
hardcode_into_libs=yes
15179
dynamic_linker='ldqnx.so'
15184
sys_lib_dlsearch_path_spec="/usr/lib"
15186
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15188
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15189
*) need_version=no ;;
15191
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15192
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15193
shlibpath_var=LD_LIBRARY_PATH
15194
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15196
openbsd2.[89] | openbsd2.[89].*)
15197
shlibpath_overrides_runpath=no
15200
shlibpath_overrides_runpath=yes
15204
shlibpath_overrides_runpath=yes
15209
libname_spec='$name'
15212
library_names_spec='$libname${shared_ext} $libname.a'
15213
dynamic_linker='OS/2 ld.exe'
15214
shlibpath_var=LIBPATH
15217
osf3* | osf4* | osf5*)
15221
soname_spec='${libname}${release}${shared_ext}$major'
15222
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15223
shlibpath_var=LD_LIBRARY_PATH
15224
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15225
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15233
version_type=linux # correct to gnu/linux during the next big refactor
15236
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15237
soname_spec='${libname}${release}${shared_ext}$major'
15238
shlibpath_var=LD_LIBRARY_PATH
15239
shlibpath_overrides_runpath=yes
15240
hardcode_into_libs=yes
15241
# ldd complains unless libraries are executable
15242
postinstall_cmds='chmod +x $lib'
15247
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15248
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15249
shlibpath_var=LD_LIBRARY_PATH
15250
shlibpath_overrides_runpath=yes
15251
if test "$with_gnu_ld" = yes; then
15258
version_type=linux # correct to gnu/linux during the next big refactor
15259
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15260
soname_spec='${libname}${release}${shared_ext}$major'
15261
shlibpath_var=LD_LIBRARY_PATH
15262
case $host_vendor in
15264
shlibpath_overrides_runpath=no
15266
runpath_var=LD_RUN_PATH
15274
shlibpath_overrides_runpath=no
15275
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15281
if test -d /usr/nec ;then
15282
version_type=linux # correct to gnu/linux during the next big refactor
15283
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15284
soname_spec='$libname${shared_ext}.$major'
15285
shlibpath_var=LD_LIBRARY_PATH
15289
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15290
version_type=freebsd-elf
15293
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15294
soname_spec='${libname}${release}${shared_ext}$major'
15295
shlibpath_var=LD_LIBRARY_PATH
15296
shlibpath_overrides_runpath=yes
15297
hardcode_into_libs=yes
15298
if test "$with_gnu_ld" = yes; then
15299
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15301
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15304
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15308
sys_lib_dlsearch_path_spec='/usr/lib'
15312
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15313
version_type=linux # correct to gnu/linux during the next big refactor
15316
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15317
shlibpath_var=LD_LIBRARY_PATH
15318
shlibpath_overrides_runpath=no
15319
hardcode_into_libs=yes
15323
version_type=linux # correct to gnu/linux during the next big refactor
15324
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15325
soname_spec='${libname}${release}${shared_ext}$major'
15326
shlibpath_var=LD_LIBRARY_PATH
15333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15334
$as_echo "$dynamic_linker" >&6; }
15335
test "$dynamic_linker" = no && can_build_shared=no
15337
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15338
if test "$GCC" = yes; then
15339
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15342
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15343
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15345
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15346
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15386
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15387
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15388
hardcode_action_CXX=
15389
if test -n "$hardcode_libdir_flag_spec_CXX" ||
15390
test -n "$runpath_var_CXX" ||
15391
test "X$hardcode_automatic_CXX" = "Xyes" ; then
15393
# We can hardcode non-existent directories.
15394
if test "$hardcode_direct_CXX" != no &&
15395
# If the only mechanism to avoid hardcoding is shlibpath_var, we
15396
# have to relink, otherwise we might link with an installed library
15397
# when we should be linking with a yet-to-be-installed one
15398
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15399
test "$hardcode_minus_L_CXX" != no; then
15400
# Linking always hardcodes the temporary library directory.
15401
hardcode_action_CXX=relink
15403
# We can link without hardcoding, and we can hardcode nonexisting dirs.
15404
hardcode_action_CXX=immediate
15407
# We cannot hardcode anything, or else we can only hardcode existing
15409
hardcode_action_CXX=unsupported
15411
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15412
$as_echo "$hardcode_action_CXX" >&6; }
15414
if test "$hardcode_action_CXX" = relink ||
15415
test "$inherit_rpath_CXX" = yes; then
15416
# Fast installation is not supported
15417
enable_fast_install=no
15418
elif test "$shlibpath_overrides_runpath" = yes ||
15419
test "$enable_shared" = no; then
15420
# Fast installation is not necessary
15421
enable_fast_install=needless
15430
fi # test -n "$compiler"
15433
CFLAGS=$lt_save_CFLAGS
15437
with_gnu_ld=$lt_save_with_gnu_ld
15438
lt_cv_path_LDCXX=$lt_cv_path_LD
15439
lt_cv_path_LD=$lt_save_path_LD
15440
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15441
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15442
fi # test "$_lt_caught_CXX_error" != yes
15445
ac_cpp='$CPP $CPPFLAGS'
15446
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15447
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15448
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15464
ac_config_commands="$ac_config_commands libtool"
15469
# Only expand once:
15474
ac_cpp='$CXXCPP $CPPFLAGS'
15475
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15476
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15477
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15480
ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15481
if test "x$ac_cv_type_size_t" = xyes; then :
15485
cat >>confdefs.h <<_ACEOF
15486
#define size_t unsigned int
15492
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15493
# for constant arguments. Useless!
15494
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
15495
$as_echo_n "checking for working alloca.h... " >&6; }
15496
if ${ac_cv_working_alloca_h+:} false; then :
15497
$as_echo_n "(cached) " >&6
15499
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15500
/* end confdefs.h. */
15501
#include <alloca.h>
15505
char *p = (char *) alloca (2 * sizeof (int));
15511
if ac_fn_cxx_try_link "$LINENO"; then :
15512
ac_cv_working_alloca_h=yes
15514
ac_cv_working_alloca_h=no
15516
rm -f core conftest.err conftest.$ac_objext \
15517
conftest$ac_exeext conftest.$ac_ext
15519
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
15520
$as_echo "$ac_cv_working_alloca_h" >&6; }
15521
if test $ac_cv_working_alloca_h = yes; then
15523
$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
15527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
15528
$as_echo_n "checking for alloca... " >&6; }
15529
if ${ac_cv_func_alloca_works+:} false; then :
15530
$as_echo_n "(cached) " >&6
15532
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15533
/* end confdefs.h. */
15535
# define alloca __builtin_alloca
15538
# include <malloc.h>
15539
# define alloca _alloca
15541
# ifdef HAVE_ALLOCA_H
15542
# include <alloca.h>
15547
# ifndef alloca /* predefined by HP cc +Olibcalls */
15548
void *alloca (size_t);
15558
char *p = (char *) alloca (1);
15564
if ac_fn_cxx_try_link "$LINENO"; then :
15565
ac_cv_func_alloca_works=yes
15567
ac_cv_func_alloca_works=no
15569
rm -f core conftest.err conftest.$ac_objext \
15570
conftest$ac_exeext conftest.$ac_ext
15572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
15573
$as_echo "$ac_cv_func_alloca_works" >&6; }
15575
if test $ac_cv_func_alloca_works = yes; then
15577
$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
15580
# The SVR3 libPW and SVR4 libucb both contain incompatible functions
15581
# that cause trouble. Some versions do not even contain alloca or
15582
# contain a buggy version. If you still want to use their alloca,
15583
# use ar to extract alloca.o from them instead of compiling alloca.c.
15585
ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
15587
$as_echo "#define C_ALLOCA 1" >>confdefs.h
15590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
15591
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
15592
if ${ac_cv_os_cray+:} false; then :
15593
$as_echo_n "(cached) " >&6
15595
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15596
/* end confdefs.h. */
15597
#if defined CRAY && ! defined CRAY2
15604
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15605
$EGREP "webecray" >/dev/null 2>&1; then :
15613
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
15614
$as_echo "$ac_cv_os_cray" >&6; }
15615
if test $ac_cv_os_cray = yes; then
15616
for ac_func in _getb67 GETB67 getb67; do
15617
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15618
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
15619
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15621
cat >>confdefs.h <<_ACEOF
15622
#define CRAY_STACKSEG_END $ac_func
15631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
15632
$as_echo_n "checking stack direction for C alloca... " >&6; }
15633
if ${ac_cv_c_stack_direction+:} false; then :
15634
$as_echo_n "(cached) " >&6
15636
if test "$cross_compiling" = yes; then :
15637
ac_cv_c_stack_direction=0
15639
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15640
/* end confdefs.h. */
15641
$ac_includes_default
15643
find_stack_direction ()
15645
static char *addr = 0;
15650
return find_stack_direction ();
15653
return (&dummy > addr) ? 1 : -1;
15659
return find_stack_direction () < 0;
15662
if ac_fn_cxx_try_run "$LINENO"; then :
15663
ac_cv_c_stack_direction=1
15665
ac_cv_c_stack_direction=-1
15667
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15668
conftest.$ac_objext conftest.beam conftest.$ac_ext
15672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
15673
$as_echo "$ac_cv_c_stack_direction" >&6; }
15674
cat >>confdefs.h <<_ACEOF
15675
#define STACK_DIRECTION $ac_cv_c_stack_direction
15681
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15682
$as_echo_n "checking for ANSI C header files... " >&6; }
15683
if ${ac_cv_header_stdc+:} false; then :
15684
$as_echo_n "(cached) " >&6
15686
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15687
/* end confdefs.h. */
15688
#include <stdlib.h>
15689
#include <stdarg.h>
15690
#include <string.h>
15701
if ac_fn_cxx_try_compile "$LINENO"; then :
15702
ac_cv_header_stdc=yes
15704
ac_cv_header_stdc=no
15706
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15708
if test $ac_cv_header_stdc = yes; then
15709
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15710
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15711
/* end confdefs.h. */
15712
#include <string.h>
15715
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15716
$EGREP "memchr" >/dev/null 2>&1; then :
15719
ac_cv_header_stdc=no
15725
if test $ac_cv_header_stdc = yes; then
15726
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15727
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15728
/* end confdefs.h. */
15729
#include <stdlib.h>
15732
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15733
$EGREP "free" >/dev/null 2>&1; then :
15736
ac_cv_header_stdc=no
15742
if test $ac_cv_header_stdc = yes; then
15743
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15744
if test "$cross_compiling" = yes; then :
15747
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15748
/* end confdefs.h. */
15750
#include <stdlib.h>
15751
#if ((' ' & 0x0FF) == 0x020)
15752
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15753
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15755
# define ISLOWER(c) \
15756
(('a' <= (c) && (c) <= 'i') \
15757
|| ('j' <= (c) && (c) <= 'r') \
15758
|| ('s' <= (c) && (c) <= 'z'))
15759
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15762
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15767
for (i = 0; i < 256; i++)
15768
if (XOR (islower (i), ISLOWER (i))
15769
|| toupper (i) != TOUPPER (i))
15774
if ac_fn_cxx_try_run "$LINENO"; then :
15777
ac_cv_header_stdc=no
15779
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15780
conftest.$ac_objext conftest.beam conftest.$ac_ext
15785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15786
$as_echo "$ac_cv_header_stdc" >&6; }
15787
if test $ac_cv_header_stdc = yes; then
15789
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
15793
for ac_header in arpa/inet.h fcntl.h libintl.h limits.h malloc.h memory.h \
15794
netdb.h netinet/in.h stdlib.h string.h strings.h \
15795
sys/ioctl.h sys/socket.h sys/time.h unistd.h utime.h \
15798
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15799
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15800
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15801
cat >>confdefs.h <<_ACEOF
15802
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15810
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
15811
$as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
15812
if ${ac_cv_header_stat_broken+:} false; then :
15813
$as_echo_n "(cached) " >&6
15815
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15816
/* end confdefs.h. */
15817
#include <sys/types.h>
15818
#include <sys/stat.h>
15820
#if defined S_ISBLK && defined S_IFDIR
15821
extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
15824
#if defined S_ISBLK && defined S_IFCHR
15825
extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
15828
#if defined S_ISLNK && defined S_IFREG
15829
extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
15832
#if defined S_ISSOCK && defined S_IFREG
15833
extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
15837
if ac_fn_cxx_try_compile "$LINENO"; then :
15838
ac_cv_header_stat_broken=no
15840
ac_cv_header_stat_broken=yes
15842
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15844
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
15845
$as_echo "$ac_cv_header_stat_broken" >&6; }
15846
if test $ac_cv_header_stat_broken = yes; then
15848
$as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
15852
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
15853
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
15854
if ${ac_cv_header_stdbool_h+:} false; then :
15855
$as_echo_n "(cached) " >&6
15857
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15858
/* end confdefs.h. */
15860
#include <stdbool.h>
15862
"error: bool is not defined"
15865
"error: false is not defined"
15868
"error: false is not 0"
15871
"error: true is not defined"
15874
"error: true is not 1"
15876
#ifndef __bool_true_false_are_defined
15877
"error: __bool_true_false_are_defined is not defined"
15880
struct s { _Bool s: 1; _Bool t; } s;
15882
char a[true == 1 ? 1 : -1];
15883
char b[false == 0 ? 1 : -1];
15884
char c[__bool_true_false_are_defined == 1 ? 1 : -1];
15885
char d[(bool) 0.5 == true ? 1 : -1];
15886
/* See body of main program for 'e'. */
15887
char f[(_Bool) 0.0 == false ? 1 : -1];
15889
char h[sizeof (_Bool)];
15890
char i[sizeof s.t];
15891
enum { j = false, k = true, l = false * true, m = true * 256 };
15892
/* The following fails for
15893
HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
15895
char o[sizeof n == m * sizeof n[0] ? 1 : -1];
15896
char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
15897
/* Catch a bug in an HP-UX C compiler. See
15898
http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
15899
http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
15911
/* Refer to every declared value, to avoid compiler optimizations. */
15912
return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
15913
+ !m + !n + !o + !p + !q + !pq);
15919
if ac_fn_cxx_try_compile "$LINENO"; then :
15920
ac_cv_header_stdbool_h=yes
15922
ac_cv_header_stdbool_h=no
15924
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
15927
$as_echo "$ac_cv_header_stdbool_h" >&6; }
15928
ac_fn_cxx_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
15929
if test "x$ac_cv_type__Bool" = xyes; then :
15931
cat >>confdefs.h <<_ACEOF
15932
#define HAVE__BOOL 1
15938
if test $ac_cv_header_stdbool_h = yes; then
15940
$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
15944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
15945
$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
15946
if ${ac_cv_c_const+:} false; then :
15947
$as_echo_n "(cached) " >&6
15949
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15950
/* end confdefs.h. */
15955
/* FIXME: Include the comments suggested by Paul. */
15956
#ifndef __cplusplus
15957
/* Ultrix mips cc rejects this. */
15958
typedef int charset[2];
15960
/* SunOS 4.1.1 cc rejects this. */
15961
char const *const *pcpcc;
15963
/* NEC SVR4.0.2 mips cc rejects this. */
15964
struct point {int x, y;};
15965
static struct point const zero = {0,0};
15966
/* AIX XL C 1.02.0.0 rejects this.
15967
It does not let you subtract one const X* pointer from another in
15968
an arm of an if-expression whose if-part is not a constant
15970
const char *g = "string";
15971
pcpcc = &g + (g ? g-g : 0);
15972
/* HPUX 7.0 cc rejects these. */
15974
ppc = (char**) pcpcc;
15975
pcpcc = (char const *const *) ppc;
15976
{ /* SCO 3.2v4 cc rejects this. */
15978
char const *s = 0 ? (char *) 0 : (char const *) 0;
15983
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
15984
int x[] = {25, 17};
15985
const int *foo = &x[0];
15988
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
15989
typedef const int *iptr;
15993
{ /* AIX XL C 1.02.0.0 rejects this saying
15994
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
15995
struct s { int j; const int *ap[3]; };
15996
struct s *b; b->j = 5;
15998
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
15999
const int foo = 10;
16000
if (!foo) return 0;
16002
return !cs[0] && !zero.x;
16009
if ac_fn_cxx_try_compile "$LINENO"; then :
16014
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16016
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
16017
$as_echo "$ac_cv_c_const" >&6; }
16018
if test $ac_cv_c_const = no; then
16020
$as_echo "#define const /**/" >>confdefs.h
16024
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16025
$as_echo_n "checking for inline... " >&6; }
16026
if ${ac_cv_c_inline+:} false; then :
16027
$as_echo_n "(cached) " >&6
16030
for ac_kw in inline __inline__ __inline; do
16031
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16032
/* end confdefs.h. */
16033
#ifndef __cplusplus
16035
static $ac_kw foo_t static_foo () {return 0; }
16036
$ac_kw foo_t foo () {return 0; }
16040
if ac_fn_cxx_try_compile "$LINENO"; then :
16041
ac_cv_c_inline=$ac_kw
16043
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16044
test "$ac_cv_c_inline" != no && break
16048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16049
$as_echo "$ac_cv_c_inline" >&6; }
16051
case $ac_cv_c_inline in
16054
case $ac_cv_c_inline in
16056
*) ac_val=$ac_cv_c_inline;;
16058
cat >>confdefs.h <<_ACEOF
16059
#ifndef __cplusplus
16060
#define inline $ac_val
16066
ac_fn_cxx_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16067
if test "x$ac_cv_type_pid_t" = xyes; then :
16071
cat >>confdefs.h <<_ACEOF
16077
ac_fn_cxx_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16078
if test "x$ac_cv_type_size_t" = xyes; then :
16082
cat >>confdefs.h <<_ACEOF
16083
#define size_t unsigned int
16088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
16089
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
16090
if ${ac_cv_header_time+:} false; then :
16091
$as_echo_n "(cached) " >&6
16093
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16094
/* end confdefs.h. */
16095
#include <sys/types.h>
16096
#include <sys/time.h>
16102
if ((struct tm *) 0)
16108
if ac_fn_cxx_try_compile "$LINENO"; then :
16109
ac_cv_header_time=yes
16111
ac_cv_header_time=no
16113
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16115
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
16116
$as_echo "$ac_cv_header_time" >&6; }
16117
if test $ac_cv_header_time = yes; then
16119
$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
16123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
16124
$as_echo_n "checking for working volatile... " >&6; }
16125
if ${ac_cv_c_volatile+:} false; then :
16126
$as_echo_n "(cached) " >&6
16128
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16129
/* end confdefs.h. */
16136
int * volatile y = (int *) 0;
16142
if ac_fn_cxx_try_compile "$LINENO"; then :
16143
ac_cv_c_volatile=yes
16145
ac_cv_c_volatile=no
16147
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
16150
$as_echo "$ac_cv_c_volatile" >&6; }
16151
if test $ac_cv_c_volatile = no; then
16153
$as_echo "#define volatile /**/" >>confdefs.h
16157
ac_fn_cxx_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16158
if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
16160
cat >>confdefs.h <<_ACEOF
16161
#define HAVE_PTRDIFF_T 1
16168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
16169
$as_echo_n "checking for uid_t in sys/types.h... " >&6; }
16170
if ${ac_cv_type_uid_t+:} false; then :
16171
$as_echo_n "(cached) " >&6
16173
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16174
/* end confdefs.h. */
16175
#include <sys/types.h>
16178
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16179
$EGREP "uid_t" >/dev/null 2>&1; then :
16180
ac_cv_type_uid_t=yes
16182
ac_cv_type_uid_t=no
16187
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
16188
$as_echo "$ac_cv_type_uid_t" >&6; }
16189
if test $ac_cv_type_uid_t = no; then
16191
$as_echo "#define uid_t int" >>confdefs.h
16194
$as_echo "#define gid_t int" >>confdefs.h
16198
for ac_header in unistd.h
16200
ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
16201
if test "x$ac_cv_header_unistd_h" = xyes; then :
16202
cat >>confdefs.h <<_ACEOF
16203
#define HAVE_UNISTD_H 1
16210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5
16211
$as_echo_n "checking for working chown... " >&6; }
16212
if ${ac_cv_func_chown_works+:} false; then :
16213
$as_echo_n "(cached) " >&6
16215
if test "$cross_compiling" = yes; then :
16216
ac_cv_func_chown_works=no
16218
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16219
/* end confdefs.h. */
16220
$ac_includes_default
16226
char *f = "conftest.chown";
16227
struct stat before, after;
16229
if (creat (f, 0600) < 0)
16231
if (stat (f, &before) < 0)
16233
if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
16235
if (stat (f, &after) < 0)
16237
return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
16243
if ac_fn_cxx_try_run "$LINENO"; then :
16244
ac_cv_func_chown_works=yes
16246
ac_cv_func_chown_works=no
16248
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16249
conftest.$ac_objext conftest.beam conftest.$ac_ext
16252
rm -f conftest.chown
16255
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5
16256
$as_echo "$ac_cv_func_chown_works" >&6; }
16257
if test $ac_cv_func_chown_works = yes; then
16259
$as_echo "#define HAVE_CHOWN 1" >>confdefs.h
16263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
16264
$as_echo_n "checking for error_at_line... " >&6; }
16265
if ${ac_cv_lib_error_at_line+:} false; then :
16266
$as_echo_n "(cached) " >&6
16268
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16269
/* end confdefs.h. */
16274
error_at_line (0, 0, "", 0, "an error occurred");
16279
if ac_fn_cxx_try_link "$LINENO"; then :
16280
ac_cv_lib_error_at_line=yes
16282
ac_cv_lib_error_at_line=no
16284
rm -f core conftest.err conftest.$ac_objext \
16285
conftest$ac_exeext conftest.$ac_ext
16287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
16288
$as_echo "$ac_cv_lib_error_at_line" >&6; }
16289
if test $ac_cv_lib_error_at_line = no; then
16290
case " $LIBOBJS " in
16291
*" error.$ac_objext "* ) ;;
16292
*) LIBOBJS="$LIBOBJS error.$ac_objext"
16298
for ac_header in vfork.h
16300
ac_fn_cxx_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
16301
if test "x$ac_cv_header_vfork_h" = xyes; then :
16302
cat >>confdefs.h <<_ACEOF
16303
#define HAVE_VFORK_H 1
16310
for ac_func in fork vfork
16312
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16313
ac_fn_cxx_check_func "$LINENO" "$ac_func" "$as_ac_var"
16314
if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16315
cat >>confdefs.h <<_ACEOF
16316
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16322
if test "x$ac_cv_func_fork" = xyes; then
16323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
16324
$as_echo_n "checking for working fork... " >&6; }
16325
if ${ac_cv_func_fork_works+:} false; then :
16326
$as_echo_n "(cached) " >&6
16328
if test "$cross_compiling" = yes; then :
16329
ac_cv_func_fork_works=cross
16331
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16332
/* end confdefs.h. */
16333
$ac_includes_default
16338
/* By Ruediger Kuhlmann. */
16339
return fork () < 0;
16345
if ac_fn_cxx_try_run "$LINENO"; then :
16346
ac_cv_func_fork_works=yes
16348
ac_cv_func_fork_works=no
16350
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16351
conftest.$ac_objext conftest.beam conftest.$ac_ext
16355
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
16356
$as_echo "$ac_cv_func_fork_works" >&6; }
16359
ac_cv_func_fork_works=$ac_cv_func_fork
16361
if test "x$ac_cv_func_fork_works" = xcross; then
16363
*-*-amigaos* | *-*-msdosdjgpp*)
16364
# Override, as these systems have only a dummy fork() stub
16365
ac_cv_func_fork_works=no
16368
ac_cv_func_fork_works=yes
16371
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
16372
$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
16374
ac_cv_func_vfork_works=$ac_cv_func_vfork
16375
if test "x$ac_cv_func_vfork" = xyes; then
16376
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
16377
$as_echo_n "checking for working vfork... " >&6; }
16378
if ${ac_cv_func_vfork_works+:} false; then :
16379
$as_echo_n "(cached) " >&6
16381
if test "$cross_compiling" = yes; then :
16382
ac_cv_func_vfork_works=cross
16384
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16385
/* end confdefs.h. */
16386
/* Thanks to Paul Eggert for this test. */
16387
$ac_includes_default
16388
#include <sys/wait.h>
16389
#ifdef HAVE_VFORK_H
16390
# include <vfork.h>
16392
/* On some sparc systems, changes by the child to local and incoming
16393
argument registers are propagated back to the parent. The compiler
16394
is told about this with #include <vfork.h>, but some compilers
16395
(e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
16396
static variable whose address is put into a register that is
16397
clobbered by the vfork. */
16400
sparc_address_test (int arg)
16402
sparc_address_test (arg) int arg;
16405
static pid_t child;
16423
pid_t parent = getpid ();
16426
sparc_address_test (0);
16431
/* Here is another test for sparc vfork register problems. This
16432
test uses lots of local variables, at least as many local
16433
variables as main has allocated so far including compiler
16434
temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
16435
4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
16436
reuse the register of parent for one of the local variables,
16437
since it will think that parent can't possibly be used any more
16438
in this routine. Assigning to the local variable will thus
16439
munge parent in the parent process. */
16441
p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
16442
p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
16443
/* Convince the compiler that p..p7 are live; otherwise, it might
16444
use the same hardware register for all 8 local variables. */
16445
if (p != p1 || p != p2 || p != p3 || p != p4
16446
|| p != p5 || p != p6 || p != p7)
16449
/* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
16450
from child file descriptors. If the child closes a descriptor
16451
before it execs or exits, this munges the parent's descriptor
16452
as well. Test for this by closing stdout in the child. */
16453
_exit(close(fileno(stdout)) != 0);
16458
while (wait(&status) != child)
16461
/* Was there some problem with vforking? */
16464
/* Did the child fail? (This shouldn't happen.) */
16467
/* Did the vfork/compiler bug occur? */
16468
|| parent != getpid()
16470
/* Did the file descriptor bug occur? */
16471
|| fstat(fileno(stdout), &st) != 0
16476
if ac_fn_cxx_try_run "$LINENO"; then :
16477
ac_cv_func_vfork_works=yes
16479
ac_cv_func_vfork_works=no
16481
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16482
conftest.$ac_objext conftest.beam conftest.$ac_ext
16486
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
16487
$as_echo "$ac_cv_func_vfork_works" >&6; }
16490
if test "x$ac_cv_func_fork_works" = xcross; then
16491
ac_cv_func_vfork_works=$ac_cv_func_vfork
16492
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
16493
$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
16496
if test "x$ac_cv_func_vfork_works" = xyes; then
16498
$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
16502
$as_echo "#define vfork fork" >>confdefs.h
16505
if test "x$ac_cv_func_fork_works" = xyes; then
16507
$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
16511
if test $ac_cv_c_compiler_gnu = yes; then
16512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
16513
$as_echo_n "checking whether $CC needs -traditional... " >&6; }
16514
if ${ac_cv_prog_gcc_traditional+:} false; then :
16515
$as_echo_n "(cached) " >&6
16517
ac_pattern="Autoconf.*'x'"
16518
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16519
/* end confdefs.h. */
16523
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16524
$EGREP "$ac_pattern" >/dev/null 2>&1; then :
16525
ac_cv_prog_gcc_traditional=yes
16527
ac_cv_prog_gcc_traditional=no
16532
if test $ac_cv_prog_gcc_traditional = no; then
16533
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16534
/* end confdefs.h. */
16535
#include <termio.h>
16538
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16539
$EGREP "$ac_pattern" >/dev/null 2>&1; then :
16540
ac_cv_prog_gcc_traditional=yes
16546
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
16547
$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
16548
if test $ac_cv_prog_gcc_traditional = yes; then
16549
CC="$CC -traditional"
16553
for ac_header in stdlib.h
16555
ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
16556
if test "x$ac_cv_header_stdlib_h" = xyes; then :
16557
cat >>confdefs.h <<_ACEOF
16558
#define HAVE_STDLIB_H 1
16565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
16566
$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
16567
if ${ac_cv_func_malloc_0_nonnull+:} false; then :
16568
$as_echo_n "(cached) " >&6
16570
if test "$cross_compiling" = yes; then :
16571
ac_cv_func_malloc_0_nonnull=no
16573
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16574
/* end confdefs.h. */
16575
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
16576
# include <stdlib.h>
16584
return ! malloc (0);
16589
if ac_fn_cxx_try_run "$LINENO"; then :
16590
ac_cv_func_malloc_0_nonnull=yes
16592
ac_cv_func_malloc_0_nonnull=no
16594
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16595
conftest.$ac_objext conftest.beam conftest.$ac_ext
16599
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
16600
$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
16601
if test $ac_cv_func_malloc_0_nonnull = yes; then :
16603
$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
16606
$as_echo "#define HAVE_MALLOC 0" >>confdefs.h
16608
case " $LIBOBJS " in
16609
*" malloc.$ac_objext "* ) ;;
16610
*) LIBOBJS="$LIBOBJS malloc.$ac_objext"
16615
$as_echo "#define malloc rpl_malloc" >>confdefs.h
16620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
16621
$as_echo_n "checking for working memcmp... " >&6; }
16622
if ${ac_cv_func_memcmp_working+:} false; then :
16623
$as_echo_n "(cached) " >&6
16625
if test "$cross_compiling" = yes; then :
16626
ac_cv_func_memcmp_working=no
16628
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16629
/* end confdefs.h. */
16630
$ac_includes_default
16635
/* Some versions of memcmp are not 8-bit clean. */
16636
char c0 = '\100', c1 = '\200', c2 = '\201';
16637
if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
16640
/* The Next x86 OpenStep bug shows up only when comparing 16 bytes
16641
or more and with at least one buffer not starting on a 4-byte boundary.
16642
William Lewis provided this test program. */
16647
for (i = 0; i < 4; i++)
16651
strcpy (a, "--------01111111");
16652
strcpy (b, "--------10000000");
16653
if (memcmp (a, b, 16) >= 0)
16663
if ac_fn_cxx_try_run "$LINENO"; then :
16664
ac_cv_func_memcmp_working=yes
16666
ac_cv_func_memcmp_working=no
16668
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16669
conftest.$ac_objext conftest.beam conftest.$ac_ext
16673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
16674
$as_echo "$ac_cv_func_memcmp_working" >&6; }
16675
test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
16676
*" memcmp.$ac_objext "* ) ;;
16677
*) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
16682
for ac_header in stdlib.h
16684
ac_fn_cxx_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
16685
if test "x$ac_cv_header_stdlib_h" = xyes; then :
16686
cat >>confdefs.h <<_ACEOF
16687
#define HAVE_STDLIB_H 1
16694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
16695
$as_echo_n "checking for GNU libc compatible realloc... " >&6; }
16696
if ${ac_cv_func_realloc_0_nonnull+:} false; then :
16697
$as_echo_n "(cached) " >&6
16699
if test "$cross_compiling" = yes; then :
16700
ac_cv_func_realloc_0_nonnull=no
16702
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16703
/* end confdefs.h. */
16704
#if defined STDC_HEADERS || defined HAVE_STDLIB_H
16705
# include <stdlib.h>
16713
return ! realloc (0, 0);
16718
if ac_fn_cxx_try_run "$LINENO"; then :
16719
ac_cv_func_realloc_0_nonnull=yes
16721
ac_cv_func_realloc_0_nonnull=no
16723
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16724
conftest.$ac_objext conftest.beam conftest.$ac_ext
16728
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
16729
$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
16730
if test $ac_cv_func_realloc_0_nonnull = yes; then :
16732
$as_echo "#define HAVE_REALLOC 1" >>confdefs.h
16735
$as_echo "#define HAVE_REALLOC 0" >>confdefs.h
16737
case " $LIBOBJS " in
16738
*" realloc.$ac_objext "* ) ;;
16739
*) LIBOBJS="$LIBOBJS realloc.$ac_objext"
16744
$as_echo "#define realloc rpl_realloc" >>confdefs.h
16749
for ac_header in sys/select.h sys/socket.h
16751
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16752
ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16753
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16754
cat >>confdefs.h <<_ACEOF
16755
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16762
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
16763
$as_echo_n "checking types of arguments for select... " >&6; }
16764
if ${ac_cv_func_select_args+:} false; then :
16765
$as_echo_n "(cached) " >&6
16767
for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
16768
for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
16769
for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
16770
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16771
/* end confdefs.h. */
16772
$ac_includes_default
16773
#ifdef HAVE_SYS_SELECT_H
16774
# include <sys/select.h>
16776
#ifdef HAVE_SYS_SOCKET_H
16777
# include <sys/socket.h>
16783
extern int select ($ac_arg1,
16784
$ac_arg234, $ac_arg234, $ac_arg234,
16790
if ac_fn_cxx_try_compile "$LINENO"; then :
16791
ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
16793
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16797
# Provide a safe default value.
16798
: "${ac_cv_func_select_args=int,int *,struct timeval *}"
16801
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
16802
$as_echo "$ac_cv_func_select_args" >&6; }
16803
ac_save_IFS=$IFS; IFS=','
16804
set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
16808
cat >>confdefs.h <<_ACEOF
16809
#define SELECT_TYPE_ARG1 $1
16813
cat >>confdefs.h <<_ACEOF
16814
#define SELECT_TYPE_ARG234 ($2)
16818
cat >>confdefs.h <<_ACEOF
16819
#define SELECT_TYPE_ARG5 ($3)
16824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
16825
$as_echo_n "checking return type of signal handlers... " >&6; }
16826
if ${ac_cv_type_signal+:} false; then :
16827
$as_echo_n "(cached) " >&6
16829
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16830
/* end confdefs.h. */
16831
#include <sys/types.h>
16832
#include <signal.h>
16837
return *(signal (0, 0)) (0) == 1;
16842
if ac_fn_cxx_try_compile "$LINENO"; then :
16843
ac_cv_type_signal=int
16845
ac_cv_type_signal=void
16847
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16849
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
16850
$as_echo "$ac_cv_type_signal" >&6; }
16852
cat >>confdefs.h <<_ACEOF
16853
#define RETSIGTYPE $ac_cv_type_signal
16857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
16858
$as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
16859
if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
16860
$as_echo_n "(cached) " >&6
16862
rm -f conftest.sym conftest.file
16863
echo >conftest.file
16864
if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
16865
if test "$cross_compiling" = yes; then :
16866
ac_cv_func_lstat_dereferences_slashed_symlink=no
16868
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16869
/* end confdefs.h. */
16870
$ac_includes_default
16875
/* Linux will dereference the symlink and fail, as required by POSIX.
16876
That is better in the sense that it means we will not
16877
have to compile and use the lstat wrapper. */
16878
return lstat ("conftest.sym/", &sbuf) == 0;
16883
if ac_fn_cxx_try_run "$LINENO"; then :
16884
ac_cv_func_lstat_dereferences_slashed_symlink=yes
16886
ac_cv_func_lstat_dereferences_slashed_symlink=no
16888
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16889
conftest.$ac_objext conftest.beam conftest.$ac_ext
16893
# If the `ln -s' command failed, then we probably don't even
16894
# have an lstat function.
16895
ac_cv_func_lstat_dereferences_slashed_symlink=no
16897
rm -f conftest.sym conftest.file
16900
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
16901
$as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
16903
test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
16905
cat >>confdefs.h <<_ACEOF
16906
#define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
16910
if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
16911
case " $LIBOBJS " in
16912
*" lstat.$ac_objext "* ) ;;
16913
*) LIBOBJS="$LIBOBJS lstat.$ac_objext"
16919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
16920
$as_echo_n "checking whether stat accepts an empty string... " >&6; }
16921
if ${ac_cv_func_stat_empty_string_bug+:} false; then :
16922
$as_echo_n "(cached) " >&6
16924
if test "$cross_compiling" = yes; then :
16925
ac_cv_func_stat_empty_string_bug=yes
16927
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16928
/* end confdefs.h. */
16929
$ac_includes_default
16934
return stat ("", &sbuf) == 0;
16939
if ac_fn_cxx_try_run "$LINENO"; then :
16940
ac_cv_func_stat_empty_string_bug=no
16942
ac_cv_func_stat_empty_string_bug=yes
16944
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16945
conftest.$ac_objext conftest.beam conftest.$ac_ext
16949
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
16950
$as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
16951
if test $ac_cv_func_stat_empty_string_bug = yes; then
16952
case " $LIBOBJS " in
16953
*" stat.$ac_objext "* ) ;;
16954
*) LIBOBJS="$LIBOBJS stat.$ac_objext"
16959
cat >>confdefs.h <<_ACEOF
16960
#define HAVE_STAT_EMPTY_STRING_BUG 1
16968
for ac_header in $ac_header_list
16970
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16971
ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16973
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16974
cat >>confdefs.h <<_ACEOF
16975
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16985
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether utime accepts a null argument" >&5
16986
$as_echo_n "checking whether utime accepts a null argument... " >&6; }
16987
if ${ac_cv_func_utime_null+:} false; then :
16988
$as_echo_n "(cached) " >&6
16990
rm -f conftest.data; >conftest.data
16991
# Sequent interprets utime(file, 0) to mean use start of epoch. Wrong.
16992
if test "$cross_compiling" = yes; then :
16993
ac_cv_func_utime_null='guessing yes'
16995
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16996
/* end confdefs.h. */
16997
$ac_includes_default
16998
#ifdef HAVE_UTIME_H
16999
# include <utime.h>
17005
return ! (stat ("conftest.data", &s) == 0
17006
&& utime ("conftest.data", 0) == 0
17007
&& stat ("conftest.data", &t) == 0
17008
&& t.st_mtime >= s.st_mtime
17009
&& t.st_mtime - s.st_mtime < 120);
17014
if ac_fn_cxx_try_run "$LINENO"; then :
17015
ac_cv_func_utime_null=yes
17017
ac_cv_func_utime_null=no
17019
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17020
conftest.$ac_objext conftest.beam conftest.$ac_ext
17024
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_utime_null" >&5
17025
$as_echo "$ac_cv_func_utime_null" >&6; }
17026
if test "x$ac_cv_func_utime_null" != xno; then
17027
ac_cv_func_utime_null=yes
17029
$as_echo "#define HAVE_UTIME_NULL 1" >>confdefs.h
17032
rm -f conftest.data
17034
for ac_func in vprintf
17036
ac_fn_cxx_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
17037
if test "x$ac_cv_func_vprintf" = xyes; then :
17038
cat >>confdefs.h <<_ACEOF
17039
#define HAVE_VPRINTF 1
17042
ac_fn_cxx_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
17043
if test "x$ac_cv_func__doprnt" = xyes; then :
17045
$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
17061
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17062
if test -n "$ac_tool_prefix"; then
17063
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17064
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17066
$as_echo_n "checking for $ac_word... " >&6; }
17067
if ${ac_cv_path_PKG_CONFIG+:} false; then :
17068
$as_echo_n "(cached) " >&6
17070
case $PKG_CONFIG in
17072
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17075
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17076
for as_dir in $PATH
17079
test -z "$as_dir" && as_dir=.
17080
for ac_exec_ext in '' $ac_executable_extensions; do
17081
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17082
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17083
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17093
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17094
if test -n "$PKG_CONFIG"; then
17095
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17096
$as_echo "$PKG_CONFIG" >&6; }
17098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17099
$as_echo "no" >&6; }
17104
if test -z "$ac_cv_path_PKG_CONFIG"; then
17105
ac_pt_PKG_CONFIG=$PKG_CONFIG
17106
# Extract the first word of "pkg-config", so it can be a program name with args.
17107
set dummy pkg-config; ac_word=$2
17108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17109
$as_echo_n "checking for $ac_word... " >&6; }
17110
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17111
$as_echo_n "(cached) " >&6
17113
case $ac_pt_PKG_CONFIG in
17115
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17118
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17119
for as_dir in $PATH
17122
test -z "$as_dir" && as_dir=.
17123
for ac_exec_ext in '' $ac_executable_extensions; do
17124
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17125
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17126
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17136
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17137
if test -n "$ac_pt_PKG_CONFIG"; then
17138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17139
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
17141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17142
$as_echo "no" >&6; }
17145
if test "x$ac_pt_PKG_CONFIG" = x; then
17148
case $cross_compiling:$ac_tool_warned in
17150
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17151
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17152
ac_tool_warned=yes ;;
17154
PKG_CONFIG=$ac_pt_PKG_CONFIG
17157
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17161
if test -n "$PKG_CONFIG"; then
17162
_pkg_min_version=0.9.0
17163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17164
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17165
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17167
$as_echo "yes" >&6; }
17169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17170
$as_echo "no" >&6; }
17175
UUID_MIN_VERSION=1.0
17178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UUID" >&5
17179
$as_echo_n "checking for UUID... " >&6; }
17181
if test -n "$UUID_CFLAGS"; then
17182
pkg_cv_UUID_CFLAGS="$UUID_CFLAGS"
17183
elif test -n "$PKG_CONFIG"; then
17184
if test -n "$PKG_CONFIG" && \
17185
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= \${UUID_MIN_VERSION}\""; } >&5
17186
($PKG_CONFIG --exists --print-errors "uuid >= ${UUID_MIN_VERSION}") 2>&5
17188
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17189
test $ac_status = 0; }; then
17190
pkg_cv_UUID_CFLAGS=`$PKG_CONFIG --cflags "uuid >= ${UUID_MIN_VERSION}" 2>/dev/null`
17191
test "x$?" != "x0" && pkg_failed=yes
17198
if test -n "$UUID_LIBS"; then
17199
pkg_cv_UUID_LIBS="$UUID_LIBS"
17200
elif test -n "$PKG_CONFIG"; then
17201
if test -n "$PKG_CONFIG" && \
17202
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= \${UUID_MIN_VERSION}\""; } >&5
17203
($PKG_CONFIG --exists --print-errors "uuid >= ${UUID_MIN_VERSION}") 2>&5
17205
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17206
test $ac_status = 0; }; then
17207
pkg_cv_UUID_LIBS=`$PKG_CONFIG --libs "uuid >= ${UUID_MIN_VERSION}" 2>/dev/null`
17208
test "x$?" != "x0" && pkg_failed=yes
17218
if test $pkg_failed = yes; then
17219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17220
$as_echo "no" >&6; }
17222
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17223
_pkg_short_errors_supported=yes
17225
_pkg_short_errors_supported=no
17227
if test $_pkg_short_errors_supported = yes; then
17228
UUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid >= ${UUID_MIN_VERSION}" 2>&1`
17230
UUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid >= ${UUID_MIN_VERSION}" 2>&1`
17232
# Put the nasty error message in config.log where it belongs
17233
echo "$UUID_PKG_ERRORS" >&5
17236
elif test $pkg_failed = untried; then
17237
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17238
$as_echo "no" >&6; }
17241
UUID_CFLAGS=$pkg_cv_UUID_CFLAGS
17242
UUID_LIBS=$pkg_cv_UUID_LIBS
17243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17244
$as_echo "yes" >&6; }
17248
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing yaml_parser_initialize" >&5
17249
$as_echo_n "checking for library containing yaml_parser_initialize... " >&6; }
17250
if ${ac_cv_search_yaml_parser_initialize+:} false; then :
17251
$as_echo_n "(cached) " >&6
17253
ac_func_search_save_LIBS=$LIBS
17254
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17255
/* end confdefs.h. */
17257
/* Override any GCC internal prototype to avoid an error.
17258
Use char because int might match the return type of a GCC
17259
builtin and then its argument prototype would still apply. */
17263
char yaml_parser_initialize ();
17267
return yaml_parser_initialize ();
17272
for ac_lib in '' yaml; do
17273
if test -z "$ac_lib"; then
17274
ac_res="none required"
17277
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17279
if ac_fn_cxx_try_link "$LINENO"; then :
17280
ac_cv_search_yaml_parser_initialize=$ac_res
17282
rm -f core conftest.err conftest.$ac_objext \
17284
if ${ac_cv_search_yaml_parser_initialize+:} false; then :
17288
if ${ac_cv_search_yaml_parser_initialize+:} false; then :
17291
ac_cv_search_yaml_parser_initialize=no
17293
rm conftest.$ac_ext
17294
LIBS=$ac_func_search_save_LIBS
17296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_yaml_parser_initialize" >&5
17297
$as_echo "$ac_cv_search_yaml_parser_initialize" >&6; }
17298
ac_res=$ac_cv_search_yaml_parser_initialize
17299
if test "$ac_res" != no; then :
17300
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17305
as_fn_error $? "Unable to find yaml development files" "$LINENO" 5
17309
LIBCRYPTO_MIN_VERSION=1.0
17312
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTO" >&5
17313
$as_echo_n "checking for LIBCRYPTO... " >&6; }
17315
if test -n "$LIBCRYPTO_CFLAGS"; then
17316
pkg_cv_LIBCRYPTO_CFLAGS="$LIBCRYPTO_CFLAGS"
17317
elif test -n "$PKG_CONFIG"; then
17318
if test -n "$PKG_CONFIG" && \
17319
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= \${LIBCRYPTO_MIN_VERSION}\""; } >&5
17320
($PKG_CONFIG --exists --print-errors "libcrypto >= ${LIBCRYPTO_MIN_VERSION}") 2>&5
17322
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17323
test $ac_status = 0; }; then
17324
pkg_cv_LIBCRYPTO_CFLAGS=`$PKG_CONFIG --cflags "libcrypto >= ${LIBCRYPTO_MIN_VERSION}" 2>/dev/null`
17325
test "x$?" != "x0" && pkg_failed=yes
17332
if test -n "$LIBCRYPTO_LIBS"; then
17333
pkg_cv_LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS"
17334
elif test -n "$PKG_CONFIG"; then
17335
if test -n "$PKG_CONFIG" && \
17336
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto >= \${LIBCRYPTO_MIN_VERSION}\""; } >&5
17337
($PKG_CONFIG --exists --print-errors "libcrypto >= ${LIBCRYPTO_MIN_VERSION}") 2>&5
17339
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17340
test $ac_status = 0; }; then
17341
pkg_cv_LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto >= ${LIBCRYPTO_MIN_VERSION}" 2>/dev/null`
17342
test "x$?" != "x0" && pkg_failed=yes
17352
if test $pkg_failed = yes; then
17353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17354
$as_echo "no" >&6; }
17356
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17357
_pkg_short_errors_supported=yes
17359
_pkg_short_errors_supported=no
17361
if test $_pkg_short_errors_supported = yes; then
17362
LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto >= ${LIBCRYPTO_MIN_VERSION}" 2>&1`
17364
LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto >= ${LIBCRYPTO_MIN_VERSION}" 2>&1`
17366
# Put the nasty error message in config.log where it belongs
17367
echo "$LIBCRYPTO_PKG_ERRORS" >&5
17369
HAVE_LIBCRYPTO=false
17370
elif test $pkg_failed = untried; then
17371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17372
$as_echo "no" >&6; }
17373
HAVE_LIBCRYPTO=false
17375
LIBCRYPTO_CFLAGS=$pkg_cv_LIBCRYPTO_CFLAGS
17376
LIBCRYPTO_LIBS=$pkg_cv_LIBCRYPTO_LIBS
17377
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17378
$as_echo "yes" >&6; }
17379
HAVE_LIBCRYPTO=true
17382
ALSA_MIN_VERSION=1.0
17385
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5
17386
$as_echo_n "checking for ALSA... " >&6; }
17388
if test -n "$ALSA_CFLAGS"; then
17389
pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
17390
elif test -n "$PKG_CONFIG"; then
17391
if test -n "$PKG_CONFIG" && \
17392
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= \${ALSA_MIN_VERSION}\""; } >&5
17393
($PKG_CONFIG --exists --print-errors "alsa >= ${ALSA_MIN_VERSION}") 2>&5
17395
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17396
test $ac_status = 0; }; then
17397
pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa >= ${ALSA_MIN_VERSION}" 2>/dev/null`
17398
test "x$?" != "x0" && pkg_failed=yes
17405
if test -n "$ALSA_LIBS"; then
17406
pkg_cv_ALSA_LIBS="$ALSA_LIBS"
17407
elif test -n "$PKG_CONFIG"; then
17408
if test -n "$PKG_CONFIG" && \
17409
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= \${ALSA_MIN_VERSION}\""; } >&5
17410
($PKG_CONFIG --exists --print-errors "alsa >= ${ALSA_MIN_VERSION}") 2>&5
17412
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17413
test $ac_status = 0; }; then
17414
pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa >= ${ALSA_MIN_VERSION}" 2>/dev/null`
17415
test "x$?" != "x0" && pkg_failed=yes
17425
if test $pkg_failed = yes; then
17426
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17427
$as_echo "no" >&6; }
17429
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17430
_pkg_short_errors_supported=yes
17432
_pkg_short_errors_supported=no
17434
if test $_pkg_short_errors_supported = yes; then
17435
ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "alsa >= ${ALSA_MIN_VERSION}" 2>&1`
17437
ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "alsa >= ${ALSA_MIN_VERSION}" 2>&1`
17439
# Put the nasty error message in config.log where it belongs
17440
echo "$ALSA_PKG_ERRORS" >&5
17442
as_fn_error $? "Missing alsa development package: libasound2-dev or alsa-lib-devel" "$LINENO" 5
17443
elif test $pkg_failed = untried; then
17444
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17445
$as_echo "no" >&6; }
17446
as_fn_error $? "Missing alsa development package: libasound2-dev or alsa-lib-devel" "$LINENO" 5
17448
ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
17449
ALSA_LIBS=$pkg_cv_ALSA_LIBS
17450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17451
$as_echo "yes" >&6; }
17455
LIBPULSE_MIN_VERSION=0.9.15
17458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PULSEAUDIO" >&5
17459
$as_echo_n "checking for PULSEAUDIO... " >&6; }
17461
if test -n "$PULSEAUDIO_CFLAGS"; then
17462
pkg_cv_PULSEAUDIO_CFLAGS="$PULSEAUDIO_CFLAGS"
17463
elif test -n "$PKG_CONFIG"; then
17464
if test -n "$PKG_CONFIG" && \
17465
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse >= \${LIBPULSE_MIN_VERSION}\""; } >&5
17466
($PKG_CONFIG --exists --print-errors "libpulse >= ${LIBPULSE_MIN_VERSION}") 2>&5
17468
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17469
test $ac_status = 0; }; then
17470
pkg_cv_PULSEAUDIO_CFLAGS=`$PKG_CONFIG --cflags "libpulse >= ${LIBPULSE_MIN_VERSION}" 2>/dev/null`
17471
test "x$?" != "x0" && pkg_failed=yes
17478
if test -n "$PULSEAUDIO_LIBS"; then
17479
pkg_cv_PULSEAUDIO_LIBS="$PULSEAUDIO_LIBS"
17480
elif test -n "$PKG_CONFIG"; then
17481
if test -n "$PKG_CONFIG" && \
17482
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpulse >= \${LIBPULSE_MIN_VERSION}\""; } >&5
17483
($PKG_CONFIG --exists --print-errors "libpulse >= ${LIBPULSE_MIN_VERSION}") 2>&5
17485
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17486
test $ac_status = 0; }; then
17487
pkg_cv_PULSEAUDIO_LIBS=`$PKG_CONFIG --libs "libpulse >= ${LIBPULSE_MIN_VERSION}" 2>/dev/null`
17488
test "x$?" != "x0" && pkg_failed=yes
17498
if test $pkg_failed = yes; then
17499
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17500
$as_echo "no" >&6; }
17502
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17503
_pkg_short_errors_supported=yes
17505
_pkg_short_errors_supported=no
17507
if test $_pkg_short_errors_supported = yes; then
17508
PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpulse >= ${LIBPULSE_MIN_VERSION}" 2>&1`
17510
PULSEAUDIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpulse >= ${LIBPULSE_MIN_VERSION}" 2>&1`
17512
# Put the nasty error message in config.log where it belongs
17513
echo "$PULSEAUDIO_PKG_ERRORS" >&5
17515
as_fn_error $? "Missing pulseaudio development package: libpulse-dev" "$LINENO" 5
17516
elif test $pkg_failed = untried; then
17517
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17518
$as_echo "no" >&6; }
17519
as_fn_error $? "Missing pulseaudio development package: libpulse-dev" "$LINENO" 5
17521
PULSEAUDIO_CFLAGS=$pkg_cv_PULSEAUDIO_CFLAGS
17522
PULSEAUDIO_LIBS=$pkg_cv_PULSEAUDIO_LIBS
17523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17524
$as_echo "yes" >&6; }
17528
LIBSAMPLERATE_MIN_VERSION=0.1.2
17531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SAMPLERATE" >&5
17532
$as_echo_n "checking for SAMPLERATE... " >&6; }
17534
if test -n "$SAMPLERATE_CFLAGS"; then
17535
pkg_cv_SAMPLERATE_CFLAGS="$SAMPLERATE_CFLAGS"
17536
elif test -n "$PKG_CONFIG"; then
17537
if test -n "$PKG_CONFIG" && \
17538
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate >= \${LIBSAMPLERATE_MIN_VERSION}\""; } >&5
17539
($PKG_CONFIG --exists --print-errors "samplerate >= ${LIBSAMPLERATE_MIN_VERSION}") 2>&5
17541
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17542
test $ac_status = 0; }; then
17543
pkg_cv_SAMPLERATE_CFLAGS=`$PKG_CONFIG --cflags "samplerate >= ${LIBSAMPLERATE_MIN_VERSION}" 2>/dev/null`
17544
test "x$?" != "x0" && pkg_failed=yes
17551
if test -n "$SAMPLERATE_LIBS"; then
17552
pkg_cv_SAMPLERATE_LIBS="$SAMPLERATE_LIBS"
17553
elif test -n "$PKG_CONFIG"; then
17554
if test -n "$PKG_CONFIG" && \
17555
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"samplerate >= \${LIBSAMPLERATE_MIN_VERSION}\""; } >&5
17556
($PKG_CONFIG --exists --print-errors "samplerate >= ${LIBSAMPLERATE_MIN_VERSION}") 2>&5
17558
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17559
test $ac_status = 0; }; then
17560
pkg_cv_SAMPLERATE_LIBS=`$PKG_CONFIG --libs "samplerate >= ${LIBSAMPLERATE_MIN_VERSION}" 2>/dev/null`
17561
test "x$?" != "x0" && pkg_failed=yes
17571
if test $pkg_failed = yes; then
17572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17573
$as_echo "no" >&6; }
17575
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17576
_pkg_short_errors_supported=yes
17578
_pkg_short_errors_supported=no
17580
if test $_pkg_short_errors_supported = yes; then
17581
SAMPLERATE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "samplerate >= ${LIBSAMPLERATE_MIN_VERSION}" 2>&1`
17583
SAMPLERATE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "samplerate >= ${LIBSAMPLERATE_MIN_VERSION}" 2>&1`
17585
# Put the nasty error message in config.log where it belongs
17586
echo "$SAMPLERATE_PKG_ERRORS" >&5
17588
as_fn_error $? "Missing libsamplerate development package: libsamplerate0-dev" "$LINENO" 5
17589
elif test $pkg_failed = untried; then
17590
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17591
$as_echo "no" >&6; }
17592
as_fn_error $? "Missing libsamplerate development package: libsamplerate0-dev" "$LINENO" 5
17594
SAMPLERATE_CFLAGS=$pkg_cv_SAMPLERATE_CFLAGS
17595
SAMPLERATE_LIBS=$pkg_cv_SAMPLERATE_LIBS
17596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17597
$as_echo "yes" >&6; }
17601
LIBCCGNU2_MIN_VERSION=1.3.1
17604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCGNU2" >&5
17605
$as_echo_n "checking for CCGNU2... " >&6; }
17607
if test -n "$CCGNU2_CFLAGS"; then
17608
pkg_cv_CCGNU2_CFLAGS="$CCGNU2_CFLAGS"
17609
elif test -n "$PKG_CONFIG"; then
17610
if test -n "$PKG_CONFIG" && \
17611
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"commoncpp >= \${LIBCCGNU2_MIN_VERSION}\""; } >&5
17612
($PKG_CONFIG --exists --print-errors "commoncpp >= ${LIBCCGNU2_MIN_VERSION}") 2>&5
17614
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17615
test $ac_status = 0; }; then
17616
pkg_cv_CCGNU2_CFLAGS=`$PKG_CONFIG --cflags "commoncpp >= ${LIBCCGNU2_MIN_VERSION}" 2>/dev/null`
17617
test "x$?" != "x0" && pkg_failed=yes
17624
if test -n "$CCGNU2_LIBS"; then
17625
pkg_cv_CCGNU2_LIBS="$CCGNU2_LIBS"
17626
elif test -n "$PKG_CONFIG"; then
17627
if test -n "$PKG_CONFIG" && \
17628
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"commoncpp >= \${LIBCCGNU2_MIN_VERSION}\""; } >&5
17629
($PKG_CONFIG --exists --print-errors "commoncpp >= ${LIBCCGNU2_MIN_VERSION}") 2>&5
17631
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17632
test $ac_status = 0; }; then
17633
pkg_cv_CCGNU2_LIBS=`$PKG_CONFIG --libs "commoncpp >= ${LIBCCGNU2_MIN_VERSION}" 2>/dev/null`
17634
test "x$?" != "x0" && pkg_failed=yes
17644
if test $pkg_failed = yes; then
17645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17646
$as_echo "no" >&6; }
17648
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17649
_pkg_short_errors_supported=yes
17651
_pkg_short_errors_supported=no
17653
if test $_pkg_short_errors_supported = yes; then
17654
CCGNU2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "commoncpp >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
17656
CCGNU2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "commoncpp >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
17658
# Put the nasty error message in config.log where it belongs
17659
echo "$CCGNU2_PKG_ERRORS" >&5
17664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCGNU2" >&5
17665
$as_echo_n "checking for CCGNU2... " >&6; }
17667
if test -n "$CCGNU2_CFLAGS"; then
17668
pkg_cv_CCGNU2_CFLAGS="$CCGNU2_CFLAGS"
17669
elif test -n "$PKG_CONFIG"; then
17670
if test -n "$PKG_CONFIG" && \
17671
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccgnu2 >= \${LIBCCGNU2_MIN_VERSION}\""; } >&5
17672
($PKG_CONFIG --exists --print-errors "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}") 2>&5
17674
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17675
test $ac_status = 0; }; then
17676
pkg_cv_CCGNU2_CFLAGS=`$PKG_CONFIG --cflags "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>/dev/null`
17677
test "x$?" != "x0" && pkg_failed=yes
17684
if test -n "$CCGNU2_LIBS"; then
17685
pkg_cv_CCGNU2_LIBS="$CCGNU2_LIBS"
17686
elif test -n "$PKG_CONFIG"; then
17687
if test -n "$PKG_CONFIG" && \
17688
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccgnu2 >= \${LIBCCGNU2_MIN_VERSION}\""; } >&5
17689
($PKG_CONFIG --exists --print-errors "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}") 2>&5
17691
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17692
test $ac_status = 0; }; then
17693
pkg_cv_CCGNU2_LIBS=`$PKG_CONFIG --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>/dev/null`
17694
test "x$?" != "x0" && pkg_failed=yes
17704
if test $pkg_failed = yes; then
17705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17706
$as_echo "no" >&6; }
17708
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17709
_pkg_short_errors_supported=yes
17711
_pkg_short_errors_supported=no
17713
if test $_pkg_short_errors_supported = yes; then
17714
CCGNU2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
17716
CCGNU2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
17718
# Put the nasty error message in config.log where it belongs
17719
echo "$CCGNU2_PKG_ERRORS" >&5
17721
as_fn_error $? "Missing common cpp development package: libcommoncpp2-dev" "$LINENO" 5
17722
elif test $pkg_failed = untried; then
17723
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17724
$as_echo "no" >&6; }
17725
as_fn_error $? "Missing common cpp development package: libcommoncpp2-dev" "$LINENO" 5
17727
CCGNU2_CFLAGS=$pkg_cv_CCGNU2_CFLAGS
17728
CCGNU2_LIBS=$pkg_cv_CCGNU2_LIBS
17729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17730
$as_echo "yes" >&6; }
17732
cat >>confdefs.h <<_ACEOF
17733
#define CCPP_PREFIX 1
17738
elif test $pkg_failed = untried; then
17739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17740
$as_echo "no" >&6; }
17744
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCGNU2" >&5
17745
$as_echo_n "checking for CCGNU2... " >&6; }
17747
if test -n "$CCGNU2_CFLAGS"; then
17748
pkg_cv_CCGNU2_CFLAGS="$CCGNU2_CFLAGS"
17749
elif test -n "$PKG_CONFIG"; then
17750
if test -n "$PKG_CONFIG" && \
17751
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccgnu2 >= \${LIBCCGNU2_MIN_VERSION}\""; } >&5
17752
($PKG_CONFIG --exists --print-errors "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}") 2>&5
17754
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17755
test $ac_status = 0; }; then
17756
pkg_cv_CCGNU2_CFLAGS=`$PKG_CONFIG --cflags "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>/dev/null`
17757
test "x$?" != "x0" && pkg_failed=yes
17764
if test -n "$CCGNU2_LIBS"; then
17765
pkg_cv_CCGNU2_LIBS="$CCGNU2_LIBS"
17766
elif test -n "$PKG_CONFIG"; then
17767
if test -n "$PKG_CONFIG" && \
17768
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccgnu2 >= \${LIBCCGNU2_MIN_VERSION}\""; } >&5
17769
($PKG_CONFIG --exists --print-errors "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}") 2>&5
17771
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17772
test $ac_status = 0; }; then
17773
pkg_cv_CCGNU2_LIBS=`$PKG_CONFIG --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>/dev/null`
17774
test "x$?" != "x0" && pkg_failed=yes
17784
if test $pkg_failed = yes; then
17785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17786
$as_echo "no" >&6; }
17788
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17789
_pkg_short_errors_supported=yes
17791
_pkg_short_errors_supported=no
17793
if test $_pkg_short_errors_supported = yes; then
17794
CCGNU2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
17796
CCGNU2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libccgnu2 >= ${LIBCCGNU2_MIN_VERSION}" 2>&1`
17798
# Put the nasty error message in config.log where it belongs
17799
echo "$CCGNU2_PKG_ERRORS" >&5
17801
as_fn_error $? "Missing common cpp development package: libcommoncpp2-dev" "$LINENO" 5
17802
elif test $pkg_failed = untried; then
17803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17804
$as_echo "no" >&6; }
17805
as_fn_error $? "Missing common cpp development package: libcommoncpp2-dev" "$LINENO" 5
17807
CCGNU2_CFLAGS=$pkg_cv_CCGNU2_CFLAGS
17808
CCGNU2_LIBS=$pkg_cv_CCGNU2_LIBS
17809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17810
$as_echo "yes" >&6; }
17812
cat >>confdefs.h <<_ACEOF
17813
#define CCPP_PREFIX 1
17819
CCGNU2_CFLAGS=$pkg_cv_CCGNU2_CFLAGS
17820
CCGNU2_LIBS=$pkg_cv_CCGNU2_LIBS
17821
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17822
$as_echo "yes" >&6; }
17824
cat >>confdefs.h <<_ACEOF
17825
#define COMMONCPP_PREFIX 1
17830
LIBCCRTP_MIN_VERSION=1.3.0
17833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCRTP" >&5
17834
$as_echo_n "checking for CCRTP... " >&6; }
17836
if test -n "$CCRTP_CFLAGS"; then
17837
pkg_cv_CCRTP_CFLAGS="$CCRTP_CFLAGS"
17838
elif test -n "$PKG_CONFIG"; then
17839
if test -n "$PKG_CONFIG" && \
17840
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccrtp >= \${LIBCCRTP_MIN_VERSION}\""; } >&5
17841
($PKG_CONFIG --exists --print-errors "libccrtp >= ${LIBCCRTP_MIN_VERSION}") 2>&5
17843
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17844
test $ac_status = 0; }; then
17845
pkg_cv_CCRTP_CFLAGS=`$PKG_CONFIG --cflags "libccrtp >= ${LIBCCRTP_MIN_VERSION}" 2>/dev/null`
17846
test "x$?" != "x0" && pkg_failed=yes
17853
if test -n "$CCRTP_LIBS"; then
17854
pkg_cv_CCRTP_LIBS="$CCRTP_LIBS"
17855
elif test -n "$PKG_CONFIG"; then
17856
if test -n "$PKG_CONFIG" && \
17857
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccrtp >= \${LIBCCRTP_MIN_VERSION}\""; } >&5
17858
($PKG_CONFIG --exists --print-errors "libccrtp >= ${LIBCCRTP_MIN_VERSION}") 2>&5
17860
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17861
test $ac_status = 0; }; then
17862
pkg_cv_CCRTP_LIBS=`$PKG_CONFIG --libs "libccrtp >= ${LIBCCRTP_MIN_VERSION}" 2>/dev/null`
17863
test "x$?" != "x0" && pkg_failed=yes
17873
if test $pkg_failed = yes; then
17874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17875
$as_echo "no" >&6; }
17877
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17878
_pkg_short_errors_supported=yes
17880
_pkg_short_errors_supported=no
17882
if test $_pkg_short_errors_supported = yes; then
17883
CCRTP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libccrtp >= ${LIBCCRTP_MIN_VERSION}" 2>&1`
17885
CCRTP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libccrtp >= ${LIBCCRTP_MIN_VERSION}" 2>&1`
17887
# Put the nasty error message in config.log where it belongs
17888
echo "$CCRTP_PKG_ERRORS" >&5
17893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCRTP" >&5
17894
$as_echo_n "checking for CCRTP... " >&6; }
17896
if test -n "$CCRTP_CFLAGS"; then
17897
pkg_cv_CCRTP_CFLAGS="$CCRTP_CFLAGS"
17898
elif test -n "$PKG_CONFIG"; then
17899
if test -n "$PKG_CONFIG" && \
17900
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccrtp1 >= \${LIBCCRTP_MIN_VERSION}\""; } >&5
17901
($PKG_CONFIG --exists --print-errors "libccrtp1 >= ${LIBCCRTP_MIN_VERSION}") 2>&5
17903
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17904
test $ac_status = 0; }; then
17905
pkg_cv_CCRTP_CFLAGS=`$PKG_CONFIG --cflags "libccrtp1 >= ${LIBCCRTP_MIN_VERSION}" 2>/dev/null`
17906
test "x$?" != "x0" && pkg_failed=yes
17913
if test -n "$CCRTP_LIBS"; then
17914
pkg_cv_CCRTP_LIBS="$CCRTP_LIBS"
17915
elif test -n "$PKG_CONFIG"; then
17916
if test -n "$PKG_CONFIG" && \
17917
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccrtp1 >= \${LIBCCRTP_MIN_VERSION}\""; } >&5
17918
($PKG_CONFIG --exists --print-errors "libccrtp1 >= ${LIBCCRTP_MIN_VERSION}") 2>&5
17920
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17921
test $ac_status = 0; }; then
17922
pkg_cv_CCRTP_LIBS=`$PKG_CONFIG --libs "libccrtp1 >= ${LIBCCRTP_MIN_VERSION}" 2>/dev/null`
17923
test "x$?" != "x0" && pkg_failed=yes
17933
if test $pkg_failed = yes; then
17934
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17935
$as_echo "no" >&6; }
17937
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17938
_pkg_short_errors_supported=yes
17940
_pkg_short_errors_supported=no
17942
if test $_pkg_short_errors_supported = yes; then
17943
CCRTP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libccrtp1 >= ${LIBCCRTP_MIN_VERSION}" 2>&1`
17945
CCRTP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libccrtp1 >= ${LIBCCRTP_MIN_VERSION}" 2>&1`
17947
# Put the nasty error message in config.log where it belongs
17948
echo "$CCRTP_PKG_ERRORS" >&5
17950
as_fn_error $? "Missing ccrtp development package: libccrtp-dev" "$LINENO" 5
17951
elif test $pkg_failed = untried; then
17952
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17953
$as_echo "no" >&6; }
17954
as_fn_error $? "Missing ccrtp development package: libccrtp-dev" "$LINENO" 5
17956
CCRTP_CFLAGS=$pkg_cv_CCRTP_CFLAGS
17957
CCRTP_LIBS=$pkg_cv_CCRTP_LIBS
17958
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17959
$as_echo "yes" >&6; }
17963
elif test $pkg_failed = untried; then
17964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17965
$as_echo "no" >&6; }
17969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CCRTP" >&5
17970
$as_echo_n "checking for CCRTP... " >&6; }
17972
if test -n "$CCRTP_CFLAGS"; then
17973
pkg_cv_CCRTP_CFLAGS="$CCRTP_CFLAGS"
17974
elif test -n "$PKG_CONFIG"; then
17975
if test -n "$PKG_CONFIG" && \
17976
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccrtp1 >= \${LIBCCRTP_MIN_VERSION}\""; } >&5
17977
($PKG_CONFIG --exists --print-errors "libccrtp1 >= ${LIBCCRTP_MIN_VERSION}") 2>&5
17979
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17980
test $ac_status = 0; }; then
17981
pkg_cv_CCRTP_CFLAGS=`$PKG_CONFIG --cflags "libccrtp1 >= ${LIBCCRTP_MIN_VERSION}" 2>/dev/null`
17982
test "x$?" != "x0" && pkg_failed=yes
17989
if test -n "$CCRTP_LIBS"; then
17990
pkg_cv_CCRTP_LIBS="$CCRTP_LIBS"
17991
elif test -n "$PKG_CONFIG"; then
17992
if test -n "$PKG_CONFIG" && \
17993
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libccrtp1 >= \${LIBCCRTP_MIN_VERSION}\""; } >&5
17994
($PKG_CONFIG --exists --print-errors "libccrtp1 >= ${LIBCCRTP_MIN_VERSION}") 2>&5
17996
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17997
test $ac_status = 0; }; then
17998
pkg_cv_CCRTP_LIBS=`$PKG_CONFIG --libs "libccrtp1 >= ${LIBCCRTP_MIN_VERSION}" 2>/dev/null`
17999
test "x$?" != "x0" && pkg_failed=yes
18009
if test $pkg_failed = yes; then
18010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18011
$as_echo "no" >&6; }
18013
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18014
_pkg_short_errors_supported=yes
18016
_pkg_short_errors_supported=no
18018
if test $_pkg_short_errors_supported = yes; then
18019
CCRTP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libccrtp1 >= ${LIBCCRTP_MIN_VERSION}" 2>&1`
18021
CCRTP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libccrtp1 >= ${LIBCCRTP_MIN_VERSION}" 2>&1`
18023
# Put the nasty error message in config.log where it belongs
18024
echo "$CCRTP_PKG_ERRORS" >&5
18026
as_fn_error $? "Missing ccrtp development package: libccrtp-dev" "$LINENO" 5
18027
elif test $pkg_failed = untried; then
18028
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18029
$as_echo "no" >&6; }
18030
as_fn_error $? "Missing ccrtp development package: libccrtp-dev" "$LINENO" 5
18032
CCRTP_CFLAGS=$pkg_cv_CCRTP_CFLAGS
18033
CCRTP_LIBS=$pkg_cv_CCRTP_LIBS
18034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18035
$as_echo "yes" >&6; }
18040
CCRTP_CFLAGS=$pkg_cv_CCRTP_CFLAGS
18041
CCRTP_LIBS=$pkg_cv_CCRTP_LIBS
18042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18043
$as_echo "yes" >&6; }
18049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libssl" >&5
18050
$as_echo_n "checking for libssl... " >&6; }
18052
if test -n "$libssl_CFLAGS"; then
18053
pkg_cv_libssl_CFLAGS="$libssl_CFLAGS"
18054
elif test -n "$PKG_CONFIG"; then
18055
if test -n "$PKG_CONFIG" && \
18056
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssl\""; } >&5
18057
($PKG_CONFIG --exists --print-errors "libssl") 2>&5
18059
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18060
test $ac_status = 0; }; then
18061
pkg_cv_libssl_CFLAGS=`$PKG_CONFIG --cflags "libssl" 2>/dev/null`
18062
test "x$?" != "x0" && pkg_failed=yes
18069
if test -n "$libssl_LIBS"; then
18070
pkg_cv_libssl_LIBS="$libssl_LIBS"
18071
elif test -n "$PKG_CONFIG"; then
18072
if test -n "$PKG_CONFIG" && \
18073
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libssl\""; } >&5
18074
($PKG_CONFIG --exists --print-errors "libssl") 2>&5
18076
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18077
test $ac_status = 0; }; then
18078
pkg_cv_libssl_LIBS=`$PKG_CONFIG --libs "libssl" 2>/dev/null`
18079
test "x$?" != "x0" && pkg_failed=yes
18089
if test $pkg_failed = yes; then
18090
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18091
$as_echo "no" >&6; }
18093
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18094
_pkg_short_errors_supported=yes
18096
_pkg_short_errors_supported=no
18098
if test $_pkg_short_errors_supported = yes; then
18099
libssl_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libssl" 2>&1`
18101
libssl_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libssl" 2>&1`
18103
# Put the nasty error message in config.log where it belongs
18104
echo "$libssl_PKG_ERRORS" >&5
18106
as_fn_error $? "Missing ssl development package: libssl-dev" "$LINENO" 5
18107
elif test $pkg_failed = untried; then
18108
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18109
$as_echo "no" >&6; }
18110
as_fn_error $? "Missing ssl development package: libssl-dev" "$LINENO" 5
18112
libssl_CFLAGS=$pkg_cv_libssl_CFLAGS
18113
libssl_LIBS=$pkg_cv_libssl_LIBS
18114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18115
$as_echo "yes" >&6; }
18119
LIBZRTPCPP_MIN_VERSION=1.3.0
18122
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZRTPCPP" >&5
18123
$as_echo_n "checking for ZRTPCPP... " >&6; }
18125
if test -n "$ZRTPCPP_CFLAGS"; then
18126
pkg_cv_ZRTPCPP_CFLAGS="$ZRTPCPP_CFLAGS"
18127
elif test -n "$PKG_CONFIG"; then
18128
if test -n "$PKG_CONFIG" && \
18129
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzrtpcpp >= \${LIBZRTPCPP_MIN_VERSION}\""; } >&5
18130
($PKG_CONFIG --exists --print-errors "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}") 2>&5
18132
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18133
test $ac_status = 0; }; then
18134
pkg_cv_ZRTPCPP_CFLAGS=`$PKG_CONFIG --cflags "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}" 2>/dev/null`
18135
test "x$?" != "x0" && pkg_failed=yes
18142
if test -n "$ZRTPCPP_LIBS"; then
18143
pkg_cv_ZRTPCPP_LIBS="$ZRTPCPP_LIBS"
18144
elif test -n "$PKG_CONFIG"; then
18145
if test -n "$PKG_CONFIG" && \
18146
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libzrtpcpp >= \${LIBZRTPCPP_MIN_VERSION}\""; } >&5
18147
($PKG_CONFIG --exists --print-errors "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}") 2>&5
18149
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18150
test $ac_status = 0; }; then
18151
pkg_cv_ZRTPCPP_LIBS=`$PKG_CONFIG --libs "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}" 2>/dev/null`
18152
test "x$?" != "x0" && pkg_failed=yes
18162
if test $pkg_failed = yes; then
18163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18164
$as_echo "no" >&6; }
18166
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18167
_pkg_short_errors_supported=yes
18169
_pkg_short_errors_supported=no
18171
if test $_pkg_short_errors_supported = yes; then
18172
ZRTPCPP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}" 2>&1`
18174
ZRTPCPP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libzrtpcpp >= ${LIBZRTPCPP_MIN_VERSION}" 2>&1`
18176
# Put the nasty error message in config.log where it belongs
18177
echo "$ZRTPCPP_PKG_ERRORS" >&5
18179
as_fn_error $? "Missing zrtp development package: libzrtpcpp-dev" "$LINENO" 5
18180
elif test $pkg_failed = untried; then
18181
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18182
$as_echo "no" >&6; }
18183
as_fn_error $? "Missing zrtp development package: libzrtpcpp-dev" "$LINENO" 5
18185
ZRTPCPP_CFLAGS=$pkg_cv_ZRTPCPP_CFLAGS
18186
ZRTPCPP_LIBS=$pkg_cv_ZRTPCPP_LIBS
18187
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18188
$as_echo "yes" >&6; }
18192
DBUS_CPP_REQUIRED_VERSION=0.6.0-pre1
18195
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUSCPP" >&5
18196
$as_echo_n "checking for DBUSCPP... " >&6; }
18198
if test -n "$DBUSCPP_CFLAGS"; then
18199
pkg_cv_DBUSCPP_CFLAGS="$DBUSCPP_CFLAGS"
18200
elif test -n "$PKG_CONFIG"; then
18201
if test -n "$PKG_CONFIG" && \
18202
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-c++-1\""; } >&5
18203
($PKG_CONFIG --exists --print-errors "dbus-c++-1") 2>&5
18205
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18206
test $ac_status = 0; }; then
18207
pkg_cv_DBUSCPP_CFLAGS=`$PKG_CONFIG --cflags "dbus-c++-1" 2>/dev/null`
18208
test "x$?" != "x0" && pkg_failed=yes
18215
if test -n "$DBUSCPP_LIBS"; then
18216
pkg_cv_DBUSCPP_LIBS="$DBUSCPP_LIBS"
18217
elif test -n "$PKG_CONFIG"; then
18218
if test -n "$PKG_CONFIG" && \
18219
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-c++-1\""; } >&5
18220
($PKG_CONFIG --exists --print-errors "dbus-c++-1") 2>&5
18222
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18223
test $ac_status = 0; }; then
18224
pkg_cv_DBUSCPP_LIBS=`$PKG_CONFIG --libs "dbus-c++-1" 2>/dev/null`
18225
test "x$?" != "x0" && pkg_failed=yes
18235
if test $pkg_failed = yes; then
18236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18237
$as_echo "no" >&6; }
18239
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18240
_pkg_short_errors_supported=yes
18242
_pkg_short_errors_supported=no
18244
if test $_pkg_short_errors_supported = yes; then
18245
DBUSCPP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-c++-1" 2>&1`
18247
DBUSCPP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-c++-1" 2>&1`
18249
# Put the nasty error message in config.log where it belongs
18250
echo "$DBUSCPP_PKG_ERRORS" >&5
18252
as_fn_error $? "You need the DBus-c++ libraries (version $DBUS_CPP_REQUIRED_VERSION or better)" "$LINENO" 5
18253
elif test $pkg_failed = untried; then
18254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18255
$as_echo "no" >&6; }
18256
as_fn_error $? "You need the DBus-c++ libraries (version $DBUS_CPP_REQUIRED_VERSION or better)" "$LINENO" 5
18258
DBUSCPP_CFLAGS=$pkg_cv_DBUSCPP_CFLAGS
18259
DBUSCPP_LIBS=$pkg_cv_DBUSCPP_LIBS
18260
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18261
$as_echo "yes" >&6; }
18267
# Check whether --with-expat was given.
18268
if test "${with_expat+set}" = set; then :
18269
withval=$with_expat;
18270
if test "$withval" = "yes"; then
18271
if test -f /usr/local/include/expat.h ; then
18272
expat_prefix=/usr/local
18273
elif test -f /usr/include/expat.h ; then
18278
expat_requested="yes"
18279
elif test -d "$withval"; then
18280
expat_prefix="$withval"
18281
expat_requested="yes"
18284
expat_requested="no"
18289
if test -f /usr/local/include/expat.h ; then
18290
expat_prefix=/usr/local
18291
elif test -f /usr/include/expat.h ; then
18302
# Check whether --with-expat-inc was given.
18303
if test "${with_expat_inc+set}" = set; then :
18304
withval=$with_expat_inc; expat_include_dir="$withval"
18306
expat_include_dir=""
18311
# Check whether --with-expat-lib was given.
18312
if test "${with_expat_lib+set}" = set; then :
18313
withval=$with_expat_lib; expat_lib_flags="$withval"
18324
run_expat_test="no"
18326
if test -n "$expat_prefix"; then
18327
expat_include_dir="$expat_prefix/include"
18328
expat_lib_flags="-L$expat_prefix/lib -lexpat"
18329
run_expat_test="yes"
18330
elif test "$expat_requested" = "yes"; then
18331
if test -n "$expat_include_dir" -a -n "$expat_lib_flags"; then
18332
run_expat_test="yes"
18335
run_expat_test="no"
18338
if test "$run_expat_test" = "yes"; then
18340
saved_CPPFLAGS="$CPPFLAGS"
18341
CPPFLAGS="$CPPFLAGS -I$expat_include_dir"
18343
saved_LDFLAGS="$LDFLAGS"
18344
LIBS="$LDFLAGS $expat_lib_flags"
18346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser headers in $expat_include_dir" >&5
18347
$as_echo_n "checking for Expat XML Parser headers in $expat_include_dir... " >&6; }
18350
ac_cpp='$CXXCPP $CPPFLAGS'
18351
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18352
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18353
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18355
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18356
/* end confdefs.h. */
18370
if ac_fn_cxx_try_compile "$LINENO"; then :
18372
EXPAT_CFLAGS="-I$expat_include_dir"
18373
expat_header_found="yes"
18374
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
18375
$as_echo "found" >&6; }
18379
expat_header_found="no"
18380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18381
$as_echo "not found" >&6; }
18385
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18387
ac_cpp='$CXXCPP $CPPFLAGS'
18388
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18389
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18390
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18393
if test "$expat_header_found" = "yes"; then
18395
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser libraries" >&5
18396
$as_echo_n "checking for Expat XML Parser libraries... " >&6; }
18399
ac_cpp='$CXXCPP $CPPFLAGS'
18400
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18401
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18402
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18404
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18405
/* end confdefs.h. */
18414
XML_Parser p = XML_ParserCreate(NULL);
18423
if ac_fn_cxx_try_link "$LINENO"; then :
18425
EXPAT_LIBS="$expat_lib_flags"
18426
expat_lib_found="yes"
18427
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
18428
$as_echo "found" >&6; }
18432
expat_lib_found="no"
18433
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18434
$as_echo "not found" >&6; }
18438
rm -f core conftest.err conftest.$ac_objext \
18439
conftest$ac_exeext conftest.$ac_ext
18441
ac_cpp='$CXXCPP $CPPFLAGS'
18442
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18443
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18444
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18448
CPPFLAGS="$saved_CPPFLAGS"
18449
LDFLAGS="$saved_LDFLAGS"
18452
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat XML Parser" >&5
18453
$as_echo_n "checking for Expat XML Parser... " >&6; }
18455
if test "$run_expat_test" = "yes"; then
18456
if test "$expat_header_found" = "yes" -a "$expat_lib_found" = "yes"; then
18466
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EXPAT" >&5
18467
$as_echo "$HAVE_EXPAT" >&6; }
18469
if test "$HAVE_EXPAT" = "yes"; then
18473
if test -n "$expat_version_req"; then
18475
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if Expat XML Parser version is >= $expat_version_req" >&5
18476
$as_echo_n "checking if Expat XML Parser version is >= $expat_version_req... " >&6; }
18478
if test -f "$expat_include_dir/expat.h"; then
18480
expat_major=`cat $expat_include_dir/expat.h | \
18481
grep '^#define.*XML_MAJOR_VERSION.*[0-9]$' | \
18482
sed -e 's/#define XML_MAJOR_VERSION.//'`
18484
expat_minor=`cat $expat_include_dir/expat.h | \
18485
grep '^#define.*XML_MINOR_VERSION.*[0-9]$' | \
18486
sed -e 's/#define XML_MINOR_VERSION.//'`
18488
expat_revision=`cat $expat_include_dir/expat.h | \
18489
grep '^#define.*XML_MICRO_VERSION.*[0-9]$' | \
18490
sed -e 's/#define XML_MICRO_VERSION.//'`
18492
EXPAT_VERSION="$expat_major.$expat_minor.$expat_revision"
18495
expat_version_req_major=`expr $expat_version_req : '\([0-9]*\)'`
18496
expat_version_req_minor=`expr $expat_version_req : '[0-9]*\.\([0-9]*\)'`
18497
expat_version_req_revision=`expr $expat_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
18498
if test "x$expat_version_req_revision" = "x"; then
18499
expat_version_req_revision="0"
18502
expat_version_req_number=`expr $expat_version_req_major \* 10000 \
18503
\+ $expat_version_req_minor \* 100 \
18504
\+ $expat_version_req_revision`
18506
expat_version_number=`expr $expat_major \* 10000 \
18507
\+ $expat_minor \* 100 \
18508
\+ $expat_revision`
18510
expat_version_check=`expr $expat_version_number \>\= $expat_version_req_number`
18511
if test "$expat_version_check" = "1"; then
18512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18513
$as_echo "yes" >&6; }
18515
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18516
$as_echo "no" >&6; }
18517
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Found Expat XML Parser $EXPAT_VERSION, which is older than required. Possible compilation failure." >&5
18518
$as_echo "$as_me: WARNING: Found Expat XML Parser $EXPAT_VERSION, which is older than required. Possible compilation failure." >&2;}
18521
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18522
$as_echo "no" >&6; }
18523
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing expat.h header. Unable to determine Expat version." >&5
18524
$as_echo "$as_me: WARNING: Missing expat.h header. Unable to determine Expat version." >&2;}
18531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_EXPAT" >&5
18532
$as_echo "$HAVE_EXPAT" >&6; }
18534
if test "$expat_requested" = "yes"; then
18535
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Expat XML Parser support requested but headers or library not found. Specify valid prefix of Expat using --with-expat=[DIR] or provide include directory and linker flags using --with-expat-inc and --with-expat-lib" >&5
18536
$as_echo "$as_me: WARNING: Expat XML Parser support requested but headers or library not found. Specify valid prefix of Expat using --with-expat=[DIR] or provide include directory and linker flags using --with-expat-inc and --with-expat-lib" >&2;}
18544
ac_cpp='$CPP $CPPFLAGS'
18545
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18546
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18547
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18551
# We used to check for pthread.h first, but this fails if pthread.h
18552
# requires special compiler flags (e.g. on True64 or Sequent).
18553
# It gets checked for in the link test anyway.
18555
# First of all, check if the user has set any of the PTHREAD_LIBS,
18556
# etcetera environment variables, and if threads linking works using
18558
if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
18559
save_CFLAGS="$CFLAGS"
18560
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18562
LIBS="$PTHREAD_LIBS $LIBS"
18563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
18564
$as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
18565
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18566
/* end confdefs.h. */
18568
/* Override any GCC internal prototype to avoid an error.
18569
Use char because int might match the return type of a GCC
18570
builtin and then its argument prototype would still apply. */
18574
char pthread_join ();
18578
return pthread_join ();
18583
if ac_fn_c_try_link "$LINENO"; then :
18586
rm -f core conftest.err conftest.$ac_objext \
18587
conftest$ac_exeext conftest.$ac_ext
18588
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
18589
$as_echo "$ax_pthread_ok" >&6; }
18590
if test x"$ax_pthread_ok" = xno; then
18595
CFLAGS="$save_CFLAGS"
18598
# We must check for the threads library under a number of different
18599
# names; the ordering is very important because some systems
18600
# (e.g. DEC) have both -lpthread and -lpthreads, where one of the
18601
# libraries is broken (non-POSIX).
18603
# Create a list of thread flags to try. Items starting with a "-" are
18604
# C compiler flags, and other items are library names, except for "none"
18605
# which indicates that we try without any flags at all, and "pthread-config"
18606
# which is a program returning the flags for the Pth emulation library.
18608
ax_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
18610
# The ordering *is* (sometimes) important. Some notes on the
18611
# individual items follow:
18613
# pthreads: AIX (must check this before -lpthread)
18614
# none: in case threads are in libc; should be tried before -Kthread and
18615
# other compiler flags to prevent continual compiler warnings
18616
# -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
18617
# -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
18618
# lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
18619
# -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
18620
# -pthreads: Solaris/gcc
18621
# -mthreads: Mingw32/gcc, Lynx/gcc
18622
# -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
18623
# doesn't hurt to check since this sometimes defines pthreads too;
18624
# also defines -D_REENTRANT)
18625
# ... -mt is also the pthreads flag for HP/aCC
18626
# pthread: Linux, etcetera
18627
# --thread-safe: KAI C++
18628
# pthread-config: use pthread-config program (for GNU Pth library)
18630
case "${host_cpu}-${host_os}" in
18633
# On Solaris (at least, for some versions), libc contains stubbed
18634
# (non-functional) versions of the pthreads routines, so link-based
18635
# tests will erroneously succeed. (We need to link with -pthreads/-mt/
18636
# -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
18637
# a function called by this macro, so we could check for that, but
18638
# who knows whether they'll stub that too in a future libc.) So,
18639
# we'll just look for -pthreads and -lpthread first:
18641
ax_pthread_flags="-pthreads pthread -mt -pthread $ax_pthread_flags"
18645
ax_pthread_flags="-pthread $ax_pthread_flags"
18649
if test x"$ax_pthread_ok" = xno; then
18650
for flag in $ax_pthread_flags; do
18654
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
18655
$as_echo_n "checking whether pthreads work without any flags... " >&6; }
18659
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
18660
$as_echo_n "checking whether pthreads work with $flag... " >&6; }
18661
PTHREAD_CFLAGS="$flag"
18665
# Extract the first word of "pthread-config", so it can be a program name with args.
18666
set dummy pthread-config; ac_word=$2
18667
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18668
$as_echo_n "checking for $ac_word... " >&6; }
18669
if ${ac_cv_prog_ax_pthread_config+:} false; then :
18670
$as_echo_n "(cached) " >&6
18672
if test -n "$ax_pthread_config"; then
18673
ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
18675
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18676
for as_dir in $PATH
18679
test -z "$as_dir" && as_dir=.
18680
for ac_exec_ext in '' $ac_executable_extensions; do
18681
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18682
ac_cv_prog_ax_pthread_config="yes"
18683
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18690
test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
18693
ax_pthread_config=$ac_cv_prog_ax_pthread_config
18694
if test -n "$ax_pthread_config"; then
18695
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
18696
$as_echo "$ax_pthread_config" >&6; }
18698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18699
$as_echo "no" >&6; }
18703
if test x"$ax_pthread_config" = xno; then continue; fi
18704
PTHREAD_CFLAGS="`pthread-config --cflags`"
18705
PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
18709
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
18710
$as_echo_n "checking for the pthreads library -l$flag... " >&6; }
18711
PTHREAD_LIBS="-l$flag"
18716
save_CFLAGS="$CFLAGS"
18717
LIBS="$PTHREAD_LIBS $LIBS"
18718
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18720
# Check for various functions. We must include pthread.h,
18721
# since some functions may be macros. (On the Sequent, we
18722
# need a special flag -Kthread to make this header compile.)
18723
# We check for pthread_join because it is in -lpthread on IRIX
18724
# while pthread_create is in libc. We check for pthread_attr_init
18725
# due to DEC craziness with -lpthreads. We check for
18726
# pthread_cleanup_push because it is one of the few pthread
18727
# functions on Solaris that doesn't have a non-functional libc stub.
18728
# We try pthread_create on general principles.
18729
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18730
/* end confdefs.h. */
18731
#include <pthread.h>
18732
static void routine(void *a) { a = 0; }
18733
static void *start_routine(void *a) { return a; }
18737
pthread_t th; pthread_attr_t attr;
18738
pthread_create(&th, 0, start_routine, 0);
18739
pthread_join(th, 0);
18740
pthread_attr_init(&attr);
18741
pthread_cleanup_push(routine, 0);
18742
pthread_cleanup_pop(0) /* ; */
18747
if ac_fn_c_try_link "$LINENO"; then :
18750
rm -f core conftest.err conftest.$ac_objext \
18751
conftest$ac_exeext conftest.$ac_ext
18754
CFLAGS="$save_CFLAGS"
18756
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
18757
$as_echo "$ax_pthread_ok" >&6; }
18758
if test "x$ax_pthread_ok" = xyes; then
18767
# Various other checks:
18768
if test "x$ax_pthread_ok" = xyes; then
18770
LIBS="$PTHREAD_LIBS $LIBS"
18771
save_CFLAGS="$CFLAGS"
18772
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
18774
# Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
18775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
18776
$as_echo_n "checking for joinable pthread attribute... " >&6; }
18778
for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
18779
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18780
/* end confdefs.h. */
18781
#include <pthread.h>
18785
int attr = $attr; return attr /* ; */
18790
if ac_fn_c_try_link "$LINENO"; then :
18791
attr_name=$attr; break
18793
rm -f core conftest.err conftest.$ac_objext \
18794
conftest$ac_exeext conftest.$ac_ext
18796
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
18797
$as_echo "$attr_name" >&6; }
18798
if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
18800
cat >>confdefs.h <<_ACEOF
18801
#define PTHREAD_CREATE_JOINABLE $attr_name
18806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
18807
$as_echo_n "checking if more special flags are required for pthreads... " >&6; }
18809
case "${host_cpu}-${host_os}" in
18810
*-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
18811
*-osf* | *-hpux*) flag="-D_REENTRANT";;
18813
if test "$GCC" = "yes"; then
18814
flag="-D_REENTRANT"
18816
flag="-mt -D_REENTRANT"
18820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
18821
$as_echo "${flag}" >&6; }
18822
if test "x$flag" != xno; then
18823
PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
18826
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
18827
$as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
18828
if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then :
18829
$as_echo_n "(cached) " >&6
18832
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18833
/* end confdefs.h. */
18835
#include <pthread.h>
18839
int i = PTHREAD_PRIO_INHERIT;
18844
if ac_fn_c_try_link "$LINENO"; then :
18845
ax_cv_PTHREAD_PRIO_INHERIT=yes
18847
ax_cv_PTHREAD_PRIO_INHERIT=no
18849
rm -f core conftest.err conftest.$ac_objext \
18850
conftest$ac_exeext conftest.$ac_ext
18853
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
18854
$as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
18855
if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"; then :
18857
$as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
18862
CFLAGS="$save_CFLAGS"
18864
# More AIX lossage: must compile with xlc_r or cc_r
18865
if test x"$GCC" != xyes; then
18866
for ac_prog in xlc_r cc_r
18868
# Extract the first word of "$ac_prog", so it can be a program name with args.
18869
set dummy $ac_prog; ac_word=$2
18870
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18871
$as_echo_n "checking for $ac_word... " >&6; }
18872
if ${ac_cv_prog_PTHREAD_CC+:} false; then :
18873
$as_echo_n "(cached) " >&6
18875
if test -n "$PTHREAD_CC"; then
18876
ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
18878
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18879
for as_dir in $PATH
18882
test -z "$as_dir" && as_dir=.
18883
for ac_exec_ext in '' $ac_executable_extensions; do
18884
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18885
ac_cv_prog_PTHREAD_CC="$ac_prog"
18886
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18895
PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
18896
if test -n "$PTHREAD_CC"; then
18897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
18898
$as_echo "$PTHREAD_CC" >&6; }
18900
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18901
$as_echo "no" >&6; }
18905
test -n "$PTHREAD_CC" && break
18907
test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
18920
# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
18921
if test x"$ax_pthread_ok" = xyes; then
18923
$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
18931
ac_cpp='$CXXCPP $CPPFLAGS'
18932
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18933
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18934
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18938
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lib pcre" >&5
18939
$as_echo_n "checking lib pcre... " >&6; }
18941
# Check whether --with-pcre was given.
18942
if test "${with_pcre+set}" = set; then :
18943
withval=$with_pcre;
18948
if test ".$with_pcre" = ".no" ; then
18949
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
18950
$as_echo "disabled" >&6; }
18953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: (testing)" >&5
18954
$as_echo "(testing)" >&6; }
18955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_study in -lpcre" >&5
18956
$as_echo_n "checking for pcre_study in -lpcre... " >&6; }
18957
if ${ac_cv_lib_pcre_pcre_study+:} false; then :
18958
$as_echo_n "(cached) " >&6
18960
ac_check_lib_save_LIBS=$LIBS
18961
LIBS="-lpcre $LIBS"
18962
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18963
/* end confdefs.h. */
18965
/* Override any GCC internal prototype to avoid an error.
18966
Use char because int might match the return type of a GCC
18967
builtin and then its argument prototype would still apply. */
18971
char pcre_study ();
18975
return pcre_study ();
18980
if ac_fn_cxx_try_link "$LINENO"; then :
18981
ac_cv_lib_pcre_pcre_study=yes
18983
ac_cv_lib_pcre_pcre_study=no
18985
rm -f core conftest.err conftest.$ac_objext \
18986
conftest$ac_exeext conftest.$ac_ext
18987
LIBS=$ac_check_lib_save_LIBS
18989
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_study" >&5
18990
$as_echo "$ac_cv_lib_pcre_pcre_study" >&6; }
18991
if test "x$ac_cv_lib_pcre_pcre_study" = xyes; then :
18992
cat >>confdefs.h <<_ACEOF
18993
#define HAVE_LIBPCRE 1
18996
LIBS="-lpcre $LIBS"
19000
if test "$ac_cv_lib_pcre_pcre_study" = "yes" ; then
19002
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lib pcre" >&5
19003
$as_echo_n "checking lib pcre... " >&6; }
19004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCRE_LIBS" >&5
19005
$as_echo "$PCRE_LIBS" >&6; }
19008
OLDLDFLAGS="$LDFLAGS" ; LDFLAGS="$LDFLAGS -L$with_pcre/lib"
19009
OLDCPPFLAGS="$CPPFLAGS" ; CPPFLAGS="$CPPFLAGS -I$with_pcre/include"
19010
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcre_compile in -lpcre" >&5
19011
$as_echo_n "checking for pcre_compile in -lpcre... " >&6; }
19012
if ${ac_cv_lib_pcre_pcre_compile+:} false; then :
19013
$as_echo_n "(cached) " >&6
19015
ac_check_lib_save_LIBS=$LIBS
19016
LIBS="-lpcre $LIBS"
19017
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19018
/* end confdefs.h. */
19020
/* Override any GCC internal prototype to avoid an error.
19021
Use char because int might match the return type of a GCC
19022
builtin and then its argument prototype would still apply. */
19026
char pcre_compile ();
19030
return pcre_compile ();
19035
if ac_fn_cxx_try_link "$LINENO"; then :
19036
ac_cv_lib_pcre_pcre_compile=yes
19038
ac_cv_lib_pcre_pcre_compile=no
19040
rm -f core conftest.err conftest.$ac_objext \
19041
conftest$ac_exeext conftest.$ac_ext
19042
LIBS=$ac_check_lib_save_LIBS
19044
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcre_pcre_compile" >&5
19045
$as_echo "$ac_cv_lib_pcre_pcre_compile" >&6; }
19046
if test "x$ac_cv_lib_pcre_pcre_compile" = xyes; then :
19047
cat >>confdefs.h <<_ACEOF
19048
#define HAVE_LIBPCRE 1
19051
LIBS="-lpcre $LIBS"
19055
CPPFLAGS="$OLDCPPFLAGS"
19056
LDFLAGS="$OLDLDFLAGS"
19057
if test "$ac_cv_lib_pcre_pcre_compile" = "yes" ; then
19058
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: .setting PCRE_LIBS -L$with_pcre/lib -lpcre" >&5
19059
$as_echo ".setting PCRE_LIBS -L$with_pcre/lib -lpcre" >&6; }
19060
PCRE_LIBS="-L$with_pcre/lib -lpcre"
19061
test -d "$with_pcre/include" && PCRE_CFLAGS="-I$with_pcre/include"
19062
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lib pcre" >&5
19063
$as_echo_n "checking lib pcre... " >&6; }
19064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCRE_LIBS" >&5
19065
$as_echo "$PCRE_LIBS" >&6; }
19068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking lib pcre" >&5
19069
$as_echo_n "checking lib pcre... " >&6; }
19070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, (WARNING)" >&5
19071
$as_echo "no, (WARNING)" >&6; }
19080
CPPUNIT_MIN_VERSION=1.12
19083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CPPUNIT" >&5
19084
$as_echo_n "checking for CPPUNIT... " >&6; }
19086
if test -n "$CPPUNIT_CFLAGS"; then
19087
pkg_cv_CPPUNIT_CFLAGS="$CPPUNIT_CFLAGS"
19088
elif test -n "$PKG_CONFIG"; then
19089
if test -n "$PKG_CONFIG" && \
19090
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit >= \${CPPUNIT_MIN_VERSION}\""; } >&5
19091
($PKG_CONFIG --exists --print-errors "cppunit >= ${CPPUNIT_MIN_VERSION}") 2>&5
19093
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19094
test $ac_status = 0; }; then
19095
pkg_cv_CPPUNIT_CFLAGS=`$PKG_CONFIG --cflags "cppunit >= ${CPPUNIT_MIN_VERSION}" 2>/dev/null`
19096
test "x$?" != "x0" && pkg_failed=yes
19103
if test -n "$CPPUNIT_LIBS"; then
19104
pkg_cv_CPPUNIT_LIBS="$CPPUNIT_LIBS"
19105
elif test -n "$PKG_CONFIG"; then
19106
if test -n "$PKG_CONFIG" && \
19107
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cppunit >= \${CPPUNIT_MIN_VERSION}\""; } >&5
19108
($PKG_CONFIG --exists --print-errors "cppunit >= ${CPPUNIT_MIN_VERSION}") 2>&5
19110
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19111
test $ac_status = 0; }; then
19112
pkg_cv_CPPUNIT_LIBS=`$PKG_CONFIG --libs "cppunit >= ${CPPUNIT_MIN_VERSION}" 2>/dev/null`
19113
test "x$?" != "x0" && pkg_failed=yes
19123
if test $pkg_failed = yes; then
19124
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19125
$as_echo "no" >&6; }
19127
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19128
_pkg_short_errors_supported=yes
19130
_pkg_short_errors_supported=no
19132
if test $_pkg_short_errors_supported = yes; then
19133
CPPUNIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cppunit >= ${CPPUNIT_MIN_VERSION}" 2>&1`
19135
CPPUNIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cppunit >= ${CPPUNIT_MIN_VERSION}" 2>&1`
19137
# Put the nasty error message in config.log where it belongs
19138
echo "$CPPUNIT_PKG_ERRORS" >&5
19140
if test 0 = 1 ; then
19142
BUILD_TEST_FALSE='#'
19144
BUILD_TEST_TRUE='#'
19148
elif test $pkg_failed = untried; then
19149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19150
$as_echo "no" >&6; }
19151
if test 0 = 1 ; then
19153
BUILD_TEST_FALSE='#'
19155
BUILD_TEST_TRUE='#'
19160
CPPUNIT_CFLAGS=$pkg_cv_CPPUNIT_CFLAGS
19161
CPPUNIT_LIBS=$pkg_cv_CPPUNIT_LIBS
19162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19163
$as_echo "yes" >&6; }
19164
if test 1 = 1 ; then
19166
BUILD_TEST_FALSE='#'
19168
BUILD_TEST_TRUE='#'
19175
# Check whether --with-gsm was given.
19176
if test "${with_gsm+set}" = set; then :
19184
if test "x$with_gsm" != xno; then :
19185
ac_fn_cxx_check_header_mongrel "$LINENO" "gsm/gsm.h" "ac_cv_header_gsm_gsm_h" "$ac_includes_default"
19186
if test "x$ac_cv_header_gsm_gsm_h" = xyes; then :
19189
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19190
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19191
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.
19192
See \`config.log' for more details" "$LINENO" 5; }
19196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gsm_decode in -lgsm" >&5
19197
$as_echo_n "checking for gsm_decode in -lgsm... " >&6; }
19198
if ${ac_cv_lib_gsm_gsm_decode+:} false; then :
19199
$as_echo_n "(cached) " >&6
19201
ac_check_lib_save_LIBS=$LIBS
19203
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19204
/* end confdefs.h. */
19206
/* Override any GCC internal prototype to avoid an error.
19207
Use char because int might match the return type of a GCC
19208
builtin and then its argument prototype would still apply. */
19212
char gsm_decode ();
19216
return gsm_decode ();
19221
if ac_fn_cxx_try_link "$LINENO"; then :
19222
ac_cv_lib_gsm_gsm_decode=yes
19224
ac_cv_lib_gsm_gsm_decode=no
19226
rm -f core conftest.err conftest.$ac_objext \
19227
conftest$ac_exeext conftest.$ac_ext
19228
LIBS=$ac_check_lib_save_LIBS
19230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gsm_gsm_decode" >&5
19231
$as_echo "$ac_cv_lib_gsm_gsm_decode" >&6; }
19232
if test "x$ac_cv_lib_gsm_gsm_decode" = xyes; then :
19233
cat >>confdefs.h <<_ACEOF
19234
#define HAVE_LIBGSM 1
19241
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19242
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19243
as_fn_error $? "libgsm link test failed. You may use --without-gsm to compile without gsm codec support.
19244
See \`config.log' for more details" "$LINENO" 5; }
19252
cat >>confdefs.h <<_ACEOF
19253
#define HAVE_GSM `if test "x$with_gsm" = "xyes"; then echo 1; else echo 0; fi`
19256
if test "x$with_gsm" = "xyes" ; then
19258
BUILD_GSM_FALSE='#'
19266
# Check whether --with-speex was given.
19267
if test "${with_speex+set}" = set; then :
19268
withval=$with_speex;
19274
if test "x$with_speex" != xno; then :
19275
ac_fn_cxx_check_header_mongrel "$LINENO" "speex/speex.h" "ac_cv_header_speex_speex_h" "$ac_includes_default"
19276
if test "x$ac_cv_header_speex_speex_h" = xyes; then :
19279
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19280
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19281
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.
19282
See \`config.log' for more details" "$LINENO" 5; }
19286
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for speex_decode_int in -lspeex" >&5
19287
$as_echo_n "checking for speex_decode_int in -lspeex... " >&6; }
19288
if ${ac_cv_lib_speex_speex_decode_int+:} false; then :
19289
$as_echo_n "(cached) " >&6
19291
ac_check_lib_save_LIBS=$LIBS
19292
LIBS="-lspeex $LIBS"
19293
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19294
/* end confdefs.h. */
19296
/* Override any GCC internal prototype to avoid an error.
19297
Use char because int might match the return type of a GCC
19298
builtin and then its argument prototype would still apply. */
19302
char speex_decode_int ();
19306
return speex_decode_int ();
19311
if ac_fn_cxx_try_link "$LINENO"; then :
19312
ac_cv_lib_speex_speex_decode_int=yes
19314
ac_cv_lib_speex_speex_decode_int=no
19316
rm -f core conftest.err conftest.$ac_objext \
19317
conftest$ac_exeext conftest.$ac_ext
19318
LIBS=$ac_check_lib_save_LIBS
19320
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_speex_speex_decode_int" >&5
19321
$as_echo "$ac_cv_lib_speex_speex_decode_int" >&6; }
19322
if test "x$ac_cv_lib_speex_speex_decode_int" = xyes; then :
19323
cat >>confdefs.h <<_ACEOF
19324
#define HAVE_LIBSPEEX 1
19327
LIBS="-lspeex $LIBS"
19330
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19331
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19332
as_fn_error $? "libspeex link test failed. You may use --without-speex to compile without speex codec support.
19333
See \`config.log' for more details" "$LINENO" 5; }
19340
cat >>confdefs.h <<_ACEOF
19341
#define HAVE_SPEEX `if test "x$with_speex" = "xyes"; then echo 1; else echo 0; fi`
19344
if test "x$with_speex" = "xyes" ; then
19346
BUILD_SPEEX_FALSE='#'
19348
BUILD_SPEEX_TRUE='#'
19353
ac_fn_cxx_check_header_mongrel "$LINENO" "speex/speex_preprocess.h" "ac_cv_header_speex_speex_preprocess_h" "$ac_includes_default"
19354
if test "x$ac_cv_header_speex_speex_preprocess_h" = xyes; then :
19357
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19358
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19359
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.
19360
See \`config.log' for more details" "$LINENO" 5; }
19364
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing speex_preprocess_run" >&5
19365
$as_echo_n "checking for library containing speex_preprocess_run... " >&6; }
19366
if ${ac_cv_search_speex_preprocess_run+:} false; then :
19367
$as_echo_n "(cached) " >&6
19369
ac_func_search_save_LIBS=$LIBS
19370
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19371
/* end confdefs.h. */
19373
/* Override any GCC internal prototype to avoid an error.
19374
Use char because int might match the return type of a GCC
19375
builtin and then its argument prototype would still apply. */
19379
char speex_preprocess_run ();
19383
return speex_preprocess_run ();
19388
for ac_lib in '' speexdsp; do
19389
if test -z "$ac_lib"; then
19390
ac_res="none required"
19393
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19395
if ac_fn_cxx_try_link "$LINENO"; then :
19396
ac_cv_search_speex_preprocess_run=$ac_res
19398
rm -f core conftest.err conftest.$ac_objext \
19400
if ${ac_cv_search_speex_preprocess_run+:} false; then :
19404
if ${ac_cv_search_speex_preprocess_run+:} false; then :
19407
ac_cv_search_speex_preprocess_run=no
19409
rm conftest.$ac_ext
19410
LIBS=$ac_func_search_save_LIBS
19412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_speex_preprocess_run" >&5
19413
$as_echo "$ac_cv_search_speex_preprocess_run" >&6; }
19414
ac_res=$ac_cv_search_speex_preprocess_run
19415
if test "$ac_res" != no; then :
19416
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19420
as_fn_error $? "Unable to find speexdsp development files" "$LINENO" 5
19426
# Check whether --with-iax2 was given.
19427
if test "${with_iax2+set}" = set; then :
19428
withval=$with_iax2;
19435
cat >>confdefs.h <<_ACEOF
19436
#define HAVE_IAX `if test "x$with_iax2" = "xyes"; then echo 1; else echo 0;fi`
19439
if test "x$with_iax2" = "xyes" ; then
19449
# Check whether --with-networkmanager was given.
19450
if test "${with_networkmanager+set}" = set; then :
19451
withval=$with_networkmanager;
19453
with_networkmanager=yes
19457
if test "x$with_networkmanager" = "xyes" ; then
19458
USE_NETWORKMANAGER_TRUE=
19459
USE_NETWORKMANAGER_FALSE='#'
19461
USE_NETWORKMANAGER_TRUE='#'
19462
USE_NETWORKMANAGER_FALSE=
19466
# check for doxygen, mostly stolen from http://log4cpp.sourceforge.net/
19467
# ----------------------------------------------------------------------------
19469
# Acutally perform the doxygen check
19471
# Check whether --enable-doxygen was given.
19472
if test "${enable_doxygen+set}" = set; then :
19473
enableval=$enable_doxygen;
19476
# Check whether --enable-dot was given.
19477
if test "${enable_dot+set}" = set; then :
19478
enableval=$enable_dot;
19481
if test "x$enable_doxygen" = xyes; then
19482
# Extract the first word of "doxygen", so it can be a program name with args.
19483
set dummy doxygen; ac_word=$2
19484
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19485
$as_echo_n "checking for $ac_word... " >&6; }
19486
if ${ac_cv_path_DOXYGEN+:} false; then :
19487
$as_echo_n "(cached) " >&6
19491
ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
19494
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19495
for as_dir in $PATH
19498
test -z "$as_dir" && as_dir=.
19499
for ac_exec_ext in '' $ac_executable_extensions; do
19500
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19501
ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
19502
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19512
DOXYGEN=$ac_cv_path_DOXYGEN
19513
if test -n "$DOXYGEN"; then
19514
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
19515
$as_echo "$DOXYGEN" >&6; }
19517
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19518
$as_echo "no" >&6; }
19522
test x$DOXYGEN = x && as_fn_error $? "could not find doxygen" "$LINENO" 5
19523
# Extract the first word of "dot", so it can be a program name with args.
19524
set dummy dot; ac_word=$2
19525
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19526
$as_echo_n "checking for $ac_word... " >&6; }
19527
if ${ac_cv_path_DOT+:} false; then :
19528
$as_echo_n "(cached) " >&6
19532
ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
19535
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19536
for as_dir in $PATH
19539
test -z "$as_dir" && as_dir=.
19540
for ac_exec_ext in '' $ac_executable_extensions; do
19541
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19542
ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
19543
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19553
DOT=$ac_cv_path_DOT
19554
if test -n "$DOT"; then
19555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
19556
$as_echo "$DOT" >&6; }
19558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19559
$as_echo "no" >&6; }
19563
test x$DOT = x -a "x$enable_dot" = xyes && as_fn_error $? "could not find dot" "$LINENO" 5
19565
if test x$DOXYGEN = xyes; then
19566
ENABLE_DOXYGEN_TRUE=
19567
ENABLE_DOXYGEN_FALSE='#'
19569
ENABLE_DOXYGEN_TRUE='#'
19570
ENABLE_DOXYGEN_FALSE=
19575
CXXFLAGS="${CXXFLAGS} -g -Wno-return-type -Wall -Wextra -Wnon-virtual-dtor -Weffc++ -Wfatal-errors"
19577
ac_config_files="$ac_config_files Makefile"
19579
ac_config_files="$ac_config_files libs/Makefile libs/iax2/Makefile"
19582
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"
19587
cat >confcache <<\_ACEOF
19588
# This file is a shell script that caches the results of configure
19589
# tests run on this system so they can be shared between configure
19590
# scripts and configure runs, see configure's option --config-cache.
19591
# It is not useful on other systems. If it contains results you don't
19592
# want to keep, you may remove or edit it.
19594
# config.status only pays attention to the cache file if you give it
19595
# the --recheck option to rerun configure.
19597
# `ac_cv_env_foo' variables (set or unset) will be overridden when
19598
# loading this file, other *unset* `ac_cv_foo' will be assigned the
19599
# following values.
19603
# The following way of writing the cache mishandles newlines in values,
19604
# but we know of no workaround that is simple, portable, and efficient.
19605
# So, we kill variables containing newlines.
19606
# Ultrix sh set writes to stderr and can't be redirected directly,
19607
# and sets the high bit in the cache file unless we assign to the vars.
19609
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19610
eval ac_val=\$$ac_var
19614
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19615
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19618
_ | IFS | as_nl) ;; #(
19619
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19620
*) { eval $ac_var=; unset $ac_var;} ;;
19626
case $as_nl`(ac_space=' '; set) 2>&1` in #(
19627
*${as_nl}ac_space=\ *)
19628
# `set' does not quote correctly, so add quotes: double-quote
19629
# substitution turns \\\\ into \\, and sed turns \\ into \.
19632
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19635
# `set' quotes correctly as required by POSIX, so do not add quotes.
19636
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19645
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19647
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19649
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19650
if test -w "$cache_file"; then
19651
if test "x$cache_file" != "x/dev/null"; then
19652
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19653
$as_echo "$as_me: updating cache $cache_file" >&6;}
19654
if test ! -f "$cache_file" || test -h "$cache_file"; then
19655
cat confcache >"$cache_file"
19657
case $cache_file in #(
19659
mv -f confcache "$cache_file"$$ &&
19660
mv -f "$cache_file"$$ "$cache_file" ;; #(
19662
mv -f confcache "$cache_file" ;;
19667
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19668
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19673
test "x$prefix" = xNONE && prefix=$ac_default_prefix
19674
# Let make expand exec_prefix.
19675
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19677
DEFS=-DHAVE_CONFIG_H
19682
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19683
# 1. Remove the extension, and $U if already installed.
19684
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19685
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19686
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19687
# will be set to the directory where LIBOBJS objects are built.
19688
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19689
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19691
LIBOBJS=$ac_libobjs
19693
LTLIBOBJS=$ac_ltlibobjs
19696
if test -n "$EXEEXT"; then
19698
am__EXEEXT_FALSE='#'
19700
am__EXEEXT_TRUE='#'
19704
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19705
as_fn_error $? "conditional \"AMDEP\" was never defined.
19706
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19708
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19709
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19710
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19712
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
19713
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
19714
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19716
if test -z "${BUILD_TEST_TRUE}" && test -z "${BUILD_TEST_FALSE}"; then
19717
as_fn_error $? "conditional \"BUILD_TEST\" was never defined.
19718
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19720
if test -z "${BUILD_TEST_TRUE}" && test -z "${BUILD_TEST_FALSE}"; then
19721
as_fn_error $? "conditional \"BUILD_TEST\" was never defined.
19722
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19724
if test -z "${BUILD_GSM_TRUE}" && test -z "${BUILD_GSM_FALSE}"; then
19725
as_fn_error $? "conditional \"BUILD_GSM\" was never defined.
19726
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19728
if test -z "${BUILD_SPEEX_TRUE}" && test -z "${BUILD_SPEEX_FALSE}"; then
19729
as_fn_error $? "conditional \"BUILD_SPEEX\" was never defined.
19730
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19732
if test -z "${USE_IAX_TRUE}" && test -z "${USE_IAX_FALSE}"; then
19733
as_fn_error $? "conditional \"USE_IAX\" was never defined.
19734
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19736
if test -z "${USE_NETWORKMANAGER_TRUE}" && test -z "${USE_NETWORKMANAGER_FALSE}"; then
19737
as_fn_error $? "conditional \"USE_NETWORKMANAGER\" was never defined.
19738
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19740
if test -z "${ENABLE_DOXYGEN_TRUE}" && test -z "${ENABLE_DOXYGEN_FALSE}"; then
19741
as_fn_error $? "conditional \"ENABLE_DOXYGEN\" was never defined.
19742
Usually this means the macro was only invoked conditionally." "$LINENO" 5
19745
: "${CONFIG_STATUS=./config.status}"
19747
ac_clean_files_save=$ac_clean_files
19748
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19749
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19750
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19752
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19754
# Generated by $as_me.
19755
# Run this file to recreate the current configuration.
19756
# Compiler output produced by configure, useful for debugging
19757
# configure, is in config.log if it exists.
19760
ac_cs_recheck=false
19763
SHELL=\${CONFIG_SHELL-$SHELL}
19766
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19767
## -------------------- ##
19768
## M4sh Initialization. ##
19769
## -------------------- ##
19771
# Be more Bourne compatible
19772
DUALCASE=1; export DUALCASE # for MKS sh
19773
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19776
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19777
# is contrary to our usage. Disable this feature.
19778
alias -g '${1+"$@"}'='"$@"'
19779
setopt NO_GLOB_SUBST
19781
case `(set -o) 2>/dev/null` in #(
19793
# Printing a long string crashes Solaris 7 /usr/bin/printf.
19794
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19795
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19796
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19797
# Prefer a ksh shell builtin over an external printf program on Solaris,
19798
# but without wasting forks for bash or zsh.
19799
if test -z "$BASH_VERSION$ZSH_VERSION" \
19800
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19801
as_echo='print -r --'
19802
as_echo_n='print -rn --'
19803
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19804
as_echo='printf %s\n'
19805
as_echo_n='printf %s'
19807
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19808
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19809
as_echo_n='/usr/ucb/echo -n'
19811
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19812
as_echo_n_body='eval
19816
expr "X$arg" : "X\\(.*\\)$as_nl";
19817
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19819
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19821
export as_echo_n_body
19822
as_echo_n='sh -c $as_echo_n_body as_echo'
19824
export as_echo_body
19825
as_echo='sh -c $as_echo_body as_echo'
19828
# The user is always right.
19829
if test "${PATH_SEPARATOR+set}" != set; then
19831
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19832
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19839
# We need space, tab and new line, in precisely that order. Quoting is
19840
# there to prevent editors from complaining about space-tab.
19841
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
19842
# splitting by setting IFS to empty value.)
19845
# Find who we are. Look in the path if we contain no directory separator.
19848
*[\\/]* ) as_myself=$0 ;;
19849
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19850
for as_dir in $PATH
19853
test -z "$as_dir" && as_dir=.
19854
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19860
# We did not find ourselves, most probably we were run as `sh COMMAND'
19861
# in which case we are not to be found in the path.
19862
if test "x$as_myself" = x; then
19865
if test ! -f "$as_myself"; then
19866
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19870
# Unset variables that we do not need and which cause bugs (e.g. in
19871
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19872
# suppresses any "Segmentation fault" message there. '((' could
19873
# trigger a bug in pdksh 5.2.14.
19874
for as_var in BASH_ENV ENV MAIL MAILPATH
19875
do eval test x\${$as_var+set} = xset \
19876
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19889
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19892
# as_fn_error STATUS ERROR [LINENO LOG_FD]
19893
# ----------------------------------------
19894
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19895
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19896
# script with STATUS, using 1 if that was 0.
19899
as_status=$1; test $as_status -eq 0 && as_status=1
19901
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19902
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19904
$as_echo "$as_me: error: $2" >&2
19905
as_fn_exit $as_status
19909
# as_fn_set_status STATUS
19910
# -----------------------
19911
# Set $? to STATUS, without forking.
19912
as_fn_set_status ()
19915
} # as_fn_set_status
19917
# as_fn_exit STATUS
19918
# -----------------
19919
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19923
as_fn_set_status $1
19929
# Portably unset VAR.
19932
{ eval $1=; unset $1;}
19934
as_unset=as_fn_unset
19935
# as_fn_append VAR VALUE
19936
# ----------------------
19937
# Append the text in VALUE to the end of the definition contained in VAR. Take
19938
# advantage of any shell optimizations that allow amortized linear growth over
19939
# repeated appends, instead of the typical quadratic growth present in naive
19941
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19942
eval 'as_fn_append ()
19953
# as_fn_arith ARG...
19954
# ------------------
19955
# Perform arithmetic evaluation on the ARGs, and store the result in the
19956
# global $as_val. Take advantage of shells that can avoid forks. The arguments
19957
# must be portable across $(()) and expr.
19958
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19959
eval 'as_fn_arith ()
19966
as_val=`expr "$@" || test $? -eq 1`
19971
if expr a : '\(a\)' >/dev/null 2>&1 &&
19972
test "X`expr 00001 : '.*\(...\)'`" = X001; then
19978
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19979
as_basename=basename
19984
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19990
as_me=`$as_basename -- "$0" ||
19991
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19992
X"$0" : 'X\(//\)$' \| \
19993
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19995
sed '/^.*\/\([^/][^/]*\)\/*$/{
20009
# Avoid depending upon Character Ranges.
20010
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20011
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20012
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20013
as_cr_digits='0123456789'
20014
as_cr_alnum=$as_cr_Letters$as_cr_digits
20016
ECHO_C= ECHO_N= ECHO_T=
20017
case `echo -n x` in #(((((
20019
case `echo 'xy\c'` in
20020
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
20022
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20029
rm -f conf$$ conf$$.exe conf$$.file
20030
if test -d conf$$.dir; then
20031
rm -f conf$$.dir/conf$$.file
20034
mkdir conf$$.dir 2>/dev/null
20036
if (echo >conf$$.file) 2>/dev/null; then
20037
if ln -s conf$$.file conf$$ 2>/dev/null; then
20039
# ... but there are two gotchas:
20040
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20041
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20042
# In both cases, we have to default to `cp -p'.
20043
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20045
elif ln conf$$.file conf$$ 2>/dev/null; then
20053
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20054
rmdir conf$$.dir 2>/dev/null
20059
# Create "$as_dir" as a directory, including parents if necessary.
20064
-*) as_dir=./$as_dir;;
20066
test -d "$as_dir" || eval $as_mkdir_p || {
20070
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20071
*) as_qdir=$as_dir;;
20073
as_dirs="'$as_qdir' $as_dirs"
20074
as_dir=`$as_dirname -- "$as_dir" ||
20075
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20076
X"$as_dir" : 'X\(//\)[^/]' \| \
20077
X"$as_dir" : 'X\(//\)$' \| \
20078
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20079
$as_echo X"$as_dir" |
20080
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20084
/^X\(\/\/\)[^/].*/{
20097
test -d "$as_dir" && break
20099
test -z "$as_dirs" || eval "mkdir $as_dirs"
20100
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20104
if mkdir -p . 2>/dev/null; then
20105
as_mkdir_p='mkdir -p "$as_dir"'
20107
test -d ./-p && rmdir ./-p
20111
if test -x / >/dev/null 2>&1; then
20112
as_test_x='test -x'
20114
if ls -dL / >/dev/null 2>&1; then
20121
if test -d "$1"; then
20127
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
20128
???[sx]*):;;*)false;;esac;fi
20132
as_executable_p=$as_test_x
20134
# Sed expression to map a string onto a valid CPP name.
20135
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20137
# Sed expression to map a string onto a valid variable name.
20138
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20142
## ----------------------------------- ##
20143
## Main body of $CONFIG_STATUS script. ##
20144
## ----------------------------------- ##
20146
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20148
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20149
# Save the log message, to keep $0 and so on meaningful, and to
20150
# report actual input values of CONFIG_FILES etc. instead of their
20151
# values after options handling.
20153
This file was extended by sflphone $as_me 1.1.0, which was
20154
generated by GNU Autoconf 2.68. Invocation command line was
20156
CONFIG_FILES = $CONFIG_FILES
20157
CONFIG_HEADERS = $CONFIG_HEADERS
20158
CONFIG_LINKS = $CONFIG_LINKS
20159
CONFIG_COMMANDS = $CONFIG_COMMANDS
20162
on `(hostname || uname -n) 2>/dev/null | sed 1q`
20167
case $ac_config_files in *"
20168
"*) set x $ac_config_files; shift; ac_config_files=$*;;
20171
case $ac_config_headers in *"
20172
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20176
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20177
# Files that config.status was made for.
20178
config_files="$ac_config_files"
20179
config_headers="$ac_config_headers"
20180
config_commands="$ac_config_commands"
20184
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20186
\`$as_me' instantiates files and other configuration actions
20187
from templates according to the current configuration. Unless the files
20188
and actions are specified as TAGs, all are instantiated by default.
20190
Usage: $0 [OPTION]... [TAG]...
20192
-h, --help print this help, then exit
20193
-V, --version print version number and configuration settings, then exit
20194
--config print configuration, then exit
20195
-q, --quiet, --silent
20196
do not print progress messages
20197
-d, --debug don't remove temporary files
20198
--recheck update $as_me by reconfiguring in the same conditions
20199
--file=FILE[:TEMPLATE]
20200
instantiate the configuration file FILE
20201
--header=FILE[:TEMPLATE]
20202
instantiate the configuration header FILE
20204
Configuration files:
20207
Configuration headers:
20210
Configuration commands:
20213
Report bugs to <sflphoneteam@savoirfairelinux.com>."
20216
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20217
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20219
sflphone config.status 1.1.0
20220
configured by $0, generated by GNU Autoconf 2.68,
20221
with options \\"\$ac_cs_config\\"
20223
Copyright (C) 2010 Free Software Foundation, Inc.
20224
This config.status script is free software; the Free Software Foundation
20225
gives unlimited permission to copy, distribute and modify it."
20232
test -n "\$AWK" || AWK=awk
20235
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20236
# The default lists apply if the user does not specify any file.
20242
ac_option=`expr "X$1" : 'X\([^=]*\)='`
20243
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20247
ac_option=`expr "X$1" : 'X\([^=]*\)='`
20259
# Handling of the options.
20260
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20262
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20263
$as_echo "$ac_cs_version"; exit ;;
20264
--config | --confi | --conf | --con | --co | --c )
20265
$as_echo "$ac_cs_config"; exit ;;
20266
--debug | --debu | --deb | --de | --d | -d )
20268
--file | --fil | --fi | --f )
20271
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20272
'') as_fn_error $? "missing file argument" ;;
20274
as_fn_append CONFIG_FILES " '$ac_optarg'"
20275
ac_need_defaults=false;;
20276
--header | --heade | --head | --hea )
20279
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20281
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20282
ac_need_defaults=false;;
20284
# Conflict between --help and --header
20285
as_fn_error $? "ambiguous option: \`$1'
20286
Try \`$0 --help' for more information.";;
20287
--help | --hel | -h )
20288
$as_echo "$ac_cs_usage"; exit ;;
20289
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
20290
| -silent | --silent | --silen | --sile | --sil | --si | --s)
20293
# This is an error.
20294
-*) as_fn_error $? "unrecognized option: \`$1'
20295
Try \`$0 --help' for more information." ;;
20297
*) as_fn_append ac_config_targets " $1"
20298
ac_need_defaults=false ;;
20304
ac_configure_extra_args=
20306
if $ac_cs_silent; then
20308
ac_configure_extra_args="$ac_configure_extra_args --silent"
20312
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20313
if \$ac_cs_recheck; then
20314
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20316
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20317
CONFIG_SHELL='$SHELL'
20318
export CONFIG_SHELL
20323
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20327
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20328
## Running $as_me. ##
20334
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20338
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20341
# The HP-UX ksh and POSIX shell print the target directory to stdout
20342
# if CDPATH is set.
20343
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20345
sed_quote_subst='$sed_quote_subst'
20346
double_quote_subst='$double_quote_subst'
20347
delay_variable_subst='$delay_variable_subst'
20348
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20349
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20350
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20351
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20352
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20353
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20354
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20355
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20356
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20357
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20358
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20359
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20360
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20361
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20362
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20363
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20364
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20365
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20366
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20367
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20368
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20369
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20370
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20371
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20372
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20373
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20374
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20375
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20376
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20377
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20378
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20379
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20380
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20381
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20382
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20383
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20384
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20385
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20386
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20387
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20388
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20389
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20390
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20391
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20392
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20393
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20394
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20395
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20396
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20397
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20398
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20399
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20400
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20401
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20402
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20403
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20404
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"`'
20405
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20406
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20407
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20408
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20409
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20410
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20411
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20412
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20413
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20414
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20415
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20416
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20417
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20418
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20419
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20420
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20421
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20422
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20423
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20424
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20425
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20426
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20427
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20428
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20429
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20430
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20431
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20432
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20433
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20434
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20435
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20436
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20437
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20438
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20439
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20440
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20441
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20442
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20443
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20444
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20445
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20446
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20447
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20448
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20449
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20450
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20451
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20452
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20453
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20454
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20455
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20456
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20457
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20458
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20459
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20460
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20461
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20462
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20463
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20464
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20465
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20466
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20467
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20468
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20469
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20470
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20471
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
20472
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20473
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20474
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20475
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20476
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20477
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20478
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
20479
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
20480
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
20481
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
20482
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
20483
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
20484
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
20485
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
20486
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20487
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20488
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
20489
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
20490
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
20491
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
20492
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
20493
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
20494
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
20495
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
20496
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
20497
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20498
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20499
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
20500
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20501
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20502
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20503
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20504
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20505
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20506
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
20507
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20508
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
20509
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
20510
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
20511
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
20512
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
20513
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
20514
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
20515
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
20516
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
20517
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
20518
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
20519
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20520
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20521
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
20522
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20523
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
20524
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
20525
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
20526
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
20527
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20528
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
20529
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
20530
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
20531
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
20534
LTCFLAGS='$LTCFLAGS'
20535
compiler='$compiler_DEFAULT'
20537
# A function that is used when there is no print builtin or printf.
20538
func_fallback_echo ()
20540
eval 'cat <<_LTECHO_EOF
20545
# Quote evaled strings.
20560
deplibs_check_method \
20565
sharedlib_from_linklib_cmd \
20568
archiver_list_spec \
20574
lt_cv_sys_global_symbol_pipe \
20575
lt_cv_sys_global_symbol_to_cdecl \
20576
lt_cv_sys_global_symbol_to_c_name_address \
20577
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20578
nm_file_list_spec \
20579
lt_prog_compiler_no_builtin_flag \
20580
lt_prog_compiler_pic \
20581
lt_prog_compiler_wl \
20582
lt_prog_compiler_static \
20583
lt_cv_prog_compiler_c_o \
20592
export_dynamic_flag_spec \
20593
whole_archive_flag_spec \
20594
compiler_needs_object \
20596
allow_undefined_flag \
20597
no_undefined_flag \
20598
hardcode_libdir_flag_spec \
20599
hardcode_libdir_separator \
20603
variables_saved_for_relink \
20605
library_names_spec \
20607
install_override_mode \
20611
compiler_lib_search_dirs \
20616
compiler_lib_search_path \
20620
lt_prog_compiler_no_builtin_flag_CXX \
20621
lt_prog_compiler_pic_CXX \
20622
lt_prog_compiler_wl_CXX \
20623
lt_prog_compiler_static_CXX \
20624
lt_cv_prog_compiler_c_o_CXX \
20625
export_dynamic_flag_spec_CXX \
20626
whole_archive_flag_spec_CXX \
20627
compiler_needs_object_CXX \
20629
allow_undefined_flag_CXX \
20630
no_undefined_flag_CXX \
20631
hardcode_libdir_flag_spec_CXX \
20632
hardcode_libdir_separator_CXX \
20633
exclude_expsyms_CXX \
20634
include_expsyms_CXX \
20635
file_list_spec_CXX \
20636
compiler_lib_search_dirs_CXX \
20637
predep_objects_CXX \
20638
postdep_objects_CXX \
20641
compiler_lib_search_path_CXX; do
20642
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20643
*[\\\\\\\`\\"\\\$]*)
20644
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20647
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20652
# Double-quote double-evaled strings.
20653
for var in reload_cmds \
20654
old_postinstall_cmds \
20655
old_postuninstall_cmds \
20657
extract_expsyms_cmds \
20658
old_archive_from_new_cmds \
20659
old_archive_from_expsyms_cmds \
20661
archive_expsym_cmds \
20663
module_expsym_cmds \
20664
export_symbols_cmds \
20668
postuninstall_cmds \
20670
sys_lib_search_path_spec \
20671
sys_lib_dlsearch_path_spec \
20673
old_archive_cmds_CXX \
20674
old_archive_from_new_cmds_CXX \
20675
old_archive_from_expsyms_cmds_CXX \
20677
archive_expsym_cmds_CXX \
20679
module_expsym_cmds_CXX \
20680
export_symbols_cmds_CXX \
20682
postlink_cmds_CXX; do
20683
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20684
*[\\\\\\\`\\"\\\$]*)
20685
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20688
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20693
ac_aux_dir='$ac_aux_dir'
20694
xsi_shell='$xsi_shell'
20695
lt_shell_append='$lt_shell_append'
20697
# See if we are running on zsh, and set the options which allow our
20698
# commands through without removal of \ escapes INIT.
20699
if test -n "\${ZSH_VERSION+set}" ; then
20700
setopt NO_GLOB_SUBST
20706
TIMESTAMP='$TIMESTAMP'
20717
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20719
# Handling of arguments.
20720
for ac_config_target in $ac_config_targets
20722
case $ac_config_target in
20723
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20724
"test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
20725
"ringtones/Makefile") CONFIG_FILES="$CONFIG_FILES ringtones/Makefile" ;;
20726
"man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
20727
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
20728
"doc/dbus-api/Makefile") CONFIG_FILES="$CONFIG_FILES doc/dbus-api/Makefile" ;;
20729
"doc/doxygen/Makefile") CONFIG_FILES="$CONFIG_FILES doc/doxygen/Makefile" ;;
20730
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20731
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20732
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20733
"libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
20734
"libs/iax2/Makefile") CONFIG_FILES="$CONFIG_FILES libs/iax2/Makefile" ;;
20735
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
20736
"src/sip/Makefile") CONFIG_FILES="$CONFIG_FILES src/sip/Makefile" ;;
20737
"src/im/Makefile") CONFIG_FILES="$CONFIG_FILES src/im/Makefile" ;;
20738
"src/iax/Makefile") CONFIG_FILES="$CONFIG_FILES src/iax/Makefile" ;;
20739
"src/audio/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/Makefile" ;;
20740
"src/audio/audiortp/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/audiortp/Makefile" ;;
20741
"src/audio/pulseaudio/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/pulseaudio/Makefile" ;;
20742
"src/audio/alsa/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/alsa/Makefile" ;;
20743
"src/audio/sound/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/sound/Makefile" ;;
20744
"src/audio/codecs/Makefile") CONFIG_FILES="$CONFIG_FILES src/audio/codecs/Makefile" ;;
20745
"src/config/Makefile") CONFIG_FILES="$CONFIG_FILES src/config/Makefile" ;;
20746
"src/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/dbus/Makefile" ;;
20747
"src/hooks/Makefile") CONFIG_FILES="$CONFIG_FILES src/hooks/Makefile" ;;
20748
"src/history/Makefile") CONFIG_FILES="$CONFIG_FILES src/history/Makefile" ;;
20750
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20755
# If the user did not use the arguments to specify the items to instantiate,
20756
# then the envvar interface is used. Set only those that are not.
20757
# We use the long form for the default assignment because of an extremely
20758
# bizarre bug on SunOS 4.1.3.
20759
if $ac_need_defaults; then
20760
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20761
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20762
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20765
# Have a temporary directory for convenience. Make it in the build tree
20766
# simply because there is no reason against having it here, and in addition,
20767
# creating and moving files from /tmp can sometimes cause problems.
20768
# Hook for its removal unless debugging.
20769
# Note that there is a small window in which the directory will not be cleaned:
20770
# after its creation but before its name has been assigned to `$tmp'.
20774
trap 'exit_status=$?
20775
: "${ac_tmp:=$tmp}"
20776
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20778
trap 'as_fn_exit 1' 1 2 13 15
20780
# Create a (secure) tmp directory for tmp files.
20783
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20787
tmp=./conf$$-$RANDOM
20788
(umask 077 && mkdir "$tmp")
20789
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20792
# Set up the scripts for CONFIG_FILES section.
20793
# No need to generate them if there are no CONFIG_FILES.
20794
# This happens for instance with `./config.status config.h'.
20795
if test -n "$CONFIG_FILES"; then
20798
ac_cr=`echo X | tr X '\015'`
20799
# On cygwin, bash can eat \r inside `` if the user requested igncr.
20800
# But we know of no other shell where ac_cr would be empty at this
20801
# point, so we can use a bashism as a fallback.
20802
if test "x$ac_cr" = x; then
20803
eval ac_cr=\$\'\\r\'
20805
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20806
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20809
ac_cs_awk_cr=$ac_cr
20812
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20817
echo "cat >conf$$subs.awk <<_ACEOF" &&
20818
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20820
} >conf$$subs.sh ||
20821
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20822
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20824
for ac_last_try in false false false false false :; do
20825
. ./conf$$subs.sh ||
20826
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20828
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20829
if test $ac_delim_n = $ac_delim_num; then
20831
elif $ac_last_try; then
20832
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20834
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20837
rm -f conf$$subs.sh
20839
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20840
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20844
s/^/S["/; s/!.*/"]=/
20854
s/\(.\{148\}\)..*/\1/
20856
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20861
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20868
s/\(.\{148\}\)..*/\1/
20870
s/["\\]/\\&/g; s/^/"/; s/$/"/
20874
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20879
' <conf$$subs.awk | sed '
20884
' >>$CONFIG_STATUS || ac_write_fail=1
20885
rm -f conf$$subs.awk
20886
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20888
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20889
for (key in S) S_is_set[key] = 1
20895
nfields = split(line, field, "@")
20897
len = length(field[1])
20898
for (i = 2; i < nfields; i++) {
20900
keylen = length(key)
20901
if (S_is_set[key]) {
20903
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20904
len += length(value) + length(field[++i])
20915
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20916
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20917
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20920
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20921
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20924
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20925
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20926
# trailing colons and then remove the whole line if VPATH becomes empty
20927
# (actually we leave an empty line to preserve line numbers).
20928
if test "x$srcdir" = x.; then
20929
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20947
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20948
fi # test -n "$CONFIG_FILES"
20950
# Set up the scripts for CONFIG_HEADERS section.
20951
# No need to generate them if there are no CONFIG_HEADERS.
20952
# This happens for instance with `./config.status Makefile'.
20953
if test -n "$CONFIG_HEADERS"; then
20954
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20958
# Transform confdefs.h into an awk script `defines.awk', embedded as
20959
# here-document in config.status, that substitutes the proper values into
20960
# config.h.in to produce config.h.
20962
# Create a delimiter string that does not exist in confdefs.h, to ease
20963
# handling of long lines.
20965
for ac_last_try in false false :; do
20966
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20967
if test -z "$ac_tt"; then
20969
elif $ac_last_try; then
20970
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20972
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20976
# For the awk script, D is an array of macro values keyed by name,
20977
# likewise P contains macro parameters if any. Preserve backslash
20978
# newline sequences.
20980
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20982
s/.\{148\}/&'"$ac_delim"'/g
20985
s/^[ ]*#[ ]*define[ ][ ]*/ /
20992
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20994
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20998
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20999
D["\1"]=" \3\\\\\\n"\\/p
21001
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21006
s/.\{148\}/&'"$ac_delim"'/g
21011
s/["\\]/\\&/g; s/^/"/; s/$/"/p
21014
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21016
' <confdefs.h | sed '
21017
s/'"$ac_delim"'/"\\\
21018
"/g' >>$CONFIG_STATUS || ac_write_fail=1
21020
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21021
for (key in D) D_is_set[key] = 1
21024
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21026
split(line, arg, " ")
21027
if (arg[1] == "#") {
21031
defundef = substr(arg[1], 2)
21034
split(mac1, mac2, "(") #)
21036
prefix = substr(line, 1, index(line, defundef) - 1)
21037
if (D_is_set[macro]) {
21038
# Preserve the white space surrounding the "#".
21039
print prefix "define", macro P[macro] D[macro]
21042
# Replace #undef with comments. This is necessary, for example,
21043
# in the case of _POSIX_SOURCE, which is predefined and required
21044
# on some systems where configure will not decide to define it.
21045
if (defundef == "undef") {
21046
print "/*", prefix defundef, macro, "*/"
21054
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21055
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21056
fi # test -n "$CONFIG_HEADERS"
21059
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21064
:[FHLC]) ac_mode=$ac_tag; continue;;
21066
case $ac_mode$ac_tag in
21068
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21069
:[FH]-) ac_tag=-:-;;
21070
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21087
-) ac_f="$ac_tmp/stdin";;
21088
*) # Look for the file first in the build tree, then in the source tree
21089
# (if the path is not absolute). The absolute path cannot be DOS-style,
21090
# because $ac_f cannot contain `:'.
21094
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21096
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21098
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21099
as_fn_append ac_file_inputs " '$ac_f'"
21102
# Let's still pretend it is `configure' which instantiates (i.e., don't
21103
# use $as_me), people would be surprised to read:
21104
# /* config.h. Generated by config.status. */
21105
configure_input='Generated from '`
21106
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21108
if test x"$ac_file" != x-; then
21109
configure_input="$ac_file. $configure_input"
21110
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21111
$as_echo "$as_me: creating $ac_file" >&6;}
21113
# Neutralize special characters interpreted by sed in replacement strings.
21114
case $configure_input in #(
21115
*\&* | *\|* | *\\* )
21116
ac_sed_conf_input=`$as_echo "$configure_input" |
21117
sed 's/[\\\\&|]/\\\\&/g'`;; #(
21118
*) ac_sed_conf_input=$configure_input;;
21122
*:-:* | *:-) cat >"$ac_tmp/stdin" \
21123
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21128
ac_dir=`$as_dirname -- "$ac_file" ||
21129
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21130
X"$ac_file" : 'X\(//\)[^/]' \| \
21131
X"$ac_file" : 'X\(//\)$' \| \
21132
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21133
$as_echo X"$ac_file" |
21134
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21138
/^X\(\/\/\)[^/].*/{
21151
as_dir="$ac_dir"; as_fn_mkdir_p
21155
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21157
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21158
# A ".." for each directory in $ac_dir_suffix.
21159
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21160
case $ac_top_builddir_sub in
21161
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21162
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21165
ac_abs_top_builddir=$ac_pwd
21166
ac_abs_builddir=$ac_pwd$ac_dir_suffix
21167
# for backward compatibility:
21168
ac_top_builddir=$ac_top_build_prefix
21171
.) # We are building in place.
21173
ac_top_srcdir=$ac_top_builddir_sub
21174
ac_abs_top_srcdir=$ac_pwd ;;
21175
[\\/]* | ?:[\\/]* ) # Absolute name.
21176
ac_srcdir=$srcdir$ac_dir_suffix;
21177
ac_top_srcdir=$srcdir
21178
ac_abs_top_srcdir=$srcdir ;;
21179
*) # Relative name.
21180
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21181
ac_top_srcdir=$ac_top_build_prefix$srcdir
21182
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21184
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21194
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21195
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21197
ac_MKDIR_P=$MKDIR_P
21199
[\\/$]* | ?:[\\/]* ) ;;
21200
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21204
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21205
# If the template does not know about datarootdir, expand it.
21206
# FIXME: This hack should be removed a few years after 2.60.
21207
ac_datarootdir_hack=; ac_datarootdir_seen=
21218
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21219
*datarootdir*) ac_datarootdir_seen=yes;;
21220
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21221
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21222
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21224
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21225
ac_datarootdir_hack='
21226
s&@datadir@&$datadir&g
21227
s&@docdir@&$docdir&g
21228
s&@infodir@&$infodir&g
21229
s&@localedir@&$localedir&g
21230
s&@mandir@&$mandir&g
21231
s&\\\${datarootdir}&$datarootdir&g' ;;
21235
# Neutralize VPATH when `$srcdir' = `.'.
21236
# Shell code in configure.ac might set extrasub.
21237
# FIXME: do we really want to maintain this feature?
21238
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21239
ac_sed_extra="$ac_vpsub
21242
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21244
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21245
s|@configure_input@|$ac_sed_conf_input|;t t
21246
s&@top_builddir@&$ac_top_builddir_sub&;t t
21247
s&@top_build_prefix@&$ac_top_build_prefix&;t t
21248
s&@srcdir@&$ac_srcdir&;t t
21249
s&@abs_srcdir@&$ac_abs_srcdir&;t t
21250
s&@top_srcdir@&$ac_top_srcdir&;t t
21251
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21252
s&@builddir@&$ac_builddir&;t t
21253
s&@abs_builddir@&$ac_abs_builddir&;t t
21254
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21255
s&@INSTALL@&$ac_INSTALL&;t t
21256
s&@MKDIR_P@&$ac_MKDIR_P&;t t
21257
$ac_datarootdir_hack
21259
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21260
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21262
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21263
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21264
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21265
"$ac_tmp/out"`; test -z "$ac_out"; } &&
21266
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21267
which seems to be undefined. Please make sure it is defined" >&5
21268
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21269
which seems to be undefined. Please make sure it is defined" >&2;}
21271
rm -f "$ac_tmp/stdin"
21273
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21274
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21276
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
21282
if test x"$ac_file" != x-; then
21284
$as_echo "/* $configure_input */" \
21285
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21286
} >"$ac_tmp/config.h" \
21287
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
21288
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21289
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21290
$as_echo "$as_me: $ac_file is unchanged" >&6;}
21293
mv "$ac_tmp/config.h" "$ac_file" \
21294
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
21297
$as_echo "/* $configure_input */" \
21298
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21299
|| as_fn_error $? "could not create -" "$LINENO" 5
21301
# Compute "$ac_file"'s index in $config_headers.
21304
for _am_header in $config_headers :; do
21305
case $_am_header in
21306
$_am_arg | $_am_arg:* )
21309
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
21312
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21313
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21314
X"$_am_arg" : 'X\(//\)[^/]' \| \
21315
X"$_am_arg" : 'X\(//\)$' \| \
21316
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21317
$as_echo X"$_am_arg" |
21318
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21322
/^X\(\/\/\)[^/].*/{
21334
s/.*/./; q'`/stamp-h$_am_stamp_count
21337
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21338
$as_echo "$as_me: executing $ac_file commands" >&6;}
21343
case $ac_file$ac_mode in
21344
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21345
# Autoconf 2.62 quotes --file arguments for eval, but not when files
21346
# are listed without --file. Let's play safe and only enable the eval
21347
# if we detect the quoting.
21348
case $CONFIG_FILES in
21349
*\'*) eval set x "$CONFIG_FILES" ;;
21350
*) set x $CONFIG_FILES ;;
21355
# Strip MF so we end up with the name of the file.
21356
mf=`echo "$mf" | sed -e 's/:.*$//'`
21357
# Check whether this is an Automake generated Makefile or not.
21358
# We used to match only the files named `Makefile.in', but
21359
# some people rename them; so instead we look at the file content.
21360
# Grep'ing the first line is not enough: some people post-process
21361
# each Makefile.in and add a new line on top of each file to say so.
21362
# Grep'ing the whole file is not good either: AIX grep has a line
21363
# limit of 2048, but all sed's we know have understand at least 4000.
21364
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21365
dirpart=`$as_dirname -- "$mf" ||
21366
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21367
X"$mf" : 'X\(//\)[^/]' \| \
21368
X"$mf" : 'X\(//\)$' \| \
21369
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21371
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21375
/^X\(\/\/\)[^/].*/{
21391
# Extract the definition of DEPDIR, am__include, and am__quote
21392
# from the Makefile without running `make'.
21393
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21394
test -z "$DEPDIR" && continue
21395
am__include=`sed -n 's/^am__include = //p' < "$mf"`
21396
test -z "am__include" && continue
21397
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21398
# When using ansi2knr, U may be empty or an underscore; expand it
21399
U=`sed -n 's/^U = //p' < "$mf"`
21400
# Find all dependency output files, they are included files with
21401
# $(DEPDIR) in their names. We invoke sed twice because it is the
21402
# simplest approach to changing $(DEPDIR) to its actual value in the
21404
for file in `sed -n "
21405
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21406
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21407
# Make sure the directory exists.
21408
test -f "$dirpart/$file" && continue
21409
fdir=`$as_dirname -- "$file" ||
21410
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21411
X"$file" : 'X\(//\)[^/]' \| \
21412
X"$file" : 'X\(//\)$' \| \
21413
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21414
$as_echo X"$file" |
21415
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21419
/^X\(\/\/\)[^/].*/{
21432
as_dir=$dirpart/$fdir; as_fn_mkdir_p
21433
# echo "creating $dirpart/$file"
21434
echo '# dummy' > "$dirpart/$file"
21441
# See if we are running on zsh, and set the options which allow our
21442
# commands through without removal of \ escapes.
21443
if test -n "${ZSH_VERSION+set}" ; then
21444
setopt NO_GLOB_SUBST
21447
cfgfile="${ofile}T"
21448
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21451
cat <<_LT_EOF >> "$cfgfile"
21454
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21455
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21456
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21457
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
21459
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21460
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
21462
# Written by Gordon Matzigkeit, 1996
21464
# This file is part of GNU Libtool.
21466
# GNU Libtool is free software; you can redistribute it and/or
21467
# modify it under the terms of the GNU General Public License as
21468
# published by the Free Software Foundation; either version 2 of
21469
# the License, or (at your option) any later version.
21471
# As a special exception to the GNU General Public License,
21472
# if you distribute this file as part of a program or library that
21473
# is built using GNU Libtool, you may include this file under the
21474
# same distribution terms that you use for the rest of that program.
21476
# GNU Libtool is distributed in the hope that it will be useful,
21477
# but WITHOUT ANY WARRANTY; without even the implied warranty of
21478
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21479
# GNU General Public License for more details.
21481
# You should have received a copy of the GNU General Public License
21482
# along with GNU Libtool; see the file COPYING. If not, a copy
21483
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21484
# obtained by writing to the Free Software Foundation, Inc.,
21485
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21488
# The names of the tagged configurations supported by this script.
21489
available_tags="CXX "
21491
# ### BEGIN LIBTOOL CONFIG
21493
# Which release of libtool.m4 was used?
21494
macro_version=$macro_version
21495
macro_revision=$macro_revision
21497
# Whether or not to build shared libraries.
21498
build_libtool_libs=$enable_shared
21500
# Whether or not to build static libraries.
21501
build_old_libs=$enable_static
21503
# What type of objects to build.
21506
# Whether or not to optimize for fast installation.
21507
fast_install=$enable_fast_install
21509
# Shell to use when invoking shell scripts.
21512
# An echo program that protects backslashes.
21515
# The PATH separator for the build system.
21516
PATH_SEPARATOR=$lt_PATH_SEPARATOR
21519
host_alias=$host_alias
21523
# The build system.
21524
build_alias=$build_alias
21528
# A sed program that does not truncate output.
21531
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
21532
Xsed="\$SED -e 1s/^X//"
21534
# A grep program that handles long lines.
21540
# A literal string matcher.
21543
# A BSD- or MS-compatible name lister.
21546
# Whether we need soft or hard links.
21549
# What is the maximum length of a command?
21550
max_cmd_len=$max_cmd_len
21552
# Object file suffix (normally "o").
21555
# Executable file suffix (normally "").
21558
# whether the shell understands "unset".
21561
# turn spaces into newlines.
21564
# turn newlines into spaces.
21567
# convert \$build file names to \$host format.
21568
to_host_file_cmd=$lt_cv_to_host_file_cmd
21570
# convert \$build files to toolchain format.
21571
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21573
# An object symbol dumper.
21574
OBJDUMP=$lt_OBJDUMP
21576
# Method to check whether dependent libraries are shared objects.
21577
deplibs_check_method=$lt_deplibs_check_method
21579
# Command to use when deplibs_check_method = "file_magic".
21580
file_magic_cmd=$lt_file_magic_cmd
21582
# How to find potential files when deplibs_check_method = "file_magic".
21583
file_magic_glob=$lt_file_magic_glob
21585
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21586
want_nocaseglob=$lt_want_nocaseglob
21588
# DLL creation program.
21589
DLLTOOL=$lt_DLLTOOL
21591
# Command to associate shared and link libraries.
21592
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21597
# Flags to create an archive.
21598
AR_FLAGS=$lt_AR_FLAGS
21600
# How to feed a file listing to the archiver.
21601
archiver_list_spec=$lt_archiver_list_spec
21603
# A symbol stripping program.
21606
# Commands used to install an old-style archive.
21608
old_postinstall_cmds=$lt_old_postinstall_cmds
21609
old_postuninstall_cmds=$lt_old_postuninstall_cmds
21611
# Whether to use a lock for old archive extraction.
21612
lock_old_archive_extraction=$lock_old_archive_extraction
21617
# LTCC compiler flags.
21618
LTCFLAGS=$lt_CFLAGS
21620
# Take the output of nm and produce a listing of raw symbols and C names.
21621
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21623
# Transform the output of nm in a proper C declaration.
21624
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21626
# Transform the output of nm in a C name address pair.
21627
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21629
# Transform the output of nm in a C name address pair when lib prefix is needed.
21630
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21632
# Specify filename containing input files for \$NM.
21633
nm_file_list_spec=$lt_nm_file_list_spec
21635
# The root where to search for dependent libraries,and in which our libraries should be installed.
21636
lt_sysroot=$lt_sysroot
21638
# The name of the directory that contains temporary libtool files.
21641
# Used to examine libraries when file_magic_cmd begins with "file".
21642
MAGIC_CMD=$MAGIC_CMD
21644
# Must we lock files when doing compilation?
21645
need_locks=$lt_need_locks
21648
MANIFEST_TOOL=$lt_MANIFEST_TOOL
21650
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21651
DSYMUTIL=$lt_DSYMUTIL
21653
# Tool to change global to local symbols on Mac OS X.
21656
# Tool to manipulate fat objects and archives on Mac OS X.
21659
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
21662
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21663
OTOOL64=$lt_OTOOL64
21665
# Old archive suffix (normally "a").
21668
# Shared library suffix (normally ".so").
21669
shrext_cmds=$lt_shrext_cmds
21671
# The commands to extract the exported symbol list from a shared archive.
21672
extract_expsyms_cmds=$lt_extract_expsyms_cmds
21674
# Variables whose values should be saved in libtool wrapper scripts and
21675
# restored at link time.
21676
variables_saved_for_relink=$lt_variables_saved_for_relink
21678
# Do we need the "lib" prefix for modules?
21679
need_lib_prefix=$need_lib_prefix
21681
# Do we need a version for libraries?
21682
need_version=$need_version
21684
# Library versioning type.
21685
version_type=$version_type
21687
# Shared library runtime path variable.
21688
runpath_var=$runpath_var
21690
# Shared library path variable.
21691
shlibpath_var=$shlibpath_var
21693
# Is shlibpath searched before the hard-coded library search path?
21694
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21696
# Format of library name prefix.
21697
libname_spec=$lt_libname_spec
21699
# List of archive names. First name is the real one, the rest are links.
21700
# The last name is the one that the linker finds with -lNAME
21701
library_names_spec=$lt_library_names_spec
21703
# The coded name of the library, if different from the real name.
21704
soname_spec=$lt_soname_spec
21706
# Permission mode override for installation of shared libraries.
21707
install_override_mode=$lt_install_override_mode
21709
# Command to use after installation of a shared archive.
21710
postinstall_cmds=$lt_postinstall_cmds
21712
# Command to use after uninstallation of a shared archive.
21713
postuninstall_cmds=$lt_postuninstall_cmds
21715
# Commands used to finish a libtool library installation in a directory.
21716
finish_cmds=$lt_finish_cmds
21718
# As "finish_cmds", except a single script fragment to be evaled but
21720
finish_eval=$lt_finish_eval
21722
# Whether we should hardcode library paths into libraries.
21723
hardcode_into_libs=$hardcode_into_libs
21725
# Compile-time system search path for libraries.
21726
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21728
# Run-time system search path for libraries.
21729
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21731
# Whether dlopen is supported.
21732
dlopen_support=$enable_dlopen
21734
# Whether dlopen of programs is supported.
21735
dlopen_self=$enable_dlopen_self
21737
# Whether dlopen of statically linked programs is supported.
21738
dlopen_self_static=$enable_dlopen_self_static
21740
# Commands to strip libraries.
21741
old_striplib=$lt_old_striplib
21742
striplib=$lt_striplib
21745
# The linker used to build libraries.
21748
# How to create reloadable object files.
21749
reload_flag=$lt_reload_flag
21750
reload_cmds=$lt_reload_cmds
21752
# Commands used to build an old-style archive.
21753
old_archive_cmds=$lt_old_archive_cmds
21755
# A language specific compiler.
21758
# Is the compiler the GNU compiler?
21761
# Compiler flag to turn off builtin functions.
21762
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21764
# Additional compiler flags for building library objects.
21765
pic_flag=$lt_lt_prog_compiler_pic
21767
# How to pass a linker flag through the compiler.
21768
wl=$lt_lt_prog_compiler_wl
21770
# Compiler flag to prevent dynamic linking.
21771
link_static_flag=$lt_lt_prog_compiler_static
21773
# Does compiler simultaneously support -c and -o options?
21774
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21776
# Whether or not to add -lc for building shared libraries.
21777
build_libtool_need_lc=$archive_cmds_need_lc
21779
# Whether or not to disallow shared libs when runtime libs are static.
21780
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21782
# Compiler flag to allow reflexive dlopens.
21783
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21785
# Compiler flag to generate shared objects directly from archives.
21786
whole_archive_flag_spec=$lt_whole_archive_flag_spec
21788
# Whether the compiler copes with passing no objects directly.
21789
compiler_needs_object=$lt_compiler_needs_object
21791
# Create an old-style archive from a shared archive.
21792
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21794
# Create a temporary old-style archive to link instead of a shared archive.
21795
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21797
# Commands used to build a shared archive.
21798
archive_cmds=$lt_archive_cmds
21799
archive_expsym_cmds=$lt_archive_expsym_cmds
21801
# Commands used to build a loadable module if different from building
21802
# a shared archive.
21803
module_cmds=$lt_module_cmds
21804
module_expsym_cmds=$lt_module_expsym_cmds
21806
# Whether we are building with GNU ld or not.
21807
with_gnu_ld=$lt_with_gnu_ld
21809
# Flag that allows shared libraries with undefined symbols to be built.
21810
allow_undefined_flag=$lt_allow_undefined_flag
21812
# Flag that enforces no undefined symbols.
21813
no_undefined_flag=$lt_no_undefined_flag
21815
# Flag to hardcode \$libdir into a binary during linking.
21816
# This must work even if \$libdir does not exist
21817
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21819
# Whether we need a single "-rpath" flag with a separated argument.
21820
hardcode_libdir_separator=$lt_hardcode_libdir_separator
21822
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21823
# DIR into the resulting binary.
21824
hardcode_direct=$hardcode_direct
21826
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21827
# DIR into the resulting binary and the resulting library dependency is
21828
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21829
# library is relocated.
21830
hardcode_direct_absolute=$hardcode_direct_absolute
21832
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21833
# into the resulting binary.
21834
hardcode_minus_L=$hardcode_minus_L
21836
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21837
# into the resulting binary.
21838
hardcode_shlibpath_var=$hardcode_shlibpath_var
21840
# Set to "yes" if building a shared library automatically hardcodes DIR
21841
# into the library and all subsequent libraries and executables linked
21843
hardcode_automatic=$hardcode_automatic
21845
# Set to yes if linker adds runtime paths of dependent libraries
21846
# to runtime path list.
21847
inherit_rpath=$inherit_rpath
21849
# Whether libtool must link a program against all its dependency libraries.
21850
link_all_deplibs=$link_all_deplibs
21852
# Set to "yes" if exported symbols are required.
21853
always_export_symbols=$always_export_symbols
21855
# The commands to list exported symbols.
21856
export_symbols_cmds=$lt_export_symbols_cmds
21858
# Symbols that should not be listed in the preloaded symbols.
21859
exclude_expsyms=$lt_exclude_expsyms
21861
# Symbols that must always be exported.
21862
include_expsyms=$lt_include_expsyms
21864
# Commands necessary for linking programs (against libraries) with templates.
21865
prelink_cmds=$lt_prelink_cmds
21867
# Commands necessary for finishing linking programs.
21868
postlink_cmds=$lt_postlink_cmds
21870
# Specify filename containing input files.
21871
file_list_spec=$lt_file_list_spec
21873
# How to hardcode a shared library path into an executable.
21874
hardcode_action=$hardcode_action
21876
# The directories searched by this compiler when creating a shared library.
21877
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21879
# Dependencies to place before and after the objects being linked to
21880
# create a shared library.
21881
predep_objects=$lt_predep_objects
21882
postdep_objects=$lt_postdep_objects
21883
predeps=$lt_predeps
21884
postdeps=$lt_postdeps
21886
# The library search path used internally by the compiler when linking
21887
# a shared library.
21888
compiler_lib_search_path=$lt_compiler_lib_search_path
21890
# ### END LIBTOOL CONFIG
21896
cat <<\_LT_EOF >> "$cfgfile"
21897
# AIX sometimes has problems with the GCC collect2 program. For some
21898
# reason, if we set the COLLECT_NAMES environment variable, the problems
21899
# vanish in a puff of smoke.
21900
if test "X${COLLECT_NAMES+set}" != Xset; then
21902
export COLLECT_NAMES
21909
ltmain="$ac_aux_dir/ltmain.sh"
21912
# We use sed instead of cat because bash on DJGPP gets confused if
21913
# if finds mixed CR/LF and LF-only lines. Since sed operates in
21914
# text mode, it properly converts lines to CR/LF. This bash problem
21915
# is reportedly fixed, but why not run on old versions too?
21916
sed '$q' "$ltmain" >> "$cfgfile" \
21917
|| (rm -f "$cfgfile"; exit 1)
21919
if test x"$xsi_shell" = xyes; then
21920
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21924
\ */*) func_dirname_result="${1%/*}${2}" ;;\
21925
\ * ) func_dirname_result="${3}" ;;\
21927
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21928
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21929
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21930
test 0 -eq $? || _lt_function_replace_fail=:
21933
sed -e '/^func_basename ()$/,/^} # func_basename /c\
21936
\ func_basename_result="${1##*/}"\
21937
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21938
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21939
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21940
test 0 -eq $? || _lt_function_replace_fail=:
21943
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21944
func_dirname_and_basename ()\
21947
\ */*) func_dirname_result="${1%/*}${2}" ;;\
21948
\ * ) func_dirname_result="${3}" ;;\
21950
\ func_basename_result="${1##*/}"\
21951
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21952
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21953
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21954
test 0 -eq $? || _lt_function_replace_fail=:
21957
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21960
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21961
\ # positional parameters, so assign one to ordinary parameter first.\
21962
\ func_stripname_result=${3}\
21963
\ func_stripname_result=${func_stripname_result#"${1}"}\
21964
\ func_stripname_result=${func_stripname_result%"${2}"}\
21965
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21966
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21967
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21968
test 0 -eq $? || _lt_function_replace_fail=:
21971
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21972
func_split_long_opt ()\
21974
\ func_split_long_opt_name=${1%%=*}\
21975
\ func_split_long_opt_arg=${1#*=}\
21976
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21977
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21978
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21979
test 0 -eq $? || _lt_function_replace_fail=:
21982
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21983
func_split_short_opt ()\
21985
\ func_split_short_opt_arg=${1#??}\
21986
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21987
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21988
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21989
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21990
test 0 -eq $? || _lt_function_replace_fail=:
21993
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21997
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21998
\ *) func_lo2o_result=${1} ;;\
22000
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
22001
&& mv -f "$cfgfile.tmp" "$cfgfile" \
22002
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22003
test 0 -eq $? || _lt_function_replace_fail=:
22006
sed -e '/^func_xform ()$/,/^} # func_xform /c\
22009
func_xform_result=${1%.*}.lo\
22010
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
22011
&& mv -f "$cfgfile.tmp" "$cfgfile" \
22012
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22013
test 0 -eq $? || _lt_function_replace_fail=:
22016
sed -e '/^func_arith ()$/,/^} # func_arith /c\
22019
func_arith_result=$(( $* ))\
22020
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
22021
&& mv -f "$cfgfile.tmp" "$cfgfile" \
22022
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22023
test 0 -eq $? || _lt_function_replace_fail=:
22026
sed -e '/^func_len ()$/,/^} # func_len /c\
22029
func_len_result=${#1}\
22030
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
22031
&& mv -f "$cfgfile.tmp" "$cfgfile" \
22032
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22033
test 0 -eq $? || _lt_function_replace_fail=:
22037
if test x"$lt_shell_append" = xyes; then
22038
sed -e '/^func_append ()$/,/^} # func_append /c\
22041
eval "${1}+=\\${2}"\
22042
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
22043
&& mv -f "$cfgfile.tmp" "$cfgfile" \
22044
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22045
test 0 -eq $? || _lt_function_replace_fail=:
22048
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
22049
func_append_quoted ()\
22051
\ func_quote_for_eval "${2}"\
22052
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
22053
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
22054
&& mv -f "$cfgfile.tmp" "$cfgfile" \
22055
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22056
test 0 -eq $? || _lt_function_replace_fail=:
22059
# Save a `func_append' function call where possible by direct use of '+='
22060
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
22061
&& mv -f "$cfgfile.tmp" "$cfgfile" \
22062
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22063
test 0 -eq $? || _lt_function_replace_fail=:
22065
# Save a `func_append' function call even when '+=' is not available
22066
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
22067
&& mv -f "$cfgfile.tmp" "$cfgfile" \
22068
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
22069
test 0 -eq $? || _lt_function_replace_fail=:
22072
if test x"$_lt_function_replace_fail" = x":"; then
22073
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
22074
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
22078
mv -f "$cfgfile" "$ofile" ||
22079
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22083
cat <<_LT_EOF >> "$ofile"
22085
# ### BEGIN LIBTOOL TAG CONFIG: CXX
22087
# The linker used to build libraries.
22090
# How to create reloadable object files.
22091
reload_flag=$lt_reload_flag_CXX
22092
reload_cmds=$lt_reload_cmds_CXX
22094
# Commands used to build an old-style archive.
22095
old_archive_cmds=$lt_old_archive_cmds_CXX
22097
# A language specific compiler.
22098
CC=$lt_compiler_CXX
22100
# Is the compiler the GNU compiler?
22103
# Compiler flag to turn off builtin functions.
22104
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
22106
# Additional compiler flags for building library objects.
22107
pic_flag=$lt_lt_prog_compiler_pic_CXX
22109
# How to pass a linker flag through the compiler.
22110
wl=$lt_lt_prog_compiler_wl_CXX
22112
# Compiler flag to prevent dynamic linking.
22113
link_static_flag=$lt_lt_prog_compiler_static_CXX
22115
# Does compiler simultaneously support -c and -o options?
22116
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
22118
# Whether or not to add -lc for building shared libraries.
22119
build_libtool_need_lc=$archive_cmds_need_lc_CXX
22121
# Whether or not to disallow shared libs when runtime libs are static.
22122
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
22124
# Compiler flag to allow reflexive dlopens.
22125
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
22127
# Compiler flag to generate shared objects directly from archives.
22128
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
22130
# Whether the compiler copes with passing no objects directly.
22131
compiler_needs_object=$lt_compiler_needs_object_CXX
22133
# Create an old-style archive from a shared archive.
22134
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
22136
# Create a temporary old-style archive to link instead of a shared archive.
22137
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
22139
# Commands used to build a shared archive.
22140
archive_cmds=$lt_archive_cmds_CXX
22141
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
22143
# Commands used to build a loadable module if different from building
22144
# a shared archive.
22145
module_cmds=$lt_module_cmds_CXX
22146
module_expsym_cmds=$lt_module_expsym_cmds_CXX
22148
# Whether we are building with GNU ld or not.
22149
with_gnu_ld=$lt_with_gnu_ld_CXX
22151
# Flag that allows shared libraries with undefined symbols to be built.
22152
allow_undefined_flag=$lt_allow_undefined_flag_CXX
22154
# Flag that enforces no undefined symbols.
22155
no_undefined_flag=$lt_no_undefined_flag_CXX
22157
# Flag to hardcode \$libdir into a binary during linking.
22158
# This must work even if \$libdir does not exist
22159
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
22161
# Whether we need a single "-rpath" flag with a separated argument.
22162
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
22164
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22165
# DIR into the resulting binary.
22166
hardcode_direct=$hardcode_direct_CXX
22168
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
22169
# DIR into the resulting binary and the resulting library dependency is
22170
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
22171
# library is relocated.
22172
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
22174
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22175
# into the resulting binary.
22176
hardcode_minus_L=$hardcode_minus_L_CXX
22178
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22179
# into the resulting binary.
22180
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
22182
# Set to "yes" if building a shared library automatically hardcodes DIR
22183
# into the library and all subsequent libraries and executables linked
22185
hardcode_automatic=$hardcode_automatic_CXX
22187
# Set to yes if linker adds runtime paths of dependent libraries
22188
# to runtime path list.
22189
inherit_rpath=$inherit_rpath_CXX
22191
# Whether libtool must link a program against all its dependency libraries.
22192
link_all_deplibs=$link_all_deplibs_CXX
22194
# Set to "yes" if exported symbols are required.
22195
always_export_symbols=$always_export_symbols_CXX
22197
# The commands to list exported symbols.
22198
export_symbols_cmds=$lt_export_symbols_cmds_CXX
22200
# Symbols that should not be listed in the preloaded symbols.
22201
exclude_expsyms=$lt_exclude_expsyms_CXX
22203
# Symbols that must always be exported.
22204
include_expsyms=$lt_include_expsyms_CXX
22206
# Commands necessary for linking programs (against libraries) with templates.
22207
prelink_cmds=$lt_prelink_cmds_CXX
22209
# Commands necessary for finishing linking programs.
22210
postlink_cmds=$lt_postlink_cmds_CXX
22212
# Specify filename containing input files.
22213
file_list_spec=$lt_file_list_spec_CXX
22215
# How to hardcode a shared library path into an executable.
22216
hardcode_action=$hardcode_action_CXX
22218
# The directories searched by this compiler when creating a shared library.
22219
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
22221
# Dependencies to place before and after the objects being linked to
22222
# create a shared library.
22223
predep_objects=$lt_predep_objects_CXX
22224
postdep_objects=$lt_postdep_objects_CXX
22225
predeps=$lt_predeps_CXX
22226
postdeps=$lt_postdeps_CXX
22228
# The library search path used internally by the compiler when linking
22229
# a shared library.
22230
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
22232
# ### END LIBTOOL TAG CONFIG: CXX
22243
ac_clean_files=$ac_clean_files_save
22245
test $ac_write_fail = 0 ||
22246
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22249
# configure is writing to config.log, and then calls config.status.
22250
# config.status does its own redirection, appending to config.log.
22251
# Unfortunately, on DOS this fails, as config.log is still kept open
22252
# by configure, so config.status won't be able to write to it; its
22253
# output is simply discarded. So we exec the FD to /dev/null,
22254
# effectively closing config.log, so it can be properly (re)opened and
22255
# appended to by config.status. When coming back to configure, we
22256
# need to make the FD available again.
22257
if test "$no_create" != yes; then
22259
ac_config_status_args=
22260
test "$silent" = yes &&
22261
ac_config_status_args="$ac_config_status_args --quiet"
22263
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22265
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
22266
# would make configure fail if this is the last instruction.
22267
$ac_cs_success || as_fn_exit 1
22269
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22270
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22271
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22277
subdirs="$subdirs libs/pjproject"
22279
{ $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
22280
$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;}