2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.69 for ekiga 4.0.1.
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=ekiga>.
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in #(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
94
*[\\/]* ) as_myself=$0 ;;
95
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99
test -z "$as_dir" && as_dir=.
100
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
# in which case we are not to be found in the path.
108
if test "x$as_myself" = x; then
111
if test ! -f "$as_myself"; then
112
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116
# Unset variables that we do not need and which cause bugs (e.g. in
117
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118
# suppresses any "Segmentation fault" message there. '((' could
119
# trigger a bug in pdksh 5.2.14.
120
for as_var in BASH_ENV ENV MAIL MAILPATH
121
do eval test x\${$as_var+set} = xset \
122
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
# Use a proper internal environment variable to ensure we don't fall
138
# into an infinite loop, continuously re-executing ourselves.
139
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140
_as_can_reexec=no; export _as_can_reexec;
141
# We cannot yet assume a decent shell, so we have to provide a
142
# neutralization value for shells without unset; and this also
143
# works around shells that cannot unset nonexistent variables.
144
# Preserve -v and -x to the replacement shell.
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149
*v*x* | *x*v* ) as_opts=-vx ;;
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155
# Admittedly, this is quite paranoid, since all the known shells bail
156
# out after a failed `exec'.
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160
# We don't want this to propagate to other subprocesses.
161
{ _as_can_reexec=; unset _as_can_reexec;}
162
if test "x$CONFIG_SHELL" = x; then
163
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167
# is contrary to our usage. Disable this feature.
168
alias -g '\${1+\"\$@\"}'='\"\$@\"'
171
case \`(set -o) 2>/dev/null\` in #(
179
as_required="as_fn_return () { (exit \$1); }
180
as_fn_success () { as_fn_return 0; }
181
as_fn_failure () { as_fn_return 1; }
182
as_fn_ret_success () { return 0; }
183
as_fn_ret_failure () { return 1; }
186
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193
exitcode=1; echo positional parameters were not saved.
195
test x\$exitcode = x0 || exit 1
197
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206
PATH=/empty FPATH=/empty; export PATH FPATH
207
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209
test \$(( 1 + 1 )) = 2 || exit 1"
210
if (eval "$as_required") 2>/dev/null; then :
215
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
test -z "$as_dir" && as_dir=.
227
for as_base in sh bash ksh sh5; do
228
# Try only shells that exist, to save several forks.
229
as_shell=$as_dir/$as_base
230
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232
CONFIG_SHELL=$as_shell as_have_required=yes
233
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243
CONFIG_SHELL=$SHELL as_have_required=yes
248
if test "x$CONFIG_SHELL" != x; then :
250
# We cannot yet assume a decent shell, so we have to provide a
251
# neutralization value for shells without unset; and this also
252
# works around shells that cannot unset nonexistent variables.
253
# Preserve -v and -x to the replacement shell.
256
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258
*v*x* | *x*v* ) as_opts=-vx ;;
263
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264
# Admittedly, this is quite paranoid, since all the known shells bail
265
# out after a failed `exec'.
266
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270
if test x$as_have_required = xno; then :
271
$as_echo "$0: This script requires a shell more modern than all"
272
$as_echo "$0: the shells that I found on your system."
273
if test x${ZSH_VERSION+set} = xset ; then
274
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
277
$as_echo "$0: Please tell bug-autoconf@gnu.org and
278
$0: http://bugzilla.gnome.org/enter_bug.cgi?product=ekiga
279
$0: about your system, including any error possibly output
280
$0: before this message. Then install a modern shell, or
281
$0: manually run the script under such a shell if you do
288
SHELL=${CONFIG_SHELL-/bin/sh}
290
# Unset more variables known to interfere with behavior of common tools.
291
CLICOLOR_FORCE= GREP_OPTIONS=
292
unset CLICOLOR_FORCE GREP_OPTIONS
294
## --------------------- ##
295
## M4sh Shell Functions. ##
296
## --------------------- ##
299
# Portably unset VAR.
302
{ eval $1=; unset $1;}
306
# as_fn_set_status STATUS
307
# -----------------------
308
# Set $? to STATUS, without forking.
316
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326
# Create "$as_dir" as a directory, including parents if necessary.
331
-*) as_dir=./$as_dir;;
333
test -d "$as_dir" || eval $as_mkdir_p || {
337
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340
as_dirs="'$as_qdir' $as_dirs"
341
as_dir=`$as_dirname -- "$as_dir" ||
342
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343
X"$as_dir" : 'X\(//\)[^/]' \| \
344
X"$as_dir" : 'X\(//\)$' \| \
345
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346
$as_echo X"$as_dir" |
347
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364
test -d "$as_dir" && break
366
test -z "$as_dirs" || eval "mkdir $as_dirs"
367
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372
# as_fn_executable_p FILE
373
# -----------------------
374
# Test if FILE is an executable regular file.
375
as_fn_executable_p ()
377
test -f "$1" && test -x "$1"
378
} # as_fn_executable_p
379
# as_fn_append VAR VALUE
380
# ----------------------
381
# Append the text in VALUE to the end of the definition contained in VAR. Take
382
# advantage of any shell optimizations that allow amortized linear growth over
383
# repeated appends, instead of the typical quadratic growth present in naive
385
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386
eval 'as_fn_append ()
399
# Perform arithmetic evaluation on the ARGs, and store the result in the
400
# global $as_val. Take advantage of shells that can avoid forks. The arguments
401
# must be portable across $(()) and expr.
402
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410
as_val=`expr "$@" || test $? -eq 1`
415
# as_fn_error STATUS ERROR [LINENO LOG_FD]
416
# ----------------------------------------
417
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419
# script with STATUS, using 1 if that was 0.
422
as_status=$1; test $as_status -eq 0 && as_status=1
424
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427
$as_echo "$as_me: error: $2" >&2
428
as_fn_exit $as_status
431
if expr a : '\(a\)' >/dev/null 2>&1 &&
432
test "X`expr 00001 : '.*\(...\)'`" = X001; then
438
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450
as_me=`$as_basename -- "$0" ||
451
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452
X"$0" : 'X\(//\)$' \| \
453
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455
sed '/^.*\/\([^/][^/]*\)\/*$/{
469
# Avoid depending upon Character Ranges.
470
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473
as_cr_digits='0123456789'
474
as_cr_alnum=$as_cr_Letters$as_cr_digits
477
as_lineno_1=$LINENO as_lineno_1a=$LINENO
478
as_lineno_2=$LINENO as_lineno_2a=$LINENO
479
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497
chmod +x "$as_me.lineno" ||
498
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501
# already done that, so ensure we don't try to do so again and fall
502
# in an infinite loop. This has already happened in practice.
503
_as_can_reexec=no; export _as_can_reexec
504
# Don't try to exec as it changes $[0], causing all sort of problems
505
# (the dirname of $[0] is not the place where we might find the
506
# original and so on. Autoconf is especially sensitive to this).
508
# Exit status is that of the last command.
512
ECHO_C= ECHO_N= ECHO_T=
513
case `echo -n x` in #(((((
515
case `echo 'xy\c'` in
516
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
518
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525
rm -f conf$$ conf$$.exe conf$$.file
526
if test -d conf$$.dir; then
527
rm -f conf$$.dir/conf$$.file
530
mkdir conf$$.dir 2>/dev/null
532
if (echo >conf$$.file) 2>/dev/null; then
533
if ln -s conf$$.file conf$$ 2>/dev/null; then
535
# ... but there are two gotchas:
536
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538
# In both cases, we have to default to `cp -pR'.
539
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541
elif ln conf$$.file conf$$ 2>/dev/null; then
549
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550
rmdir conf$$.dir 2>/dev/null
552
if mkdir -p . 2>/dev/null; then
553
as_mkdir_p='mkdir -p "$as_dir"'
555
test -d ./-p && rmdir ./-p
560
as_executable_p=as_fn_executable_p
562
# Sed expression to map a string onto a valid CPP name.
563
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565
# Sed expression to map a string onto a valid variable name.
566
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568
SHELL=${CONFIG_SHELL-/bin/sh}
571
test -n "$DJDIR" || exec 7<&0 </dev/null
575
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576
# so uname gets run too.
577
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
582
ac_default_prefix=/usr/local
584
ac_config_libobj_dir=.
591
# Identity of this package.
593
PACKAGE_TARNAME='ekiga'
594
PACKAGE_VERSION='4.0.1'
595
PACKAGE_STRING='ekiga 4.0.1'
596
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=ekiga'
599
ac_unique_file="src/ekiga.cpp"
600
# Factoring default headers for most tests.
601
ac_includes_default="\
603
#ifdef HAVE_SYS_TYPES_H
604
# include <sys/types.h>
606
#ifdef HAVE_SYS_STAT_H
607
# include <sys/stat.h>
613
# ifdef HAVE_STDLIB_H
618
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623
#ifdef HAVE_STRINGS_H
624
# include <strings.h>
626
#ifdef HAVE_INTTYPES_H
627
# include <inttypes.h>
636
ac_subst_vars='am__EXEEXT_FALSE
642
PLUGINS_LIBTOOL_FLAGS
668
HAVE_GNOME_DOC_UTILS_FALSE
669
HAVE_GNOME_DOC_UTILS_TRUE
670
DISTCHECK_CONFIGURE_FLAGS
702
INSTALL_DBUS_SERVICE_FALSE
703
INSTALL_DBUS_SERVICE_TRUE
721
am__fastdepCCAS_FALSE
740
GCONF_SCHEMAS_INSTALL_FALSE
741
GCONF_SCHEMAS_INSTALL_TRUE
742
GCONF_SCHEMA_FILE_DIR
743
GCONF_SCHEMA_CONFIG_SOURCE
764
INTLTOOL_SERVICE_RULE
766
INTLTOOL_SCHEMAS_RULE
768
INTLTOOL_XML_NOMERGE_RULE
773
INTLTOOL_SOUNDLIST_RULE
780
INTLTOOL_DIRECTORY_RULE
781
INTLTOOL_DESKTOP_RULE
782
intltool__v_merge_options_0
783
intltool__v_merge_options_
784
INTLTOOL_V_MERGE_OPTIONS
848
MAINTAINER_MODE_FALSE
858
INSTALL_STRIP_PROGRAM
912
program_transform_name
925
enable_option_checking
926
enable_maintainer_mode
932
enable_dependency_tracking
944
with_gconf_schema_file_dir
945
enable_schemas_install
973
ac_precious_vars='build_alias
1023
# Initialize some variables set by options.
1025
ac_init_version=false
1026
ac_unrecognized_opts=
1027
ac_unrecognized_sep=
1028
# The variables have the same names as the options, with
1029
# dashes changed to underlines.
1030
cache_file=/dev/null
1037
program_transform_name=s,x,x,
1045
# Installation directory options.
1046
# These are left unexpanded so users can "make install exec_prefix=/foo"
1047
# and all the variables that are supposed to be based on exec_prefix
1048
# by default will actually change.
1049
# Use braces instead of parens because sh, perl, etc. also accept them.
1050
# (The list follows the same order as the GNU Coding Standards.)
1051
bindir='${exec_prefix}/bin'
1052
sbindir='${exec_prefix}/sbin'
1053
libexecdir='${exec_prefix}/libexec'
1054
datarootdir='${prefix}/share'
1055
datadir='${datarootdir}'
1056
sysconfdir='${prefix}/etc'
1057
sharedstatedir='${prefix}/com'
1058
localstatedir='${prefix}/var'
1059
includedir='${prefix}/include'
1060
oldincludedir='/usr/include'
1061
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1062
infodir='${datarootdir}/info'
1067
libdir='${exec_prefix}/lib'
1068
localedir='${datarootdir}/locale'
1069
mandir='${datarootdir}/man'
1075
# If the previous option needs an argument, assign it.
1076
if test -n "$ac_prev"; then
1077
eval $ac_prev=\$ac_option
1083
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1088
# Accept the important Cygnus configure options, so we can diagnose typos.
1090
case $ac_dashdash$ac_option in
1094
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1096
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1097
bindir=$ac_optarg ;;
1099
-build | --build | --buil | --bui | --bu)
1100
ac_prev=build_alias ;;
1101
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1102
build_alias=$ac_optarg ;;
1104
-cache-file | --cache-file | --cache-fil | --cache-fi \
1105
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1106
ac_prev=cache_file ;;
1107
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1108
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1109
cache_file=$ac_optarg ;;
1111
--config-cache | -C)
1112
cache_file=config.cache ;;
1114
-datadir | --datadir | --datadi | --datad)
1116
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1117
datadir=$ac_optarg ;;
1119
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1120
| --dataroo | --dataro | --datar)
1121
ac_prev=datarootdir ;;
1122
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1123
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1124
datarootdir=$ac_optarg ;;
1126
-disable-* | --disable-*)
1127
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1128
# Reject names that are not valid shell variable names.
1129
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1130
as_fn_error $? "invalid feature name: $ac_useropt"
1131
ac_useropt_orig=$ac_useropt
1132
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1133
case $ac_user_opts in
1135
"enable_$ac_useropt"
1137
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1138
ac_unrecognized_sep=', ';;
1140
eval enable_$ac_useropt=no ;;
1142
-docdir | --docdir | --docdi | --doc | --do)
1144
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1145
docdir=$ac_optarg ;;
1147
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1149
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1150
dvidir=$ac_optarg ;;
1152
-enable-* | --enable-*)
1153
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1154
# Reject names that are not valid shell variable names.
1155
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1156
as_fn_error $? "invalid feature name: $ac_useropt"
1157
ac_useropt_orig=$ac_useropt
1158
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1159
case $ac_user_opts in
1161
"enable_$ac_useropt"
1163
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1164
ac_unrecognized_sep=', ';;
1166
eval enable_$ac_useropt=\$ac_optarg ;;
1168
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1169
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1170
| --exec | --exe | --ex)
1171
ac_prev=exec_prefix ;;
1172
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1173
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1174
| --exec=* | --exe=* | --ex=*)
1175
exec_prefix=$ac_optarg ;;
1177
-gas | --gas | --ga | --g)
1178
# Obsolete; use --with-gas.
1181
-help | --help | --hel | --he | -h)
1182
ac_init_help=long ;;
1183
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1184
ac_init_help=recursive ;;
1185
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1186
ac_init_help=short ;;
1188
-host | --host | --hos | --ho)
1189
ac_prev=host_alias ;;
1190
-host=* | --host=* | --hos=* | --ho=*)
1191
host_alias=$ac_optarg ;;
1193
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1195
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1197
htmldir=$ac_optarg ;;
1199
-includedir | --includedir | --includedi | --included | --include \
1200
| --includ | --inclu | --incl | --inc)
1201
ac_prev=includedir ;;
1202
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1203
| --includ=* | --inclu=* | --incl=* | --inc=*)
1204
includedir=$ac_optarg ;;
1206
-infodir | --infodir | --infodi | --infod | --info | --inf)
1208
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1209
infodir=$ac_optarg ;;
1211
-libdir | --libdir | --libdi | --libd)
1213
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1214
libdir=$ac_optarg ;;
1216
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1217
| --libexe | --libex | --libe)
1218
ac_prev=libexecdir ;;
1219
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1220
| --libexe=* | --libex=* | --libe=*)
1221
libexecdir=$ac_optarg ;;
1223
-localedir | --localedir | --localedi | --localed | --locale)
1224
ac_prev=localedir ;;
1225
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1226
localedir=$ac_optarg ;;
1228
-localstatedir | --localstatedir | --localstatedi | --localstated \
1229
| --localstate | --localstat | --localsta | --localst | --locals)
1230
ac_prev=localstatedir ;;
1231
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1232
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1233
localstatedir=$ac_optarg ;;
1235
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1237
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1238
mandir=$ac_optarg ;;
1240
-nfp | --nfp | --nf)
1241
# Obsolete; use --without-fp.
1244
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1245
| --no-cr | --no-c | -n)
1248
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1249
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1252
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1253
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1254
| --oldin | --oldi | --old | --ol | --o)
1255
ac_prev=oldincludedir ;;
1256
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1257
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1258
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1259
oldincludedir=$ac_optarg ;;
1261
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1263
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1264
prefix=$ac_optarg ;;
1266
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1267
| --program-pre | --program-pr | --program-p)
1268
ac_prev=program_prefix ;;
1269
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1270
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1271
program_prefix=$ac_optarg ;;
1273
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1274
| --program-suf | --program-su | --program-s)
1275
ac_prev=program_suffix ;;
1276
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1277
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1278
program_suffix=$ac_optarg ;;
1280
-program-transform-name | --program-transform-name \
1281
| --program-transform-nam | --program-transform-na \
1282
| --program-transform-n | --program-transform- \
1283
| --program-transform | --program-transfor \
1284
| --program-transfo | --program-transf \
1285
| --program-trans | --program-tran \
1286
| --progr-tra | --program-tr | --program-t)
1287
ac_prev=program_transform_name ;;
1288
-program-transform-name=* | --program-transform-name=* \
1289
| --program-transform-nam=* | --program-transform-na=* \
1290
| --program-transform-n=* | --program-transform-=* \
1291
| --program-transform=* | --program-transfor=* \
1292
| --program-transfo=* | --program-transf=* \
1293
| --program-trans=* | --program-tran=* \
1294
| --progr-tra=* | --program-tr=* | --program-t=*)
1295
program_transform_name=$ac_optarg ;;
1297
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1299
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1300
pdfdir=$ac_optarg ;;
1302
-psdir | --psdir | --psdi | --psd | --ps)
1304
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1307
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1308
| -silent | --silent | --silen | --sile | --sil)
1311
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1313
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1315
sbindir=$ac_optarg ;;
1317
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1318
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1319
| --sharedst | --shareds | --shared | --share | --shar \
1321
ac_prev=sharedstatedir ;;
1322
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1323
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1324
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1326
sharedstatedir=$ac_optarg ;;
1328
-site | --site | --sit)
1330
-site=* | --site=* | --sit=*)
1333
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1335
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1336
srcdir=$ac_optarg ;;
1338
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1339
| --syscon | --sysco | --sysc | --sys | --sy)
1340
ac_prev=sysconfdir ;;
1341
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1342
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1343
sysconfdir=$ac_optarg ;;
1345
-target | --target | --targe | --targ | --tar | --ta | --t)
1346
ac_prev=target_alias ;;
1347
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1348
target_alias=$ac_optarg ;;
1350
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1353
-version | --version | --versio | --versi | --vers | -V)
1354
ac_init_version=: ;;
1357
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1358
# Reject names that are not valid shell variable names.
1359
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1360
as_fn_error $? "invalid package name: $ac_useropt"
1361
ac_useropt_orig=$ac_useropt
1362
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1363
case $ac_user_opts in
1367
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1368
ac_unrecognized_sep=', ';;
1370
eval with_$ac_useropt=\$ac_optarg ;;
1372
-without-* | --without-*)
1373
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1374
# Reject names that are not valid shell variable names.
1375
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1376
as_fn_error $? "invalid package name: $ac_useropt"
1377
ac_useropt_orig=$ac_useropt
1378
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1379
case $ac_user_opts in
1383
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1384
ac_unrecognized_sep=', ';;
1386
eval with_$ac_useropt=no ;;
1389
# Obsolete; use --with-x.
1392
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1393
| --x-incl | --x-inc | --x-in | --x-i)
1394
ac_prev=x_includes ;;
1395
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1396
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1397
x_includes=$ac_optarg ;;
1399
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1400
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1401
ac_prev=x_libraries ;;
1402
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1403
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1404
x_libraries=$ac_optarg ;;
1406
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1407
Try \`$0 --help' for more information"
1411
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1412
# Reject names that are not valid shell variable names.
1413
case $ac_envvar in #(
1414
'' | [0-9]* | *[!_$as_cr_alnum]* )
1415
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1417
eval $ac_envvar=\$ac_optarg
1418
export $ac_envvar ;;
1421
# FIXME: should be removed in autoconf 3.0.
1422
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1423
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1424
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1425
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1431
if test -n "$ac_prev"; then
1432
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1433
as_fn_error $? "missing argument to $ac_option"
1436
if test -n "$ac_unrecognized_opts"; then
1437
case $enable_option_checking in
1439
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1440
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1444
# Check all directory arguments for consistency.
1445
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1446
datadir sysconfdir sharedstatedir localstatedir includedir \
1447
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1448
libdir localedir mandir
1450
eval ac_val=\$$ac_var
1451
# Remove trailing slashes.
1454
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1455
eval $ac_var=\$ac_val;;
1457
# Be sure to have absolute directory names.
1459
[\\/$]* | ?:[\\/]* ) continue;;
1460
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1462
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1465
# There might be people who depend on the old broken behavior: `$host'
1466
# used to hold the argument of --host etc.
1467
# FIXME: To remove some day.
1470
target=$target_alias
1472
# FIXME: To remove some day.
1473
if test "x$host_alias" != x; then
1474
if test "x$build_alias" = x; then
1475
cross_compiling=maybe
1476
elif test "x$build_alias" != "x$host_alias"; then
1482
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1484
test "$silent" = yes && exec 6>/dev/null
1487
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1488
ac_ls_di=`ls -di .` &&
1489
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1490
as_fn_error $? "working directory cannot be determined"
1491
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1492
as_fn_error $? "pwd does not report name of working directory"
1495
# Find the source files, if location was not specified.
1496
if test -z "$srcdir"; then
1497
ac_srcdir_defaulted=yes
1498
# Try the directory containing this script, then the parent directory.
1499
ac_confdir=`$as_dirname -- "$as_myself" ||
1500
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1501
X"$as_myself" : 'X\(//\)[^/]' \| \
1502
X"$as_myself" : 'X\(//\)$' \| \
1503
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1504
$as_echo X"$as_myself" |
1505
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1523
if test ! -r "$srcdir/$ac_unique_file"; then
1527
ac_srcdir_defaulted=no
1529
if test ! -r "$srcdir/$ac_unique_file"; then
1530
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1531
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1533
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1535
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1537
# When building in place, set srcdir=.
1538
if test "$ac_abs_confdir" = "$ac_pwd"; then
1541
# Remove unnecessary trailing slashes from srcdir.
1542
# Double slashes in file names in object file debugging info
1543
# mess up M-x gdb in Emacs.
1545
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1547
for ac_var in $ac_precious_vars; do
1548
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1549
eval ac_env_${ac_var}_value=\$${ac_var}
1550
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1551
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1555
# Report the --help message.
1557
if test "$ac_init_help" = "long"; then
1558
# Omit some internal or obsolete options to make the list less imposing.
1559
# This message is too long to be a string in the A/UX 3.1 sh.
1561
\`configure' configures ekiga 4.0.1 to adapt to many kinds of systems.
1563
Usage: $0 [OPTION]... [VAR=VALUE]...
1565
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1566
VAR=VALUE. See below for descriptions of some of the useful variables.
1568
Defaults for the options are specified in brackets.
1571
-h, --help display this help and exit
1572
--help=short display options specific to this package
1573
--help=recursive display the short help of all the included packages
1574
-V, --version display version information and exit
1575
-q, --quiet, --silent do not print \`checking ...' messages
1576
--cache-file=FILE cache test results in FILE [disabled]
1577
-C, --config-cache alias for \`--cache-file=config.cache'
1578
-n, --no-create do not create output files
1579
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1581
Installation directories:
1582
--prefix=PREFIX install architecture-independent files in PREFIX
1583
[$ac_default_prefix]
1584
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1587
By default, \`make install' will install all the files in
1588
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1589
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1590
for instance \`--prefix=\$HOME'.
1592
For better control, use the options below.
1594
Fine tuning of the installation directories:
1595
--bindir=DIR user executables [EPREFIX/bin]
1596
--sbindir=DIR system admin executables [EPREFIX/sbin]
1597
--libexecdir=DIR program executables [EPREFIX/libexec]
1598
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1599
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1600
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1601
--libdir=DIR object code libraries [EPREFIX/lib]
1602
--includedir=DIR C header files [PREFIX/include]
1603
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1604
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1605
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1606
--infodir=DIR info documentation [DATAROOTDIR/info]
1607
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1608
--mandir=DIR man documentation [DATAROOTDIR/man]
1609
--docdir=DIR documentation root [DATAROOTDIR/doc/ekiga]
1610
--htmldir=DIR html documentation [DOCDIR]
1611
--dvidir=DIR dvi documentation [DOCDIR]
1612
--pdfdir=DIR pdf documentation [DOCDIR]
1613
--psdir=DIR ps documentation [DOCDIR]
1619
--program-prefix=PREFIX prepend PREFIX to installed program names
1620
--program-suffix=SUFFIX append SUFFIX to installed program names
1621
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1624
--build=BUILD configure for building on BUILD [guessed]
1625
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1626
--target=TARGET configure for building compilers for TARGET [HOST]
1630
if test -n "$ac_init_help"; then
1631
case $ac_init_help in
1632
short | recursive ) echo "Configuration of ekiga 4.0.1:";;
1637
--disable-option-checking ignore unrecognized --enable/--with options
1638
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1639
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1640
--disable-maintainer-mode disable make rules and dependencies not useful
1641
(and sometimes confusing) to the casual installer
1642
--enable-silent-rules less verbose build output (undo: `make V=1')
1643
--disable-silent-rules verbose build output (undo: `make V=0')
1644
--enable-static[=PKGS] build static libraries [default=no]
1645
--enable-shared[=PKGS] build shared libraries [default=yes]
1646
--enable-fast-install[=PKGS]
1647
optimize for fast installation [default=yes]
1648
--disable-dependency-tracking speeds up one-time build
1649
--enable-dependency-tracking do not reject slow dependency extractors
1650
--disable-libtool-lock avoid locking (might break parallel builds)
1651
--disable-nls do not use Native Language Support
1652
--enable-gtk-debug enable GTK+ debug flags (default is disabled)
1653
--enable-gconf enable GConf support (default is enabled)
1654
--disable-schemas-install
1655
Disable the schemas installation
1656
--enable-eds enable evolution-data-server addressbook support
1657
(default is enabled)
1658
--enable-notify enable libnotify support (default is enabled)
1659
--enable-ldap enable LDAP addressbook support (default is enabled)
1660
--enable-mmx enable MMX acceleration (default is enabled)
1661
--enable-shm enable SHM support (default is enabled)
1662
--disable-xv enable XVideo hardware acceleration (default is
1664
--enable-dbus enable DBUS support (default is enabled)
1665
--enable-dbus-service enable DBUS service installation (default is
1667
--enable-avahi enable mDNS support (default is disabled)
1668
--enable-gstreamer enable experimental GStreamer support (default is
1670
--enable-kde enable experimental KDE support (default is
1672
--enable-kab enable experimental KAddressBook support (default is
1674
--enable-xcap enable experimental XCAP support (default is
1676
--enable-loudmouth enable experimental Loudmouth support (default is
1678
--disable-scrollkeeper do not make updates to the scrollkeeper database
1679
--enable-gdu enable GNOME-Doc-Utils support, i.e. help file
1680
generation (default is enabled)
1681
--enable-opal-debug link to debug versions of opal and ptlib (opal_d and
1682
ptlib_d) (default is disabled)
1683
--enable-static-libs link to opal and ptlib static libraries (default is
1685
--enable-h323 enable H.323 support (default same as opal)
1686
--enable-debug compile with debug support (default is disabled)
1689
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1690
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1691
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1693
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1694
--with-sysroot=DIR Search for dependent libraries within DIR
1695
(or the compiler's sysroot if not specified).
1696
--with-endianess=big|little
1697
endianess of target system
1698
--with-boost[=ARG] use Boost library from a standard location
1699
(ARG=yes), from the specified location (ARG=<path>),
1700
or disable it (ARG=no) [ARG=yes]
1701
--with-boost-libdir=LIB_DIR
1702
Force given directory for boost libraries. Note that
1703
this will override library path detection, so use
1704
this parameter only if default library detection
1705
fails and you know exactly where your boost
1706
libraries are located.
1707
--with-boost-signals[=special-lib]
1708
use the Signals library from boost - it is possible
1709
to specify a certain library for the linker e.g.
1710
--with-boost-signals=boost_signals-gcc-mt-d
1711
--with-gconf-source=sourceaddress
1712
Config database for installing schema files.
1713
--with-gconf-schema-file-dir=dir
1714
Directory for installing schema files.
1715
--with-ldap-dir=PFX location of LDAP
1716
--with-libsasl2-dir=PFX location of LIBSASL2
1717
--with-directx-dir=PFX location of DirectDraw
1718
--with-help-dir=DIR path to help docs
1719
--with-omf-dir=DIR path to OMF files
1720
--with-help-formats=FORMATS
1723
Some influential environment variables:
1724
PKG_CONFIG path to pkg-config utility
1726
directories to add to pkg-config's search path
1728
path overriding pkg-config's built-in search path
1729
CC C compiler command
1730
CFLAGS C compiler flags
1731
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1732
nonstandard directory <lib dir>
1733
LIBS libraries to pass to the linker, e.g. -l<library>
1734
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1735
you have headers in a nonstandard directory <include dir>
1736
CXX C++ compiler command
1737
CXXFLAGS C++ compiler flags
1739
CXXCPP C++ preprocessor
1740
GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1741
GTK_LIBS linker flags for GTK, overriding pkg-config
1742
GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1743
GLIB_LIBS linker flags for GLIB, overriding pkg-config
1744
XML_CFLAGS C compiler flags for XML, overriding pkg-config
1745
XML_LIBS linker flags for XML, overriding pkg-config
1747
C compiler flags for GCONF, overriding pkg-config
1748
GCONF_LIBS linker flags for GCONF, overriding pkg-config
1749
EDS_CFLAGS C compiler flags for EDS, overriding pkg-config
1750
EDS_LIBS linker flags for EDS, overriding pkg-config
1752
C compiler flags for NOTIFY, overriding pkg-config
1753
NOTIFY_LIBS linker flags for NOTIFY, overriding pkg-config
1754
CCAS assembler compiler command (defaults to CC)
1755
CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1756
XV_CFLAGS C compiler flags for XV, overriding pkg-config
1757
XV_LIBS linker flags for XV, overriding pkg-config
1758
DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1759
DBUS_LIBS linker flags for DBUS, overriding pkg-config
1761
C compiler flags for AVAHI, overriding pkg-config
1762
AVAHI_LIBS linker flags for AVAHI, overriding pkg-config
1764
C compiler flags for GSTREAMER, overriding pkg-config
1766
linker flags for GSTREAMER, overriding pkg-config
1767
KDE_CFLAGS C compiler flags for KDE, overriding pkg-config
1768
KDE_LIBS linker flags for KDE, overriding pkg-config
1769
SOUP_CFLAGS C compiler flags for SOUP, overriding pkg-config
1770
SOUP_LIBS linker flags for SOUP, overriding pkg-config
1772
C compiler flags for LOUDMOUTH, overriding pkg-config
1774
linker flags for LOUDMOUTH, overriding pkg-config
1776
C compiler flags for PTLIB, overriding pkg-config
1777
PTLIB_LIBS linker flags for PTLIB, overriding pkg-config
1778
OPAL_CFLAGS C compiler flags for OPAL, overriding pkg-config
1779
OPAL_LIBS linker flags for OPAL, overriding pkg-config
1781
Use these variables to override the choices made by `configure' or to help
1782
it to find libraries and programs with nonstandard names/locations.
1784
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=ekiga>.
1789
if test "$ac_init_help" = "recursive"; then
1790
# If there are subdirs, report their specific --help.
1791
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1792
test -d "$ac_dir" ||
1793
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1798
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1800
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1801
# A ".." for each directory in $ac_dir_suffix.
1802
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1803
case $ac_top_builddir_sub in
1804
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1805
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1808
ac_abs_top_builddir=$ac_pwd
1809
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1810
# for backward compatibility:
1811
ac_top_builddir=$ac_top_build_prefix
1814
.) # We are building in place.
1816
ac_top_srcdir=$ac_top_builddir_sub
1817
ac_abs_top_srcdir=$ac_pwd ;;
1818
[\\/]* | ?:[\\/]* ) # Absolute name.
1819
ac_srcdir=$srcdir$ac_dir_suffix;
1820
ac_top_srcdir=$srcdir
1821
ac_abs_top_srcdir=$srcdir ;;
1823
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1824
ac_top_srcdir=$ac_top_build_prefix$srcdir
1825
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1827
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1829
cd "$ac_dir" || { ac_status=$?; continue; }
1830
# Check for guested configure.
1831
if test -f "$ac_srcdir/configure.gnu"; then
1833
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1834
elif test -f "$ac_srcdir/configure"; then
1836
$SHELL "$ac_srcdir/configure" --help=recursive
1838
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1840
cd "$ac_pwd" || { ac_status=$?; break; }
1844
test -n "$ac_init_help" && exit $ac_status
1845
if $ac_init_version; then
1847
ekiga configure 4.0.1
1848
generated by GNU Autoconf 2.69
1850
Copyright (C) 2012 Free Software Foundation, Inc.
1851
This configure script is free software; the Free Software Foundation
1852
gives unlimited permission to copy, distribute and modify it.
1857
## ------------------------ ##
1858
## Autoconf initialization. ##
1859
## ------------------------ ##
1861
# ac_fn_c_try_compile LINENO
1862
# --------------------------
1863
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1864
ac_fn_c_try_compile ()
1866
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867
rm -f conftest.$ac_objext
1868
if { { ac_try="$ac_compile"
1870
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1871
*) ac_try_echo=$ac_try;;
1873
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1874
$as_echo "$ac_try_echo"; } >&5
1875
(eval "$ac_compile") 2>conftest.err
1877
if test -s conftest.err; then
1878
grep -v '^ *+' conftest.err >conftest.er1
1879
cat conftest.er1 >&5
1880
mv -f conftest.er1 conftest.err
1882
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1883
test $ac_status = 0; } && {
1884
test -z "$ac_c_werror_flag" ||
1885
test ! -s conftest.err
1886
} && test -s conftest.$ac_objext; then :
1889
$as_echo "$as_me: failed program was:" >&5
1890
sed 's/^/| /' conftest.$ac_ext >&5
1894
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895
as_fn_set_status $ac_retval
1897
} # ac_fn_c_try_compile
1899
# ac_fn_cxx_try_compile LINENO
1900
# ----------------------------
1901
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1902
ac_fn_cxx_try_compile ()
1904
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1905
rm -f conftest.$ac_objext
1906
if { { ac_try="$ac_compile"
1908
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1909
*) ac_try_echo=$ac_try;;
1911
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1912
$as_echo "$ac_try_echo"; } >&5
1913
(eval "$ac_compile") 2>conftest.err
1915
if test -s conftest.err; then
1916
grep -v '^ *+' conftest.err >conftest.er1
1917
cat conftest.er1 >&5
1918
mv -f conftest.er1 conftest.err
1920
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1921
test $ac_status = 0; } && {
1922
test -z "$ac_cxx_werror_flag" ||
1923
test ! -s conftest.err
1924
} && test -s conftest.$ac_objext; then :
1927
$as_echo "$as_me: failed program was:" >&5
1928
sed 's/^/| /' conftest.$ac_ext >&5
1932
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1933
as_fn_set_status $ac_retval
1935
} # ac_fn_cxx_try_compile
1937
# ac_fn_c_try_link LINENO
1938
# -----------------------
1939
# Try to link conftest.$ac_ext, and return whether this succeeded.
1942
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1943
rm -f conftest.$ac_objext conftest$ac_exeext
1944
if { { ac_try="$ac_link"
1946
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1947
*) ac_try_echo=$ac_try;;
1949
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1950
$as_echo "$ac_try_echo"; } >&5
1951
(eval "$ac_link") 2>conftest.err
1953
if test -s conftest.err; then
1954
grep -v '^ *+' conftest.err >conftest.er1
1955
cat conftest.er1 >&5
1956
mv -f conftest.er1 conftest.err
1958
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1959
test $ac_status = 0; } && {
1960
test -z "$ac_c_werror_flag" ||
1961
test ! -s conftest.err
1962
} && test -s conftest$ac_exeext && {
1963
test "$cross_compiling" = yes ||
1964
test -x conftest$ac_exeext
1968
$as_echo "$as_me: failed program was:" >&5
1969
sed 's/^/| /' conftest.$ac_ext >&5
1973
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1974
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1975
# interfere with the next link command; also delete a directory that is
1976
# left behind by Apple's compiler. We do this before executing the actions.
1977
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1978
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1979
as_fn_set_status $ac_retval
1981
} # ac_fn_c_try_link
1983
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1984
# -------------------------------------------------------
1985
# Tests whether HEADER exists and can be compiled using the include files in
1986
# INCLUDES, setting the cache variable VAR accordingly.
1987
ac_fn_c_check_header_compile ()
1989
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1990
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1991
$as_echo_n "checking for $2... " >&6; }
1992
if eval \${$3+:} false; then :
1993
$as_echo_n "(cached) " >&6
1995
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1996
/* end confdefs.h. */
2000
if ac_fn_c_try_compile "$LINENO"; then :
2005
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2008
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2009
$as_echo "$ac_res" >&6; }
2010
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2012
} # ac_fn_c_check_header_compile
2014
# ac_fn_c_try_cpp LINENO
2015
# ----------------------
2016
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2019
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020
if { { ac_try="$ac_cpp conftest.$ac_ext"
2022
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2023
*) ac_try_echo=$ac_try;;
2025
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2026
$as_echo "$ac_try_echo"; } >&5
2027
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2029
if test -s conftest.err; then
2030
grep -v '^ *+' conftest.err >conftest.er1
2031
cat conftest.er1 >&5
2032
mv -f conftest.er1 conftest.err
2034
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2035
test $ac_status = 0; } > conftest.i && {
2036
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2037
test ! -s conftest.err
2041
$as_echo "$as_me: failed program was:" >&5
2042
sed 's/^/| /' conftest.$ac_ext >&5
2046
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2047
as_fn_set_status $ac_retval
2051
# ac_fn_c_try_run LINENO
2052
# ----------------------
2053
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2054
# that executables *can* be run.
2057
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2058
if { { ac_try="$ac_link"
2060
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2061
*) ac_try_echo=$ac_try;;
2063
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2064
$as_echo "$ac_try_echo"; } >&5
2065
(eval "$ac_link") 2>&5
2067
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2068
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2069
{ { case "(($ac_try" in
2070
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2071
*) ac_try_echo=$ac_try;;
2073
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2074
$as_echo "$ac_try_echo"; } >&5
2075
(eval "$ac_try") 2>&5
2077
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2078
test $ac_status = 0; }; }; then :
2081
$as_echo "$as_me: program exited with status $ac_status" >&5
2082
$as_echo "$as_me: failed program was:" >&5
2083
sed 's/^/| /' conftest.$ac_ext >&5
2085
ac_retval=$ac_status
2087
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2088
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2089
as_fn_set_status $ac_retval
2093
# ac_fn_c_check_func LINENO FUNC VAR
2094
# ----------------------------------
2095
# Tests whether FUNC exists, setting the cache variable VAR accordingly
2096
ac_fn_c_check_func ()
2098
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2100
$as_echo_n "checking for $2... " >&6; }
2101
if eval \${$3+:} false; then :
2102
$as_echo_n "(cached) " >&6
2104
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105
/* end confdefs.h. */
2106
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2107
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2108
#define $2 innocuous_$2
2110
/* System header to define __stub macros and hopefully few prototypes,
2111
which can conflict with char $2 (); below.
2112
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2113
<limits.h> exists even on freestanding compilers. */
2116
# include <limits.h>
2118
# include <assert.h>
2123
/* Override any GCC internal prototype to avoid an error.
2124
Use char because int might match the return type of a GCC
2125
builtin and then its argument prototype would still apply. */
2130
/* The GNU C library defines this for functions which it implements
2131
to always fail with ENOSYS. Some functions are actually named
2132
something starting with __ and the normal name is an alias. */
2133
#if defined __stub_$2 || defined __stub___$2
2145
if ac_fn_c_try_link "$LINENO"; then :
2150
rm -f core conftest.err conftest.$ac_objext \
2151
conftest$ac_exeext conftest.$ac_ext
2154
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2155
$as_echo "$ac_res" >&6; }
2156
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2158
} # ac_fn_c_check_func
2160
# ac_fn_cxx_try_cpp LINENO
2161
# ------------------------
2162
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2163
ac_fn_cxx_try_cpp ()
2165
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2166
if { { ac_try="$ac_cpp conftest.$ac_ext"
2168
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2169
*) ac_try_echo=$ac_try;;
2171
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2172
$as_echo "$ac_try_echo"; } >&5
2173
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2175
if test -s conftest.err; then
2176
grep -v '^ *+' conftest.err >conftest.er1
2177
cat conftest.er1 >&5
2178
mv -f conftest.er1 conftest.err
2180
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2181
test $ac_status = 0; } > conftest.i && {
2182
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2183
test ! -s conftest.err
2187
$as_echo "$as_me: failed program was:" >&5
2188
sed 's/^/| /' conftest.$ac_ext >&5
2192
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2193
as_fn_set_status $ac_retval
2195
} # ac_fn_cxx_try_cpp
2197
# ac_fn_cxx_try_link LINENO
2198
# -------------------------
2199
# Try to link conftest.$ac_ext, and return whether this succeeded.
2200
ac_fn_cxx_try_link ()
2202
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2203
rm -f conftest.$ac_objext conftest$ac_exeext
2204
if { { ac_try="$ac_link"
2206
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2207
*) ac_try_echo=$ac_try;;
2209
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2210
$as_echo "$ac_try_echo"; } >&5
2211
(eval "$ac_link") 2>conftest.err
2213
if test -s conftest.err; then
2214
grep -v '^ *+' conftest.err >conftest.er1
2215
cat conftest.er1 >&5
2216
mv -f conftest.er1 conftest.err
2218
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2219
test $ac_status = 0; } && {
2220
test -z "$ac_cxx_werror_flag" ||
2221
test ! -s conftest.err
2222
} && test -s conftest$ac_exeext && {
2223
test "$cross_compiling" = yes ||
2224
test -x conftest$ac_exeext
2228
$as_echo "$as_me: failed program was:" >&5
2229
sed 's/^/| /' conftest.$ac_ext >&5
2233
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2234
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2235
# interfere with the next link command; also delete a directory that is
2236
# left behind by Apple's compiler. We do this before executing the actions.
2237
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2238
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2239
as_fn_set_status $ac_retval
2241
} # ac_fn_cxx_try_link
2243
# ac_fn_cxx_try_run LINENO
2244
# ------------------------
2245
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2246
# that executables *can* be run.
2247
ac_fn_cxx_try_run ()
2249
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2250
if { { ac_try="$ac_link"
2252
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2253
*) ac_try_echo=$ac_try;;
2255
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2256
$as_echo "$ac_try_echo"; } >&5
2257
(eval "$ac_link") 2>&5
2259
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2260
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2261
{ { case "(($ac_try" in
2262
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2263
*) ac_try_echo=$ac_try;;
2265
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2266
$as_echo "$ac_try_echo"; } >&5
2267
(eval "$ac_try") 2>&5
2269
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2270
test $ac_status = 0; }; }; then :
2273
$as_echo "$as_me: program exited with status $ac_status" >&5
2274
$as_echo "$as_me: failed program was:" >&5
2275
sed 's/^/| /' conftest.$ac_ext >&5
2277
ac_retval=$ac_status
2279
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2280
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2281
as_fn_set_status $ac_retval
2283
} # ac_fn_cxx_try_run
2285
# ac_fn_cxx_check_func LINENO FUNC VAR
2286
# ------------------------------------
2287
# Tests whether FUNC exists, setting the cache variable VAR accordingly
2288
ac_fn_cxx_check_func ()
2290
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2291
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2292
$as_echo_n "checking for $2... " >&6; }
2293
if eval \${$3+:} false; then :
2294
$as_echo_n "(cached) " >&6
2296
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2297
/* end confdefs.h. */
2298
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2299
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2300
#define $2 innocuous_$2
2302
/* System header to define __stub macros and hopefully few prototypes,
2303
which can conflict with char $2 (); below.
2304
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2305
<limits.h> exists even on freestanding compilers. */
2308
# include <limits.h>
2310
# include <assert.h>
2315
/* Override any GCC internal prototype to avoid an error.
2316
Use char because int might match the return type of a GCC
2317
builtin and then its argument prototype would still apply. */
2322
/* The GNU C library defines this for functions which it implements
2323
to always fail with ENOSYS. Some functions are actually named
2324
something starting with __ and the normal name is an alias. */
2325
#if defined __stub_$2 || defined __stub___$2
2337
if ac_fn_cxx_try_link "$LINENO"; then :
2342
rm -f core conftest.err conftest.$ac_objext \
2343
conftest$ac_exeext conftest.$ac_ext
2346
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2347
$as_echo "$ac_res" >&6; }
2348
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2350
} # ac_fn_cxx_check_func
2352
# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2353
# ---------------------------------------------------------
2354
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2355
# the include files in INCLUDES and setting the cache variable VAR
2357
ac_fn_cxx_check_header_mongrel ()
2359
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2360
if eval \${$3+:} false; then :
2361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2362
$as_echo_n "checking for $2... " >&6; }
2363
if eval \${$3+:} false; then :
2364
$as_echo_n "(cached) " >&6
2367
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2368
$as_echo "$ac_res" >&6; }
2370
# Is the header compilable?
2371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2372
$as_echo_n "checking $2 usability... " >&6; }
2373
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2374
/* end confdefs.h. */
2378
if ac_fn_cxx_try_compile "$LINENO"; then :
2379
ac_header_compiler=yes
2381
ac_header_compiler=no
2383
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2385
$as_echo "$ac_header_compiler" >&6; }
2387
# Is the header present?
2388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2389
$as_echo_n "checking $2 presence... " >&6; }
2390
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2391
/* end confdefs.h. */
2394
if ac_fn_cxx_try_cpp "$LINENO"; then :
2395
ac_header_preproc=yes
2397
ac_header_preproc=no
2399
rm -f conftest.err conftest.i conftest.$ac_ext
2400
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2401
$as_echo "$ac_header_preproc" >&6; }
2403
# So? What about this header?
2404
case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2406
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2407
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2408
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2409
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2412
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2413
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2414
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2415
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2416
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2417
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2418
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2419
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2420
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2421
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2422
( $as_echo "## -------------------------------------------------------------------- ##
2423
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=ekiga ##
2424
## -------------------------------------------------------------------- ##"
2425
) | sed "s/^/$as_me: WARNING: /" >&2
2428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2429
$as_echo_n "checking for $2... " >&6; }
2430
if eval \${$3+:} false; then :
2431
$as_echo_n "(cached) " >&6
2433
eval "$3=\$ac_header_compiler"
2436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2437
$as_echo "$ac_res" >&6; }
2439
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2441
} # ac_fn_cxx_check_header_mongrel
2442
cat >config.log <<_ACEOF
2443
This file contains any messages produced by compilers while
2444
running configure, to aid debugging if configure makes a mistake.
2446
It was created by ekiga $as_me 4.0.1, which was
2447
generated by GNU Autoconf 2.69. Invocation command line was
2459
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2460
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2461
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2462
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2463
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2465
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2466
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2468
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2469
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2470
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2471
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2472
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2473
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2474
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2478
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2482
test -z "$as_dir" && as_dir=.
2483
$as_echo "PATH: $as_dir"
2499
# Keep a trace of the command line.
2500
# Strip out --no-create and --no-recursion so they do not pile up.
2501
# Strip out --silent because we don't want to record it for future runs.
2502
# Also quote any args containing shell meta-characters.
2503
# Make two passes to allow for proper duplicate-argument suppression.
2507
ac_must_keep_next=false
2513
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2514
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2515
| -silent | --silent | --silen | --sile | --sil)
2518
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2521
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2523
as_fn_append ac_configure_args1 " '$ac_arg'"
2524
if test $ac_must_keep_next = true; then
2525
ac_must_keep_next=false # Got value, back to normal.
2528
*=* | --config-cache | -C | -disable-* | --disable-* \
2529
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2530
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2531
| -with-* | --with-* | -without-* | --without-* | --x)
2532
case "$ac_configure_args0 " in
2533
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2536
-* ) ac_must_keep_next=true ;;
2539
as_fn_append ac_configure_args " '$ac_arg'"
2544
{ ac_configure_args0=; unset ac_configure_args0;}
2545
{ ac_configure_args1=; unset ac_configure_args1;}
2547
# When interrupted or exit'd, cleanup temporary files, and complete
2548
# config.log. We remove comments because anyway the quotes in there
2549
# would cause problems or look ugly.
2550
# WARNING: Use '\'' to represent an apostrophe within the trap.
2551
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2552
trap 'exit_status=$?
2553
# Save into config.log some information that might help in debugging.
2557
$as_echo "## ---------------- ##
2558
## Cache variables. ##
2559
## ---------------- ##"
2561
# The following way of writing the cache mishandles newlines in values,
2563
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2564
eval ac_val=\$$ac_var
2568
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2569
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2572
_ | IFS | as_nl) ;; #(
2573
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2574
*) { eval $ac_var=; unset $ac_var;} ;;
2579
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2580
*${as_nl}ac_space=\ *)
2582
"s/'\''/'\''\\\\'\'''\''/g;
2583
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2586
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2593
$as_echo "## ----------------- ##
2594
## Output variables. ##
2595
## ----------------- ##"
2597
for ac_var in $ac_subst_vars
2599
eval ac_val=\$$ac_var
2601
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2603
$as_echo "$ac_var='\''$ac_val'\''"
2607
if test -n "$ac_subst_files"; then
2608
$as_echo "## ------------------- ##
2609
## File substitutions. ##
2610
## ------------------- ##"
2612
for ac_var in $ac_subst_files
2614
eval ac_val=\$$ac_var
2616
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2618
$as_echo "$ac_var='\''$ac_val'\''"
2623
if test -s confdefs.h; then
2624
$as_echo "## ----------- ##
2631
test "$ac_signal" != 0 &&
2632
$as_echo "$as_me: caught signal $ac_signal"
2633
$as_echo "$as_me: exit $exit_status"
2635
rm -f core *.core core.conftest.* &&
2636
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2639
for ac_signal in 1 2 13 15; do
2640
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2644
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2645
rm -f -r conftest* confdefs.h
2647
$as_echo "/* confdefs.h */" > confdefs.h
2649
# Predefined preprocessor variables.
2651
cat >>confdefs.h <<_ACEOF
2652
#define PACKAGE_NAME "$PACKAGE_NAME"
2655
cat >>confdefs.h <<_ACEOF
2656
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2659
cat >>confdefs.h <<_ACEOF
2660
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2663
cat >>confdefs.h <<_ACEOF
2664
#define PACKAGE_STRING "$PACKAGE_STRING"
2667
cat >>confdefs.h <<_ACEOF
2668
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2671
cat >>confdefs.h <<_ACEOF
2672
#define PACKAGE_URL "$PACKAGE_URL"
2676
# Let the site file select an alternate cache file if it wants to.
2677
# Prefer an explicitly selected file to automatically selected ones.
2680
if test -n "$CONFIG_SITE"; then
2681
# We do not want a PATH search for config.site.
2682
case $CONFIG_SITE in #((
2683
-*) ac_site_file1=./$CONFIG_SITE;;
2684
*/*) ac_site_file1=$CONFIG_SITE;;
2685
*) ac_site_file1=./$CONFIG_SITE;;
2687
elif test "x$prefix" != xNONE; then
2688
ac_site_file1=$prefix/share/config.site
2689
ac_site_file2=$prefix/etc/config.site
2691
ac_site_file1=$ac_default_prefix/share/config.site
2692
ac_site_file2=$ac_default_prefix/etc/config.site
2694
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2696
test "x$ac_site_file" = xNONE && continue
2697
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2698
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2699
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2700
sed 's/^/| /' "$ac_site_file" >&5
2702
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2703
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2704
as_fn_error $? "failed to load site script $ac_site_file
2705
See \`config.log' for more details" "$LINENO" 5; }
2709
if test -r "$cache_file"; then
2710
# Some versions of bash will fail to source /dev/null (special files
2711
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2712
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2713
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2714
$as_echo "$as_me: loading cache $cache_file" >&6;}
2716
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2717
*) . "./$cache_file";;
2721
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2722
$as_echo "$as_me: creating cache $cache_file" >&6;}
2726
# Check that the precious variables saved in the cache have kept the same
2728
ac_cache_corrupted=false
2729
for ac_var in $ac_precious_vars; do
2730
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2731
eval ac_new_set=\$ac_env_${ac_var}_set
2732
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2733
eval ac_new_val=\$ac_env_${ac_var}_value
2734
case $ac_old_set,$ac_new_set in
2736
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2737
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2738
ac_cache_corrupted=: ;;
2740
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2741
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2742
ac_cache_corrupted=: ;;
2745
if test "x$ac_old_val" != "x$ac_new_val"; then
2746
# differences in whitespace do not lead to failure.
2747
ac_old_val_w=`echo x $ac_old_val`
2748
ac_new_val_w=`echo x $ac_new_val`
2749
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2750
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2751
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2752
ac_cache_corrupted=:
2754
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2755
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2756
eval $ac_var=\$ac_old_val
2758
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2759
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2760
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2761
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2764
# Pass precious variables to config.status.
2765
if test "$ac_new_set" = set; then
2767
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2768
*) ac_arg=$ac_var=$ac_new_val ;;
2770
case " $ac_configure_args " in
2771
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2772
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2776
if $ac_cache_corrupted; then
2777
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2778
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2779
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2780
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2781
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2783
## -------------------- ##
2784
## Main body of script. ##
2785
## -------------------- ##
2788
ac_cpp='$CPP $CPPFLAGS'
2789
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2790
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2791
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2796
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2797
if test -f "$ac_dir/install-sh"; then
2799
ac_install_sh="$ac_aux_dir/install-sh -c"
2801
elif test -f "$ac_dir/install.sh"; then
2803
ac_install_sh="$ac_aux_dir/install.sh -c"
2805
elif test -f "$ac_dir/shtool"; then
2807
ac_install_sh="$ac_aux_dir/shtool install -c"
2811
if test -z "$ac_aux_dir"; then
2812
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2815
# These three variables are undocumented and unsupported,
2816
# and are intended to be withdrawn in a future Autoconf release.
2817
# They can cause serious problems if a builder's source tree is in a directory
2818
# whose full name contains unusual characters.
2819
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2820
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2821
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2824
# Make sure we can run config.sub.
2825
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2826
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2829
$as_echo_n "checking build system type... " >&6; }
2830
if ${ac_cv_build+:} false; then :
2831
$as_echo_n "(cached) " >&6
2833
ac_build_alias=$build_alias
2834
test "x$ac_build_alias" = x &&
2835
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2836
test "x$ac_build_alias" = x &&
2837
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2838
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2839
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2843
$as_echo "$ac_cv_build" >&6; }
2844
case $ac_cv_build in
2846
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2849
ac_save_IFS=$IFS; IFS='-'
2855
# Remember, the first character of IFS is used to create $*,
2856
# except with old shells:
2859
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2863
$as_echo_n "checking host system type... " >&6; }
2864
if ${ac_cv_host+:} false; then :
2865
$as_echo_n "(cached) " >&6
2867
if test "x$host_alias" = x; then
2868
ac_cv_host=$ac_cv_build
2870
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2871
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2876
$as_echo "$ac_cv_host" >&6; }
2879
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2882
ac_save_IFS=$IFS; IFS='-'
2888
# Remember, the first character of IFS is used to create $*,
2889
# except with old shells:
2892
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2896
$as_echo_n "checking target system type... " >&6; }
2897
if ${ac_cv_target+:} false; then :
2898
$as_echo_n "(cached) " >&6
2900
if test "x$target_alias" = x; then
2901
ac_cv_target=$ac_cv_host
2903
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2904
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2909
$as_echo "$ac_cv_target" >&6; }
2910
case $ac_cv_target in
2912
*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2914
target=$ac_cv_target
2915
ac_save_IFS=$IFS; IFS='-'
2921
# Remember, the first character of IFS is used to create $*,
2922
# except with old shells:
2925
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2928
# The aliases save the names the user supplied, while $host etc.
2929
# will get canonicalized.
2930
test -n "$target_alias" &&
2931
test "$program_prefix$program_suffix$program_transform_name" = \
2933
program_prefix=${target_alias}-
2937
am__api_version='1.11'
2939
# Find a good install program. We prefer a C program (faster),
2940
# so one script is as good as another. But avoid the broken or
2941
# incompatible versions:
2942
# SysV /etc/install, /usr/sbin/install
2943
# SunOS /usr/etc/install
2944
# IRIX /sbin/install
2946
# AmigaOS /C/install, which installs bootblocks on floppy discs
2947
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2948
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2949
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2950
# OS/2's system install, which has a completely different semantic
2951
# ./install, which can be erroneously created by make from ./install.sh.
2952
# Reject install programs that cannot install multiple files.
2953
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2954
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2955
if test -z "$INSTALL"; then
2956
if ${ac_cv_path_install+:} false; then :
2957
$as_echo_n "(cached) " >&6
2959
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2963
test -z "$as_dir" && as_dir=.
2964
# Account for people who put trailing slashes in PATH elements.
2965
case $as_dir/ in #((
2966
./ | .// | /[cC]/* | \
2967
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2968
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2971
# OSF1 and SCO ODT 3.0 have their own names for install.
2972
# Don't use installbsd from OSF since it installs stuff as root
2974
for ac_prog in ginstall scoinst install; do
2975
for ac_exec_ext in '' $ac_executable_extensions; do
2976
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2977
if test $ac_prog = install &&
2978
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2979
# AIX install. It has an incompatible calling convention.
2981
elif test $ac_prog = install &&
2982
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2983
# program-specific install script used by HP pwplus--don't use.
2986
rm -rf conftest.one conftest.two conftest.dir
2987
echo one > conftest.one
2988
echo two > conftest.two
2990
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2991
test -s conftest.one && test -s conftest.two &&
2992
test -s conftest.dir/conftest.one &&
2993
test -s conftest.dir/conftest.two
2995
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3008
rm -rf conftest.one conftest.two conftest.dir
3011
if test "${ac_cv_path_install+set}" = set; then
3012
INSTALL=$ac_cv_path_install
3014
# As a last resort, use the slow shell script. Don't cache a
3015
# value for INSTALL within a source directory, because that will
3016
# break other packages using the cache if that directory is
3017
# removed, or if the value is a relative name.
3018
INSTALL=$ac_install_sh
3021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3022
$as_echo "$INSTALL" >&6; }
3024
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3025
# It thinks the first close brace ends the variable substitution.
3026
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3028
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3030
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3032
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3033
$as_echo_n "checking whether build environment is sane... " >&6; }
3036
echo timestamp > conftest.file
3037
# Reject unsafe characters in $srcdir or the absolute working directory
3038
# name. Accept space and tab only in the latter.
3042
*[\\\"\#\$\&\'\`$am_lf]*)
3043
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3046
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3047
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3050
# Do `set' in a subshell so we don't clobber the current shell's
3051
# arguments. Must try -L first in case configure is actually a
3052
# symlink; some systems play weird games with the mod time of symlinks
3053
# (eg FreeBSD returns the mod time of the symlink's containing
3056
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3057
if test "$*" = "X"; then
3059
set X `ls -t "$srcdir/configure" conftest.file`
3062
if test "$*" != "X $srcdir/configure conftest.file" \
3063
&& test "$*" != "X conftest.file $srcdir/configure"; then
3065
# If neither matched, then we have a broken ls. This can happen
3066
# if, for instance, CONFIG_SHELL is bash and it inherits a
3067
# broken ls alias from the environment. This has actually
3068
# happened. Such a system could not be considered "sane".
3069
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3070
alias in your environment" "$LINENO" 5
3073
test "$2" = conftest.file
3079
as_fn_error $? "newly created file is older than distributed files!
3080
Check your system clock" "$LINENO" 5
3082
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3083
$as_echo "yes" >&6; }
3084
test "$program_prefix" != NONE &&
3085
program_transform_name="s&^&$program_prefix&;$program_transform_name"
3086
# Use a double $ so make ignores it.
3087
test "$program_suffix" != NONE &&
3088
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3089
# Double any \ or $.
3090
# By default was `s,x,x', remove it if useless.
3091
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3092
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3094
# expand $ac_aux_dir to an absolute path
3095
am_aux_dir=`cd $ac_aux_dir && pwd`
3097
if test x"${MISSING+set}" != xset; then
3100
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3102
MISSING="\${SHELL} $am_aux_dir/missing" ;;
3105
# Use eval to expand $SHELL
3106
if eval "$MISSING --run true"; then
3107
am_missing_run="$MISSING --run "
3110
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3111
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3114
if test x"${install_sh}" != xset; then
3117
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3119
install_sh="\${SHELL} $am_aux_dir/install-sh"
3123
# Installed binaries are usually stripped using `strip' when the user
3124
# run `make install-strip'. However `strip' might not be the right
3125
# tool to use in cross-compilation environments, therefore Automake
3126
# will honor the `STRIP' environment variable to overrule this program.
3127
if test "$cross_compiling" != no; then
3128
if test -n "$ac_tool_prefix"; then
3129
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3130
set dummy ${ac_tool_prefix}strip; ac_word=$2
3131
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3132
$as_echo_n "checking for $ac_word... " >&6; }
3133
if ${ac_cv_prog_STRIP+:} false; then :
3134
$as_echo_n "(cached) " >&6
3136
if test -n "$STRIP"; then
3137
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3139
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3143
test -z "$as_dir" && as_dir=.
3144
for ac_exec_ext in '' $ac_executable_extensions; do
3145
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3146
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3147
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156
STRIP=$ac_cv_prog_STRIP
3157
if test -n "$STRIP"; then
3158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3159
$as_echo "$STRIP" >&6; }
3161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162
$as_echo "no" >&6; }
3167
if test -z "$ac_cv_prog_STRIP"; then
3169
# Extract the first word of "strip", so it can be a program name with args.
3170
set dummy strip; ac_word=$2
3171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3172
$as_echo_n "checking for $ac_word... " >&6; }
3173
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3174
$as_echo_n "(cached) " >&6
3176
if test -n "$ac_ct_STRIP"; then
3177
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3179
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3183
test -z "$as_dir" && as_dir=.
3184
for ac_exec_ext in '' $ac_executable_extensions; do
3185
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3186
ac_cv_prog_ac_ct_STRIP="strip"
3187
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3196
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3197
if test -n "$ac_ct_STRIP"; then
3198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3199
$as_echo "$ac_ct_STRIP" >&6; }
3201
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3202
$as_echo "no" >&6; }
3205
if test "x$ac_ct_STRIP" = x; then
3208
case $cross_compiling:$ac_tool_warned in
3210
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3211
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3212
ac_tool_warned=yes ;;
3217
STRIP="$ac_cv_prog_STRIP"
3221
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3224
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3225
if test -z "$MKDIR_P"; then
3226
if ${ac_cv_path_mkdir+:} false; then :
3227
$as_echo_n "(cached) " >&6
3229
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3230
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3233
test -z "$as_dir" && as_dir=.
3234
for ac_prog in mkdir gmkdir; do
3235
for ac_exec_ext in '' $ac_executable_extensions; do
3236
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3237
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3238
'mkdir (GNU coreutils) '* | \
3239
'mkdir (coreutils) '* | \
3240
'mkdir (fileutils) '4.1*)
3241
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3251
test -d ./--version && rmdir ./--version
3252
if test "${ac_cv_path_mkdir+set}" = set; then
3253
MKDIR_P="$ac_cv_path_mkdir -p"
3255
# As a last resort, use the slow shell script. Don't cache a
3256
# value for MKDIR_P within a source directory, because that will
3257
# break other packages using the cache if that directory is
3258
# removed, or if the value is a relative name.
3259
MKDIR_P="$ac_install_sh -d"
3262
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3263
$as_echo "$MKDIR_P" >&6; }
3267
[\\/$]* | ?:[\\/]*) ;;
3268
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3271
for ac_prog in gawk mawk nawk awk
3273
# Extract the first word of "$ac_prog", so it can be a program name with args.
3274
set dummy $ac_prog; ac_word=$2
3275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3276
$as_echo_n "checking for $ac_word... " >&6; }
3277
if ${ac_cv_prog_AWK+:} false; then :
3278
$as_echo_n "(cached) " >&6
3280
if test -n "$AWK"; then
3281
ac_cv_prog_AWK="$AWK" # Let the user override the test.
3283
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3287
test -z "$as_dir" && as_dir=.
3288
for ac_exec_ext in '' $ac_executable_extensions; do
3289
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3290
ac_cv_prog_AWK="$ac_prog"
3291
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3301
if test -n "$AWK"; then
3302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3303
$as_echo "$AWK" >&6; }
3305
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306
$as_echo "no" >&6; }
3310
test -n "$AWK" && break
3313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3314
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3316
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3317
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3318
$as_echo_n "(cached) " >&6
3320
cat >conftest.make <<\_ACEOF
3323
@echo '@@@%%%=$(MAKE)=@@@%%%'
3325
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3326
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3328
eval ac_cv_prog_make_${ac_make}_set=yes;;
3330
eval ac_cv_prog_make_${ac_make}_set=no;;
3334
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3335
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3336
$as_echo "yes" >&6; }
3339
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3340
$as_echo "no" >&6; }
3341
SET_MAKE="MAKE=${MAKE-make}"
3344
rm -rf .tst 2>/dev/null
3345
mkdir .tst 2>/dev/null
3346
if test -d .tst; then
3351
rmdir .tst 2>/dev/null
3353
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3354
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3355
# is not polluted with repeated "-I."
3356
am__isrc=' -I$(srcdir)'
3357
# test to see if srcdir already configured
3358
if test -f $srcdir/config.status; then
3359
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3363
# test whether we have cygpath
3364
if test -z "$CYGPATH_W"; then
3365
if (cygpath --version) >/dev/null 2>/dev/null; then
3366
CYGPATH_W='cygpath -w'
3373
# Define the identity of the package.
3378
cat >>confdefs.h <<_ACEOF
3379
#define PACKAGE "$PACKAGE"
3383
cat >>confdefs.h <<_ACEOF
3384
#define VERSION "$VERSION"
3387
# Some tools Automake needs.
3389
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3392
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3395
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3398
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3401
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3403
# We need awk for the "check" target. The system "awk" is bad on
3405
# Always define AMTAR for backward compatibility. Yes, it's still used
3406
# in the wild :-( We should find a proper way to deprecate it ...
3410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3411
$as_echo_n "checking how to create a ustar tar archive... " >&6; }
3412
# Loop over all known methods to create a tar archive until one works.
3413
_am_tools='gnutar plaintar pax cpio none'
3414
_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3415
# Do not fold the above two line into one, because Tru64 sh and
3416
# Solaris sh will not grok spaces in the rhs of `-'.
3417
for _am_tool in $_am_tools
3421
for _am_tar in tar gnutar gtar;
3423
{ echo "$as_me:$LINENO: $_am_tar --version" >&5
3424
($_am_tar --version) >&5 2>&5
3426
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427
(exit $ac_status); } && break
3429
am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3430
am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3431
am__untar="$_am_tar -xf -"
3434
# Must skip GNU tar: if it does not support --format= it doesn't create
3435
# ustar tarball either.
3436
(tar --version) >/dev/null 2>&1 && continue
3437
am__tar='tar chf - "$$tardir"'
3438
am__tar_='tar chf - "$tardir"'
3439
am__untar='tar xf -'
3442
am__tar='pax -L -x ustar -w "$$tardir"'
3443
am__tar_='pax -L -x ustar -w "$tardir"'
3447
am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3448
am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3449
am__untar='cpio -i -H ustar -d'
3458
# If the value was cached, stop now. We just wanted to have am__tar
3459
# and am__untar set.
3460
test -n "${am_cv_prog_tar_ustar}" && break
3462
# tar/untar a dummy directory, and stop if the command works
3465
echo GrepMe > conftest.dir/file
3466
{ echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3467
(tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3469
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3470
(exit $ac_status); }
3472
if test -s conftest.tar; then
3473
{ echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3474
($am__untar <conftest.tar) >&5 2>&5
3476
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477
(exit $ac_status); }
3478
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3483
if ${am_cv_prog_tar_ustar+:} false; then :
3484
$as_echo_n "(cached) " >&6
3486
am_cv_prog_tar_ustar=$_am_tool
3489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3490
$as_echo "$am_cv_prog_tar_ustar" >&6; }
3498
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3499
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3500
# Check whether --enable-maintainer-mode was given.
3501
if test "${enable_maintainer_mode+set}" = set; then :
3502
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3504
USE_MAINTAINER_MODE=yes
3507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3508
$as_echo "$USE_MAINTAINER_MODE" >&6; }
3509
if test $USE_MAINTAINER_MODE = yes; then
3510
MAINTAINER_MODE_TRUE=
3511
MAINTAINER_MODE_FALSE='#'
3513
MAINTAINER_MODE_TRUE='#'
3514
MAINTAINER_MODE_FALSE=
3517
MAINT=$MAINTAINER_MODE_TRUE
3520
ac_config_headers="$ac_config_headers config.h"
3523
# Check whether --enable-silent-rules was given.
3524
if test "${enable_silent_rules+set}" = set; then :
3525
enableval=$enable_silent_rules;
3528
case $enable_silent_rules in
3529
yes) AM_DEFAULT_VERBOSITY=0;;
3530
no) AM_DEFAULT_VERBOSITY=1;;
3531
*) AM_DEFAULT_VERBOSITY=0;;
3533
am_make=${MAKE-make}
3534
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3535
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3536
if ${am_cv_make_support_nested_variables+:} false; then :
3537
$as_echo_n "(cached) " >&6
3539
if $as_echo 'TRUE=$(BAR$(V))
3545
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3546
am_cv_make_support_nested_variables=yes
3548
am_cv_make_support_nested_variables=no
3551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3552
$as_echo "$am_cv_make_support_nested_variables" >&6; }
3553
if test $am_cv_make_support_nested_variables = yes; then
3555
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3557
AM_V=$AM_DEFAULT_VERBOSITY
3558
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3564
ac_cpp='$CXXCPP $CPPFLAGS'
3565
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3566
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3567
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3573
BUILD_TYPE=ReleaseCode
3576
PTLIB_REC_VERSION="2.10.10"
3577
OPAL_REC_VERSION="3.10.10"
3580
cat >>confdefs.h <<_ACEOF
3581
#define MAJOR_VERSION $MAJOR_VERSION
3585
cat >>confdefs.h <<_ACEOF
3586
#define MINOR_VERSION $MINOR_VERSION
3590
cat >>confdefs.h <<_ACEOF
3591
#define BUILD_TYPE $BUILD_TYPE
3595
cat >>confdefs.h <<_ACEOF
3596
#define BUILD_NUMBER $BUILD_NUMBER
3608
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3609
if test -n "$ac_tool_prefix"; then
3610
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3611
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3613
$as_echo_n "checking for $ac_word... " >&6; }
3614
if ${ac_cv_path_PKG_CONFIG+:} false; then :
3615
$as_echo_n "(cached) " >&6
3619
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3622
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3626
test -z "$as_dir" && as_dir=.
3627
for ac_exec_ext in '' $ac_executable_extensions; do
3628
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3629
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3630
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3640
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3641
if test -n "$PKG_CONFIG"; then
3642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3643
$as_echo "$PKG_CONFIG" >&6; }
3645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3646
$as_echo "no" >&6; }
3651
if test -z "$ac_cv_path_PKG_CONFIG"; then
3652
ac_pt_PKG_CONFIG=$PKG_CONFIG
3653
# Extract the first word of "pkg-config", so it can be a program name with args.
3654
set dummy pkg-config; ac_word=$2
3655
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3656
$as_echo_n "checking for $ac_word... " >&6; }
3657
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3658
$as_echo_n "(cached) " >&6
3660
case $ac_pt_PKG_CONFIG in
3662
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3665
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3669
test -z "$as_dir" && as_dir=.
3670
for ac_exec_ext in '' $ac_executable_extensions; do
3671
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3672
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3673
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3683
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3684
if test -n "$ac_pt_PKG_CONFIG"; then
3685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3686
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
3688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689
$as_echo "no" >&6; }
3692
if test "x$ac_pt_PKG_CONFIG" = x; then
3695
case $cross_compiling:$ac_tool_warned in
3697
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3698
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3699
ac_tool_warned=yes ;;
3701
PKG_CONFIG=$ac_pt_PKG_CONFIG
3704
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3708
if test -n "$PKG_CONFIG"; then
3709
_pkg_min_version=0.9.0
3710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3711
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3712
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3713
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3714
$as_echo "yes" >&6; }
3716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3717
$as_echo "no" >&6; }
3724
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3725
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3730
macro_version='2.4.2'
3731
macro_revision='1.3337'
3745
ltmain="$ac_aux_dir/ltmain.sh"
3747
# Backslashify metacharacters that are still active within
3748
# double-quoted strings.
3749
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3751
# Same as above, but do not quote variable references.
3752
double_quote_subst='s/\(["`\\]\)/\\\1/g'
3754
# Sed substitution to delay expansion of an escaped shell variable in a
3755
# double_quote_subst'ed string.
3756
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3758
# Sed substitution to delay expansion of an escaped single quote.
3759
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3761
# Sed substitution to avoid accidental globbing in evaled expressions
3762
no_glob_subst='s/\*/\\\*/g'
3764
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3765
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3766
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3768
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3769
$as_echo_n "checking how to print strings... " >&6; }
3770
# Test print first, because it will be a builtin if present.
3771
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3772
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3774
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3777
# Use this function as a fallback that always works.
3778
func_fallback_echo ()
3780
eval 'cat <<_LTECHO_EOF
3784
ECHO='func_fallback_echo'
3787
# func_echo_all arg...
3788
# Invoke $ECHO with all args, space-separated.
3795
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3796
$as_echo "printf" >&6; } ;;
3797
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3798
$as_echo "print -r" >&6; } ;;
3799
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3800
$as_echo "cat" >&6; } ;;
3816
DEPDIR="${am__leading_dot}deps"
3818
ac_config_commands="$ac_config_commands depfiles"
3821
am_make=${MAKE-make}
3822
cat > confinc << 'END'
3824
@echo this is the am__doit target
3827
# If we don't find an include directive, just comment out the code.
3828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3829
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3833
# First try GNU make style include.
3834
echo "include confinc" > confmf
3835
# Ignore all kinds of additional output from `make'.
3836
case `$am_make -s -f confmf 2> /dev/null` in #(
3837
*the\ am__doit\ target*)
3843
# Now try BSD make style include.
3844
if test "$am__include" = "#"; then
3845
echo '.include "confinc"' > confmf
3846
case `$am_make -s -f confmf 2> /dev/null` in #(
3847
*the\ am__doit\ target*)
3848
am__include=.include
3856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3857
$as_echo "$_am_result" >&6; }
3858
rm -f confinc confmf
3860
# Check whether --enable-dependency-tracking was given.
3861
if test "${enable_dependency_tracking+set}" = set; then :
3862
enableval=$enable_dependency_tracking;
3865
if test "x$enable_dependency_tracking" != xno; then
3866
am_depcomp="$ac_aux_dir/depcomp"
3870
if test "x$enable_dependency_tracking" != xno; then
3880
ac_cpp='$CPP $CPPFLAGS'
3881
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3882
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3883
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3884
if test -n "$ac_tool_prefix"; then
3885
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3886
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3888
$as_echo_n "checking for $ac_word... " >&6; }
3889
if ${ac_cv_prog_CC+:} false; then :
3890
$as_echo_n "(cached) " >&6
3892
if test -n "$CC"; then
3893
ac_cv_prog_CC="$CC" # Let the user override the test.
3895
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3899
test -z "$as_dir" && as_dir=.
3900
for ac_exec_ext in '' $ac_executable_extensions; do
3901
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3902
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3903
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3913
if test -n "$CC"; then
3914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3915
$as_echo "$CC" >&6; }
3917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3918
$as_echo "no" >&6; }
3923
if test -z "$ac_cv_prog_CC"; then
3925
# Extract the first word of "gcc", so it can be a program name with args.
3926
set dummy gcc; ac_word=$2
3927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3928
$as_echo_n "checking for $ac_word... " >&6; }
3929
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3930
$as_echo_n "(cached) " >&6
3932
if test -n "$ac_ct_CC"; then
3933
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3935
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3939
test -z "$as_dir" && as_dir=.
3940
for ac_exec_ext in '' $ac_executable_extensions; do
3941
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3942
ac_cv_prog_ac_ct_CC="gcc"
3943
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3952
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3953
if test -n "$ac_ct_CC"; then
3954
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3955
$as_echo "$ac_ct_CC" >&6; }
3957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3958
$as_echo "no" >&6; }
3961
if test "x$ac_ct_CC" = x; then
3964
case $cross_compiling:$ac_tool_warned in
3966
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3967
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3968
ac_tool_warned=yes ;;
3976
if test -z "$CC"; then
3977
if test -n "$ac_tool_prefix"; then
3978
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3979
set dummy ${ac_tool_prefix}cc; ac_word=$2
3980
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3981
$as_echo_n "checking for $ac_word... " >&6; }
3982
if ${ac_cv_prog_CC+:} false; then :
3983
$as_echo_n "(cached) " >&6
3985
if test -n "$CC"; then
3986
ac_cv_prog_CC="$CC" # Let the user override the test.
3988
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3992
test -z "$as_dir" && as_dir=.
3993
for ac_exec_ext in '' $ac_executable_extensions; do
3994
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3995
ac_cv_prog_CC="${ac_tool_prefix}cc"
3996
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4006
if test -n "$CC"; then
4007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4008
$as_echo "$CC" >&6; }
4010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4011
$as_echo "no" >&6; }
4017
if test -z "$CC"; then
4018
# Extract the first word of "cc", so it can be a program name with args.
4019
set dummy cc; ac_word=$2
4020
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4021
$as_echo_n "checking for $ac_word... " >&6; }
4022
if ${ac_cv_prog_CC+:} false; then :
4023
$as_echo_n "(cached) " >&6
4025
if test -n "$CC"; then
4026
ac_cv_prog_CC="$CC" # Let the user override the test.
4029
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4033
test -z "$as_dir" && as_dir=.
4034
for ac_exec_ext in '' $ac_executable_extensions; do
4035
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4036
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4037
ac_prog_rejected=yes
4041
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4048
if test $ac_prog_rejected = yes; then
4049
# We found a bogon in the path, so make sure we never use it.
4050
set dummy $ac_cv_prog_CC
4052
if test $# != 0; then
4053
# We chose a different compiler from the bogus one.
4054
# However, it has the same basename, so the bogon will be chosen
4055
# first if we set CC to just the basename; use the full file name.
4057
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4063
if test -n "$CC"; then
4064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4065
$as_echo "$CC" >&6; }
4067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4068
$as_echo "no" >&6; }
4073
if test -z "$CC"; then
4074
if test -n "$ac_tool_prefix"; then
4075
for ac_prog in cl.exe
4077
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4078
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4079
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4080
$as_echo_n "checking for $ac_word... " >&6; }
4081
if ${ac_cv_prog_CC+:} false; then :
4082
$as_echo_n "(cached) " >&6
4084
if test -n "$CC"; then
4085
ac_cv_prog_CC="$CC" # Let the user override the test.
4087
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4091
test -z "$as_dir" && as_dir=.
4092
for ac_exec_ext in '' $ac_executable_extensions; do
4093
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4094
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4095
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4105
if test -n "$CC"; then
4106
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4107
$as_echo "$CC" >&6; }
4109
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4110
$as_echo "no" >&6; }
4114
test -n "$CC" && break
4117
if test -z "$CC"; then
4119
for ac_prog in cl.exe
4121
# Extract the first word of "$ac_prog", so it can be a program name with args.
4122
set dummy $ac_prog; ac_word=$2
4123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4124
$as_echo_n "checking for $ac_word... " >&6; }
4125
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4126
$as_echo_n "(cached) " >&6
4128
if test -n "$ac_ct_CC"; then
4129
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4131
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4135
test -z "$as_dir" && as_dir=.
4136
for ac_exec_ext in '' $ac_executable_extensions; do
4137
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4138
ac_cv_prog_ac_ct_CC="$ac_prog"
4139
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4148
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4149
if test -n "$ac_ct_CC"; then
4150
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4151
$as_echo "$ac_ct_CC" >&6; }
4153
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4154
$as_echo "no" >&6; }
4158
test -n "$ac_ct_CC" && break
4161
if test "x$ac_ct_CC" = x; then
4164
case $cross_compiling:$ac_tool_warned in
4166
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4167
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4168
ac_tool_warned=yes ;;
4177
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4178
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4179
as_fn_error $? "no acceptable C compiler found in \$PATH
4180
See \`config.log' for more details" "$LINENO" 5; }
4182
# Provide some information about the compiler.
4183
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4186
for ac_option in --version -v -V -qversion; do
4187
{ { ac_try="$ac_compiler $ac_option >&5"
4189
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4190
*) ac_try_echo=$ac_try;;
4192
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4193
$as_echo "$ac_try_echo"; } >&5
4194
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4196
if test -s conftest.err; then
4198
... rest of stderr output deleted ...
4199
10q' conftest.err >conftest.er1
4200
cat conftest.er1 >&5
4202
rm -f conftest.er1 conftest.err
4203
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4204
test $ac_status = 0; }
4207
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208
/* end confdefs.h. */
4218
ac_clean_files_save=$ac_clean_files
4219
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4220
# Try to create an executable without -o first, disregard a.out.
4221
# It will help us diagnose broken compilers, and finding out an intuition
4223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4224
$as_echo_n "checking whether the C compiler works... " >&6; }
4225
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4227
# The possible output files:
4228
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4231
for ac_file in $ac_files
4234
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4235
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
4240
if { { ac_try="$ac_link_default"
4242
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4243
*) ac_try_echo=$ac_try;;
4245
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4246
$as_echo "$ac_try_echo"; } >&5
4247
(eval "$ac_link_default") 2>&5
4249
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4250
test $ac_status = 0; }; then :
4251
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4252
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4253
# in a Makefile. We should not override ac_cv_exeext if it was cached,
4254
# so that the user can short-circuit this test for compilers unknown to
4256
for ac_file in $ac_files ''
4258
test -f "$ac_file" || continue
4260
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4263
# We found the default executable, but exeext='' is most
4267
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4269
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4271
# We set ac_cv_exeext here because the later test for it is not
4272
# safe: cross compilers may not add the suffix if given an `-o'
4273
# argument, so we may need to know it at that point already.
4274
# Even if this section looks crufty: it has the advantage of
4281
test "$ac_cv_exeext" = no && ac_cv_exeext=
4286
if test -z "$ac_file"; then :
4287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4288
$as_echo "no" >&6; }
4289
$as_echo "$as_me: failed program was:" >&5
4290
sed 's/^/| /' conftest.$ac_ext >&5
4292
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4293
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4294
as_fn_error 77 "C compiler cannot create executables
4295
See \`config.log' for more details" "$LINENO" 5; }
4297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4298
$as_echo "yes" >&6; }
4300
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4301
$as_echo_n "checking for C compiler default output file name... " >&6; }
4302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4303
$as_echo "$ac_file" >&6; }
4304
ac_exeext=$ac_cv_exeext
4306
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4307
ac_clean_files=$ac_clean_files_save
4308
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4309
$as_echo_n "checking for suffix of executables... " >&6; }
4310
if { { ac_try="$ac_link"
4312
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4313
*) ac_try_echo=$ac_try;;
4315
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4316
$as_echo "$ac_try_echo"; } >&5
4317
(eval "$ac_link") 2>&5
4319
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4320
test $ac_status = 0; }; then :
4321
# If both `conftest.exe' and `conftest' are `present' (well, observable)
4322
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4323
# work properly (i.e., refer to `conftest.exe'), while it won't with
4325
for ac_file in conftest.exe conftest conftest.*; do
4326
test -f "$ac_file" || continue
4328
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4329
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4335
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4336
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4337
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4338
See \`config.log' for more details" "$LINENO" 5; }
4340
rm -f conftest conftest$ac_cv_exeext
4341
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4342
$as_echo "$ac_cv_exeext" >&6; }
4344
rm -f conftest.$ac_ext
4345
EXEEXT=$ac_cv_exeext
4347
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4348
/* end confdefs.h. */
4353
FILE *f = fopen ("conftest.out", "w");
4354
return ferror (f) || fclose (f) != 0;
4360
ac_clean_files="$ac_clean_files conftest.out"
4361
# Check that the compiler produces executables we can run. If not, either
4362
# the compiler is broken, or we cross compile.
4363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4364
$as_echo_n "checking whether we are cross compiling... " >&6; }
4365
if test "$cross_compiling" != yes; then
4366
{ { ac_try="$ac_link"
4368
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4369
*) ac_try_echo=$ac_try;;
4371
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4372
$as_echo "$ac_try_echo"; } >&5
4373
(eval "$ac_link") 2>&5
4375
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4376
test $ac_status = 0; }
4377
if { ac_try='./conftest$ac_cv_exeext'
4378
{ { case "(($ac_try" in
4379
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4380
*) ac_try_echo=$ac_try;;
4382
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4383
$as_echo "$ac_try_echo"; } >&5
4384
(eval "$ac_try") 2>&5
4386
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4387
test $ac_status = 0; }; }; then
4390
if test "$cross_compiling" = maybe; then
4393
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4394
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4395
as_fn_error $? "cannot run C compiled programs.
4396
If you meant to cross compile, use \`--host'.
4397
See \`config.log' for more details" "$LINENO" 5; }
4401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4402
$as_echo "$cross_compiling" >&6; }
4404
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4405
ac_clean_files=$ac_clean_files_save
4406
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4407
$as_echo_n "checking for suffix of object files... " >&6; }
4408
if ${ac_cv_objext+:} false; then :
4409
$as_echo_n "(cached) " >&6
4411
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4412
/* end confdefs.h. */
4422
rm -f conftest.o conftest.obj
4423
if { { ac_try="$ac_compile"
4425
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4426
*) ac_try_echo=$ac_try;;
4428
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4429
$as_echo "$ac_try_echo"; } >&5
4430
(eval "$ac_compile") 2>&5
4432
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4433
test $ac_status = 0; }; then :
4434
for ac_file in conftest.o conftest.obj conftest.*; do
4435
test -f "$ac_file" || continue;
4437
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4438
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4443
$as_echo "$as_me: failed program was:" >&5
4444
sed 's/^/| /' conftest.$ac_ext >&5
4446
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4447
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4448
as_fn_error $? "cannot compute suffix of object files: cannot compile
4449
See \`config.log' for more details" "$LINENO" 5; }
4451
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4454
$as_echo "$ac_cv_objext" >&6; }
4455
OBJEXT=$ac_cv_objext
4457
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4458
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4459
if ${ac_cv_c_compiler_gnu+:} false; then :
4460
$as_echo_n "(cached) " >&6
4462
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4463
/* end confdefs.h. */
4476
if ac_fn_c_try_compile "$LINENO"; then :
4481
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4482
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4485
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4486
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4487
if test $ac_compiler_gnu = yes; then
4492
ac_test_CFLAGS=${CFLAGS+set}
4493
ac_save_CFLAGS=$CFLAGS
4494
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4495
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4496
if ${ac_cv_prog_cc_g+:} false; then :
4497
$as_echo_n "(cached) " >&6
4499
ac_save_c_werror_flag=$ac_c_werror_flag
4500
ac_c_werror_flag=yes
4503
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4504
/* end confdefs.h. */
4514
if ac_fn_c_try_compile "$LINENO"; then :
4518
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4519
/* end confdefs.h. */
4529
if ac_fn_c_try_compile "$LINENO"; then :
4532
ac_c_werror_flag=$ac_save_c_werror_flag
4534
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535
/* end confdefs.h. */
4545
if ac_fn_c_try_compile "$LINENO"; then :
4548
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4550
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4552
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4553
ac_c_werror_flag=$ac_save_c_werror_flag
4555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4556
$as_echo "$ac_cv_prog_cc_g" >&6; }
4557
if test "$ac_test_CFLAGS" = set; then
4558
CFLAGS=$ac_save_CFLAGS
4559
elif test $ac_cv_prog_cc_g = yes; then
4560
if test "$GCC" = yes; then
4566
if test "$GCC" = yes; then
4572
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4573
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4574
if ${ac_cv_prog_cc_c89+:} false; then :
4575
$as_echo_n "(cached) " >&6
4577
ac_cv_prog_cc_c89=no
4579
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4580
/* end confdefs.h. */
4584
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4585
struct buf { int x; };
4586
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4587
static char *e (p, i)
4593
static char *f (char * (*g) (char **, int), char **p, ...)
4598
s = g (p, va_arg (v,int));
4603
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4604
function prototypes and stuff, but not '\xHH' hex character constants.
4605
These don't provoke an error unfortunately, instead are silently treated
4606
as 'x'. The following induces an error, until -std is added to get
4607
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4608
array size at least. It's necessary to write '\x00'==0 to get something
4609
that's true only with -std. */
4610
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4612
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4613
inside strings and character constants. */
4615
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4617
int test (int i, double x);
4618
struct s1 {int (*f) (int a);};
4619
struct s2 {int (*f) (double a);};
4620
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4626
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4631
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4632
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4634
CC="$ac_save_CC $ac_arg"
4635
if ac_fn_c_try_compile "$LINENO"; then :
4636
ac_cv_prog_cc_c89=$ac_arg
4638
rm -f core conftest.err conftest.$ac_objext
4639
test "x$ac_cv_prog_cc_c89" != "xno" && break
4641
rm -f conftest.$ac_ext
4646
case "x$ac_cv_prog_cc_c89" in
4648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4649
$as_echo "none needed" >&6; } ;;
4651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4652
$as_echo "unsupported" >&6; } ;;
4654
CC="$CC $ac_cv_prog_cc_c89"
4655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4656
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4658
if test "x$ac_cv_prog_cc_c89" != xno; then :
4663
ac_cpp='$CXXCPP $CPPFLAGS'
4664
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4665
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4666
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4668
depcc="$CC" am_compiler_list=
4670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4671
$as_echo_n "checking dependency style of $depcc... " >&6; }
4672
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4673
$as_echo_n "(cached) " >&6
4675
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4676
# We make a subdir and do the tests there. Otherwise we can end up
4677
# making bogus files that we don't know about and never remove. For
4678
# instance it was reported that on HP-UX the gcc test will end up
4679
# making a dummy file named `D' -- because `-MD' means `put the output
4683
# Copy depcomp to subdir because otherwise we won't find it if we're
4684
# using a relative directory.
4685
cp "$am_depcomp" conftest.dir
4687
# We will build objects and dependencies in a subdirectory because
4688
# it helps to detect inapplicable dependency modes. For instance
4689
# both Tru64's cc and ICC support -MD to output dependencies as a
4690
# side effect of compilation, but ICC will put the dependencies in
4691
# the current directory while Tru64 will put them in the object
4695
am_cv_CC_dependencies_compiler_type=none
4696
if test "$am_compiler_list" = ""; then
4697
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4700
case " $depcc " in #(
4701
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4704
for depmode in $am_compiler_list; do
4705
# Setup a source with many dependencies, because some compilers
4706
# like to wrap large dependency lists on column 80 (with \), and
4707
# we should not choose a depcomp mode which is confused by this.
4709
# We need to recreate these files for each test, as the compiler may
4710
# overwrite some of them when testing with obscure command lines.
4711
# This happens at least with the AIX C compiler.
4713
for i in 1 2 3 4 5 6; do
4714
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4715
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4716
# Solaris 8's {/usr,}/bin/sh.
4717
touch sub/conftst$i.h
4719
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4721
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4722
# mode. It turns out that the SunPro C++ compiler does not properly
4723
# handle `-M -o', and we need to detect this. Also, some Intel
4724
# versions had trouble with output in subdirs
4725
am__obj=sub/conftest.${OBJEXT-o}
4726
am__minus_obj="-o $am__obj"
4729
# This depmode causes a compiler race in universal mode.
4730
test "$am__universal" = false || continue
4733
# after this tag, mechanisms are not by side-effect, so they'll
4734
# only be used when explicitly requested
4735
if test "x$enable_dependency_tracking" = xyes; then
4741
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4742
# This compiler won't grok `-c -o', but also, the minuso test has
4743
# not run yet. These depmodes are late enough in the game, and
4744
# so weak that their functioning should not be impacted.
4745
am__obj=conftest.${OBJEXT-o}
4750
if depmode=$depmode \
4751
source=sub/conftest.c object=$am__obj \
4752
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4753
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4754
>/dev/null 2>conftest.err &&
4755
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4756
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4757
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4758
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4759
# icc doesn't choke on unknown options, it will just issue warnings
4760
# or remarks (even with -Werror). So we grep stderr for any message
4761
# that says an option was ignored or not supported.
4762
# When given -MP, icc 7.0 and 7.1 complain thusly:
4763
# icc: Command line warning: ignoring option '-M'; no argument required
4764
# The diagnosis changed in icc 8.0:
4765
# icc: Command line remark: option '-MP' not supported
4766
if (grep 'ignoring option' conftest.err ||
4767
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4768
am_cv_CC_dependencies_compiler_type=$depmode
4777
am_cv_CC_dependencies_compiler_type=none
4781
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4782
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4783
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4786
test "x$enable_dependency_tracking" != xno \
4787
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4789
am__fastdepCC_FALSE='#'
4791
am__fastdepCC_TRUE='#'
4792
am__fastdepCC_FALSE=
4796
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4797
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4798
if ${ac_cv_path_SED+:} false; then :
4799
$as_echo_n "(cached) " >&6
4801
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4802
for ac_i in 1 2 3 4 5 6 7; do
4803
ac_script="$ac_script$as_nl$ac_script"
4805
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4806
{ ac_script=; unset ac_script;}
4807
if test -z "$SED"; then
4808
ac_path_SED_found=false
4809
# Loop through the user's path and test for each of PROGNAME-LIST
4810
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4814
test -z "$as_dir" && as_dir=.
4815
for ac_prog in sed gsed; do
4816
for ac_exec_ext in '' $ac_executable_extensions; do
4817
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4818
as_fn_executable_p "$ac_path_SED" || continue
4819
# Check for GNU ac_path_SED and select it if it is found.
4820
# Check for GNU $ac_path_SED
4821
case `"$ac_path_SED" --version 2>&1` in
4823
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4826
$as_echo_n 0123456789 >"conftest.in"
4829
cat "conftest.in" "conftest.in" >"conftest.tmp"
4830
mv "conftest.tmp" "conftest.in"
4831
cp "conftest.in" "conftest.nl"
4832
$as_echo '' >> "conftest.nl"
4833
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4834
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4835
as_fn_arith $ac_count + 1 && ac_count=$as_val
4836
if test $ac_count -gt ${ac_path_SED_max-0}; then
4837
# Best one so far, save it but keep looking for a better one
4838
ac_cv_path_SED="$ac_path_SED"
4839
ac_path_SED_max=$ac_count
4841
# 10*(2^10) chars as input seems more than enough
4842
test $ac_count -gt 10 && break
4844
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4847
$ac_path_SED_found && break 3
4852
if test -z "$ac_cv_path_SED"; then
4853
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4860
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4861
$as_echo "$ac_cv_path_SED" >&6; }
4862
SED="$ac_cv_path_SED"
4865
test -z "$SED" && SED=sed
4866
Xsed="$SED -e 1s/^X//"
4878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4879
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4880
if ${ac_cv_path_GREP+:} false; then :
4881
$as_echo_n "(cached) " >&6
4883
if test -z "$GREP"; then
4884
ac_path_GREP_found=false
4885
# Loop through the user's path and test for each of PROGNAME-LIST
4886
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4887
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4890
test -z "$as_dir" && as_dir=.
4891
for ac_prog in grep ggrep; do
4892
for ac_exec_ext in '' $ac_executable_extensions; do
4893
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4894
as_fn_executable_p "$ac_path_GREP" || continue
4895
# Check for GNU ac_path_GREP and select it if it is found.
4896
# Check for GNU $ac_path_GREP
4897
case `"$ac_path_GREP" --version 2>&1` in
4899
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4902
$as_echo_n 0123456789 >"conftest.in"
4905
cat "conftest.in" "conftest.in" >"conftest.tmp"
4906
mv "conftest.tmp" "conftest.in"
4907
cp "conftest.in" "conftest.nl"
4908
$as_echo 'GREP' >> "conftest.nl"
4909
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4910
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4911
as_fn_arith $ac_count + 1 && ac_count=$as_val
4912
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4913
# Best one so far, save it but keep looking for a better one
4914
ac_cv_path_GREP="$ac_path_GREP"
4915
ac_path_GREP_max=$ac_count
4917
# 10*(2^10) chars as input seems more than enough
4918
test $ac_count -gt 10 && break
4920
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4923
$ac_path_GREP_found && break 3
4928
if test -z "$ac_cv_path_GREP"; then
4929
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4932
ac_cv_path_GREP=$GREP
4936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4937
$as_echo "$ac_cv_path_GREP" >&6; }
4938
GREP="$ac_cv_path_GREP"
4941
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4942
$as_echo_n "checking for egrep... " >&6; }
4943
if ${ac_cv_path_EGREP+:} false; then :
4944
$as_echo_n "(cached) " >&6
4946
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4947
then ac_cv_path_EGREP="$GREP -E"
4949
if test -z "$EGREP"; then
4950
ac_path_EGREP_found=false
4951
# Loop through the user's path and test for each of PROGNAME-LIST
4952
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4953
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4956
test -z "$as_dir" && as_dir=.
4957
for ac_prog in egrep; do
4958
for ac_exec_ext in '' $ac_executable_extensions; do
4959
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4960
as_fn_executable_p "$ac_path_EGREP" || continue
4961
# Check for GNU ac_path_EGREP and select it if it is found.
4962
# Check for GNU $ac_path_EGREP
4963
case `"$ac_path_EGREP" --version 2>&1` in
4965
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4968
$as_echo_n 0123456789 >"conftest.in"
4971
cat "conftest.in" "conftest.in" >"conftest.tmp"
4972
mv "conftest.tmp" "conftest.in"
4973
cp "conftest.in" "conftest.nl"
4974
$as_echo 'EGREP' >> "conftest.nl"
4975
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4976
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4977
as_fn_arith $ac_count + 1 && ac_count=$as_val
4978
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4979
# Best one so far, save it but keep looking for a better one
4980
ac_cv_path_EGREP="$ac_path_EGREP"
4981
ac_path_EGREP_max=$ac_count
4983
# 10*(2^10) chars as input seems more than enough
4984
test $ac_count -gt 10 && break
4986
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4989
$ac_path_EGREP_found && break 3
4994
if test -z "$ac_cv_path_EGREP"; then
4995
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4998
ac_cv_path_EGREP=$EGREP
5003
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5004
$as_echo "$ac_cv_path_EGREP" >&6; }
5005
EGREP="$ac_cv_path_EGREP"
5008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5009
$as_echo_n "checking for fgrep... " >&6; }
5010
if ${ac_cv_path_FGREP+:} false; then :
5011
$as_echo_n "(cached) " >&6
5013
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5014
then ac_cv_path_FGREP="$GREP -F"
5016
if test -z "$FGREP"; then
5017
ac_path_FGREP_found=false
5018
# Loop through the user's path and test for each of PROGNAME-LIST
5019
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5020
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5023
test -z "$as_dir" && as_dir=.
5024
for ac_prog in fgrep; do
5025
for ac_exec_ext in '' $ac_executable_extensions; do
5026
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5027
as_fn_executable_p "$ac_path_FGREP" || continue
5028
# Check for GNU ac_path_FGREP and select it if it is found.
5029
# Check for GNU $ac_path_FGREP
5030
case `"$ac_path_FGREP" --version 2>&1` in
5032
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5035
$as_echo_n 0123456789 >"conftest.in"
5038
cat "conftest.in" "conftest.in" >"conftest.tmp"
5039
mv "conftest.tmp" "conftest.in"
5040
cp "conftest.in" "conftest.nl"
5041
$as_echo 'FGREP' >> "conftest.nl"
5042
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5043
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5044
as_fn_arith $ac_count + 1 && ac_count=$as_val
5045
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5046
# Best one so far, save it but keep looking for a better one
5047
ac_cv_path_FGREP="$ac_path_FGREP"
5048
ac_path_FGREP_max=$ac_count
5050
# 10*(2^10) chars as input seems more than enough
5051
test $ac_count -gt 10 && break
5053
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5056
$ac_path_FGREP_found && break 3
5061
if test -z "$ac_cv_path_FGREP"; then
5062
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5065
ac_cv_path_FGREP=$FGREP
5070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5071
$as_echo "$ac_cv_path_FGREP" >&6; }
5072
FGREP="$ac_cv_path_FGREP"
5075
test -z "$GREP" && GREP=grep
5095
# Check whether --with-gnu-ld was given.
5096
if test "${with_gnu_ld+set}" = set; then :
5097
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5103
if test "$GCC" = yes; then
5104
# Check if gcc -print-prog-name=ld gives a path.
5105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5106
$as_echo_n "checking for ld used by $CC... " >&6; }
5109
# gcc leaves a trailing carriage return which upsets mingw
5110
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5112
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5115
# Accept absolute paths.
5117
re_direlt='/[^/][^/]*/\.\./'
5118
# Canonicalize the pathname of ld
5119
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5120
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5121
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5123
test -z "$LD" && LD="$ac_prog"
5126
# If it fails, then pretend we aren't using GCC.
5130
# If it is relative, then search for the first ld in PATH.
5134
elif test "$with_gnu_ld" = yes; then
5135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5136
$as_echo_n "checking for GNU ld... " >&6; }
5138
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5139
$as_echo_n "checking for non-GNU ld... " >&6; }
5141
if ${lt_cv_path_LD+:} false; then :
5142
$as_echo_n "(cached) " >&6
5144
if test -z "$LD"; then
5145
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5146
for ac_dir in $PATH; do
5148
test -z "$ac_dir" && ac_dir=.
5149
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5150
lt_cv_path_LD="$ac_dir/$ac_prog"
5151
# Check to see if the program is GNU ld. I'd rather use --version,
5152
# but apparently some variants of GNU ld only accept -v.
5153
# Break only if it was the GNU/non-GNU ld that we prefer.
5154
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5155
*GNU* | *'with BFD'*)
5156
test "$with_gnu_ld" != no && break
5159
test "$with_gnu_ld" != yes && break
5166
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5171
if test -n "$LD"; then
5172
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5173
$as_echo "$LD" >&6; }
5175
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176
$as_echo "no" >&6; }
5178
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5180
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5181
if ${lt_cv_prog_gnu_ld+:} false; then :
5182
$as_echo_n "(cached) " >&6
5184
# I'd rather use --version here, but apparently some GNU lds only accept -v.
5185
case `$LD -v 2>&1 </dev/null` in
5186
*GNU* | *'with BFD'*)
5187
lt_cv_prog_gnu_ld=yes
5190
lt_cv_prog_gnu_ld=no
5194
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5195
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5196
with_gnu_ld=$lt_cv_prog_gnu_ld
5206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5207
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5208
if ${lt_cv_path_NM+:} false; then :
5209
$as_echo_n "(cached) " >&6
5211
if test -n "$NM"; then
5212
# Let the user override the test.
5215
lt_nm_to_check="${ac_tool_prefix}nm"
5216
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5217
lt_nm_to_check="$lt_nm_to_check nm"
5219
for lt_tmp_nm in $lt_nm_to_check; do
5220
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5221
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5223
test -z "$ac_dir" && ac_dir=.
5224
tmp_nm="$ac_dir/$lt_tmp_nm"
5225
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5226
# Check to see if the nm accepts a BSD-compat flag.
5227
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5228
# nm: unknown option "B" ignored
5229
# Tru64's nm complains that /dev/null is an invalid object file
5230
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5231
*/dev/null* | *'Invalid file or object type'*)
5232
lt_cv_path_NM="$tmp_nm -B"
5236
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5238
lt_cv_path_NM="$tmp_nm -p"
5242
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5243
continue # so that we can try to find one that supports BSD flags
5252
: ${lt_cv_path_NM=no}
5255
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5256
$as_echo "$lt_cv_path_NM" >&6; }
5257
if test "$lt_cv_path_NM" != "no"; then
5260
# Didn't find any BSD compatible name lister, look for dumpbin.
5261
if test -n "$DUMPBIN"; then :
5262
# Let the user override the test.
5264
if test -n "$ac_tool_prefix"; then
5265
for ac_prog in dumpbin "link -dump"
5267
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5268
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5270
$as_echo_n "checking for $ac_word... " >&6; }
5271
if ${ac_cv_prog_DUMPBIN+:} false; then :
5272
$as_echo_n "(cached) " >&6
5274
if test -n "$DUMPBIN"; then
5275
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5277
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5281
test -z "$as_dir" && as_dir=.
5282
for ac_exec_ext in '' $ac_executable_extensions; do
5283
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5284
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5285
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5294
DUMPBIN=$ac_cv_prog_DUMPBIN
5295
if test -n "$DUMPBIN"; then
5296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5297
$as_echo "$DUMPBIN" >&6; }
5299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5300
$as_echo "no" >&6; }
5304
test -n "$DUMPBIN" && break
5307
if test -z "$DUMPBIN"; then
5308
ac_ct_DUMPBIN=$DUMPBIN
5309
for ac_prog in dumpbin "link -dump"
5311
# Extract the first word of "$ac_prog", so it can be a program name with args.
5312
set dummy $ac_prog; ac_word=$2
5313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5314
$as_echo_n "checking for $ac_word... " >&6; }
5315
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5316
$as_echo_n "(cached) " >&6
5318
if test -n "$ac_ct_DUMPBIN"; then
5319
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5321
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5325
test -z "$as_dir" && as_dir=.
5326
for ac_exec_ext in '' $ac_executable_extensions; do
5327
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5328
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5329
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5338
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5339
if test -n "$ac_ct_DUMPBIN"; then
5340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5341
$as_echo "$ac_ct_DUMPBIN" >&6; }
5343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5344
$as_echo "no" >&6; }
5348
test -n "$ac_ct_DUMPBIN" && break
5351
if test "x$ac_ct_DUMPBIN" = x; then
5354
case $cross_compiling:$ac_tool_warned in
5356
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5357
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5358
ac_tool_warned=yes ;;
5360
DUMPBIN=$ac_ct_DUMPBIN
5364
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5366
DUMPBIN="$DUMPBIN -symbols"
5374
if test "$DUMPBIN" != ":"; then
5378
test -z "$NM" && NM=nm
5385
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5386
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5387
if ${lt_cv_nm_interface+:} false; then :
5388
$as_echo_n "(cached) " >&6
5390
lt_cv_nm_interface="BSD nm"
5391
echo "int some_variable = 0;" > conftest.$ac_ext
5392
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5393
(eval "$ac_compile" 2>conftest.err)
5394
cat conftest.err >&5
5395
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5396
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5397
cat conftest.err >&5
5398
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
5399
cat conftest.out >&5
5400
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5401
lt_cv_nm_interface="MS dumpbin"
5405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5406
$as_echo "$lt_cv_nm_interface" >&6; }
5408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5409
$as_echo_n "checking whether ln -s works... " >&6; }
5411
if test "$LN_S" = "ln -s"; then
5412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5413
$as_echo "yes" >&6; }
5415
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5416
$as_echo "no, using $LN_S" >&6; }
5419
# find the maximum length of command line arguments
5420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5421
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5422
if ${lt_cv_sys_max_cmd_len+:} false; then :
5423
$as_echo_n "(cached) " >&6
5430
# On DJGPP, this test can blow up pretty badly due to problems in libc
5431
# (any single argument exceeding 2000 bytes causes a buffer overrun
5432
# during glob expansion). Even if it were fixed, the result of this
5433
# check would be larger than it should be.
5434
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5438
# Under GNU Hurd, this test is not required because there is
5439
# no limit to the length of command line arguments.
5440
# Libtool will interpret -1 as no limit whatsoever
5441
lt_cv_sys_max_cmd_len=-1;
5444
cygwin* | mingw* | cegcc*)
5445
# On Win9x/ME, this test blows up -- it succeeds, but takes
5446
# about 5 minutes as the teststring grows exponentially.
5447
# Worse, since 9x/ME are not pre-emptively multitasking,
5448
# you end up with a "frozen" computer, even though with patience
5449
# the test eventually succeeds (with a max line length of 256k).
5450
# Instead, let's just punt: use the minimum linelength reported by
5451
# all of the supported platforms: 8192 (on NT/2K/XP).
5452
lt_cv_sys_max_cmd_len=8192;
5456
# On MiNT this can take a long time and run out of memory.
5457
lt_cv_sys_max_cmd_len=8192;
5461
# On AmigaOS with pdksh, this test takes hours, literally.
5462
# So we just punt and use a minimum line length of 8192.
5463
lt_cv_sys_max_cmd_len=8192;
5466
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5467
# This has been around since 386BSD, at least. Likely further.
5468
if test -x /sbin/sysctl; then
5469
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5470
elif test -x /usr/sbin/sysctl; then
5471
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5473
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5475
# And add a safety zone
5476
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5477
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5481
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5482
lt_cv_sys_max_cmd_len=196608
5486
# The test takes a long time on OS/2.
5487
lt_cv_sys_max_cmd_len=8192
5491
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5492
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5493
# nice to cause kernel panics so lets avoid the loop below.
5494
# First set a reasonable default.
5495
lt_cv_sys_max_cmd_len=16384
5497
if test -x /sbin/sysconfig; then
5498
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5499
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5504
lt_cv_sys_max_cmd_len=102400
5506
sysv5* | sco5v6* | sysv4.2uw2*)
5507
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5508
if test -n "$kargmax"; then
5509
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5511
lt_cv_sys_max_cmd_len=32768
5515
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5516
if test -n "$lt_cv_sys_max_cmd_len" && \
5517
test undefined != "$lt_cv_sys_max_cmd_len"; then
5518
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5519
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5521
# Make teststring a little bigger before we do anything with it.
5522
# a 1K string should be a reasonable start.
5523
for i in 1 2 3 4 5 6 7 8 ; do
5524
teststring=$teststring$teststring
5526
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5527
# If test is not a shell built-in, we'll probably end up computing a
5528
# maximum length that is only half of the actual maximum length, but
5530
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5531
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
5532
test $i != 17 # 1/2 MB should be enough
5535
teststring=$teststring$teststring
5537
# Only check the string length outside the loop.
5538
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5540
# Add a significant safety factor because C++ compilers can tack on
5541
# massive amounts of additional arguments before passing them to the
5542
# linker. It appears as though 1/2 is a usable value.
5543
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5550
if test -n $lt_cv_sys_max_cmd_len ; then
5551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5552
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5555
$as_echo "none" >&6; }
5557
max_cmd_len=$lt_cv_sys_max_cmd_len
5568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5569
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5570
# Try some XSI features
5573
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5575
&& eval 'test $(( 1 + 1 )) -eq 2 \
5576
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5578
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5579
$as_echo "$xsi_shell" >&6; }
5582
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5583
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5585
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5587
&& lt_shell_append=yes
5588
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5589
$as_echo "$lt_shell_append" >&6; }
5592
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5602
# test EBCDIC or ASCII
5603
case `echo X|tr X '\101'` in
5604
A) # ASCII based system
5605
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5606
lt_SP2NL='tr \040 \012'
5607
lt_NL2SP='tr \015\012 \040\040'
5609
*) # EBCDIC based system
5610
lt_SP2NL='tr \100 \n'
5611
lt_NL2SP='tr \r\n \100\100'
5623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5624
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5625
if ${lt_cv_to_host_file_cmd+:} false; then :
5626
$as_echo_n "(cached) " >&6
5631
*-*-mingw* ) # actually msys
5632
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5635
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5637
* ) # otherwise, assume *nix
5638
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5644
*-*-mingw* ) # actually msys
5645
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5648
lt_cv_to_host_file_cmd=func_convert_file_noop
5650
* ) # otherwise, assume *nix
5651
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5655
* ) # unhandled hosts (and "normal" native builds)
5656
lt_cv_to_host_file_cmd=func_convert_file_noop
5662
to_host_file_cmd=$lt_cv_to_host_file_cmd
5663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5664
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5671
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5672
if ${lt_cv_to_tool_file_cmd+:} false; then :
5673
$as_echo_n "(cached) " >&6
5675
#assume ordinary cross tools, or native build.
5676
lt_cv_to_tool_file_cmd=func_convert_file_noop
5680
*-*-mingw* ) # actually msys
5681
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5689
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5691
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5698
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5699
if ${lt_cv_ld_reload_flag+:} false; then :
5700
$as_echo_n "(cached) " >&6
5702
lt_cv_ld_reload_flag='-r'
5704
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5705
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5706
reload_flag=$lt_cv_ld_reload_flag
5707
case $reload_flag in
5709
*) reload_flag=" $reload_flag" ;;
5711
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5713
cygwin* | mingw* | pw32* | cegcc*)
5714
if test "$GCC" != yes; then
5719
if test "$GCC" = yes; then
5720
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5722
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5735
if test -n "$ac_tool_prefix"; then
5736
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5737
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5738
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5739
$as_echo_n "checking for $ac_word... " >&6; }
5740
if ${ac_cv_prog_OBJDUMP+:} false; then :
5741
$as_echo_n "(cached) " >&6
5743
if test -n "$OBJDUMP"; then
5744
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5746
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750
test -z "$as_dir" && as_dir=.
5751
for ac_exec_ext in '' $ac_executable_extensions; do
5752
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5753
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5754
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5763
OBJDUMP=$ac_cv_prog_OBJDUMP
5764
if test -n "$OBJDUMP"; then
5765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5766
$as_echo "$OBJDUMP" >&6; }
5768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5769
$as_echo "no" >&6; }
5774
if test -z "$ac_cv_prog_OBJDUMP"; then
5775
ac_ct_OBJDUMP=$OBJDUMP
5776
# Extract the first word of "objdump", so it can be a program name with args.
5777
set dummy objdump; ac_word=$2
5778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779
$as_echo_n "checking for $ac_word... " >&6; }
5780
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5781
$as_echo_n "(cached) " >&6
5783
if test -n "$ac_ct_OBJDUMP"; then
5784
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5786
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790
test -z "$as_dir" && as_dir=.
5791
for ac_exec_ext in '' $ac_executable_extensions; do
5792
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5793
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5794
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5803
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5804
if test -n "$ac_ct_OBJDUMP"; then
5805
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5806
$as_echo "$ac_ct_OBJDUMP" >&6; }
5808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809
$as_echo "no" >&6; }
5812
if test "x$ac_ct_OBJDUMP" = x; then
5815
case $cross_compiling:$ac_tool_warned in
5817
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5818
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5819
ac_tool_warned=yes ;;
5821
OBJDUMP=$ac_ct_OBJDUMP
5824
OBJDUMP="$ac_cv_prog_OBJDUMP"
5827
test -z "$OBJDUMP" && OBJDUMP=objdump
5837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5838
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5839
if ${lt_cv_deplibs_check_method+:} false; then :
5840
$as_echo_n "(cached) " >&6
5842
lt_cv_file_magic_cmd='$MAGIC_CMD'
5843
lt_cv_file_magic_test_file=
5844
lt_cv_deplibs_check_method='unknown'
5845
# Need to set the preceding variable on all platforms that support
5846
# interlibrary dependencies.
5847
# 'none' -- dependencies not supported.
5848
# `unknown' -- same as none, but documents that we really don't know.
5849
# 'pass_all' -- all dependencies passed with no checks.
5850
# 'test_compile' -- check by making test program.
5851
# 'file_magic [[regex]]' -- check by looking for files in library path
5852
# which responds to the $file_magic_cmd with a given extended regex.
5853
# If you have `file' or equivalent on your system and you're not sure
5854
# whether `pass_all' will *always* work, you probably want this one.
5858
lt_cv_deplibs_check_method=pass_all
5862
lt_cv_deplibs_check_method=pass_all
5866
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5867
lt_cv_file_magic_cmd='/usr/bin/file -L'
5868
lt_cv_file_magic_test_file=/shlib/libc.so
5872
# func_win32_libid is a shell function defined in ltmain.sh
5873
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5874
lt_cv_file_magic_cmd='func_win32_libid'
5878
# Base MSYS/MinGW do not provide the 'file' command needed by
5879
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5880
# unless we find 'file', for example because we are cross-compiling.
5881
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5882
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5883
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5884
lt_cv_file_magic_cmd='func_win32_libid'
5886
# Keep this pattern in sync with the one in func_win32_libid.
5887
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5888
lt_cv_file_magic_cmd='$OBJDUMP -f'
5893
# use the weaker test based on 'objdump'. See mingw*.
5894
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5895
lt_cv_file_magic_cmd='$OBJDUMP -f'
5898
darwin* | rhapsody*)
5899
lt_cv_deplibs_check_method=pass_all
5902
freebsd* | dragonfly*)
5903
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5906
# Not sure whether the presence of OpenBSD here was a mistake.
5907
# Let's accept both of them until this is cleared up.
5908
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5909
lt_cv_file_magic_cmd=/usr/bin/file
5910
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5914
lt_cv_deplibs_check_method=pass_all
5919
lt_cv_deplibs_check_method=pass_all
5922
hpux10.20* | hpux11*)
5923
lt_cv_file_magic_cmd=/usr/bin/file
5926
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5927
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5930
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]'
5931
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5934
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5935
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5941
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5942
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5945
irix5* | irix6* | nonstopux*)
5947
*-32|*"-32 ") libmagic=32-bit;;
5948
*-n32|*"-n32 ") libmagic=N32;;
5949
*-64|*"-64 ") libmagic=64-bit;;
5950
*) libmagic=never-match;;
5952
lt_cv_deplibs_check_method=pass_all
5955
# This must be glibc/ELF.
5956
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5957
lt_cv_deplibs_check_method=pass_all
5960
netbsd* | netbsdelf*-gnu)
5961
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5962
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5964
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5969
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5970
lt_cv_file_magic_cmd=/usr/bin/file
5971
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5975
lt_cv_deplibs_check_method=pass_all
5979
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5980
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5982
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5986
osf3* | osf4* | osf5*)
5987
lt_cv_deplibs_check_method=pass_all
5991
lt_cv_deplibs_check_method=pass_all
5995
lt_cv_deplibs_check_method=pass_all
5998
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5999
lt_cv_deplibs_check_method=pass_all
6003
case $host_vendor in
6005
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]'
6006
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6009
lt_cv_deplibs_check_method=pass_all
6012
lt_cv_file_magic_cmd='/bin/file'
6013
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6016
lt_cv_file_magic_cmd='/bin/file'
6017
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6018
lt_cv_file_magic_test_file=/lib/libc.so
6021
lt_cv_deplibs_check_method=pass_all
6024
lt_cv_deplibs_check_method=pass_all
6030
lt_cv_deplibs_check_method=pass_all
6035
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6036
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6040
if test "$build" = "$host"; then
6043
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6046
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6052
file_magic_cmd=$lt_cv_file_magic_cmd
6053
deplibs_check_method=$lt_cv_deplibs_check_method
6054
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6077
if test -n "$ac_tool_prefix"; then
6078
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6079
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6081
$as_echo_n "checking for $ac_word... " >&6; }
6082
if ${ac_cv_prog_DLLTOOL+:} false; then :
6083
$as_echo_n "(cached) " >&6
6085
if test -n "$DLLTOOL"; then
6086
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6088
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6092
test -z "$as_dir" && as_dir=.
6093
for ac_exec_ext in '' $ac_executable_extensions; do
6094
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6095
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6096
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6105
DLLTOOL=$ac_cv_prog_DLLTOOL
6106
if test -n "$DLLTOOL"; then
6107
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6108
$as_echo "$DLLTOOL" >&6; }
6110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6111
$as_echo "no" >&6; }
6116
if test -z "$ac_cv_prog_DLLTOOL"; then
6117
ac_ct_DLLTOOL=$DLLTOOL
6118
# Extract the first word of "dlltool", so it can be a program name with args.
6119
set dummy dlltool; ac_word=$2
6120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6121
$as_echo_n "checking for $ac_word... " >&6; }
6122
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6123
$as_echo_n "(cached) " >&6
6125
if test -n "$ac_ct_DLLTOOL"; then
6126
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6128
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6132
test -z "$as_dir" && as_dir=.
6133
for ac_exec_ext in '' $ac_executable_extensions; do
6134
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6135
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6136
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6145
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6146
if test -n "$ac_ct_DLLTOOL"; then
6147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6148
$as_echo "$ac_ct_DLLTOOL" >&6; }
6150
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6151
$as_echo "no" >&6; }
6154
if test "x$ac_ct_DLLTOOL" = x; then
6157
case $cross_compiling:$ac_tool_warned in
6159
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6160
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6161
ac_tool_warned=yes ;;
6163
DLLTOOL=$ac_ct_DLLTOOL
6166
DLLTOOL="$ac_cv_prog_DLLTOOL"
6169
test -z "$DLLTOOL" && DLLTOOL=dlltool
6180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6181
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6182
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6183
$as_echo_n "(cached) " >&6
6185
lt_cv_sharedlib_from_linklib_cmd='unknown'
6188
cygwin* | mingw* | pw32* | cegcc*)
6189
# two different shell functions defined in ltmain.sh
6190
# decide which to use based on capabilities of $DLLTOOL
6191
case `$DLLTOOL --help 2>&1` in
6192
*--identify-strict*)
6193
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6196
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6201
# fallback: assume linklib IS sharedlib
6202
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6207
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6208
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6209
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6210
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6219
ac_cpp='$CXXCPP $CPPFLAGS'
6220
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6221
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6222
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6223
if test -z "$CXX"; then
6224
if test -n "$CCC"; then
6227
if test -n "$ac_tool_prefix"; then
6228
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6230
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6231
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6232
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6233
$as_echo_n "checking for $ac_word... " >&6; }
6234
if ${ac_cv_prog_CXX+:} false; then :
6235
$as_echo_n "(cached) " >&6
6237
if test -n "$CXX"; then
6238
ac_cv_prog_CXX="$CXX" # Let the user override the test.
6240
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6244
test -z "$as_dir" && as_dir=.
6245
for ac_exec_ext in '' $ac_executable_extensions; do
6246
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6247
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6248
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6258
if test -n "$CXX"; then
6259
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
6260
$as_echo "$CXX" >&6; }
6262
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6263
$as_echo "no" >&6; }
6267
test -n "$CXX" && break
6270
if test -z "$CXX"; then
6272
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
6274
# Extract the first word of "$ac_prog", so it can be a program name with args.
6275
set dummy $ac_prog; ac_word=$2
6276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6277
$as_echo_n "checking for $ac_word... " >&6; }
6278
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
6279
$as_echo_n "(cached) " >&6
6281
if test -n "$ac_ct_CXX"; then
6282
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6284
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6288
test -z "$as_dir" && as_dir=.
6289
for ac_exec_ext in '' $ac_executable_extensions; do
6290
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6291
ac_cv_prog_ac_ct_CXX="$ac_prog"
6292
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6301
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6302
if test -n "$ac_ct_CXX"; then
6303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
6304
$as_echo "$ac_ct_CXX" >&6; }
6306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6307
$as_echo "no" >&6; }
6311
test -n "$ac_ct_CXX" && break
6314
if test "x$ac_ct_CXX" = x; then
6317
case $cross_compiling:$ac_tool_warned in
6319
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6320
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6321
ac_tool_warned=yes ;;
6329
# Provide some information about the compiler.
6330
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
6333
for ac_option in --version -v -V -qversion; do
6334
{ { ac_try="$ac_compiler $ac_option >&5"
6336
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6337
*) ac_try_echo=$ac_try;;
6339
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
6340
$as_echo "$ac_try_echo"; } >&5
6341
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
6343
if test -s conftest.err; then
6345
... rest of stderr output deleted ...
6346
10q' conftest.err >conftest.er1
6347
cat conftest.er1 >&5
6349
rm -f conftest.er1 conftest.err
6350
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6351
test $ac_status = 0; }
6354
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6355
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6356
if ${ac_cv_cxx_compiler_gnu+:} false; then :
6357
$as_echo_n "(cached) " >&6
6359
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6360
/* end confdefs.h. */
6373
if ac_fn_cxx_try_compile "$LINENO"; then :
6378
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6379
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6382
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
6383
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
6384
if test $ac_compiler_gnu = yes; then
6389
ac_test_CXXFLAGS=${CXXFLAGS+set}
6390
ac_save_CXXFLAGS=$CXXFLAGS
6391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6392
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
6393
if ${ac_cv_prog_cxx_g+:} false; then :
6394
$as_echo_n "(cached) " >&6
6396
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6397
ac_cxx_werror_flag=yes
6400
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6401
/* end confdefs.h. */
6411
if ac_fn_cxx_try_compile "$LINENO"; then :
6412
ac_cv_prog_cxx_g=yes
6415
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6416
/* end confdefs.h. */
6426
if ac_fn_cxx_try_compile "$LINENO"; then :
6429
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6431
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6432
/* end confdefs.h. */
6442
if ac_fn_cxx_try_compile "$LINENO"; then :
6443
ac_cv_prog_cxx_g=yes
6445
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6447
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6449
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6450
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6452
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
6453
$as_echo "$ac_cv_prog_cxx_g" >&6; }
6454
if test "$ac_test_CXXFLAGS" = set; then
6455
CXXFLAGS=$ac_save_CXXFLAGS
6456
elif test $ac_cv_prog_cxx_g = yes; then
6457
if test "$GXX" = yes; then
6463
if test "$GXX" = yes; then
6470
ac_cpp='$CXXCPP $CPPFLAGS'
6471
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6472
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6473
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6475
depcc="$CXX" am_compiler_list=
6477
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6478
$as_echo_n "checking dependency style of $depcc... " >&6; }
6479
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6480
$as_echo_n "(cached) " >&6
6482
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6483
# We make a subdir and do the tests there. Otherwise we can end up
6484
# making bogus files that we don't know about and never remove. For
6485
# instance it was reported that on HP-UX the gcc test will end up
6486
# making a dummy file named `D' -- because `-MD' means `put the output
6490
# Copy depcomp to subdir because otherwise we won't find it if we're
6491
# using a relative directory.
6492
cp "$am_depcomp" conftest.dir
6494
# We will build objects and dependencies in a subdirectory because
6495
# it helps to detect inapplicable dependency modes. For instance
6496
# both Tru64's cc and ICC support -MD to output dependencies as a
6497
# side effect of compilation, but ICC will put the dependencies in
6498
# the current directory while Tru64 will put them in the object
6502
am_cv_CXX_dependencies_compiler_type=none
6503
if test "$am_compiler_list" = ""; then
6504
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6507
case " $depcc " in #(
6508
*\ -arch\ *\ -arch\ *) am__universal=true ;;
6511
for depmode in $am_compiler_list; do
6512
# Setup a source with many dependencies, because some compilers
6513
# like to wrap large dependency lists on column 80 (with \), and
6514
# we should not choose a depcomp mode which is confused by this.
6516
# We need to recreate these files for each test, as the compiler may
6517
# overwrite some of them when testing with obscure command lines.
6518
# This happens at least with the AIX C compiler.
6520
for i in 1 2 3 4 5 6; do
6521
echo '#include "conftst'$i'.h"' >> sub/conftest.c
6522
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
6523
# Solaris 8's {/usr,}/bin/sh.
6524
touch sub/conftst$i.h
6526
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6528
# We check with `-c' and `-o' for the sake of the "dashmstdout"
6529
# mode. It turns out that the SunPro C++ compiler does not properly
6530
# handle `-M -o', and we need to detect this. Also, some Intel
6531
# versions had trouble with output in subdirs
6532
am__obj=sub/conftest.${OBJEXT-o}
6533
am__minus_obj="-o $am__obj"
6536
# This depmode causes a compiler race in universal mode.
6537
test "$am__universal" = false || continue
6540
# after this tag, mechanisms are not by side-effect, so they'll
6541
# only be used when explicitly requested
6542
if test "x$enable_dependency_tracking" = xyes; then
6548
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6549
# This compiler won't grok `-c -o', but also, the minuso test has
6550
# not run yet. These depmodes are late enough in the game, and
6551
# so weak that their functioning should not be impacted.
6552
am__obj=conftest.${OBJEXT-o}
6557
if depmode=$depmode \
6558
source=sub/conftest.c object=$am__obj \
6559
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6560
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6561
>/dev/null 2>conftest.err &&
6562
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6563
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6564
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6565
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6566
# icc doesn't choke on unknown options, it will just issue warnings
6567
# or remarks (even with -Werror). So we grep stderr for any message
6568
# that says an option was ignored or not supported.
6569
# When given -MP, icc 7.0 and 7.1 complain thusly:
6570
# icc: Command line warning: ignoring option '-M'; no argument required
6571
# The diagnosis changed in icc 8.0:
6572
# icc: Command line remark: option '-MP' not supported
6573
if (grep 'ignoring option' conftest.err ||
6574
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6575
am_cv_CXX_dependencies_compiler_type=$depmode
6584
am_cv_CXX_dependencies_compiler_type=none
6588
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
6589
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
6590
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
6593
test "x$enable_dependency_tracking" != xno \
6594
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
6595
am__fastdepCXX_TRUE=
6596
am__fastdepCXX_FALSE='#'
6598
am__fastdepCXX_TRUE='#'
6599
am__fastdepCXX_FALSE=
6604
if test -n "$ac_tool_prefix"; then
6607
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6608
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6610
$as_echo_n "checking for $ac_word... " >&6; }
6611
if ${ac_cv_prog_AR+:} false; then :
6612
$as_echo_n "(cached) " >&6
6614
if test -n "$AR"; then
6615
ac_cv_prog_AR="$AR" # Let the user override the test.
6617
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6621
test -z "$as_dir" && as_dir=.
6622
for ac_exec_ext in '' $ac_executable_extensions; do
6623
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6624
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6625
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6635
if test -n "$AR"; then
6636
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6637
$as_echo "$AR" >&6; }
6639
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6640
$as_echo "no" >&6; }
6644
test -n "$AR" && break
6647
if test -z "$AR"; then
6651
# Extract the first word of "$ac_prog", so it can be a program name with args.
6652
set dummy $ac_prog; ac_word=$2
6653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6654
$as_echo_n "checking for $ac_word... " >&6; }
6655
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6656
$as_echo_n "(cached) " >&6
6658
if test -n "$ac_ct_AR"; then
6659
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6661
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6665
test -z "$as_dir" && as_dir=.
6666
for ac_exec_ext in '' $ac_executable_extensions; do
6667
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6668
ac_cv_prog_ac_ct_AR="$ac_prog"
6669
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6678
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6679
if test -n "$ac_ct_AR"; then
6680
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6681
$as_echo "$ac_ct_AR" >&6; }
6683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6684
$as_echo "no" >&6; }
6688
test -n "$ac_ct_AR" && break
6691
if test "x$ac_ct_AR" = x; then
6694
case $cross_compiling:$ac_tool_warned in
6696
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6697
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6698
ac_tool_warned=yes ;;
6717
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6718
$as_echo_n "checking for archiver @FILE support... " >&6; }
6719
if ${lt_cv_ar_at_file+:} false; then :
6720
$as_echo_n "(cached) " >&6
6723
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6724
/* end confdefs.h. */
6734
if ac_fn_cxx_try_compile "$LINENO"; then :
6735
echo conftest.$ac_objext > conftest.lst
6736
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6737
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6738
(eval $lt_ar_try) 2>&5
6740
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6741
test $ac_status = 0; }
6742
if test "$ac_status" -eq 0; then
6743
# Ensure the archiver fails upon bogus file names.
6744
rm -f conftest.$ac_objext libconftest.a
6745
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6746
(eval $lt_ar_try) 2>&5
6748
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6749
test $ac_status = 0; }
6750
if test "$ac_status" -ne 0; then
6754
rm -f conftest.* libconftest.a
6757
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6761
$as_echo "$lt_cv_ar_at_file" >&6; }
6763
if test "x$lt_cv_ar_at_file" = xno; then
6766
archiver_list_spec=$lt_cv_ar_at_file
6775
if test -n "$ac_tool_prefix"; then
6776
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6777
set dummy ${ac_tool_prefix}strip; ac_word=$2
6778
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6779
$as_echo_n "checking for $ac_word... " >&6; }
6780
if ${ac_cv_prog_STRIP+:} false; then :
6781
$as_echo_n "(cached) " >&6
6783
if test -n "$STRIP"; then
6784
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6786
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6790
test -z "$as_dir" && as_dir=.
6791
for ac_exec_ext in '' $ac_executable_extensions; do
6792
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6793
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6794
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6803
STRIP=$ac_cv_prog_STRIP
6804
if test -n "$STRIP"; then
6805
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6806
$as_echo "$STRIP" >&6; }
6808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6809
$as_echo "no" >&6; }
6814
if test -z "$ac_cv_prog_STRIP"; then
6816
# Extract the first word of "strip", so it can be a program name with args.
6817
set dummy strip; ac_word=$2
6818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6819
$as_echo_n "checking for $ac_word... " >&6; }
6820
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6821
$as_echo_n "(cached) " >&6
6823
if test -n "$ac_ct_STRIP"; then
6824
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6826
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6830
test -z "$as_dir" && as_dir=.
6831
for ac_exec_ext in '' $ac_executable_extensions; do
6832
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6833
ac_cv_prog_ac_ct_STRIP="strip"
6834
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6843
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6844
if test -n "$ac_ct_STRIP"; then
6845
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6846
$as_echo "$ac_ct_STRIP" >&6; }
6848
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6849
$as_echo "no" >&6; }
6852
if test "x$ac_ct_STRIP" = x; then
6855
case $cross_compiling:$ac_tool_warned in
6857
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6858
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6859
ac_tool_warned=yes ;;
6864
STRIP="$ac_cv_prog_STRIP"
6867
test -z "$STRIP" && STRIP=:
6874
if test -n "$ac_tool_prefix"; then
6875
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6876
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6877
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6878
$as_echo_n "checking for $ac_word... " >&6; }
6879
if ${ac_cv_prog_RANLIB+:} false; then :
6880
$as_echo_n "(cached) " >&6
6882
if test -n "$RANLIB"; then
6883
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6885
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6889
test -z "$as_dir" && as_dir=.
6890
for ac_exec_ext in '' $ac_executable_extensions; do
6891
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6892
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6893
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6902
RANLIB=$ac_cv_prog_RANLIB
6903
if test -n "$RANLIB"; then
6904
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6905
$as_echo "$RANLIB" >&6; }
6907
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6908
$as_echo "no" >&6; }
6913
if test -z "$ac_cv_prog_RANLIB"; then
6914
ac_ct_RANLIB=$RANLIB
6915
# Extract the first word of "ranlib", so it can be a program name with args.
6916
set dummy ranlib; ac_word=$2
6917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6918
$as_echo_n "checking for $ac_word... " >&6; }
6919
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6920
$as_echo_n "(cached) " >&6
6922
if test -n "$ac_ct_RANLIB"; then
6923
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6925
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6929
test -z "$as_dir" && as_dir=.
6930
for ac_exec_ext in '' $ac_executable_extensions; do
6931
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6932
ac_cv_prog_ac_ct_RANLIB="ranlib"
6933
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6942
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6943
if test -n "$ac_ct_RANLIB"; then
6944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6945
$as_echo "$ac_ct_RANLIB" >&6; }
6947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6948
$as_echo "no" >&6; }
6951
if test "x$ac_ct_RANLIB" = x; then
6954
case $cross_compiling:$ac_tool_warned in
6956
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6957
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6958
ac_tool_warned=yes ;;
6960
RANLIB=$ac_ct_RANLIB
6963
RANLIB="$ac_cv_prog_RANLIB"
6966
test -z "$RANLIB" && RANLIB=:
6973
# Determine commands to create old-style static archives.
6974
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6975
old_postinstall_cmds='chmod 644 $oldlib'
6976
old_postuninstall_cmds=
6978
if test -n "$RANLIB"; then
6981
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6984
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6987
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6992
lock_old_archive_extraction=yes ;;
6994
lock_old_archive_extraction=no ;;
7035
# If no C compiler was specified, use CC.
7038
# If no C compiler flags were specified, use CFLAGS.
7039
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7041
# Allow CC to be a program name with arguments.
7045
# Check for command to grab the raw symbol name followed by C symbol from nm.
7046
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7047
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7048
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7049
$as_echo_n "(cached) " >&6
7052
# These are sane defaults that work on at least a few old systems.
7053
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
7055
# Character class describing NM global symbol codes.
7056
symcode='[BCDEGRST]'
7058
# Regexp to match symbols that can be accessed directly from C.
7059
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7061
# Define system-specific variables.
7066
cygwin* | mingw* | pw32* | cegcc*)
7067
symcode='[ABCDGISTW]'
7070
if test "$host_cpu" = ia64; then
7071
symcode='[ABCDEGRST]'
7075
symcode='[BCDEGRST]'
7078
symcode='[BCDEGQRST]'
7089
sysv5* | sco5v6* | unixware* | OpenUNIX*)
7097
# If we're using GNU nm, then use its standard symbol codes.
7098
case `$NM -V 2>&1` in
7099
*GNU* | *'with BFD'*)
7100
symcode='[ABCDGIRSTW]' ;;
7103
# Transform an extracted symbol line into a proper C declaration.
7104
# Some systems (esp. on ia64) link data and code symbols differently,
7105
# so use this general approach.
7106
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7108
# Transform an extracted symbol line into symbol name and symbol address
7109
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7110
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'"
7112
# Handle CRLF in mingw tool chain
7116
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7120
# Try without a prefix underscore, then with it.
7121
for ac_symprfx in "" "_"; do
7123
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7124
symxfrm="\\1 $ac_symprfx\\2 \\2"
7126
# Write the raw and C identifiers.
7127
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7128
# Fake it for dumpbin and say T for any non-static function
7129
# and D for any global variable.
7130
# Also find C++ and __fastcall symbols from MSVC++,
7131
# which start with @ or ?.
7132
lt_cv_sys_global_symbol_pipe="$AWK '"\
7133
" {last_section=section; section=\$ 3};"\
7134
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7135
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7136
" \$ 0!~/External *\|/{next};"\
7137
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7138
" {if(hide[section]) next};"\
7139
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7140
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7141
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
7142
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7143
" ' prfx=^$ac_symprfx"
7145
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7147
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7149
# Check to see that the pipe works correctly.
7153
cat > conftest.$ac_ext <<_LT_EOF
7158
void nm_test_func(void);
7159
void nm_test_func(void){}
7163
int main(){nm_test_var='a';nm_test_func();return(0);}
7166
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7167
(eval $ac_compile) 2>&5
7169
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7170
test $ac_status = 0; }; then
7171
# Now try to grab the symbols.
7173
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7174
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7176
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7177
test $ac_status = 0; } && test -s "$nlist"; then
7178
# Try sorting and uniquifying the output.
7179
if sort "$nlist" | uniq > "$nlist"T; then
7180
mv -f "$nlist"T "$nlist"
7185
# Make sure that we snagged all the symbols we need.
7186
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7187
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7188
cat <<_LT_EOF > conftest.$ac_ext
7189
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7190
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7191
/* DATA imports from DLLs on WIN32 con't be const, because runtime
7192
relocations are performed -- see ld's documentation on pseudo-relocs. */
7193
# define LT_DLSYM_CONST
7194
#elif defined(__osf__)
7195
/* This system does not cope well with relocations in const data. */
7196
# define LT_DLSYM_CONST
7198
# define LT_DLSYM_CONST const
7206
# Now generate the symbol file.
7207
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7209
cat <<_LT_EOF >> conftest.$ac_ext
7211
/* The mapping between symbol names and symbols. */
7212
LT_DLSYM_CONST struct {
7216
lt__PROGRAM__LTX_preloaded_symbols[] =
7218
{ "@PROGRAM@", (void *) 0 },
7220
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7221
cat <<\_LT_EOF >> conftest.$ac_ext
7225
/* This works around a problem in FreeBSD linker */
7226
#ifdef FREEBSD_WORKAROUND
7227
static const void *lt_preloaded_setup() {
7228
return lt__PROGRAM__LTX_preloaded_symbols;
7236
# Now try linking the two files.
7237
mv conftest.$ac_objext conftstm.$ac_objext
7238
lt_globsym_save_LIBS=$LIBS
7239
lt_globsym_save_CFLAGS=$CFLAGS
7240
LIBS="conftstm.$ac_objext"
7241
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7242
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7243
(eval $ac_link) 2>&5
7245
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7246
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7249
LIBS=$lt_globsym_save_LIBS
7250
CFLAGS=$lt_globsym_save_CFLAGS
7252
echo "cannot find nm_test_func in $nlist" >&5
7255
echo "cannot find nm_test_var in $nlist" >&5
7258
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7261
echo "$progname: failed program was:" >&5
7262
cat conftest.$ac_ext >&5
7264
rm -rf conftest* conftst*
7266
# Do not use the global_symbol_pipe unless it works.
7267
if test "$pipe_works" = yes; then
7270
lt_cv_sys_global_symbol_pipe=
7276
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7277
lt_cv_sys_global_symbol_to_cdecl=
7279
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7280
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7281
$as_echo "failed" >&6; }
7283
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7284
$as_echo "ok" >&6; }
7287
# Response file support.
7288
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7289
nm_file_list_spec='@'
7290
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7291
nm_file_list_spec='@'
7320
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7321
$as_echo_n "checking for sysroot... " >&6; }
7323
# Check whether --with-sysroot was given.
7324
if test "${with_sysroot+set}" = set; then :
7325
withval=$with_sysroot;
7332
case ${with_sysroot} in #(
7334
if test "$GCC" = yes; then
7335
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7339
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7344
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7345
$as_echo "${with_sysroot}" >&6; }
7346
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7350
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7351
$as_echo "${lt_sysroot:-no}" >&6; }
7358
# Check whether --enable-libtool-lock was given.
7359
if test "${enable_libtool_lock+set}" = set; then :
7360
enableval=$enable_libtool_lock;
7363
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7365
# Some flags need to be propagated to the compiler or linker for good
7369
# Find out which ABI we are using.
7370
echo 'int i;' > conftest.$ac_ext
7371
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7372
(eval $ac_compile) 2>&5
7374
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7375
test $ac_status = 0; }; then
7376
case `/usr/bin/file conftest.$ac_objext` in
7388
# Find out which ABI we are using.
7389
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7390
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7391
(eval $ac_compile) 2>&5
7393
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7394
test $ac_status = 0; }; then
7395
if test "$lt_cv_prog_gnu_ld" = yes; then
7396
case `/usr/bin/file conftest.$ac_objext` in
7398
LD="${LD-ld} -melf32bsmip"
7401
LD="${LD-ld} -melf32bmipn32"
7404
LD="${LD-ld} -melf64bmip"
7408
case `/usr/bin/file conftest.$ac_objext` in
7424
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7425
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7426
# Find out which ABI we are using.
7427
echo 'int i;' > conftest.$ac_ext
7428
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7429
(eval $ac_compile) 2>&5
7431
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7432
test $ac_status = 0; }; then
7433
case `/usr/bin/file conftest.o` in
7436
x86_64-*kfreebsd*-gnu)
7437
LD="${LD-ld} -m elf_i386_fbsd"
7440
case `/usr/bin/file conftest.o` in
7442
LD="${LD-ld} -m elf32_x86_64"
7445
LD="${LD-ld} -m elf_i386"
7449
ppc64-*linux*|powerpc64-*linux*)
7450
LD="${LD-ld} -m elf32ppclinux"
7453
LD="${LD-ld} -m elf_s390"
7456
LD="${LD-ld} -m elf32_sparc"
7462
x86_64-*kfreebsd*-gnu)
7463
LD="${LD-ld} -m elf_x86_64_fbsd"
7466
LD="${LD-ld} -m elf_x86_64"
7468
ppc*-*linux*|powerpc*-*linux*)
7469
LD="${LD-ld} -m elf64ppc"
7471
s390*-*linux*|s390*-*tpf*)
7472
LD="${LD-ld} -m elf64_s390"
7475
LD="${LD-ld} -m elf64_sparc"
7485
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
7486
SAVE_CFLAGS="$CFLAGS"
7487
CFLAGS="$CFLAGS -belf"
7488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7489
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7490
if ${lt_cv_cc_needs_belf+:} false; then :
7491
$as_echo_n "(cached) " >&6
7494
ac_cpp='$CPP $CPPFLAGS'
7495
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7496
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7497
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7499
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7500
/* end confdefs.h. */
7510
if ac_fn_c_try_link "$LINENO"; then :
7511
lt_cv_cc_needs_belf=yes
7513
lt_cv_cc_needs_belf=no
7515
rm -f core conftest.err conftest.$ac_objext \
7516
conftest$ac_exeext conftest.$ac_ext
7518
ac_cpp='$CPP $CPPFLAGS'
7519
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7520
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7521
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7524
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7525
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7526
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7527
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7528
CFLAGS="$SAVE_CFLAGS"
7532
# Find out which ABI we are using.
7533
echo 'int i;' > conftest.$ac_ext
7534
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7535
(eval $ac_compile) 2>&5
7537
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7538
test $ac_status = 0; }; then
7539
case `/usr/bin/file conftest.o` in
7541
case $lt_cv_prog_gnu_ld in
7545
LD="${LD-ld} -m elf_x86_64"
7548
LD="${LD-ld} -m elf64_sparc"
7551
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7552
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7557
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7569
need_locks="$enable_libtool_lock"
7571
if test -n "$ac_tool_prefix"; then
7572
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7573
set dummy ${ac_tool_prefix}mt; ac_word=$2
7574
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7575
$as_echo_n "checking for $ac_word... " >&6; }
7576
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7577
$as_echo_n "(cached) " >&6
7579
if test -n "$MANIFEST_TOOL"; then
7580
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7582
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7586
test -z "$as_dir" && as_dir=.
7587
for ac_exec_ext in '' $ac_executable_extensions; do
7588
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7589
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7590
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7599
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7600
if test -n "$MANIFEST_TOOL"; then
7601
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7602
$as_echo "$MANIFEST_TOOL" >&6; }
7604
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7605
$as_echo "no" >&6; }
7610
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7611
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7612
# Extract the first word of "mt", so it can be a program name with args.
7613
set dummy mt; ac_word=$2
7614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7615
$as_echo_n "checking for $ac_word... " >&6; }
7616
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7617
$as_echo_n "(cached) " >&6
7619
if test -n "$ac_ct_MANIFEST_TOOL"; then
7620
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7622
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7626
test -z "$as_dir" && as_dir=.
7627
for ac_exec_ext in '' $ac_executable_extensions; do
7628
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7629
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7630
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7639
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7640
if test -n "$ac_ct_MANIFEST_TOOL"; then
7641
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7642
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645
$as_echo "no" >&6; }
7648
if test "x$ac_ct_MANIFEST_TOOL" = x; then
7651
case $cross_compiling:$ac_tool_warned in
7653
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7654
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7655
ac_tool_warned=yes ;;
7657
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7660
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7663
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7665
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7666
if ${lt_cv_path_mainfest_tool+:} false; then :
7667
$as_echo_n "(cached) " >&6
7669
lt_cv_path_mainfest_tool=no
7670
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7671
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7672
cat conftest.err >&5
7673
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7674
lt_cv_path_mainfest_tool=yes
7678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7679
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7680
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7690
rhapsody* | darwin*)
7691
if test -n "$ac_tool_prefix"; then
7692
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7693
set dummy ${ac_tool_prefix}dsymutil; 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_DSYMUTIL+:} false; then :
7697
$as_echo_n "(cached) " >&6
7699
if test -n "$DSYMUTIL"; then
7700
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7709
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7710
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7719
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7720
if test -n "$DSYMUTIL"; then
7721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7722
$as_echo "$DSYMUTIL" >&6; }
7724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7725
$as_echo "no" >&6; }
7730
if test -z "$ac_cv_prog_DSYMUTIL"; then
7731
ac_ct_DSYMUTIL=$DSYMUTIL
7732
# Extract the first word of "dsymutil", so it can be a program name with args.
7733
set dummy dsymutil; ac_word=$2
7734
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7735
$as_echo_n "checking for $ac_word... " >&6; }
7736
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7737
$as_echo_n "(cached) " >&6
7739
if test -n "$ac_ct_DSYMUTIL"; then
7740
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7742
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7746
test -z "$as_dir" && as_dir=.
7747
for ac_exec_ext in '' $ac_executable_extensions; do
7748
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7749
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7750
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7759
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7760
if test -n "$ac_ct_DSYMUTIL"; then
7761
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7762
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7764
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7765
$as_echo "no" >&6; }
7768
if test "x$ac_ct_DSYMUTIL" = x; then
7771
case $cross_compiling:$ac_tool_warned in
7773
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7774
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7775
ac_tool_warned=yes ;;
7777
DSYMUTIL=$ac_ct_DSYMUTIL
7780
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7783
if test -n "$ac_tool_prefix"; then
7784
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7785
set dummy ${ac_tool_prefix}nmedit; 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_NMEDIT+:} false; then :
7789
$as_echo_n "(cached) " >&6
7791
if test -n "$NMEDIT"; then
7792
ac_cv_prog_NMEDIT="$NMEDIT" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7801
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7802
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7811
NMEDIT=$ac_cv_prog_NMEDIT
7812
if test -n "$NMEDIT"; then
7813
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7814
$as_echo "$NMEDIT" >&6; }
7816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7817
$as_echo "no" >&6; }
7822
if test -z "$ac_cv_prog_NMEDIT"; then
7823
ac_ct_NMEDIT=$NMEDIT
7824
# Extract the first word of "nmedit", so it can be a program name with args.
7825
set dummy nmedit; ac_word=$2
7826
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7827
$as_echo_n "checking for $ac_word... " >&6; }
7828
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7829
$as_echo_n "(cached) " >&6
7831
if test -n "$ac_ct_NMEDIT"; then
7832
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7834
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7838
test -z "$as_dir" && as_dir=.
7839
for ac_exec_ext in '' $ac_executable_extensions; do
7840
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7841
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7842
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7851
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7852
if test -n "$ac_ct_NMEDIT"; then
7853
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7854
$as_echo "$ac_ct_NMEDIT" >&6; }
7856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7857
$as_echo "no" >&6; }
7860
if test "x$ac_ct_NMEDIT" = x; then
7863
case $cross_compiling:$ac_tool_warned in
7865
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7866
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7867
ac_tool_warned=yes ;;
7869
NMEDIT=$ac_ct_NMEDIT
7872
NMEDIT="$ac_cv_prog_NMEDIT"
7875
if test -n "$ac_tool_prefix"; then
7876
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7877
set dummy ${ac_tool_prefix}lipo; 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_LIPO+:} false; then :
7881
$as_echo_n "(cached) " >&6
7883
if test -n "$LIPO"; then
7884
ac_cv_prog_LIPO="$LIPO" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7893
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7894
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7903
LIPO=$ac_cv_prog_LIPO
7904
if test -n "$LIPO"; then
7905
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7906
$as_echo "$LIPO" >&6; }
7908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7909
$as_echo "no" >&6; }
7914
if test -z "$ac_cv_prog_LIPO"; then
7916
# Extract the first word of "lipo", so it can be a program name with args.
7917
set dummy lipo; ac_word=$2
7918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7919
$as_echo_n "checking for $ac_word... " >&6; }
7920
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7921
$as_echo_n "(cached) " >&6
7923
if test -n "$ac_ct_LIPO"; then
7924
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7926
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7930
test -z "$as_dir" && as_dir=.
7931
for ac_exec_ext in '' $ac_executable_extensions; do
7932
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7933
ac_cv_prog_ac_ct_LIPO="lipo"
7934
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7943
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7944
if test -n "$ac_ct_LIPO"; then
7945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7946
$as_echo "$ac_ct_LIPO" >&6; }
7948
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7949
$as_echo "no" >&6; }
7952
if test "x$ac_ct_LIPO" = x; then
7955
case $cross_compiling:$ac_tool_warned in
7957
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7958
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7959
ac_tool_warned=yes ;;
7964
LIPO="$ac_cv_prog_LIPO"
7967
if test -n "$ac_tool_prefix"; then
7968
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7969
set dummy ${ac_tool_prefix}otool; ac_word=$2
7970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7971
$as_echo_n "checking for $ac_word... " >&6; }
7972
if ${ac_cv_prog_OTOOL+:} false; then :
7973
$as_echo_n "(cached) " >&6
7975
if test -n "$OTOOL"; then
7976
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7978
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7982
test -z "$as_dir" && as_dir=.
7983
for ac_exec_ext in '' $ac_executable_extensions; do
7984
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7985
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7986
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7995
OTOOL=$ac_cv_prog_OTOOL
7996
if test -n "$OTOOL"; then
7997
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7998
$as_echo "$OTOOL" >&6; }
8000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8001
$as_echo "no" >&6; }
8006
if test -z "$ac_cv_prog_OTOOL"; then
8008
# Extract the first word of "otool", so it can be a program name with args.
8009
set dummy otool; ac_word=$2
8010
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8011
$as_echo_n "checking for $ac_word... " >&6; }
8012
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8013
$as_echo_n "(cached) " >&6
8015
if test -n "$ac_ct_OTOOL"; then
8016
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8018
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8022
test -z "$as_dir" && as_dir=.
8023
for ac_exec_ext in '' $ac_executable_extensions; do
8024
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8025
ac_cv_prog_ac_ct_OTOOL="otool"
8026
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8035
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8036
if test -n "$ac_ct_OTOOL"; then
8037
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8038
$as_echo "$ac_ct_OTOOL" >&6; }
8040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041
$as_echo "no" >&6; }
8044
if test "x$ac_ct_OTOOL" = x; then
8047
case $cross_compiling:$ac_tool_warned in
8049
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8050
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8051
ac_tool_warned=yes ;;
8056
OTOOL="$ac_cv_prog_OTOOL"
8059
if test -n "$ac_tool_prefix"; then
8060
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8061
set dummy ${ac_tool_prefix}otool64; ac_word=$2
8062
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8063
$as_echo_n "checking for $ac_word... " >&6; }
8064
if ${ac_cv_prog_OTOOL64+:} false; then :
8065
$as_echo_n "(cached) " >&6
8067
if test -n "$OTOOL64"; then
8068
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8070
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8074
test -z "$as_dir" && as_dir=.
8075
for ac_exec_ext in '' $ac_executable_extensions; do
8076
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8077
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8078
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8087
OTOOL64=$ac_cv_prog_OTOOL64
8088
if test -n "$OTOOL64"; then
8089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8090
$as_echo "$OTOOL64" >&6; }
8092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8093
$as_echo "no" >&6; }
8098
if test -z "$ac_cv_prog_OTOOL64"; then
8099
ac_ct_OTOOL64=$OTOOL64
8100
# Extract the first word of "otool64", so it can be a program name with args.
8101
set dummy otool64; ac_word=$2
8102
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8103
$as_echo_n "checking for $ac_word... " >&6; }
8104
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8105
$as_echo_n "(cached) " >&6
8107
if test -n "$ac_ct_OTOOL64"; then
8108
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8110
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8114
test -z "$as_dir" && as_dir=.
8115
for ac_exec_ext in '' $ac_executable_extensions; do
8116
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8117
ac_cv_prog_ac_ct_OTOOL64="otool64"
8118
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8127
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8128
if test -n "$ac_ct_OTOOL64"; then
8129
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8130
$as_echo "$ac_ct_OTOOL64" >&6; }
8132
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8133
$as_echo "no" >&6; }
8136
if test "x$ac_ct_OTOOL64" = x; then
8139
case $cross_compiling:$ac_tool_warned in
8141
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8142
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8143
ac_tool_warned=yes ;;
8145
OTOOL64=$ac_ct_OTOOL64
8148
OTOOL64="$ac_cv_prog_OTOOL64"
8177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8178
$as_echo_n "checking for -single_module linker flag... " >&6; }
8179
if ${lt_cv_apple_cc_single_mod+:} false; then :
8180
$as_echo_n "(cached) " >&6
8182
lt_cv_apple_cc_single_mod=no
8183
if test -z "${LT_MULTI_MODULE}"; then
8184
# By default we will add the -single_module flag. You can override
8185
# by either setting the environment variable LT_MULTI_MODULE
8186
# non-empty at configure time, or by adding -multi_module to the
8188
rm -rf libconftest.dylib*
8189
echo "int foo(void){return 1;}" > conftest.c
8190
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8191
-dynamiclib -Wl,-single_module conftest.c" >&5
8192
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8193
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8195
# If there is a non-empty error log, and "single_module"
8196
# appears in it, assume the flag caused a linker warning
8197
if test -s conftest.err && $GREP single_module conftest.err; then
8198
cat conftest.err >&5
8199
# Otherwise, if the output was created with a 0 exit code from
8200
# the compiler, it worked.
8201
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8202
lt_cv_apple_cc_single_mod=yes
8204
cat conftest.err >&5
8206
rm -rf libconftest.dylib*
8210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8211
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8213
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8214
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8215
if ${lt_cv_ld_exported_symbols_list+:} false; then :
8216
$as_echo_n "(cached) " >&6
8218
lt_cv_ld_exported_symbols_list=no
8219
save_LDFLAGS=$LDFLAGS
8220
echo "_main" > conftest.sym
8221
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8222
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8223
/* end confdefs.h. */
8233
if ac_fn_c_try_link "$LINENO"; then :
8234
lt_cv_ld_exported_symbols_list=yes
8236
lt_cv_ld_exported_symbols_list=no
8238
rm -f core conftest.err conftest.$ac_objext \
8239
conftest$ac_exeext conftest.$ac_ext
8240
LDFLAGS="$save_LDFLAGS"
8243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8244
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8247
$as_echo_n "checking for -force_load linker flag... " >&6; }
8248
if ${lt_cv_ld_force_load+:} false; then :
8249
$as_echo_n "(cached) " >&6
8251
lt_cv_ld_force_load=no
8252
cat > conftest.c << _LT_EOF
8253
int forced_loaded() { return 2;}
8255
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8256
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8257
echo "$AR cru libconftest.a conftest.o" >&5
8258
$AR cru libconftest.a conftest.o 2>&5
8259
echo "$RANLIB libconftest.a" >&5
8260
$RANLIB libconftest.a 2>&5
8261
cat > conftest.c << _LT_EOF
8262
int main() { return 0;}
8264
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8265
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8267
if test -s conftest.err && $GREP force_load conftest.err; then
8268
cat conftest.err >&5
8269
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8270
lt_cv_ld_force_load=yes
8272
cat conftest.err >&5
8274
rm -f conftest.err libconftest.a conftest conftest.c
8275
rm -rf conftest.dSYM
8278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8279
$as_echo "$lt_cv_ld_force_load" >&6; }
8281
rhapsody* | darwin1.[012])
8282
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8284
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8285
darwin*) # darwin 5.x on
8286
# if running on 10.5 or later, the deployment target defaults
8287
# to the OS version, if on x86, and 10.4, the deployment
8288
# target defaults to 10.4. Don't you love it?
8289
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8290
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8291
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8293
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8295
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8299
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8300
_lt_dar_single_mod='$single_module'
8302
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8303
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8305
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8307
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8308
_lt_dsymutil='~$DSYMUTIL $lib || :'
8316
ac_cpp='$CPP $CPPFLAGS'
8317
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8318
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8319
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8320
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8321
$as_echo_n "checking how to run the C preprocessor... " >&6; }
8322
# On Suns, sometimes $CPP names a directory.
8323
if test -n "$CPP" && test -d "$CPP"; then
8326
if test -z "$CPP"; then
8327
if ${ac_cv_prog_CPP+:} false; then :
8328
$as_echo_n "(cached) " >&6
8330
# Double quotes because CPP needs to be expanded
8331
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8334
for ac_c_preproc_warn_flag in '' yes
8336
# Use a header file that comes with gcc, so configuring glibc
8337
# with a fresh cross-compiler works.
8338
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8339
# <limits.h> exists even on freestanding compilers.
8340
# On the NeXT, cc -E runs the code through the compiler's parser,
8341
# not just through cpp. "Syntax error" is here to catch this case.
8342
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8343
/* end confdefs.h. */
8345
# include <limits.h>
8347
# include <assert.h>
8351
if ac_fn_c_try_cpp "$LINENO"; then :
8354
# Broken: fails on valid input.
8357
rm -f conftest.err conftest.i conftest.$ac_ext
8359
# OK, works on sane cases. Now check whether nonexistent headers
8360
# can be detected and how.
8361
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8362
/* end confdefs.h. */
8363
#include <ac_nonexistent.h>
8365
if ac_fn_c_try_cpp "$LINENO"; then :
8366
# Broken: success on invalid input.
8369
# Passes both tests.
8373
rm -f conftest.err conftest.i conftest.$ac_ext
8376
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8377
rm -f conftest.i conftest.err conftest.$ac_ext
8378
if $ac_preproc_ok; then :
8390
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8391
$as_echo "$CPP" >&6; }
8393
for ac_c_preproc_warn_flag in '' yes
8395
# Use a header file that comes with gcc, so configuring glibc
8396
# with a fresh cross-compiler works.
8397
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8398
# <limits.h> exists even on freestanding compilers.
8399
# On the NeXT, cc -E runs the code through the compiler's parser,
8400
# not just through cpp. "Syntax error" is here to catch this case.
8401
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8402
/* end confdefs.h. */
8404
# include <limits.h>
8406
# include <assert.h>
8410
if ac_fn_c_try_cpp "$LINENO"; then :
8413
# Broken: fails on valid input.
8416
rm -f conftest.err conftest.i conftest.$ac_ext
8418
# OK, works on sane cases. Now check whether nonexistent headers
8419
# can be detected and how.
8420
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8421
/* end confdefs.h. */
8422
#include <ac_nonexistent.h>
8424
if ac_fn_c_try_cpp "$LINENO"; then :
8425
# Broken: success on invalid input.
8428
# Passes both tests.
8432
rm -f conftest.err conftest.i conftest.$ac_ext
8435
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8436
rm -f conftest.i conftest.err conftest.$ac_ext
8437
if $ac_preproc_ok; then :
8440
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8441
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8442
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8443
See \`config.log' for more details" "$LINENO" 5; }
8447
ac_cpp='$CPP $CPPFLAGS'
8448
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8449
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8450
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8454
$as_echo_n "checking for ANSI C header files... " >&6; }
8455
if ${ac_cv_header_stdc+:} false; then :
8456
$as_echo_n "(cached) " >&6
8458
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8459
/* end confdefs.h. */
8473
if ac_fn_c_try_compile "$LINENO"; then :
8474
ac_cv_header_stdc=yes
8476
ac_cv_header_stdc=no
8478
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8480
if test $ac_cv_header_stdc = yes; then
8481
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8482
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8483
/* end confdefs.h. */
8487
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8488
$EGREP "memchr" >/dev/null 2>&1; then :
8491
ac_cv_header_stdc=no
8497
if test $ac_cv_header_stdc = yes; then
8498
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8499
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8500
/* end confdefs.h. */
8504
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8505
$EGREP "free" >/dev/null 2>&1; then :
8508
ac_cv_header_stdc=no
8514
if test $ac_cv_header_stdc = yes; then
8515
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8516
if test "$cross_compiling" = yes; then :
8519
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8520
/* end confdefs.h. */
8523
#if ((' ' & 0x0FF) == 0x020)
8524
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8525
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8527
# define ISLOWER(c) \
8528
(('a' <= (c) && (c) <= 'i') \
8529
|| ('j' <= (c) && (c) <= 'r') \
8530
|| ('s' <= (c) && (c) <= 'z'))
8531
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8534
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8539
for (i = 0; i < 256; i++)
8540
if (XOR (islower (i), ISLOWER (i))
8541
|| toupper (i) != TOUPPER (i))
8546
if ac_fn_c_try_run "$LINENO"; then :
8549
ac_cv_header_stdc=no
8551
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8552
conftest.$ac_objext conftest.beam conftest.$ac_ext
8557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8558
$as_echo "$ac_cv_header_stdc" >&6; }
8559
if test $ac_cv_header_stdc = yes; then
8561
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8565
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8566
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8567
inttypes.h stdint.h unistd.h
8569
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8570
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8572
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8573
cat >>confdefs.h <<_ACEOF
8574
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8582
for ac_header in dlfcn.h
8584
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8586
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8587
cat >>confdefs.h <<_ACEOF
8588
#define HAVE_DLFCN_H 1
8597
func_stripname_cnf ()
8600
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8601
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8603
} # func_stripname_cnf
8611
# Check whether --enable-static was given.
8612
if test "${enable_static+set}" = set; then :
8613
enableval=$enable_static; p=${PACKAGE-default}
8615
yes) enable_static=yes ;;
8616
no) enable_static=no ;;
8619
# Look at the argument we got. We use all the common list separators.
8620
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8621
for pkg in $enableval; do
8623
if test "X$pkg" = "X$p"; then
8647
# Check whether --enable-shared was given.
8648
if test "${enable_shared+set}" = set; then :
8649
enableval=$enable_shared; p=${PACKAGE-default}
8651
yes) enable_shared=yes ;;
8652
no) enable_shared=no ;;
8655
# Look at the argument we got. We use all the common list separators.
8656
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8657
for pkg in $enableval; do
8659
if test "X$pkg" = "X$p"; then
8680
# Check whether --with-pic was given.
8681
if test "${with_pic+set}" = set; then :
8682
withval=$with_pic; lt_p=${PACKAGE-default}
8684
yes|no) pic_mode=$withval ;;
8687
# Look at the argument we got. We use all the common list separators.
8688
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8689
for lt_pkg in $withval; do
8691
if test "X$lt_pkg" = "X$lt_p"; then
8703
test -z "$pic_mode" && pic_mode=default
8711
# Check whether --enable-fast-install was given.
8712
if test "${enable_fast_install+set}" = set; then :
8713
enableval=$enable_fast_install; p=${PACKAGE-default}
8715
yes) enable_fast_install=yes ;;
8716
no) enable_fast_install=no ;;
8718
enable_fast_install=no
8719
# Look at the argument we got. We use all the common list separators.
8720
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8721
for pkg in $enableval; do
8723
if test "X$pkg" = "X$p"; then
8724
enable_fast_install=yes
8731
enable_fast_install=yes
8744
# This can be used to rebuild libtool when needed
8745
LIBTOOL_DEPS="$ltmain"
8747
# Always use our own libtool.
8748
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8779
test -z "$LN_S" && LN_S="ln -s"
8794
if test -n "${ZSH_VERSION+set}" ; then
8795
setopt NO_GLOB_SUBST
8798
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8799
$as_echo_n "checking for objdir... " >&6; }
8800
if ${lt_cv_objdir+:} false; then :
8801
$as_echo_n "(cached) " >&6
8803
rm -f .libs 2>/dev/null
8804
mkdir .libs 2>/dev/null
8805
if test -d .libs; then
8808
# MS-DOS does not allow filenames that begin with a dot.
8811
rmdir .libs 2>/dev/null
8813
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8814
$as_echo "$lt_cv_objdir" >&6; }
8815
objdir=$lt_cv_objdir
8821
cat >>confdefs.h <<_ACEOF
8822
#define LT_OBJDIR "$lt_cv_objdir/"
8830
# AIX sometimes has problems with the GCC collect2 program. For some
8831
# reason, if we set the COLLECT_NAMES environment variable, the problems
8832
# vanish in a puff of smoke.
8833
if test "X${COLLECT_NAMES+set}" != Xset; then
8835
export COLLECT_NAMES
8842
can_build_shared=yes
8844
# All known linkers require a `.a' archive for static linking (except MSVC,
8845
# which needs '.lib').
8848
with_gnu_ld="$lt_cv_prog_gnu_ld"
8851
old_CFLAGS="$CFLAGS"
8853
# Set sane defaults for various variables
8854
test -z "$CC" && CC=cc
8855
test -z "$LTCC" && LTCC=$CC
8856
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8857
test -z "$LD" && LD=ld
8858
test -z "$ac_objext" && ac_objext=o
8860
for cc_temp in $compiler""; do
8862
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8863
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8868
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8871
# Only perform the check for file, if the check method requires it
8872
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8873
case $deplibs_check_method in
8875
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8877
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8878
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8879
$as_echo_n "(cached) " >&6
8883
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8886
lt_save_MAGIC_CMD="$MAGIC_CMD"
8887
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8888
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8889
for ac_dir in $ac_dummy; do
8891
test -z "$ac_dir" && ac_dir=.
8892
if test -f $ac_dir/${ac_tool_prefix}file; then
8893
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8894
if test -n "$file_magic_test_file"; then
8895
case $deplibs_check_method in
8897
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8898
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8899
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8900
$EGREP "$file_magic_regex" > /dev/null; then
8905
*** Warning: the command libtool uses to detect shared libraries,
8906
*** $file_magic_cmd, produces output that libtool cannot recognize.
8907
*** The result is that libtool may fail to recognize shared libraries
8908
*** as such. This will affect the creation of libtool libraries that
8909
*** depend on shared libraries, but programs linked with such libtool
8910
*** libraries will work regardless of this problem. Nevertheless, you
8911
*** may want to report the problem to your system manager and/or to
8912
*** bug-libtool@gnu.org
8922
MAGIC_CMD="$lt_save_MAGIC_CMD"
8927
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8928
if test -n "$MAGIC_CMD"; then
8929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8930
$as_echo "$MAGIC_CMD" >&6; }
8932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8933
$as_echo "no" >&6; }
8940
if test -z "$lt_cv_path_MAGIC_CMD"; then
8941
if test -n "$ac_tool_prefix"; then
8942
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8943
$as_echo_n "checking for file... " >&6; }
8944
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8945
$as_echo_n "(cached) " >&6
8949
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8952
lt_save_MAGIC_CMD="$MAGIC_CMD"
8953
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8954
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8955
for ac_dir in $ac_dummy; do
8957
test -z "$ac_dir" && ac_dir=.
8958
if test -f $ac_dir/file; then
8959
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8960
if test -n "$file_magic_test_file"; then
8961
case $deplibs_check_method in
8963
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8964
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8965
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8966
$EGREP "$file_magic_regex" > /dev/null; then
8971
*** Warning: the command libtool uses to detect shared libraries,
8972
*** $file_magic_cmd, produces output that libtool cannot recognize.
8973
*** The result is that libtool may fail to recognize shared libraries
8974
*** as such. This will affect the creation of libtool libraries that
8975
*** depend on shared libraries, but programs linked with such libtool
8976
*** libraries will work regardless of this problem. Nevertheless, you
8977
*** may want to report the problem to your system manager and/or to
8978
*** bug-libtool@gnu.org
8988
MAGIC_CMD="$lt_save_MAGIC_CMD"
8993
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8994
if test -n "$MAGIC_CMD"; then
8995
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8996
$as_echo "$MAGIC_CMD" >&6; }
8998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8999
$as_echo "no" >&6; }
9012
# Use C for the default configuration in the libtool script
9016
ac_cpp='$CPP $CPPFLAGS'
9017
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9018
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9019
ac_compiler_gnu=$ac_cv_c_compiler_gnu
9022
# Source file extension for C test sources.
9025
# Object file extension for compiled C test sources.
9029
# Code to be used in simple compile tests
9030
lt_simple_compile_test_code="int some_variable = 0;"
9032
# Code to be used in simple link tests
9033
lt_simple_link_test_code='int main(){return(0);}'
9041
# If no C compiler was specified, use CC.
9044
# If no C compiler flags were specified, use CFLAGS.
9045
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9047
# Allow CC to be a program name with arguments.
9050
# Save the default compiler, since it gets overwritten when the other
9051
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9052
compiler_DEFAULT=$CC
9054
# save warnings/boilerplate of simple test code
9055
ac_outfile=conftest.$ac_objext
9056
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9057
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9058
_lt_compiler_boilerplate=`cat conftest.err`
9061
ac_outfile=conftest.$ac_objext
9062
echo "$lt_simple_link_test_code" >conftest.$ac_ext
9063
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9064
_lt_linker_boilerplate=`cat conftest.err`
9069
## There is no encapsulation within the following macros, do not change
9070
## the running order or otherwise move them around unless you know exactly
9071
## what you are doing...
9072
if test -n "$compiler"; then
9074
lt_prog_compiler_no_builtin_flag=
9076
if test "$GCC" = yes; then
9077
case $cc_basename in
9079
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9081
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9085
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9086
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9087
$as_echo_n "(cached) " >&6
9089
lt_cv_prog_compiler_rtti_exceptions=no
9090
ac_outfile=conftest.$ac_objext
9091
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9092
lt_compiler_flag="-fno-rtti -fno-exceptions"
9093
# Insert the option either (1) after the last *FLAGS variable, or
9094
# (2) before a word containing "conftest.", or (3) at the end.
9095
# Note that $ac_compile itself does not contain backslashes and begins
9096
# with a dollar sign (not a hyphen), so the echo should work correctly.
9097
# The option is referenced via a variable to avoid confusing sed.
9098
lt_compile=`echo "$ac_compile" | $SED \
9099
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9100
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9101
-e 's:$: $lt_compiler_flag:'`
9102
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9103
(eval "$lt_compile" 2>conftest.err)
9105
cat conftest.err >&5
9106
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9107
if (exit $ac_status) && test -s "$ac_outfile"; then
9108
# The compiler can only warn and ignore the option if not recognized
9109
# So say no if there are warnings other than the usual output.
9110
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9111
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9112
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9113
lt_cv_prog_compiler_rtti_exceptions=yes
9119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9120
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9122
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9123
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9135
lt_prog_compiler_wl=
9136
lt_prog_compiler_pic=
9137
lt_prog_compiler_static=
9140
if test "$GCC" = yes; then
9141
lt_prog_compiler_wl='-Wl,'
9142
lt_prog_compiler_static='-static'
9146
# All AIX code is PIC.
9147
if test "$host_cpu" = ia64; then
9148
# AIX 5 now supports IA64 processor
9149
lt_prog_compiler_static='-Bstatic'
9156
# see comment about AmigaOS4 .so support
9157
lt_prog_compiler_pic='-fPIC'
9160
# FIXME: we need at least 68020 code to build shared libraries, but
9161
# adding the `-m68020' flag to GCC prevents building anything better,
9163
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9168
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9169
# PIC is the default for these OSes.
9172
mingw* | cygwin* | pw32* | os2* | cegcc*)
9173
# This hack is so that the source file can tell whether it is being
9174
# built for inclusion in a dll (and should export symbols for example).
9175
# Although the cygwin gcc ignores -fPIC, still need this for old-style
9176
# (--disable-auto-import) libraries
9177
lt_prog_compiler_pic='-DDLL_EXPORT'
9180
darwin* | rhapsody*)
9181
# PIC is the default on this platform
9182
# Common symbols not allowed in MH_DYLIB files
9183
lt_prog_compiler_pic='-fno-common'
9187
# PIC is the default for Haiku.
9188
# The "-static" flag exists, but is broken.
9189
lt_prog_compiler_static=
9193
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9194
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9195
# sets the default TLS model and affects inlining.
9201
lt_prog_compiler_pic='-fPIC'
9207
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
9208
# Instead, we relocate shared libraries at runtime.
9212
# Just because we use GCC doesn't mean we suddenly get shared libraries
9213
# on systems that don't support them.
9214
lt_prog_compiler_can_build_shared=no
9219
# QNX uses GNU C++, but need to define -shared option too, otherwise
9221
lt_prog_compiler_pic='-fPIC -shared'
9225
if test -d /usr/nec; then
9226
lt_prog_compiler_pic=-Kconform_pic
9231
lt_prog_compiler_pic='-fPIC'
9235
case $cc_basename in
9236
nvcc*) # Cuda Compiler Driver 2.2
9237
lt_prog_compiler_wl='-Xlinker '
9238
if test -n "$lt_prog_compiler_pic"; then
9239
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9244
# PORTME Check for flag to pass linker flags through the system compiler.
9247
lt_prog_compiler_wl='-Wl,'
9248
if test "$host_cpu" = ia64; then
9249
# AIX 5 now supports IA64 processor
9250
lt_prog_compiler_static='-Bstatic'
9252
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9256
mingw* | cygwin* | pw32* | os2* | cegcc*)
9257
# This hack is so that the source file can tell whether it is being
9258
# built for inclusion in a dll (and should export symbols for example).
9259
lt_prog_compiler_pic='-DDLL_EXPORT'
9262
hpux9* | hpux10* | hpux11*)
9263
lt_prog_compiler_wl='-Wl,'
9264
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9271
lt_prog_compiler_pic='+Z'
9274
# Is there a better lt_prog_compiler_static that works with the bundled CC?
9275
lt_prog_compiler_static='${wl}-a ${wl}archive'
9278
irix5* | irix6* | nonstopux*)
9279
lt_prog_compiler_wl='-Wl,'
9280
# PIC (with -KPIC) is the default.
9281
lt_prog_compiler_static='-non_shared'
9284
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9285
case $cc_basename in
9286
# old Intel for x86_64 which still supported -KPIC.
9288
lt_prog_compiler_wl='-Wl,'
9289
lt_prog_compiler_pic='-KPIC'
9290
lt_prog_compiler_static='-static'
9292
# icc used to be incompatible with GCC.
9293
# ICC 10 doesn't accept -KPIC any more.
9295
lt_prog_compiler_wl='-Wl,'
9296
lt_prog_compiler_pic='-fPIC'
9297
lt_prog_compiler_static='-static'
9299
# Lahey Fortran 8.1.
9301
lt_prog_compiler_wl='-Wl,'
9302
lt_prog_compiler_pic='--shared'
9303
lt_prog_compiler_static='--static'
9306
# NAG Fortran compiler
9307
lt_prog_compiler_wl='-Wl,-Wl,,'
9308
lt_prog_compiler_pic='-PIC'
9309
lt_prog_compiler_static='-Bstatic'
9311
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9312
# Portland Group compilers (*not* the Pentium gcc compiler,
9313
# which looks to be a dead project)
9314
lt_prog_compiler_wl='-Wl,'
9315
lt_prog_compiler_pic='-fpic'
9316
lt_prog_compiler_static='-Bstatic'
9319
lt_prog_compiler_wl='-Wl,'
9320
# All Alpha code is PIC.
9321
lt_prog_compiler_static='-non_shared'
9323
xl* | bgxl* | bgf* | mpixl*)
9324
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9325
lt_prog_compiler_wl='-Wl,'
9326
lt_prog_compiler_pic='-qpic'
9327
lt_prog_compiler_static='-qstaticlink'
9330
case `$CC -V 2>&1 | sed 5q` in
9331
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9332
# Sun Fortran 8.3 passes all unrecognized flags to the linker
9333
lt_prog_compiler_pic='-KPIC'
9334
lt_prog_compiler_static='-Bstatic'
9335
lt_prog_compiler_wl=''
9337
*Sun\ F* | *Sun*Fortran*)
9338
lt_prog_compiler_pic='-KPIC'
9339
lt_prog_compiler_static='-Bstatic'
9340
lt_prog_compiler_wl='-Qoption ld '
9344
lt_prog_compiler_pic='-KPIC'
9345
lt_prog_compiler_static='-Bstatic'
9346
lt_prog_compiler_wl='-Wl,'
9348
*Intel*\ [CF]*Compiler*)
9349
lt_prog_compiler_wl='-Wl,'
9350
lt_prog_compiler_pic='-fPIC'
9351
lt_prog_compiler_static='-static'
9354
lt_prog_compiler_wl='-Wl,'
9355
lt_prog_compiler_pic='-fpic'
9356
lt_prog_compiler_static='-Bstatic'
9364
lt_prog_compiler_pic='-KPIC'
9365
lt_prog_compiler_static='-Bstatic'
9369
# QNX uses GNU C++, but need to define -shared option too, otherwise
9371
lt_prog_compiler_pic='-fPIC -shared'
9374
osf3* | osf4* | osf5*)
9375
lt_prog_compiler_wl='-Wl,'
9376
# All OSF/1 code is PIC.
9377
lt_prog_compiler_static='-non_shared'
9381
lt_prog_compiler_static='-non_shared'
9385
lt_prog_compiler_pic='-KPIC'
9386
lt_prog_compiler_static='-Bstatic'
9387
case $cc_basename in
9388
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9389
lt_prog_compiler_wl='-Qoption ld ';;
9391
lt_prog_compiler_wl='-Wl,';;
9396
lt_prog_compiler_wl='-Qoption ld '
9397
lt_prog_compiler_pic='-PIC'
9398
lt_prog_compiler_static='-Bstatic'
9401
sysv4 | sysv4.2uw2* | sysv4.3*)
9402
lt_prog_compiler_wl='-Wl,'
9403
lt_prog_compiler_pic='-KPIC'
9404
lt_prog_compiler_static='-Bstatic'
9408
if test -d /usr/nec ;then
9409
lt_prog_compiler_pic='-Kconform_pic'
9410
lt_prog_compiler_static='-Bstatic'
9414
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9415
lt_prog_compiler_wl='-Wl,'
9416
lt_prog_compiler_pic='-KPIC'
9417
lt_prog_compiler_static='-Bstatic'
9421
lt_prog_compiler_wl='-Wl,'
9422
lt_prog_compiler_can_build_shared=no
9426
lt_prog_compiler_pic='-pic'
9427
lt_prog_compiler_static='-Bstatic'
9431
lt_prog_compiler_can_build_shared=no
9437
# For platforms which do not support PIC, -DPIC is meaningless:
9439
lt_prog_compiler_pic=
9442
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9447
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9448
if ${lt_cv_prog_compiler_pic+:} false; then :
9449
$as_echo_n "(cached) " >&6
9451
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9454
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9455
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9458
# Check to make sure the PIC flag actually works.
9460
if test -n "$lt_prog_compiler_pic"; then
9461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9462
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9463
if ${lt_cv_prog_compiler_pic_works+:} false; then :
9464
$as_echo_n "(cached) " >&6
9466
lt_cv_prog_compiler_pic_works=no
9467
ac_outfile=conftest.$ac_objext
9468
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9469
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9470
# Insert the option either (1) after the last *FLAGS variable, or
9471
# (2) before a word containing "conftest.", or (3) at the end.
9472
# Note that $ac_compile itself does not contain backslashes and begins
9473
# with a dollar sign (not a hyphen), so the echo should work correctly.
9474
# The option is referenced via a variable to avoid confusing sed.
9475
lt_compile=`echo "$ac_compile" | $SED \
9476
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9477
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9478
-e 's:$: $lt_compiler_flag:'`
9479
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9480
(eval "$lt_compile" 2>conftest.err)
9482
cat conftest.err >&5
9483
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484
if (exit $ac_status) && test -s "$ac_outfile"; then
9485
# The compiler can only warn and ignore the option if not recognized
9486
# So say no if there are warnings other than the usual output.
9487
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9488
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9489
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9490
lt_cv_prog_compiler_pic_works=yes
9496
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9497
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9499
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9500
case $lt_prog_compiler_pic in
9502
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9505
lt_prog_compiler_pic=
9506
lt_prog_compiler_can_build_shared=no
9522
# Check to make sure the static flag actually works.
9524
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9525
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9526
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9527
if ${lt_cv_prog_compiler_static_works+:} false; then :
9528
$as_echo_n "(cached) " >&6
9530
lt_cv_prog_compiler_static_works=no
9531
save_LDFLAGS="$LDFLAGS"
9532
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9533
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9534
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9535
# The linker can only warn and ignore the option if not recognized
9536
# So say no if there are warnings
9537
if test -s conftest.err; then
9538
# Append any errors to the config.log.
9539
cat conftest.err 1>&5
9540
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9541
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9542
if diff conftest.exp conftest.er2 >/dev/null; then
9543
lt_cv_prog_compiler_static_works=yes
9546
lt_cv_prog_compiler_static_works=yes
9550
LDFLAGS="$save_LDFLAGS"
9553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9554
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9556
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9559
lt_prog_compiler_static=
9568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9569
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9570
if ${lt_cv_prog_compiler_c_o+:} false; then :
9571
$as_echo_n "(cached) " >&6
9573
lt_cv_prog_compiler_c_o=no
9574
$RM -r conftest 2>/dev/null
9578
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9580
lt_compiler_flag="-o out/conftest2.$ac_objext"
9581
# Insert the option either (1) after the last *FLAGS variable, or
9582
# (2) before a word containing "conftest.", or (3) at the end.
9583
# Note that $ac_compile itself does not contain backslashes and begins
9584
# with a dollar sign (not a hyphen), so the echo should work correctly.
9585
lt_compile=`echo "$ac_compile" | $SED \
9586
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9587
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9588
-e 's:$: $lt_compiler_flag:'`
9589
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9590
(eval "$lt_compile" 2>out/conftest.err)
9592
cat out/conftest.err >&5
9593
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9594
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9596
# The compiler can only warn and ignore the option if not recognized
9597
# So say no if there are warnings
9598
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9599
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9600
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9601
lt_cv_prog_compiler_c_o=yes
9606
# SGI C++ compiler will create directory out/ii_files/ for
9607
# template instantiation
9608
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9609
$RM out/* && rmdir out
9615
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9616
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9624
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9625
if ${lt_cv_prog_compiler_c_o+:} false; then :
9626
$as_echo_n "(cached) " >&6
9628
lt_cv_prog_compiler_c_o=no
9629
$RM -r conftest 2>/dev/null
9633
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9635
lt_compiler_flag="-o out/conftest2.$ac_objext"
9636
# Insert the option either (1) after the last *FLAGS variable, or
9637
# (2) before a word containing "conftest.", or (3) at the end.
9638
# Note that $ac_compile itself does not contain backslashes and begins
9639
# with a dollar sign (not a hyphen), so the echo should work correctly.
9640
lt_compile=`echo "$ac_compile" | $SED \
9641
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9642
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9643
-e 's:$: $lt_compiler_flag:'`
9644
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9645
(eval "$lt_compile" 2>out/conftest.err)
9647
cat out/conftest.err >&5
9648
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9649
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9651
# The compiler can only warn and ignore the option if not recognized
9652
# So say no if there are warnings
9653
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9654
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9655
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9656
lt_cv_prog_compiler_c_o=yes
9661
# SGI C++ compiler will create directory out/ii_files/ for
9662
# template instantiation
9663
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9664
$RM out/* && rmdir out
9670
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9671
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9676
hard_links="nottested"
9677
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9678
# do not overwrite the value of need_locks provided by the user
9679
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9680
$as_echo_n "checking if we can lock with hard links... " >&6; }
9683
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9685
ln conftest.a conftest.b 2>&5 || hard_links=no
9686
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9688
$as_echo "$hard_links" >&6; }
9689
if test "$hard_links" = no; then
9690
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9691
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9704
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9707
allow_undefined_flag=
9708
always_export_symbols=no
9710
archive_expsym_cmds=
9711
compiler_needs_object=no
9712
enable_shared_with_static_runtimes=no
9713
export_dynamic_flag_spec=
9714
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9715
hardcode_automatic=no
9717
hardcode_direct_absolute=no
9718
hardcode_libdir_flag_spec=
9719
hardcode_libdir_separator=
9721
hardcode_shlibpath_var=unsupported
9723
link_all_deplibs=unknown
9726
old_archive_from_new_cmds=
9727
old_archive_from_expsyms_cmds=
9728
thread_safe_flag_spec=
9729
whole_archive_flag_spec=
9730
# include_expsyms should be a list of space-separated symbols to be *always*
9731
# included in the symbol list
9733
# exclude_expsyms can be an extended regexp of symbols to exclude
9734
# it will be wrapped by ` (' and `)$', so one must not match beginning or
9735
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9736
# as well as any symbol that contains `d'.
9737
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9738
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9739
# platforms (ab)use it in PIC code, but their linkers get confused if
9740
# the symbol is explicitly referenced. Since portable code cannot
9741
# rely on this symbol name, it's probably fine to never include it in
9742
# preloaded symbol tables.
9743
# Exclude shared library initialization/finalization symbols.
9744
extract_expsyms_cmds=
9747
cygwin* | mingw* | pw32* | cegcc*)
9748
# FIXME: the MSVC++ port hasn't been tested in a loooong time
9749
# When not using gcc, we currently assume that we are using
9750
# Microsoft Visual C++.
9751
if test "$GCC" != yes; then
9756
# we just hope/assume this is gcc and not c89 (= MSVC++)
9762
linux* | k*bsd*-gnu | gnu*)
9769
# On some targets, GNU ld is compatible enough with the native linker
9770
# that we're better off using the native interface for both.
9771
lt_use_gnu_ld_interface=no
9772
if test "$with_gnu_ld" = yes; then
9775
# The AIX port of GNU ld has always aspired to compatibility
9776
# with the native linker. However, as the warning in the GNU ld
9777
# block says, versions before 2.19.5* couldn't really create working
9778
# shared libraries, regardless of the interface used.
9779
case `$LD -v 2>&1` in
9780
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9781
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9782
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
9784
lt_use_gnu_ld_interface=yes
9789
lt_use_gnu_ld_interface=yes
9794
if test "$lt_use_gnu_ld_interface" = yes; then
9795
# If archive_cmds runs LD, not CC, wlarc should be empty
9798
# Set some defaults for GNU ld with shared library support. These
9799
# are reset later if shared libraries are not supported. Putting them
9800
# here allows them to be overridden if necessary.
9801
runpath_var=LD_RUN_PATH
9802
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9803
export_dynamic_flag_spec='${wl}--export-dynamic'
9804
# ancient GNU ld didn't support --whole-archive et. al.
9805
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9806
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9808
whole_archive_flag_spec=
9810
supports_anon_versioning=no
9811
case `$LD -v 2>&1` in
9812
*GNU\ gold*) supports_anon_versioning=yes ;;
9813
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9814
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9815
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9816
*\ 2.11.*) ;; # other 2.11 versions
9817
*) supports_anon_versioning=yes ;;
9820
# See if GNU ld supports shared libraries.
9823
# On AIX/PPC, the GNU linker is very broken
9824
if test "$host_cpu" != ia64; then
9828
*** Warning: the GNU linker, at least up to release 2.19, is reported
9829
*** to be unable to reliably create shared libraries on AIX.
9830
*** Therefore, libtool is disabling shared libraries support. If you
9831
*** really care for shared libraries, you may want to install binutils
9832
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9833
*** You will then need to restart the configuration process.
9842
# see comment about AmigaOS4 .so support
9843
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9844
archive_expsym_cmds=''
9847
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)'
9848
hardcode_libdir_flag_spec='-L$libdir'
9849
hardcode_minus_L=yes
9855
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9856
allow_undefined_flag=unsupported
9857
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9858
# support --undefined. This deserves some investigation. FIXME
9859
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9865
cygwin* | mingw* | pw32* | cegcc*)
9866
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9867
# as there is no search path for DLLs.
9868
hardcode_libdir_flag_spec='-L$libdir'
9869
export_dynamic_flag_spec='${wl}--export-all-symbols'
9870
allow_undefined_flag=unsupported
9871
always_export_symbols=no
9872
enable_shared_with_static_runtimes=yes
9873
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'
9874
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9876
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9877
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9878
# If the export-symbols file already is a .def file (1st line
9879
# is EXPORTS), use it as is; otherwise, prepend...
9880
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9881
cp $export_symbols $output_objdir/$soname.def;
9883
echo EXPORTS > $output_objdir/$soname.def;
9884
cat $export_symbols >> $output_objdir/$soname.def;
9886
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9893
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9894
link_all_deplibs=yes
9899
hardcode_shlibpath_var=no
9900
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9901
export_dynamic_flag_spec='${wl}-E'
9902
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9903
# Instead, shared libraries are loaded at an image base (0x10000000 by
9904
# default) and relocated if they conflict, which is a slow very memory
9905
# consuming and fragmenting process. To avoid this, we pick a random,
9906
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9907
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9908
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9909
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'
9912
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9914
if test "$host_os" = linux-dietlibc; then
9915
case $cc_basename in
9916
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9919
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9920
&& test "$tmp_diet" = no
9922
tmp_addflag=' $pic_flag'
9923
tmp_sharedflag='-shared'
9924
case $cc_basename,$host_cpu in
9925
pgcc*) # Portland Group C compiler
9926
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'
9927
tmp_addflag=' $pic_flag'
9929
pgf77* | pgf90* | pgf95* | pgfortran*)
9930
# Portland Group f77 and f90 compilers
9931
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'
9932
tmp_addflag=' $pic_flag -Mnomain' ;;
9933
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9934
tmp_addflag=' -i_dynamic' ;;
9935
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9936
tmp_addflag=' -i_dynamic -nofor_main' ;;
9937
ifc* | ifort*) # Intel Fortran compiler
9938
tmp_addflag=' -nofor_main' ;;
9939
lf95*) # Lahey Fortran 8.1
9940
whole_archive_flag_spec=
9941
tmp_sharedflag='--shared' ;;
9942
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9943
tmp_sharedflag='-qmkshrobj'
9945
nvcc*) # Cuda Compiler Driver 2.2
9946
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'
9947
compiler_needs_object=yes
9950
case `$CC -V 2>&1 | sed 5q` in
9951
*Sun\ C*) # Sun C 5.9
9952
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'
9953
compiler_needs_object=yes
9954
tmp_sharedflag='-G' ;;
9955
*Sun\ F*) # Sun Fortran 8.3
9956
tmp_sharedflag='-G' ;;
9958
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9960
if test "x$supports_anon_versioning" = xyes; then
9961
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9962
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9963
echo "local: *; };" >> $output_objdir/$libname.ver~
9964
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9967
case $cc_basename in
9968
xlf* | bgf* | bgxlf* | mpixlf*)
9969
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9970
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9971
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9972
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9973
if test "x$supports_anon_versioning" = xyes; then
9974
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9975
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9976
echo "local: *; };" >> $output_objdir/$libname.ver~
9977
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9986
netbsd* | netbsdelf*-gnu)
9987
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9988
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9991
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9992
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9997
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10001
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10002
*** create shared libraries on Solaris systems. Therefore, libtool
10003
*** is disabling shared libraries support. We urge you to upgrade GNU
10004
*** binutils to release 2.9.1 or newer. Another option is to modify
10005
*** your PATH or compiler configuration so that the native linker is
10006
*** used, and then restart.
10009
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10010
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10011
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10017
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10018
case `$LD -v 2>&1` in
10019
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10023
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10024
*** reliably create shared libraries on SCO systems. Therefore, libtool
10025
*** is disabling shared libraries support. We urge you to upgrade GNU
10026
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10027
*** your PATH or compiler configuration so that the native linker is
10028
*** used, and then restart.
10033
# For security reasons, it is highly recommended that you always
10034
# use absolute paths for naming shared libraries, and exclude the
10035
# DT_RUNPATH tag from executables and libraries. But doing so
10036
# requires that you compile everything twice, which is a pain.
10037
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10038
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10039
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10040
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10049
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10051
hardcode_direct=yes
10052
hardcode_shlibpath_var=no
10056
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10057
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10058
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10065
if test "$ld_shlibs" = no; then
10067
hardcode_libdir_flag_spec=
10068
export_dynamic_flag_spec=
10069
whole_archive_flag_spec=
10072
# PORTME fill in a description of your system's linker (not GNU ld)
10075
allow_undefined_flag=unsupported
10076
always_export_symbols=yes
10077
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'
10078
# Note: this linker hardcodes the directories in LIBPATH if there
10079
# are no directories specified by -L.
10080
hardcode_minus_L=yes
10081
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10082
# Neither direct hardcoding nor static linking is supported with a
10084
hardcode_direct=unsupported
10089
if test "$host_cpu" = ia64; then
10090
# On IA64, the linker does run time linking by default, so we don't
10091
# have to do anything special.
10092
aix_use_runtimelinking=no
10093
exp_sym_flag='-Bexport'
10096
# If we're using GNU nm, then we don't want the "-C" option.
10097
# -C means demangle to AIX nm, but means don't demangle with GNU nm
10098
# Also, AIX nm treats weak defined symbols like other global
10099
# defined symbols, whereas GNU nm marks them as "W".
10100
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10101
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'
10103
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'
10105
aix_use_runtimelinking=no
10107
# Test if we are trying to use run time linking or normal
10108
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10109
# need to do runtime linking.
10110
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10111
for ld_flag in $LDFLAGS; do
10112
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10113
aix_use_runtimelinking=yes
10120
exp_sym_flag='-bexport'
10121
no_entry_flag='-bnoentry'
10124
# When large executables or shared objects are built, AIX ld can
10125
# have problems creating the table of contents. If linking a library
10126
# or program results in "error TOC overflow" add -mminimal-toc to
10127
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10128
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10131
hardcode_direct=yes
10132
hardcode_direct_absolute=yes
10133
hardcode_libdir_separator=':'
10134
link_all_deplibs=yes
10135
file_list_spec='${wl}-f,'
10137
if test "$GCC" = yes; then
10138
case $host_os in aix4.[012]|aix4.[012].*)
10139
# We only want to do this on AIX 4.2 and lower, the check
10140
# below for broken collect2 doesn't work under 4.3+
10141
collect2name=`${CC} -print-prog-name=collect2`
10142
if test -f "$collect2name" &&
10143
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10145
# We have reworked collect2
10148
# We have old collect2
10149
hardcode_direct=unsupported
10150
# It fails to find uninstalled libraries when the uninstalled
10151
# path is not listed in the libpath. Setting hardcode_minus_L
10152
# to unsupported forces relinking
10153
hardcode_minus_L=yes
10154
hardcode_libdir_flag_spec='-L$libdir'
10155
hardcode_libdir_separator=
10159
shared_flag='-shared'
10160
if test "$aix_use_runtimelinking" = yes; then
10161
shared_flag="$shared_flag "'${wl}-G'
10163
link_all_deplibs=no
10166
if test "$host_cpu" = ia64; then
10167
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10168
# chokes on -Wl,-G. The following line is correct:
10171
if test "$aix_use_runtimelinking" = yes; then
10172
shared_flag='${wl}-G'
10174
shared_flag='${wl}-bM:SRE'
10179
export_dynamic_flag_spec='${wl}-bexpall'
10180
# It seems that -bexpall does not export symbols beginning with
10181
# underscore (_), so it is better to generate a list of symbols to export.
10182
always_export_symbols=yes
10183
if test "$aix_use_runtimelinking" = yes; then
10184
# Warning - without using the other runtime loading flags (-brtl),
10185
# -berok will link without error, but may produce a broken library.
10186
allow_undefined_flag='-berok'
10187
# Determine the default libpath from the value encoded in an
10188
# empty executable.
10189
if test "${lt_cv_aix_libpath+set}" = set; then
10190
aix_libpath=$lt_cv_aix_libpath
10192
if ${lt_cv_aix_libpath_+:} false; then :
10193
$as_echo_n "(cached) " >&6
10195
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10196
/* end confdefs.h. */
10206
if ac_fn_c_try_link "$LINENO"; then :
10208
lt_aix_libpath_sed='
10209
/Import File Strings/,/^$/ {
10211
s/^0 *\([^ ]*\) *$/\1/
10215
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10216
# Check for a 64-bit object if we didn't find anything.
10217
if test -z "$lt_cv_aix_libpath_"; then
10218
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10221
rm -f core conftest.err conftest.$ac_objext \
10222
conftest$ac_exeext conftest.$ac_ext
10223
if test -z "$lt_cv_aix_libpath_"; then
10224
lt_cv_aix_libpath_="/usr/lib:/lib"
10229
aix_libpath=$lt_cv_aix_libpath_
10232
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10233
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"
10235
if test "$host_cpu" = ia64; then
10236
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10237
allow_undefined_flag="-z nodefs"
10238
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"
10240
# Determine the default libpath from the value encoded in an
10241
# empty executable.
10242
if test "${lt_cv_aix_libpath+set}" = set; then
10243
aix_libpath=$lt_cv_aix_libpath
10245
if ${lt_cv_aix_libpath_+:} false; then :
10246
$as_echo_n "(cached) " >&6
10248
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10249
/* end confdefs.h. */
10259
if ac_fn_c_try_link "$LINENO"; then :
10261
lt_aix_libpath_sed='
10262
/Import File Strings/,/^$/ {
10264
s/^0 *\([^ ]*\) *$/\1/
10268
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10269
# Check for a 64-bit object if we didn't find anything.
10270
if test -z "$lt_cv_aix_libpath_"; then
10271
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10274
rm -f core conftest.err conftest.$ac_objext \
10275
conftest$ac_exeext conftest.$ac_ext
10276
if test -z "$lt_cv_aix_libpath_"; then
10277
lt_cv_aix_libpath_="/usr/lib:/lib"
10282
aix_libpath=$lt_cv_aix_libpath_
10285
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10286
# Warning - without using the other run time loading flags,
10287
# -berok will link without error, but may produce a broken library.
10288
no_undefined_flag=' ${wl}-bernotok'
10289
allow_undefined_flag=' ${wl}-berok'
10290
if test "$with_gnu_ld" = yes; then
10291
# We only use this code for GNU lds that support --whole-archive.
10292
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10294
# Exported symbols can be pulled into shared objects from archives
10295
whole_archive_flag_spec='$convenience'
10297
archive_cmds_need_lc=yes
10298
# This is similar to how AIX traditionally builds its shared libraries.
10299
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'
10307
# see comment about AmigaOS4 .so support
10308
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10309
archive_expsym_cmds=''
10312
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)'
10313
hardcode_libdir_flag_spec='-L$libdir'
10314
hardcode_minus_L=yes
10320
export_dynamic_flag_spec=-rdynamic
10323
cygwin* | mingw* | pw32* | cegcc*)
10324
# When not using gcc, we currently assume that we are using
10325
# Microsoft Visual C++.
10326
# hardcode_libdir_flag_spec is actually meaningless, as there is
10327
# no search path for DLLs.
10328
case $cc_basename in
10331
hardcode_libdir_flag_spec=' '
10332
allow_undefined_flag=unsupported
10333
always_export_symbols=yes
10335
# Tell ltmain to make .lib files, not .a files.
10337
# Tell ltmain to make .dll files, not .so files.
10339
# FIXME: Setting linknames here is a bad hack.
10340
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10341
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10342
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10344
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10346
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10348
# The linker will not automatically build a static lib if we build a DLL.
10349
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10350
enable_shared_with_static_runtimes=yes
10351
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10352
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10354
old_postinstall_cmds='chmod 644 $oldlib'
10355
postlink_cmds='lt_outputfile="@OUTPUT@"~
10356
lt_tool_outputfile="@TOOL_OUTPUT@"~
10357
case $lt_outputfile in
10360
lt_outputfile="$lt_outputfile.exe"
10361
lt_tool_outputfile="$lt_tool_outputfile.exe"
10364
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10365
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10366
$RM "$lt_outputfile.manifest";
10370
# Assume MSVC wrapper
10371
hardcode_libdir_flag_spec=' '
10372
allow_undefined_flag=unsupported
10373
# Tell ltmain to make .lib files, not .a files.
10375
# Tell ltmain to make .dll files, not .so files.
10377
# FIXME: Setting linknames here is a bad hack.
10378
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10379
# The linker will automatically build a .lib file if we build a DLL.
10380
old_archive_from_new_cmds='true'
10381
# FIXME: Should let the user specify the lib program.
10382
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10383
enable_shared_with_static_runtimes=yes
10388
darwin* | rhapsody*)
10391
archive_cmds_need_lc=no
10393
hardcode_automatic=yes
10394
hardcode_shlibpath_var=unsupported
10395
if test "$lt_cv_ld_force_load" = "yes"; then
10396
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\"`'
10399
whole_archive_flag_spec=''
10401
link_all_deplibs=yes
10402
allow_undefined_flag="$_lt_dar_allow_undefined"
10403
case $cc_basename in
10404
ifort*) _lt_dar_can_shared=yes ;;
10405
*) _lt_dar_can_shared=$GCC ;;
10407
if test "$_lt_dar_can_shared" = "yes"; then
10408
output_verbose_link_cmd=func_echo_all
10409
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10410
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10411
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}"
10412
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}"
10421
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10422
hardcode_libdir_flag_spec='-L$libdir'
10423
hardcode_shlibpath_var=no
10426
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10427
# support. Future versions do this automatically, but an explicit c++rt0.o
10428
# does not break anything, and helps significantly (at the cost of a little
10431
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10432
hardcode_libdir_flag_spec='-R$libdir'
10433
hardcode_direct=yes
10434
hardcode_shlibpath_var=no
10437
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
10439
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10440
hardcode_direct=yes
10441
hardcode_minus_L=yes
10442
hardcode_shlibpath_var=no
10445
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10446
freebsd* | dragonfly*)
10447
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10448
hardcode_libdir_flag_spec='-R$libdir'
10449
hardcode_direct=yes
10450
hardcode_shlibpath_var=no
10454
if test "$GCC" = yes; then
10455
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'
10457
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'
10459
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10460
hardcode_libdir_separator=:
10461
hardcode_direct=yes
10463
# hardcode_minus_L: Not really in the search PATH,
10464
# but as the default location of the library.
10465
hardcode_minus_L=yes
10466
export_dynamic_flag_spec='${wl}-E'
10470
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10471
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10473
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10475
if test "$with_gnu_ld" = no; then
10476
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10477
hardcode_libdir_separator=:
10478
hardcode_direct=yes
10479
hardcode_direct_absolute=yes
10480
export_dynamic_flag_spec='${wl}-E'
10481
# hardcode_minus_L: Not really in the search PATH,
10482
# but as the default location of the library.
10483
hardcode_minus_L=yes
10488
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10491
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10494
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10497
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10503
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10506
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10510
# Older versions of the 11.00 compiler do not understand -b yet
10511
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10512
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10513
$as_echo_n "checking if $CC understands -b... " >&6; }
10514
if ${lt_cv_prog_compiler__b+:} false; then :
10515
$as_echo_n "(cached) " >&6
10517
lt_cv_prog_compiler__b=no
10518
save_LDFLAGS="$LDFLAGS"
10519
LDFLAGS="$LDFLAGS -b"
10520
echo "$lt_simple_link_test_code" > conftest.$ac_ext
10521
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10522
# The linker can only warn and ignore the option if not recognized
10523
# So say no if there are warnings
10524
if test -s conftest.err; then
10525
# Append any errors to the config.log.
10526
cat conftest.err 1>&5
10527
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10528
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10529
if diff conftest.exp conftest.er2 >/dev/null; then
10530
lt_cv_prog_compiler__b=yes
10533
lt_cv_prog_compiler__b=yes
10537
LDFLAGS="$save_LDFLAGS"
10540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10541
$as_echo "$lt_cv_prog_compiler__b" >&6; }
10543
if test x"$lt_cv_prog_compiler__b" = xyes; then
10544
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10546
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10552
if test "$with_gnu_ld" = no; then
10553
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10554
hardcode_libdir_separator=:
10559
hardcode_shlibpath_var=no
10562
hardcode_direct=yes
10563
hardcode_direct_absolute=yes
10564
export_dynamic_flag_spec='${wl}-E'
10566
# hardcode_minus_L: Not really in the search PATH,
10567
# but as the default location of the library.
10568
hardcode_minus_L=yes
10574
irix5* | irix6* | nonstopux*)
10575
if test "$GCC" = yes; then
10576
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'
10577
# Try to use the -exported_symbol ld option, if it does not
10578
# work, assume that -exports_file does not work either and
10579
# implicitly export all symbols.
10580
# This should be the same for all languages, so no per-tag cache variable.
10581
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10582
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10583
if ${lt_cv_irix_exported_symbol+:} false; then :
10584
$as_echo_n "(cached) " >&6
10586
save_LDFLAGS="$LDFLAGS"
10587
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10588
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10589
/* end confdefs.h. */
10590
int foo (void) { return 0; }
10592
if ac_fn_c_try_link "$LINENO"; then :
10593
lt_cv_irix_exported_symbol=yes
10595
lt_cv_irix_exported_symbol=no
10597
rm -f core conftest.err conftest.$ac_objext \
10598
conftest$ac_exeext conftest.$ac_ext
10599
LDFLAGS="$save_LDFLAGS"
10601
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10602
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10603
if test "$lt_cv_irix_exported_symbol" = yes; then
10604
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'
10607
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'
10608
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'
10610
archive_cmds_need_lc='no'
10611
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10612
hardcode_libdir_separator=:
10614
link_all_deplibs=yes
10617
netbsd* | netbsdelf*-gnu)
10618
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10619
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10621
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10623
hardcode_libdir_flag_spec='-R$libdir'
10624
hardcode_direct=yes
10625
hardcode_shlibpath_var=no
10629
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10630
hardcode_direct=yes
10631
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10632
hardcode_libdir_separator=:
10633
hardcode_shlibpath_var=no
10640
if test -f /usr/libexec/ld.so; then
10641
hardcode_direct=yes
10642
hardcode_shlibpath_var=no
10643
hardcode_direct_absolute=yes
10644
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10645
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10646
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10647
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10648
export_dynamic_flag_spec='${wl}-E'
10651
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10652
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10653
hardcode_libdir_flag_spec='-R$libdir'
10656
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10657
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10667
hardcode_libdir_flag_spec='-L$libdir'
10668
hardcode_minus_L=yes
10669
allow_undefined_flag=unsupported
10670
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'
10671
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10675
if test "$GCC" = yes; then
10676
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10677
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'
10679
allow_undefined_flag=' -expect_unresolved \*'
10680
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'
10682
archive_cmds_need_lc='no'
10683
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10684
hardcode_libdir_separator=:
10687
osf4* | osf5*) # as osf3* with the addition of -msym flag
10688
if test "$GCC" = yes; then
10689
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10690
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'
10691
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10693
allow_undefined_flag=' -expect_unresolved \*'
10694
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'
10695
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~
10696
$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'
10698
# Both c and cxx compiler support -rpath directly
10699
hardcode_libdir_flag_spec='-rpath $libdir'
10701
archive_cmds_need_lc='no'
10702
hardcode_libdir_separator=:
10706
no_undefined_flag=' -z defs'
10707
if test "$GCC" = yes; then
10709
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10710
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10711
$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'
10713
case `$CC -V 2>&1` in
10716
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10717
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10718
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10722
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10723
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10724
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10728
hardcode_libdir_flag_spec='-R$libdir'
10729
hardcode_shlibpath_var=no
10731
solaris2.[0-5] | solaris2.[0-5].*) ;;
10733
# The compiler driver will combine and reorder linker options,
10734
# but understands `-z linker_flag'. GCC discards it without `$wl',
10735
# but is careful enough not to reorder.
10736
# Supported since Solaris 2.6 (maybe 2.5.1?)
10737
if test "$GCC" = yes; then
10738
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10740
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10744
link_all_deplibs=yes
10748
if test "x$host_vendor" = xsequent; then
10749
# Use $CC to link under sequent, because it throws in some extra .o
10750
# files that make .init and .fini sections work.
10751
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10753
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10755
hardcode_libdir_flag_spec='-L$libdir'
10756
hardcode_direct=yes
10757
hardcode_minus_L=yes
10758
hardcode_shlibpath_var=no
10762
case $host_vendor in
10764
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10765
hardcode_direct=yes # is this really true???
10768
## LD is ld it makes a PLAMLIB
10769
## CC just makes a GrossModule.
10770
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10771
reload_cmds='$CC -r -o $output$reload_objs'
10775
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10776
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10779
runpath_var='LD_RUN_PATH'
10780
hardcode_shlibpath_var=no
10784
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10785
hardcode_shlibpath_var=no
10786
export_dynamic_flag_spec='-Bexport'
10790
if test -d /usr/nec; then
10791
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10792
hardcode_shlibpath_var=no
10793
runpath_var=LD_RUN_PATH
10794
hardcode_runpath_var=yes
10799
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10800
no_undefined_flag='${wl}-z,text'
10801
archive_cmds_need_lc=no
10802
hardcode_shlibpath_var=no
10803
runpath_var='LD_RUN_PATH'
10805
if test "$GCC" = yes; then
10806
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10807
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10809
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10810
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10814
sysv5* | sco3.2v5* | sco5v6*)
10815
# Note: We can NOT use -z defs as we might desire, because we do not
10816
# link with -lc, and that would cause any symbols used from libc to
10817
# always be unresolved, which means just about no library would
10818
# ever link correctly. If we're not using GNU ld we use -z text
10819
# though, which does catch some bad symbols but isn't as heavy-handed
10821
no_undefined_flag='${wl}-z,text'
10822
allow_undefined_flag='${wl}-z,nodefs'
10823
archive_cmds_need_lc=no
10824
hardcode_shlibpath_var=no
10825
hardcode_libdir_flag_spec='${wl}-R,$libdir'
10826
hardcode_libdir_separator=':'
10827
link_all_deplibs=yes
10828
export_dynamic_flag_spec='${wl}-Bexport'
10829
runpath_var='LD_RUN_PATH'
10831
if test "$GCC" = yes; then
10832
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10833
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10835
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10836
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10841
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10842
hardcode_libdir_flag_spec='-L$libdir'
10843
hardcode_shlibpath_var=no
10851
if test x$host_vendor = xsni; then
10853
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10854
export_dynamic_flag_spec='${wl}-Blargedynsym'
10860
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10861
$as_echo "$ld_shlibs" >&6; }
10862
test "$ld_shlibs" = no && can_build_shared=no
10864
with_gnu_ld=$with_gnu_ld
10881
# Do we need to explicitly link libc?
10883
case "x$archive_cmds_need_lc" in
10885
# Assume -lc should be added
10886
archive_cmds_need_lc=yes
10888
if test "$enable_shared" = yes && test "$GCC" = yes; then
10889
case $archive_cmds in
10891
# FIXME: we may have to deal with multi-command sequences.
10894
# Test whether the compiler implicitly links with -lc since on some
10895
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10896
# to ld, don't add -lc before -lgcc.
10897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10898
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10899
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10900
$as_echo_n "(cached) " >&6
10903
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10905
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10906
(eval $ac_compile) 2>&5
10908
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10909
test $ac_status = 0; } 2>conftest.err; then
10912
libobjs=conftest.$ac_objext
10914
wl=$lt_prog_compiler_wl
10915
pic_flag=$lt_prog_compiler_pic
10921
lt_save_allow_undefined_flag=$allow_undefined_flag
10922
allow_undefined_flag=
10923
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10924
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10926
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10927
test $ac_status = 0; }
10929
lt_cv_archive_cmds_need_lc=no
10931
lt_cv_archive_cmds_need_lc=yes
10933
allow_undefined_flag=$lt_save_allow_undefined_flag
10935
cat conftest.err 1>&5
10940
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10941
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10942
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11101
$as_echo_n "checking dynamic linker characteristics... " >&6; }
11103
if test "$GCC" = yes; then
11105
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11106
*) lt_awk_arg="/^libraries:/" ;;
11109
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11110
*) lt_sed_strip_eq="s,=/,/,g" ;;
11112
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11113
case $lt_search_path_spec in
11115
# if the path contains ";" then we assume it to be the separator
11116
# otherwise default to the standard path separator (i.e. ":") - it is
11117
# assumed that no part of a normal pathname contains ";" but that should
11118
# okay in the real world where ";" in dirpaths is itself problematic.
11119
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11122
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11125
# Ok, now we have the path, separated by spaces, we can step through it
11126
# and add multilib dir if necessary.
11127
lt_tmp_lt_search_path_spec=
11128
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11129
for lt_sys_path in $lt_search_path_spec; do
11130
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11131
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11133
test -d "$lt_sys_path" && \
11134
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11137
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11138
BEGIN {RS=" "; FS="/|\n";} {
11141
for (lt_i = NF; lt_i > 0; lt_i--) {
11142
if ($lt_i != "" && $lt_i != ".") {
11143
if ($lt_i == "..") {
11146
if (lt_count == 0) {
11147
lt_foo="/" $lt_i lt_foo;
11154
if (lt_foo != "") { lt_freq[lt_foo]++; }
11155
if (lt_freq[lt_foo] == 1) { print lt_foo; }
11157
# AWK program above erroneously prepends '/' to C:/dos/paths
11160
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11161
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
11163
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11165
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11167
library_names_spec=
11168
libname_spec='lib$name'
11172
postuninstall_cmds=
11176
shlibpath_overrides_runpath=unknown
11178
dynamic_linker="$host_os ld.so"
11179
sys_lib_dlsearch_path_spec="/lib /usr/lib"
11180
need_lib_prefix=unknown
11181
hardcode_into_libs=no
11183
# when you set need_version to no, make sure it does not cause -set_version
11184
# flags to be left without arguments
11185
need_version=unknown
11189
version_type=linux # correct to gnu/linux during the next big refactor
11190
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11191
shlibpath_var=LIBPATH
11193
# AIX 3 has no versioning support, so we append a major version to the name.
11194
soname_spec='${libname}${release}${shared_ext}$major'
11198
version_type=linux # correct to gnu/linux during the next big refactor
11201
hardcode_into_libs=yes
11202
if test "$host_cpu" = ia64; then
11203
# AIX 5 supports IA64
11204
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11205
shlibpath_var=LD_LIBRARY_PATH
11207
# With GCC up to 2.95.x, collect2 would create an import file
11208
# for dependence libraries. The import file would start with
11209
# the line `#! .'. This would cause the generated library to
11210
# depend on `.', always an invalid library. This was fixed in
11211
# development snapshots of GCC prior to 3.0.
11213
aix4 | aix4.[01] | aix4.[01].*)
11214
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11216
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11219
can_build_shared=no
11223
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11224
# soname into executable. Probably we can add versioning support to
11225
# collect2, so additional links can be useful in future.
11226
if test "$aix_use_runtimelinking" = yes; then
11227
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
11228
# instead of lib<name>.a to let people know that these are not
11229
# typical AIX shared libraries.
11230
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11232
# We preserve .a as extension for shared libraries through AIX4.2
11233
# and later when we are not doing run time linking.
11234
library_names_spec='${libname}${release}.a $libname.a'
11235
soname_spec='${libname}${release}${shared_ext}$major'
11237
shlibpath_var=LIBPATH
11244
# Since July 2007 AmigaOS4 officially supports .so libraries.
11245
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11246
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11249
library_names_spec='$libname.ixlibrary $libname.a'
11250
# Create ${libname}_ixlibrary.a entries in /sys/libs.
11251
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'
11257
library_names_spec='${libname}${shared_ext}'
11258
dynamic_linker="$host_os ld.so"
11259
shlibpath_var=LIBRARY_PATH
11263
version_type=linux # correct to gnu/linux during the next big refactor
11265
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11266
soname_spec='${libname}${release}${shared_ext}$major'
11267
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11268
shlibpath_var=LD_LIBRARY_PATH
11269
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11270
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11271
# the default ld.so.conf also contains /usr/contrib/lib and
11272
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11273
# libtool to hard-code these into programs
11276
cygwin* | mingw* | pw32* | cegcc*)
11277
version_type=windows
11282
case $GCC,$cc_basename in
11285
library_names_spec='$libname.dll.a'
11286
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11287
postinstall_cmds='base_file=`basename \${file}`~
11288
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11289
dldir=$destdir/`dirname \$dlpath`~
11290
test -d \$dldir || mkdir -p \$dldir~
11291
$install_prog $dir/$dlname \$dldir/$dlname~
11292
chmod a+x \$dldir/$dlname~
11293
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11294
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11296
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11297
dlpath=$dir/\$dldll~
11299
shlibpath_overrides_runpath=yes
11303
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
11304
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11306
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11309
# MinGW DLLs use traditional 'lib' prefix
11310
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11313
# pw32 DLLs use 'pw' prefix rather than 'lib'
11314
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11317
dynamic_linker='Win32 ld.exe'
11322
libname_spec='$name'
11323
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11324
library_names_spec='${libname}.dll.lib'
11328
sys_lib_search_path_spec=
11331
for lt_path in $LIB
11334
# Let DOS variable expansion print the short 8.3 style file name.
11335
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11336
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11339
# Convert to MSYS style.
11340
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11343
# Convert to unix form, then to dos form, then back to unix form
11344
# but this time dos style (no spaces!) so that the unix form looks
11345
# like /cygdrive/c/PROGRA~1:/cygdr...
11346
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11347
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11348
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11351
sys_lib_search_path_spec="$LIB"
11352
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11353
# It is most probably a Windows format PATH.
11354
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11356
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11358
# FIXME: find the short name or the path components, as spaces are
11359
# common. (e.g. "Program Files" -> "PROGRA~1")
11363
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11364
postinstall_cmds='base_file=`basename \${file}`~
11365
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11366
dldir=$destdir/`dirname \$dlpath`~
11367
test -d \$dldir || mkdir -p \$dldir~
11368
$install_prog $dir/$dlname \$dldir/$dlname'
11369
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11370
dlpath=$dir/\$dldll~
11372
shlibpath_overrides_runpath=yes
11373
dynamic_linker='Win32 link.exe'
11377
# Assume MSVC wrapper
11378
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11379
dynamic_linker='Win32 ld.exe'
11382
# FIXME: first we should search . and the directory the executable is in
11386
darwin* | rhapsody*)
11387
dynamic_linker="$host_os dyld"
11388
version_type=darwin
11391
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11392
soname_spec='${libname}${release}${major}$shared_ext'
11393
shlibpath_overrides_runpath=yes
11394
shlibpath_var=DYLD_LIBRARY_PATH
11395
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11397
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11398
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11402
version_type=linux # correct to gnu/linux during the next big refactor
11405
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11406
soname_spec='${libname}${release}${shared_ext}$major'
11407
shlibpath_var=LD_LIBRARY_PATH
11410
freebsd* | dragonfly*)
11411
# DragonFly does not have aout. When/if they implement a new
11412
# versioning mechanism, adjust this.
11413
if test -x /usr/bin/objformat; then
11414
objformat=`/usr/bin/objformat`
11417
freebsd[23].*) objformat=aout ;;
11418
*) objformat=elf ;;
11421
version_type=freebsd-$objformat
11422
case $version_type in
11424
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11429
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11433
shlibpath_var=LD_LIBRARY_PATH
11436
shlibpath_overrides_runpath=yes
11438
freebsd3.[01]* | freebsdelf3.[01]*)
11439
shlibpath_overrides_runpath=yes
11440
hardcode_into_libs=yes
11442
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11443
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11444
shlibpath_overrides_runpath=no
11445
hardcode_into_libs=yes
11447
*) # from 4.6 on, and DragonFly
11448
shlibpath_overrides_runpath=yes
11449
hardcode_into_libs=yes
11455
version_type=linux # correct to gnu/linux during the next big refactor
11458
dynamic_linker="$host_os runtime_loader"
11459
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11460
soname_spec='${libname}${release}${shared_ext}$major'
11461
shlibpath_var=LIBRARY_PATH
11462
shlibpath_overrides_runpath=yes
11463
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11464
hardcode_into_libs=yes
11467
hpux9* | hpux10* | hpux11*)
11468
# Give a soname corresponding to the major version so that dld.sl refuses to
11469
# link against other versions.
11476
hardcode_into_libs=yes
11477
dynamic_linker="$host_os dld.so"
11478
shlibpath_var=LD_LIBRARY_PATH
11479
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11480
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11481
soname_spec='${libname}${release}${shared_ext}$major'
11482
if test "X$HPUX_IA64_MODE" = X32; then
11483
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11485
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11487
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11491
hardcode_into_libs=yes
11492
dynamic_linker="$host_os dld.sl"
11493
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11494
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11495
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11496
soname_spec='${libname}${release}${shared_ext}$major'
11497
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11498
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11502
dynamic_linker="$host_os dld.sl"
11503
shlibpath_var=SHLIB_PATH
11504
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11505
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11506
soname_spec='${libname}${release}${shared_ext}$major'
11509
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11510
postinstall_cmds='chmod 555 $lib'
11511
# or fails outright, so override atomically:
11512
install_override_mode=555
11516
version_type=linux # correct to gnu/linux during the next big refactor
11519
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11520
soname_spec='${libname}${release}${shared_ext}$major'
11521
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11522
shlibpath_var=LD_LIBRARY_PATH
11523
shlibpath_overrides_runpath=no
11524
hardcode_into_libs=yes
11527
irix5* | irix6* | nonstopux*)
11529
nonstopux*) version_type=nonstopux ;;
11531
if test "$lt_cv_prog_gnu_ld" = yes; then
11532
version_type=linux # correct to gnu/linux during the next big refactor
11539
soname_spec='${libname}${release}${shared_ext}$major'
11540
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11542
irix5* | nonstopux*)
11543
libsuff= shlibsuff=
11546
case $LD in # libtool.m4 will add one of these switches to LD
11547
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11548
libsuff= shlibsuff= libmagic=32-bit;;
11549
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11550
libsuff=32 shlibsuff=N32 libmagic=N32;;
11551
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11552
libsuff=64 shlibsuff=64 libmagic=64-bit;;
11553
*) libsuff= shlibsuff= libmagic=never-match;;
11557
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11558
shlibpath_overrides_runpath=no
11559
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11560
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11561
hardcode_into_libs=yes
11564
# No shared lib support for Linux oldld, aout, or coff.
11565
linux*oldld* | linux*aout* | linux*coff*)
11569
# This must be glibc/ELF.
11570
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11571
version_type=linux # correct to gnu/linux during the next big refactor
11574
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11575
soname_spec='${libname}${release}${shared_ext}$major'
11576
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11577
shlibpath_var=LD_LIBRARY_PATH
11578
shlibpath_overrides_runpath=no
11580
# Some binutils ld are patched to set DT_RUNPATH
11581
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11582
$as_echo_n "(cached) " >&6
11584
lt_cv_shlibpath_overrides_runpath=no
11585
save_LDFLAGS=$LDFLAGS
11586
save_libdir=$libdir
11587
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11588
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11589
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11590
/* end confdefs.h. */
11600
if ac_fn_c_try_link "$LINENO"; then :
11601
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11602
lt_cv_shlibpath_overrides_runpath=yes
11605
rm -f core conftest.err conftest.$ac_objext \
11606
conftest$ac_exeext conftest.$ac_ext
11607
LDFLAGS=$save_LDFLAGS
11608
libdir=$save_libdir
11612
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11614
# This implies no fast_install, which is unacceptable.
11615
# Some rework will be needed to allow for fast_install
11616
# before this can be enabled.
11617
hardcode_into_libs=yes
11619
# Append ld.so.conf contents to the search path
11620
if test -f /etc/ld.so.conf; then
11621
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' ' '`
11622
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11625
# We used to test for /lib/ld.so.1 and disable shared libraries on
11626
# powerpc, because MkLinux only supported shared libraries with the
11627
# GNU dynamic linker. Since this was broken with cross compilers,
11628
# most powerpc-linux boxes support dynamic linking these days and
11629
# people can always --disable-shared, the test was removed, and we
11630
# assume the GNU/Linux dynamic linker is in use.
11631
dynamic_linker='GNU/Linux ld.so'
11638
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11639
soname_spec='${libname}${release}${shared_ext}$major'
11640
shlibpath_var=LD_LIBRARY_PATH
11641
shlibpath_overrides_runpath=no
11642
hardcode_into_libs=yes
11643
dynamic_linker='NetBSD ld.elf_so'
11650
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11651
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11652
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11653
dynamic_linker='NetBSD (a.out) ld.so'
11655
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11656
soname_spec='${libname}${release}${shared_ext}$major'
11657
dynamic_linker='NetBSD ld.elf_so'
11659
shlibpath_var=LD_LIBRARY_PATH
11660
shlibpath_overrides_runpath=yes
11661
hardcode_into_libs=yes
11665
version_type=linux # correct to gnu/linux during the next big refactor
11666
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11667
shlibpath_var=LD_LIBRARY_PATH
11668
shlibpath_overrides_runpath=yes
11675
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11676
soname_spec='${libname}${release}${shared_ext}$major'
11677
shlibpath_var=LD_LIBRARY_PATH
11678
shlibpath_overrides_runpath=no
11679
hardcode_into_libs=yes
11680
dynamic_linker='ldqnx.so'
11685
sys_lib_dlsearch_path_spec="/usr/lib"
11687
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11689
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11690
*) need_version=no ;;
11692
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11693
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11694
shlibpath_var=LD_LIBRARY_PATH
11695
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11697
openbsd2.[89] | openbsd2.[89].*)
11698
shlibpath_overrides_runpath=no
11701
shlibpath_overrides_runpath=yes
11705
shlibpath_overrides_runpath=yes
11710
libname_spec='$name'
11713
library_names_spec='$libname${shared_ext} $libname.a'
11714
dynamic_linker='OS/2 ld.exe'
11715
shlibpath_var=LIBPATH
11718
osf3* | osf4* | osf5*)
11722
soname_spec='${libname}${release}${shared_ext}$major'
11723
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11724
shlibpath_var=LD_LIBRARY_PATH
11725
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11726
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11734
version_type=linux # correct to gnu/linux during the next big refactor
11737
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11738
soname_spec='${libname}${release}${shared_ext}$major'
11739
shlibpath_var=LD_LIBRARY_PATH
11740
shlibpath_overrides_runpath=yes
11741
hardcode_into_libs=yes
11742
# ldd complains unless libraries are executable
11743
postinstall_cmds='chmod +x $lib'
11748
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11749
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11750
shlibpath_var=LD_LIBRARY_PATH
11751
shlibpath_overrides_runpath=yes
11752
if test "$with_gnu_ld" = yes; then
11759
version_type=linux # correct to gnu/linux during the next big refactor
11760
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11761
soname_spec='${libname}${release}${shared_ext}$major'
11762
shlibpath_var=LD_LIBRARY_PATH
11763
case $host_vendor in
11765
shlibpath_overrides_runpath=no
11767
runpath_var=LD_RUN_PATH
11775
shlibpath_overrides_runpath=no
11776
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11782
if test -d /usr/nec ;then
11783
version_type=linux # correct to gnu/linux during the next big refactor
11784
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11785
soname_spec='$libname${shared_ext}.$major'
11786
shlibpath_var=LD_LIBRARY_PATH
11790
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11791
version_type=freebsd-elf
11794
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11795
soname_spec='${libname}${release}${shared_ext}$major'
11796
shlibpath_var=LD_LIBRARY_PATH
11797
shlibpath_overrides_runpath=yes
11798
hardcode_into_libs=yes
11799
if test "$with_gnu_ld" = yes; then
11800
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11802
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11805
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11809
sys_lib_dlsearch_path_spec='/usr/lib'
11813
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11814
version_type=linux # correct to gnu/linux during the next big refactor
11817
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11818
shlibpath_var=LD_LIBRARY_PATH
11819
shlibpath_overrides_runpath=no
11820
hardcode_into_libs=yes
11824
version_type=linux # correct to gnu/linux during the next big refactor
11825
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11826
soname_spec='${libname}${release}${shared_ext}$major'
11827
shlibpath_var=LD_LIBRARY_PATH
11834
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11835
$as_echo "$dynamic_linker" >&6; }
11836
test "$dynamic_linker" = no && can_build_shared=no
11838
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11839
if test "$GCC" = yes; then
11840
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11843
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11844
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11846
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11847
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11941
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11942
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11944
if test -n "$hardcode_libdir_flag_spec" ||
11945
test -n "$runpath_var" ||
11946
test "X$hardcode_automatic" = "Xyes" ; then
11948
# We can hardcode non-existent directories.
11949
if test "$hardcode_direct" != no &&
11950
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11951
# have to relink, otherwise we might link with an installed library
11952
# when we should be linking with a yet-to-be-installed one
11953
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11954
test "$hardcode_minus_L" != no; then
11955
# Linking always hardcodes the temporary library directory.
11956
hardcode_action=relink
11958
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11959
hardcode_action=immediate
11962
# We cannot hardcode anything, or else we can only hardcode existing
11964
hardcode_action=unsupported
11966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11967
$as_echo "$hardcode_action" >&6; }
11969
if test "$hardcode_action" = relink ||
11970
test "$inherit_rpath" = yes; then
11971
# Fast installation is not supported
11972
enable_fast_install=no
11973
elif test "$shlibpath_overrides_runpath" = yes ||
11974
test "$enable_shared" = no; then
11975
# Fast installation is not necessary
11976
enable_fast_install=needless
11984
if test "x$enable_dlopen" != xyes; then
11985
enable_dlopen=unknown
11986
enable_dlopen_self=unknown
11987
enable_dlopen_self_static=unknown
11994
lt_cv_dlopen="load_add_on"
11996
lt_cv_dlopen_self=yes
11999
mingw* | pw32* | cegcc*)
12000
lt_cv_dlopen="LoadLibrary"
12005
lt_cv_dlopen="dlopen"
12010
# if libdl is installed we need to link against it
12011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12012
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12013
if ${ac_cv_lib_dl_dlopen+:} false; then :
12014
$as_echo_n "(cached) " >&6
12016
ac_check_lib_save_LIBS=$LIBS
12018
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12019
/* end confdefs.h. */
12021
/* Override any GCC internal prototype to avoid an error.
12022
Use char because int might match the return type of a GCC
12023
builtin and then its argument prototype would still apply. */
12036
if ac_fn_c_try_link "$LINENO"; then :
12037
ac_cv_lib_dl_dlopen=yes
12039
ac_cv_lib_dl_dlopen=no
12041
rm -f core conftest.err conftest.$ac_objext \
12042
conftest$ac_exeext conftest.$ac_ext
12043
LIBS=$ac_check_lib_save_LIBS
12045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12046
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12047
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12048
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12051
lt_cv_dlopen="dyld"
12053
lt_cv_dlopen_self=yes
12060
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12061
if test "x$ac_cv_func_shl_load" = xyes; then :
12062
lt_cv_dlopen="shl_load"
12064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12065
$as_echo_n "checking for shl_load in -ldld... " >&6; }
12066
if ${ac_cv_lib_dld_shl_load+:} false; then :
12067
$as_echo_n "(cached) " >&6
12069
ac_check_lib_save_LIBS=$LIBS
12071
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12072
/* end confdefs.h. */
12074
/* Override any GCC internal prototype to avoid an error.
12075
Use char because int might match the return type of a GCC
12076
builtin and then its argument prototype would still apply. */
12084
return shl_load ();
12089
if ac_fn_c_try_link "$LINENO"; then :
12090
ac_cv_lib_dld_shl_load=yes
12092
ac_cv_lib_dld_shl_load=no
12094
rm -f core conftest.err conftest.$ac_objext \
12095
conftest$ac_exeext conftest.$ac_ext
12096
LIBS=$ac_check_lib_save_LIBS
12098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12099
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12100
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12101
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12103
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12104
if test "x$ac_cv_func_dlopen" = xyes; then :
12105
lt_cv_dlopen="dlopen"
12107
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12108
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12109
if ${ac_cv_lib_dl_dlopen+:} false; then :
12110
$as_echo_n "(cached) " >&6
12112
ac_check_lib_save_LIBS=$LIBS
12114
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12115
/* end confdefs.h. */
12117
/* Override any GCC internal prototype to avoid an error.
12118
Use char because int might match the return type of a GCC
12119
builtin and then its argument prototype would still apply. */
12132
if ac_fn_c_try_link "$LINENO"; then :
12133
ac_cv_lib_dl_dlopen=yes
12135
ac_cv_lib_dl_dlopen=no
12137
rm -f core conftest.err conftest.$ac_objext \
12138
conftest$ac_exeext conftest.$ac_ext
12139
LIBS=$ac_check_lib_save_LIBS
12141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12142
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12143
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12144
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12146
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12147
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12148
if ${ac_cv_lib_svld_dlopen+:} false; then :
12149
$as_echo_n "(cached) " >&6
12151
ac_check_lib_save_LIBS=$LIBS
12152
LIBS="-lsvld $LIBS"
12153
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12154
/* end confdefs.h. */
12156
/* Override any GCC internal prototype to avoid an error.
12157
Use char because int might match the return type of a GCC
12158
builtin and then its argument prototype would still apply. */
12171
if ac_fn_c_try_link "$LINENO"; then :
12172
ac_cv_lib_svld_dlopen=yes
12174
ac_cv_lib_svld_dlopen=no
12176
rm -f core conftest.err conftest.$ac_objext \
12177
conftest$ac_exeext conftest.$ac_ext
12178
LIBS=$ac_check_lib_save_LIBS
12180
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12181
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12182
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12183
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12185
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12186
$as_echo_n "checking for dld_link in -ldld... " >&6; }
12187
if ${ac_cv_lib_dld_dld_link+:} false; then :
12188
$as_echo_n "(cached) " >&6
12190
ac_check_lib_save_LIBS=$LIBS
12192
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12193
/* end confdefs.h. */
12195
/* Override any GCC internal prototype to avoid an error.
12196
Use char because int might match the return type of a GCC
12197
builtin and then its argument prototype would still apply. */
12205
return dld_link ();
12210
if ac_fn_c_try_link "$LINENO"; then :
12211
ac_cv_lib_dld_dld_link=yes
12213
ac_cv_lib_dld_dld_link=no
12215
rm -f core conftest.err conftest.$ac_objext \
12216
conftest$ac_exeext conftest.$ac_ext
12217
LIBS=$ac_check_lib_save_LIBS
12219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12220
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12221
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12222
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12243
if test "x$lt_cv_dlopen" != xno; then
12249
case $lt_cv_dlopen in
12251
save_CPPFLAGS="$CPPFLAGS"
12252
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12254
save_LDFLAGS="$LDFLAGS"
12255
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12258
LIBS="$lt_cv_dlopen_libs $LIBS"
12260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12261
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12262
if ${lt_cv_dlopen_self+:} false; then :
12263
$as_echo_n "(cached) " >&6
12265
if test "$cross_compiling" = yes; then :
12266
lt_cv_dlopen_self=cross
12268
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12269
lt_status=$lt_dlunknown
12270
cat > conftest.$ac_ext <<_LT_EOF
12271
#line $LINENO "configure"
12272
#include "confdefs.h"
12281
# define LT_DLGLOBAL RTLD_GLOBAL
12284
# define LT_DLGLOBAL DL_GLOBAL
12286
# define LT_DLGLOBAL 0
12290
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12291
find out it does not work in some platform. */
12292
#ifndef LT_DLLAZY_OR_NOW
12294
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12297
# define LT_DLLAZY_OR_NOW DL_LAZY
12300
# define LT_DLLAZY_OR_NOW RTLD_NOW
12303
# define LT_DLLAZY_OR_NOW DL_NOW
12305
# define LT_DLLAZY_OR_NOW 0
12312
/* When -fvisbility=hidden is used, assume the code has been annotated
12313
correspondingly for the symbols needed. */
12314
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12315
int fnord () __attribute__((visibility("default")));
12318
int fnord () { return 42; }
12321
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12322
int status = $lt_dlunknown;
12326
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12329
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12330
else puts (dlerror ());
12332
/* dlclose (self); */
12340
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12341
(eval $ac_link) 2>&5
12343
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12344
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12345
(./conftest; exit; ) >&5 2>/dev/null
12347
case x$lt_status in
12348
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12349
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12350
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12353
# compilation failed
12354
lt_cv_dlopen_self=no
12361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12362
$as_echo "$lt_cv_dlopen_self" >&6; }
12364
if test "x$lt_cv_dlopen_self" = xyes; then
12365
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12367
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12368
if ${lt_cv_dlopen_self_static+:} false; then :
12369
$as_echo_n "(cached) " >&6
12371
if test "$cross_compiling" = yes; then :
12372
lt_cv_dlopen_self_static=cross
12374
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12375
lt_status=$lt_dlunknown
12376
cat > conftest.$ac_ext <<_LT_EOF
12377
#line $LINENO "configure"
12378
#include "confdefs.h"
12387
# define LT_DLGLOBAL RTLD_GLOBAL
12390
# define LT_DLGLOBAL DL_GLOBAL
12392
# define LT_DLGLOBAL 0
12396
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12397
find out it does not work in some platform. */
12398
#ifndef LT_DLLAZY_OR_NOW
12400
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12403
# define LT_DLLAZY_OR_NOW DL_LAZY
12406
# define LT_DLLAZY_OR_NOW RTLD_NOW
12409
# define LT_DLLAZY_OR_NOW DL_NOW
12411
# define LT_DLLAZY_OR_NOW 0
12418
/* When -fvisbility=hidden is used, assume the code has been annotated
12419
correspondingly for the symbols needed. */
12420
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12421
int fnord () __attribute__((visibility("default")));
12424
int fnord () { return 42; }
12427
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12428
int status = $lt_dlunknown;
12432
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12435
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12436
else puts (dlerror ());
12438
/* dlclose (self); */
12446
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12447
(eval $ac_link) 2>&5
12449
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12450
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12451
(./conftest; exit; ) >&5 2>/dev/null
12453
case x$lt_status in
12454
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12455
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12456
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12459
# compilation failed
12460
lt_cv_dlopen_self_static=no
12467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12468
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12471
CPPFLAGS="$save_CPPFLAGS"
12472
LDFLAGS="$save_LDFLAGS"
12477
case $lt_cv_dlopen_self in
12478
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12479
*) enable_dlopen_self=unknown ;;
12482
case $lt_cv_dlopen_self_static in
12483
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12484
*) enable_dlopen_self_static=unknown ;;
12506
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12507
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12508
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12509
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12510
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12512
$as_echo "yes" >&6; }
12514
# FIXME - insert some real tests, host_os isn't really good enough
12517
if test -n "$STRIP" ; then
12518
striplib="$STRIP -x"
12519
old_striplib="$STRIP -S"
12520
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12521
$as_echo "yes" >&6; }
12523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12524
$as_echo "no" >&6; }
12528
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12529
$as_echo "no" >&6; }
12545
# Report which library types will actually be built
12546
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12547
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12549
$as_echo "$can_build_shared" >&6; }
12551
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12552
$as_echo_n "checking whether to build shared libraries... " >&6; }
12553
test "$can_build_shared" = "no" && enable_shared=no
12555
# On AIX, shared libraries and static libraries use the same namespace, and
12556
# are all built from PIC.
12559
test "$enable_shared" = yes && enable_static=no
12560
if test -n "$RANLIB"; then
12561
archive_cmds="$archive_cmds~\$RANLIB \$lib"
12562
postinstall_cmds='$RANLIB $lib'
12567
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12568
test "$enable_shared" = yes && enable_static=no
12572
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12573
$as_echo "$enable_shared" >&6; }
12575
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12576
$as_echo_n "checking whether to build static libraries... " >&6; }
12577
# Make sure either enable_shared or enable_static is yes.
12578
test "$enable_shared" = yes || enable_static=yes
12579
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12580
$as_echo "$enable_static" >&6; }
12587
ac_cpp='$CXXCPP $CPPFLAGS'
12588
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12589
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12590
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12594
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12595
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12596
(test "X$CXX" != "Xg++"))) ; then
12598
ac_cpp='$CXXCPP $CPPFLAGS'
12599
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12600
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12601
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12602
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12603
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12604
if test -z "$CXXCPP"; then
12605
if ${ac_cv_prog_CXXCPP+:} false; then :
12606
$as_echo_n "(cached) " >&6
12608
# Double quotes because CXXCPP needs to be expanded
12609
for CXXCPP in "$CXX -E" "/lib/cpp"
12611
ac_preproc_ok=false
12612
for ac_cxx_preproc_warn_flag in '' yes
12614
# Use a header file that comes with gcc, so configuring glibc
12615
# with a fresh cross-compiler works.
12616
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12617
# <limits.h> exists even on freestanding compilers.
12618
# On the NeXT, cc -E runs the code through the compiler's parser,
12619
# not just through cpp. "Syntax error" is here to catch this case.
12620
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12621
/* end confdefs.h. */
12623
# include <limits.h>
12625
# include <assert.h>
12629
if ac_fn_cxx_try_cpp "$LINENO"; then :
12632
# Broken: fails on valid input.
12635
rm -f conftest.err conftest.i conftest.$ac_ext
12637
# OK, works on sane cases. Now check whether nonexistent headers
12638
# can be detected and how.
12639
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12640
/* end confdefs.h. */
12641
#include <ac_nonexistent.h>
12643
if ac_fn_cxx_try_cpp "$LINENO"; then :
12644
# Broken: success on invalid input.
12647
# Passes both tests.
12651
rm -f conftest.err conftest.i conftest.$ac_ext
12654
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12655
rm -f conftest.i conftest.err conftest.$ac_ext
12656
if $ac_preproc_ok; then :
12661
ac_cv_prog_CXXCPP=$CXXCPP
12664
CXXCPP=$ac_cv_prog_CXXCPP
12666
ac_cv_prog_CXXCPP=$CXXCPP
12668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12669
$as_echo "$CXXCPP" >&6; }
12670
ac_preproc_ok=false
12671
for ac_cxx_preproc_warn_flag in '' yes
12673
# Use a header file that comes with gcc, so configuring glibc
12674
# with a fresh cross-compiler works.
12675
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12676
# <limits.h> exists even on freestanding compilers.
12677
# On the NeXT, cc -E runs the code through the compiler's parser,
12678
# not just through cpp. "Syntax error" is here to catch this case.
12679
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12680
/* end confdefs.h. */
12682
# include <limits.h>
12684
# include <assert.h>
12688
if ac_fn_cxx_try_cpp "$LINENO"; then :
12691
# Broken: fails on valid input.
12694
rm -f conftest.err conftest.i conftest.$ac_ext
12696
# OK, works on sane cases. Now check whether nonexistent headers
12697
# can be detected and how.
12698
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12699
/* end confdefs.h. */
12700
#include <ac_nonexistent.h>
12702
if ac_fn_cxx_try_cpp "$LINENO"; then :
12703
# Broken: success on invalid input.
12706
# Passes both tests.
12710
rm -f conftest.err conftest.i conftest.$ac_ext
12713
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12714
rm -f conftest.i conftest.err conftest.$ac_ext
12715
if $ac_preproc_ok; then :
12718
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12719
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12720
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12721
See \`config.log' for more details" "$LINENO" 5; }
12725
ac_cpp='$CXXCPP $CPPFLAGS'
12726
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12727
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12728
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12731
_lt_caught_CXX_error=yes
12735
ac_cpp='$CXXCPP $CPPFLAGS'
12736
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12737
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12738
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12740
archive_cmds_need_lc_CXX=no
12741
allow_undefined_flag_CXX=
12742
always_export_symbols_CXX=no
12743
archive_expsym_cmds_CXX=
12744
compiler_needs_object_CXX=no
12745
export_dynamic_flag_spec_CXX=
12746
hardcode_direct_CXX=no
12747
hardcode_direct_absolute_CXX=no
12748
hardcode_libdir_flag_spec_CXX=
12749
hardcode_libdir_separator_CXX=
12750
hardcode_minus_L_CXX=no
12751
hardcode_shlibpath_var_CXX=unsupported
12752
hardcode_automatic_CXX=no
12753
inherit_rpath_CXX=no
12755
module_expsym_cmds_CXX=
12756
link_all_deplibs_CXX=unknown
12757
old_archive_cmds_CXX=$old_archive_cmds
12758
reload_flag_CXX=$reload_flag
12759
reload_cmds_CXX=$reload_cmds
12760
no_undefined_flag_CXX=
12761
whole_archive_flag_spec_CXX=
12762
enable_shared_with_static_runtimes_CXX=no
12764
# Source file extension for C++ test sources.
12767
# Object file extension for compiled C++ test sources.
12771
# No sense in running all these tests if we already determined that
12772
# the CXX compiler isn't working. Some variables (like enable_shared)
12773
# are currently assumed to apply to all compilers on this platform,
12774
# and will be corrupted by setting them based on a non-working compiler.
12775
if test "$_lt_caught_CXX_error" != yes; then
12776
# Code to be used in simple compile tests
12777
lt_simple_compile_test_code="int some_variable = 0;"
12779
# Code to be used in simple link tests
12780
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12782
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12789
# If no C compiler was specified, use CC.
12792
# If no C compiler flags were specified, use CFLAGS.
12793
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12795
# Allow CC to be a program name with arguments.
12799
# save warnings/boilerplate of simple test code
12800
ac_outfile=conftest.$ac_objext
12801
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12802
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12803
_lt_compiler_boilerplate=`cat conftest.err`
12806
ac_outfile=conftest.$ac_objext
12807
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12808
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12809
_lt_linker_boilerplate=`cat conftest.err`
12813
# Allow CC to be a program name with arguments.
12815
lt_save_CFLAGS=$CFLAGS
12819
lt_save_with_gnu_ld=$with_gnu_ld
12820
lt_save_path_LD=$lt_cv_path_LD
12821
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12822
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12824
$as_unset lt_cv_prog_gnu_ld
12826
if test -n "${lt_cv_path_LDCXX+set}"; then
12827
lt_cv_path_LD=$lt_cv_path_LDCXX
12829
$as_unset lt_cv_path_LD
12831
test -z "${LDCXX+set}" || LD=$LDCXX
12836
for cc_temp in $compiler""; do
12838
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12839
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12844
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12847
if test -n "$compiler"; then
12848
# We don't want -fno-exception when compiling C++ code, so set the
12849
# no_builtin_flag separately
12850
if test "$GXX" = yes; then
12851
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12853
lt_prog_compiler_no_builtin_flag_CXX=
12856
if test "$GXX" = yes; then
12857
# Set up default GNU C++ configuration
12861
# Check whether --with-gnu-ld was given.
12862
if test "${with_gnu_ld+set}" = set; then :
12863
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12869
if test "$GCC" = yes; then
12870
# Check if gcc -print-prog-name=ld gives a path.
12871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12872
$as_echo_n "checking for ld used by $CC... " >&6; }
12875
# gcc leaves a trailing carriage return which upsets mingw
12876
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12878
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12881
# Accept absolute paths.
12883
re_direlt='/[^/][^/]*/\.\./'
12884
# Canonicalize the pathname of ld
12885
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12886
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12887
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12889
test -z "$LD" && LD="$ac_prog"
12892
# If it fails, then pretend we aren't using GCC.
12896
# If it is relative, then search for the first ld in PATH.
12897
with_gnu_ld=unknown
12900
elif test "$with_gnu_ld" = yes; then
12901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12902
$as_echo_n "checking for GNU ld... " >&6; }
12904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12905
$as_echo_n "checking for non-GNU ld... " >&6; }
12907
if ${lt_cv_path_LD+:} false; then :
12908
$as_echo_n "(cached) " >&6
12910
if test -z "$LD"; then
12911
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12912
for ac_dir in $PATH; do
12914
test -z "$ac_dir" && ac_dir=.
12915
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12916
lt_cv_path_LD="$ac_dir/$ac_prog"
12917
# Check to see if the program is GNU ld. I'd rather use --version,
12918
# but apparently some variants of GNU ld only accept -v.
12919
# Break only if it was the GNU/non-GNU ld that we prefer.
12920
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12921
*GNU* | *'with BFD'*)
12922
test "$with_gnu_ld" != no && break
12925
test "$with_gnu_ld" != yes && break
12932
lt_cv_path_LD="$LD" # Let the user override the test with a path.
12936
LD="$lt_cv_path_LD"
12937
if test -n "$LD"; then
12938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12939
$as_echo "$LD" >&6; }
12941
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12942
$as_echo "no" >&6; }
12944
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12945
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12946
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12947
if ${lt_cv_prog_gnu_ld+:} false; then :
12948
$as_echo_n "(cached) " >&6
12950
# I'd rather use --version here, but apparently some GNU lds only accept -v.
12951
case `$LD -v 2>&1 </dev/null` in
12952
*GNU* | *'with BFD'*)
12953
lt_cv_prog_gnu_ld=yes
12956
lt_cv_prog_gnu_ld=no
12960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12961
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12962
with_gnu_ld=$lt_cv_prog_gnu_ld
12970
# Check if GNU C++ uses GNU ld as the underlying linker, since the
12971
# archiving commands below assume that GNU ld is being used.
12972
if test "$with_gnu_ld" = yes; then
12973
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12974
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'
12976
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12977
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12979
# If archive_cmds runs LD, not CC, wlarc should be empty
12980
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12981
# investigate it a little bit more. (MM)
12984
# ancient GNU ld didn't support --whole-archive et. al.
12985
if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12986
$GREP 'no-whole-archive' > /dev/null; then
12987
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12989
whole_archive_flag_spec_CXX=
12995
# A generic and very simple default shared library creation
12996
# command for GNU C++ for the case where it uses the native
12997
# linker, instead of GNU ld. If possible, this setting should
12998
# overridden to take advantage of the native linker features on
12999
# the platform it is being used on.
13000
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13003
# Commands to make compiler produce verbose output that lists
13004
# what "hidden" libraries, object files and flags are used when
13005
# linking a shared library.
13006
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13014
# PORTME: fill in a description of your system's C++ link characteristics
13015
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13016
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13020
# FIXME: insert proper C++ library support
13024
if test "$host_cpu" = ia64; then
13025
# On IA64, the linker does run time linking by default, so we don't
13026
# have to do anything special.
13027
aix_use_runtimelinking=no
13028
exp_sym_flag='-Bexport'
13031
aix_use_runtimelinking=no
13033
# Test if we are trying to use run time linking or normal
13034
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
13035
# need to do runtime linking.
13036
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
13037
for ld_flag in $LDFLAGS; do
13040
aix_use_runtimelinking=yes
13048
exp_sym_flag='-bexport'
13049
no_entry_flag='-bnoentry'
13052
# When large executables or shared objects are built, AIX ld can
13053
# have problems creating the table of contents. If linking a library
13054
# or program results in "error TOC overflow" add -mminimal-toc to
13055
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13056
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13058
archive_cmds_CXX=''
13059
hardcode_direct_CXX=yes
13060
hardcode_direct_absolute_CXX=yes
13061
hardcode_libdir_separator_CXX=':'
13062
link_all_deplibs_CXX=yes
13063
file_list_spec_CXX='${wl}-f,'
13065
if test "$GXX" = yes; then
13066
case $host_os in aix4.[012]|aix4.[012].*)
13067
# We only want to do this on AIX 4.2 and lower, the check
13068
# below for broken collect2 doesn't work under 4.3+
13069
collect2name=`${CC} -print-prog-name=collect2`
13070
if test -f "$collect2name" &&
13071
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
13073
# We have reworked collect2
13076
# We have old collect2
13077
hardcode_direct_CXX=unsupported
13078
# It fails to find uninstalled libraries when the uninstalled
13079
# path is not listed in the libpath. Setting hardcode_minus_L
13080
# to unsupported forces relinking
13081
hardcode_minus_L_CXX=yes
13082
hardcode_libdir_flag_spec_CXX='-L$libdir'
13083
hardcode_libdir_separator_CXX=
13086
shared_flag='-shared'
13087
if test "$aix_use_runtimelinking" = yes; then
13088
shared_flag="$shared_flag "'${wl}-G'
13092
if test "$host_cpu" = ia64; then
13093
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13094
# chokes on -Wl,-G. The following line is correct:
13097
if test "$aix_use_runtimelinking" = yes; then
13098
shared_flag='${wl}-G'
13100
shared_flag='${wl}-bM:SRE'
13105
export_dynamic_flag_spec_CXX='${wl}-bexpall'
13106
# It seems that -bexpall does not export symbols beginning with
13107
# underscore (_), so it is better to generate a list of symbols to
13109
always_export_symbols_CXX=yes
13110
if test "$aix_use_runtimelinking" = yes; then
13111
# Warning - without using the other runtime loading flags (-brtl),
13112
# -berok will link without error, but may produce a broken library.
13113
allow_undefined_flag_CXX='-berok'
13114
# Determine the default libpath from the value encoded in an empty
13116
if test "${lt_cv_aix_libpath+set}" = set; then
13117
aix_libpath=$lt_cv_aix_libpath
13119
if ${lt_cv_aix_libpath__CXX+:} false; then :
13120
$as_echo_n "(cached) " >&6
13122
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13123
/* end confdefs.h. */
13133
if ac_fn_cxx_try_link "$LINENO"; then :
13135
lt_aix_libpath_sed='
13136
/Import File Strings/,/^$/ {
13138
s/^0 *\([^ ]*\) *$/\1/
13142
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13143
# Check for a 64-bit object if we didn't find anything.
13144
if test -z "$lt_cv_aix_libpath__CXX"; then
13145
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13148
rm -f core conftest.err conftest.$ac_objext \
13149
conftest$ac_exeext conftest.$ac_ext
13150
if test -z "$lt_cv_aix_libpath__CXX"; then
13151
lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13156
aix_libpath=$lt_cv_aix_libpath__CXX
13159
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13161
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"
13163
if test "$host_cpu" = ia64; then
13164
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13165
allow_undefined_flag_CXX="-z nodefs"
13166
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"
13168
# Determine the default libpath from the value encoded in an
13169
# empty executable.
13170
if test "${lt_cv_aix_libpath+set}" = set; then
13171
aix_libpath=$lt_cv_aix_libpath
13173
if ${lt_cv_aix_libpath__CXX+:} false; then :
13174
$as_echo_n "(cached) " >&6
13176
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13177
/* end confdefs.h. */
13187
if ac_fn_cxx_try_link "$LINENO"; then :
13189
lt_aix_libpath_sed='
13190
/Import File Strings/,/^$/ {
13192
s/^0 *\([^ ]*\) *$/\1/
13196
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13197
# Check for a 64-bit object if we didn't find anything.
13198
if test -z "$lt_cv_aix_libpath__CXX"; then
13199
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13202
rm -f core conftest.err conftest.$ac_objext \
13203
conftest$ac_exeext conftest.$ac_ext
13204
if test -z "$lt_cv_aix_libpath__CXX"; then
13205
lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13210
aix_libpath=$lt_cv_aix_libpath__CXX
13213
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13214
# Warning - without using the other run time loading flags,
13215
# -berok will link without error, but may produce a broken library.
13216
no_undefined_flag_CXX=' ${wl}-bernotok'
13217
allow_undefined_flag_CXX=' ${wl}-berok'
13218
if test "$with_gnu_ld" = yes; then
13219
# We only use this code for GNU lds that support --whole-archive.
13220
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13222
# Exported symbols can be pulled into shared objects from archives
13223
whole_archive_flag_spec_CXX='$convenience'
13225
archive_cmds_need_lc_CXX=yes
13226
# This is similar to how AIX traditionally builds its shared
13228
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'
13234
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13235
allow_undefined_flag_CXX=unsupported
13236
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13237
# support --undefined. This deserves some investigation. FIXME
13238
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13245
case $cc_basename in
13247
# FIXME: insert proper C++ library support
13253
cygwin* | mingw* | pw32* | cegcc*)
13254
case $GXX,$cc_basename in
13257
# hardcode_libdir_flag_spec is actually meaningless, as there is
13258
# no search path for DLLs.
13259
hardcode_libdir_flag_spec_CXX=' '
13260
allow_undefined_flag_CXX=unsupported
13261
always_export_symbols_CXX=yes
13262
file_list_spec_CXX='@'
13263
# Tell ltmain to make .lib files, not .a files.
13265
# Tell ltmain to make .dll files, not .so files.
13267
# FIXME: Setting linknames here is a bad hack.
13268
archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13269
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13270
$SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13272
$SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13274
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13276
# The linker will not automatically build a static lib if we build a DLL.
13277
# _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13278
enable_shared_with_static_runtimes_CXX=yes
13280
old_postinstall_cmds_CXX='chmod 644 $oldlib'
13281
postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13282
lt_tool_outputfile="@TOOL_OUTPUT@"~
13283
case $lt_outputfile in
13286
lt_outputfile="$lt_outputfile.exe"
13287
lt_tool_outputfile="$lt_tool_outputfile.exe"
13290
func_to_tool_file "$lt_outputfile"~
13291
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13292
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13293
$RM "$lt_outputfile.manifest";
13298
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13299
# as there is no search path for DLLs.
13300
hardcode_libdir_flag_spec_CXX='-L$libdir'
13301
export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13302
allow_undefined_flag_CXX=unsupported
13303
always_export_symbols_CXX=no
13304
enable_shared_with_static_runtimes_CXX=yes
13306
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13307
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'
13308
# If the export-symbols file already is a .def file (1st line
13309
# is EXPORTS), use it as is; otherwise, prepend...
13310
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13311
cp $export_symbols $output_objdir/$soname.def;
13313
echo EXPORTS > $output_objdir/$soname.def;
13314
cat $export_symbols >> $output_objdir/$soname.def;
13316
$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'
13323
darwin* | rhapsody*)
13326
archive_cmds_need_lc_CXX=no
13327
hardcode_direct_CXX=no
13328
hardcode_automatic_CXX=yes
13329
hardcode_shlibpath_var_CXX=unsupported
13330
if test "$lt_cv_ld_force_load" = "yes"; then
13331
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\"`'
13334
whole_archive_flag_spec_CXX=''
13336
link_all_deplibs_CXX=yes
13337
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13338
case $cc_basename in
13339
ifort*) _lt_dar_can_shared=yes ;;
13340
*) _lt_dar_can_shared=$GCC ;;
13342
if test "$_lt_dar_can_shared" = "yes"; then
13343
output_verbose_link_cmd=func_echo_all
13344
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}"
13345
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13346
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}"
13347
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}"
13348
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13349
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}"
13350
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}"
13360
case $cc_basename in
13362
# FIXME: insert proper C++ library support
13366
# Green Hills C++ Compiler
13367
# FIXME: insert proper C++ library support
13371
# FIXME: insert proper C++ library support
13378
# C++ shared libraries reported to be fairly broken before
13384
archive_cmds_need_lc_CXX=no
13387
freebsd* | dragonfly*)
13388
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13394
archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13395
link_all_deplibs_CXX=yes
13399
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13400
hardcode_libdir_separator_CXX=:
13401
export_dynamic_flag_spec_CXX='${wl}-E'
13402
hardcode_direct_CXX=yes
13403
hardcode_minus_L_CXX=yes # Not in the search PATH,
13404
# but as the default
13405
# location of the library.
13407
case $cc_basename in
13409
# FIXME: insert proper C++ library support
13413
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'
13414
# Commands to make compiler produce verbose output that lists
13415
# what "hidden" libraries, object files and flags are used when
13416
# linking a shared library.
13418
# There doesn't appear to be a way to prevent this compiler from
13419
# explicitly linking system object files so we need to strip them
13420
# from the output so that they don't get included in the library
13422
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"'
13425
if test "$GXX" = yes; then
13426
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'
13428
# FIXME: insert proper C++ library support
13436
if test $with_gnu_ld = no; then
13437
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13438
hardcode_libdir_separator_CXX=:
13444
export_dynamic_flag_spec_CXX='${wl}-E'
13450
hardcode_direct_CXX=no
13451
hardcode_shlibpath_var_CXX=no
13454
hardcode_direct_CXX=yes
13455
hardcode_direct_absolute_CXX=yes
13456
hardcode_minus_L_CXX=yes # Not in the search PATH,
13457
# but as the default
13458
# location of the library.
13462
case $cc_basename in
13464
# FIXME: insert proper C++ library support
13470
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13473
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13476
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13479
# Commands to make compiler produce verbose output that lists
13480
# what "hidden" libraries, object files and flags are used when
13481
# linking a shared library.
13483
# There doesn't appear to be a way to prevent this compiler from
13484
# explicitly linking system object files so we need to strip them
13485
# from the output so that they don't get included in the library
13487
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"'
13490
if test "$GXX" = yes; then
13491
if test $with_gnu_ld = no; then
13494
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13497
archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13500
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'
13505
# FIXME: insert proper C++ library support
13513
hardcode_direct_CXX=no
13514
hardcode_shlibpath_var_CXX=no
13515
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13516
export_dynamic_flag_spec_CXX='${wl}-E'
13517
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13518
# Instead, shared libraries are loaded at an image base (0x10000000 by
13519
# default) and relocated if they conflict, which is a slow very memory
13520
# consuming and fragmenting process. To avoid this, we pick a random,
13521
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13522
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
13523
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'
13524
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'
13527
case $cc_basename in
13530
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'
13532
# Archives containing C++ object files must be created using
13533
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
13534
# necessary to make sure instantiated templates are included
13536
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13539
if test "$GXX" = yes; then
13540
if test "$with_gnu_ld" = no; then
13541
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'
13543
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'
13546
link_all_deplibs_CXX=yes
13549
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13550
hardcode_libdir_separator_CXX=:
13551
inherit_rpath_CXX=yes
13554
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13555
case $cc_basename in
13557
# Kuck and Associates, Inc. (KAI) C++ Compiler
13559
# KCC will only create a shared library if the output file
13560
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13561
# to its proper name (with version) after linking.
13562
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'
13563
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'
13564
# Commands to make compiler produce verbose output that lists
13565
# what "hidden" libraries, object files and flags are used when
13566
# linking a shared library.
13568
# There doesn't appear to be a way to prevent this compiler from
13569
# explicitly linking system object files so we need to strip them
13570
# from the output so that they don't get included in the library
13572
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"'
13574
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13575
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13577
# Archives containing C++ object files must be created using
13578
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
13579
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13584
# version 8.0 and above of icpc choke on multiply defined symbols
13585
# if we add $predep_objects and $postdep_objects, however 7.1 and
13586
# earlier do not add the objects themselves.
13587
case `$CC -V 2>&1` in
13589
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13590
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'
13592
*) # Version 8.0 or newer
13595
ia64*) tmp_idyn=' -i_dynamic';;
13597
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13598
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'
13601
archive_cmds_need_lc_CXX=no
13602
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13603
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13604
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13607
# Portland Group C++ compiler
13609
*pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13610
prelink_cmds_CXX='tpldir=Template.dir~
13612
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13613
compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13614
old_archive_cmds_CXX='tpldir=Template.dir~
13616
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13617
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13619
archive_cmds_CXX='tpldir=Template.dir~
13621
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13622
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13623
archive_expsym_cmds_CXX='tpldir=Template.dir~
13625
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13626
$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'
13628
*) # Version 6 and above use weak symbols
13629
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13630
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'
13634
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13635
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13636
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'
13640
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13641
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'
13643
runpath_var=LD_RUN_PATH
13644
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13645
hardcode_libdir_separator_CXX=:
13647
# Commands to make compiler produce verbose output that lists
13648
# what "hidden" libraries, object files and flags are used when
13649
# linking a shared library.
13651
# There doesn't appear to be a way to prevent this compiler from
13652
# explicitly linking system object files so we need to strip them
13653
# from the output so that they don't get included in the library
13655
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'
13657
xl* | mpixl* | bgxl*)
13658
# IBM XL 8.0 on PPC, with GNU ld
13659
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13660
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13661
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13662
if test "x$supports_anon_versioning" = xyes; then
13663
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13664
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13665
echo "local: *; };" >> $output_objdir/$libname.ver~
13666
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13670
case `$CC -V 2>&1 | sed 5q` in
13673
no_undefined_flag_CXX=' -zdefs'
13674
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13675
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'
13676
hardcode_libdir_flag_spec_CXX='-R$libdir'
13677
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'
13678
compiler_needs_object_CXX=yes
13680
# Not sure whether something based on
13681
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13683
output_verbose_link_cmd='func_echo_all'
13685
# Archives containing C++ object files must be created using
13686
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13687
# necessary to make sure instantiated templates are included
13689
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13697
# FIXME: insert proper C++ library support
13702
# FIXME: insert proper C++ library support
13707
case $cc_basename in
13709
# FIXME: insert proper C++ library support
13713
# FIXME: insert proper C++ library support
13720
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13721
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13723
hardcode_libdir_flag_spec_CXX='-R$libdir'
13724
hardcode_direct_CXX=yes
13725
hardcode_shlibpath_var_CXX=no
13727
# Workaround some broken pre-1.5 toolchains
13728
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13736
# C++ shared libraries are fairly broken
13741
if test -f /usr/libexec/ld.so; then
13742
hardcode_direct_CXX=yes
13743
hardcode_shlibpath_var_CXX=no
13744
hardcode_direct_absolute_CXX=yes
13745
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13746
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13747
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13748
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13749
export_dynamic_flag_spec_CXX='${wl}-E'
13750
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13752
output_verbose_link_cmd=func_echo_all
13758
osf3* | osf4* | osf5*)
13759
case $cc_basename in
13761
# Kuck and Associates, Inc. (KAI) C++ Compiler
13763
# KCC will only create a shared library if the output file
13764
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13765
# to its proper name (with version) after linking.
13766
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'
13768
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13769
hardcode_libdir_separator_CXX=:
13771
# Archives containing C++ object files must be created using
13772
# the KAI C++ compiler.
13774
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13775
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13779
# Rational C++ 2.4.1
13780
# FIXME: insert proper C++ library support
13786
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13787
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'
13788
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13791
allow_undefined_flag_CXX=' -expect_unresolved \*'
13792
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'
13793
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13794
echo "-hidden">> $lib.exp~
13795
$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~
13797
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13801
hardcode_libdir_separator_CXX=:
13803
# Commands to make compiler produce verbose output that lists
13804
# what "hidden" libraries, object files and flags are used when
13805
# linking a shared library.
13807
# There doesn't appear to be a way to prevent this compiler from
13808
# explicitly linking system object files so we need to strip them
13809
# from the output so that they don't get included in the library
13811
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"'
13814
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13815
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13818
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'
13821
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'
13825
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13826
hardcode_libdir_separator_CXX=:
13828
# Commands to make compiler produce verbose output that lists
13829
# what "hidden" libraries, object files and flags are used when
13830
# linking a shared library.
13831
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13834
# FIXME: insert proper C++ library support
13842
# FIXME: insert proper C++ library support
13847
case $cc_basename in
13850
# FIXME: insert proper C++ library support
13855
# FIXME: insert proper C++ library support
13859
# FIXME: insert proper C++ library support
13866
case $cc_basename in
13868
# Sun C++ 4.2, 5.x and Centerline C++
13869
archive_cmds_need_lc_CXX=yes
13870
no_undefined_flag_CXX=' -zdefs'
13871
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13872
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13873
$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'
13875
hardcode_libdir_flag_spec_CXX='-R$libdir'
13876
hardcode_shlibpath_var_CXX=no
13878
solaris2.[0-5] | solaris2.[0-5].*) ;;
13880
# The compiler driver will combine and reorder linker options,
13881
# but understands `-z linker_flag'.
13882
# Supported since Solaris 2.6 (maybe 2.5.1?)
13883
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13886
link_all_deplibs_CXX=yes
13888
output_verbose_link_cmd='func_echo_all'
13890
# Archives containing C++ object files must be created using
13891
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13892
# necessary to make sure instantiated templates are included
13894
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13897
# Green Hills C++ Compiler
13898
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13900
# The C++ compiler must be used to create the archive.
13901
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13904
# GNU C++ compiler with Solaris linker
13905
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13906
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13907
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13908
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13909
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13910
$CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13912
# Commands to make compiler produce verbose output that lists
13913
# what "hidden" libraries, object files and flags are used when
13914
# linking a shared library.
13915
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13917
# g++ 2.7 appears to require `-G' NOT `-shared' on this
13919
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13920
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13921
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13923
# Commands to make compiler produce verbose output that lists
13924
# what "hidden" libraries, object files and flags are used when
13925
# linking a shared library.
13926
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13929
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13931
solaris2.[0-5] | solaris2.[0-5].*) ;;
13933
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13941
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13942
no_undefined_flag_CXX='${wl}-z,text'
13943
archive_cmds_need_lc_CXX=no
13944
hardcode_shlibpath_var_CXX=no
13945
runpath_var='LD_RUN_PATH'
13947
case $cc_basename in
13949
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13950
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13953
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13954
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13959
sysv5* | sco3.2v5* | sco5v6*)
13960
# Note: We can NOT use -z defs as we might desire, because we do not
13961
# link with -lc, and that would cause any symbols used from libc to
13962
# always be unresolved, which means just about no library would
13963
# ever link correctly. If we're not using GNU ld we use -z text
13964
# though, which does catch some bad symbols but isn't as heavy-handed
13966
no_undefined_flag_CXX='${wl}-z,text'
13967
allow_undefined_flag_CXX='${wl}-z,nodefs'
13968
archive_cmds_need_lc_CXX=no
13969
hardcode_shlibpath_var_CXX=no
13970
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13971
hardcode_libdir_separator_CXX=':'
13972
link_all_deplibs_CXX=yes
13973
export_dynamic_flag_spec_CXX='${wl}-Bexport'
13974
runpath_var='LD_RUN_PATH'
13976
case $cc_basename in
13978
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13979
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13980
old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13981
'"$old_archive_cmds_CXX"
13982
reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13983
'"$reload_cmds_CXX"
13986
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13987
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13993
case $cc_basename in
13995
# NonStop-UX NCC 3.20
13996
# FIXME: insert proper C++ library support
14000
# FIXME: insert proper C++ library support
14007
# FIXME: insert proper C++ library support
14012
# FIXME: insert proper C++ library support
14017
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14018
$as_echo "$ld_shlibs_CXX" >&6; }
14019
test "$ld_shlibs_CXX" = no && can_build_shared=no
14025
## There is no encapsulation within the following macros, do not change
14026
## the running order or otherwise move them around unless you know exactly
14027
## what you are doing...
14028
# Dependencies to place before and after the object being linked:
14029
predep_objects_CXX=
14030
postdep_objects_CXX=
14033
compiler_lib_search_path_CXX=
14035
cat > conftest.$ac_ext <<_LT_EOF
14039
Foo (void) { a = 0; }
14046
_lt_libdeps_save_CFLAGS=$CFLAGS
14047
case "$CC $CFLAGS " in #(
14048
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
14049
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
14050
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
14053
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14054
(eval $ac_compile) 2>&5
14056
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14057
test $ac_status = 0; }; then
14058
# Parse the compiler output and extract the necessary
14059
# objects, libraries and library flags.
14061
# Sentinel used to keep track of whether or not we are before
14062
# the conftest object file.
14063
pre_test_object_deps_done=no
14065
for p in `eval "$output_verbose_link_cmd"`; do
14066
case ${prev}${p} in
14069
# Some compilers place space between "-{L,R}" and the path.
14070
# Remove the space.
14071
if test $p = "-L" ||
14072
test $p = "-R"; then
14077
# Expand the sysroot to ease extracting the directories later.
14078
if test -z "$prev"; then
14080
-L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
14081
-R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
14082
-l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
14086
=*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
14088
if test "$pre_test_object_deps_done" = no; then
14091
# Internal compiler library paths should come after those
14092
# provided the user. The postdeps already come after the
14093
# user supplied libs so there is no need to process them.
14094
if test -z "$compiler_lib_search_path_CXX"; then
14095
compiler_lib_search_path_CXX="${prev}${p}"
14097
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
14100
# The "-l" case would never come before the object being
14101
# linked, so don't bother handling this case.
14104
if test -z "$postdeps_CXX"; then
14105
postdeps_CXX="${prev}${p}"
14107
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
14113
*.lto.$objext) ;; # Ignore GCC LTO objects
14115
# This assumes that the test object file only shows up
14116
# once in the compiler output.
14117
if test "$p" = "conftest.$objext"; then
14118
pre_test_object_deps_done=yes
14122
if test "$pre_test_object_deps_done" = no; then
14123
if test -z "$predep_objects_CXX"; then
14124
predep_objects_CXX="$p"
14126
predep_objects_CXX="$predep_objects_CXX $p"
14129
if test -z "$postdep_objects_CXX"; then
14130
postdep_objects_CXX="$p"
14132
postdep_objects_CXX="$postdep_objects_CXX $p"
14137
*) ;; # Ignore the rest.
14145
echo "libtool.m4: error: problem compiling CXX test program"
14148
$RM -f confest.$objext
14149
CFLAGS=$_lt_libdeps_save_CFLAGS
14151
# PORTME: override above test on systems where it is broken
14154
# Interix 3.5 installs completely hosed .la files for C++, so rather than
14155
# hack all around it, let's just trust "g++" to DTRT.
14156
predep_objects_CXX=
14157
postdep_objects_CXX=
14162
case `$CC -V 2>&1 | sed 5q` in
14166
# The more standards-conforming stlport4 library is
14167
# incompatible with the Cstd library. Avoid specifying
14168
# it if it's in CXXFLAGS. Ignore libCrun as
14169
# -library=stlport4 depends on it.
14170
case " $CXX $CXXFLAGS " in
14171
*" -library=stlport4 "*)
14172
solaris_use_stlport4=yes
14176
if test "$solaris_use_stlport4" != yes; then
14177
postdeps_CXX='-library=Cstd -library=Crun'
14184
case $cc_basename in
14186
# The more standards-conforming stlport4 library is
14187
# incompatible with the Cstd library. Avoid specifying
14188
# it if it's in CXXFLAGS. Ignore libCrun as
14189
# -library=stlport4 depends on it.
14190
case " $CXX $CXXFLAGS " in
14191
*" -library=stlport4 "*)
14192
solaris_use_stlport4=yes
14196
# Adding this requires a known-good setup of shared libraries for
14197
# Sun compiler versions before 5.6, else PIC objects from an old
14198
# archive will be linked into the output, leading to subtle bugs.
14199
if test "$solaris_use_stlport4" != yes; then
14200
postdeps_CXX='-library=Cstd -library=Crun'
14208
case " $postdeps_CXX " in
14209
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14211
compiler_lib_search_dirs_CXX=
14212
if test -n "${compiler_lib_search_path_CXX}"; then
14213
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14246
lt_prog_compiler_wl_CXX=
14247
lt_prog_compiler_pic_CXX=
14248
lt_prog_compiler_static_CXX=
14251
# C++ specific cases for pic, static, wl, etc.
14252
if test "$GXX" = yes; then
14253
lt_prog_compiler_wl_CXX='-Wl,'
14254
lt_prog_compiler_static_CXX='-static'
14258
# All AIX code is PIC.
14259
if test "$host_cpu" = ia64; then
14260
# AIX 5 now supports IA64 processor
14261
lt_prog_compiler_static_CXX='-Bstatic'
14268
# see comment about AmigaOS4 .so support
14269
lt_prog_compiler_pic_CXX='-fPIC'
14272
# FIXME: we need at least 68020 code to build shared libraries, but
14273
# adding the `-m68020' flag to GCC prevents building anything better,
14275
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14280
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14281
# PIC is the default for these OSes.
14283
mingw* | cygwin* | os2* | pw32* | cegcc*)
14284
# This hack is so that the source file can tell whether it is being
14285
# built for inclusion in a dll (and should export symbols for example).
14286
# Although the cygwin gcc ignores -fPIC, still need this for old-style
14287
# (--disable-auto-import) libraries
14288
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14290
darwin* | rhapsody*)
14291
# PIC is the default on this platform
14292
# Common symbols not allowed in MH_DYLIB files
14293
lt_prog_compiler_pic_CXX='-fno-common'
14296
# DJGPP does not support shared libraries at all
14297
lt_prog_compiler_pic_CXX=
14300
# PIC is the default for Haiku.
14301
# The "-static" flag exists, but is broken.
14302
lt_prog_compiler_static_CXX=
14305
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
14306
# Instead, we relocate shared libraries at runtime.
14309
if test -d /usr/nec; then
14310
lt_prog_compiler_pic_CXX=-Kconform_pic
14314
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14315
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14316
# sets the default TLS model and affects inlining.
14321
lt_prog_compiler_pic_CXX='-fPIC'
14326
# QNX uses GNU C++, but need to define -shared option too, otherwise
14327
# it will coredump.
14328
lt_prog_compiler_pic_CXX='-fPIC -shared'
14331
lt_prog_compiler_pic_CXX='-fPIC'
14337
# All AIX code is PIC.
14338
if test "$host_cpu" = ia64; then
14339
# AIX 5 now supports IA64 processor
14340
lt_prog_compiler_static_CXX='-Bstatic'
14342
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14346
case $cc_basename in
14348
# Green Hills C++ Compiler
14349
# _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"
14353
mingw* | cygwin* | os2* | pw32* | cegcc*)
14354
# This hack is so that the source file can tell whether it is being
14355
# built for inclusion in a dll (and should export symbols for example).
14356
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14359
case $cc_basename in
14361
lt_prog_compiler_pic_CXX='-KPIC'
14364
# Green Hills C++ Compiler
14365
lt_prog_compiler_pic_CXX='-pic'
14371
freebsd* | dragonfly*)
14372
# FreeBSD uses GNU C++
14374
hpux9* | hpux10* | hpux11*)
14375
case $cc_basename in
14377
lt_prog_compiler_wl_CXX='-Wl,'
14378
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14379
if test "$host_cpu" != ia64; then
14380
lt_prog_compiler_pic_CXX='+Z'
14384
lt_prog_compiler_wl_CXX='-Wl,'
14385
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14391
lt_prog_compiler_pic_CXX='+Z'
14400
# This is c89, which is MS Visual C++ (no shared libs)
14401
# Anyone wants to do a port?
14403
irix5* | irix6* | nonstopux*)
14404
case $cc_basename in
14406
lt_prog_compiler_wl_CXX='-Wl,'
14407
lt_prog_compiler_static_CXX='-non_shared'
14408
# CC pic flag -KPIC is the default.
14414
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14415
case $cc_basename in
14418
lt_prog_compiler_wl_CXX='--backend -Wl,'
14419
lt_prog_compiler_pic_CXX='-fPIC'
14422
# old Intel C++ for x86_64 which still supported -KPIC.
14423
lt_prog_compiler_wl_CXX='-Wl,'
14424
lt_prog_compiler_pic_CXX='-KPIC'
14425
lt_prog_compiler_static_CXX='-static'
14428
# Intel C++, used to be incompatible with GCC.
14429
# ICC 10 doesn't accept -KPIC any more.
14430
lt_prog_compiler_wl_CXX='-Wl,'
14431
lt_prog_compiler_pic_CXX='-fPIC'
14432
lt_prog_compiler_static_CXX='-static'
14435
# Portland Group C++ compiler
14436
lt_prog_compiler_wl_CXX='-Wl,'
14437
lt_prog_compiler_pic_CXX='-fpic'
14438
lt_prog_compiler_static_CXX='-Bstatic'
14442
# Make sure the PIC flag is empty. It appears that all Alpha
14443
# Linux and Compaq Tru64 Unix objects are PIC.
14444
lt_prog_compiler_pic_CXX=
14445
lt_prog_compiler_static_CXX='-non_shared'
14447
xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14448
# IBM XL 8.0, 9.0 on PPC and BlueGene
14449
lt_prog_compiler_wl_CXX='-Wl,'
14450
lt_prog_compiler_pic_CXX='-qpic'
14451
lt_prog_compiler_static_CXX='-qstaticlink'
14454
case `$CC -V 2>&1 | sed 5q` in
14457
lt_prog_compiler_pic_CXX='-KPIC'
14458
lt_prog_compiler_static_CXX='-Bstatic'
14459
lt_prog_compiler_wl_CXX='-Qoption ld '
14470
case $cc_basename in
14472
lt_prog_compiler_pic_CXX='-W c,exportall'
14478
netbsd* | netbsdelf*-gnu)
14481
# QNX uses GNU C++, but need to define -shared option too, otherwise
14482
# it will coredump.
14483
lt_prog_compiler_pic_CXX='-fPIC -shared'
14485
osf3* | osf4* | osf5*)
14486
case $cc_basename in
14488
lt_prog_compiler_wl_CXX='--backend -Wl,'
14491
# Rational C++ 2.4.1
14492
lt_prog_compiler_pic_CXX='-pic'
14495
# Digital/Compaq C++
14496
lt_prog_compiler_wl_CXX='-Wl,'
14497
# Make sure the PIC flag is empty. It appears that all Alpha
14498
# Linux and Compaq Tru64 Unix objects are PIC.
14499
lt_prog_compiler_pic_CXX=
14500
lt_prog_compiler_static_CXX='-non_shared'
14509
case $cc_basename in
14511
# Sun C++ 4.2, 5.x and Centerline C++
14512
lt_prog_compiler_pic_CXX='-KPIC'
14513
lt_prog_compiler_static_CXX='-Bstatic'
14514
lt_prog_compiler_wl_CXX='-Qoption ld '
14517
# Green Hills C++ Compiler
14518
lt_prog_compiler_pic_CXX='-PIC'
14525
case $cc_basename in
14528
lt_prog_compiler_pic_CXX='-pic'
14529
lt_prog_compiler_static_CXX='-Bstatic'
14533
lt_prog_compiler_pic_CXX='-pic'
14539
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14540
case $cc_basename in
14542
lt_prog_compiler_wl_CXX='-Wl,'
14543
lt_prog_compiler_pic_CXX='-KPIC'
14544
lt_prog_compiler_static_CXX='-Bstatic'
14549
case $cc_basename in
14551
# NonStop-UX NCC 3.20
14552
lt_prog_compiler_pic_CXX='-KPIC'
14561
lt_prog_compiler_can_build_shared_CXX=no
14567
# For platforms which do not support PIC, -DPIC is meaningless:
14569
lt_prog_compiler_pic_CXX=
14572
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14576
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14577
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14578
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14579
$as_echo_n "(cached) " >&6
14581
lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14583
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14584
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14585
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14588
# Check to make sure the PIC flag actually works.
14590
if test -n "$lt_prog_compiler_pic_CXX"; then
14591
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14592
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14593
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14594
$as_echo_n "(cached) " >&6
14596
lt_cv_prog_compiler_pic_works_CXX=no
14597
ac_outfile=conftest.$ac_objext
14598
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14599
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14600
# Insert the option either (1) after the last *FLAGS variable, or
14601
# (2) before a word containing "conftest.", or (3) at the end.
14602
# Note that $ac_compile itself does not contain backslashes and begins
14603
# with a dollar sign (not a hyphen), so the echo should work correctly.
14604
# The option is referenced via a variable to avoid confusing sed.
14605
lt_compile=`echo "$ac_compile" | $SED \
14606
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14607
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14608
-e 's:$: $lt_compiler_flag:'`
14609
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14610
(eval "$lt_compile" 2>conftest.err)
14612
cat conftest.err >&5
14613
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14614
if (exit $ac_status) && test -s "$ac_outfile"; then
14615
# The compiler can only warn and ignore the option if not recognized
14616
# So say no if there are warnings other than the usual output.
14617
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14618
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14619
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14620
lt_cv_prog_compiler_pic_works_CXX=yes
14626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14627
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14629
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14630
case $lt_prog_compiler_pic_CXX in
14632
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14635
lt_prog_compiler_pic_CXX=
14636
lt_prog_compiler_can_build_shared_CXX=no
14646
# Check to make sure the static flag actually works.
14648
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14649
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14650
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14651
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14652
$as_echo_n "(cached) " >&6
14654
lt_cv_prog_compiler_static_works_CXX=no
14655
save_LDFLAGS="$LDFLAGS"
14656
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14657
echo "$lt_simple_link_test_code" > conftest.$ac_ext
14658
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14659
# The linker can only warn and ignore the option if not recognized
14660
# So say no if there are warnings
14661
if test -s conftest.err; then
14662
# Append any errors to the config.log.
14663
cat conftest.err 1>&5
14664
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14665
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14666
if diff conftest.exp conftest.er2 >/dev/null; then
14667
lt_cv_prog_compiler_static_works_CXX=yes
14670
lt_cv_prog_compiler_static_works_CXX=yes
14674
LDFLAGS="$save_LDFLAGS"
14677
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14678
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14680
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14683
lt_prog_compiler_static_CXX=
14689
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14690
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14691
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14692
$as_echo_n "(cached) " >&6
14694
lt_cv_prog_compiler_c_o_CXX=no
14695
$RM -r conftest 2>/dev/null
14699
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14701
lt_compiler_flag="-o out/conftest2.$ac_objext"
14702
# Insert the option either (1) after the last *FLAGS variable, or
14703
# (2) before a word containing "conftest.", or (3) at the end.
14704
# Note that $ac_compile itself does not contain backslashes and begins
14705
# with a dollar sign (not a hyphen), so the echo should work correctly.
14706
lt_compile=`echo "$ac_compile" | $SED \
14707
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14708
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14709
-e 's:$: $lt_compiler_flag:'`
14710
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14711
(eval "$lt_compile" 2>out/conftest.err)
14713
cat out/conftest.err >&5
14714
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14717
# The compiler can only warn and ignore the option if not recognized
14718
# So say no if there are warnings
14719
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14720
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14721
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14722
lt_cv_prog_compiler_c_o_CXX=yes
14727
# SGI C++ compiler will create directory out/ii_files/ for
14728
# template instantiation
14729
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14730
$RM out/* && rmdir out
14736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14737
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14741
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14742
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14743
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14744
$as_echo_n "(cached) " >&6
14746
lt_cv_prog_compiler_c_o_CXX=no
14747
$RM -r conftest 2>/dev/null
14751
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14753
lt_compiler_flag="-o out/conftest2.$ac_objext"
14754
# Insert the option either (1) after the last *FLAGS variable, or
14755
# (2) before a word containing "conftest.", or (3) at the end.
14756
# Note that $ac_compile itself does not contain backslashes and begins
14757
# with a dollar sign (not a hyphen), so the echo should work correctly.
14758
lt_compile=`echo "$ac_compile" | $SED \
14759
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14760
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14761
-e 's:$: $lt_compiler_flag:'`
14762
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14763
(eval "$lt_compile" 2>out/conftest.err)
14765
cat out/conftest.err >&5
14766
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14769
# The compiler can only warn and ignore the option if not recognized
14770
# So say no if there are warnings
14771
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14772
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14773
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14774
lt_cv_prog_compiler_c_o_CXX=yes
14779
# SGI C++ compiler will create directory out/ii_files/ for
14780
# template instantiation
14781
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14782
$RM out/* && rmdir out
14788
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14789
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14794
hard_links="nottested"
14795
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14796
# do not overwrite the value of need_locks provided by the user
14797
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14798
$as_echo_n "checking if we can lock with hard links... " >&6; }
14801
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14803
ln conftest.a conftest.b 2>&5 || hard_links=no
14804
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14805
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14806
$as_echo "$hard_links" >&6; }
14807
if test "$hard_links" = no; then
14808
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14809
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14819
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14821
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14822
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14825
# If we're using GNU nm, then we don't want the "-C" option.
14826
# -C means demangle to AIX nm, but means don't demangle with GNU nm
14827
# Also, AIX nm treats weak defined symbols like other global defined
14828
# symbols, whereas GNU nm marks them as "W".
14829
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14830
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'
14832
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'
14836
export_symbols_cmds_CXX="$ltdll_cmds"
14838
cygwin* | mingw* | cegcc*)
14839
case $cc_basename in
14841
exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14844
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'
14845
exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14849
linux* | k*bsd*-gnu | gnu*)
14850
link_all_deplibs_CXX=no
14853
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14858
$as_echo "$ld_shlibs_CXX" >&6; }
14859
test "$ld_shlibs_CXX" = no && can_build_shared=no
14861
with_gnu_ld_CXX=$with_gnu_ld
14869
# Do we need to explicitly link libc?
14871
case "x$archive_cmds_need_lc_CXX" in
14873
# Assume -lc should be added
14874
archive_cmds_need_lc_CXX=yes
14876
if test "$enable_shared" = yes && test "$GCC" = yes; then
14877
case $archive_cmds_CXX in
14879
# FIXME: we may have to deal with multi-command sequences.
14882
# Test whether the compiler implicitly links with -lc since on some
14883
# systems, -lgcc has to come before -lc. If gcc already passes -lc
14884
# to ld, don't add -lc before -lgcc.
14885
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14886
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14887
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14888
$as_echo_n "(cached) " >&6
14891
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14893
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14894
(eval $ac_compile) 2>&5
14896
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14897
test $ac_status = 0; } 2>conftest.err; then
14900
libobjs=conftest.$ac_objext
14902
wl=$lt_prog_compiler_wl_CXX
14903
pic_flag=$lt_prog_compiler_pic_CXX
14909
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14910
allow_undefined_flag_CXX=
14911
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14912
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14914
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14915
test $ac_status = 0; }
14917
lt_cv_archive_cmds_need_lc_CXX=no
14919
lt_cv_archive_cmds_need_lc_CXX=yes
14921
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14923
cat conftest.err 1>&5
14928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14929
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14930
archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14999
$as_echo_n "checking dynamic linker characteristics... " >&6; }
15001
library_names_spec=
15002
libname_spec='lib$name'
15006
postuninstall_cmds=
15010
shlibpath_overrides_runpath=unknown
15012
dynamic_linker="$host_os ld.so"
15013
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15014
need_lib_prefix=unknown
15015
hardcode_into_libs=no
15017
# when you set need_version to no, make sure it does not cause -set_version
15018
# flags to be left without arguments
15019
need_version=unknown
15023
version_type=linux # correct to gnu/linux during the next big refactor
15024
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
15025
shlibpath_var=LIBPATH
15027
# AIX 3 has no versioning support, so we append a major version to the name.
15028
soname_spec='${libname}${release}${shared_ext}$major'
15032
version_type=linux # correct to gnu/linux during the next big refactor
15035
hardcode_into_libs=yes
15036
if test "$host_cpu" = ia64; then
15037
# AIX 5 supports IA64
15038
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15039
shlibpath_var=LD_LIBRARY_PATH
15041
# With GCC up to 2.95.x, collect2 would create an import file
15042
# for dependence libraries. The import file would start with
15043
# the line `#! .'. This would cause the generated library to
15044
# depend on `.', always an invalid library. This was fixed in
15045
# development snapshots of GCC prior to 3.0.
15047
aix4 | aix4.[01] | aix4.[01].*)
15048
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15050
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
15053
can_build_shared=no
15057
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15058
# soname into executable. Probably we can add versioning support to
15059
# collect2, so additional links can be useful in future.
15060
if test "$aix_use_runtimelinking" = yes; then
15061
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
15062
# instead of lib<name>.a to let people know that these are not
15063
# typical AIX shared libraries.
15064
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15066
# We preserve .a as extension for shared libraries through AIX4.2
15067
# and later when we are not doing run time linking.
15068
library_names_spec='${libname}${release}.a $libname.a'
15069
soname_spec='${libname}${release}${shared_ext}$major'
15071
shlibpath_var=LIBPATH
15078
# Since July 2007 AmigaOS4 officially supports .so libraries.
15079
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15080
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15083
library_names_spec='$libname.ixlibrary $libname.a'
15084
# Create ${libname}_ixlibrary.a entries in /sys/libs.
15085
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'
15091
library_names_spec='${libname}${shared_ext}'
15092
dynamic_linker="$host_os ld.so"
15093
shlibpath_var=LIBRARY_PATH
15097
version_type=linux # correct to gnu/linux during the next big refactor
15099
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15100
soname_spec='${libname}${release}${shared_ext}$major'
15101
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
15102
shlibpath_var=LD_LIBRARY_PATH
15103
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15104
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
15105
# the default ld.so.conf also contains /usr/contrib/lib and
15106
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15107
# libtool to hard-code these into programs
15110
cygwin* | mingw* | pw32* | cegcc*)
15111
version_type=windows
15116
case $GCC,$cc_basename in
15119
library_names_spec='$libname.dll.a'
15120
# DLL is installed to $(libdir)/../bin by postinstall_cmds
15121
postinstall_cmds='base_file=`basename \${file}`~
15122
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15123
dldir=$destdir/`dirname \$dlpath`~
15124
test -d \$dldir || mkdir -p \$dldir~
15125
$install_prog $dir/$dlname \$dldir/$dlname~
15126
chmod a+x \$dldir/$dlname~
15127
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15128
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15130
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15131
dlpath=$dir/\$dldll~
15133
shlibpath_overrides_runpath=yes
15137
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
15138
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15142
# MinGW DLLs use traditional 'lib' prefix
15143
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15146
# pw32 DLLs use 'pw' prefix rather than 'lib'
15147
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15150
dynamic_linker='Win32 ld.exe'
15155
libname_spec='$name'
15156
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15157
library_names_spec='${libname}.dll.lib'
15161
sys_lib_search_path_spec=
15164
for lt_path in $LIB
15167
# Let DOS variable expansion print the short 8.3 style file name.
15168
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15169
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15172
# Convert to MSYS style.
15173
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15176
# Convert to unix form, then to dos form, then back to unix form
15177
# but this time dos style (no spaces!) so that the unix form looks
15178
# like /cygdrive/c/PROGRA~1:/cygdr...
15179
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15180
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15181
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15184
sys_lib_search_path_spec="$LIB"
15185
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15186
# It is most probably a Windows format PATH.
15187
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15189
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15191
# FIXME: find the short name or the path components, as spaces are
15192
# common. (e.g. "Program Files" -> "PROGRA~1")
15196
# DLL is installed to $(libdir)/../bin by postinstall_cmds
15197
postinstall_cmds='base_file=`basename \${file}`~
15198
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15199
dldir=$destdir/`dirname \$dlpath`~
15200
test -d \$dldir || mkdir -p \$dldir~
15201
$install_prog $dir/$dlname \$dldir/$dlname'
15202
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15203
dlpath=$dir/\$dldll~
15205
shlibpath_overrides_runpath=yes
15206
dynamic_linker='Win32 link.exe'
15210
# Assume MSVC wrapper
15211
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15212
dynamic_linker='Win32 ld.exe'
15215
# FIXME: first we should search . and the directory the executable is in
15219
darwin* | rhapsody*)
15220
dynamic_linker="$host_os dyld"
15221
version_type=darwin
15224
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15225
soname_spec='${libname}${release}${major}$shared_ext'
15226
shlibpath_overrides_runpath=yes
15227
shlibpath_var=DYLD_LIBRARY_PATH
15228
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15230
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15234
version_type=linux # correct to gnu/linux during the next big refactor
15237
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15238
soname_spec='${libname}${release}${shared_ext}$major'
15239
shlibpath_var=LD_LIBRARY_PATH
15242
freebsd* | dragonfly*)
15243
# DragonFly does not have aout. When/if they implement a new
15244
# versioning mechanism, adjust this.
15245
if test -x /usr/bin/objformat; then
15246
objformat=`/usr/bin/objformat`
15249
freebsd[23].*) objformat=aout ;;
15250
*) objformat=elf ;;
15253
version_type=freebsd-$objformat
15254
case $version_type in
15256
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15261
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15265
shlibpath_var=LD_LIBRARY_PATH
15268
shlibpath_overrides_runpath=yes
15270
freebsd3.[01]* | freebsdelf3.[01]*)
15271
shlibpath_overrides_runpath=yes
15272
hardcode_into_libs=yes
15274
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15275
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15276
shlibpath_overrides_runpath=no
15277
hardcode_into_libs=yes
15279
*) # from 4.6 on, and DragonFly
15280
shlibpath_overrides_runpath=yes
15281
hardcode_into_libs=yes
15287
version_type=linux # correct to gnu/linux during the next big refactor
15290
dynamic_linker="$host_os runtime_loader"
15291
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15292
soname_spec='${libname}${release}${shared_ext}$major'
15293
shlibpath_var=LIBRARY_PATH
15294
shlibpath_overrides_runpath=yes
15295
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15296
hardcode_into_libs=yes
15299
hpux9* | hpux10* | hpux11*)
15300
# Give a soname corresponding to the major version so that dld.sl refuses to
15301
# link against other versions.
15308
hardcode_into_libs=yes
15309
dynamic_linker="$host_os dld.so"
15310
shlibpath_var=LD_LIBRARY_PATH
15311
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15312
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15313
soname_spec='${libname}${release}${shared_ext}$major'
15314
if test "X$HPUX_IA64_MODE" = X32; then
15315
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15317
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15319
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15323
hardcode_into_libs=yes
15324
dynamic_linker="$host_os dld.sl"
15325
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15326
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15327
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15328
soname_spec='${libname}${release}${shared_ext}$major'
15329
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15330
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15334
dynamic_linker="$host_os dld.sl"
15335
shlibpath_var=SHLIB_PATH
15336
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15337
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15338
soname_spec='${libname}${release}${shared_ext}$major'
15341
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15342
postinstall_cmds='chmod 555 $lib'
15343
# or fails outright, so override atomically:
15344
install_override_mode=555
15348
version_type=linux # correct to gnu/linux during the next big refactor
15351
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15352
soname_spec='${libname}${release}${shared_ext}$major'
15353
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15354
shlibpath_var=LD_LIBRARY_PATH
15355
shlibpath_overrides_runpath=no
15356
hardcode_into_libs=yes
15359
irix5* | irix6* | nonstopux*)
15361
nonstopux*) version_type=nonstopux ;;
15363
if test "$lt_cv_prog_gnu_ld" = yes; then
15364
version_type=linux # correct to gnu/linux during the next big refactor
15371
soname_spec='${libname}${release}${shared_ext}$major'
15372
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15374
irix5* | nonstopux*)
15375
libsuff= shlibsuff=
15378
case $LD in # libtool.m4 will add one of these switches to LD
15379
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15380
libsuff= shlibsuff= libmagic=32-bit;;
15381
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15382
libsuff=32 shlibsuff=N32 libmagic=N32;;
15383
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15384
libsuff=64 shlibsuff=64 libmagic=64-bit;;
15385
*) libsuff= shlibsuff= libmagic=never-match;;
15389
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15390
shlibpath_overrides_runpath=no
15391
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15392
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15393
hardcode_into_libs=yes
15396
# No shared lib support for Linux oldld, aout, or coff.
15397
linux*oldld* | linux*aout* | linux*coff*)
15401
# This must be glibc/ELF.
15402
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15403
version_type=linux # correct to gnu/linux during the next big refactor
15406
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15407
soname_spec='${libname}${release}${shared_ext}$major'
15408
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15409
shlibpath_var=LD_LIBRARY_PATH
15410
shlibpath_overrides_runpath=no
15412
# Some binutils ld are patched to set DT_RUNPATH
15413
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15414
$as_echo_n "(cached) " >&6
15416
lt_cv_shlibpath_overrides_runpath=no
15417
save_LDFLAGS=$LDFLAGS
15418
save_libdir=$libdir
15419
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15420
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15421
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15422
/* end confdefs.h. */
15432
if ac_fn_cxx_try_link "$LINENO"; then :
15433
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15434
lt_cv_shlibpath_overrides_runpath=yes
15437
rm -f core conftest.err conftest.$ac_objext \
15438
conftest$ac_exeext conftest.$ac_ext
15439
LDFLAGS=$save_LDFLAGS
15440
libdir=$save_libdir
15444
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15446
# This implies no fast_install, which is unacceptable.
15447
# Some rework will be needed to allow for fast_install
15448
# before this can be enabled.
15449
hardcode_into_libs=yes
15451
# Append ld.so.conf contents to the search path
15452
if test -f /etc/ld.so.conf; then
15453
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' ' '`
15454
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15457
# We used to test for /lib/ld.so.1 and disable shared libraries on
15458
# powerpc, because MkLinux only supported shared libraries with the
15459
# GNU dynamic linker. Since this was broken with cross compilers,
15460
# most powerpc-linux boxes support dynamic linking these days and
15461
# people can always --disable-shared, the test was removed, and we
15462
# assume the GNU/Linux dynamic linker is in use.
15463
dynamic_linker='GNU/Linux ld.so'
15470
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15471
soname_spec='${libname}${release}${shared_ext}$major'
15472
shlibpath_var=LD_LIBRARY_PATH
15473
shlibpath_overrides_runpath=no
15474
hardcode_into_libs=yes
15475
dynamic_linker='NetBSD ld.elf_so'
15482
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15483
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15484
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15485
dynamic_linker='NetBSD (a.out) ld.so'
15487
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15488
soname_spec='${libname}${release}${shared_ext}$major'
15489
dynamic_linker='NetBSD ld.elf_so'
15491
shlibpath_var=LD_LIBRARY_PATH
15492
shlibpath_overrides_runpath=yes
15493
hardcode_into_libs=yes
15497
version_type=linux # correct to gnu/linux during the next big refactor
15498
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15499
shlibpath_var=LD_LIBRARY_PATH
15500
shlibpath_overrides_runpath=yes
15507
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15508
soname_spec='${libname}${release}${shared_ext}$major'
15509
shlibpath_var=LD_LIBRARY_PATH
15510
shlibpath_overrides_runpath=no
15511
hardcode_into_libs=yes
15512
dynamic_linker='ldqnx.so'
15517
sys_lib_dlsearch_path_spec="/usr/lib"
15519
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15521
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15522
*) need_version=no ;;
15524
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15525
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15526
shlibpath_var=LD_LIBRARY_PATH
15527
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15529
openbsd2.[89] | openbsd2.[89].*)
15530
shlibpath_overrides_runpath=no
15533
shlibpath_overrides_runpath=yes
15537
shlibpath_overrides_runpath=yes
15542
libname_spec='$name'
15545
library_names_spec='$libname${shared_ext} $libname.a'
15546
dynamic_linker='OS/2 ld.exe'
15547
shlibpath_var=LIBPATH
15550
osf3* | osf4* | osf5*)
15554
soname_spec='${libname}${release}${shared_ext}$major'
15555
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15556
shlibpath_var=LD_LIBRARY_PATH
15557
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15558
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15566
version_type=linux # correct to gnu/linux during the next big refactor
15569
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15570
soname_spec='${libname}${release}${shared_ext}$major'
15571
shlibpath_var=LD_LIBRARY_PATH
15572
shlibpath_overrides_runpath=yes
15573
hardcode_into_libs=yes
15574
# ldd complains unless libraries are executable
15575
postinstall_cmds='chmod +x $lib'
15580
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15581
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15582
shlibpath_var=LD_LIBRARY_PATH
15583
shlibpath_overrides_runpath=yes
15584
if test "$with_gnu_ld" = yes; then
15591
version_type=linux # correct to gnu/linux during the next big refactor
15592
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15593
soname_spec='${libname}${release}${shared_ext}$major'
15594
shlibpath_var=LD_LIBRARY_PATH
15595
case $host_vendor in
15597
shlibpath_overrides_runpath=no
15599
runpath_var=LD_RUN_PATH
15607
shlibpath_overrides_runpath=no
15608
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15614
if test -d /usr/nec ;then
15615
version_type=linux # correct to gnu/linux during the next big refactor
15616
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15617
soname_spec='$libname${shared_ext}.$major'
15618
shlibpath_var=LD_LIBRARY_PATH
15622
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15623
version_type=freebsd-elf
15626
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15627
soname_spec='${libname}${release}${shared_ext}$major'
15628
shlibpath_var=LD_LIBRARY_PATH
15629
shlibpath_overrides_runpath=yes
15630
hardcode_into_libs=yes
15631
if test "$with_gnu_ld" = yes; then
15632
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15634
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15637
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15641
sys_lib_dlsearch_path_spec='/usr/lib'
15645
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15646
version_type=linux # correct to gnu/linux during the next big refactor
15649
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15650
shlibpath_var=LD_LIBRARY_PATH
15651
shlibpath_overrides_runpath=no
15652
hardcode_into_libs=yes
15656
version_type=linux # correct to gnu/linux during the next big refactor
15657
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15658
soname_spec='${libname}${release}${shared_ext}$major'
15659
shlibpath_var=LD_LIBRARY_PATH
15666
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15667
$as_echo "$dynamic_linker" >&6; }
15668
test "$dynamic_linker" = no && can_build_shared=no
15670
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15671
if test "$GCC" = yes; then
15672
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15675
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15676
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15678
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15679
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15720
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15721
hardcode_action_CXX=
15722
if test -n "$hardcode_libdir_flag_spec_CXX" ||
15723
test -n "$runpath_var_CXX" ||
15724
test "X$hardcode_automatic_CXX" = "Xyes" ; then
15726
# We can hardcode non-existent directories.
15727
if test "$hardcode_direct_CXX" != no &&
15728
# If the only mechanism to avoid hardcoding is shlibpath_var, we
15729
# have to relink, otherwise we might link with an installed library
15730
# when we should be linking with a yet-to-be-installed one
15731
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15732
test "$hardcode_minus_L_CXX" != no; then
15733
# Linking always hardcodes the temporary library directory.
15734
hardcode_action_CXX=relink
15736
# We can link without hardcoding, and we can hardcode nonexisting dirs.
15737
hardcode_action_CXX=immediate
15740
# We cannot hardcode anything, or else we can only hardcode existing
15742
hardcode_action_CXX=unsupported
15744
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15745
$as_echo "$hardcode_action_CXX" >&6; }
15747
if test "$hardcode_action_CXX" = relink ||
15748
test "$inherit_rpath_CXX" = yes; then
15749
# Fast installation is not supported
15750
enable_fast_install=no
15751
elif test "$shlibpath_overrides_runpath" = yes ||
15752
test "$enable_shared" = no; then
15753
# Fast installation is not necessary
15754
enable_fast_install=needless
15763
fi # test -n "$compiler"
15766
CFLAGS=$lt_save_CFLAGS
15770
with_gnu_ld=$lt_save_with_gnu_ld
15771
lt_cv_path_LDCXX=$lt_cv_path_LD
15772
lt_cv_path_LD=$lt_save_path_LD
15773
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15774
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15775
fi # test "$_lt_caught_CXX_error" != yes
15778
ac_cpp='$CXXCPP $CPPFLAGS'
15779
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15780
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15781
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15797
ac_config_commands="$ac_config_commands libtool"
15802
# Only expand once:
15806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
15807
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
15808
if ${ac_cv_prog_cc_c99+:} false; then :
15809
$as_echo_n "(cached) " >&6
15811
ac_cv_prog_cc_c99=no
15813
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15814
/* end confdefs.h. */
15815
#include <stdarg.h>
15816
#include <stdbool.h>
15817
#include <stdlib.h>
15821
// Check varargs macros. These examples are taken from C99 6.10.3.5.
15822
#define debug(...) fprintf (stderr, __VA_ARGS__)
15823
#define showlist(...) puts (#__VA_ARGS__)
15824
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
15826
test_varargs_macros (void)
15831
debug ("X = %d\n", x);
15832
showlist (The first, second, and third items.);
15833
report (x>y, "x is %d but y is %d", x, y);
15836
// Check long long types.
15837
#define BIG64 18446744073709551615ull
15838
#define BIG32 4294967295ul
15839
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
15841
your preprocessor is broken;
15845
your preprocessor is broken;
15847
static long long int bignum = -9223372036854775807LL;
15848
static unsigned long long int ubignum = BIG64;
15850
struct incomplete_array
15856
struct named_init {
15858
const wchar_t *name;
15862
typedef const char *ccp;
15865
test_restrict (ccp restrict text)
15867
// See if C++-style comments work.
15868
// Iterate through items via the restricted pointer.
15869
// Also check for declarations in for loops.
15870
for (unsigned int i = 0; *(text+i) != '\0'; ++i)
15875
// Check varargs and va_copy.
15877
test_varargs (const char *format, ...)
15880
va_start (args, format);
15882
va_copy (args_copy, args);
15892
case 's': // string
15893
str = va_arg (args_copy, const char *);
15896
number = va_arg (args_copy, int);
15899
fnumber = va_arg (args_copy, double);
15905
va_end (args_copy);
15914
_Bool success = false;
15917
if (test_restrict ("String literal") == 0)
15919
char *restrict newvar = "Another string";
15922
test_varargs ("s, d' f .", "string", 65, 34.234);
15923
test_varargs_macros ();
15925
// Check flexible array members.
15926
struct incomplete_array *ia =
15927
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
15929
for (int i = 0; i < ia->datasize; ++i)
15930
ia->data[i] = i * 1.234;
15932
// Check named initializers.
15933
struct named_init ni = {
15935
.name = L"Test wide string",
15936
.average = 543.34343,
15941
int dynamic_array[ni.number];
15942
dynamic_array[ni.number - 1] = 543;
15944
// work around unused variable warnings
15945
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
15946
|| dynamic_array[ni.number - 1] != 543);
15952
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
15954
CC="$ac_save_CC $ac_arg"
15955
if ac_fn_cxx_try_compile "$LINENO"; then :
15956
ac_cv_prog_cc_c99=$ac_arg
15958
rm -f core conftest.err conftest.$ac_objext
15959
test "x$ac_cv_prog_cc_c99" != "xno" && break
15961
rm -f conftest.$ac_ext
15966
case "x$ac_cv_prog_cc_c99" in
15968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
15969
$as_echo "none needed" >&6; } ;;
15971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
15972
$as_echo "unsupported" >&6; } ;;
15974
CC="$CC $ac_cv_prog_cc_c99"
15975
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
15976
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
15978
if test "x$ac_cv_prog_cc_c99" != xno; then :
15984
ac_cpp='$CXXCPP $CPPFLAGS'
15985
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15986
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15987
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15988
if test -z "$CXX"; then
15989
if test -n "$CCC"; then
15992
if test -n "$ac_tool_prefix"; then
15993
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15995
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15996
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15998
$as_echo_n "checking for $ac_word... " >&6; }
15999
if ${ac_cv_prog_CXX+:} false; then :
16000
$as_echo_n "(cached) " >&6
16002
if test -n "$CXX"; then
16003
ac_cv_prog_CXX="$CXX" # Let the user override the test.
16005
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16006
for as_dir in $PATH
16009
test -z "$as_dir" && as_dir=.
16010
for ac_exec_ext in '' $ac_executable_extensions; do
16011
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16012
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16013
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16022
CXX=$ac_cv_prog_CXX
16023
if test -n "$CXX"; then
16024
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
16025
$as_echo "$CXX" >&6; }
16027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16028
$as_echo "no" >&6; }
16032
test -n "$CXX" && break
16035
if test -z "$CXX"; then
16037
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16039
# Extract the first word of "$ac_prog", so it can be a program name with args.
16040
set dummy $ac_prog; ac_word=$2
16041
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16042
$as_echo_n "checking for $ac_word... " >&6; }
16043
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
16044
$as_echo_n "(cached) " >&6
16046
if test -n "$ac_ct_CXX"; then
16047
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16049
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16050
for as_dir in $PATH
16053
test -z "$as_dir" && as_dir=.
16054
for ac_exec_ext in '' $ac_executable_extensions; do
16055
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16056
ac_cv_prog_ac_ct_CXX="$ac_prog"
16057
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16066
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16067
if test -n "$ac_ct_CXX"; then
16068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
16069
$as_echo "$ac_ct_CXX" >&6; }
16071
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16072
$as_echo "no" >&6; }
16076
test -n "$ac_ct_CXX" && break
16079
if test "x$ac_ct_CXX" = x; then
16082
case $cross_compiling:$ac_tool_warned in
16084
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16085
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16086
ac_tool_warned=yes ;;
16094
# Provide some information about the compiler.
16095
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
16098
for ac_option in --version -v -V -qversion; do
16099
{ { ac_try="$ac_compiler $ac_option >&5"
16100
case "(($ac_try" in
16101
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16102
*) ac_try_echo=$ac_try;;
16104
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
16105
$as_echo "$ac_try_echo"; } >&5
16106
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
16108
if test -s conftest.err; then
16110
... rest of stderr output deleted ...
16111
10q' conftest.err >conftest.er1
16112
cat conftest.er1 >&5
16114
rm -f conftest.er1 conftest.err
16115
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16116
test $ac_status = 0; }
16119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
16120
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
16121
if ${ac_cv_cxx_compiler_gnu+:} false; then :
16122
$as_echo_n "(cached) " >&6
16124
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16125
/* end confdefs.h. */
16138
if ac_fn_cxx_try_compile "$LINENO"; then :
16139
ac_compiler_gnu=yes
16143
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16144
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
16148
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
16149
if test $ac_compiler_gnu = yes; then
16154
ac_test_CXXFLAGS=${CXXFLAGS+set}
16155
ac_save_CXXFLAGS=$CXXFLAGS
16156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
16157
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
16158
if ${ac_cv_prog_cxx_g+:} false; then :
16159
$as_echo_n "(cached) " >&6
16161
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16162
ac_cxx_werror_flag=yes
16163
ac_cv_prog_cxx_g=no
16165
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16166
/* end confdefs.h. */
16176
if ac_fn_cxx_try_compile "$LINENO"; then :
16177
ac_cv_prog_cxx_g=yes
16180
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16181
/* end confdefs.h. */
16191
if ac_fn_cxx_try_compile "$LINENO"; then :
16194
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16196
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16197
/* end confdefs.h. */
16207
if ac_fn_cxx_try_compile "$LINENO"; then :
16208
ac_cv_prog_cxx_g=yes
16210
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16212
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16214
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16215
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16217
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
16218
$as_echo "$ac_cv_prog_cxx_g" >&6; }
16219
if test "$ac_test_CXXFLAGS" = set; then
16220
CXXFLAGS=$ac_save_CXXFLAGS
16221
elif test $ac_cv_prog_cxx_g = yes; then
16222
if test "$GXX" = yes; then
16228
if test "$GXX" = yes; then
16235
ac_cpp='$CXXCPP $CPPFLAGS'
16236
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16237
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16238
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16240
depcc="$CXX" am_compiler_list=
16242
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
16243
$as_echo_n "checking dependency style of $depcc... " >&6; }
16244
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
16245
$as_echo_n "(cached) " >&6
16247
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
16248
# We make a subdir and do the tests there. Otherwise we can end up
16249
# making bogus files that we don't know about and never remove. For
16250
# instance it was reported that on HP-UX the gcc test will end up
16251
# making a dummy file named `D' -- because `-MD' means `put the output
16253
rm -rf conftest.dir
16255
# Copy depcomp to subdir because otherwise we won't find it if we're
16256
# using a relative directory.
16257
cp "$am_depcomp" conftest.dir
16259
# We will build objects and dependencies in a subdirectory because
16260
# it helps to detect inapplicable dependency modes. For instance
16261
# both Tru64's cc and ICC support -MD to output dependencies as a
16262
# side effect of compilation, but ICC will put the dependencies in
16263
# the current directory while Tru64 will put them in the object
16267
am_cv_CXX_dependencies_compiler_type=none
16268
if test "$am_compiler_list" = ""; then
16269
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
16271
am__universal=false
16272
case " $depcc " in #(
16273
*\ -arch\ *\ -arch\ *) am__universal=true ;;
16276
for depmode in $am_compiler_list; do
16277
# Setup a source with many dependencies, because some compilers
16278
# like to wrap large dependency lists on column 80 (with \), and
16279
# we should not choose a depcomp mode which is confused by this.
16281
# We need to recreate these files for each test, as the compiler may
16282
# overwrite some of them when testing with obscure command lines.
16283
# This happens at least with the AIX C compiler.
16285
for i in 1 2 3 4 5 6; do
16286
echo '#include "conftst'$i'.h"' >> sub/conftest.c
16287
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
16288
# Solaris 8's {/usr,}/bin/sh.
16289
touch sub/conftst$i.h
16291
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
16293
# We check with `-c' and `-o' for the sake of the "dashmstdout"
16294
# mode. It turns out that the SunPro C++ compiler does not properly
16295
# handle `-M -o', and we need to detect this. Also, some Intel
16296
# versions had trouble with output in subdirs
16297
am__obj=sub/conftest.${OBJEXT-o}
16298
am__minus_obj="-o $am__obj"
16301
# This depmode causes a compiler race in universal mode.
16302
test "$am__universal" = false || continue
16305
# after this tag, mechanisms are not by side-effect, so they'll
16306
# only be used when explicitly requested
16307
if test "x$enable_dependency_tracking" = xyes; then
16313
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
16314
# This compiler won't grok `-c -o', but also, the minuso test has
16315
# not run yet. These depmodes are late enough in the game, and
16316
# so weak that their functioning should not be impacted.
16317
am__obj=conftest.${OBJEXT-o}
16322
if depmode=$depmode \
16323
source=sub/conftest.c object=$am__obj \
16324
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
16325
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
16326
>/dev/null 2>conftest.err &&
16327
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
16328
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
16329
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
16330
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
16331
# icc doesn't choke on unknown options, it will just issue warnings
16332
# or remarks (even with -Werror). So we grep stderr for any message
16333
# that says an option was ignored or not supported.
16334
# When given -MP, icc 7.0 and 7.1 complain thusly:
16335
# icc: Command line warning: ignoring option '-M'; no argument required
16336
# The diagnosis changed in icc 8.0:
16337
# icc: Command line remark: option '-MP' not supported
16338
if (grep 'ignoring option' conftest.err ||
16339
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
16340
am_cv_CXX_dependencies_compiler_type=$depmode
16347
rm -rf conftest.dir
16349
am_cv_CXX_dependencies_compiler_type=none
16353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
16354
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
16355
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
16358
test "x$enable_dependency_tracking" != xno \
16359
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
16360
am__fastdepCXX_TRUE=
16361
am__fastdepCXX_FALSE='#'
16363
am__fastdepCXX_TRUE='#'
16364
am__fastdepCXX_FALSE=
16368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
16369
$as_echo_n "checking for library containing strerror... " >&6; }
16370
if ${ac_cv_search_strerror+:} false; then :
16371
$as_echo_n "(cached) " >&6
16373
ac_func_search_save_LIBS=$LIBS
16374
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16375
/* end confdefs.h. */
16377
/* Override any GCC internal prototype to avoid an error.
16378
Use char because int might match the return type of a GCC
16379
builtin and then its argument prototype would still apply. */
16387
return strerror ();
16392
for ac_lib in '' cposix; do
16393
if test -z "$ac_lib"; then
16394
ac_res="none required"
16397
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16399
if ac_fn_cxx_try_link "$LINENO"; then :
16400
ac_cv_search_strerror=$ac_res
16402
rm -f core conftest.err conftest.$ac_objext \
16404
if ${ac_cv_search_strerror+:} false; then :
16408
if ${ac_cv_search_strerror+:} false; then :
16411
ac_cv_search_strerror=no
16413
rm conftest.$ac_ext
16414
LIBS=$ac_func_search_save_LIBS
16416
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
16417
$as_echo "$ac_cv_search_strerror" >&6; }
16418
ac_res=$ac_cv_search_strerror
16419
if test "$ac_res" != no; then :
16420
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16425
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
16426
$as_echo_n "checking for ANSI C header files... " >&6; }
16427
if ${ac_cv_header_stdc+:} false; then :
16428
$as_echo_n "(cached) " >&6
16430
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16431
/* end confdefs.h. */
16432
#include <stdlib.h>
16433
#include <stdarg.h>
16434
#include <string.h>
16445
if ac_fn_cxx_try_compile "$LINENO"; then :
16446
ac_cv_header_stdc=yes
16448
ac_cv_header_stdc=no
16450
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16452
if test $ac_cv_header_stdc = yes; then
16453
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16454
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16455
/* end confdefs.h. */
16456
#include <string.h>
16459
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16460
$EGREP "memchr" >/dev/null 2>&1; then :
16463
ac_cv_header_stdc=no
16469
if test $ac_cv_header_stdc = yes; then
16470
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16471
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16472
/* end confdefs.h. */
16473
#include <stdlib.h>
16476
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16477
$EGREP "free" >/dev/null 2>&1; then :
16480
ac_cv_header_stdc=no
16486
if test $ac_cv_header_stdc = yes; then
16487
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16488
if test "$cross_compiling" = yes; then :
16491
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16492
/* end confdefs.h. */
16494
#include <stdlib.h>
16495
#if ((' ' & 0x0FF) == 0x020)
16496
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16497
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16499
# define ISLOWER(c) \
16500
(('a' <= (c) && (c) <= 'i') \
16501
|| ('j' <= (c) && (c) <= 'r') \
16502
|| ('s' <= (c) && (c) <= 'z'))
16503
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16506
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16511
for (i = 0; i < 256; i++)
16512
if (XOR (islower (i), ISLOWER (i))
16513
|| toupper (i) != TOUPPER (i))
16518
if ac_fn_cxx_try_run "$LINENO"; then :
16521
ac_cv_header_stdc=no
16523
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16524
conftest.$ac_objext conftest.beam conftest.$ac_ext
16529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
16530
$as_echo "$ac_cv_header_stdc" >&6; }
16531
if test $ac_cv_header_stdc = yes; then
16533
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
16538
if test ".$ac_cv_c_compiler_gnu" = .yes; then
16539
CFLAGS="$CFLAGS -Wall -Wextra -Winit-self -Wswitch-default -Wswitch-enum -Wstrict-aliasing=2 -Wfloat-equal -Wshadow"
16540
CXXFLAGS="$CXXFLAGS -Wall -Wextra -Winit-self -Wswitch-default -Wswitch-enum -Wstrict-aliasing=2 -Wfloat-equal -Wshadow"
16546
# Test if the compiler is 64bit
16547
echo 'int i;' > conftest.$ac_ext
16548
ekiga_cv_cc_64bit_output=no
16550
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16551
(eval $ac_compile) 2>&5
16553
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16554
test $ac_status = 0; }; then
16555
case `/usr/bin/file conftest.$ac_objext` in
16557
ekiga_cv_cc_64bit_output=yes
16565
case $host_cpu:$ekiga_cv_cc_64bit_output in
16567
powerpc64:yes | s390x:yes | sparc64:yes | x86_64:yes)
16576
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether OS type is supported" >&5
16577
$as_echo_n "checking whether OS type is supported... " >&6; }
16583
gm_platform="solaris"
16586
linux-gnulp | linux-gnu | linux-gnueabi* | linux | Linux)
16587
gm_platform="linux"
16594
FreeBSD* | freebsd* | kfreebsd* | NetBSD* | netbsd* )
16595
gm_platform="freebsd"
16599
gm_platform="macosx"
16603
gm_platform="mingw"
16604
CFLAGS="$CFLAGS -Wl,--enable-auto-import"
16605
CXXFLAGS="$CXXFLAGS -Wl,--enable-auto-import"
16610
as_fn_error $? "Only Linux, Hurd, FreeBSD, NetBSD, Solaris and Mac OS X are supported. Please contact the author to know how you can add more OS types." "$LINENO" 5
16613
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16614
$as_echo "yes" >&6; }
16616
if test "x${win32}" = "x1"; then
16625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Byte order" >&5
16626
$as_echo_n "checking Byte order... " >&6; }
16627
byte_order="unknown"
16629
# Check whether --with-endianess was given.
16630
if test "${with_endianess+set}" = set; then :
16631
withval=$with_endianess; byte_order="$withval endian"
16633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
16634
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16635
if ${ac_cv_c_bigendian+:} false; then :
16636
$as_echo_n "(cached) " >&6
16638
ac_cv_c_bigendian=unknown
16639
# See if we're dealing with a universal compiler.
16640
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16641
/* end confdefs.h. */
16642
#ifndef __APPLE_CC__
16643
not a universal capable compiler
16648
if ac_fn_cxx_try_compile "$LINENO"; then :
16650
# Check for potential -arch flags. It is not universal unless
16651
# there are at least two -arch flags with different values.
16654
for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
16655
if test -n "$ac_prev"; then
16657
i?86 | x86_64 | ppc | ppc64)
16658
if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
16661
ac_cv_c_bigendian=universal
16667
elif test "x$ac_word" = "x-arch"; then
16672
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16673
if test $ac_cv_c_bigendian = unknown; then
16674
# See if sys/param.h defines the BYTE_ORDER macro.
16675
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16676
/* end confdefs.h. */
16677
#include <sys/types.h>
16678
#include <sys/param.h>
16683
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
16684
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
16686
bogus endian macros
16693
if ac_fn_cxx_try_compile "$LINENO"; then :
16694
# It does; now see whether it defined to BIG_ENDIAN or not.
16695
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16696
/* end confdefs.h. */
16697
#include <sys/types.h>
16698
#include <sys/param.h>
16703
#if BYTE_ORDER != BIG_ENDIAN
16711
if ac_fn_cxx_try_compile "$LINENO"; then :
16712
ac_cv_c_bigendian=yes
16714
ac_cv_c_bigendian=no
16716
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16718
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16720
if test $ac_cv_c_bigendian = unknown; then
16721
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16722
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16723
/* end confdefs.h. */
16724
#include <limits.h>
16729
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
16730
bogus endian macros
16737
if ac_fn_cxx_try_compile "$LINENO"; then :
16738
# It does; now see whether it defined to _BIG_ENDIAN or not.
16739
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16740
/* end confdefs.h. */
16741
#include <limits.h>
16746
#ifndef _BIG_ENDIAN
16754
if ac_fn_cxx_try_compile "$LINENO"; then :
16755
ac_cv_c_bigendian=yes
16757
ac_cv_c_bigendian=no
16759
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16761
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16763
if test $ac_cv_c_bigendian = unknown; then
16764
# Compile a test program.
16765
if test "$cross_compiling" = yes; then :
16766
# Try to guess by grepping values from an object file.
16767
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16768
/* end confdefs.h. */
16769
short int ascii_mm[] =
16770
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
16771
short int ascii_ii[] =
16772
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
16773
int use_ascii (int i) {
16774
return ascii_mm[i] + ascii_ii[i];
16776
short int ebcdic_ii[] =
16777
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
16778
short int ebcdic_mm[] =
16779
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
16780
int use_ebcdic (int i) {
16781
return ebcdic_mm[i] + ebcdic_ii[i];
16788
return use_ascii (foo) == use_ebcdic (foo);
16793
if ac_fn_cxx_try_compile "$LINENO"; then :
16794
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
16795
ac_cv_c_bigendian=yes
16797
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
16798
if test "$ac_cv_c_bigendian" = unknown; then
16799
ac_cv_c_bigendian=no
16801
# finding both strings is unlikely to happen, but who knows?
16802
ac_cv_c_bigendian=unknown
16806
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16808
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16809
/* end confdefs.h. */
16810
$ac_includes_default
16815
/* Are we little or big endian? From Harbison&Steele. */
16819
char c[sizeof (long int)];
16822
return u.c[sizeof (long int) - 1] == 1;
16828
if ac_fn_cxx_try_run "$LINENO"; then :
16829
ac_cv_c_bigendian=no
16831
ac_cv_c_bigendian=yes
16833
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16834
conftest.$ac_objext conftest.beam conftest.$ac_ext
16839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
16840
$as_echo "$ac_cv_c_bigendian" >&6; }
16841
case $ac_cv_c_bigendian in #(
16843
byte_order="big endian";; #(
16845
byte_order="little endian" ;; #(
16848
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
16852
as_fn_error $? "unknown endianness
16853
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
16859
if test "x$byte_order" = "xbig endian"; then
16861
$as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
16864
if test "x$byte_order" = "xlittle endian"; then
16866
$as_echo "#define WORDS_LITTLEENDIAN 1" >>confdefs.h
16869
as_fn_error $? "Unable to detect endianess of target system - please specify" "$LINENO" 5
16873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $byte_order" >&5
16874
$as_echo "$byte_order" >&6; }
16878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
16879
$as_echo_n "checking whether NLS is requested... " >&6; }
16880
# Check whether --enable-nls was given.
16881
if test "${enable_nls+set}" = set; then :
16882
enableval=$enable_nls; USE_NLS=$enableval
16887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
16888
$as_echo "$USE_NLS" >&6; }
16893
case "$am__api_version" in
16895
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
16901
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
16902
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
16903
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
16904
if test -n "0.35.0"; then
16905
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
16906
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
16907
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
16908
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
16909
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
16910
as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
16913
# Extract the first word of "intltool-update", so it can be a program name with args.
16914
set dummy intltool-update; ac_word=$2
16915
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16916
$as_echo_n "checking for $ac_word... " >&6; }
16917
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
16918
$as_echo_n "(cached) " >&6
16920
case $INTLTOOL_UPDATE in
16922
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
16925
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16926
for as_dir in $PATH
16929
test -z "$as_dir" && as_dir=.
16930
for ac_exec_ext in '' $ac_executable_extensions; do
16931
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16932
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
16933
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16943
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
16944
if test -n "$INTLTOOL_UPDATE"; then
16945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
16946
$as_echo "$INTLTOOL_UPDATE" >&6; }
16948
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16949
$as_echo "no" >&6; }
16953
# Extract the first word of "intltool-merge", so it can be a program name with args.
16954
set dummy intltool-merge; ac_word=$2
16955
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16956
$as_echo_n "checking for $ac_word... " >&6; }
16957
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
16958
$as_echo_n "(cached) " >&6
16960
case $INTLTOOL_MERGE in
16962
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
16965
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16966
for as_dir in $PATH
16969
test -z "$as_dir" && as_dir=.
16970
for ac_exec_ext in '' $ac_executable_extensions; do
16971
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16972
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
16973
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16983
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
16984
if test -n "$INTLTOOL_MERGE"; then
16985
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
16986
$as_echo "$INTLTOOL_MERGE" >&6; }
16988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16989
$as_echo "no" >&6; }
16993
# Extract the first word of "intltool-extract", so it can be a program name with args.
16994
set dummy intltool-extract; ac_word=$2
16995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16996
$as_echo_n "checking for $ac_word... " >&6; }
16997
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
16998
$as_echo_n "(cached) " >&6
17000
case $INTLTOOL_EXTRACT in
17002
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
17005
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17006
for as_dir in $PATH
17009
test -z "$as_dir" && as_dir=.
17010
for ac_exec_ext in '' $ac_executable_extensions; do
17011
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17012
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
17013
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17023
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
17024
if test -n "$INTLTOOL_EXTRACT"; then
17025
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
17026
$as_echo "$INTLTOOL_EXTRACT" >&6; }
17028
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17029
$as_echo "no" >&6; }
17033
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
17034
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
17037
if test -z "$AM_DEFAULT_VERBOSITY"; then
17038
AM_DEFAULT_VERBOSITY=1
17042
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
17043
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
17044
INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
17049
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
17050
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
17051
intltool__v_merge_options_0='-q'
17056
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17057
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17058
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17059
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17060
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
17061
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17062
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17063
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17064
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17065
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17066
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17067
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
17068
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
17070
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
17072
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17073
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17074
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17075
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17076
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17077
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17078
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17176
# Check the gettext tools to make sure they are GNU
17177
# Extract the first word of "xgettext", so it can be a program name with args.
17178
set dummy xgettext; ac_word=$2
17179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17180
$as_echo_n "checking for $ac_word... " >&6; }
17181
if ${ac_cv_path_XGETTEXT+:} false; then :
17182
$as_echo_n "(cached) " >&6
17186
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
17189
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17190
for as_dir in $PATH
17193
test -z "$as_dir" && as_dir=.
17194
for ac_exec_ext in '' $ac_executable_extensions; do
17195
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17196
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
17197
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17207
XGETTEXT=$ac_cv_path_XGETTEXT
17208
if test -n "$XGETTEXT"; then
17209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
17210
$as_echo "$XGETTEXT" >&6; }
17212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17213
$as_echo "no" >&6; }
17217
# Extract the first word of "msgmerge", so it can be a program name with args.
17218
set dummy msgmerge; ac_word=$2
17219
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17220
$as_echo_n "checking for $ac_word... " >&6; }
17221
if ${ac_cv_path_MSGMERGE+:} false; then :
17222
$as_echo_n "(cached) " >&6
17226
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
17229
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17230
for as_dir in $PATH
17233
test -z "$as_dir" && as_dir=.
17234
for ac_exec_ext in '' $ac_executable_extensions; do
17235
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17236
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
17237
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17247
MSGMERGE=$ac_cv_path_MSGMERGE
17248
if test -n "$MSGMERGE"; then
17249
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
17250
$as_echo "$MSGMERGE" >&6; }
17252
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17253
$as_echo "no" >&6; }
17257
# Extract the first word of "msgfmt", so it can be a program name with args.
17258
set dummy msgfmt; ac_word=$2
17259
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17260
$as_echo_n "checking for $ac_word... " >&6; }
17261
if ${ac_cv_path_MSGFMT+:} false; then :
17262
$as_echo_n "(cached) " >&6
17266
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
17269
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17270
for as_dir in $PATH
17273
test -z "$as_dir" && as_dir=.
17274
for ac_exec_ext in '' $ac_executable_extensions; do
17275
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17276
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
17277
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17287
MSGFMT=$ac_cv_path_MSGFMT
17288
if test -n "$MSGFMT"; then
17289
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
17290
$as_echo "$MSGFMT" >&6; }
17292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17293
$as_echo "no" >&6; }
17297
# Extract the first word of "gmsgfmt", so it can be a program name with args.
17298
set dummy gmsgfmt; ac_word=$2
17299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17300
$as_echo_n "checking for $ac_word... " >&6; }
17301
if ${ac_cv_path_GMSGFMT+:} false; then :
17302
$as_echo_n "(cached) " >&6
17306
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
17309
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17310
for as_dir in $PATH
17313
test -z "$as_dir" && as_dir=.
17314
for ac_exec_ext in '' $ac_executable_extensions; do
17315
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17316
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
17317
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17324
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
17328
GMSGFMT=$ac_cv_path_GMSGFMT
17329
if test -n "$GMSGFMT"; then
17330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
17331
$as_echo "$GMSGFMT" >&6; }
17333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17334
$as_echo "no" >&6; }
17338
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
17339
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
17341
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
17342
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
17343
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
17344
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
17345
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
17348
# Extract the first word of "perl", so it can be a program name with args.
17349
set dummy perl; ac_word=$2
17350
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17351
$as_echo_n "checking for $ac_word... " >&6; }
17352
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
17353
$as_echo_n "(cached) " >&6
17355
case $INTLTOOL_PERL in
17357
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
17360
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17361
for as_dir in $PATH
17364
test -z "$as_dir" && as_dir=.
17365
for ac_exec_ext in '' $ac_executable_extensions; do
17366
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17367
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
17368
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17378
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
17379
if test -n "$INTLTOOL_PERL"; then
17380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
17381
$as_echo "$INTLTOOL_PERL" >&6; }
17383
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17384
$as_echo "no" >&6; }
17388
if test -z "$INTLTOOL_PERL"; then
17389
as_fn_error $? "perl not found" "$LINENO" 5
17391
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
17392
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
17393
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
17394
if test $? -ne 0; then
17395
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
17397
IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
17398
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
17399
$as_echo "$IT_PERL_VERSION" >&6; }
17401
if test "x" != "xno-xml"; then
17402
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
17403
$as_echo_n "checking for XML::Parser... " >&6; }
17404
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
17405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
17406
$as_echo "ok" >&6; }
17408
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
17412
# Substitute ALL_LINGUAS so we can use it in po/Makefile
17415
# Set DATADIRNAME correctly if it is not set yet
17416
# (copied from glib-gettext.m4)
17417
if test -z "$DATADIRNAME"; then
17418
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17419
/* end confdefs.h. */
17424
extern int _nl_msg_cat_cntr;
17425
return _nl_msg_cat_cntr
17430
if ac_fn_cxx_try_link "$LINENO"; then :
17435
ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17436
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
17448
rm -f core conftest.err conftest.$ac_objext \
17449
conftest$ac_exeext conftest.$ac_ext
17458
# on Windows the icons are manually copied in the installer
17459
if test "x${gm_platform}" = "xmingw" ; then
17462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
17463
$as_echo_n "checking for GTK... " >&6; }
17465
if test -n "$GTK_CFLAGS"; then
17466
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
17467
elif test -n "$PKG_CONFIG"; then
17468
if test -n "$PKG_CONFIG" && \
17469
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.20.0\""; } >&5
17470
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.20.0") 2>&5
17472
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17473
test $ac_status = 0; }; then
17474
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.20.0" 2>/dev/null`
17475
test "x$?" != "x0" && pkg_failed=yes
17482
if test -n "$GTK_LIBS"; then
17483
pkg_cv_GTK_LIBS="$GTK_LIBS"
17484
elif test -n "$PKG_CONFIG"; then
17485
if test -n "$PKG_CONFIG" && \
17486
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.20.0\""; } >&5
17487
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.20.0") 2>&5
17489
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17490
test $ac_status = 0; }; then
17491
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.20.0" 2>/dev/null`
17492
test "x$?" != "x0" && pkg_failed=yes
17502
if test $pkg_failed = yes; then
17503
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17504
$as_echo "no" >&6; }
17506
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17507
_pkg_short_errors_supported=yes
17509
_pkg_short_errors_supported=no
17511
if test $_pkg_short_errors_supported = yes; then
17512
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.20.0" 2>&1`
17514
GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.20.0" 2>&1`
17516
# Put the nasty error message in config.log where it belongs
17517
echo "$GTK_PKG_ERRORS" >&5
17519
as_fn_error $? "Package requirements (gtk+-2.0 >= 2.20.0) were not met:
17523
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17524
installed software in a non-standard prefix.
17526
Alternatively, you may set the environment variables GTK_CFLAGS
17527
and GTK_LIBS to avoid the need to call pkg-config.
17528
See the pkg-config man page for more details." "$LINENO" 5
17529
elif test $pkg_failed = untried; then
17530
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17531
$as_echo "no" >&6; }
17532
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17533
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17534
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17535
is in your PATH or set the PKG_CONFIG environment variable to the full
17536
path to pkg-config.
17538
Alternatively, you may set the environment variables GTK_CFLAGS
17539
and GTK_LIBS to avoid the need to call pkg-config.
17540
See the pkg-config man page for more details.
17542
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17543
See \`config.log' for more details" "$LINENO" 5; }
17545
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
17546
GTK_LIBS=$pkg_cv_GTK_LIBS
17547
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17548
$as_echo "yes" >&6; }
17554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
17555
$as_echo_n "checking for GTK... " >&6; }
17557
if test -n "$GTK_CFLAGS"; then
17558
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
17559
elif test -n "$PKG_CONFIG"; then
17560
if test -n "$PKG_CONFIG" && \
17561
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.20.0 gnome-icon-theme >= 3.0.0\""; } >&5
17562
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.20.0 gnome-icon-theme >= 3.0.0") 2>&5
17564
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17565
test $ac_status = 0; }; then
17566
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.20.0 gnome-icon-theme >= 3.0.0" 2>/dev/null`
17567
test "x$?" != "x0" && pkg_failed=yes
17574
if test -n "$GTK_LIBS"; then
17575
pkg_cv_GTK_LIBS="$GTK_LIBS"
17576
elif test -n "$PKG_CONFIG"; then
17577
if test -n "$PKG_CONFIG" && \
17578
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.20.0 gnome-icon-theme >= 3.0.0\""; } >&5
17579
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.20.0 gnome-icon-theme >= 3.0.0") 2>&5
17581
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17582
test $ac_status = 0; }; then
17583
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.20.0 gnome-icon-theme >= 3.0.0" 2>/dev/null`
17584
test "x$?" != "x0" && pkg_failed=yes
17594
if test $pkg_failed = yes; then
17595
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17596
$as_echo "no" >&6; }
17598
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17599
_pkg_short_errors_supported=yes
17601
_pkg_short_errors_supported=no
17603
if test $_pkg_short_errors_supported = yes; then
17604
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.20.0 gnome-icon-theme >= 3.0.0" 2>&1`
17606
GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.20.0 gnome-icon-theme >= 3.0.0" 2>&1`
17608
# Put the nasty error message in config.log where it belongs
17609
echo "$GTK_PKG_ERRORS" >&5
17611
as_fn_error $? "Package requirements (gtk+-2.0 >= 2.20.0 gnome-icon-theme >= 3.0.0) were not met:
17615
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17616
installed software in a non-standard prefix.
17618
Alternatively, you may set the environment variables GTK_CFLAGS
17619
and GTK_LIBS to avoid the need to call pkg-config.
17620
See the pkg-config man page for more details." "$LINENO" 5
17621
elif test $pkg_failed = untried; then
17622
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17623
$as_echo "no" >&6; }
17624
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17625
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17626
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17627
is in your PATH or set the PKG_CONFIG environment variable to the full
17628
path to pkg-config.
17630
Alternatively, you may set the environment variables GTK_CFLAGS
17631
and GTK_LIBS to avoid the need to call pkg-config.
17632
See the pkg-config man page for more details.
17634
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17635
See \`config.log' for more details" "$LINENO" 5; }
17637
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
17638
GTK_LIBS=$pkg_cv_GTK_LIBS
17639
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17640
$as_echo "yes" >&6; }
17646
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
17647
$as_echo_n "checking for GLIB... " >&6; }
17649
if test -n "$GLIB_CFLAGS"; then
17650
pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
17651
elif test -n "$PKG_CONFIG"; then
17652
if test -n "$PKG_CONFIG" && \
17653
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.24.0 gmodule-2.0 gobject-2.0 gthread-2.0\""; } >&5
17654
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0 gmodule-2.0 gobject-2.0 gthread-2.0") 2>&5
17656
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17657
test $ac_status = 0; }; then
17658
pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.24.0 gmodule-2.0 gobject-2.0 gthread-2.0" 2>/dev/null`
17659
test "x$?" != "x0" && pkg_failed=yes
17666
if test -n "$GLIB_LIBS"; then
17667
pkg_cv_GLIB_LIBS="$GLIB_LIBS"
17668
elif test -n "$PKG_CONFIG"; then
17669
if test -n "$PKG_CONFIG" && \
17670
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.24.0 gmodule-2.0 gobject-2.0 gthread-2.0\""; } >&5
17671
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0 gmodule-2.0 gobject-2.0 gthread-2.0") 2>&5
17673
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17674
test $ac_status = 0; }; then
17675
pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.24.0 gmodule-2.0 gobject-2.0 gthread-2.0" 2>/dev/null`
17676
test "x$?" != "x0" && pkg_failed=yes
17686
if test $pkg_failed = yes; then
17687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17688
$as_echo "no" >&6; }
17690
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17691
_pkg_short_errors_supported=yes
17693
_pkg_short_errors_supported=no
17695
if test $_pkg_short_errors_supported = yes; then
17696
GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.24.0 gmodule-2.0 gobject-2.0 gthread-2.0" 2>&1`
17698
GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.24.0 gmodule-2.0 gobject-2.0 gthread-2.0" 2>&1`
17700
# Put the nasty error message in config.log where it belongs
17701
echo "$GLIB_PKG_ERRORS" >&5
17703
as_fn_error $? "Package requirements (glib-2.0 >= 2.24.0 gmodule-2.0 gobject-2.0 gthread-2.0) were not met:
17707
Consider adjusting the PKG_CONFIG_PATH environment variable if you
17708
installed software in a non-standard prefix.
17710
Alternatively, you may set the environment variables GLIB_CFLAGS
17711
and GLIB_LIBS to avoid the need to call pkg-config.
17712
See the pkg-config man page for more details." "$LINENO" 5
17713
elif test $pkg_failed = untried; then
17714
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17715
$as_echo "no" >&6; }
17716
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17717
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17718
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
17719
is in your PATH or set the PKG_CONFIG environment variable to the full
17720
path to pkg-config.
17722
Alternatively, you may set the environment variables GLIB_CFLAGS
17723
and GLIB_LIBS to avoid the need to call pkg-config.
17724
See the pkg-config man page for more details.
17726
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17727
See \`config.log' for more details" "$LINENO" 5; }
17729
GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
17730
GLIB_LIBS=$pkg_cv_GLIB_LIBS
17731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17732
$as_echo "yes" >&6; }
17735
# Check whether --enable-gtk-debug was given.
17736
if test "${enable_gtk_debug+set}" = set; then :
17737
enableval=$enable_gtk_debug; if test "x$enableval" = "xyes"; then
17738
GTK_CFLAGS="$GTK_CFLAGS -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES"
17739
GLIB_CFLAGS="$GLIB_CFLAGS -DG_DISABLE_SINGLE_INCLUDES"
17751
# Check whether --with-boost was given.
17752
if test "${with_boost+set}" = set; then :
17753
withval=$with_boost;
17754
if test "$withval" = "no"; then
17756
elif test "$withval" = "yes"; then
17761
ac_boost_path="$withval"
17771
# Check whether --with-boost-libdir was given.
17772
if test "${with_boost_libdir+set}" = set; then :
17773
withval=$with_boost_libdir;
17774
if test -d "$withval"
17776
ac_boost_lib_path="$withval"
17778
as_fn_error $? "--with-boost-libdir expected directory name" "$LINENO" 5
17782
ac_boost_lib_path=""
17787
if test "x$want_boost" = "xyes"; then
17788
boost_lib_version_req=1.34
17789
boost_lib_version_req_shorten=`expr $boost_lib_version_req : '\([0-9]*\.[0-9]*\)'`
17790
boost_lib_version_req_major=`expr $boost_lib_version_req : '\([0-9]*\)'`
17791
boost_lib_version_req_minor=`expr $boost_lib_version_req : '[0-9]*\.\([0-9]*\)'`
17792
boost_lib_version_req_sub_minor=`expr $boost_lib_version_req : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
17793
if test "x$boost_lib_version_req_sub_minor" = "x" ; then
17794
boost_lib_version_req_sub_minor="0"
17796
WANT_BOOST_VERSION=`expr $boost_lib_version_req_major \* 100000 \+ $boost_lib_version_req_minor \* 100 \+ $boost_lib_version_req_sub_minor`
17797
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for boostlib >= $boost_lib_version_req" >&5
17798
$as_echo_n "checking for boostlib >= $boost_lib_version_req... " >&6; }
17803
if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then
17804
libsubdirs="lib64 lib lib64"
17807
if test "$ac_boost_path" != ""; then
17808
BOOST_CPPFLAGS="-I$ac_boost_path/include"
17809
for ac_boost_path_tmp in $libsubdirs; do
17810
if test -d "$ac_boost_path"/"$ac_boost_path_tmp" ; then
17811
BOOST_LDFLAGS="-L$ac_boost_path/$ac_boost_path_tmp"
17815
elif test "$cross_compiling" != yes; then
17816
for ac_boost_path_tmp in /usr /usr/local /opt /opt/local ; do
17817
if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then
17818
for libsubdir in $libsubdirs ; do
17819
if ls "$ac_boost_path_tmp/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
17821
BOOST_LDFLAGS="-L$ac_boost_path_tmp/$libsubdir"
17822
BOOST_CPPFLAGS="-I$ac_boost_path_tmp/include"
17828
if test "$ac_boost_lib_path" != ""; then
17829
BOOST_LDFLAGS="-L$ac_boost_lib_path"
17832
CPPFLAGS_SAVED="$CPPFLAGS"
17833
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
17836
LDFLAGS_SAVED="$LDFLAGS"
17837
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
17842
ac_cpp='$CXXCPP $CPPFLAGS'
17843
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17844
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17845
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17847
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17848
/* end confdefs.h. */
17850
#include <boost/version.hpp>
17856
#if BOOST_VERSION >= $WANT_BOOST_VERSION
17857
// Everything is okay
17859
# error Boost version is too old
17866
if ac_fn_cxx_try_compile "$LINENO"; then :
17868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17869
$as_echo "yes" >&6; }
17874
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17876
ac_cpp='$CXXCPP $CPPFLAGS'
17877
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17878
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17879
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17884
if test "x$succeeded" != "xyes"; then
17886
if test "$ac_boost_path" != ""; then
17887
if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
17888
for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
17889
_version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
17890
V_CHECK=`expr $_version_tmp \> $_version`
17891
if test "$V_CHECK" = "1" ; then
17892
_version=$_version_tmp
17894
VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
17895
BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE"
17899
if test "$cross_compiling" != yes; then
17900
for ac_boost_path in /usr /usr/local /opt /opt/local ; do
17901
if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then
17902
for i in `ls -d $ac_boost_path/include/boost-* 2>/dev/null`; do
17903
_version_tmp=`echo $i | sed "s#$ac_boost_path##" | sed 's/\/include\/boost-//' | sed 's/_/./'`
17904
V_CHECK=`expr $_version_tmp \> $_version`
17905
if test "$V_CHECK" = "1" ; then
17906
_version=$_version_tmp
17907
best_path=$ac_boost_path
17913
VERSION_UNDERSCORE=`echo $_version | sed 's/\./_/'`
17914
BOOST_CPPFLAGS="-I$best_path/include/boost-$VERSION_UNDERSCORE"
17915
if test "$ac_boost_lib_path" = ""; then
17916
for libsubdir in $libsubdirs ; do
17917
if ls "$best_path/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
17919
BOOST_LDFLAGS="-L$best_path/$libsubdir"
17923
if test "x$BOOST_ROOT" != "x"; then
17924
for libsubdir in $libsubdirs ; do
17925
if ls "$BOOST_ROOT/stage/$libsubdir/libboost_"* >/dev/null 2>&1 ; then break; fi
17927
if test -d "$BOOST_ROOT" && test -r "$BOOST_ROOT" && test -d "$BOOST_ROOT/stage/$libsubdir" && test -r "$BOOST_ROOT/stage/$libsubdir"; then
17928
version_dir=`expr //$BOOST_ROOT : '.*/\(.*\)'`
17929
stage_version=`echo $version_dir | sed 's/boost_//' | sed 's/_/./g'`
17930
stage_version_shorten=`expr $stage_version : '\([0-9]*\.[0-9]*\)'`
17931
V_CHECK=`expr $stage_version_shorten \>\= $_version`
17932
if test "$V_CHECK" = "1" -a "$ac_boost_lib_path" = "" ; then
17933
{ $as_echo "$as_me:${as_lineno-$LINENO}: We will use a staged boost library from $BOOST_ROOT" >&5
17934
$as_echo "$as_me: We will use a staged boost library from $BOOST_ROOT" >&6;}
17935
BOOST_CPPFLAGS="-I$BOOST_ROOT"
17936
BOOST_LDFLAGS="-L$BOOST_ROOT/stage/$libsubdir"
17942
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
17944
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
17948
ac_cpp='$CXXCPP $CPPFLAGS'
17949
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17950
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17951
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17953
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17954
/* end confdefs.h. */
17956
#include <boost/version.hpp>
17962
#if BOOST_VERSION >= $WANT_BOOST_VERSION
17963
// Everything is okay
17965
# error Boost version is too old
17972
if ac_fn_cxx_try_compile "$LINENO"; then :
17974
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17975
$as_echo "yes" >&6; }
17980
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17982
ac_cpp='$CXXCPP $CPPFLAGS'
17983
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17984
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17985
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17989
if test "$succeeded" != "yes" ; then
17990
if test "$_version" = "0" ; then
17991
{ $as_echo "$as_me:${as_lineno-$LINENO}: We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." >&5
17992
$as_echo "$as_me: We could not detect the boost libraries (version $boost_lib_version_req_shorten or higher). If you have a staged boost library (still not installed) please specify \$BOOST_ROOT in your environment and do not give a PATH to --with-boost option. If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation." >&6;}
17994
{ $as_echo "$as_me:${as_lineno-$LINENO}: Your boost libraries seems to old (version $_version)." >&5
17995
$as_echo "$as_me: Your boost libraries seems to old (version $_version)." >&6;}
17997
# execute ACTION-IF-NOT-FOUND (if present):
18003
$as_echo "#define HAVE_BOOST /**/" >>confdefs.h
18005
# execute ACTION-IF-FOUND (if present):
18009
CPPFLAGS="$CPPFLAGS_SAVED"
18010
LDFLAGS="$LDFLAGS_SAVED"
18016
# Check whether --with-boost-signals was given.
18017
if test "${with_boost_signals+set}" = set; then :
18018
withval=$with_boost_signals;
18019
if test "$withval" = "no"; then
18021
elif test "$withval" = "yes"; then
18023
ax_boost_user_signals_lib=""
18026
ax_boost_user_signals_lib="$withval"
18035
if test "x$want_boost" = "xyes"; then
18037
CPPFLAGS_SAVED="$CPPFLAGS"
18038
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
18041
LDFLAGS_SAVED="$LDFLAGS"
18042
LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
18045
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the Boost::Signals library is available" >&5
18046
$as_echo_n "checking whether the Boost::Signals library is available... " >&6; }
18047
if ${ax_cv_boost_signals+:} false; then :
18048
$as_echo_n "(cached) " >&6
18051
ac_cpp='$CXXCPP $CPPFLAGS'
18052
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18053
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18054
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18056
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18057
/* end confdefs.h. */
18058
#include <boost/signal.hpp>
18063
boost::signal<void ()> sig;
18070
if ac_fn_cxx_try_compile "$LINENO"; then :
18071
ax_cv_boost_signals=yes
18073
ax_cv_boost_signals=no
18075
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18077
ac_cpp='$CXXCPP $CPPFLAGS'
18078
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18079
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18080
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_boost_signals" >&5
18085
$as_echo "$ax_cv_boost_signals" >&6; }
18086
if test "x$ax_cv_boost_signals" = "xyes"; then
18088
$as_echo "#define HAVE_BOOST_SIGNALS /**/" >>confdefs.h
18090
BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
18091
if test "x$ax_boost_user_signals_lib" = "x"; then
18092
for libextension in `ls $BOOSTLIBDIR/libboost_signals*.so* $BOOSTLIBDIR/libboost_signals*.dylib* $BOOSTLIBDIR/libboost_signals*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_signals.*\)\.so.*$;\1;' -e 's;^lib\(boost_signals.*\)\.dylib.*$;\1;' -e 's;^lib\(boost_signals.*\)\.a.*$;\1;'` ; do
18093
ax_lib=${libextension}
18094
as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
18095
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
18096
$as_echo_n "checking for exit in -l$ax_lib... " >&6; }
18097
if eval \${$as_ac_Lib+:} false; then :
18098
$as_echo_n "(cached) " >&6
18100
ac_check_lib_save_LIBS=$LIBS
18101
LIBS="-l$ax_lib $LIBS"
18102
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18103
/* end confdefs.h. */
18105
/* Override any GCC internal prototype to avoid an error.
18106
Use char because int might match the return type of a GCC
18107
builtin and then its argument prototype would still apply. */
18120
if ac_fn_cxx_try_link "$LINENO"; then :
18121
eval "$as_ac_Lib=yes"
18123
eval "$as_ac_Lib=no"
18125
rm -f core conftest.err conftest.$ac_objext \
18126
conftest$ac_exeext conftest.$ac_ext
18127
LIBS=$ac_check_lib_save_LIBS
18129
eval ac_res=\$$as_ac_Lib
18130
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18131
$as_echo "$ac_res" >&6; }
18132
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
18133
BOOST_SIGNALS_LIB="-l$ax_lib"; link_signals="yes"; break
18139
if test "x$link_signals" != "xyes"; then
18140
for libextension in `ls $BOOSTLIBDIR/boost_signals*.dll* $BOOSTLIBDIR/boost_signals*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_signals.*\)\.dll.*$;\1;' -e 's;^\(boost_signals.*\)\.a*$;\1;'` ; do
18141
ax_lib=${libextension}
18142
as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
18143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for exit in -l$ax_lib" >&5
18144
$as_echo_n "checking for exit in -l$ax_lib... " >&6; }
18145
if eval \${$as_ac_Lib+:} false; then :
18146
$as_echo_n "(cached) " >&6
18148
ac_check_lib_save_LIBS=$LIBS
18149
LIBS="-l$ax_lib $LIBS"
18150
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18151
/* end confdefs.h. */
18153
/* Override any GCC internal prototype to avoid an error.
18154
Use char because int might match the return type of a GCC
18155
builtin and then its argument prototype would still apply. */
18168
if ac_fn_cxx_try_link "$LINENO"; then :
18169
eval "$as_ac_Lib=yes"
18171
eval "$as_ac_Lib=no"
18173
rm -f core conftest.err conftest.$ac_objext \
18174
conftest$ac_exeext conftest.$ac_ext
18175
LIBS=$ac_check_lib_save_LIBS
18177
eval ac_res=\$$as_ac_Lib
18178
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18179
$as_echo "$ac_res" >&6; }
18180
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
18181
BOOST_SIGNALS_LIB="-l$ax_lib"; link_signals="yes"; break
18190
for ax_lib in $ax_boost_user_signals_lib boost_signals-$ax_boost_user_signals_lib; do
18191
as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_main" | $as_tr_sh`
18192
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$ax_lib" >&5
18193
$as_echo_n "checking for main in -l$ax_lib... " >&6; }
18194
if eval \${$as_ac_Lib+:} false; then :
18195
$as_echo_n "(cached) " >&6
18197
ac_check_lib_save_LIBS=$LIBS
18198
LIBS="-l$ax_lib $LIBS"
18199
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18200
/* end confdefs.h. */
18211
if ac_fn_cxx_try_link "$LINENO"; then :
18212
eval "$as_ac_Lib=yes"
18214
eval "$as_ac_Lib=no"
18216
rm -f core conftest.err conftest.$ac_objext \
18217
conftest$ac_exeext conftest.$ac_ext
18218
LIBS=$ac_check_lib_save_LIBS
18220
eval ac_res=\$$as_ac_Lib
18221
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18222
$as_echo "$ac_res" >&6; }
18223
if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
18224
BOOST_SIGNALS_LIB="-l$ax_lib"; link_signals="yes"; break
18232
if test "x$ax_lib" = "x"; then
18233
as_fn_error $? "Could not find a version of the library!" "$LINENO" 5
18235
if test "x$link_signals" != "xyes"; then
18236
as_fn_error $? "Could not link against $ax_lib !" "$LINENO" 5
18240
CPPFLAGS="$CPPFLAGS_SAVED"
18241
LDFLAGS="$LDFLAGS_SAVED"
18245
if test "x${ax_cv_boost_signals}" == "xno"; then
18246
as_fn_error $? "You need the boost signals library to compile Ekiga" "$LINENO" 5
18249
BOOST_LIBS="${BOOST_SIGNALS_LIB}"
18255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML" >&5
18256
$as_echo_n "checking for XML... " >&6; }
18258
if test -n "$XML_CFLAGS"; then
18259
pkg_cv_XML_CFLAGS="$XML_CFLAGS"
18260
elif test -n "$PKG_CONFIG"; then
18261
if test -n "$PKG_CONFIG" && \
18262
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
18263
($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
18265
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18266
test $ac_status = 0; }; then
18267
pkg_cv_XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0" 2>/dev/null`
18268
test "x$?" != "x0" && pkg_failed=yes
18275
if test -n "$XML_LIBS"; then
18276
pkg_cv_XML_LIBS="$XML_LIBS"
18277
elif test -n "$PKG_CONFIG"; then
18278
if test -n "$PKG_CONFIG" && \
18279
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\""; } >&5
18280
($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
18282
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18283
test $ac_status = 0; }; then
18284
pkg_cv_XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0" 2>/dev/null`
18285
test "x$?" != "x0" && pkg_failed=yes
18295
if test $pkg_failed = yes; then
18296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18297
$as_echo "no" >&6; }
18299
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18300
_pkg_short_errors_supported=yes
18302
_pkg_short_errors_supported=no
18304
if test $_pkg_short_errors_supported = yes; then
18305
XML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0" 2>&1`
18307
XML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0" 2>&1`
18309
# Put the nasty error message in config.log where it belongs
18310
echo "$XML_PKG_ERRORS" >&5
18312
as_fn_error $? "Package requirements (libxml-2.0) were not met:
18316
Consider adjusting the PKG_CONFIG_PATH environment variable if you
18317
installed software in a non-standard prefix.
18319
Alternatively, you may set the environment variables XML_CFLAGS
18320
and XML_LIBS to avoid the need to call pkg-config.
18321
See the pkg-config man page for more details." "$LINENO" 5
18322
elif test $pkg_failed = untried; then
18323
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18324
$as_echo "no" >&6; }
18325
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18326
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18327
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18328
is in your PATH or set the PKG_CONFIG environment variable to the full
18329
path to pkg-config.
18331
Alternatively, you may set the environment variables XML_CFLAGS
18332
and XML_LIBS to avoid the need to call pkg-config.
18333
See the pkg-config man page for more details.
18335
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18336
See \`config.log' for more details" "$LINENO" 5; }
18338
XML_CFLAGS=$pkg_cv_XML_CFLAGS
18339
XML_LIBS=$pkg_cv_XML_LIBS
18340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18341
$as_echo "yes" >&6; }
18350
if test "x${gm_platform}" != "xmingw" ; then
18351
# Check whether --enable-gconf was given.
18352
if test "${enable_gconf+set}" = set; then :
18353
enableval=$enable_gconf; if test "x$enableval" = "xyes"; then
18361
if test "x$enable_gconf" = "xyes"; then
18364
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
18365
$as_echo_n "checking for GCONF... " >&6; }
18367
if test -n "$GCONF_CFLAGS"; then
18368
pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
18369
elif test -n "$PKG_CONFIG"; then
18370
if test -n "$PKG_CONFIG" && \
18371
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.6.0\""; } >&5
18372
($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.6.0") 2>&5
18374
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18375
test $ac_status = 0; }; then
18376
pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0 >= 2.6.0" 2>/dev/null`
18377
test "x$?" != "x0" && pkg_failed=yes
18384
if test -n "$GCONF_LIBS"; then
18385
pkg_cv_GCONF_LIBS="$GCONF_LIBS"
18386
elif test -n "$PKG_CONFIG"; then
18387
if test -n "$PKG_CONFIG" && \
18388
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0 >= 2.6.0\""; } >&5
18389
($PKG_CONFIG --exists --print-errors "gconf-2.0 >= 2.6.0") 2>&5
18391
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18392
test $ac_status = 0; }; then
18393
pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0 >= 2.6.0" 2>/dev/null`
18394
test "x$?" != "x0" && pkg_failed=yes
18404
if test $pkg_failed = yes; then
18405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18406
$as_echo "no" >&6; }
18408
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18409
_pkg_short_errors_supported=yes
18411
_pkg_short_errors_supported=no
18413
if test $_pkg_short_errors_supported = yes; then
18414
GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gconf-2.0 >= 2.6.0" 2>&1`
18416
GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gconf-2.0 >= 2.6.0" 2>&1`
18418
# Put the nasty error message in config.log where it belongs
18419
echo "$GCONF_PKG_ERRORS" >&5
18421
as_fn_error $? "Package requirements (gconf-2.0 >= 2.6.0) were not met:
18425
Consider adjusting the PKG_CONFIG_PATH environment variable if you
18426
installed software in a non-standard prefix.
18428
Alternatively, you may set the environment variables GCONF_CFLAGS
18429
and GCONF_LIBS to avoid the need to call pkg-config.
18430
See the pkg-config man page for more details." "$LINENO" 5
18431
elif test $pkg_failed = untried; then
18432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18433
$as_echo "no" >&6; }
18434
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18435
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18436
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18437
is in your PATH or set the PKG_CONFIG environment variable to the full
18438
path to pkg-config.
18440
Alternatively, you may set the environment variables GCONF_CFLAGS
18441
and GCONF_LIBS to avoid the need to call pkg-config.
18442
See the pkg-config man page for more details.
18444
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18445
See \`config.log' for more details" "$LINENO" 5; }
18447
GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
18448
GCONF_LIBS=$pkg_cv_GCONF_LIBS
18449
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18450
$as_echo "yes" >&6; }
18454
if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
18455
GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
18457
GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
18461
# Check whether --with-gconf-source was given.
18462
if test "${with_gconf_source+set}" = set; then :
18463
withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
18468
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
18469
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
18471
if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
18472
GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
18476
# Check whether --with-gconf-schema-file-dir was given.
18477
if test "${with_gconf_schema_file_dir+set}" = set; then :
18478
withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
18483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
18484
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
18486
# Check whether --enable-schemas-install was given.
18487
if test "${enable_schemas_install+set}" = set; then :
18488
enableval=$enable_schemas_install; case ${enableval} in
18490
*) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
18494
if test "$enable_schemas_install" != no; then
18495
GCONF_SCHEMAS_INSTALL_TRUE=
18496
GCONF_SCHEMAS_INSTALL_FALSE='#'
18498
GCONF_SCHEMAS_INSTALL_TRUE='#'
18499
GCONF_SCHEMAS_INSTALL_FALSE=
18507
$as_echo "#define HAVE_GCONF 1" >>confdefs.h
18511
GCONF_SCHEMAS_INSTALL_TRUE=
18512
GCONF_SCHEMAS_INSTALL_FALSE='#'
18514
GCONF_SCHEMAS_INSTALL_TRUE='#'
18515
GCONF_SCHEMAS_INSTALL_FALSE=
18521
GCONF_SCHEMAS_INSTALL_TRUE=
18522
GCONF_SCHEMAS_INSTALL_FALSE='#'
18524
GCONF_SCHEMAS_INSTALL_TRUE='#'
18525
GCONF_SCHEMAS_INSTALL_FALSE=
18530
if test "x$found_gconf" = "xyes"; then
18532
HAVE_GCONF_FALSE='#'
18534
HAVE_GCONF_TRUE='#'
18542
if test "x${gm_platform}" != "xmingw" ; then
18543
# Check whether --enable-eds was given.
18544
if test "${enable_eds+set}" = set; then :
18545
enableval=$enable_eds; if test "x$enableval" = "xyes"; then
18553
if test "x$enable_eds" = "xyes"; then
18556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EDS" >&5
18557
$as_echo_n "checking for EDS... " >&6; }
18559
if test -n "$EDS_CFLAGS"; then
18560
pkg_cv_EDS_CFLAGS="$EDS_CFLAGS"
18561
elif test -n "$PKG_CONFIG"; then
18562
if test -n "$PKG_CONFIG" && \
18563
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2\""; } >&5
18564
($PKG_CONFIG --exists --print-errors "libebook-1.2") 2>&5
18566
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18567
test $ac_status = 0; }; then
18568
pkg_cv_EDS_CFLAGS=`$PKG_CONFIG --cflags "libebook-1.2" 2>/dev/null`
18569
test "x$?" != "x0" && pkg_failed=yes
18576
if test -n "$EDS_LIBS"; then
18577
pkg_cv_EDS_LIBS="$EDS_LIBS"
18578
elif test -n "$PKG_CONFIG"; then
18579
if test -n "$PKG_CONFIG" && \
18580
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libebook-1.2\""; } >&5
18581
($PKG_CONFIG --exists --print-errors "libebook-1.2") 2>&5
18583
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18584
test $ac_status = 0; }; then
18585
pkg_cv_EDS_LIBS=`$PKG_CONFIG --libs "libebook-1.2" 2>/dev/null`
18586
test "x$?" != "x0" && pkg_failed=yes
18596
if test $pkg_failed = yes; then
18597
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18598
$as_echo "no" >&6; }
18600
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18601
_pkg_short_errors_supported=yes
18603
_pkg_short_errors_supported=no
18605
if test $_pkg_short_errors_supported = yes; then
18606
EDS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libebook-1.2" 2>&1`
18608
EDS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libebook-1.2" 2>&1`
18610
# Put the nasty error message in config.log where it belongs
18611
echo "$EDS_PKG_ERRORS" >&5
18613
as_fn_error $? "Package requirements (libebook-1.2) were not met:
18617
Consider adjusting the PKG_CONFIG_PATH environment variable if you
18618
installed software in a non-standard prefix.
18620
Alternatively, you may set the environment variables EDS_CFLAGS
18621
and EDS_LIBS to avoid the need to call pkg-config.
18622
See the pkg-config man page for more details." "$LINENO" 5
18623
elif test $pkg_failed = untried; then
18624
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18625
$as_echo "no" >&6; }
18626
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18627
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18628
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18629
is in your PATH or set the PKG_CONFIG environment variable to the full
18630
path to pkg-config.
18632
Alternatively, you may set the environment variables EDS_CFLAGS
18633
and EDS_LIBS to avoid the need to call pkg-config.
18634
See the pkg-config man page for more details.
18636
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18637
See \`config.log' for more details" "$LINENO" 5; }
18639
EDS_CFLAGS=$pkg_cv_EDS_CFLAGS
18640
EDS_LIBS=$pkg_cv_EDS_LIBS
18641
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18642
$as_echo "yes" >&6; }
18649
$as_echo "#define HAVE_EDS 1" >>confdefs.h
18654
if test "x$found_eds" = "xyes"; then
18666
if test "x${gm_platform}" != "xmingw" ; then
18667
# Check whether --enable-notify was given.
18668
if test "${enable_notify+set}" = set; then :
18669
enableval=$enable_notify; if test "x$enableval" = "xyes"; then
18677
if test "x$enable_notify" = "xyes"; then
18680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NOTIFY" >&5
18681
$as_echo_n "checking for NOTIFY... " >&6; }
18683
if test -n "$NOTIFY_CFLAGS"; then
18684
pkg_cv_NOTIFY_CFLAGS="$NOTIFY_CFLAGS"
18685
elif test -n "$PKG_CONFIG"; then
18686
if test -n "$PKG_CONFIG" && \
18687
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
18688
($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
18690
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18691
test $ac_status = 0; }; then
18692
pkg_cv_NOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify" 2>/dev/null`
18693
test "x$?" != "x0" && pkg_failed=yes
18700
if test -n "$NOTIFY_LIBS"; then
18701
pkg_cv_NOTIFY_LIBS="$NOTIFY_LIBS"
18702
elif test -n "$PKG_CONFIG"; then
18703
if test -n "$PKG_CONFIG" && \
18704
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5
18705
($PKG_CONFIG --exists --print-errors "libnotify") 2>&5
18707
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18708
test $ac_status = 0; }; then
18709
pkg_cv_NOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify" 2>/dev/null`
18710
test "x$?" != "x0" && pkg_failed=yes
18720
if test $pkg_failed = yes; then
18721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18722
$as_echo "no" >&6; }
18724
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18725
_pkg_short_errors_supported=yes
18727
_pkg_short_errors_supported=no
18729
if test $_pkg_short_errors_supported = yes; then
18730
NOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify" 2>&1`
18732
NOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify" 2>&1`
18734
# Put the nasty error message in config.log where it belongs
18735
echo "$NOTIFY_PKG_ERRORS" >&5
18738
elif test $pkg_failed = untried; then
18739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18740
$as_echo "no" >&6; }
18743
NOTIFY_CFLAGS=$pkg_cv_NOTIFY_CFLAGS
18744
NOTIFY_LIBS=$pkg_cv_NOTIFY_LIBS
18745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18746
$as_echo "yes" >&6; }
18749
if test "x$found_notify" = "xyes"; then
18754
$as_echo "#define HAVE_NOTIFY 1" >>confdefs.h
18760
if test "x$found_notify" = "xyes"; then
18762
HAVE_NOTIFY_FALSE='#'
18764
HAVE_NOTIFY_TRUE='#'
18772
# Check whether --enable-ldap was given.
18773
if test "${enable_ldap+set}" = set; then :
18774
enableval=$enable_ldap; if test "x$enableval" = "xyes"; then
18782
if test "x$enable_ldap" = "xyes"; then
18785
# Check whether --with-ldap-dir was given.
18786
if test "${with_ldap_dir+set}" = set; then :
18787
withval=$with_ldap_dir; with_ldap_dir="$withval"
18789
with_ldap_dir="/usr"
18793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LDAP includes in ${with_ldap_dir}/include/" >&5
18794
$as_echo_n "checking for LDAP includes in ${with_ldap_dir}/include/... " >&6; }
18795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
18799
if test -f ${with_ldap_dir}/include/ldap.h; then
18800
LDAP_CFLAGS="-I${with_ldap_dir}/include"
18802
as_fn_error $? "You need the LDAP headers to compile Ekiga with LDAP support" "$LINENO" 5
18806
LIBS="${LIBS} -L${with_ldap_dir}/${libname}/ -llber"
18807
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lldap" >&5
18808
$as_echo_n "checking for main in -lldap... " >&6; }
18809
if ${ac_cv_lib_ldap_main+:} false; then :
18810
$as_echo_n "(cached) " >&6
18812
ac_check_lib_save_LIBS=$LIBS
18813
LIBS="-lldap $LIBS"
18814
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18815
/* end confdefs.h. */
18826
if ac_fn_cxx_try_link "$LINENO"; then :
18827
ac_cv_lib_ldap_main=yes
18829
ac_cv_lib_ldap_main=no
18831
rm -f core conftest.err conftest.$ac_objext \
18832
conftest$ac_exeext conftest.$ac_ext
18833
LIBS=$ac_check_lib_save_LIBS
18835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_main" >&5
18836
$as_echo "$ac_cv_lib_ldap_main" >&6; }
18837
if test "x$ac_cv_lib_ldap_main" = xyes; then :
18843
LIBS="${LIBS_save}"
18845
if test "x${ldap_libs}" != "xno"; then
18846
LDAP_LIBS="-llber -lldap"
18847
if test "x${with_ldap_dir}" != "x/usr"; then
18848
LDAP_LIBS="-L${with_ldap_dir}/${libname} $LDAP_LIBS"
18851
as_fn_error $? "You need the LDAP library to compile Ekiga with LDAP support" "$LINENO" 5
18855
# Check whether --with-libsasl2-dir was given.
18856
if test "${with_libsasl2_dir+set}" = set; then :
18857
withval=$with_libsasl2_dir; with_libsasl2_dir="$withval"
18859
with_libsasl2_dir="/usr"
18863
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSASL2 includes in ${with_libsasl2_dir}/include/" >&5
18864
$as_echo_n "checking for LIBSASL2 includes in ${with_libsasl2_dir}/include/... " >&6; }
18865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
18868
if test -f ${with_libsasl2_dir}/include/sasl/sasl.h; then
18869
LDAP_CFLAGS="${LDAP_CFLAGS} -I${with_libsasl2_dir}/include"
18871
as_fn_error $? "You need the SASL2 library to compile Ekiga" "$LINENO" 5
18873
LDAP_LIBS="$LDAP_LIBS -lsasl2"
18875
if test ${gm_platform} = "linux" ; then
18876
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_gethostbyaddr in -lresolv" >&5
18877
$as_echo_n "checking for res_gethostbyaddr in -lresolv... " >&6; }
18878
if ${ac_cv_lib_resolv_res_gethostbyaddr+:} false; then :
18879
$as_echo_n "(cached) " >&6
18881
ac_check_lib_save_LIBS=$LIBS
18882
LIBS="-lresolv -lresolv $LIBS"
18883
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18884
/* end confdefs.h. */
18886
/* Override any GCC internal prototype to avoid an error.
18887
Use char because int might match the return type of a GCC
18888
builtin and then its argument prototype would still apply. */
18892
char res_gethostbyaddr ();
18896
return res_gethostbyaddr ();
18901
if ac_fn_cxx_try_link "$LINENO"; then :
18902
ac_cv_lib_resolv_res_gethostbyaddr=yes
18904
ac_cv_lib_resolv_res_gethostbyaddr=no
18906
rm -f core conftest.err conftest.$ac_objext \
18907
conftest$ac_exeext conftest.$ac_ext
18908
LIBS=$ac_check_lib_save_LIBS
18910
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_gethostbyaddr" >&5
18911
$as_echo "$ac_cv_lib_resolv_res_gethostbyaddr" >&6; }
18912
if test "x$ac_cv_lib_resolv_res_gethostbyaddr" = xyes; then :
18913
LIBS="-lresolv $LIBS"
18915
as_fn_error $? "You need the libresolv library to compile Ekiga" "$LINENO" 5
18918
LDAP_LIBS="${LDAP_LIBS} -lresolv"
18925
$as_echo "#define HAVE_LDAP 1" >>confdefs.h
18929
if test "x$found_ldap" = "xyes"; then
18931
HAVE_LDAP_FALSE='#'
18939
# By default we simply use the C compiler to build assembly code.
18941
test "${CCAS+set}" = set || CCAS=$CC
18942
test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
18946
depcc="$CCAS" am_compiler_list=
18948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
18949
$as_echo_n "checking dependency style of $depcc... " >&6; }
18950
if ${am_cv_CCAS_dependencies_compiler_type+:} false; then :
18951
$as_echo_n "(cached) " >&6
18953
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
18954
# We make a subdir and do the tests there. Otherwise we can end up
18955
# making bogus files that we don't know about and never remove. For
18956
# instance it was reported that on HP-UX the gcc test will end up
18957
# making a dummy file named `D' -- because `-MD' means `put the output
18959
rm -rf conftest.dir
18961
# Copy depcomp to subdir because otherwise we won't find it if we're
18962
# using a relative directory.
18963
cp "$am_depcomp" conftest.dir
18965
# We will build objects and dependencies in a subdirectory because
18966
# it helps to detect inapplicable dependency modes. For instance
18967
# both Tru64's cc and ICC support -MD to output dependencies as a
18968
# side effect of compilation, but ICC will put the dependencies in
18969
# the current directory while Tru64 will put them in the object
18973
am_cv_CCAS_dependencies_compiler_type=none
18974
if test "$am_compiler_list" = ""; then
18975
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
18977
am__universal=false
18980
for depmode in $am_compiler_list; do
18981
# Setup a source with many dependencies, because some compilers
18982
# like to wrap large dependency lists on column 80 (with \), and
18983
# we should not choose a depcomp mode which is confused by this.
18985
# We need to recreate these files for each test, as the compiler may
18986
# overwrite some of them when testing with obscure command lines.
18987
# This happens at least with the AIX C compiler.
18989
for i in 1 2 3 4 5 6; do
18990
echo '#include "conftst'$i'.h"' >> sub/conftest.c
18991
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
18992
# Solaris 8's {/usr,}/bin/sh.
18993
touch sub/conftst$i.h
18995
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
18997
# We check with `-c' and `-o' for the sake of the "dashmstdout"
18998
# mode. It turns out that the SunPro C++ compiler does not properly
18999
# handle `-M -o', and we need to detect this. Also, some Intel
19000
# versions had trouble with output in subdirs
19001
am__obj=sub/conftest.${OBJEXT-o}
19002
am__minus_obj="-o $am__obj"
19005
# This depmode causes a compiler race in universal mode.
19006
test "$am__universal" = false || continue
19009
# after this tag, mechanisms are not by side-effect, so they'll
19010
# only be used when explicitly requested
19011
if test "x$enable_dependency_tracking" = xyes; then
19017
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
19018
# This compiler won't grok `-c -o', but also, the minuso test has
19019
# not run yet. These depmodes are late enough in the game, and
19020
# so weak that their functioning should not be impacted.
19021
am__obj=conftest.${OBJEXT-o}
19026
if depmode=$depmode \
19027
source=sub/conftest.c object=$am__obj \
19028
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
19029
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
19030
>/dev/null 2>conftest.err &&
19031
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
19032
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
19033
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
19034
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
19035
# icc doesn't choke on unknown options, it will just issue warnings
19036
# or remarks (even with -Werror). So we grep stderr for any message
19037
# that says an option was ignored or not supported.
19038
# When given -MP, icc 7.0 and 7.1 complain thusly:
19039
# icc: Command line warning: ignoring option '-M'; no argument required
19040
# The diagnosis changed in icc 8.0:
19041
# icc: Command line remark: option '-MP' not supported
19042
if (grep 'ignoring option' conftest.err ||
19043
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
19044
am_cv_CCAS_dependencies_compiler_type=$depmode
19051
rm -rf conftest.dir
19053
am_cv_CCAS_dependencies_compiler_type=none
19057
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
19058
$as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
19059
CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type
19062
test "x$enable_dependency_tracking" != xno \
19063
&& test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then
19064
am__fastdepCCAS_TRUE=
19065
am__fastdepCCAS_FALSE='#'
19067
am__fastdepCCAS_TRUE='#'
19068
am__fastdepCCAS_FALSE=
19073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for x86 platform" >&5
19074
$as_echo_n "checking for x86 platform... " >&6; }
19076
i386|i486|i586|i686|i786|k6|k7)
19077
# Check whether --enable-mmx was given.
19078
if test "${enable_mmx+set}" = set; then :
19079
enableval=$enable_mmx; if test "x$enableval" = "xyes"; then
19092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_x86_asm" >&5
19093
$as_echo "$use_x86_asm" >&6; }
19096
if test "x$use_x86_asm" = "xyes"; then
19097
save_ac_ext=$ac_ext
19100
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking compiler support for MMX" >&5
19101
$as_echo_n "checking compiler support for MMX... " >&6; }
19102
cp $srcdir/lib/pixops/scale_line_22_33_mmx.S conftest.S
19103
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
19104
(eval $ac_compile) 2>&5
19106
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19107
test $ac_status = 0; }; then
19113
ac_ext=$save_ac_ext
19114
if test "x$use_mmx_asm" = "xyes"; then
19116
$as_echo "#define USE_MMX 1" >>confdefs.h
19118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19119
$as_echo "yes" >&6; }
19121
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19122
$as_echo "no" >&6; }
19126
if test "x$use_mmx_asm" = "xyes"; then
19139
if test "x${gm_platform}" = "xlinux" ; then
19140
# Check whether --enable-shm was given.
19141
if test "${enable_shm+set}" = set; then :
19142
enableval=$enable_shm; if test "x$enableval" = "xyes"; then
19149
if test "x$enable_shm" = "xyes"; then
19150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmAttach in -lXext" >&5
19151
$as_echo_n "checking for XShmAttach in -lXext... " >&6; }
19152
if ${ac_cv_lib_Xext_XShmAttach+:} false; then :
19153
$as_echo_n "(cached) " >&6
19155
ac_check_lib_save_LIBS=$LIBS
19156
LIBS="-lXext $LIBS"
19157
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19158
/* end confdefs.h. */
19160
/* Override any GCC internal prototype to avoid an error.
19161
Use char because int might match the return type of a GCC
19162
builtin and then its argument prototype would still apply. */
19166
char XShmAttach ();
19170
return XShmAttach ();
19175
if ac_fn_cxx_try_link "$LINENO"; then :
19176
ac_cv_lib_Xext_XShmAttach=yes
19178
ac_cv_lib_Xext_XShmAttach=no
19180
rm -f core conftest.err conftest.$ac_objext \
19181
conftest$ac_exeext conftest.$ac_ext
19182
LIBS=$ac_check_lib_save_LIBS
19184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmAttach" >&5
19185
$as_echo "$ac_cv_lib_Xext_XShmAttach" >&6; }
19186
if test "x$ac_cv_lib_Xext_XShmAttach" = xyes; then :
19192
if test "x${with_shm}" != "xno"; then
19195
$as_echo "#define HAVE_SHM 1" >>confdefs.h
19202
if test "x$SHM" = "xenabled"; then
19212
# Check whether --enable-xv was given.
19213
if test "${enable_xv+set}" = set; then :
19214
enableval=$enable_xv; if test "x$enableval" = "xyes"; then
19221
if test "x${gm_platform}" != "xmingw" -a "x$enable_xv" = "xyes"; then
19224
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XV" >&5
19225
$as_echo_n "checking for XV... " >&6; }
19227
if test -n "$XV_CFLAGS"; then
19228
pkg_cv_XV_CFLAGS="$XV_CFLAGS"
19229
elif test -n "$PKG_CONFIG"; then
19230
if test -n "$PKG_CONFIG" && \
19231
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xv\""; } >&5
19232
($PKG_CONFIG --exists --print-errors "xv") 2>&5
19234
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19235
test $ac_status = 0; }; then
19236
pkg_cv_XV_CFLAGS=`$PKG_CONFIG --cflags "xv" 2>/dev/null`
19237
test "x$?" != "x0" && pkg_failed=yes
19244
if test -n "$XV_LIBS"; then
19245
pkg_cv_XV_LIBS="$XV_LIBS"
19246
elif test -n "$PKG_CONFIG"; then
19247
if test -n "$PKG_CONFIG" && \
19248
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xv\""; } >&5
19249
($PKG_CONFIG --exists --print-errors "xv") 2>&5
19251
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19252
test $ac_status = 0; }; then
19253
pkg_cv_XV_LIBS=`$PKG_CONFIG --libs "xv" 2>/dev/null`
19254
test "x$?" != "x0" && pkg_failed=yes
19264
if test $pkg_failed = yes; then
19265
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19266
$as_echo "no" >&6; }
19268
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19269
_pkg_short_errors_supported=yes
19271
_pkg_short_errors_supported=no
19273
if test $_pkg_short_errors_supported = yes; then
19274
XV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xv" 2>&1`
19276
XV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xv" 2>&1`
19278
# Put the nasty error message in config.log where it belongs
19279
echo "$XV_PKG_ERRORS" >&5
19281
as_fn_error $? "Package requirements (xv) were not met:
19285
Consider adjusting the PKG_CONFIG_PATH environment variable if you
19286
installed software in a non-standard prefix.
19288
Alternatively, you may set the environment variables XV_CFLAGS
19289
and XV_LIBS to avoid the need to call pkg-config.
19290
See the pkg-config man page for more details." "$LINENO" 5
19291
elif test $pkg_failed = untried; then
19292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19293
$as_echo "no" >&6; }
19294
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19295
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19296
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19297
is in your PATH or set the PKG_CONFIG environment variable to the full
19298
path to pkg-config.
19300
Alternatively, you may set the environment variables XV_CFLAGS
19301
and XV_LIBS to avoid the need to call pkg-config.
19302
See the pkg-config man page for more details.
19304
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19305
See \`config.log' for more details" "$LINENO" 5; }
19307
XV_CFLAGS=$pkg_cv_XV_CFLAGS
19308
XV_LIBS=$pkg_cv_XV_LIBS
19309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19310
$as_echo "yes" >&6; }
19312
$as_echo "#define HAVE_XV 1" >>confdefs.h
19321
if test "x$XV" = "xenabled"; then
19333
if test "x${gm_platform}" = "xmingw" ; then
19335
# Check whether --with-directx-dir was given.
19336
if test "${with_directx_dir+set}" = set; then :
19337
withval=$with_directx_dir; with_directx_dir="$withval"
19339
with_directx_dir="."
19343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DirectX includes in ${with_directx_dir}" >&5
19344
$as_echo_n "checking for DirectX includes in ${with_directx_dir}... " >&6; }
19345
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
19347
if test -d ${with_directx_dir}; then
19348
DX_CFLAGS="-I${with_directx_dir}"
19349
DX_LIBS="$EKIGA_LIBS -lddraw"
19354
$as_echo "#define HAVE_DX 1" >>confdefs.h
19357
as_fn_error $? "Unable to locate DirectX header files; --with-directx-dir is obligatory" "$LINENO" 5
19361
if test "x$DX" = "xenabled"; then
19372
DBUS_SERVICE="disabled"
19374
if test "x${gm_platform}" != "xmingw" ; then
19375
# Check whether --enable-dbus was given.
19376
if test "${enable_dbus+set}" = set; then :
19377
enableval=$enable_dbus; if test "x$enableval" = "xyes"; then
19384
# Check whether --enable-dbus-service was given.
19385
if test "${enable_dbus_service+set}" = set; then :
19386
enableval=$enable_dbus_service; if test "x$enableval" = "xyes"; then
19387
enable_dbus_service=yes
19390
enable_dbus_service=yes
19394
if test "x$enable_dbus" = "xyes"; then
19397
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
19398
$as_echo_n "checking for DBUS... " >&6; }
19400
if test -n "$DBUS_CFLAGS"; then
19401
pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
19402
elif test -n "$PKG_CONFIG"; then
19403
if test -n "$PKG_CONFIG" && \
19404
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.36 dbus-glib-1 >= 0.36\""; } >&5
19405
($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.36 dbus-glib-1 >= 0.36") 2>&5
19407
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19408
test $ac_status = 0; }; then
19409
pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 0.36 dbus-glib-1 >= 0.36" 2>/dev/null`
19410
test "x$?" != "x0" && pkg_failed=yes
19417
if test -n "$DBUS_LIBS"; then
19418
pkg_cv_DBUS_LIBS="$DBUS_LIBS"
19419
elif test -n "$PKG_CONFIG"; then
19420
if test -n "$PKG_CONFIG" && \
19421
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 0.36 dbus-glib-1 >= 0.36\""; } >&5
19422
($PKG_CONFIG --exists --print-errors "dbus-1 >= 0.36 dbus-glib-1 >= 0.36") 2>&5
19424
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19425
test $ac_status = 0; }; then
19426
pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 0.36 dbus-glib-1 >= 0.36" 2>/dev/null`
19427
test "x$?" != "x0" && pkg_failed=yes
19437
if test $pkg_failed = yes; then
19438
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19439
$as_echo "no" >&6; }
19441
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19442
_pkg_short_errors_supported=yes
19444
_pkg_short_errors_supported=no
19446
if test $_pkg_short_errors_supported = yes; then
19447
DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 0.36 dbus-glib-1 >= 0.36" 2>&1`
19449
DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 0.36 dbus-glib-1 >= 0.36" 2>&1`
19451
# Put the nasty error message in config.log where it belongs
19452
echo "$DBUS_PKG_ERRORS" >&5
19454
as_fn_error $? "Package requirements (dbus-1 >= 0.36 dbus-glib-1 >= 0.36) were not met:
19458
Consider adjusting the PKG_CONFIG_PATH environment variable if you
19459
installed software in a non-standard prefix.
19461
Alternatively, you may set the environment variables DBUS_CFLAGS
19462
and DBUS_LIBS to avoid the need to call pkg-config.
19463
See the pkg-config man page for more details." "$LINENO" 5
19464
elif test $pkg_failed = untried; then
19465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19466
$as_echo "no" >&6; }
19467
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19468
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19469
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19470
is in your PATH or set the PKG_CONFIG environment variable to the full
19471
path to pkg-config.
19473
Alternatively, you may set the environment variables DBUS_CFLAGS
19474
and DBUS_LIBS to avoid the need to call pkg-config.
19475
See the pkg-config man page for more details.
19477
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19478
See \`config.log' for more details" "$LINENO" 5; }
19480
DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
19481
DBUS_LIBS=$pkg_cv_DBUS_LIBS
19482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19483
$as_echo "yes" >&6; }
19490
$as_echo "#define HAVE_DBUS 1" >>confdefs.h
19493
if test "x$found_dbus" = "xyes" -a "x$enable_dbus_service" = "xyes"; then
19494
DBUS_SERVICE="enabled"
19499
if test "x$found_dbus" = "xyes"; then
19501
HAVE_DBUS_FALSE='#'
19507
if test "x$DBUS_SERVICE" = "xenabled"; then
19508
INSTALL_DBUS_SERVICE_TRUE=
19509
INSTALL_DBUS_SERVICE_FALSE='#'
19511
INSTALL_DBUS_SERVICE_TRUE='#'
19512
INSTALL_DBUS_SERVICE_FALSE=
19521
VIDEO4LINUX="disabled"
19522
if test "x${win32}" != "x1"; then
19523
ac_fn_cxx_check_header_mongrel "$LINENO" "libv4l1-videodev.h" "ac_cv_header_libv4l1_videodev_h" "$ac_includes_default"
19524
if test "x$ac_cv_header_libv4l1_videodev_h" = xyes; then :
19529
ac_fn_cxx_check_header_mongrel "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "$ac_includes_default"
19530
if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
19535
ac_fn_cxx_check_header_mongrel "$LINENO" "linux/videodev.h" "ac_cv_header_linux_videodev_h" "$ac_includes_default"
19536
if test "x$ac_cv_header_linux_videodev_h" = xyes; then :
19542
if test "x${V4L}" != "xdisabled" -a "x${V4L2}" != "xdisabled"; then
19544
$as_echo "#define HAVE_V4L 1" >>confdefs.h
19546
VIDEO4LINUX="enabled"
19548
if test "x${OLDV4L}" != "xdisabled"; then
19550
$as_echo "#define HAVE_V4L 1" >>confdefs.h
19553
$as_echo "#define HAVE_OLD_V4L 1" >>confdefs.h
19555
VIDEO4LINUX="enabled"
19559
if test "x${VIDEO4LINUX}" = "xenabled"; then
19570
if test "x${gm_platform}" != "xmingw" ; then
19571
# Check whether --enable-avahi was given.
19572
if test "${enable_avahi+set}" = set; then :
19573
enableval=$enable_avahi; if test "x$enableval" = "xyes"; then
19579
if test "x$enable_avahi" = "xyes"; then
19582
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for AVAHI" >&5
19583
$as_echo_n "checking for AVAHI... " >&6; }
19585
if test -n "$AVAHI_CFLAGS"; then
19586
pkg_cv_AVAHI_CFLAGS="$AVAHI_CFLAGS"
19587
elif test -n "$PKG_CONFIG"; then
19588
if test -n "$PKG_CONFIG" && \
19589
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client >= 0.6 avahi-glib >= 0.6\""; } >&5
19590
($PKG_CONFIG --exists --print-errors "avahi-client >= 0.6 avahi-glib >= 0.6") 2>&5
19592
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19593
test $ac_status = 0; }; then
19594
pkg_cv_AVAHI_CFLAGS=`$PKG_CONFIG --cflags "avahi-client >= 0.6 avahi-glib >= 0.6" 2>/dev/null`
19595
test "x$?" != "x0" && pkg_failed=yes
19602
if test -n "$AVAHI_LIBS"; then
19603
pkg_cv_AVAHI_LIBS="$AVAHI_LIBS"
19604
elif test -n "$PKG_CONFIG"; then
19605
if test -n "$PKG_CONFIG" && \
19606
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"avahi-client >= 0.6 avahi-glib >= 0.6\""; } >&5
19607
($PKG_CONFIG --exists --print-errors "avahi-client >= 0.6 avahi-glib >= 0.6") 2>&5
19609
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19610
test $ac_status = 0; }; then
19611
pkg_cv_AVAHI_LIBS=`$PKG_CONFIG --libs "avahi-client >= 0.6 avahi-glib >= 0.6" 2>/dev/null`
19612
test "x$?" != "x0" && pkg_failed=yes
19622
if test $pkg_failed = yes; then
19623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19624
$as_echo "no" >&6; }
19626
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19627
_pkg_short_errors_supported=yes
19629
_pkg_short_errors_supported=no
19631
if test $_pkg_short_errors_supported = yes; then
19632
AVAHI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "avahi-client >= 0.6 avahi-glib >= 0.6" 2>&1`
19634
AVAHI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "avahi-client >= 0.6 avahi-glib >= 0.6" 2>&1`
19636
# Put the nasty error message in config.log where it belongs
19637
echo "$AVAHI_PKG_ERRORS" >&5
19639
as_fn_error $? "Package requirements (avahi-client >= 0.6 avahi-glib >= 0.6) were not met:
19643
Consider adjusting the PKG_CONFIG_PATH environment variable if you
19644
installed software in a non-standard prefix.
19646
Alternatively, you may set the environment variables AVAHI_CFLAGS
19647
and AVAHI_LIBS to avoid the need to call pkg-config.
19648
See the pkg-config man page for more details." "$LINENO" 5
19649
elif test $pkg_failed = untried; then
19650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19651
$as_echo "no" >&6; }
19652
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19653
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19654
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19655
is in your PATH or set the PKG_CONFIG environment variable to the full
19656
path to pkg-config.
19658
Alternatively, you may set the environment variables AVAHI_CFLAGS
19659
and AVAHI_LIBS to avoid the need to call pkg-config.
19660
See the pkg-config man page for more details.
19662
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19663
See \`config.log' for more details" "$LINENO" 5; }
19665
AVAHI_CFLAGS=$pkg_cv_AVAHI_CFLAGS
19666
AVAHI_LIBS=$pkg_cv_AVAHI_LIBS
19667
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19668
$as_echo "yes" >&6; }
19675
$as_echo "#define HAVE_AVAHI 1" >>confdefs.h
19680
if test "x$found_avahi" = "xyes"; then
19682
HAVE_AVAHI_FALSE='#'
19684
HAVE_AVAHI_TRUE='#'
19690
GSTREAMER="disabled"
19692
# Check whether --enable-gstreamer was given.
19693
if test "${enable_gstreamer+set}" = set; then :
19694
enableval=$enable_gstreamer; if test "x$enableval" = "xyes"; then
19695
enable_gstreamer=yes
19700
if test "x$enable_gstreamer" = "xyes"; then
19701
found_gstreamer=yes
19704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5
19705
$as_echo_n "checking for GSTREAMER... " >&6; }
19707
if test -n "$GSTREAMER_CFLAGS"; then
19708
pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
19709
elif test -n "$PKG_CONFIG"; then
19710
if test -n "$PKG_CONFIG" && \
19711
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-plugins-base-0.10 >= 0.10.21.3 gstreamer-interfaces-0.10\""; } >&5
19712
($PKG_CONFIG --exists --print-errors "gstreamer-plugins-base-0.10 >= 0.10.21.3 gstreamer-interfaces-0.10") 2>&5
19714
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19715
test $ac_status = 0; }; then
19716
pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-plugins-base-0.10 >= 0.10.21.3 gstreamer-interfaces-0.10" 2>/dev/null`
19717
test "x$?" != "x0" && pkg_failed=yes
19724
if test -n "$GSTREAMER_LIBS"; then
19725
pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
19726
elif test -n "$PKG_CONFIG"; then
19727
if test -n "$PKG_CONFIG" && \
19728
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-plugins-base-0.10 >= 0.10.21.3 gstreamer-interfaces-0.10\""; } >&5
19729
($PKG_CONFIG --exists --print-errors "gstreamer-plugins-base-0.10 >= 0.10.21.3 gstreamer-interfaces-0.10") 2>&5
19731
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19732
test $ac_status = 0; }; then
19733
pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-plugins-base-0.10 >= 0.10.21.3 gstreamer-interfaces-0.10" 2>/dev/null`
19734
test "x$?" != "x0" && pkg_failed=yes
19744
if test $pkg_failed = yes; then
19745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19746
$as_echo "no" >&6; }
19748
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19749
_pkg_short_errors_supported=yes
19751
_pkg_short_errors_supported=no
19753
if test $_pkg_short_errors_supported = yes; then
19754
GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-plugins-base-0.10 >= 0.10.21.3 gstreamer-interfaces-0.10" 2>&1`
19756
GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-plugins-base-0.10 >= 0.10.21.3 gstreamer-interfaces-0.10" 2>&1`
19758
# Put the nasty error message in config.log where it belongs
19759
echo "$GSTREAMER_PKG_ERRORS" >&5
19761
as_fn_error $? "Package requirements (gstreamer-plugins-base-0.10 >= 0.10.21.3 gstreamer-interfaces-0.10) were not met:
19763
$GSTREAMER_PKG_ERRORS
19765
Consider adjusting the PKG_CONFIG_PATH environment variable if you
19766
installed software in a non-standard prefix.
19768
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
19769
and GSTREAMER_LIBS to avoid the need to call pkg-config.
19770
See the pkg-config man page for more details." "$LINENO" 5
19771
elif test $pkg_failed = untried; then
19772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19773
$as_echo "no" >&6; }
19774
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19775
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19776
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19777
is in your PATH or set the PKG_CONFIG environment variable to the full
19778
path to pkg-config.
19780
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
19781
and GSTREAMER_LIBS to avoid the need to call pkg-config.
19782
See the pkg-config man page for more details.
19784
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19785
See \`config.log' for more details" "$LINENO" 5; }
19787
GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
19788
GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
19789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19790
$as_echo "yes" >&6; }
19794
if test "x$found_gstreamer" = "xno"; then
19795
as_fn_error $? "Could not find GStreamer libraries" "$LINENO" 5
19797
GSTREAMER_LIBS="$GSTREAMER_LIBS -lgstapp-0.10"
19800
GSTREAMER="enabled"
19802
$as_echo "#define HAVE_GSTREAMER 1" >>confdefs.h
19806
if test "x$found_gstreamer" = "xyes"; then
19807
HAVE_GSTREAMER_TRUE=
19808
HAVE_GSTREAMER_FALSE='#'
19810
HAVE_GSTREAMER_TRUE='#'
19811
HAVE_GSTREAMER_FALSE=
19818
# Check whether --enable-kde was given.
19819
if test "${enable_kde+set}" = set; then :
19820
enableval=$enable_kde; if test "x$enableval" = "xyes"; then
19826
if test "x$enable_kde" = "xyes"; then
19830
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for KDE" >&5
19831
$as_echo_n "checking for KDE... " >&6; }
19833
if test -n "$KDE_CFLAGS"; then
19834
pkg_cv_KDE_CFLAGS="$KDE_CFLAGS"
19835
elif test -n "$PKG_CONFIG"; then
19836
if test -n "$PKG_CONFIG" && \
19837
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtCore\""; } >&5
19838
($PKG_CONFIG --exists --print-errors "QtCore") 2>&5
19840
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19841
test $ac_status = 0; }; then
19842
pkg_cv_KDE_CFLAGS=`$PKG_CONFIG --cflags "QtCore" 2>/dev/null`
19843
test "x$?" != "x0" && pkg_failed=yes
19850
if test -n "$KDE_LIBS"; then
19851
pkg_cv_KDE_LIBS="$KDE_LIBS"
19852
elif test -n "$PKG_CONFIG"; then
19853
if test -n "$PKG_CONFIG" && \
19854
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"QtCore\""; } >&5
19855
($PKG_CONFIG --exists --print-errors "QtCore") 2>&5
19857
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19858
test $ac_status = 0; }; then
19859
pkg_cv_KDE_LIBS=`$PKG_CONFIG --libs "QtCore" 2>/dev/null`
19860
test "x$?" != "x0" && pkg_failed=yes
19870
if test $pkg_failed = yes; then
19871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19872
$as_echo "no" >&6; }
19874
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19875
_pkg_short_errors_supported=yes
19877
_pkg_short_errors_supported=no
19879
if test $_pkg_short_errors_supported = yes; then
19880
KDE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "QtCore" 2>&1`
19882
KDE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "QtCore" 2>&1`
19884
# Put the nasty error message in config.log where it belongs
19885
echo "$KDE_PKG_ERRORS" >&5
19888
elif test $pkg_failed = untried; then
19889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19890
$as_echo "no" >&6; }
19893
KDE_CFLAGS=$pkg_cv_KDE_CFLAGS
19894
KDE_LIBS=$pkg_cv_KDE_LIBS
19895
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19896
$as_echo "yes" >&6; }
19900
CPPFLAGS_save="$CPPFLAGS"
19902
CPPFLAGS="$CPPFLAGS $KDE_CFLAGS"
19903
LIBS="$LIBS $KDE_LIBS"
19904
ac_fn_cxx_check_header_mongrel "$LINENO" "kapplication.h" "ac_cv_header_kapplication_h" "$ac_includes_default"
19905
if test "x$ac_cv_header_kapplication_h" = xyes; then :
19912
CPPFLAGS="$CPPFLAGS_save"
19914
if test "x$found_kde" = "xno"; then
19915
as_fn_error $? "Could not find KDE headers" "$LINENO" 5
19919
CPPFLAGS="$CPPFLAGS $KDE_CFLAGS"
19920
LIBS="$LIBS $KDE_LIBS"
19921
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ki18n in -lkdeui" >&5
19922
$as_echo_n "checking for ki18n in -lkdeui... " >&6; }
19923
if ${ac_cv_lib_kdeui_ki18n+:} false; then :
19924
$as_echo_n "(cached) " >&6
19926
ac_check_lib_save_LIBS=$LIBS
19927
LIBS="-lkdeui $LIBS"
19928
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19929
/* end confdefs.h. */
19931
/* Override any GCC internal prototype to avoid an error.
19932
Use char because int might match the return type of a GCC
19933
builtin and then its argument prototype would still apply. */
19946
if ac_fn_cxx_try_link "$LINENO"; then :
19947
ac_cv_lib_kdeui_ki18n=yes
19949
ac_cv_lib_kdeui_ki18n=no
19951
rm -f core conftest.err conftest.$ac_objext \
19952
conftest$ac_exeext conftest.$ac_ext
19953
LIBS=$ac_check_lib_save_LIBS
19955
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kdeui_ki18n" >&5
19956
$as_echo "$ac_cv_lib_kdeui_ki18n" >&6; }
19957
if test "x$ac_cv_lib_kdeui_ki18n" = xyes; then :
19961
CPPFLAGS="$CPPFLAGS_save"
19963
if test "x$found_kde" = "xno"; then
19964
as_fn_error $? "Could not find KDE libraries" "$LINENO" 5
19967
KDE_LIBS="$KDE_LIBS -lkdeui"
19973
$as_echo "#define HAVE_KDE 1" >>confdefs.h
19977
if test "x$found_kde" = "xyes"; then
19988
# Check whether --enable-kab was given.
19989
if test "${enable_kab+set}" = set; then :
19990
enableval=$enable_kab; if test "x$enableval" = "xyes"; then
19996
if test "x$enable_kab" = "xyes"; then
19998
if test "x$found_kde" != "xyes"; then
19999
as_fn_error $? "No kab without kde: --enable-kde" "$LINENO" 5
20002
KAB_CFLAGS="-I/usr/include/qt4"
20003
KAB_LIBS="-lQtCore -lkabc"
20004
CPPFLAGS_save="$CPPFLAGS"
20006
CPPFLAGS="$CPPFLAGS $KAB_CFLAGS"
20007
LIBS="$LIBS $KAB_LIBS"
20008
ac_fn_cxx_check_header_mongrel "$LINENO" "kabc/addressee.h" "ac_cv_header_kabc_addressee_h" "$ac_includes_default"
20009
if test "x$ac_cv_header_kabc_addressee_h" = xyes; then :
20016
CPPFLAGS="$CPPFLAGS_save"
20018
if test "x$found_kab" = "xno"; then
20019
as_fn_error $? "We need this header!" "$LINENO" 5
20025
$as_echo "#define HAVE_KAB 1" >>confdefs.h
20029
if test "x$found_kab" = "xyes"; then
20040
# Check whether --enable-xcap was given.
20041
if test "${enable_xcap+set}" = set; then :
20042
enableval=$enable_xcap; if test "x$enableval" = "xyes"; then
20048
if test "x$enable_xcap" = "xyes"; then
20051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
20052
$as_echo_n "checking for SOUP... " >&6; }
20054
if test -n "$SOUP_CFLAGS"; then
20055
pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
20056
elif test -n "$PKG_CONFIG"; then
20057
if test -n "$PKG_CONFIG" && \
20058
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
20059
($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
20061
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20062
test $ac_status = 0; }; then
20063
pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4" 2>/dev/null`
20064
test "x$?" != "x0" && pkg_failed=yes
20071
if test -n "$SOUP_LIBS"; then
20072
pkg_cv_SOUP_LIBS="$SOUP_LIBS"
20073
elif test -n "$PKG_CONFIG"; then
20074
if test -n "$PKG_CONFIG" && \
20075
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\""; } >&5
20076
($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
20078
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20079
test $ac_status = 0; }; then
20080
pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4" 2>/dev/null`
20081
test "x$?" != "x0" && pkg_failed=yes
20091
if test $pkg_failed = yes; then
20092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20093
$as_echo "no" >&6; }
20095
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20096
_pkg_short_errors_supported=yes
20098
_pkg_short_errors_supported=no
20100
if test $_pkg_short_errors_supported = yes; then
20101
SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4" 2>&1`
20103
SOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4" 2>&1`
20105
# Put the nasty error message in config.log where it belongs
20106
echo "$SOUP_PKG_ERRORS" >&5
20108
as_fn_error $? "Package requirements (libsoup-2.4) were not met:
20112
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20113
installed software in a non-standard prefix.
20115
Alternatively, you may set the environment variables SOUP_CFLAGS
20116
and SOUP_LIBS to avoid the need to call pkg-config.
20117
See the pkg-config man page for more details." "$LINENO" 5
20118
elif test $pkg_failed = untried; then
20119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20120
$as_echo "no" >&6; }
20121
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20122
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20123
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20124
is in your PATH or set the PKG_CONFIG environment variable to the full
20125
path to pkg-config.
20127
Alternatively, you may set the environment variables SOUP_CFLAGS
20128
and SOUP_LIBS to avoid the need to call pkg-config.
20129
See the pkg-config man page for more details.
20131
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20132
See \`config.log' for more details" "$LINENO" 5; }
20134
SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
20135
SOUP_LIBS=$pkg_cv_SOUP_LIBS
20136
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20137
$as_echo "yes" >&6; }
20145
$as_echo "#define HAVE_XCAP 1" >>confdefs.h
20149
if test "x$found_xcap" = "xyes"; then
20151
HAVE_XCAP_FALSE='#'
20158
LOUDMOUTH="disabled"
20160
# Check whether --enable-loudmouth was given.
20161
if test "${enable_loudmouth+set}" = set; then :
20162
enableval=$enable_loudmouth; if test "x$enableval" = "xyes"; then
20163
enable_loudmouth=yes
20168
if test "x$enable_loudmouth" = "xyes"; then
20171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LOUDMOUTH" >&5
20172
$as_echo_n "checking for LOUDMOUTH... " >&6; }
20174
if test -n "$LOUDMOUTH_CFLAGS"; then
20175
pkg_cv_LOUDMOUTH_CFLAGS="$LOUDMOUTH_CFLAGS"
20176
elif test -n "$PKG_CONFIG"; then
20177
if test -n "$PKG_CONFIG" && \
20178
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"loudmouth-1.0\""; } >&5
20179
($PKG_CONFIG --exists --print-errors "loudmouth-1.0") 2>&5
20181
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20182
test $ac_status = 0; }; then
20183
pkg_cv_LOUDMOUTH_CFLAGS=`$PKG_CONFIG --cflags "loudmouth-1.0" 2>/dev/null`
20184
test "x$?" != "x0" && pkg_failed=yes
20191
if test -n "$LOUDMOUTH_LIBS"; then
20192
pkg_cv_LOUDMOUTH_LIBS="$LOUDMOUTH_LIBS"
20193
elif test -n "$PKG_CONFIG"; then
20194
if test -n "$PKG_CONFIG" && \
20195
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"loudmouth-1.0\""; } >&5
20196
($PKG_CONFIG --exists --print-errors "loudmouth-1.0") 2>&5
20198
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20199
test $ac_status = 0; }; then
20200
pkg_cv_LOUDMOUTH_LIBS=`$PKG_CONFIG --libs "loudmouth-1.0" 2>/dev/null`
20201
test "x$?" != "x0" && pkg_failed=yes
20211
if test $pkg_failed = yes; then
20212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20213
$as_echo "no" >&6; }
20215
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20216
_pkg_short_errors_supported=yes
20218
_pkg_short_errors_supported=no
20220
if test $_pkg_short_errors_supported = yes; then
20221
LOUDMOUTH_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "loudmouth-1.0" 2>&1`
20223
LOUDMOUTH_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "loudmouth-1.0" 2>&1`
20225
# Put the nasty error message in config.log where it belongs
20226
echo "$LOUDMOUTH_PKG_ERRORS" >&5
20228
as_fn_error $? "Package requirements (loudmouth-1.0) were not met:
20230
$LOUDMOUTH_PKG_ERRORS
20232
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20233
installed software in a non-standard prefix.
20235
Alternatively, you may set the environment variables LOUDMOUTH_CFLAGS
20236
and LOUDMOUTH_LIBS to avoid the need to call pkg-config.
20237
See the pkg-config man page for more details." "$LINENO" 5
20238
elif test $pkg_failed = untried; then
20239
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20240
$as_echo "no" >&6; }
20241
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20242
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20243
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20244
is in your PATH or set the PKG_CONFIG environment variable to the full
20245
path to pkg-config.
20247
Alternatively, you may set the environment variables LOUDMOUTH_CFLAGS
20248
and LOUDMOUTH_LIBS to avoid the need to call pkg-config.
20249
See the pkg-config man page for more details.
20251
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20252
See \`config.log' for more details" "$LINENO" 5; }
20254
LOUDMOUTH_CFLAGS=$pkg_cv_LOUDMOUTH_CFLAGS
20255
LOUDMOUTH_LIBS=$pkg_cv_LOUDMOUTH_LIBS
20256
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20257
$as_echo "yes" >&6; }
20260
found_loudmouth=yes
20261
LOUDMOUTH="enabled"
20265
$as_echo "#define HAVE_LOUDMOUTH 1" >>confdefs.h
20269
if test "x$found_loudmouth" = "xyes"; then
20270
HAVE_LOUDMOUTH_TRUE=
20271
HAVE_LOUDMOUTH_FALSE='#'
20273
HAVE_LOUDMOUTH_TRUE='#'
20274
HAVE_LOUDMOUTH_FALSE=
20279
# GDU is disabled for Windows; help is generated separately manually in Makefile
20281
if test -z "$AM_DEFAULT_VERBOSITY"; then
20282
AM_DEFAULT_VERBOSITY=1
20286
gdu_cv_version_required=0.3.2
20288
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
20289
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
20290
if test -n "$PKG_CONFIG" && \
20291
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
20292
($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
20294
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20295
test $ac_status = 0; }; then
20296
gdu_cv_have_gdu=yes
20301
if test "$gdu_cv_have_gdu" = "yes"; then
20302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20303
$as_echo "yes" >&6; }
20306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20307
$as_echo "no" >&6; }
20313
# Check whether --with-help-dir was given.
20314
if test "${with_help_dir+set}" = set; then :
20315
withval=$with_help_dir;
20317
with_help_dir='${datadir}/gnome/help'
20320
HELP_DIR="$with_help_dir"
20324
# Check whether --with-omf-dir was given.
20325
if test "${with_omf_dir+set}" = set; then :
20326
withval=$with_omf_dir;
20328
with_omf_dir='${datadir}/omf'
20331
OMF_DIR="$with_omf_dir"
20335
# Check whether --with-help-formats was given.
20336
if test "${with_help_formats+set}" = set; then :
20337
withval=$with_help_formats;
20339
with_help_formats=''
20342
DOC_USER_FORMATS="$with_help_formats"
20345
# Check whether --enable-scrollkeeper was given.
20346
if test "${enable_scrollkeeper+set}" = set; then :
20347
enableval=$enable_scrollkeeper;
20349
enable_scrollkeeper=yes
20352
if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
20354
ENABLE_SK_FALSE='#'
20361
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
20364
if test "$gdu_cv_have_gdu" = "yes"; then
20365
HAVE_GNOME_DOC_UTILS_TRUE=
20366
HAVE_GNOME_DOC_UTILS_FALSE='#'
20368
HAVE_GNOME_DOC_UTILS_TRUE='#'
20369
HAVE_GNOME_DOC_UTILS_FALSE=
20374
if test "x${gm_platform}" != "xmingw" ; then
20376
# Check whether --enable-gdu was given.
20377
if test "${enable_gdu+set}" = set; then :
20378
enableval=$enable_gdu; if test "x$enableval" = "xyes"; then
20385
if test "x$enable_gdu" = "xyes"; then
20386
# Extract the first word of "scrollkeeper-config", so it can be a program name with args.
20387
set dummy scrollkeeper-config; ac_word=$2
20388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20389
$as_echo_n "checking for $ac_word... " >&6; }
20390
if ${ac_cv_path_SK_CONFIG+:} false; then :
20391
$as_echo_n "(cached) " >&6
20395
ac_cv_path_SK_CONFIG="$SK_CONFIG" # Let the user override the test with a path.
20398
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20399
for as_dir in $PATH
20402
test -z "$as_dir" && as_dir=.
20403
for ac_exec_ext in '' $ac_executable_extensions; do
20404
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20405
ac_cv_path_SK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20406
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20413
test -z "$ac_cv_path_SK_CONFIG" && ac_cv_path_SK_CONFIG="no"
20417
SK_CONFIG=$ac_cv_path_SK_CONFIG
20418
if test -n "$SK_CONFIG"; then
20419
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SK_CONFIG" >&5
20420
$as_echo "$SK_CONFIG" >&6; }
20422
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20423
$as_echo "no" >&6; }
20427
if test "x$SK_CONFIG" != "xno" -a "x$GDI" != "xno"; then
20430
$as_echo "#define HAVE_GNOME_DOC_UTILS 1" >>confdefs.h
20436
if test "x${enable_gdu}" = "xyes"; then
20437
HAVE_GNOME_DOC_UTILS_TRUE=
20438
HAVE_GNOME_DOC_UTILS_FALSE='#'
20440
HAVE_GNOME_DOC_UTILS_TRUE='#'
20441
HAVE_GNOME_DOC_UTILS_FALSE=
20448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTLIB" >&5
20449
$as_echo_n "checking for PTLIB... " >&6; }
20451
if test -n "$PTLIB_CFLAGS"; then
20452
pkg_cv_PTLIB_CFLAGS="$PTLIB_CFLAGS"
20453
elif test -n "$PKG_CONFIG"; then
20454
if test -n "$PKG_CONFIG" && \
20455
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ptlib >= \${PTLIB_REC_VERSION}\""; } >&5
20456
($PKG_CONFIG --exists --print-errors "ptlib >= ${PTLIB_REC_VERSION}") 2>&5
20458
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20459
test $ac_status = 0; }; then
20460
pkg_cv_PTLIB_CFLAGS=`$PKG_CONFIG --cflags "ptlib >= ${PTLIB_REC_VERSION}" 2>/dev/null`
20461
test "x$?" != "x0" && pkg_failed=yes
20468
if test -n "$PTLIB_LIBS"; then
20469
pkg_cv_PTLIB_LIBS="$PTLIB_LIBS"
20470
elif test -n "$PKG_CONFIG"; then
20471
if test -n "$PKG_CONFIG" && \
20472
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ptlib >= \${PTLIB_REC_VERSION}\""; } >&5
20473
($PKG_CONFIG --exists --print-errors "ptlib >= ${PTLIB_REC_VERSION}") 2>&5
20475
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20476
test $ac_status = 0; }; then
20477
pkg_cv_PTLIB_LIBS=`$PKG_CONFIG --libs "ptlib >= ${PTLIB_REC_VERSION}" 2>/dev/null`
20478
test "x$?" != "x0" && pkg_failed=yes
20488
if test $pkg_failed = yes; then
20489
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20490
$as_echo "no" >&6; }
20492
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20493
_pkg_short_errors_supported=yes
20495
_pkg_short_errors_supported=no
20497
if test $_pkg_short_errors_supported = yes; then
20498
PTLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ptlib >= ${PTLIB_REC_VERSION}" 2>&1`
20500
PTLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ptlib >= ${PTLIB_REC_VERSION}" 2>&1`
20502
# Put the nasty error message in config.log where it belongs
20503
echo "$PTLIB_PKG_ERRORS" >&5
20505
as_fn_error $? "Package requirements (ptlib >= ${PTLIB_REC_VERSION}) were not met:
20509
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20510
installed software in a non-standard prefix.
20512
Alternatively, you may set the environment variables PTLIB_CFLAGS
20513
and PTLIB_LIBS to avoid the need to call pkg-config.
20514
See the pkg-config man page for more details." "$LINENO" 5
20515
elif test $pkg_failed = untried; then
20516
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20517
$as_echo "no" >&6; }
20518
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20519
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20520
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20521
is in your PATH or set the PKG_CONFIG environment variable to the full
20522
path to pkg-config.
20524
Alternatively, you may set the environment variables PTLIB_CFLAGS
20525
and PTLIB_LIBS to avoid the need to call pkg-config.
20526
See the pkg-config man page for more details.
20528
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20529
See \`config.log' for more details" "$LINENO" 5; }
20531
PTLIB_CFLAGS=$pkg_cv_PTLIB_CFLAGS
20532
PTLIB_LIBS=$pkg_cv_PTLIB_LIBS
20533
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20534
$as_echo "yes" >&6; }
20539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OPAL" >&5
20540
$as_echo_n "checking for OPAL... " >&6; }
20542
if test -n "$OPAL_CFLAGS"; then
20543
pkg_cv_OPAL_CFLAGS="$OPAL_CFLAGS"
20544
elif test -n "$PKG_CONFIG"; then
20545
if test -n "$PKG_CONFIG" && \
20546
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opal >= \${OPAL_REC_VERSION}\""; } >&5
20547
($PKG_CONFIG --exists --print-errors "opal >= ${OPAL_REC_VERSION}") 2>&5
20549
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20550
test $ac_status = 0; }; then
20551
pkg_cv_OPAL_CFLAGS=`$PKG_CONFIG --cflags "opal >= ${OPAL_REC_VERSION}" 2>/dev/null`
20552
test "x$?" != "x0" && pkg_failed=yes
20559
if test -n "$OPAL_LIBS"; then
20560
pkg_cv_OPAL_LIBS="$OPAL_LIBS"
20561
elif test -n "$PKG_CONFIG"; then
20562
if test -n "$PKG_CONFIG" && \
20563
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"opal >= \${OPAL_REC_VERSION}\""; } >&5
20564
($PKG_CONFIG --exists --print-errors "opal >= ${OPAL_REC_VERSION}") 2>&5
20566
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20567
test $ac_status = 0; }; then
20568
pkg_cv_OPAL_LIBS=`$PKG_CONFIG --libs "opal >= ${OPAL_REC_VERSION}" 2>/dev/null`
20569
test "x$?" != "x0" && pkg_failed=yes
20579
if test $pkg_failed = yes; then
20580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20581
$as_echo "no" >&6; }
20583
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20584
_pkg_short_errors_supported=yes
20586
_pkg_short_errors_supported=no
20588
if test $_pkg_short_errors_supported = yes; then
20589
OPAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "opal >= ${OPAL_REC_VERSION}" 2>&1`
20591
OPAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "opal >= ${OPAL_REC_VERSION}" 2>&1`
20593
# Put the nasty error message in config.log where it belongs
20594
echo "$OPAL_PKG_ERRORS" >&5
20596
as_fn_error $? "Package requirements (opal >= ${OPAL_REC_VERSION}) were not met:
20600
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20601
installed software in a non-standard prefix.
20603
Alternatively, you may set the environment variables OPAL_CFLAGS
20604
and OPAL_LIBS to avoid the need to call pkg-config.
20605
See the pkg-config man page for more details." "$LINENO" 5
20606
elif test $pkg_failed = untried; then
20607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20608
$as_echo "no" >&6; }
20609
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20610
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20611
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
20612
is in your PATH or set the PKG_CONFIG environment variable to the full
20613
path to pkg-config.
20615
Alternatively, you may set the environment variables OPAL_CFLAGS
20616
and OPAL_LIBS to avoid the need to call pkg-config.
20617
See the pkg-config man page for more details.
20619
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20620
See \`config.log' for more details" "$LINENO" 5; }
20622
OPAL_CFLAGS=$pkg_cv_OPAL_CFLAGS
20623
OPAL_LIBS=$pkg_cv_OPAL_LIBS
20624
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20625
$as_echo "yes" >&6; }
20629
# expat is mandatory for presence (at least)
20630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTLIB support for expat" >&5
20631
$as_echo_n "checking for PTLIB support for expat... " >&6; }
20632
PTLIB_EXPAT=`$PKG_CONFIG ptlib --variable=PTLIB_EXPAT`
20633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTLIB_EXPAT" >&5
20634
$as_echo "$PTLIB_EXPAT" >&6; }
20635
if test "x$PTLIB_EXPAT" != "xyes"; then
20636
as_fn_error $? "You need ptlib expat support to compile ekiga" "$LINENO" 5
20640
# Check whether --enable-opal-debug was given.
20641
if test "${enable_opal_debug+set}" = set; then :
20642
enableval=$enable_opal_debug; if test "x$enableval" = "xyes"; then
20648
# Check whether --enable-static-libs was given.
20649
if test "${enable_static_libs+set}" = set; then :
20650
enableval=$enable_static_libs; if test "x$enableval" = "xyes"; then
20651
SUFFIX="${SUFFIX}_s"
20657
if test "x$SUFFIX" != x; then
20658
OPAL_LIBS=`$PKG_CONFIG opal --define-variable=suffix=$SUFFIX --libs`
20659
PTLIB_LIBS=`$PKG_CONFIG ptlib --define-variable=suffix=$SUFFIX --libs`
20667
# check for H.323 support
20668
# Check whether --enable-h323 was given.
20669
if test "${enable_h323+set}" = set; then :
20670
enableval=$enable_h323; enable_h323=$enableval
20673
if test x$enable_h323 != xno; then
20674
H323=`$PKG_CONFIG --variable=h323 opal`
20675
if test "x$H323" = "x1"; then
20678
H323=`$PKG_CONFIG --variable=OPAL_H323 opal`
20681
if test "x$H323" = "xyes"; then
20683
$as_echo "#define HAVE_H323 1" >>confdefs.h
20686
if test x$enable_h323 = xyes; then
20687
as_fn_error $? "To enable H.323 support you need to re-install opal with H.323 support" "$LINENO" 5
20694
if test "x${H323}" = "xyes"; then
20696
HAVE_H323_FALSE='#'
20703
# check for mandatory SIP support in opal
20704
SIP=`$PKG_CONFIG --variable=sip opal`
20705
if test "x$SIP" = "x1"; then
20708
SIP=`$PKG_CONFIG --variable=OPAL_SIP opal`
20711
if test "x$SIP" != "xyes"; then
20712
as_fn_error $? "You have to compile opal with SIP support. SIP support is mandatory." "$LINENO" 5
20717
# Check whether --enable-debug was given.
20718
if test "${enable_debug+set}" = set; then :
20719
enableval=$enable_debug; if test "x$enableval" = "xyes"; then
20720
CPPFLAGS="-DDEBUG $CPPFLAGS"
20725
if test "x$has_debug" = "xyes"; then
20735
GETTEXT_PACKAGE=ekiga
20736
# needed by gettext in po directory
20738
cat >>confdefs.h <<_ACEOF
20739
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
20743
for ac_header in locale.h
20745
ac_fn_cxx_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20746
if test "x$ac_cv_header_locale_h" = xyes; then :
20747
cat >>confdefs.h <<_ACEOF
20748
#define HAVE_LOCALE_H 1
20755
if test $ac_cv_header_locale_h = yes; then
20756
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20757
$as_echo_n "checking for LC_MESSAGES... " >&6; }
20758
if ${am_cv_val_LC_MESSAGES+:} false; then :
20759
$as_echo_n "(cached) " >&6
20761
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20762
/* end confdefs.h. */
20763
#include <locale.h>
20772
if ac_fn_cxx_try_link "$LINENO"; then :
20773
am_cv_val_LC_MESSAGES=yes
20775
am_cv_val_LC_MESSAGES=no
20777
rm -f core conftest.err conftest.$ac_objext \
20778
conftest$ac_exeext conftest.$ac_ext
20780
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
20781
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
20782
if test $am_cv_val_LC_MESSAGES = yes; then
20784
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20791
gt_cv_have_gettext=no
20797
ac_fn_cxx_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
20798
if test "x$ac_cv_header_libintl_h" = xyes; then :
20799
gt_cv_func_dgettext_libintl="no"
20800
libintl_extra_libs=""
20803
# First check in libc
20805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
20806
$as_echo_n "checking for ngettext in libc... " >&6; }
20807
if ${gt_cv_func_ngettext_libc+:} false; then :
20808
$as_echo_n "(cached) " >&6
20810
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20811
/* end confdefs.h. */
20813
#include <libintl.h>
20818
return !ngettext ("","", 1)
20823
if ac_fn_cxx_try_link "$LINENO"; then :
20824
gt_cv_func_ngettext_libc=yes
20826
gt_cv_func_ngettext_libc=no
20828
rm -f core conftest.err conftest.$ac_objext \
20829
conftest$ac_exeext conftest.$ac_ext
20832
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
20833
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
20835
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
20836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
20837
$as_echo_n "checking for dgettext in libc... " >&6; }
20838
if ${gt_cv_func_dgettext_libc+:} false; then :
20839
$as_echo_n "(cached) " >&6
20841
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20842
/* end confdefs.h. */
20844
#include <libintl.h>
20849
return !dgettext ("","")
20854
if ac_fn_cxx_try_link "$LINENO"; then :
20855
gt_cv_func_dgettext_libc=yes
20857
gt_cv_func_dgettext_libc=no
20859
rm -f core conftest.err conftest.$ac_objext \
20860
conftest$ac_exeext conftest.$ac_ext
20863
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
20864
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
20867
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
20868
for ac_func in bind_textdomain_codeset
20870
ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
20871
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
20872
cat >>confdefs.h <<_ACEOF
20873
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
20882
# If we don't have everything we want, check in libintl
20884
if test "$gt_cv_func_dgettext_libc" != "yes" \
20885
|| test "$gt_cv_func_ngettext_libc" != "yes" \
20886
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
20888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
20889
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
20890
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
20891
$as_echo_n "(cached) " >&6
20893
ac_check_lib_save_LIBS=$LIBS
20894
LIBS="-lintl $LIBS"
20895
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20896
/* end confdefs.h. */
20898
/* Override any GCC internal prototype to avoid an error.
20899
Use char because int might match the return type of a GCC
20900
builtin and then its argument prototype would still apply. */
20904
char bindtextdomain ();
20908
return bindtextdomain ();
20913
if ac_fn_cxx_try_link "$LINENO"; then :
20914
ac_cv_lib_intl_bindtextdomain=yes
20916
ac_cv_lib_intl_bindtextdomain=no
20918
rm -f core conftest.err conftest.$ac_objext \
20919
conftest$ac_exeext conftest.$ac_ext
20920
LIBS=$ac_check_lib_save_LIBS
20922
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
20923
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
20924
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
20925
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
20926
$as_echo_n "checking for ngettext in -lintl... " >&6; }
20927
if ${ac_cv_lib_intl_ngettext+:} false; then :
20928
$as_echo_n "(cached) " >&6
20930
ac_check_lib_save_LIBS=$LIBS
20931
LIBS="-lintl $LIBS"
20932
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20933
/* end confdefs.h. */
20935
/* Override any GCC internal prototype to avoid an error.
20936
Use char because int might match the return type of a GCC
20937
builtin and then its argument prototype would still apply. */
20945
return ngettext ();
20950
if ac_fn_cxx_try_link "$LINENO"; then :
20951
ac_cv_lib_intl_ngettext=yes
20953
ac_cv_lib_intl_ngettext=no
20955
rm -f core conftest.err conftest.$ac_objext \
20956
conftest$ac_exeext conftest.$ac_ext
20957
LIBS=$ac_check_lib_save_LIBS
20959
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
20960
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
20961
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
20962
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
20963
$as_echo_n "checking for dgettext in -lintl... " >&6; }
20964
if ${ac_cv_lib_intl_dgettext+:} false; then :
20965
$as_echo_n "(cached) " >&6
20967
ac_check_lib_save_LIBS=$LIBS
20968
LIBS="-lintl $LIBS"
20969
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20970
/* end confdefs.h. */
20972
/* Override any GCC internal prototype to avoid an error.
20973
Use char because int might match the return type of a GCC
20974
builtin and then its argument prototype would still apply. */
20982
return dgettext ();
20987
if ac_fn_cxx_try_link "$LINENO"; then :
20988
ac_cv_lib_intl_dgettext=yes
20990
ac_cv_lib_intl_dgettext=no
20992
rm -f core conftest.err conftest.$ac_objext \
20993
conftest$ac_exeext conftest.$ac_ext
20994
LIBS=$ac_check_lib_save_LIBS
20996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
20997
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
20998
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
20999
gt_cv_func_dgettext_libintl=yes
21007
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
21008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
21009
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
21010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
21012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
21013
$as_echo_n "checking for ngettext in -lintl... " >&6; }
21014
if ${ac_cv_lib_intl_ngettext+:} false; then :
21015
$as_echo_n "(cached) " >&6
21017
ac_check_lib_save_LIBS=$LIBS
21018
LIBS="-lintl -liconv $LIBS"
21019
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21020
/* end confdefs.h. */
21022
/* Override any GCC internal prototype to avoid an error.
21023
Use char because int might match the return type of a GCC
21024
builtin and then its argument prototype would still apply. */
21032
return ngettext ();
21037
if ac_fn_cxx_try_link "$LINENO"; then :
21038
ac_cv_lib_intl_ngettext=yes
21040
ac_cv_lib_intl_ngettext=no
21042
rm -f core conftest.err conftest.$ac_objext \
21043
conftest$ac_exeext conftest.$ac_ext
21044
LIBS=$ac_check_lib_save_LIBS
21046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
21047
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
21048
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
21049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
21050
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
21051
if ${ac_cv_lib_intl_dcgettext+:} false; then :
21052
$as_echo_n "(cached) " >&6
21054
ac_check_lib_save_LIBS=$LIBS
21055
LIBS="-lintl -liconv $LIBS"
21056
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21057
/* end confdefs.h. */
21059
/* Override any GCC internal prototype to avoid an error.
21060
Use char because int might match the return type of a GCC
21061
builtin and then its argument prototype would still apply. */
21069
return dcgettext ();
21074
if ac_fn_cxx_try_link "$LINENO"; then :
21075
ac_cv_lib_intl_dcgettext=yes
21077
ac_cv_lib_intl_dcgettext=no
21079
rm -f core conftest.err conftest.$ac_objext \
21080
conftest$ac_exeext conftest.$ac_ext
21081
LIBS=$ac_check_lib_save_LIBS
21083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
21084
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
21085
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
21086
gt_cv_func_dgettext_libintl=yes
21087
libintl_extra_libs=-liconv
21099
# If we found libintl, then check in it for bind_textdomain_codeset();
21100
# we'll prefer libc if neither have bind_textdomain_codeset(),
21101
# and both have dgettext and ngettext
21103
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
21104
glib_save_LIBS="$LIBS"
21105
LIBS="$LIBS -lintl $libintl_extra_libs"
21106
unset ac_cv_func_bind_textdomain_codeset
21107
for ac_func in bind_textdomain_codeset
21109
ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
21110
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
21111
cat >>confdefs.h <<_ACEOF
21112
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
21118
LIBS="$glib_save_LIBS"
21120
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
21121
gt_cv_func_dgettext_libc=no
21123
if test "$gt_cv_func_dgettext_libc" = "yes" \
21124
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
21125
gt_cv_func_dgettext_libintl=no
21131
if test "$gt_cv_func_dgettext_libc" = "yes" \
21132
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
21133
gt_cv_have_gettext=yes
21136
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
21137
INTLLIBS="-lintl $libintl_extra_libs"
21140
if test "$gt_cv_have_gettext" = "yes"; then
21142
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
21144
# Extract the first word of "msgfmt", so it can be a program name with args.
21145
set dummy msgfmt; ac_word=$2
21146
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21147
$as_echo_n "checking for $ac_word... " >&6; }
21148
if ${ac_cv_path_MSGFMT+:} false; then :
21149
$as_echo_n "(cached) " >&6
21153
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
21156
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
21157
for ac_dir in $PATH; do
21158
test -z "$ac_dir" && ac_dir=.
21159
if test -f $ac_dir/$ac_word; then
21160
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
21161
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
21167
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
21171
MSGFMT="$ac_cv_path_MSGFMT"
21172
if test "$MSGFMT" != "no"; then
21173
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
21174
$as_echo "$MSGFMT" >&6; }
21176
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21177
$as_echo "no" >&6; }
21179
if test "$MSGFMT" != "no"; then
21180
glib_save_LIBS="$LIBS"
21181
LIBS="$LIBS $INTLLIBS"
21182
for ac_func in dcgettext
21184
ac_fn_cxx_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
21185
if test "x$ac_cv_func_dcgettext" = xyes; then :
21186
cat >>confdefs.h <<_ACEOF
21187
#define HAVE_DCGETTEXT 1
21194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
21195
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
21196
cat >conftest.foo <<_ACEOF
21200
"Content-Type: text/plain; charset=UTF-8\n"
21201
"Project-Id-Version: test 1.0\n"
21202
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
21203
"Last-Translator: test <foo@bar.xx>\n"
21204
"Language-Team: C <LL@li.org>\n"
21205
"MIME-Version: 1.0\n"
21206
"Content-Transfer-Encoding: 8bit\n"
21209
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
21210
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
21212
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21213
test $ac_status = 0; }; then
21214
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21215
$as_echo "yes" >&6; }
21216
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21217
$as_echo "no" >&6; }
21218
echo "$as_me: failed input was:" >&5
21219
sed 's/^/| /' conftest.foo >&5
21222
# Extract the first word of "gmsgfmt", so it can be a program name with args.
21223
set dummy gmsgfmt; ac_word=$2
21224
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21225
$as_echo_n "checking for $ac_word... " >&6; }
21226
if ${ac_cv_path_GMSGFMT+:} false; then :
21227
$as_echo_n "(cached) " >&6
21231
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
21234
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21235
for as_dir in $PATH
21238
test -z "$as_dir" && as_dir=.
21239
for ac_exec_ext in '' $ac_executable_extensions; do
21240
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21241
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
21242
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21249
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
21253
GMSGFMT=$ac_cv_path_GMSGFMT
21254
if test -n "$GMSGFMT"; then
21255
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
21256
$as_echo "$GMSGFMT" >&6; }
21258
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21259
$as_echo "no" >&6; }
21263
# Extract the first word of "xgettext", so it can be a program name with args.
21264
set dummy xgettext; ac_word=$2
21265
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21266
$as_echo_n "checking for $ac_word... " >&6; }
21267
if ${ac_cv_path_XGETTEXT+:} false; then :
21268
$as_echo_n "(cached) " >&6
21270
case "$XGETTEXT" in
21272
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
21275
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
21276
for ac_dir in $PATH; do
21277
test -z "$ac_dir" && ac_dir=.
21278
if test -f $ac_dir/$ac_word; then
21279
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
21280
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
21286
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
21290
XGETTEXT="$ac_cv_path_XGETTEXT"
21291
if test "$XGETTEXT" != ":"; then
21292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
21293
$as_echo "$XGETTEXT" >&6; }
21295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21296
$as_echo "no" >&6; }
21299
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21300
/* end confdefs.h. */
21305
extern int _nl_msg_cat_cntr;
21306
return _nl_msg_cat_cntr
21311
if ac_fn_cxx_try_link "$LINENO"; then :
21317
ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
21318
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
21337
rm -f core conftest.err conftest.$ac_objext \
21338
conftest$ac_exeext conftest.$ac_ext
21339
LIBS="$glib_save_LIBS"
21342
gt_cv_have_gettext=no
21350
if test "$gt_cv_have_gettext" = "yes" ; then
21352
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
21356
if test "$XGETTEXT" != ":"; then
21357
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
21360
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
21361
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
21366
# We need to process the po/ directory.
21369
ac_config_commands="$ac_config_commands default-1"
21372
for lang in $ALL_LINGUAS; do
21373
GMOFILES="$GMOFILES $lang.gmo"
21374
POFILES="$POFILES $lang.po"
21389
if test "$gt_cv_have_gettext" = "yes"; then
21390
if test "x$ALL_LINGUAS" = "x"; then
21393
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
21394
$as_echo_n "checking for catalogs to be installed... " >&6; }
21396
for presentlang in $ALL_LINGUAS; do
21398
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
21399
desiredlanguages="$LINGUAS"
21401
desiredlanguages="$ALL_LINGUAS"
21403
for desiredlang in $desiredlanguages; do
21404
# Use the presentlang catalog if desiredlang is
21405
# a. equal to presentlang, or
21406
# b. a variant of presentlang (because in this case,
21407
# presentlang can be used as a fallback for messages
21408
# which are not translated in the desiredlang catalog).
21409
case "$desiredlang" in
21410
"$presentlang"*) useit=yes;;
21413
if test $useit = yes; then
21414
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
21417
LINGUAS=$NEW_LINGUAS
21418
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
21419
$as_echo "$LINGUAS" >&6; }
21422
if test -n "$LINGUAS"; then
21423
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
21428
if test -n "$ac_aux_dir"; then
21429
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
21431
if test -z "$MKINSTALLDIRS"; then
21432
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
21436
test -d po || mkdir po
21437
if test "x$srcdir" != "x."; then
21438
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
21439
posrcprefix="$srcdir/"
21441
posrcprefix="../$srcdir/"
21447
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
21448
< $srcdir/po/POTFILES.in > po/POTFILES
21452
gnomedatadir=`eval "echo ${datadir}"`
21453
gnomeconfdir=`eval "echo ${sysconfdir}"`
21457
# on Windows, data_dir is obtained at run-time, since it depends on
21458
# the installation directory, so do not define it (to avoids bugs)
21459
if test "x${gm_platform}" != "xmingw" ; then
21460
if test "x${prefix}" = "xNONE"; then
21462
cat >>confdefs.h <<_ACEOF
21463
#define DATA_DIR "${ac_default_prefix}/${DATADIRNAME}"
21468
cat >>confdefs.h <<_ACEOF
21469
#define DATA_DIR "${prefix}/${DATADIRNAME}"
21478
# libtool really installs in ../bin, so we have to add the dummy!
21479
# and we have to set PLUGIN_DIR to that directory
21480
bindir='${exec_prefix}'
21481
stacklibdir='${exec_prefix}'
21482
plugindir='${exec_prefix}/plugins'
21483
PLUGIN_DIR='plugins'
21486
versioned_libdir='${libdir}/ekiga/4.0.1'
21487
stacklibdir=${versioned_libdir}
21488
plugindir=${versioned_libdir}/plugins
21489
PLUGIN_DIR='${plugindir}'
21493
PLUGINS_LIBTOOL_FLAGS="-no-undefined -avoid-version -module"
21494
STACKLIB_LDFLAGS='-shared -module -no-undefined -avoid-version'
21503
ac_config_files="$ac_config_files Makefile Doxyfile src/ekiga-config-tool ekiga.schemas.in ekiga.desktop.in lib/Makefile po/Makefile.in man/Makefile src/Makefile pixmaps/Makefile sounds/Makefile help/Makefile plugins/Makefile plugins/avahi/Makefile plugins/evolution/Makefile plugins/gstreamer/Makefile plugins/kab/Makefile plugins/kde/Makefile plugins/ldap/Makefile plugins/libnotify/Makefile plugins/loudmouth/Makefile plugins/resource-list/Makefile plugins/xcap/Makefile"
21505
cat >confcache <<\_ACEOF
21506
# This file is a shell script that caches the results of configure
21507
# tests run on this system so they can be shared between configure
21508
# scripts and configure runs, see configure's option --config-cache.
21509
# It is not useful on other systems. If it contains results you don't
21510
# want to keep, you may remove or edit it.
21512
# config.status only pays attention to the cache file if you give it
21513
# the --recheck option to rerun configure.
21515
# `ac_cv_env_foo' variables (set or unset) will be overridden when
21516
# loading this file, other *unset* `ac_cv_foo' will be assigned the
21517
# following values.
21521
# The following way of writing the cache mishandles newlines in values,
21522
# but we know of no workaround that is simple, portable, and efficient.
21523
# So, we kill variables containing newlines.
21524
# Ultrix sh set writes to stderr and can't be redirected directly,
21525
# and sets the high bit in the cache file unless we assign to the vars.
21527
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21528
eval ac_val=\$$ac_var
21532
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21533
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21536
_ | IFS | as_nl) ;; #(
21537
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21538
*) { eval $ac_var=; unset $ac_var;} ;;
21544
case $as_nl`(ac_space=' '; set) 2>&1` in #(
21545
*${as_nl}ac_space=\ *)
21546
# `set' does not quote correctly, so add quotes: double-quote
21547
# substitution turns \\\\ into \\, and sed turns \\ into \.
21550
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21553
# `set' quotes correctly as required by POSIX, so do not add quotes.
21554
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21563
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21565
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21567
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21568
if test -w "$cache_file"; then
21569
if test "x$cache_file" != "x/dev/null"; then
21570
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21571
$as_echo "$as_me: updating cache $cache_file" >&6;}
21572
if test ! -f "$cache_file" || test -h "$cache_file"; then
21573
cat confcache >"$cache_file"
21575
case $cache_file in #(
21577
mv -f confcache "$cache_file"$$ &&
21578
mv -f "$cache_file"$$ "$cache_file" ;; #(
21580
mv -f confcache "$cache_file" ;;
21585
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21586
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21591
test "x$prefix" = xNONE && prefix=$ac_default_prefix
21592
# Let make expand exec_prefix.
21593
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21595
DEFS=-DHAVE_CONFIG_H
21600
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21601
# 1. Remove the extension, and $U if already installed.
21602
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21603
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21604
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21605
# will be set to the directory where LIBOBJS objects are built.
21606
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21607
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21609
LIBOBJS=$ac_libobjs
21611
LTLIBOBJS=$ac_ltlibobjs
21614
if test -n "$EXEEXT"; then
21616
am__EXEEXT_FALSE='#'
21618
am__EXEEXT_TRUE='#'
21622
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21623
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
21624
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21626
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21627
as_fn_error $? "conditional \"AMDEP\" was never defined.
21628
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21630
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21631
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
21632
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21634
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21635
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
21636
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21638
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
21639
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
21640
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21642
if test -z "${WIN32_TRUE}" && test -z "${WIN32_FALSE}"; then
21643
as_fn_error $? "conditional \"WIN32\" was never defined.
21644
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21648
ac_config_commands="$ac_config_commands po/stamp-it"
21651
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
21652
as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
21653
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21655
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
21656
as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
21657
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21659
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
21660
as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
21661
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21663
if test -z "${HAVE_GCONF_TRUE}" && test -z "${HAVE_GCONF_FALSE}"; then
21664
as_fn_error $? "conditional \"HAVE_GCONF\" was never defined.
21665
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21667
if test -z "${HAVE_EDS_TRUE}" && test -z "${HAVE_EDS_FALSE}"; then
21668
as_fn_error $? "conditional \"HAVE_EDS\" was never defined.
21669
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21671
if test -z "${HAVE_NOTIFY_TRUE}" && test -z "${HAVE_NOTIFY_FALSE}"; then
21672
as_fn_error $? "conditional \"HAVE_NOTIFY\" was never defined.
21673
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21675
if test -z "${HAVE_LDAP_TRUE}" && test -z "${HAVE_LDAP_FALSE}"; then
21676
as_fn_error $? "conditional \"HAVE_LDAP\" was never defined.
21677
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21679
if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
21680
as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
21681
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21683
if test -z "${USE_MMX_TRUE}" && test -z "${USE_MMX_FALSE}"; then
21684
as_fn_error $? "conditional \"USE_MMX\" was never defined.
21685
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21687
if test -z "${HAVE_SHM_TRUE}" && test -z "${HAVE_SHM_FALSE}"; then
21688
as_fn_error $? "conditional \"HAVE_SHM\" was never defined.
21689
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21691
if test -z "${HAVE_XV_TRUE}" && test -z "${HAVE_XV_FALSE}"; then
21692
as_fn_error $? "conditional \"HAVE_XV\" was never defined.
21693
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21695
if test -z "${HAVE_DX_TRUE}" && test -z "${HAVE_DX_FALSE}"; then
21696
as_fn_error $? "conditional \"HAVE_DX\" was never defined.
21697
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21699
if test -z "${HAVE_DBUS_TRUE}" && test -z "${HAVE_DBUS_FALSE}"; then
21700
as_fn_error $? "conditional \"HAVE_DBUS\" was never defined.
21701
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21703
if test -z "${INSTALL_DBUS_SERVICE_TRUE}" && test -z "${INSTALL_DBUS_SERVICE_FALSE}"; then
21704
as_fn_error $? "conditional \"INSTALL_DBUS_SERVICE\" was never defined.
21705
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21707
if test -z "${HAVE_V4L_TRUE}" && test -z "${HAVE_V4L_FALSE}"; then
21708
as_fn_error $? "conditional \"HAVE_V4L\" was never defined.
21709
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21711
if test -z "${HAVE_AVAHI_TRUE}" && test -z "${HAVE_AVAHI_FALSE}"; then
21712
as_fn_error $? "conditional \"HAVE_AVAHI\" was never defined.
21713
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21715
if test -z "${HAVE_GSTREAMER_TRUE}" && test -z "${HAVE_GSTREAMER_FALSE}"; then
21716
as_fn_error $? "conditional \"HAVE_GSTREAMER\" was never defined.
21717
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21719
if test -z "${HAVE_KDE_TRUE}" && test -z "${HAVE_KDE_FALSE}"; then
21720
as_fn_error $? "conditional \"HAVE_KDE\" was never defined.
21721
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21723
if test -z "${HAVE_KAB_TRUE}" && test -z "${HAVE_KAB_FALSE}"; then
21724
as_fn_error $? "conditional \"HAVE_KAB\" was never defined.
21725
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21727
if test -z "${HAVE_XCAP_TRUE}" && test -z "${HAVE_XCAP_FALSE}"; then
21728
as_fn_error $? "conditional \"HAVE_XCAP\" was never defined.
21729
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21731
if test -z "${HAVE_LOUDMOUTH_TRUE}" && test -z "${HAVE_LOUDMOUTH_FALSE}"; then
21732
as_fn_error $? "conditional \"HAVE_LOUDMOUTH\" was never defined.
21733
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21735
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
21736
as_fn_error $? "conditional \"ENABLE_SK\" was never defined.
21737
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21739
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
21740
as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
21741
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21743
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
21744
as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
21745
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21747
if test -z "${HAVE_H323_TRUE}" && test -z "${HAVE_H323_FALSE}"; then
21748
as_fn_error $? "conditional \"HAVE_H323\" was never defined.
21749
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21751
if test -z "${DEBUG_TRUE}" && test -z "${DEBUG_FALSE}"; then
21752
as_fn_error $? "conditional \"DEBUG\" was never defined.
21753
Usually this means the macro was only invoked conditionally." "$LINENO" 5
21756
: "${CONFIG_STATUS=./config.status}"
21758
ac_clean_files_save=$ac_clean_files
21759
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21760
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21761
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21763
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21765
# Generated by $as_me.
21766
# Run this file to recreate the current configuration.
21767
# Compiler output produced by configure, useful for debugging
21768
# configure, is in config.log if it exists.
21771
ac_cs_recheck=false
21774
SHELL=\${CONFIG_SHELL-$SHELL}
21777
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21778
## -------------------- ##
21779
## M4sh Initialization. ##
21780
## -------------------- ##
21782
# Be more Bourne compatible
21783
DUALCASE=1; export DUALCASE # for MKS sh
21784
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21787
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21788
# is contrary to our usage. Disable this feature.
21789
alias -g '${1+"$@"}'='"$@"'
21790
setopt NO_GLOB_SUBST
21792
case `(set -o) 2>/dev/null` in #(
21804
# Printing a long string crashes Solaris 7 /usr/bin/printf.
21805
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21806
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21807
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21808
# Prefer a ksh shell builtin over an external printf program on Solaris,
21809
# but without wasting forks for bash or zsh.
21810
if test -z "$BASH_VERSION$ZSH_VERSION" \
21811
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21812
as_echo='print -r --'
21813
as_echo_n='print -rn --'
21814
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21815
as_echo='printf %s\n'
21816
as_echo_n='printf %s'
21818
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21819
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21820
as_echo_n='/usr/ucb/echo -n'
21822
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21823
as_echo_n_body='eval
21827
expr "X$arg" : "X\\(.*\\)$as_nl";
21828
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21830
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21832
export as_echo_n_body
21833
as_echo_n='sh -c $as_echo_n_body as_echo'
21835
export as_echo_body
21836
as_echo='sh -c $as_echo_body as_echo'
21839
# The user is always right.
21840
if test "${PATH_SEPARATOR+set}" != set; then
21842
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21843
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21850
# We need space, tab and new line, in precisely that order. Quoting is
21851
# there to prevent editors from complaining about space-tab.
21852
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
21853
# splitting by setting IFS to empty value.)
21856
# Find who we are. Look in the path if we contain no directory separator.
21859
*[\\/]* ) as_myself=$0 ;;
21860
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21861
for as_dir in $PATH
21864
test -z "$as_dir" && as_dir=.
21865
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21871
# We did not find ourselves, most probably we were run as `sh COMMAND'
21872
# in which case we are not to be found in the path.
21873
if test "x$as_myself" = x; then
21876
if test ! -f "$as_myself"; then
21877
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21881
# Unset variables that we do not need and which cause bugs (e.g. in
21882
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21883
# suppresses any "Segmentation fault" message there. '((' could
21884
# trigger a bug in pdksh 5.2.14.
21885
for as_var in BASH_ENV ENV MAIL MAILPATH
21886
do eval test x\${$as_var+set} = xset \
21887
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21900
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21903
# as_fn_error STATUS ERROR [LINENO LOG_FD]
21904
# ----------------------------------------
21905
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21906
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21907
# script with STATUS, using 1 if that was 0.
21910
as_status=$1; test $as_status -eq 0 && as_status=1
21912
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21913
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21915
$as_echo "$as_me: error: $2" >&2
21916
as_fn_exit $as_status
21920
# as_fn_set_status STATUS
21921
# -----------------------
21922
# Set $? to STATUS, without forking.
21923
as_fn_set_status ()
21926
} # as_fn_set_status
21928
# as_fn_exit STATUS
21929
# -----------------
21930
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21934
as_fn_set_status $1
21940
# Portably unset VAR.
21943
{ eval $1=; unset $1;}
21945
as_unset=as_fn_unset
21946
# as_fn_append VAR VALUE
21947
# ----------------------
21948
# Append the text in VALUE to the end of the definition contained in VAR. Take
21949
# advantage of any shell optimizations that allow amortized linear growth over
21950
# repeated appends, instead of the typical quadratic growth present in naive
21952
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21953
eval 'as_fn_append ()
21964
# as_fn_arith ARG...
21965
# ------------------
21966
# Perform arithmetic evaluation on the ARGs, and store the result in the
21967
# global $as_val. Take advantage of shells that can avoid forks. The arguments
21968
# must be portable across $(()) and expr.
21969
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21970
eval 'as_fn_arith ()
21977
as_val=`expr "$@" || test $? -eq 1`
21982
if expr a : '\(a\)' >/dev/null 2>&1 &&
21983
test "X`expr 00001 : '.*\(...\)'`" = X001; then
21989
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21990
as_basename=basename
21995
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22001
as_me=`$as_basename -- "$0" ||
22002
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22003
X"$0" : 'X\(//\)$' \| \
22004
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22006
sed '/^.*\/\([^/][^/]*\)\/*$/{
22020
# Avoid depending upon Character Ranges.
22021
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22022
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22023
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22024
as_cr_digits='0123456789'
22025
as_cr_alnum=$as_cr_Letters$as_cr_digits
22027
ECHO_C= ECHO_N= ECHO_T=
22028
case `echo -n x` in #(((((
22030
case `echo 'xy\c'` in
22031
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
22033
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22040
rm -f conf$$ conf$$.exe conf$$.file
22041
if test -d conf$$.dir; then
22042
rm -f conf$$.dir/conf$$.file
22045
mkdir conf$$.dir 2>/dev/null
22047
if (echo >conf$$.file) 2>/dev/null; then
22048
if ln -s conf$$.file conf$$ 2>/dev/null; then
22050
# ... but there are two gotchas:
22051
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22052
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22053
# In both cases, we have to default to `cp -pR'.
22054
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22056
elif ln conf$$.file conf$$ 2>/dev/null; then
22064
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22065
rmdir conf$$.dir 2>/dev/null
22070
# Create "$as_dir" as a directory, including parents if necessary.
22075
-*) as_dir=./$as_dir;;
22077
test -d "$as_dir" || eval $as_mkdir_p || {
22081
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22082
*) as_qdir=$as_dir;;
22084
as_dirs="'$as_qdir' $as_dirs"
22085
as_dir=`$as_dirname -- "$as_dir" ||
22086
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22087
X"$as_dir" : 'X\(//\)[^/]' \| \
22088
X"$as_dir" : 'X\(//\)$' \| \
22089
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22090
$as_echo X"$as_dir" |
22091
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22095
/^X\(\/\/\)[^/].*/{
22108
test -d "$as_dir" && break
22110
test -z "$as_dirs" || eval "mkdir $as_dirs"
22111
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22115
if mkdir -p . 2>/dev/null; then
22116
as_mkdir_p='mkdir -p "$as_dir"'
22118
test -d ./-p && rmdir ./-p
22123
# as_fn_executable_p FILE
22124
# -----------------------
22125
# Test if FILE is an executable regular file.
22126
as_fn_executable_p ()
22128
test -f "$1" && test -x "$1"
22129
} # as_fn_executable_p
22130
as_test_x='test -x'
22131
as_executable_p=as_fn_executable_p
22133
# Sed expression to map a string onto a valid CPP name.
22134
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22136
# Sed expression to map a string onto a valid variable name.
22137
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22141
## ----------------------------------- ##
22142
## Main body of $CONFIG_STATUS script. ##
22143
## ----------------------------------- ##
22145
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22147
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22148
# Save the log message, to keep $0 and so on meaningful, and to
22149
# report actual input values of CONFIG_FILES etc. instead of their
22150
# values after options handling.
22152
This file was extended by ekiga $as_me 4.0.1, which was
22153
generated by GNU Autoconf 2.69. Invocation command line was
22155
CONFIG_FILES = $CONFIG_FILES
22156
CONFIG_HEADERS = $CONFIG_HEADERS
22157
CONFIG_LINKS = $CONFIG_LINKS
22158
CONFIG_COMMANDS = $CONFIG_COMMANDS
22161
on `(hostname || uname -n) 2>/dev/null | sed 1q`
22166
case $ac_config_files in *"
22167
"*) set x $ac_config_files; shift; ac_config_files=$*;;
22170
case $ac_config_headers in *"
22171
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22175
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22176
# Files that config.status was made for.
22177
config_files="$ac_config_files"
22178
config_headers="$ac_config_headers"
22179
config_commands="$ac_config_commands"
22183
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22185
\`$as_me' instantiates files and other configuration actions
22186
from templates according to the current configuration. Unless the files
22187
and actions are specified as TAGs, all are instantiated by default.
22189
Usage: $0 [OPTION]... [TAG]...
22191
-h, --help print this help, then exit
22192
-V, --version print version number and configuration settings, then exit
22193
--config print configuration, then exit
22194
-q, --quiet, --silent
22195
do not print progress messages
22196
-d, --debug don't remove temporary files
22197
--recheck update $as_me by reconfiguring in the same conditions
22198
--file=FILE[:TEMPLATE]
22199
instantiate the configuration file FILE
22200
--header=FILE[:TEMPLATE]
22201
instantiate the configuration header FILE
22203
Configuration files:
22206
Configuration headers:
22209
Configuration commands:
22212
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=ekiga>."
22215
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22216
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22218
ekiga config.status 4.0.1
22219
configured by $0, generated by GNU Autoconf 2.69,
22220
with options \\"\$ac_cs_config\\"
22222
Copyright (C) 2012 Free Software Foundation, Inc.
22223
This config.status script is free software; the Free Software Foundation
22224
gives unlimited permission to copy, distribute and modify it."
22231
test -n "\$AWK" || AWK=awk
22234
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22235
# The default lists apply if the user does not specify any file.
22241
ac_option=`expr "X$1" : 'X\([^=]*\)='`
22242
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22246
ac_option=`expr "X$1" : 'X\([^=]*\)='`
22258
# Handling of the options.
22259
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22261
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22262
$as_echo "$ac_cs_version"; exit ;;
22263
--config | --confi | --conf | --con | --co | --c )
22264
$as_echo "$ac_cs_config"; exit ;;
22265
--debug | --debu | --deb | --de | --d | -d )
22267
--file | --fil | --fi | --f )
22270
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22271
'') as_fn_error $? "missing file argument" ;;
22273
as_fn_append CONFIG_FILES " '$ac_optarg'"
22274
ac_need_defaults=false;;
22275
--header | --heade | --head | --hea )
22278
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22280
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22281
ac_need_defaults=false;;
22283
# Conflict between --help and --header
22284
as_fn_error $? "ambiguous option: \`$1'
22285
Try \`$0 --help' for more information.";;
22286
--help | --hel | -h )
22287
$as_echo "$ac_cs_usage"; exit ;;
22288
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
22289
| -silent | --silent | --silen | --sile | --sil | --si | --s)
22292
# This is an error.
22293
-*) as_fn_error $? "unrecognized option: \`$1'
22294
Try \`$0 --help' for more information." ;;
22296
*) as_fn_append ac_config_targets " $1"
22297
ac_need_defaults=false ;;
22303
ac_configure_extra_args=
22305
if $ac_cs_silent; then
22307
ac_configure_extra_args="$ac_configure_extra_args --silent"
22311
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22312
if \$ac_cs_recheck; then
22313
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22315
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22316
CONFIG_SHELL='$SHELL'
22317
export CONFIG_SHELL
22322
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22326
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22327
## Running $as_me. ##
22333
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22337
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22340
# The HP-UX ksh and POSIX shell print the target directory to stdout
22341
# if CDPATH is set.
22342
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22344
sed_quote_subst='$sed_quote_subst'
22345
double_quote_subst='$double_quote_subst'
22346
delay_variable_subst='$delay_variable_subst'
22347
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22348
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22349
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22350
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22351
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22352
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22353
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22354
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22355
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22356
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22357
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22358
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22359
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22360
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22361
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22362
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22363
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22364
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22365
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22366
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22367
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22368
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22369
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22370
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22371
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22372
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22373
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22374
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22375
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22376
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22377
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22378
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22379
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22380
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22381
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22382
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22383
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22384
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22385
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22386
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22387
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22388
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22389
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22390
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22391
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22392
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22393
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22394
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22395
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22396
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22397
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22398
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22399
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22400
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22401
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22402
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22403
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"`'
22404
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22405
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22406
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22407
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22408
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22409
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22410
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22411
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22412
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22413
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22414
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22415
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22416
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22417
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22418
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22419
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22420
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22421
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22422
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22423
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22424
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22425
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22426
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22427
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22428
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22429
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22430
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22431
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22432
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22433
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22434
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22435
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22436
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22437
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22438
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22439
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22440
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22441
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22442
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22443
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22444
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22445
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22446
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22447
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22448
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22449
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22450
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22451
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22452
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22453
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22454
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22455
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22456
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22457
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22458
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22459
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22460
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22461
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22462
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22463
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22464
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22465
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22466
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22467
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22468
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22469
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22470
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
22471
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22472
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22473
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22474
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22475
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22476
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22477
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
22478
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
22479
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
22480
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
22481
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
22482
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
22483
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
22484
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
22485
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22486
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22487
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
22488
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
22489
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
22490
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
22491
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
22492
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
22493
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
22494
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
22495
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
22496
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22497
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22498
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
22499
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22500
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22501
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22502
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22503
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22504
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22505
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
22506
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22507
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
22508
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
22509
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
22510
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
22511
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
22512
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
22513
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
22514
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
22515
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
22516
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
22517
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
22518
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22519
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22520
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
22521
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22522
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
22523
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
22524
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
22525
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
22526
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22527
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
22528
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
22529
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
22530
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
22533
LTCFLAGS='$LTCFLAGS'
22534
compiler='$compiler_DEFAULT'
22536
# A function that is used when there is no print builtin or printf.
22537
func_fallback_echo ()
22539
eval 'cat <<_LTECHO_EOF
22544
# Quote evaled strings.
22559
deplibs_check_method \
22564
sharedlib_from_linklib_cmd \
22567
archiver_list_spec \
22573
lt_cv_sys_global_symbol_pipe \
22574
lt_cv_sys_global_symbol_to_cdecl \
22575
lt_cv_sys_global_symbol_to_c_name_address \
22576
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22577
nm_file_list_spec \
22578
lt_prog_compiler_no_builtin_flag \
22579
lt_prog_compiler_pic \
22580
lt_prog_compiler_wl \
22581
lt_prog_compiler_static \
22582
lt_cv_prog_compiler_c_o \
22591
export_dynamic_flag_spec \
22592
whole_archive_flag_spec \
22593
compiler_needs_object \
22595
allow_undefined_flag \
22596
no_undefined_flag \
22597
hardcode_libdir_flag_spec \
22598
hardcode_libdir_separator \
22602
variables_saved_for_relink \
22604
library_names_spec \
22606
install_override_mode \
22610
compiler_lib_search_dirs \
22615
compiler_lib_search_path \
22619
lt_prog_compiler_no_builtin_flag_CXX \
22620
lt_prog_compiler_pic_CXX \
22621
lt_prog_compiler_wl_CXX \
22622
lt_prog_compiler_static_CXX \
22623
lt_cv_prog_compiler_c_o_CXX \
22624
export_dynamic_flag_spec_CXX \
22625
whole_archive_flag_spec_CXX \
22626
compiler_needs_object_CXX \
22628
allow_undefined_flag_CXX \
22629
no_undefined_flag_CXX \
22630
hardcode_libdir_flag_spec_CXX \
22631
hardcode_libdir_separator_CXX \
22632
exclude_expsyms_CXX \
22633
include_expsyms_CXX \
22634
file_list_spec_CXX \
22635
compiler_lib_search_dirs_CXX \
22636
predep_objects_CXX \
22637
postdep_objects_CXX \
22640
compiler_lib_search_path_CXX; do
22641
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22642
*[\\\\\\\`\\"\\\$]*)
22643
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
22646
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22651
# Double-quote double-evaled strings.
22652
for var in reload_cmds \
22653
old_postinstall_cmds \
22654
old_postuninstall_cmds \
22656
extract_expsyms_cmds \
22657
old_archive_from_new_cmds \
22658
old_archive_from_expsyms_cmds \
22660
archive_expsym_cmds \
22662
module_expsym_cmds \
22663
export_symbols_cmds \
22667
postuninstall_cmds \
22669
sys_lib_search_path_spec \
22670
sys_lib_dlsearch_path_spec \
22672
old_archive_cmds_CXX \
22673
old_archive_from_new_cmds_CXX \
22674
old_archive_from_expsyms_cmds_CXX \
22676
archive_expsym_cmds_CXX \
22678
module_expsym_cmds_CXX \
22679
export_symbols_cmds_CXX \
22681
postlink_cmds_CXX; do
22682
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22683
*[\\\\\\\`\\"\\\$]*)
22684
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
22687
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22692
ac_aux_dir='$ac_aux_dir'
22693
xsi_shell='$xsi_shell'
22694
lt_shell_append='$lt_shell_append'
22696
# See if we are running on zsh, and set the options which allow our
22697
# commands through without removal of \ escapes INIT.
22698
if test -n "\${ZSH_VERSION+set}" ; then
22699
setopt NO_GLOB_SUBST
22705
TIMESTAMP='$TIMESTAMP'
22717
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22719
# Handling of arguments.
22720
for ac_config_target in $ac_config_targets
22722
case $ac_config_target in
22723
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
22724
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22725
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
22726
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
22727
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22728
"Doxyfile") CONFIG_FILES="$CONFIG_FILES Doxyfile" ;;
22729
"src/ekiga-config-tool") CONFIG_FILES="$CONFIG_FILES src/ekiga-config-tool" ;;
22730
"ekiga.schemas.in") CONFIG_FILES="$CONFIG_FILES ekiga.schemas.in" ;;
22731
"ekiga.desktop.in") CONFIG_FILES="$CONFIG_FILES ekiga.desktop.in" ;;
22732
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
22733
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
22734
"man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
22735
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
22736
"pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
22737
"sounds/Makefile") CONFIG_FILES="$CONFIG_FILES sounds/Makefile" ;;
22738
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
22739
"plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
22740
"plugins/avahi/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/avahi/Makefile" ;;
22741
"plugins/evolution/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/evolution/Makefile" ;;
22742
"plugins/gstreamer/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/gstreamer/Makefile" ;;
22743
"plugins/kab/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/kab/Makefile" ;;
22744
"plugins/kde/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/kde/Makefile" ;;
22745
"plugins/ldap/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/ldap/Makefile" ;;
22746
"plugins/libnotify/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/libnotify/Makefile" ;;
22747
"plugins/loudmouth/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/loudmouth/Makefile" ;;
22748
"plugins/resource-list/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/resource-list/Makefile" ;;
22749
"plugins/xcap/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/xcap/Makefile" ;;
22750
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
22752
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22757
# If the user did not use the arguments to specify the items to instantiate,
22758
# then the envvar interface is used. Set only those that are not.
22759
# We use the long form for the default assignment because of an extremely
22760
# bizarre bug on SunOS 4.1.3.
22761
if $ac_need_defaults; then
22762
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22763
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22764
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22767
# Have a temporary directory for convenience. Make it in the build tree
22768
# simply because there is no reason against having it here, and in addition,
22769
# creating and moving files from /tmp can sometimes cause problems.
22770
# Hook for its removal unless debugging.
22771
# Note that there is a small window in which the directory will not be cleaned:
22772
# after its creation but before its name has been assigned to `$tmp'.
22776
trap 'exit_status=$?
22777
: "${ac_tmp:=$tmp}"
22778
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22780
trap 'as_fn_exit 1' 1 2 13 15
22782
# Create a (secure) tmp directory for tmp files.
22785
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22789
tmp=./conf$$-$RANDOM
22790
(umask 077 && mkdir "$tmp")
22791
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22794
# Set up the scripts for CONFIG_FILES section.
22795
# No need to generate them if there are no CONFIG_FILES.
22796
# This happens for instance with `./config.status config.h'.
22797
if test -n "$CONFIG_FILES"; then
22800
ac_cr=`echo X | tr X '\015'`
22801
# On cygwin, bash can eat \r inside `` if the user requested igncr.
22802
# But we know of no other shell where ac_cr would be empty at this
22803
# point, so we can use a bashism as a fallback.
22804
if test "x$ac_cr" = x; then
22805
eval ac_cr=\$\'\\r\'
22807
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22808
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22811
ac_cs_awk_cr=$ac_cr
22814
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22819
echo "cat >conf$$subs.awk <<_ACEOF" &&
22820
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22822
} >conf$$subs.sh ||
22823
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22824
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22826
for ac_last_try in false false false false false :; do
22827
. ./conf$$subs.sh ||
22828
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22830
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22831
if test $ac_delim_n = $ac_delim_num; then
22833
elif $ac_last_try; then
22834
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22836
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22839
rm -f conf$$subs.sh
22841
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22842
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22846
s/^/S["/; s/!.*/"]=/
22856
s/\(.\{148\}\)..*/\1/
22858
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22863
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22870
s/\(.\{148\}\)..*/\1/
22872
s/["\\]/\\&/g; s/^/"/; s/$/"/
22876
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22881
' <conf$$subs.awk | sed '
22886
' >>$CONFIG_STATUS || ac_write_fail=1
22887
rm -f conf$$subs.awk
22888
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22890
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22891
for (key in S) S_is_set[key] = 1
22897
nfields = split(line, field, "@")
22899
len = length(field[1])
22900
for (i = 2; i < nfields; i++) {
22902
keylen = length(key)
22903
if (S_is_set[key]) {
22905
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22906
len += length(value) + length(field[++i])
22917
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22918
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22919
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22922
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22923
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22926
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22927
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22928
# trailing colons and then remove the whole line if VPATH becomes empty
22929
# (actually we leave an empty line to preserve line numbers).
22930
if test "x$srcdir" = x.; then
22931
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22949
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22950
fi # test -n "$CONFIG_FILES"
22952
# Set up the scripts for CONFIG_HEADERS section.
22953
# No need to generate them if there are no CONFIG_HEADERS.
22954
# This happens for instance with `./config.status Makefile'.
22955
if test -n "$CONFIG_HEADERS"; then
22956
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22960
# Transform confdefs.h into an awk script `defines.awk', embedded as
22961
# here-document in config.status, that substitutes the proper values into
22962
# config.h.in to produce config.h.
22964
# Create a delimiter string that does not exist in confdefs.h, to ease
22965
# handling of long lines.
22967
for ac_last_try in false false :; do
22968
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22969
if test -z "$ac_tt"; then
22971
elif $ac_last_try; then
22972
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22974
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22978
# For the awk script, D is an array of macro values keyed by name,
22979
# likewise P contains macro parameters if any. Preserve backslash
22980
# newline sequences.
22982
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22984
s/.\{148\}/&'"$ac_delim"'/g
22987
s/^[ ]*#[ ]*define[ ][ ]*/ /
22994
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22996
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23000
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23001
D["\1"]=" \3\\\\\\n"\\/p
23003
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23008
s/.\{148\}/&'"$ac_delim"'/g
23013
s/["\\]/\\&/g; s/^/"/; s/$/"/p
23016
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23018
' <confdefs.h | sed '
23019
s/'"$ac_delim"'/"\\\
23020
"/g' >>$CONFIG_STATUS || ac_write_fail=1
23022
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23023
for (key in D) D_is_set[key] = 1
23026
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23028
split(line, arg, " ")
23029
if (arg[1] == "#") {
23033
defundef = substr(arg[1], 2)
23036
split(mac1, mac2, "(") #)
23038
prefix = substr(line, 1, index(line, defundef) - 1)
23039
if (D_is_set[macro]) {
23040
# Preserve the white space surrounding the "#".
23041
print prefix "define", macro P[macro] D[macro]
23044
# Replace #undef with comments. This is necessary, for example,
23045
# in the case of _POSIX_SOURCE, which is predefined and required
23046
# on some systems where configure will not decide to define it.
23047
if (defundef == "undef") {
23048
print "/*", prefix defundef, macro, "*/"
23056
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23057
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23058
fi # test -n "$CONFIG_HEADERS"
23061
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23066
:[FHLC]) ac_mode=$ac_tag; continue;;
23068
case $ac_mode$ac_tag in
23070
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23071
:[FH]-) ac_tag=-:-;;
23072
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23089
-) ac_f="$ac_tmp/stdin";;
23090
*) # Look for the file first in the build tree, then in the source tree
23091
# (if the path is not absolute). The absolute path cannot be DOS-style,
23092
# because $ac_f cannot contain `:'.
23096
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23098
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23100
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23101
as_fn_append ac_file_inputs " '$ac_f'"
23104
# Let's still pretend it is `configure' which instantiates (i.e., don't
23105
# use $as_me), people would be surprised to read:
23106
# /* config.h. Generated by config.status. */
23107
configure_input='Generated from '`
23108
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23110
if test x"$ac_file" != x-; then
23111
configure_input="$ac_file. $configure_input"
23112
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23113
$as_echo "$as_me: creating $ac_file" >&6;}
23115
# Neutralize special characters interpreted by sed in replacement strings.
23116
case $configure_input in #(
23117
*\&* | *\|* | *\\* )
23118
ac_sed_conf_input=`$as_echo "$configure_input" |
23119
sed 's/[\\\\&|]/\\\\&/g'`;; #(
23120
*) ac_sed_conf_input=$configure_input;;
23124
*:-:* | *:-) cat >"$ac_tmp/stdin" \
23125
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23130
ac_dir=`$as_dirname -- "$ac_file" ||
23131
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23132
X"$ac_file" : 'X\(//\)[^/]' \| \
23133
X"$ac_file" : 'X\(//\)$' \| \
23134
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23135
$as_echo X"$ac_file" |
23136
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23140
/^X\(\/\/\)[^/].*/{
23153
as_dir="$ac_dir"; as_fn_mkdir_p
23157
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23159
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23160
# A ".." for each directory in $ac_dir_suffix.
23161
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23162
case $ac_top_builddir_sub in
23163
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23164
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23167
ac_abs_top_builddir=$ac_pwd
23168
ac_abs_builddir=$ac_pwd$ac_dir_suffix
23169
# for backward compatibility:
23170
ac_top_builddir=$ac_top_build_prefix
23173
.) # We are building in place.
23175
ac_top_srcdir=$ac_top_builddir_sub
23176
ac_abs_top_srcdir=$ac_pwd ;;
23177
[\\/]* | ?:[\\/]* ) # Absolute name.
23178
ac_srcdir=$srcdir$ac_dir_suffix;
23179
ac_top_srcdir=$srcdir
23180
ac_abs_top_srcdir=$srcdir ;;
23181
*) # Relative name.
23182
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23183
ac_top_srcdir=$ac_top_build_prefix$srcdir
23184
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23186
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23196
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23197
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23199
ac_MKDIR_P=$MKDIR_P
23201
[\\/$]* | ?:[\\/]* ) ;;
23202
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
23206
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23207
# If the template does not know about datarootdir, expand it.
23208
# FIXME: This hack should be removed a few years after 2.60.
23209
ac_datarootdir_hack=; ac_datarootdir_seen=
23220
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23221
*datarootdir*) ac_datarootdir_seen=yes;;
23222
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23223
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23224
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23226
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23227
ac_datarootdir_hack='
23228
s&@datadir@&$datadir&g
23229
s&@docdir@&$docdir&g
23230
s&@infodir@&$infodir&g
23231
s&@localedir@&$localedir&g
23232
s&@mandir@&$mandir&g
23233
s&\\\${datarootdir}&$datarootdir&g' ;;
23237
# Neutralize VPATH when `$srcdir' = `.'.
23238
# Shell code in configure.ac might set extrasub.
23239
# FIXME: do we really want to maintain this feature?
23240
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23241
ac_sed_extra="$ac_vpsub
23244
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23246
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23247
s|@configure_input@|$ac_sed_conf_input|;t t
23248
s&@top_builddir@&$ac_top_builddir_sub&;t t
23249
s&@top_build_prefix@&$ac_top_build_prefix&;t t
23250
s&@srcdir@&$ac_srcdir&;t t
23251
s&@abs_srcdir@&$ac_abs_srcdir&;t t
23252
s&@top_srcdir@&$ac_top_srcdir&;t t
23253
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23254
s&@builddir@&$ac_builddir&;t t
23255
s&@abs_builddir@&$ac_abs_builddir&;t t
23256
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23257
s&@INSTALL@&$ac_INSTALL&;t t
23258
s&@MKDIR_P@&$ac_MKDIR_P&;t t
23259
$ac_datarootdir_hack
23261
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
23262
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23264
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23265
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
23266
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23267
"$ac_tmp/out"`; test -z "$ac_out"; } &&
23268
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23269
which seems to be undefined. Please make sure it is defined" >&5
23270
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23271
which seems to be undefined. Please make sure it is defined" >&2;}
23273
rm -f "$ac_tmp/stdin"
23275
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23276
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23278
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
23284
if test x"$ac_file" != x-; then
23286
$as_echo "/* $configure_input */" \
23287
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23288
} >"$ac_tmp/config.h" \
23289
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
23290
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23291
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23292
$as_echo "$as_me: $ac_file is unchanged" >&6;}
23295
mv "$ac_tmp/config.h" "$ac_file" \
23296
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
23299
$as_echo "/* $configure_input */" \
23300
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23301
|| as_fn_error $? "could not create -" "$LINENO" 5
23303
# Compute "$ac_file"'s index in $config_headers.
23306
for _am_header in $config_headers :; do
23307
case $_am_header in
23308
$_am_arg | $_am_arg:* )
23311
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
23314
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23315
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23316
X"$_am_arg" : 'X\(//\)[^/]' \| \
23317
X"$_am_arg" : 'X\(//\)$' \| \
23318
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23319
$as_echo X"$_am_arg" |
23320
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23324
/^X\(\/\/\)[^/].*/{
23336
s/.*/./; q'`/stamp-h$_am_stamp_count
23339
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23340
$as_echo "$as_me: executing $ac_file commands" >&6;}
23345
case $ac_file$ac_mode in
23346
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
23347
# Autoconf 2.62 quotes --file arguments for eval, but not when files
23348
# are listed without --file. Let's play safe and only enable the eval
23349
# if we detect the quoting.
23350
case $CONFIG_FILES in
23351
*\'*) eval set x "$CONFIG_FILES" ;;
23352
*) set x $CONFIG_FILES ;;
23357
# Strip MF so we end up with the name of the file.
23358
mf=`echo "$mf" | sed -e 's/:.*$//'`
23359
# Check whether this is an Automake generated Makefile or not.
23360
# We used to match only the files named `Makefile.in', but
23361
# some people rename them; so instead we look at the file content.
23362
# Grep'ing the first line is not enough: some people post-process
23363
# each Makefile.in and add a new line on top of each file to say so.
23364
# Grep'ing the whole file is not good either: AIX grep has a line
23365
# limit of 2048, but all sed's we know have understand at least 4000.
23366
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
23367
dirpart=`$as_dirname -- "$mf" ||
23368
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23369
X"$mf" : 'X\(//\)[^/]' \| \
23370
X"$mf" : 'X\(//\)$' \| \
23371
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23373
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23377
/^X\(\/\/\)[^/].*/{
23393
# Extract the definition of DEPDIR, am__include, and am__quote
23394
# from the Makefile without running `make'.
23395
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23396
test -z "$DEPDIR" && continue
23397
am__include=`sed -n 's/^am__include = //p' < "$mf"`
23398
test -z "am__include" && continue
23399
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23400
# When using ansi2knr, U may be empty or an underscore; expand it
23401
U=`sed -n 's/^U = //p' < "$mf"`
23402
# Find all dependency output files, they are included files with
23403
# $(DEPDIR) in their names. We invoke sed twice because it is the
23404
# simplest approach to changing $(DEPDIR) to its actual value in the
23406
for file in `sed -n "
23407
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23408
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
23409
# Make sure the directory exists.
23410
test -f "$dirpart/$file" && continue
23411
fdir=`$as_dirname -- "$file" ||
23412
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23413
X"$file" : 'X\(//\)[^/]' \| \
23414
X"$file" : 'X\(//\)$' \| \
23415
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23416
$as_echo X"$file" |
23417
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23421
/^X\(\/\/\)[^/].*/{
23434
as_dir=$dirpart/$fdir; as_fn_mkdir_p
23435
# echo "creating $dirpart/$file"
23436
echo '# dummy' > "$dirpart/$file"
23443
# See if we are running on zsh, and set the options which allow our
23444
# commands through without removal of \ escapes.
23445
if test -n "${ZSH_VERSION+set}" ; then
23446
setopt NO_GLOB_SUBST
23449
cfgfile="${ofile}T"
23450
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23453
cat <<_LT_EOF >> "$cfgfile"
23456
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
23457
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
23458
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23459
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
23461
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23462
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
23464
# Written by Gordon Matzigkeit, 1996
23466
# This file is part of GNU Libtool.
23468
# GNU Libtool is free software; you can redistribute it and/or
23469
# modify it under the terms of the GNU General Public License as
23470
# published by the Free Software Foundation; either version 2 of
23471
# the License, or (at your option) any later version.
23473
# As a special exception to the GNU General Public License,
23474
# if you distribute this file as part of a program or library that
23475
# is built using GNU Libtool, you may include this file under the
23476
# same distribution terms that you use for the rest of that program.
23478
# GNU Libtool is distributed in the hope that it will be useful,
23479
# but WITHOUT ANY WARRANTY; without even the implied warranty of
23480
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23481
# GNU General Public License for more details.
23483
# You should have received a copy of the GNU General Public License
23484
# along with GNU Libtool; see the file COPYING. If not, a copy
23485
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
23486
# obtained by writing to the Free Software Foundation, Inc.,
23487
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23490
# The names of the tagged configurations supported by this script.
23491
available_tags="CXX "
23493
# ### BEGIN LIBTOOL CONFIG
23495
# Which release of libtool.m4 was used?
23496
macro_version=$macro_version
23497
macro_revision=$macro_revision
23499
# Whether or not to build static libraries.
23500
build_old_libs=$enable_static
23502
# Whether or not to build shared libraries.
23503
build_libtool_libs=$enable_shared
23505
# What type of objects to build.
23508
# Whether or not to optimize for fast installation.
23509
fast_install=$enable_fast_install
23511
# Shell to use when invoking shell scripts.
23514
# An echo program that protects backslashes.
23517
# The PATH separator for the build system.
23518
PATH_SEPARATOR=$lt_PATH_SEPARATOR
23521
host_alias=$host_alias
23525
# The build system.
23526
build_alias=$build_alias
23530
# A sed program that does not truncate output.
23533
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
23534
Xsed="\$SED -e 1s/^X//"
23536
# A grep program that handles long lines.
23542
# A literal string matcher.
23545
# A BSD- or MS-compatible name lister.
23548
# Whether we need soft or hard links.
23551
# What is the maximum length of a command?
23552
max_cmd_len=$max_cmd_len
23554
# Object file suffix (normally "o").
23557
# Executable file suffix (normally "").
23560
# whether the shell understands "unset".
23563
# turn spaces into newlines.
23566
# turn newlines into spaces.
23569
# convert \$build file names to \$host format.
23570
to_host_file_cmd=$lt_cv_to_host_file_cmd
23572
# convert \$build files to toolchain format.
23573
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23575
# An object symbol dumper.
23576
OBJDUMP=$lt_OBJDUMP
23578
# Method to check whether dependent libraries are shared objects.
23579
deplibs_check_method=$lt_deplibs_check_method
23581
# Command to use when deplibs_check_method = "file_magic".
23582
file_magic_cmd=$lt_file_magic_cmd
23584
# How to find potential files when deplibs_check_method = "file_magic".
23585
file_magic_glob=$lt_file_magic_glob
23587
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23588
want_nocaseglob=$lt_want_nocaseglob
23590
# DLL creation program.
23591
DLLTOOL=$lt_DLLTOOL
23593
# Command to associate shared and link libraries.
23594
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23599
# Flags to create an archive.
23600
AR_FLAGS=$lt_AR_FLAGS
23602
# How to feed a file listing to the archiver.
23603
archiver_list_spec=$lt_archiver_list_spec
23605
# A symbol stripping program.
23608
# Commands used to install an old-style archive.
23610
old_postinstall_cmds=$lt_old_postinstall_cmds
23611
old_postuninstall_cmds=$lt_old_postuninstall_cmds
23613
# Whether to use a lock for old archive extraction.
23614
lock_old_archive_extraction=$lock_old_archive_extraction
23619
# LTCC compiler flags.
23620
LTCFLAGS=$lt_CFLAGS
23622
# Take the output of nm and produce a listing of raw symbols and C names.
23623
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23625
# Transform the output of nm in a proper C declaration.
23626
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23628
# Transform the output of nm in a C name address pair.
23629
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23631
# Transform the output of nm in a C name address pair when lib prefix is needed.
23632
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23634
# Specify filename containing input files for \$NM.
23635
nm_file_list_spec=$lt_nm_file_list_spec
23637
# The root where to search for dependent libraries,and in which our libraries should be installed.
23638
lt_sysroot=$lt_sysroot
23640
# The name of the directory that contains temporary libtool files.
23643
# Used to examine libraries when file_magic_cmd begins with "file".
23644
MAGIC_CMD=$MAGIC_CMD
23646
# Must we lock files when doing compilation?
23647
need_locks=$lt_need_locks
23650
MANIFEST_TOOL=$lt_MANIFEST_TOOL
23652
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23653
DSYMUTIL=$lt_DSYMUTIL
23655
# Tool to change global to local symbols on Mac OS X.
23658
# Tool to manipulate fat objects and archives on Mac OS X.
23661
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
23664
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23665
OTOOL64=$lt_OTOOL64
23667
# Old archive suffix (normally "a").
23670
# Shared library suffix (normally ".so").
23671
shrext_cmds=$lt_shrext_cmds
23673
# The commands to extract the exported symbol list from a shared archive.
23674
extract_expsyms_cmds=$lt_extract_expsyms_cmds
23676
# Variables whose values should be saved in libtool wrapper scripts and
23677
# restored at link time.
23678
variables_saved_for_relink=$lt_variables_saved_for_relink
23680
# Do we need the "lib" prefix for modules?
23681
need_lib_prefix=$need_lib_prefix
23683
# Do we need a version for libraries?
23684
need_version=$need_version
23686
# Library versioning type.
23687
version_type=$version_type
23689
# Shared library runtime path variable.
23690
runpath_var=$runpath_var
23692
# Shared library path variable.
23693
shlibpath_var=$shlibpath_var
23695
# Is shlibpath searched before the hard-coded library search path?
23696
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23698
# Format of library name prefix.
23699
libname_spec=$lt_libname_spec
23701
# List of archive names. First name is the real one, the rest are links.
23702
# The last name is the one that the linker finds with -lNAME
23703
library_names_spec=$lt_library_names_spec
23705
# The coded name of the library, if different from the real name.
23706
soname_spec=$lt_soname_spec
23708
# Permission mode override for installation of shared libraries.
23709
install_override_mode=$lt_install_override_mode
23711
# Command to use after installation of a shared archive.
23712
postinstall_cmds=$lt_postinstall_cmds
23714
# Command to use after uninstallation of a shared archive.
23715
postuninstall_cmds=$lt_postuninstall_cmds
23717
# Commands used to finish a libtool library installation in a directory.
23718
finish_cmds=$lt_finish_cmds
23720
# As "finish_cmds", except a single script fragment to be evaled but
23722
finish_eval=$lt_finish_eval
23724
# Whether we should hardcode library paths into libraries.
23725
hardcode_into_libs=$hardcode_into_libs
23727
# Compile-time system search path for libraries.
23728
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23730
# Run-time system search path for libraries.
23731
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23733
# Whether dlopen is supported.
23734
dlopen_support=$enable_dlopen
23736
# Whether dlopen of programs is supported.
23737
dlopen_self=$enable_dlopen_self
23739
# Whether dlopen of statically linked programs is supported.
23740
dlopen_self_static=$enable_dlopen_self_static
23742
# Commands to strip libraries.
23743
old_striplib=$lt_old_striplib
23744
striplib=$lt_striplib
23747
# The linker used to build libraries.
23750
# How to create reloadable object files.
23751
reload_flag=$lt_reload_flag
23752
reload_cmds=$lt_reload_cmds
23754
# Commands used to build an old-style archive.
23755
old_archive_cmds=$lt_old_archive_cmds
23757
# A language specific compiler.
23760
# Is the compiler the GNU compiler?
23763
# Compiler flag to turn off builtin functions.
23764
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23766
# Additional compiler flags for building library objects.
23767
pic_flag=$lt_lt_prog_compiler_pic
23769
# How to pass a linker flag through the compiler.
23770
wl=$lt_lt_prog_compiler_wl
23772
# Compiler flag to prevent dynamic linking.
23773
link_static_flag=$lt_lt_prog_compiler_static
23775
# Does compiler simultaneously support -c and -o options?
23776
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23778
# Whether or not to add -lc for building shared libraries.
23779
build_libtool_need_lc=$archive_cmds_need_lc
23781
# Whether or not to disallow shared libs when runtime libs are static.
23782
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23784
# Compiler flag to allow reflexive dlopens.
23785
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23787
# Compiler flag to generate shared objects directly from archives.
23788
whole_archive_flag_spec=$lt_whole_archive_flag_spec
23790
# Whether the compiler copes with passing no objects directly.
23791
compiler_needs_object=$lt_compiler_needs_object
23793
# Create an old-style archive from a shared archive.
23794
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23796
# Create a temporary old-style archive to link instead of a shared archive.
23797
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23799
# Commands used to build a shared archive.
23800
archive_cmds=$lt_archive_cmds
23801
archive_expsym_cmds=$lt_archive_expsym_cmds
23803
# Commands used to build a loadable module if different from building
23804
# a shared archive.
23805
module_cmds=$lt_module_cmds
23806
module_expsym_cmds=$lt_module_expsym_cmds
23808
# Whether we are building with GNU ld or not.
23809
with_gnu_ld=$lt_with_gnu_ld
23811
# Flag that allows shared libraries with undefined symbols to be built.
23812
allow_undefined_flag=$lt_allow_undefined_flag
23814
# Flag that enforces no undefined symbols.
23815
no_undefined_flag=$lt_no_undefined_flag
23817
# Flag to hardcode \$libdir into a binary during linking.
23818
# This must work even if \$libdir does not exist
23819
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23821
# Whether we need a single "-rpath" flag with a separated argument.
23822
hardcode_libdir_separator=$lt_hardcode_libdir_separator
23824
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23825
# DIR into the resulting binary.
23826
hardcode_direct=$hardcode_direct
23828
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23829
# DIR into the resulting binary and the resulting library dependency is
23830
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23831
# library is relocated.
23832
hardcode_direct_absolute=$hardcode_direct_absolute
23834
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23835
# into the resulting binary.
23836
hardcode_minus_L=$hardcode_minus_L
23838
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23839
# into the resulting binary.
23840
hardcode_shlibpath_var=$hardcode_shlibpath_var
23842
# Set to "yes" if building a shared library automatically hardcodes DIR
23843
# into the library and all subsequent libraries and executables linked
23845
hardcode_automatic=$hardcode_automatic
23847
# Set to yes if linker adds runtime paths of dependent libraries
23848
# to runtime path list.
23849
inherit_rpath=$inherit_rpath
23851
# Whether libtool must link a program against all its dependency libraries.
23852
link_all_deplibs=$link_all_deplibs
23854
# Set to "yes" if exported symbols are required.
23855
always_export_symbols=$always_export_symbols
23857
# The commands to list exported symbols.
23858
export_symbols_cmds=$lt_export_symbols_cmds
23860
# Symbols that should not be listed in the preloaded symbols.
23861
exclude_expsyms=$lt_exclude_expsyms
23863
# Symbols that must always be exported.
23864
include_expsyms=$lt_include_expsyms
23866
# Commands necessary for linking programs (against libraries) with templates.
23867
prelink_cmds=$lt_prelink_cmds
23869
# Commands necessary for finishing linking programs.
23870
postlink_cmds=$lt_postlink_cmds
23872
# Specify filename containing input files.
23873
file_list_spec=$lt_file_list_spec
23875
# How to hardcode a shared library path into an executable.
23876
hardcode_action=$hardcode_action
23878
# The directories searched by this compiler when creating a shared library.
23879
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
23881
# Dependencies to place before and after the objects being linked to
23882
# create a shared library.
23883
predep_objects=$lt_predep_objects
23884
postdep_objects=$lt_postdep_objects
23885
predeps=$lt_predeps
23886
postdeps=$lt_postdeps
23888
# The library search path used internally by the compiler when linking
23889
# a shared library.
23890
compiler_lib_search_path=$lt_compiler_lib_search_path
23892
# ### END LIBTOOL CONFIG
23898
cat <<\_LT_EOF >> "$cfgfile"
23899
# AIX sometimes has problems with the GCC collect2 program. For some
23900
# reason, if we set the COLLECT_NAMES environment variable, the problems
23901
# vanish in a puff of smoke.
23902
if test "X${COLLECT_NAMES+set}" != Xset; then
23904
export COLLECT_NAMES
23911
ltmain="$ac_aux_dir/ltmain.sh"
23914
# We use sed instead of cat because bash on DJGPP gets confused if
23915
# if finds mixed CR/LF and LF-only lines. Since sed operates in
23916
# text mode, it properly converts lines to CR/LF. This bash problem
23917
# is reportedly fixed, but why not run on old versions too?
23918
sed '$q' "$ltmain" >> "$cfgfile" \
23919
|| (rm -f "$cfgfile"; exit 1)
23921
if test x"$xsi_shell" = xyes; then
23922
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
23926
\ */*) func_dirname_result="${1%/*}${2}" ;;\
23927
\ * ) func_dirname_result="${3}" ;;\
23929
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
23930
&& mv -f "$cfgfile.tmp" "$cfgfile" \
23931
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23932
test 0 -eq $? || _lt_function_replace_fail=:
23935
sed -e '/^func_basename ()$/,/^} # func_basename /c\
23938
\ func_basename_result="${1##*/}"\
23939
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
23940
&& mv -f "$cfgfile.tmp" "$cfgfile" \
23941
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23942
test 0 -eq $? || _lt_function_replace_fail=:
23945
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
23946
func_dirname_and_basename ()\
23949
\ */*) func_dirname_result="${1%/*}${2}" ;;\
23950
\ * ) func_dirname_result="${3}" ;;\
23952
\ func_basename_result="${1##*/}"\
23953
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
23954
&& mv -f "$cfgfile.tmp" "$cfgfile" \
23955
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23956
test 0 -eq $? || _lt_function_replace_fail=:
23959
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
23962
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
23963
\ # positional parameters, so assign one to ordinary parameter first.\
23964
\ func_stripname_result=${3}\
23965
\ func_stripname_result=${func_stripname_result#"${1}"}\
23966
\ func_stripname_result=${func_stripname_result%"${2}"}\
23967
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
23968
&& mv -f "$cfgfile.tmp" "$cfgfile" \
23969
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23970
test 0 -eq $? || _lt_function_replace_fail=:
23973
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
23974
func_split_long_opt ()\
23976
\ func_split_long_opt_name=${1%%=*}\
23977
\ func_split_long_opt_arg=${1#*=}\
23978
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
23979
&& mv -f "$cfgfile.tmp" "$cfgfile" \
23980
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23981
test 0 -eq $? || _lt_function_replace_fail=:
23984
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
23985
func_split_short_opt ()\
23987
\ func_split_short_opt_arg=${1#??}\
23988
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
23989
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
23990
&& mv -f "$cfgfile.tmp" "$cfgfile" \
23991
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23992
test 0 -eq $? || _lt_function_replace_fail=:
23995
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
23999
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
24000
\ *) func_lo2o_result=${1} ;;\
24002
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
24003
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24004
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24005
test 0 -eq $? || _lt_function_replace_fail=:
24008
sed -e '/^func_xform ()$/,/^} # func_xform /c\
24011
func_xform_result=${1%.*}.lo\
24012
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
24013
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24014
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24015
test 0 -eq $? || _lt_function_replace_fail=:
24018
sed -e '/^func_arith ()$/,/^} # func_arith /c\
24021
func_arith_result=$(( $* ))\
24022
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
24023
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24024
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24025
test 0 -eq $? || _lt_function_replace_fail=:
24028
sed -e '/^func_len ()$/,/^} # func_len /c\
24031
func_len_result=${#1}\
24032
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
24033
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24034
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24035
test 0 -eq $? || _lt_function_replace_fail=:
24039
if test x"$lt_shell_append" = xyes; then
24040
sed -e '/^func_append ()$/,/^} # func_append /c\
24043
eval "${1}+=\\${2}"\
24044
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
24045
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24046
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24047
test 0 -eq $? || _lt_function_replace_fail=:
24050
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
24051
func_append_quoted ()\
24053
\ func_quote_for_eval "${2}"\
24054
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
24055
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
24056
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24057
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24058
test 0 -eq $? || _lt_function_replace_fail=:
24061
# Save a `func_append' function call where possible by direct use of '+='
24062
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
24063
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24064
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24065
test 0 -eq $? || _lt_function_replace_fail=:
24067
# Save a `func_append' function call even when '+=' is not available
24068
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
24069
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24070
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24071
test 0 -eq $? || _lt_function_replace_fail=:
24074
if test x"$_lt_function_replace_fail" = x":"; then
24075
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
24076
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
24080
mv -f "$cfgfile" "$ofile" ||
24081
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24085
cat <<_LT_EOF >> "$ofile"
24087
# ### BEGIN LIBTOOL TAG CONFIG: CXX
24089
# The linker used to build libraries.
24092
# How to create reloadable object files.
24093
reload_flag=$lt_reload_flag_CXX
24094
reload_cmds=$lt_reload_cmds_CXX
24096
# Commands used to build an old-style archive.
24097
old_archive_cmds=$lt_old_archive_cmds_CXX
24099
# A language specific compiler.
24100
CC=$lt_compiler_CXX
24102
# Is the compiler the GNU compiler?
24105
# Compiler flag to turn off builtin functions.
24106
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
24108
# Additional compiler flags for building library objects.
24109
pic_flag=$lt_lt_prog_compiler_pic_CXX
24111
# How to pass a linker flag through the compiler.
24112
wl=$lt_lt_prog_compiler_wl_CXX
24114
# Compiler flag to prevent dynamic linking.
24115
link_static_flag=$lt_lt_prog_compiler_static_CXX
24117
# Does compiler simultaneously support -c and -o options?
24118
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
24120
# Whether or not to add -lc for building shared libraries.
24121
build_libtool_need_lc=$archive_cmds_need_lc_CXX
24123
# Whether or not to disallow shared libs when runtime libs are static.
24124
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
24126
# Compiler flag to allow reflexive dlopens.
24127
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
24129
# Compiler flag to generate shared objects directly from archives.
24130
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
24132
# Whether the compiler copes with passing no objects directly.
24133
compiler_needs_object=$lt_compiler_needs_object_CXX
24135
# Create an old-style archive from a shared archive.
24136
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
24138
# Create a temporary old-style archive to link instead of a shared archive.
24139
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
24141
# Commands used to build a shared archive.
24142
archive_cmds=$lt_archive_cmds_CXX
24143
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
24145
# Commands used to build a loadable module if different from building
24146
# a shared archive.
24147
module_cmds=$lt_module_cmds_CXX
24148
module_expsym_cmds=$lt_module_expsym_cmds_CXX
24150
# Whether we are building with GNU ld or not.
24151
with_gnu_ld=$lt_with_gnu_ld_CXX
24153
# Flag that allows shared libraries with undefined symbols to be built.
24154
allow_undefined_flag=$lt_allow_undefined_flag_CXX
24156
# Flag that enforces no undefined symbols.
24157
no_undefined_flag=$lt_no_undefined_flag_CXX
24159
# Flag to hardcode \$libdir into a binary during linking.
24160
# This must work even if \$libdir does not exist
24161
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
24163
# Whether we need a single "-rpath" flag with a separated argument.
24164
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
24166
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24167
# DIR into the resulting binary.
24168
hardcode_direct=$hardcode_direct_CXX
24170
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24171
# DIR into the resulting binary and the resulting library dependency is
24172
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24173
# library is relocated.
24174
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
24176
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24177
# into the resulting binary.
24178
hardcode_minus_L=$hardcode_minus_L_CXX
24180
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24181
# into the resulting binary.
24182
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
24184
# Set to "yes" if building a shared library automatically hardcodes DIR
24185
# into the library and all subsequent libraries and executables linked
24187
hardcode_automatic=$hardcode_automatic_CXX
24189
# Set to yes if linker adds runtime paths of dependent libraries
24190
# to runtime path list.
24191
inherit_rpath=$inherit_rpath_CXX
24193
# Whether libtool must link a program against all its dependency libraries.
24194
link_all_deplibs=$link_all_deplibs_CXX
24196
# Set to "yes" if exported symbols are required.
24197
always_export_symbols=$always_export_symbols_CXX
24199
# The commands to list exported symbols.
24200
export_symbols_cmds=$lt_export_symbols_cmds_CXX
24202
# Symbols that should not be listed in the preloaded symbols.
24203
exclude_expsyms=$lt_exclude_expsyms_CXX
24205
# Symbols that must always be exported.
24206
include_expsyms=$lt_include_expsyms_CXX
24208
# Commands necessary for linking programs (against libraries) with templates.
24209
prelink_cmds=$lt_prelink_cmds_CXX
24211
# Commands necessary for finishing linking programs.
24212
postlink_cmds=$lt_postlink_cmds_CXX
24214
# Specify filename containing input files.
24215
file_list_spec=$lt_file_list_spec_CXX
24217
# How to hardcode a shared library path into an executable.
24218
hardcode_action=$hardcode_action_CXX
24220
# The directories searched by this compiler when creating a shared library.
24221
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
24223
# Dependencies to place before and after the objects being linked to
24224
# create a shared library.
24225
predep_objects=$lt_predep_objects_CXX
24226
postdep_objects=$lt_postdep_objects_CXX
24227
predeps=$lt_predeps_CXX
24228
postdeps=$lt_postdeps_CXX
24230
# The library search path used internally by the compiler when linking
24231
# a shared library.
24232
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
24234
# ### END LIBTOOL TAG CONFIG: CXX
24238
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
24239
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
24242
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
24243
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
24245
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
24250
'"s|^| $ac_top_srcdir/|" \
24251
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
24253
sed '/^POTFILES =/,/[^\\]$/ {
24257
' "po/Makefile.in" >"po/Makefile"
24258
rm -f "po/Makefile.tmp"
24259
mv "po/stamp-it.tmp" "po/stamp-it"
24268
ac_clean_files=$ac_clean_files_save
24270
test $ac_write_fail = 0 ||
24271
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24274
# configure is writing to config.log, and then calls config.status.
24275
# config.status does its own redirection, appending to config.log.
24276
# Unfortunately, on DOS this fails, as config.log is still kept open
24277
# by configure, so config.status won't be able to write to it; its
24278
# output is simply discarded. So we exec the FD to /dev/null,
24279
# effectively closing config.log, so it can be properly (re)opened and
24280
# appended to by config.status. When coming back to configure, we
24281
# need to make the FD available again.
24282
if test "$no_create" != yes; then
24284
ac_config_status_args=
24285
test "$silent" = yes &&
24286
ac_config_status_args="$ac_config_status_args --quiet"
24288
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24290
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
24291
# would make configure fail if this is the last instruction.
24292
$ac_cs_success || as_fn_exit 1
24294
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24295
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24296
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24302
echo "================ Final configuration ==================="
24303
echo " Installing into prefix : $prefix"
24305
if test "x${gm_platform}" != "xmingw" ; then
24306
echo " GDU support : $GDU"
24307
echo " GConf support : $GCONF"
24308
echo " Evolution-Data-Server support : $EDS"
24309
echo " NOTIFY support : $NOTIFY"
24311
echo " LDAP support : $LDAP"
24312
if test "x${gm_platform}" != "xmingw" ; then
24314
echo " Video4Linux support : $VIDEO4LINUX"
24317
echo " XVideo support : $XV"
24318
echo " Shared Memory support : $SHM"
24319
if test "x${gm_platform}" = "xmingw" ; then
24320
echo " DirectX support : $DX"
24323
echo " H.323 support : $H323"
24325
if test "x${gm_platform}" != "xmingw" ; then
24326
echo " DBUS support : $DBUS"
24327
echo " DBUS service support : $DBUS_SERVICE"
24328
echo " mDNS/DNS-SD support : $AVAHI"
24331
echo "The following features are experimental -- you've been warned:"
24332
echo " GStreamer support : $GSTREAMER"
24333
echo " KAddressBook support : $KAB"
24334
echo " KDE support : $KDE"
24335
echo " XCAP support : $XCAP"
24336
echo " Loudmouth support : $LOUDMOUTH"
24338
echo " OS Type : $target_os"
24339
echo " Machine Type : $target_cpu"
24340
echo " Byte Order : $byte_order"
24342
echo " If all settings are OK, type make and make install "
24343
echo "========================================================"