2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.68 for sflphone 1.0.1.
5
# Report bugs to <sflphoneteam@savoirfairelinux.com>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
# is contrary to our usage. Disable this feature.
26
alias -g '${1+"$@"}'='"$@"'
29
case `(set -o) 2>/dev/null` in #(
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87
# We need space, tab and new line, in precisely that order. Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
93
# Find who we are. Look in the path if we contain no directory separator.
96
*[\\/]* ) as_myself=$0 ;;
97
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101
test -z "$as_dir" && as_dir=.
102
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108
# We did not find ourselves, most probably we were run as `sh COMMAND'
109
# in which case we are not to be found in the path.
110
if test "x$as_myself" = x; then
113
if test ! -f "$as_myself"; then
114
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118
# Unset variables that we do not need and which cause bugs (e.g. in
119
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120
# suppresses any "Segmentation fault" message there. '((' could
121
# trigger a bug in pdksh 5.2.14.
122
for as_var in BASH_ENV ENV MAIL MAILPATH
123
do eval test x\${$as_var+set} = xset \
124
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139
if test "x$CONFIG_SHELL" = x; then
140
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144
# is contrary to our usage. Disable this feature.
145
alias -g '\${1+\"\$@\"}'='\"\$@\"'
148
case \`(set -o) 2>/dev/null\` in #(
156
as_required="as_fn_return () { (exit \$1); }
157
as_fn_success () { as_fn_return 0; }
158
as_fn_failure () { as_fn_return 1; }
159
as_fn_ret_success () { return 0; }
160
as_fn_ret_failure () { return 1; }
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170
exitcode=1; echo positional parameters were not saved.
172
test x\$exitcode = x0 || exit 1"
173
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
test \$(( 1 + 1 )) = 2 || exit 1
179
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183
PATH=/empty FPATH=/empty; export PATH FPATH
184
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186
if (eval "$as_required") 2>/dev/null; then :
191
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199
test -z "$as_dir" && as_dir=.
203
for as_base in sh bash ksh sh5; do
204
# Try only shells that exist, to save several forks.
205
as_shell=$as_dir/$as_base
206
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
CONFIG_SHELL=$as_shell as_have_required=yes
209
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219
CONFIG_SHELL=$SHELL as_have_required=yes
224
if test "x$CONFIG_SHELL" != x; then :
225
# We cannot yet assume a decent shell, so we have to provide a
226
# neutralization value for shells without unset; and this also
227
# works around shells that cannot unset nonexistent variables.
228
# Preserve -v and -x to the replacement shell.
231
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234
*v*x* | *x*v* ) as_opts=-vx ;;
239
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242
if test x$as_have_required = xno; then :
243
$as_echo "$0: This script requires a shell more modern than all"
244
$as_echo "$0: the shells that I found on your system."
245
if test x${ZSH_VERSION+set} = xset ; then
246
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
249
$as_echo "$0: Please tell bug-autoconf@gnu.org and
250
$0: sflphoneteam@savoirfairelinux.com about your system,
251
$0: including any error possibly output before this
252
$0: message. Then install a modern shell, or manually run
253
$0: the script under such a shell if you do have one."
259
SHELL=${CONFIG_SHELL-/bin/sh}
261
# Unset more variables known to interfere with behavior of common tools.
262
CLICOLOR_FORCE= GREP_OPTIONS=
263
unset CLICOLOR_FORCE GREP_OPTIONS
265
## --------------------- ##
266
## M4sh Shell Functions. ##
267
## --------------------- ##
270
# Portably unset VAR.
273
{ eval $1=; unset $1;}
277
# as_fn_set_status STATUS
278
# -----------------------
279
# Set $? to STATUS, without forking.
287
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297
# Create "$as_dir" as a directory, including parents if necessary.
302
-*) as_dir=./$as_dir;;
304
test -d "$as_dir" || eval $as_mkdir_p || {
308
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311
as_dirs="'$as_qdir' $as_dirs"
312
as_dir=`$as_dirname -- "$as_dir" ||
313
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314
X"$as_dir" : 'X\(//\)[^/]' \| \
315
X"$as_dir" : 'X\(//\)$' \| \
316
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317
$as_echo X"$as_dir" |
318
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335
test -d "$as_dir" && break
337
test -z "$as_dirs" || eval "mkdir $as_dirs"
338
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342
# as_fn_append VAR VALUE
343
# ----------------------
344
# Append the text in VALUE to the end of the definition contained in VAR. Take
345
# advantage of any shell optimizations that allow amortized linear growth over
346
# repeated appends, instead of the typical quadratic growth present in naive
348
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349
eval 'as_fn_append ()
362
# Perform arithmetic evaluation on the ARGs, and store the result in the
363
# global $as_val. Take advantage of shells that can avoid forks. The arguments
364
# must be portable across $(()) and expr.
365
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373
as_val=`expr "$@" || test $? -eq 1`
378
# as_fn_error STATUS ERROR [LINENO LOG_FD]
379
# ----------------------------------------
380
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382
# script with STATUS, using 1 if that was 0.
385
as_status=$1; test $as_status -eq 0 && as_status=1
387
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390
$as_echo "$as_me: error: $2" >&2
391
as_fn_exit $as_status
394
if expr a : '\(a\)' >/dev/null 2>&1 &&
395
test "X`expr 00001 : '.*\(...\)'`" = X001; then
401
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413
as_me=`$as_basename -- "$0" ||
414
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415
X"$0" : 'X\(//\)$' \| \
416
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418
sed '/^.*\/\([^/][^/]*\)\/*$/{
432
# Avoid depending upon Character Ranges.
433
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436
as_cr_digits='0123456789'
437
as_cr_alnum=$as_cr_Letters$as_cr_digits
440
as_lineno_1=$LINENO as_lineno_1a=$LINENO
441
as_lineno_2=$LINENO as_lineno_2a=$LINENO
442
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460
chmod +x "$as_me.lineno" ||
461
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
# Don't try to exec as it changes $[0], causing all sort of problems
464
# (the dirname of $[0] is not the place where we might find the
465
# original and so on. Autoconf is especially sensitive to this).
467
# Exit status is that of the last command.
471
ECHO_C= ECHO_N= ECHO_T=
472
case `echo -n x` in #(((((
474
case `echo 'xy\c'` in
475
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
477
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484
rm -f conf$$ conf$$.exe conf$$.file
485
if test -d conf$$.dir; then
486
rm -f conf$$.dir/conf$$.file
489
mkdir conf$$.dir 2>/dev/null
491
if (echo >conf$$.file) 2>/dev/null; then
492
if ln -s conf$$.file conf$$ 2>/dev/null; then
494
# ... but there are two gotchas:
495
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497
# In both cases, we have to default to `cp -p'.
498
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500
elif ln conf$$.file conf$$ 2>/dev/null; then
508
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509
rmdir conf$$.dir 2>/dev/null
511
if mkdir -p . 2>/dev/null; then
512
as_mkdir_p='mkdir -p "$as_dir"'
514
test -d ./-p && rmdir ./-p
518
if test -x / >/dev/null 2>&1; then
521
if ls -dL / >/dev/null 2>&1; then
528
if test -d "$1"; then
534
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535
???[sx]*):;;*)false;;esac;fi
539
as_executable_p=$as_test_x
541
# Sed expression to map a string onto a valid CPP name.
542
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
# Sed expression to map a string onto a valid variable name.
545
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
SHELL=${CONFIG_SHELL-/bin/sh}
550
test -n "$DJDIR" || exec 7<&0 </dev/null
554
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555
# so uname gets run too.
556
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
ac_default_prefix=/usr/local
563
ac_config_libobj_dir=.
570
# Identity of this package.
571
PACKAGE_NAME='sflphone'
572
PACKAGE_TARNAME='sflphone-client-gnome'
573
PACKAGE_VERSION='1.0.1'
574
PACKAGE_STRING='sflphone 1.0.1'
575
PACKAGE_BUGREPORT='sflphoneteam@savoirfairelinux.com'
578
# Factoring default headers for most tests.
579
ac_includes_default="\
581
#ifdef HAVE_SYS_TYPES_H
582
# include <sys/types.h>
584
#ifdef HAVE_SYS_STAT_H
585
# include <sys/stat.h>
591
# ifdef HAVE_STDLIB_H
596
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601
#ifdef HAVE_STRINGS_H
602
# include <strings.h>
604
#ifdef HAVE_INTTYPES_H
605
# include <inttypes.h>
614
ac_subst_vars='am__EXEEXT_FALSE
632
GCONF_SCHEMAS_INSTALL_FALSE
633
GCONF_SCHEMAS_INSTALL_TRUE
634
GCONF_SCHEMA_FILE_DIR
635
GCONF_SCHEMA_CONFIG_SOURCE
683
HAVE_GNOME_DOC_UTILS_FALSE
684
HAVE_GNOME_DOC_UTILS_TRUE
685
DISTCHECK_CONFIGURE_FLAGS
703
INSTALL_STRIP_PROGRAM
745
program_transform_name
758
enable_option_checking
764
enable_dependency_tracking
773
with_gconf_schema_file_dir
774
enable_schemas_install
776
ac_precious_vars='build_alias
804
# Initialize some variables set by options.
806
ac_init_version=false
807
ac_unrecognized_opts=
809
# The variables have the same names as the options, with
810
# dashes changed to underlines.
818
program_transform_name=s,x,x,
826
# Installation directory options.
827
# These are left unexpanded so users can "make install exec_prefix=/foo"
828
# and all the variables that are supposed to be based on exec_prefix
829
# by default will actually change.
830
# Use braces instead of parens because sh, perl, etc. also accept them.
831
# (The list follows the same order as the GNU Coding Standards.)
832
bindir='${exec_prefix}/bin'
833
sbindir='${exec_prefix}/sbin'
834
libexecdir='${exec_prefix}/libexec'
835
datarootdir='${prefix}/share'
836
datadir='${datarootdir}'
837
sysconfdir='${prefix}/etc'
838
sharedstatedir='${prefix}/com'
839
localstatedir='${prefix}/var'
840
includedir='${prefix}/include'
841
oldincludedir='/usr/include'
842
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
843
infodir='${datarootdir}/info'
848
libdir='${exec_prefix}/lib'
849
localedir='${datarootdir}/locale'
850
mandir='${datarootdir}/man'
856
# If the previous option needs an argument, assign it.
857
if test -n "$ac_prev"; then
858
eval $ac_prev=\$ac_option
864
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
869
# Accept the important Cygnus configure options, so we can diagnose typos.
871
case $ac_dashdash$ac_option in
875
-bindir | --bindir | --bindi | --bind | --bin | --bi)
877
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
880
-build | --build | --buil | --bui | --bu)
881
ac_prev=build_alias ;;
882
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
883
build_alias=$ac_optarg ;;
885
-cache-file | --cache-file | --cache-fil | --cache-fi \
886
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
887
ac_prev=cache_file ;;
888
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
889
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
890
cache_file=$ac_optarg ;;
893
cache_file=config.cache ;;
895
-datadir | --datadir | --datadi | --datad)
897
-datadir=* | --datadir=* | --datadi=* | --datad=*)
898
datadir=$ac_optarg ;;
900
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
901
| --dataroo | --dataro | --datar)
902
ac_prev=datarootdir ;;
903
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
904
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
905
datarootdir=$ac_optarg ;;
907
-disable-* | --disable-*)
908
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
909
# Reject names that are not valid shell variable names.
910
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
911
as_fn_error $? "invalid feature name: $ac_useropt"
912
ac_useropt_orig=$ac_useropt
913
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
914
case $ac_user_opts in
918
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
919
ac_unrecognized_sep=', ';;
921
eval enable_$ac_useropt=no ;;
923
-docdir | --docdir | --docdi | --doc | --do)
925
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
928
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
930
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
933
-enable-* | --enable-*)
934
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
935
# Reject names that are not valid shell variable names.
936
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
937
as_fn_error $? "invalid feature name: $ac_useropt"
938
ac_useropt_orig=$ac_useropt
939
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
940
case $ac_user_opts in
944
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
945
ac_unrecognized_sep=', ';;
947
eval enable_$ac_useropt=\$ac_optarg ;;
949
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
950
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
951
| --exec | --exe | --ex)
952
ac_prev=exec_prefix ;;
953
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
954
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
955
| --exec=* | --exe=* | --ex=*)
956
exec_prefix=$ac_optarg ;;
958
-gas | --gas | --ga | --g)
959
# Obsolete; use --with-gas.
962
-help | --help | --hel | --he | -h)
964
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
965
ac_init_help=recursive ;;
966
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
967
ac_init_help=short ;;
969
-host | --host | --hos | --ho)
970
ac_prev=host_alias ;;
971
-host=* | --host=* | --hos=* | --ho=*)
972
host_alias=$ac_optarg ;;
974
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
976
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
978
htmldir=$ac_optarg ;;
980
-includedir | --includedir | --includedi | --included | --include \
981
| --includ | --inclu | --incl | --inc)
982
ac_prev=includedir ;;
983
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
984
| --includ=* | --inclu=* | --incl=* | --inc=*)
985
includedir=$ac_optarg ;;
987
-infodir | --infodir | --infodi | --infod | --info | --inf)
989
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
990
infodir=$ac_optarg ;;
992
-libdir | --libdir | --libdi | --libd)
994
-libdir=* | --libdir=* | --libdi=* | --libd=*)
997
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
998
| --libexe | --libex | --libe)
999
ac_prev=libexecdir ;;
1000
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1001
| --libexe=* | --libex=* | --libe=*)
1002
libexecdir=$ac_optarg ;;
1004
-localedir | --localedir | --localedi | --localed | --locale)
1005
ac_prev=localedir ;;
1006
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1007
localedir=$ac_optarg ;;
1009
-localstatedir | --localstatedir | --localstatedi | --localstated \
1010
| --localstate | --localstat | --localsta | --localst | --locals)
1011
ac_prev=localstatedir ;;
1012
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1013
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1014
localstatedir=$ac_optarg ;;
1016
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1018
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1019
mandir=$ac_optarg ;;
1021
-nfp | --nfp | --nf)
1022
# Obsolete; use --without-fp.
1025
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1026
| --no-cr | --no-c | -n)
1029
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1030
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1033
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1034
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1035
| --oldin | --oldi | --old | --ol | --o)
1036
ac_prev=oldincludedir ;;
1037
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1038
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1039
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1040
oldincludedir=$ac_optarg ;;
1042
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1044
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1045
prefix=$ac_optarg ;;
1047
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1048
| --program-pre | --program-pr | --program-p)
1049
ac_prev=program_prefix ;;
1050
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1051
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1052
program_prefix=$ac_optarg ;;
1054
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1055
| --program-suf | --program-su | --program-s)
1056
ac_prev=program_suffix ;;
1057
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1058
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1059
program_suffix=$ac_optarg ;;
1061
-program-transform-name | --program-transform-name \
1062
| --program-transform-nam | --program-transform-na \
1063
| --program-transform-n | --program-transform- \
1064
| --program-transform | --program-transfor \
1065
| --program-transfo | --program-transf \
1066
| --program-trans | --program-tran \
1067
| --progr-tra | --program-tr | --program-t)
1068
ac_prev=program_transform_name ;;
1069
-program-transform-name=* | --program-transform-name=* \
1070
| --program-transform-nam=* | --program-transform-na=* \
1071
| --program-transform-n=* | --program-transform-=* \
1072
| --program-transform=* | --program-transfor=* \
1073
| --program-transfo=* | --program-transf=* \
1074
| --program-trans=* | --program-tran=* \
1075
| --progr-tra=* | --program-tr=* | --program-t=*)
1076
program_transform_name=$ac_optarg ;;
1078
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1080
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1081
pdfdir=$ac_optarg ;;
1083
-psdir | --psdir | --psdi | --psd | --ps)
1085
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1088
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1089
| -silent | --silent | --silen | --sile | --sil)
1092
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1094
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1096
sbindir=$ac_optarg ;;
1098
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1099
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1100
| --sharedst | --shareds | --shared | --share | --shar \
1102
ac_prev=sharedstatedir ;;
1103
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1104
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1105
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1107
sharedstatedir=$ac_optarg ;;
1109
-site | --site | --sit)
1111
-site=* | --site=* | --sit=*)
1114
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1116
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1117
srcdir=$ac_optarg ;;
1119
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1120
| --syscon | --sysco | --sysc | --sys | --sy)
1121
ac_prev=sysconfdir ;;
1122
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1123
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1124
sysconfdir=$ac_optarg ;;
1126
-target | --target | --targe | --targ | --tar | --ta | --t)
1127
ac_prev=target_alias ;;
1128
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1129
target_alias=$ac_optarg ;;
1131
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1134
-version | --version | --versio | --versi | --vers | -V)
1135
ac_init_version=: ;;
1138
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1139
# Reject names that are not valid shell variable names.
1140
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1141
as_fn_error $? "invalid package name: $ac_useropt"
1142
ac_useropt_orig=$ac_useropt
1143
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1144
case $ac_user_opts in
1148
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1149
ac_unrecognized_sep=', ';;
1151
eval with_$ac_useropt=\$ac_optarg ;;
1153
-without-* | --without-*)
1154
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1155
# Reject names that are not valid shell variable names.
1156
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1157
as_fn_error $? "invalid package name: $ac_useropt"
1158
ac_useropt_orig=$ac_useropt
1159
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1160
case $ac_user_opts in
1164
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1165
ac_unrecognized_sep=', ';;
1167
eval with_$ac_useropt=no ;;
1170
# Obsolete; use --with-x.
1173
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1174
| --x-incl | --x-inc | --x-in | --x-i)
1175
ac_prev=x_includes ;;
1176
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1177
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1178
x_includes=$ac_optarg ;;
1180
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1181
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1182
ac_prev=x_libraries ;;
1183
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1184
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1185
x_libraries=$ac_optarg ;;
1187
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1188
Try \`$0 --help' for more information"
1192
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1193
# Reject names that are not valid shell variable names.
1194
case $ac_envvar in #(
1195
'' | [0-9]* | *[!_$as_cr_alnum]* )
1196
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1198
eval $ac_envvar=\$ac_optarg
1199
export $ac_envvar ;;
1202
# FIXME: should be removed in autoconf 3.0.
1203
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1204
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1205
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1206
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1212
if test -n "$ac_prev"; then
1213
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1214
as_fn_error $? "missing argument to $ac_option"
1217
if test -n "$ac_unrecognized_opts"; then
1218
case $enable_option_checking in
1220
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1221
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1225
# Check all directory arguments for consistency.
1226
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1227
datadir sysconfdir sharedstatedir localstatedir includedir \
1228
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1229
libdir localedir mandir
1231
eval ac_val=\$$ac_var
1232
# Remove trailing slashes.
1235
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1236
eval $ac_var=\$ac_val;;
1238
# Be sure to have absolute directory names.
1240
[\\/$]* | ?:[\\/]* ) continue;;
1241
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1243
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1246
# There might be people who depend on the old broken behavior: `$host'
1247
# used to hold the argument of --host etc.
1248
# FIXME: To remove some day.
1251
target=$target_alias
1253
# FIXME: To remove some day.
1254
if test "x$host_alias" != x; then
1255
if test "x$build_alias" = x; then
1256
cross_compiling=maybe
1257
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1258
If a cross compiler is detected then cross compile mode will be used" >&2
1259
elif test "x$build_alias" != "x$host_alias"; then
1265
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1267
test "$silent" = yes && exec 6>/dev/null
1270
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1271
ac_ls_di=`ls -di .` &&
1272
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1273
as_fn_error $? "working directory cannot be determined"
1274
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1275
as_fn_error $? "pwd does not report name of working directory"
1278
# Find the source files, if location was not specified.
1279
if test -z "$srcdir"; then
1280
ac_srcdir_defaulted=yes
1281
# Try the directory containing this script, then the parent directory.
1282
ac_confdir=`$as_dirname -- "$as_myself" ||
1283
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1284
X"$as_myself" : 'X\(//\)[^/]' \| \
1285
X"$as_myself" : 'X\(//\)$' \| \
1286
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1287
$as_echo X"$as_myself" |
1288
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1306
if test ! -r "$srcdir/$ac_unique_file"; then
1310
ac_srcdir_defaulted=no
1312
if test ! -r "$srcdir/$ac_unique_file"; then
1313
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1314
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1316
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1318
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1320
# When building in place, set srcdir=.
1321
if test "$ac_abs_confdir" = "$ac_pwd"; then
1324
# Remove unnecessary trailing slashes from srcdir.
1325
# Double slashes in file names in object file debugging info
1326
# mess up M-x gdb in Emacs.
1328
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1330
for ac_var in $ac_precious_vars; do
1331
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1332
eval ac_env_${ac_var}_value=\$${ac_var}
1333
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1334
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1338
# Report the --help message.
1340
if test "$ac_init_help" = "long"; then
1341
# Omit some internal or obsolete options to make the list less imposing.
1342
# This message is too long to be a string in the A/UX 3.1 sh.
1344
\`configure' configures sflphone 1.0.1 to adapt to many kinds of systems.
1346
Usage: $0 [OPTION]... [VAR=VALUE]...
1348
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1349
VAR=VALUE. See below for descriptions of some of the useful variables.
1351
Defaults for the options are specified in brackets.
1354
-h, --help display this help and exit
1355
--help=short display options specific to this package
1356
--help=recursive display the short help of all the included packages
1357
-V, --version display version information and exit
1358
-q, --quiet, --silent do not print \`checking ...' messages
1359
--cache-file=FILE cache test results in FILE [disabled]
1360
-C, --config-cache alias for \`--cache-file=config.cache'
1361
-n, --no-create do not create output files
1362
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1364
Installation directories:
1365
--prefix=PREFIX install architecture-independent files in PREFIX
1366
[$ac_default_prefix]
1367
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1370
By default, \`make install' will install all the files in
1371
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1372
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1373
for instance \`--prefix=\$HOME'.
1375
For better control, use the options below.
1377
Fine tuning of the installation directories:
1378
--bindir=DIR user executables [EPREFIX/bin]
1379
--sbindir=DIR system admin executables [EPREFIX/sbin]
1380
--libexecdir=DIR program executables [EPREFIX/libexec]
1381
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1382
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1383
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1384
--libdir=DIR object code libraries [EPREFIX/lib]
1385
--includedir=DIR C header files [PREFIX/include]
1386
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1387
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1388
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1389
--infodir=DIR info documentation [DATAROOTDIR/info]
1390
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1391
--mandir=DIR man documentation [DATAROOTDIR/man]
1392
--docdir=DIR documentation root
1393
[DATAROOTDIR/doc/sflphone-client-gnome]
1394
--htmldir=DIR html documentation [DOCDIR]
1395
--dvidir=DIR dvi documentation [DOCDIR]
1396
--pdfdir=DIR pdf documentation [DOCDIR]
1397
--psdir=DIR ps documentation [DOCDIR]
1403
--program-prefix=PREFIX prepend PREFIX to installed program names
1404
--program-suffix=SUFFIX append SUFFIX to installed program names
1405
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1408
--build=BUILD configure for building on BUILD [guessed]
1409
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1413
if test -n "$ac_init_help"; then
1414
case $ac_init_help in
1415
short | recursive ) echo "Configuration of sflphone 1.0.1:";;
1420
--disable-option-checking ignore unrecognized --enable/--with options
1421
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1422
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1423
--disable-scrollkeeper do not make updates to the scrollkeeper database
1424
--enable-silent-rules less verbose build output (undo: `make V=1')
1425
--disable-silent-rules verbose build output (undo: `make V=0')
1426
--disable-dependency-tracking speeds up one-time build
1427
--enable-dependency-tracking do not reject slow dependency extractors
1428
--enable-shared[=PKGS] build shared libraries [default=yes]
1429
--enable-static[=PKGS] build static libraries [default=yes]
1430
--enable-fast-install[=PKGS]
1431
optimize for fast installation [default=yes]
1432
--disable-libtool-lock avoid locking (might break parallel builds)
1433
--disable-schemas-install
1434
Disable the schemas installation
1437
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1438
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1439
--with-help-dir=DIR path to help docs
1440
--with-omf-dir=DIR path to OMF files
1441
--with-help-formats=FORMATS
1443
--with-pic try to use only PIC/non-PIC objects [default=use
1445
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1446
--with-sysroot=DIR Search for dependent libraries within DIR
1447
(or the compiler's sysroot if not specified).
1448
--with-gconf-source=sourceaddress
1449
Config database for installing schema files.
1450
--with-gconf-schema-file-dir=dir
1451
Directory for installing schema files.
1453
Some influential environment variables:
1454
PKG_CONFIG path to pkg-config utility
1456
directories to add to pkg-config's search path
1458
path overriding pkg-config's built-in search path
1459
CC C compiler command
1460
CFLAGS C compiler flags
1461
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1462
nonstandard directory <lib dir>
1463
LIBS libraries to pass to the linker, e.g. -l<library>
1464
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1465
you have headers in a nonstandard directory <include dir>
1468
C compiler flags for DBUSGLIB, overriding pkg-config
1470
linker flags for DBUSGLIB, overriding pkg-config
1472
C compiler flags for LIBNOTIFY, overriding pkg-config
1474
linker flags for LIBNOTIFY, overriding pkg-config
1475
GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1476
GTK_LIBS linker flags for GTK, overriding pkg-config
1478
C compiler flags for GCONF, overriding pkg-config
1479
GCONF_LIBS linker flags for GCONF, overriding pkg-config
1480
GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1481
GLIB_LIBS linker flags for GLIB, overriding pkg-config
1483
C compiler flags for WEBKIT, overriding pkg-config
1484
WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1486
C compiler flags for CHECK, overriding pkg-config
1487
CHECK_LIBS linker flags for CHECK, overriding pkg-config
1489
Use these variables to override the choices made by `configure' or to help
1490
it to find libraries and programs with nonstandard names/locations.
1492
Report bugs to <sflphoneteam@savoirfairelinux.com>.
1497
if test "$ac_init_help" = "recursive"; then
1498
# If there are subdirs, report their specific --help.
1499
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1500
test -d "$ac_dir" ||
1501
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1506
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1508
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1509
# A ".." for each directory in $ac_dir_suffix.
1510
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1511
case $ac_top_builddir_sub in
1512
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1513
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1516
ac_abs_top_builddir=$ac_pwd
1517
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1518
# for backward compatibility:
1519
ac_top_builddir=$ac_top_build_prefix
1522
.) # We are building in place.
1524
ac_top_srcdir=$ac_top_builddir_sub
1525
ac_abs_top_srcdir=$ac_pwd ;;
1526
[\\/]* | ?:[\\/]* ) # Absolute name.
1527
ac_srcdir=$srcdir$ac_dir_suffix;
1528
ac_top_srcdir=$srcdir
1529
ac_abs_top_srcdir=$srcdir ;;
1531
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1532
ac_top_srcdir=$ac_top_build_prefix$srcdir
1533
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1535
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1537
cd "$ac_dir" || { ac_status=$?; continue; }
1538
# Check for guested configure.
1539
if test -f "$ac_srcdir/configure.gnu"; then
1541
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1542
elif test -f "$ac_srcdir/configure"; then
1544
$SHELL "$ac_srcdir/configure" --help=recursive
1546
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1548
cd "$ac_pwd" || { ac_status=$?; break; }
1552
test -n "$ac_init_help" && exit $ac_status
1553
if $ac_init_version; then
1555
sflphone configure 1.0.1
1556
generated by GNU Autoconf 2.68
1558
Copyright (C) 2010 Free Software Foundation, Inc.
1559
This configure script is free software; the Free Software Foundation
1560
gives unlimited permission to copy, distribute and modify it.
1565
## ------------------------ ##
1566
## Autoconf initialization. ##
1567
## ------------------------ ##
1569
# ac_fn_c_try_compile LINENO
1570
# --------------------------
1571
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1572
ac_fn_c_try_compile ()
1574
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1575
rm -f conftest.$ac_objext
1576
if { { ac_try="$ac_compile"
1578
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1579
*) ac_try_echo=$ac_try;;
1581
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1582
$as_echo "$ac_try_echo"; } >&5
1583
(eval "$ac_compile") 2>conftest.err
1585
if test -s conftest.err; then
1586
grep -v '^ *+' conftest.err >conftest.er1
1587
cat conftest.er1 >&5
1588
mv -f conftest.er1 conftest.err
1590
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1591
test $ac_status = 0; } && {
1592
test -z "$ac_c_werror_flag" ||
1593
test ! -s conftest.err
1594
} && test -s conftest.$ac_objext; then :
1597
$as_echo "$as_me: failed program was:" >&5
1598
sed 's/^/| /' conftest.$ac_ext >&5
1602
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1603
as_fn_set_status $ac_retval
1605
} # ac_fn_c_try_compile
1607
# ac_fn_c_try_cpp LINENO
1608
# ----------------------
1609
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1612
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1613
if { { ac_try="$ac_cpp conftest.$ac_ext"
1615
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1616
*) ac_try_echo=$ac_try;;
1618
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1619
$as_echo "$ac_try_echo"; } >&5
1620
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1622
if test -s conftest.err; then
1623
grep -v '^ *+' conftest.err >conftest.er1
1624
cat conftest.er1 >&5
1625
mv -f conftest.er1 conftest.err
1627
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1628
test $ac_status = 0; } > conftest.i && {
1629
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1630
test ! -s conftest.err
1634
$as_echo "$as_me: failed program was:" >&5
1635
sed 's/^/| /' conftest.$ac_ext >&5
1639
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1640
as_fn_set_status $ac_retval
1644
# ac_fn_c_try_run LINENO
1645
# ----------------------
1646
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1647
# that executables *can* be run.
1650
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1651
if { { ac_try="$ac_link"
1653
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1654
*) ac_try_echo=$ac_try;;
1656
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1657
$as_echo "$ac_try_echo"; } >&5
1658
(eval "$ac_link") 2>&5
1660
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1662
{ { case "(($ac_try" in
1663
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664
*) ac_try_echo=$ac_try;;
1666
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667
$as_echo "$ac_try_echo"; } >&5
1668
(eval "$ac_try") 2>&5
1670
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671
test $ac_status = 0; }; }; then :
1674
$as_echo "$as_me: program exited with status $ac_status" >&5
1675
$as_echo "$as_me: failed program was:" >&5
1676
sed 's/^/| /' conftest.$ac_ext >&5
1678
ac_retval=$ac_status
1680
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1681
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682
as_fn_set_status $ac_retval
1686
# ac_fn_c_try_link LINENO
1687
# -----------------------
1688
# Try to link conftest.$ac_ext, and return whether this succeeded.
1691
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692
rm -f conftest.$ac_objext conftest$ac_exeext
1693
if { { ac_try="$ac_link"
1695
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696
*) ac_try_echo=$ac_try;;
1698
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699
$as_echo "$ac_try_echo"; } >&5
1700
(eval "$ac_link") 2>conftest.err
1702
if test -s conftest.err; then
1703
grep -v '^ *+' conftest.err >conftest.er1
1704
cat conftest.er1 >&5
1705
mv -f conftest.er1 conftest.err
1707
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708
test $ac_status = 0; } && {
1709
test -z "$ac_c_werror_flag" ||
1710
test ! -s conftest.err
1711
} && test -s conftest$ac_exeext && {
1712
test "$cross_compiling" = yes ||
1713
$as_test_x conftest$ac_exeext
1717
$as_echo "$as_me: failed program was:" >&5
1718
sed 's/^/| /' conftest.$ac_ext >&5
1722
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1723
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1724
# interfere with the next link command; also delete a directory that is
1725
# left behind by Apple's compiler. We do this before executing the actions.
1726
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728
as_fn_set_status $ac_retval
1730
} # ac_fn_c_try_link
1732
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1733
# -------------------------------------------------------
1734
# Tests whether HEADER exists and can be compiled using the include files in
1735
# INCLUDES, setting the cache variable VAR accordingly.
1736
ac_fn_c_check_header_compile ()
1738
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740
$as_echo_n "checking for $2... " >&6; }
1741
if eval \${$3+:} false; then :
1742
$as_echo_n "(cached) " >&6
1744
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745
/* end confdefs.h. */
1749
if ac_fn_c_try_compile "$LINENO"; then :
1754
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1758
$as_echo "$ac_res" >&6; }
1759
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1761
} # ac_fn_c_check_header_compile
1763
# ac_fn_c_check_func LINENO FUNC VAR
1764
# ----------------------------------
1765
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1766
ac_fn_c_check_func ()
1768
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1770
$as_echo_n "checking for $2... " >&6; }
1771
if eval \${$3+:} false; then :
1772
$as_echo_n "(cached) " >&6
1774
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1775
/* end confdefs.h. */
1776
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1777
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1778
#define $2 innocuous_$2
1780
/* System header to define __stub macros and hopefully few prototypes,
1781
which can conflict with char $2 (); below.
1782
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1783
<limits.h> exists even on freestanding compilers. */
1786
# include <limits.h>
1788
# include <assert.h>
1793
/* Override any GCC internal prototype to avoid an error.
1794
Use char because int might match the return type of a GCC
1795
builtin and then its argument prototype would still apply. */
1800
/* The GNU C library defines this for functions which it implements
1801
to always fail with ENOSYS. Some functions are actually named
1802
something starting with __ and the normal name is an alias. */
1803
#if defined __stub_$2 || defined __stub___$2
1815
if ac_fn_c_try_link "$LINENO"; then :
1820
rm -f core conftest.err conftest.$ac_objext \
1821
conftest$ac_exeext conftest.$ac_ext
1824
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1825
$as_echo "$ac_res" >&6; }
1826
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828
} # ac_fn_c_check_func
1829
cat >config.log <<_ACEOF
1830
This file contains any messages produced by compilers while
1831
running configure, to aid debugging if configure makes a mistake.
1833
It was created by sflphone $as_me 1.0.1, which was
1834
generated by GNU Autoconf 2.68. Invocation command line was
1846
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1847
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1848
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1849
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1850
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1852
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1853
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1855
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1856
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1857
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1858
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1859
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1860
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1861
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1865
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1869
test -z "$as_dir" && as_dir=.
1870
$as_echo "PATH: $as_dir"
1886
# Keep a trace of the command line.
1887
# Strip out --no-create and --no-recursion so they do not pile up.
1888
# Strip out --silent because we don't want to record it for future runs.
1889
# Also quote any args containing shell meta-characters.
1890
# Make two passes to allow for proper duplicate-argument suppression.
1894
ac_must_keep_next=false
1900
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1901
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1902
| -silent | --silent | --silen | --sile | --sil)
1905
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1908
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1910
as_fn_append ac_configure_args1 " '$ac_arg'"
1911
if test $ac_must_keep_next = true; then
1912
ac_must_keep_next=false # Got value, back to normal.
1915
*=* | --config-cache | -C | -disable-* | --disable-* \
1916
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1917
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1918
| -with-* | --with-* | -without-* | --without-* | --x)
1919
case "$ac_configure_args0 " in
1920
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1923
-* ) ac_must_keep_next=true ;;
1926
as_fn_append ac_configure_args " '$ac_arg'"
1931
{ ac_configure_args0=; unset ac_configure_args0;}
1932
{ ac_configure_args1=; unset ac_configure_args1;}
1934
# When interrupted or exit'd, cleanup temporary files, and complete
1935
# config.log. We remove comments because anyway the quotes in there
1936
# would cause problems or look ugly.
1937
# WARNING: Use '\'' to represent an apostrophe within the trap.
1938
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1939
trap 'exit_status=$?
1940
# Save into config.log some information that might help in debugging.
1944
$as_echo "## ---------------- ##
1945
## Cache variables. ##
1946
## ---------------- ##"
1948
# The following way of writing the cache mishandles newlines in values,
1950
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1951
eval ac_val=\$$ac_var
1955
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1956
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1959
_ | IFS | as_nl) ;; #(
1960
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1961
*) { eval $ac_var=; unset $ac_var;} ;;
1966
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1967
*${as_nl}ac_space=\ *)
1969
"s/'\''/'\''\\\\'\'''\''/g;
1970
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1973
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1980
$as_echo "## ----------------- ##
1981
## Output variables. ##
1982
## ----------------- ##"
1984
for ac_var in $ac_subst_vars
1986
eval ac_val=\$$ac_var
1988
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1990
$as_echo "$ac_var='\''$ac_val'\''"
1994
if test -n "$ac_subst_files"; then
1995
$as_echo "## ------------------- ##
1996
## File substitutions. ##
1997
## ------------------- ##"
1999
for ac_var in $ac_subst_files
2001
eval ac_val=\$$ac_var
2003
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2005
$as_echo "$ac_var='\''$ac_val'\''"
2010
if test -s confdefs.h; then
2011
$as_echo "## ----------- ##
2018
test "$ac_signal" != 0 &&
2019
$as_echo "$as_me: caught signal $ac_signal"
2020
$as_echo "$as_me: exit $exit_status"
2022
rm -f core *.core core.conftest.* &&
2023
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2026
for ac_signal in 1 2 13 15; do
2027
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2031
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2032
rm -f -r conftest* confdefs.h
2034
$as_echo "/* confdefs.h */" > confdefs.h
2036
# Predefined preprocessor variables.
2038
cat >>confdefs.h <<_ACEOF
2039
#define PACKAGE_NAME "$PACKAGE_NAME"
2042
cat >>confdefs.h <<_ACEOF
2043
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2046
cat >>confdefs.h <<_ACEOF
2047
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2050
cat >>confdefs.h <<_ACEOF
2051
#define PACKAGE_STRING "$PACKAGE_STRING"
2054
cat >>confdefs.h <<_ACEOF
2055
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2058
cat >>confdefs.h <<_ACEOF
2059
#define PACKAGE_URL "$PACKAGE_URL"
2063
# Let the site file select an alternate cache file if it wants to.
2064
# Prefer an explicitly selected file to automatically selected ones.
2067
if test -n "$CONFIG_SITE"; then
2068
# We do not want a PATH search for config.site.
2069
case $CONFIG_SITE in #((
2070
-*) ac_site_file1=./$CONFIG_SITE;;
2071
*/*) ac_site_file1=$CONFIG_SITE;;
2072
*) ac_site_file1=./$CONFIG_SITE;;
2074
elif test "x$prefix" != xNONE; then
2075
ac_site_file1=$prefix/share/config.site
2076
ac_site_file2=$prefix/etc/config.site
2078
ac_site_file1=$ac_default_prefix/share/config.site
2079
ac_site_file2=$ac_default_prefix/etc/config.site
2081
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2083
test "x$ac_site_file" = xNONE && continue
2084
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2085
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2086
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2087
sed 's/^/| /' "$ac_site_file" >&5
2089
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2090
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2091
as_fn_error $? "failed to load site script $ac_site_file
2092
See \`config.log' for more details" "$LINENO" 5; }
2096
if test -r "$cache_file"; then
2097
# Some versions of bash will fail to source /dev/null (special files
2098
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2099
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2100
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2101
$as_echo "$as_me: loading cache $cache_file" >&6;}
2103
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2104
*) . "./$cache_file";;
2108
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2109
$as_echo "$as_me: creating cache $cache_file" >&6;}
2113
# Check that the precious variables saved in the cache have kept the same
2115
ac_cache_corrupted=false
2116
for ac_var in $ac_precious_vars; do
2117
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2118
eval ac_new_set=\$ac_env_${ac_var}_set
2119
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2120
eval ac_new_val=\$ac_env_${ac_var}_value
2121
case $ac_old_set,$ac_new_set in
2123
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2124
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2125
ac_cache_corrupted=: ;;
2127
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2128
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2129
ac_cache_corrupted=: ;;
2132
if test "x$ac_old_val" != "x$ac_new_val"; then
2133
# differences in whitespace do not lead to failure.
2134
ac_old_val_w=`echo x $ac_old_val`
2135
ac_new_val_w=`echo x $ac_new_val`
2136
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2137
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2138
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2139
ac_cache_corrupted=:
2141
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2142
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2143
eval $ac_var=\$ac_old_val
2145
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2146
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2147
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2148
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2151
# Pass precious variables to config.status.
2152
if test "$ac_new_set" = set; then
2154
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2155
*) ac_arg=$ac_var=$ac_new_val ;;
2157
case " $ac_configure_args " in
2158
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2159
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2163
if $ac_cache_corrupted; then
2164
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2165
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2166
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2167
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2168
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2170
## -------------------- ##
2171
## Main body of script. ##
2172
## -------------------- ##
2175
ac_cpp='$CPP $CPPFLAGS'
2176
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2177
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2178
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2181
ac_config_headers="$ac_config_headers config.h"
2183
am__api_version='1.11'
2186
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2187
if test -f "$ac_dir/install-sh"; then
2189
ac_install_sh="$ac_aux_dir/install-sh -c"
2191
elif test -f "$ac_dir/install.sh"; then
2193
ac_install_sh="$ac_aux_dir/install.sh -c"
2195
elif test -f "$ac_dir/shtool"; then
2197
ac_install_sh="$ac_aux_dir/shtool install -c"
2201
if test -z "$ac_aux_dir"; then
2202
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2205
# These three variables are undocumented and unsupported,
2206
# and are intended to be withdrawn in a future Autoconf release.
2207
# They can cause serious problems if a builder's source tree is in a directory
2208
# whose full name contains unusual characters.
2209
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2210
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2211
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2214
# Find a good install program. We prefer a C program (faster),
2215
# so one script is as good as another. But avoid the broken or
2216
# incompatible versions:
2217
# SysV /etc/install, /usr/sbin/install
2218
# SunOS /usr/etc/install
2219
# IRIX /sbin/install
2221
# AmigaOS /C/install, which installs bootblocks on floppy discs
2222
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2223
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2224
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2225
# OS/2's system install, which has a completely different semantic
2226
# ./install, which can be erroneously created by make from ./install.sh.
2227
# Reject install programs that cannot install multiple files.
2228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2229
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2230
if test -z "$INSTALL"; then
2231
if ${ac_cv_path_install+:} false; then :
2232
$as_echo_n "(cached) " >&6
2234
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2238
test -z "$as_dir" && as_dir=.
2239
# Account for people who put trailing slashes in PATH elements.
2240
case $as_dir/ in #((
2241
./ | .// | /[cC]/* | \
2242
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2243
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2246
# OSF1 and SCO ODT 3.0 have their own names for install.
2247
# Don't use installbsd from OSF since it installs stuff as root
2249
for ac_prog in ginstall scoinst install; do
2250
for ac_exec_ext in '' $ac_executable_extensions; do
2251
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2252
if test $ac_prog = install &&
2253
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2254
# AIX install. It has an incompatible calling convention.
2256
elif test $ac_prog = install &&
2257
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2258
# program-specific install script used by HP pwplus--don't use.
2261
rm -rf conftest.one conftest.two conftest.dir
2262
echo one > conftest.one
2263
echo two > conftest.two
2265
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2266
test -s conftest.one && test -s conftest.two &&
2267
test -s conftest.dir/conftest.one &&
2268
test -s conftest.dir/conftest.two
2270
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2283
rm -rf conftest.one conftest.two conftest.dir
2286
if test "${ac_cv_path_install+set}" = set; then
2287
INSTALL=$ac_cv_path_install
2289
# As a last resort, use the slow shell script. Don't cache a
2290
# value for INSTALL within a source directory, because that will
2291
# break other packages using the cache if that directory is
2292
# removed, or if the value is a relative name.
2293
INSTALL=$ac_install_sh
2296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2297
$as_echo "$INSTALL" >&6; }
2299
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2300
# It thinks the first close brace ends the variable substitution.
2301
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2303
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2305
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2308
$as_echo_n "checking whether build environment is sane... " >&6; }
2311
echo timestamp > conftest.file
2312
# Reject unsafe characters in $srcdir or the absolute working directory
2313
# name. Accept space and tab only in the latter.
2317
*[\\\"\#\$\&\'\`$am_lf]*)
2318
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2321
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2322
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2325
# Do `set' in a subshell so we don't clobber the current shell's
2326
# arguments. Must try -L first in case configure is actually a
2327
# symlink; some systems play weird games with the mod time of symlinks
2328
# (eg FreeBSD returns the mod time of the symlink's containing
2331
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2332
if test "$*" = "X"; then
2334
set X `ls -t "$srcdir/configure" conftest.file`
2337
if test "$*" != "X $srcdir/configure conftest.file" \
2338
&& test "$*" != "X conftest.file $srcdir/configure"; then
2340
# If neither matched, then we have a broken ls. This can happen
2341
# if, for instance, CONFIG_SHELL is bash and it inherits a
2342
# broken ls alias from the environment. This has actually
2343
# happened. Such a system could not be considered "sane".
2344
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2345
alias in your environment" "$LINENO" 5
2348
test "$2" = conftest.file
2354
as_fn_error $? "newly created file is older than distributed files!
2355
Check your system clock" "$LINENO" 5
2357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2358
$as_echo "yes" >&6; }
2359
test "$program_prefix" != NONE &&
2360
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2361
# Use a double $ so make ignores it.
2362
test "$program_suffix" != NONE &&
2363
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2364
# Double any \ or $.
2365
# By default was `s,x,x', remove it if useless.
2366
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2367
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2369
# expand $ac_aux_dir to an absolute path
2370
am_aux_dir=`cd $ac_aux_dir && pwd`
2372
if test x"${MISSING+set}" != xset; then
2375
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2377
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2380
# Use eval to expand $SHELL
2381
if eval "$MISSING --run true"; then
2382
am_missing_run="$MISSING --run "
2385
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2386
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2389
if test x"${install_sh}" != xset; then
2392
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2394
install_sh="\${SHELL} $am_aux_dir/install-sh"
2398
# Installed binaries are usually stripped using `strip' when the user
2399
# run `make install-strip'. However `strip' might not be the right
2400
# tool to use in cross-compilation environments, therefore Automake
2401
# will honor the `STRIP' environment variable to overrule this program.
2402
if test "$cross_compiling" != no; then
2403
if test -n "$ac_tool_prefix"; then
2404
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2405
set dummy ${ac_tool_prefix}strip; ac_word=$2
2406
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2407
$as_echo_n "checking for $ac_word... " >&6; }
2408
if ${ac_cv_prog_STRIP+:} false; then :
2409
$as_echo_n "(cached) " >&6
2411
if test -n "$STRIP"; then
2412
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2414
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2418
test -z "$as_dir" && as_dir=.
2419
for ac_exec_ext in '' $ac_executable_extensions; do
2420
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2421
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2422
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2431
STRIP=$ac_cv_prog_STRIP
2432
if test -n "$STRIP"; then
2433
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2434
$as_echo "$STRIP" >&6; }
2436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2437
$as_echo "no" >&6; }
2442
if test -z "$ac_cv_prog_STRIP"; then
2444
# Extract the first word of "strip", so it can be a program name with args.
2445
set dummy strip; ac_word=$2
2446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2447
$as_echo_n "checking for $ac_word... " >&6; }
2448
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2449
$as_echo_n "(cached) " >&6
2451
if test -n "$ac_ct_STRIP"; then
2452
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2454
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2458
test -z "$as_dir" && as_dir=.
2459
for ac_exec_ext in '' $ac_executable_extensions; do
2460
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2461
ac_cv_prog_ac_ct_STRIP="strip"
2462
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2471
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2472
if test -n "$ac_ct_STRIP"; then
2473
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2474
$as_echo "$ac_ct_STRIP" >&6; }
2476
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2477
$as_echo "no" >&6; }
2480
if test "x$ac_ct_STRIP" = x; then
2483
case $cross_compiling:$ac_tool_warned in
2485
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2486
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2487
ac_tool_warned=yes ;;
2492
STRIP="$ac_cv_prog_STRIP"
2496
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2498
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2499
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2500
if test -z "$MKDIR_P"; then
2501
if ${ac_cv_path_mkdir+:} false; then :
2502
$as_echo_n "(cached) " >&6
2504
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2505
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2508
test -z "$as_dir" && as_dir=.
2509
for ac_prog in mkdir gmkdir; do
2510
for ac_exec_ext in '' $ac_executable_extensions; do
2511
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2512
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2513
'mkdir (GNU coreutils) '* | \
2514
'mkdir (coreutils) '* | \
2515
'mkdir (fileutils) '4.1*)
2516
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2526
test -d ./--version && rmdir ./--version
2527
if test "${ac_cv_path_mkdir+set}" = set; then
2528
MKDIR_P="$ac_cv_path_mkdir -p"
2530
# As a last resort, use the slow shell script. Don't cache a
2531
# value for MKDIR_P within a source directory, because that will
2532
# break other packages using the cache if that directory is
2533
# removed, or if the value is a relative name.
2534
MKDIR_P="$ac_install_sh -d"
2537
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2538
$as_echo "$MKDIR_P" >&6; }
2542
[\\/$]* | ?:[\\/]*) ;;
2543
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2546
for ac_prog in gawk mawk nawk awk
2548
# Extract the first word of "$ac_prog", so it can be a program name with args.
2549
set dummy $ac_prog; ac_word=$2
2550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2551
$as_echo_n "checking for $ac_word... " >&6; }
2552
if ${ac_cv_prog_AWK+:} false; then :
2553
$as_echo_n "(cached) " >&6
2555
if test -n "$AWK"; then
2556
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2558
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2562
test -z "$as_dir" && as_dir=.
2563
for ac_exec_ext in '' $ac_executable_extensions; do
2564
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2565
ac_cv_prog_AWK="$ac_prog"
2566
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2576
if test -n "$AWK"; then
2577
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2578
$as_echo "$AWK" >&6; }
2580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2581
$as_echo "no" >&6; }
2585
test -n "$AWK" && break
2588
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2589
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2591
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2592
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2593
$as_echo_n "(cached) " >&6
2595
cat >conftest.make <<\_ACEOF
2598
@echo '@@@%%%=$(MAKE)=@@@%%%'
2600
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2601
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2603
eval ac_cv_prog_make_${ac_make}_set=yes;;
2605
eval ac_cv_prog_make_${ac_make}_set=no;;
2609
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2611
$as_echo "yes" >&6; }
2614
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2615
$as_echo "no" >&6; }
2616
SET_MAKE="MAKE=${MAKE-make}"
2619
rm -rf .tst 2>/dev/null
2620
mkdir .tst 2>/dev/null
2621
if test -d .tst; then
2626
rmdir .tst 2>/dev/null
2628
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2629
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2630
# is not polluted with repeated "-I."
2631
am__isrc=' -I$(srcdir)'
2632
# test to see if srcdir already configured
2633
if test -f $srcdir/config.status; then
2634
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2638
# test whether we have cygpath
2639
if test -z "$CYGPATH_W"; then
2640
if (cygpath --version) >/dev/null 2>/dev/null; then
2641
CYGPATH_W='cygpath -w'
2648
# Define the identity of the package.
2649
PACKAGE='sflphone-client-gnome'
2653
cat >>confdefs.h <<_ACEOF
2654
#define PACKAGE "$PACKAGE"
2658
cat >>confdefs.h <<_ACEOF
2659
#define VERSION "$VERSION"
2662
# Some tools Automake needs.
2664
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2667
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2670
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2673
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2676
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2678
# We need awk for the "check" target. The system "awk" is bad on
2680
# Always define AMTAR for backward compatibility.
2682
AMTAR=${AMTAR-"${am_missing_run}tar"}
2684
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2691
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
2692
$as_echo_n "checking whether ln -s works... " >&6; }
2694
if test "$LN_S" = "ln -s"; then
2695
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2696
$as_echo "yes" >&6; }
2698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
2699
$as_echo "no, using $LN_S" >&6; }
2709
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
2710
if test -n "$ac_tool_prefix"; then
2711
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
2712
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
2713
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2714
$as_echo_n "checking for $ac_word... " >&6; }
2715
if ${ac_cv_path_PKG_CONFIG+:} false; then :
2716
$as_echo_n "(cached) " >&6
2720
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
2723
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2727
test -z "$as_dir" && as_dir=.
2728
for ac_exec_ext in '' $ac_executable_extensions; do
2729
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2730
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2731
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2741
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2742
if test -n "$PKG_CONFIG"; then
2743
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
2744
$as_echo "$PKG_CONFIG" >&6; }
2746
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2747
$as_echo "no" >&6; }
2752
if test -z "$ac_cv_path_PKG_CONFIG"; then
2753
ac_pt_PKG_CONFIG=$PKG_CONFIG
2754
# Extract the first word of "pkg-config", so it can be a program name with args.
2755
set dummy pkg-config; ac_word=$2
2756
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2757
$as_echo_n "checking for $ac_word... " >&6; }
2758
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
2759
$as_echo_n "(cached) " >&6
2761
case $ac_pt_PKG_CONFIG in
2763
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
2766
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770
test -z "$as_dir" && as_dir=.
2771
for ac_exec_ext in '' $ac_executable_extensions; do
2772
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2773
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2774
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2784
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
2785
if test -n "$ac_pt_PKG_CONFIG"; then
2786
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
2787
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
2789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2790
$as_echo "no" >&6; }
2793
if test "x$ac_pt_PKG_CONFIG" = x; then
2796
case $cross_compiling:$ac_tool_warned in
2798
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2799
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2800
ac_tool_warned=yes ;;
2802
PKG_CONFIG=$ac_pt_PKG_CONFIG
2805
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
2809
if test -n "$PKG_CONFIG"; then
2810
_pkg_min_version=0.9.0
2811
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
2812
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
2813
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
2814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2815
$as_echo "yes" >&6; }
2817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2818
$as_echo "no" >&6; }
2823
gdu_cv_version_required=0.3.2
2825
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5
2826
$as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; }
2827
if test -n "$PKG_CONFIG" && \
2828
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5
2829
($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5
2831
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2832
test $ac_status = 0; }; then
2838
if test "$gdu_cv_have_gdu" = "yes"; then
2839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2840
$as_echo "yes" >&6; }
2843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2844
$as_echo "no" >&6; }
2845
as_fn_error $? "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5
2850
# Check whether --with-help-dir was given.
2851
if test "${with_help_dir+set}" = set; then :
2852
withval=$with_help_dir;
2854
with_help_dir='${datadir}/gnome/help'
2857
HELP_DIR="$with_help_dir"
2861
# Check whether --with-omf-dir was given.
2862
if test "${with_omf_dir+set}" = set; then :
2863
withval=$with_omf_dir;
2865
with_omf_dir='${datadir}/omf'
2868
OMF_DIR="$with_omf_dir"
2872
# Check whether --with-help-formats was given.
2873
if test "${with_help_formats+set}" = set; then :
2874
withval=$with_help_formats;
2876
with_help_formats=''
2879
DOC_USER_FORMATS="$with_help_formats"
2882
# Check whether --enable-scrollkeeper was given.
2883
if test "${enable_scrollkeeper+set}" = set; then :
2884
enableval=$enable_scrollkeeper;
2886
enable_scrollkeeper=yes
2889
if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then
2898
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
2901
if test "$gdu_cv_have_gdu" = "yes"; then
2902
HAVE_GNOME_DOC_UTILS_TRUE=
2903
HAVE_GNOME_DOC_UTILS_FALSE='#'
2905
HAVE_GNOME_DOC_UTILS_TRUE='#'
2906
HAVE_GNOME_DOC_UTILS_FALSE=
2914
# Check whether --enable-silent-rules was given.
2915
if test "${enable_silent_rules+set}" = set; then :
2916
enableval=$enable_silent_rules;
2919
case $enable_silent_rules in
2920
yes) AM_DEFAULT_VERBOSITY=0;;
2921
no) AM_DEFAULT_VERBOSITY=1;;
2922
*) AM_DEFAULT_VERBOSITY=0;;
2927
DEPDIR="${am__leading_dot}deps"
2929
ac_config_commands="$ac_config_commands depfiles"
2932
am_make=${MAKE-make}
2933
cat > confinc << 'END'
2935
@echo this is the am__doit target
2938
# If we don't find an include directive, just comment out the code.
2939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2940
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2944
# First try GNU make style include.
2945
echo "include confinc" > confmf
2946
# Ignore all kinds of additional output from `make'.
2947
case `$am_make -s -f confmf 2> /dev/null` in #(
2948
*the\ am__doit\ target*)
2954
# Now try BSD make style include.
2955
if test "$am__include" = "#"; then
2956
echo '.include "confinc"' > confmf
2957
case `$am_make -s -f confmf 2> /dev/null` in #(
2958
*the\ am__doit\ target*)
2959
am__include=.include
2967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2968
$as_echo "$_am_result" >&6; }
2969
rm -f confinc confmf
2971
# Check whether --enable-dependency-tracking was given.
2972
if test "${enable_dependency_tracking+set}" = set; then :
2973
enableval=$enable_dependency_tracking;
2976
if test "x$enable_dependency_tracking" != xno; then
2977
am_depcomp="$ac_aux_dir/depcomp"
2980
if test "x$enable_dependency_tracking" != xno; then
2990
ac_cpp='$CPP $CPPFLAGS'
2991
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2992
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2993
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2994
if test -n "$ac_tool_prefix"; then
2995
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2996
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2998
$as_echo_n "checking for $ac_word... " >&6; }
2999
if ${ac_cv_prog_CC+:} false; then :
3000
$as_echo_n "(cached) " >&6
3002
if test -n "$CC"; then
3003
ac_cv_prog_CC="$CC" # Let the user override the test.
3005
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3009
test -z "$as_dir" && as_dir=.
3010
for ac_exec_ext in '' $ac_executable_extensions; do
3011
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3012
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3013
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3023
if test -n "$CC"; then
3024
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3025
$as_echo "$CC" >&6; }
3027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3028
$as_echo "no" >&6; }
3033
if test -z "$ac_cv_prog_CC"; then
3035
# Extract the first word of "gcc", so it can be a program name with args.
3036
set dummy gcc; ac_word=$2
3037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3038
$as_echo_n "checking for $ac_word... " >&6; }
3039
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3040
$as_echo_n "(cached) " >&6
3042
if test -n "$ac_ct_CC"; then
3043
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3045
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049
test -z "$as_dir" && as_dir=.
3050
for ac_exec_ext in '' $ac_executable_extensions; do
3051
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3052
ac_cv_prog_ac_ct_CC="gcc"
3053
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3062
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3063
if test -n "$ac_ct_CC"; then
3064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3065
$as_echo "$ac_ct_CC" >&6; }
3067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3068
$as_echo "no" >&6; }
3071
if test "x$ac_ct_CC" = x; then
3074
case $cross_compiling:$ac_tool_warned in
3076
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3077
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3078
ac_tool_warned=yes ;;
3086
if test -z "$CC"; then
3087
if test -n "$ac_tool_prefix"; then
3088
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3089
set dummy ${ac_tool_prefix}cc; ac_word=$2
3090
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3091
$as_echo_n "checking for $ac_word... " >&6; }
3092
if ${ac_cv_prog_CC+:} false; then :
3093
$as_echo_n "(cached) " >&6
3095
if test -n "$CC"; then
3096
ac_cv_prog_CC="$CC" # Let the user override the test.
3098
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3102
test -z "$as_dir" && as_dir=.
3103
for ac_exec_ext in '' $ac_executable_extensions; do
3104
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3105
ac_cv_prog_CC="${ac_tool_prefix}cc"
3106
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3116
if test -n "$CC"; then
3117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3118
$as_echo "$CC" >&6; }
3120
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3121
$as_echo "no" >&6; }
3127
if test -z "$CC"; then
3128
# Extract the first word of "cc", so it can be a program name with args.
3129
set dummy cc; ac_word=$2
3130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3131
$as_echo_n "checking for $ac_word... " >&6; }
3132
if ${ac_cv_prog_CC+:} false; then :
3133
$as_echo_n "(cached) " >&6
3135
if test -n "$CC"; then
3136
ac_cv_prog_CC="$CC" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3146
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3147
ac_prog_rejected=yes
3151
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3158
if test $ac_prog_rejected = yes; then
3159
# We found a bogon in the path, so make sure we never use it.
3160
set dummy $ac_cv_prog_CC
3162
if test $# != 0; then
3163
# We chose a different compiler from the bogus one.
3164
# However, it has the same basename, so the bogon will be chosen
3165
# first if we set CC to just the basename; use the full file name.
3167
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3173
if test -n "$CC"; then
3174
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3175
$as_echo "$CC" >&6; }
3177
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3178
$as_echo "no" >&6; }
3183
if test -z "$CC"; then
3184
if test -n "$ac_tool_prefix"; then
3185
for ac_prog in cl.exe
3187
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3188
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3190
$as_echo_n "checking for $ac_word... " >&6; }
3191
if ${ac_cv_prog_CC+:} false; then :
3192
$as_echo_n "(cached) " >&6
3194
if test -n "$CC"; then
3195
ac_cv_prog_CC="$CC" # Let the user override the test.
3197
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3201
test -z "$as_dir" && as_dir=.
3202
for ac_exec_ext in '' $ac_executable_extensions; do
3203
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3204
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3205
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3215
if test -n "$CC"; then
3216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3217
$as_echo "$CC" >&6; }
3219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3220
$as_echo "no" >&6; }
3224
test -n "$CC" && break
3227
if test -z "$CC"; then
3229
for ac_prog in cl.exe
3231
# Extract the first word of "$ac_prog", so it can be a program name with args.
3232
set dummy $ac_prog; ac_word=$2
3233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3234
$as_echo_n "checking for $ac_word... " >&6; }
3235
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3236
$as_echo_n "(cached) " >&6
3238
if test -n "$ac_ct_CC"; then
3239
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3241
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3245
test -z "$as_dir" && as_dir=.
3246
for ac_exec_ext in '' $ac_executable_extensions; do
3247
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3248
ac_cv_prog_ac_ct_CC="$ac_prog"
3249
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3258
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3259
if test -n "$ac_ct_CC"; then
3260
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3261
$as_echo "$ac_ct_CC" >&6; }
3263
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3264
$as_echo "no" >&6; }
3268
test -n "$ac_ct_CC" && break
3271
if test "x$ac_ct_CC" = x; then
3274
case $cross_compiling:$ac_tool_warned in
3276
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3277
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3278
ac_tool_warned=yes ;;
3287
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3288
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3289
as_fn_error $? "no acceptable C compiler found in \$PATH
3290
See \`config.log' for more details" "$LINENO" 5; }
3292
# Provide some information about the compiler.
3293
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3296
for ac_option in --version -v -V -qversion; do
3297
{ { ac_try="$ac_compiler $ac_option >&5"
3299
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3300
*) ac_try_echo=$ac_try;;
3302
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3303
$as_echo "$ac_try_echo"; } >&5
3304
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3306
if test -s conftest.err; then
3308
... rest of stderr output deleted ...
3309
10q' conftest.err >conftest.er1
3310
cat conftest.er1 >&5
3312
rm -f conftest.er1 conftest.err
3313
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3314
test $ac_status = 0; }
3317
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318
/* end confdefs.h. */
3328
ac_clean_files_save=$ac_clean_files
3329
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3330
# Try to create an executable without -o first, disregard a.out.
3331
# It will help us diagnose broken compilers, and finding out an intuition
3333
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3334
$as_echo_n "checking whether the C compiler works... " >&6; }
3335
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3337
# The possible output files:
3338
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3341
for ac_file in $ac_files
3344
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3345
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3350
if { { ac_try="$ac_link_default"
3352
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3353
*) ac_try_echo=$ac_try;;
3355
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3356
$as_echo "$ac_try_echo"; } >&5
3357
(eval "$ac_link_default") 2>&5
3359
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3360
test $ac_status = 0; }; then :
3361
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3362
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3363
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3364
# so that the user can short-circuit this test for compilers unknown to
3366
for ac_file in $ac_files ''
3368
test -f "$ac_file" || continue
3370
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3373
# We found the default executable, but exeext='' is most
3377
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3379
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3381
# We set ac_cv_exeext here because the later test for it is not
3382
# safe: cross compilers may not add the suffix if given an `-o'
3383
# argument, so we may need to know it at that point already.
3384
# Even if this section looks crufty: it has the advantage of
3391
test "$ac_cv_exeext" = no && ac_cv_exeext=
3396
if test -z "$ac_file"; then :
3397
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3398
$as_echo "no" >&6; }
3399
$as_echo "$as_me: failed program was:" >&5
3400
sed 's/^/| /' conftest.$ac_ext >&5
3402
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3403
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3404
as_fn_error 77 "C compiler cannot create executables
3405
See \`config.log' for more details" "$LINENO" 5; }
3407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3408
$as_echo "yes" >&6; }
3410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3411
$as_echo_n "checking for C compiler default output file name... " >&6; }
3412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3413
$as_echo "$ac_file" >&6; }
3414
ac_exeext=$ac_cv_exeext
3416
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3417
ac_clean_files=$ac_clean_files_save
3418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3419
$as_echo_n "checking for suffix of executables... " >&6; }
3420
if { { ac_try="$ac_link"
3422
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3423
*) ac_try_echo=$ac_try;;
3425
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3426
$as_echo "$ac_try_echo"; } >&5
3427
(eval "$ac_link") 2>&5
3429
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3430
test $ac_status = 0; }; then :
3431
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3432
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3433
# work properly (i.e., refer to `conftest.exe'), while it won't with
3435
for ac_file in conftest.exe conftest conftest.*; do
3436
test -f "$ac_file" || continue
3438
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3439
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3445
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3446
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3447
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3448
See \`config.log' for more details" "$LINENO" 5; }
3450
rm -f conftest conftest$ac_cv_exeext
3451
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3452
$as_echo "$ac_cv_exeext" >&6; }
3454
rm -f conftest.$ac_ext
3455
EXEEXT=$ac_cv_exeext
3457
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3458
/* end confdefs.h. */
3463
FILE *f = fopen ("conftest.out", "w");
3464
return ferror (f) || fclose (f) != 0;
3470
ac_clean_files="$ac_clean_files conftest.out"
3471
# Check that the compiler produces executables we can run. If not, either
3472
# the compiler is broken, or we cross compile.
3473
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3474
$as_echo_n "checking whether we are cross compiling... " >&6; }
3475
if test "$cross_compiling" != yes; then
3476
{ { ac_try="$ac_link"
3478
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3479
*) ac_try_echo=$ac_try;;
3481
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3482
$as_echo "$ac_try_echo"; } >&5
3483
(eval "$ac_link") 2>&5
3485
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3486
test $ac_status = 0; }
3487
if { ac_try='./conftest$ac_cv_exeext'
3488
{ { case "(($ac_try" in
3489
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3490
*) ac_try_echo=$ac_try;;
3492
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3493
$as_echo "$ac_try_echo"; } >&5
3494
(eval "$ac_try") 2>&5
3496
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3497
test $ac_status = 0; }; }; then
3500
if test "$cross_compiling" = maybe; then
3503
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3504
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3505
as_fn_error $? "cannot run C compiled programs.
3506
If you meant to cross compile, use \`--host'.
3507
See \`config.log' for more details" "$LINENO" 5; }
3511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3512
$as_echo "$cross_compiling" >&6; }
3514
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3515
ac_clean_files=$ac_clean_files_save
3516
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3517
$as_echo_n "checking for suffix of object files... " >&6; }
3518
if ${ac_cv_objext+:} false; then :
3519
$as_echo_n "(cached) " >&6
3521
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3522
/* end confdefs.h. */
3532
rm -f conftest.o conftest.obj
3533
if { { ac_try="$ac_compile"
3535
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3536
*) ac_try_echo=$ac_try;;
3538
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3539
$as_echo "$ac_try_echo"; } >&5
3540
(eval "$ac_compile") 2>&5
3542
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3543
test $ac_status = 0; }; then :
3544
for ac_file in conftest.o conftest.obj conftest.*; do
3545
test -f "$ac_file" || continue;
3547
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3548
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3553
$as_echo "$as_me: failed program was:" >&5
3554
sed 's/^/| /' conftest.$ac_ext >&5
3556
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3557
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3558
as_fn_error $? "cannot compute suffix of object files: cannot compile
3559
See \`config.log' for more details" "$LINENO" 5; }
3561
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3564
$as_echo "$ac_cv_objext" >&6; }
3565
OBJEXT=$ac_cv_objext
3567
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3568
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3569
if ${ac_cv_c_compiler_gnu+:} false; then :
3570
$as_echo_n "(cached) " >&6
3572
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3573
/* end confdefs.h. */
3586
if ac_fn_c_try_compile "$LINENO"; then :
3591
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3592
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3595
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3596
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3597
if test $ac_compiler_gnu = yes; then
3602
ac_test_CFLAGS=${CFLAGS+set}
3603
ac_save_CFLAGS=$CFLAGS
3604
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3605
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3606
if ${ac_cv_prog_cc_g+:} false; then :
3607
$as_echo_n "(cached) " >&6
3609
ac_save_c_werror_flag=$ac_c_werror_flag
3610
ac_c_werror_flag=yes
3613
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3614
/* end confdefs.h. */
3624
if ac_fn_c_try_compile "$LINENO"; then :
3628
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3629
/* end confdefs.h. */
3639
if ac_fn_c_try_compile "$LINENO"; then :
3642
ac_c_werror_flag=$ac_save_c_werror_flag
3644
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3645
/* end confdefs.h. */
3655
if ac_fn_c_try_compile "$LINENO"; then :
3658
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3660
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3662
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3663
ac_c_werror_flag=$ac_save_c_werror_flag
3665
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3666
$as_echo "$ac_cv_prog_cc_g" >&6; }
3667
if test "$ac_test_CFLAGS" = set; then
3668
CFLAGS=$ac_save_CFLAGS
3669
elif test $ac_cv_prog_cc_g = yes; then
3670
if test "$GCC" = yes; then
3676
if test "$GCC" = yes; then
3682
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3683
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3684
if ${ac_cv_prog_cc_c89+:} false; then :
3685
$as_echo_n "(cached) " >&6
3687
ac_cv_prog_cc_c89=no
3689
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3690
/* end confdefs.h. */
3693
#include <sys/types.h>
3694
#include <sys/stat.h>
3695
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3696
struct buf { int x; };
3697
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3698
static char *e (p, i)
3704
static char *f (char * (*g) (char **, int), char **p, ...)
3709
s = g (p, va_arg (v,int));
3714
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3715
function prototypes and stuff, but not '\xHH' hex character constants.
3716
These don't provoke an error unfortunately, instead are silently treated
3717
as 'x'. The following induces an error, until -std is added to get
3718
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3719
array size at least. It's necessary to write '\x00'==0 to get something
3720
that's true only with -std. */
3721
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3723
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3724
inside strings and character constants. */
3726
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3728
int test (int i, double x);
3729
struct s1 {int (*f) (int a);};
3730
struct s2 {int (*f) (double a);};
3731
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3737
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3742
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3743
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3745
CC="$ac_save_CC $ac_arg"
3746
if ac_fn_c_try_compile "$LINENO"; then :
3747
ac_cv_prog_cc_c89=$ac_arg
3749
rm -f core conftest.err conftest.$ac_objext
3750
test "x$ac_cv_prog_cc_c89" != "xno" && break
3752
rm -f conftest.$ac_ext
3757
case "x$ac_cv_prog_cc_c89" in
3759
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3760
$as_echo "none needed" >&6; } ;;
3762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3763
$as_echo "unsupported" >&6; } ;;
3765
CC="$CC $ac_cv_prog_cc_c89"
3766
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3767
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3769
if test "x$ac_cv_prog_cc_c89" != xno; then :
3774
ac_cpp='$CPP $CPPFLAGS'
3775
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3776
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3777
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3779
depcc="$CC" am_compiler_list=
3781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3782
$as_echo_n "checking dependency style of $depcc... " >&6; }
3783
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3784
$as_echo_n "(cached) " >&6
3786
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3787
# We make a subdir and do the tests there. Otherwise we can end up
3788
# making bogus files that we don't know about and never remove. For
3789
# instance it was reported that on HP-UX the gcc test will end up
3790
# making a dummy file named `D' -- because `-MD' means `put the output
3793
# Copy depcomp to subdir because otherwise we won't find it if we're
3794
# using a relative directory.
3795
cp "$am_depcomp" conftest.dir
3797
# We will build objects and dependencies in a subdirectory because
3798
# it helps to detect inapplicable dependency modes. For instance
3799
# both Tru64's cc and ICC support -MD to output dependencies as a
3800
# side effect of compilation, but ICC will put the dependencies in
3801
# the current directory while Tru64 will put them in the object
3805
am_cv_CC_dependencies_compiler_type=none
3806
if test "$am_compiler_list" = ""; then
3807
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3810
case " $depcc " in #(
3811
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3814
for depmode in $am_compiler_list; do
3815
# Setup a source with many dependencies, because some compilers
3816
# like to wrap large dependency lists on column 80 (with \), and
3817
# we should not choose a depcomp mode which is confused by this.
3819
# We need to recreate these files for each test, as the compiler may
3820
# overwrite some of them when testing with obscure command lines.
3821
# This happens at least with the AIX C compiler.
3823
for i in 1 2 3 4 5 6; do
3824
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3825
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3826
# Solaris 8's {/usr,}/bin/sh.
3827
touch sub/conftst$i.h
3829
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3831
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3832
# mode. It turns out that the SunPro C++ compiler does not properly
3833
# handle `-M -o', and we need to detect this. Also, some Intel
3834
# versions had trouble with output in subdirs
3835
am__obj=sub/conftest.${OBJEXT-o}
3836
am__minus_obj="-o $am__obj"
3839
# This depmode causes a compiler race in universal mode.
3840
test "$am__universal" = false || continue
3843
# after this tag, mechanisms are not by side-effect, so they'll
3844
# only be used when explicitly requested
3845
if test "x$enable_dependency_tracking" = xyes; then
3851
msvisualcpp | msvcmsys)
3852
# This compiler won't grok `-c -o', but also, the minuso test has
3853
# not run yet. These depmodes are late enough in the game, and
3854
# so weak that their functioning should not be impacted.
3855
am__obj=conftest.${OBJEXT-o}
3860
if depmode=$depmode \
3861
source=sub/conftest.c object=$am__obj \
3862
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3863
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3864
>/dev/null 2>conftest.err &&
3865
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3866
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3867
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3868
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3869
# icc doesn't choke on unknown options, it will just issue warnings
3870
# or remarks (even with -Werror). So we grep stderr for any message
3871
# that says an option was ignored or not supported.
3872
# When given -MP, icc 7.0 and 7.1 complain thusly:
3873
# icc: Command line warning: ignoring option '-M'; no argument required
3874
# The diagnosis changed in icc 8.0:
3875
# icc: Command line remark: option '-MP' not supported
3876
if (grep 'ignoring option' conftest.err ||
3877
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3878
am_cv_CC_dependencies_compiler_type=$depmode
3887
am_cv_CC_dependencies_compiler_type=none
3891
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3892
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3893
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3896
test "x$enable_dependency_tracking" != xno \
3897
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3899
am__fastdepCC_FALSE='#'
3901
am__fastdepCC_TRUE='#'
3902
am__fastdepCC_FALSE=
3906
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3907
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3908
if ${ac_cv_prog_cc_c99+:} false; then :
3909
$as_echo_n "(cached) " >&6
3911
ac_cv_prog_cc_c99=no
3913
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3914
/* end confdefs.h. */
3916
#include <stdbool.h>
3921
// Check varargs macros. These examples are taken from C99 6.10.3.5.
3922
#define debug(...) fprintf (stderr, __VA_ARGS__)
3923
#define showlist(...) puts (#__VA_ARGS__)
3924
#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3926
test_varargs_macros (void)
3931
debug ("X = %d\n", x);
3932
showlist (The first, second, and third items.);
3933
report (x>y, "x is %d but y is %d", x, y);
3936
// Check long long types.
3937
#define BIG64 18446744073709551615ull
3938
#define BIG32 4294967295ul
3939
#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3941
your preprocessor is broken;
3945
your preprocessor is broken;
3947
static long long int bignum = -9223372036854775807LL;
3948
static unsigned long long int ubignum = BIG64;
3950
struct incomplete_array
3958
const wchar_t *name;
3962
typedef const char *ccp;
3965
test_restrict (ccp restrict text)
3967
// See if C++-style comments work.
3968
// Iterate through items via the restricted pointer.
3969
// Also check for declarations in for loops.
3970
for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3975
// Check varargs and va_copy.
3977
test_varargs (const char *format, ...)
3980
va_start (args, format);
3982
va_copy (args_copy, args);
3993
str = va_arg (args_copy, const char *);
3996
number = va_arg (args_copy, int);
3999
fnumber = va_arg (args_copy, double);
4014
_Bool success = false;
4017
if (test_restrict ("String literal") == 0)
4019
char *restrict newvar = "Another string";
4022
test_varargs ("s, d' f .", "string", 65, 34.234);
4023
test_varargs_macros ();
4025
// Check flexible array members.
4026
struct incomplete_array *ia =
4027
malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4029
for (int i = 0; i < ia->datasize; ++i)
4030
ia->data[i] = i * 1.234;
4032
// Check named initializers.
4033
struct named_init ni = {
4035
.name = L"Test wide string",
4036
.average = 543.34343,
4041
int dynamic_array[ni.number];
4042
dynamic_array[ni.number - 1] = 543;
4044
// work around unused variable warnings
4045
return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4046
|| dynamic_array[ni.number - 1] != 543);
4052
for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
4054
CC="$ac_save_CC $ac_arg"
4055
if ac_fn_c_try_compile "$LINENO"; then :
4056
ac_cv_prog_cc_c99=$ac_arg
4058
rm -f core conftest.err conftest.$ac_objext
4059
test "x$ac_cv_prog_cc_c99" != "xno" && break
4061
rm -f conftest.$ac_ext
4066
case "x$ac_cv_prog_cc_c99" in
4068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4069
$as_echo "none needed" >&6; } ;;
4071
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4072
$as_echo "unsupported" >&6; } ;;
4074
CC="$CC $ac_cv_prog_cc_c99"
4075
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4076
$as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4078
if test "x$ac_cv_prog_cc_c99" != xno; then :
4083
if test "x$CC" != xcc; then
4084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4085
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4087
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4088
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4090
set dummy $CC; ac_cc=`$as_echo "$2" |
4091
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4092
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4093
$as_echo_n "(cached) " >&6
4095
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4096
/* end confdefs.h. */
4106
# Make sure it works both with $CC and with simple cc.
4107
# We do the test twice because some compilers refuse to overwrite an
4108
# existing .o file with -o, though they will create one.
4109
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4111
if { { case "(($ac_try" in
4112
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4113
*) ac_try_echo=$ac_try;;
4115
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4116
$as_echo "$ac_try_echo"; } >&5
4117
(eval "$ac_try") 2>&5
4119
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4120
test $ac_status = 0; } &&
4121
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4122
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4123
*) ac_try_echo=$ac_try;;
4125
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4126
$as_echo "$ac_try_echo"; } >&5
4127
(eval "$ac_try") 2>&5
4129
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4130
test $ac_status = 0; };
4132
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4133
if test "x$CC" != xcc; then
4134
# Test first that cc exists at all.
4135
if { ac_try='cc -c conftest.$ac_ext >&5'
4136
{ { case "(($ac_try" in
4137
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4138
*) ac_try_echo=$ac_try;;
4140
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4141
$as_echo "$ac_try_echo"; } >&5
4142
(eval "$ac_try") 2>&5
4144
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4145
test $ac_status = 0; }; }; then
4146
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4148
if { { case "(($ac_try" in
4149
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4150
*) ac_try_echo=$ac_try;;
4152
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4153
$as_echo "$ac_try_echo"; } >&5
4154
(eval "$ac_try") 2>&5
4156
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4157
test $ac_status = 0; } &&
4158
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4159
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4160
*) ac_try_echo=$ac_try;;
4162
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4163
$as_echo "$ac_try_echo"; } >&5
4164
(eval "$ac_try") 2>&5
4166
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4167
test $ac_status = 0; };
4172
# cc exists but doesn't like -o.
4173
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4178
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4180
rm -f core conftest*
4183
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4185
$as_echo "yes" >&6; }
4187
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188
$as_echo "no" >&6; }
4190
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4194
# FIXME: we rely on the cache variable name because
4195
# there is no other way.
4197
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4198
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4199
if test "$am_t" != yes; then
4200
# Losing compiler, so override with the script.
4201
# FIXME: It is wrong to rewrite CC.
4202
# But if we don't then we get into trouble of one sort or another.
4203
# A longer-term fix would be to have automake use am__CC in this case,
4204
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4205
CC="$am_aux_dir/compile $CC"
4211
ac_cpp='$CPP $CPPFLAGS'
4212
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4213
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4214
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4216
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4217
# On Suns, sometimes $CPP names a directory.
4218
if test -n "$CPP" && test -d "$CPP"; then
4221
if test -z "$CPP"; then
4222
if ${ac_cv_prog_CPP+:} false; then :
4223
$as_echo_n "(cached) " >&6
4225
# Double quotes because CPP needs to be expanded
4226
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4229
for ac_c_preproc_warn_flag in '' yes
4231
# Use a header file that comes with gcc, so configuring glibc
4232
# with a fresh cross-compiler works.
4233
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4234
# <limits.h> exists even on freestanding compilers.
4235
# On the NeXT, cc -E runs the code through the compiler's parser,
4236
# not just through cpp. "Syntax error" is here to catch this case.
4237
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238
/* end confdefs.h. */
4240
# include <limits.h>
4242
# include <assert.h>
4246
if ac_fn_c_try_cpp "$LINENO"; then :
4249
# Broken: fails on valid input.
4252
rm -f conftest.err conftest.i conftest.$ac_ext
4254
# OK, works on sane cases. Now check whether nonexistent headers
4255
# can be detected and how.
4256
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257
/* end confdefs.h. */
4258
#include <ac_nonexistent.h>
4260
if ac_fn_c_try_cpp "$LINENO"; then :
4261
# Broken: success on invalid input.
4264
# Passes both tests.
4268
rm -f conftest.err conftest.i conftest.$ac_ext
4271
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4272
rm -f conftest.i conftest.err conftest.$ac_ext
4273
if $ac_preproc_ok; then :
4285
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4286
$as_echo "$CPP" >&6; }
4288
for ac_c_preproc_warn_flag in '' yes
4290
# Use a header file that comes with gcc, so configuring glibc
4291
# with a fresh cross-compiler works.
4292
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4293
# <limits.h> exists even on freestanding compilers.
4294
# On the NeXT, cc -E runs the code through the compiler's parser,
4295
# not just through cpp. "Syntax error" is here to catch this case.
4296
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4297
/* end confdefs.h. */
4299
# include <limits.h>
4301
# include <assert.h>
4305
if ac_fn_c_try_cpp "$LINENO"; then :
4308
# Broken: fails on valid input.
4311
rm -f conftest.err conftest.i conftest.$ac_ext
4313
# OK, works on sane cases. Now check whether nonexistent headers
4314
# can be detected and how.
4315
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4316
/* end confdefs.h. */
4317
#include <ac_nonexistent.h>
4319
if ac_fn_c_try_cpp "$LINENO"; then :
4320
# Broken: success on invalid input.
4323
# Passes both tests.
4327
rm -f conftest.err conftest.i conftest.$ac_ext
4330
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4331
rm -f conftest.i conftest.err conftest.$ac_ext
4332
if $ac_preproc_ok; then :
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 $? "C preprocessor \"$CPP\" fails sanity check
4338
See \`config.log' for more details" "$LINENO" 5; }
4342
ac_cpp='$CPP $CPPFLAGS'
4343
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4344
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4345
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4348
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4349
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4350
if ${ac_cv_path_GREP+:} false; then :
4351
$as_echo_n "(cached) " >&6
4353
if test -z "$GREP"; then
4354
ac_path_GREP_found=false
4355
# Loop through the user's path and test for each of PROGNAME-LIST
4356
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4357
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4360
test -z "$as_dir" && as_dir=.
4361
for ac_prog in grep ggrep; do
4362
for ac_exec_ext in '' $ac_executable_extensions; do
4363
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4364
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4365
# Check for GNU ac_path_GREP and select it if it is found.
4366
# Check for GNU $ac_path_GREP
4367
case `"$ac_path_GREP" --version 2>&1` in
4369
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4372
$as_echo_n 0123456789 >"conftest.in"
4375
cat "conftest.in" "conftest.in" >"conftest.tmp"
4376
mv "conftest.tmp" "conftest.in"
4377
cp "conftest.in" "conftest.nl"
4378
$as_echo 'GREP' >> "conftest.nl"
4379
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4380
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4381
as_fn_arith $ac_count + 1 && ac_count=$as_val
4382
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4383
# Best one so far, save it but keep looking for a better one
4384
ac_cv_path_GREP="$ac_path_GREP"
4385
ac_path_GREP_max=$ac_count
4387
# 10*(2^10) chars as input seems more than enough
4388
test $ac_count -gt 10 && break
4390
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4393
$ac_path_GREP_found && break 3
4398
if test -z "$ac_cv_path_GREP"; then
4399
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4402
ac_cv_path_GREP=$GREP
4406
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4407
$as_echo "$ac_cv_path_GREP" >&6; }
4408
GREP="$ac_cv_path_GREP"
4411
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4412
$as_echo_n "checking for egrep... " >&6; }
4413
if ${ac_cv_path_EGREP+:} false; then :
4414
$as_echo_n "(cached) " >&6
4416
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4417
then ac_cv_path_EGREP="$GREP -E"
4419
if test -z "$EGREP"; then
4420
ac_path_EGREP_found=false
4421
# Loop through the user's path and test for each of PROGNAME-LIST
4422
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4423
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4426
test -z "$as_dir" && as_dir=.
4427
for ac_prog in egrep; do
4428
for ac_exec_ext in '' $ac_executable_extensions; do
4429
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4430
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4431
# Check for GNU ac_path_EGREP and select it if it is found.
4432
# Check for GNU $ac_path_EGREP
4433
case `"$ac_path_EGREP" --version 2>&1` in
4435
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4438
$as_echo_n 0123456789 >"conftest.in"
4441
cat "conftest.in" "conftest.in" >"conftest.tmp"
4442
mv "conftest.tmp" "conftest.in"
4443
cp "conftest.in" "conftest.nl"
4444
$as_echo 'EGREP' >> "conftest.nl"
4445
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4446
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4447
as_fn_arith $ac_count + 1 && ac_count=$as_val
4448
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4449
# Best one so far, save it but keep looking for a better one
4450
ac_cv_path_EGREP="$ac_path_EGREP"
4451
ac_path_EGREP_max=$ac_count
4453
# 10*(2^10) chars as input seems more than enough
4454
test $ac_count -gt 10 && break
4456
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4459
$ac_path_EGREP_found && break 3
4464
if test -z "$ac_cv_path_EGREP"; then
4465
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4468
ac_cv_path_EGREP=$EGREP
4473
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4474
$as_echo "$ac_cv_path_EGREP" >&6; }
4475
EGREP="$ac_cv_path_EGREP"
4478
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4479
$as_echo_n "checking for ANSI C header files... " >&6; }
4480
if ${ac_cv_header_stdc+:} false; then :
4481
$as_echo_n "(cached) " >&6
4483
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4484
/* end confdefs.h. */
4498
if ac_fn_c_try_compile "$LINENO"; then :
4499
ac_cv_header_stdc=yes
4501
ac_cv_header_stdc=no
4503
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4505
if test $ac_cv_header_stdc = yes; then
4506
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4507
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508
/* end confdefs.h. */
4512
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4513
$EGREP "memchr" >/dev/null 2>&1; then :
4516
ac_cv_header_stdc=no
4522
if test $ac_cv_header_stdc = yes; then
4523
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4524
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525
/* end confdefs.h. */
4529
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4530
$EGREP "free" >/dev/null 2>&1; then :
4533
ac_cv_header_stdc=no
4539
if test $ac_cv_header_stdc = yes; then
4540
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4541
if test "$cross_compiling" = yes; then :
4544
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4545
/* end confdefs.h. */
4548
#if ((' ' & 0x0FF) == 0x020)
4549
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4550
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4552
# define ISLOWER(c) \
4553
(('a' <= (c) && (c) <= 'i') \
4554
|| ('j' <= (c) && (c) <= 'r') \
4555
|| ('s' <= (c) && (c) <= 'z'))
4556
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4559
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4564
for (i = 0; i < 256; i++)
4565
if (XOR (islower (i), ISLOWER (i))
4566
|| toupper (i) != TOUPPER (i))
4571
if ac_fn_c_try_run "$LINENO"; then :
4574
ac_cv_header_stdc=no
4576
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4577
conftest.$ac_objext conftest.beam conftest.$ac_ext
4582
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4583
$as_echo "$ac_cv_header_stdc" >&6; }
4584
if test $ac_cv_header_stdc = yes; then
4586
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4592
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4593
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4599
macro_revision='1.3293'
4613
ltmain="$ac_aux_dir/ltmain.sh"
4615
# Make sure we can run config.sub.
4616
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4617
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4619
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4620
$as_echo_n "checking build system type... " >&6; }
4621
if ${ac_cv_build+:} false; then :
4622
$as_echo_n "(cached) " >&6
4624
ac_build_alias=$build_alias
4625
test "x$ac_build_alias" = x &&
4626
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4627
test "x$ac_build_alias" = x &&
4628
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4629
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4630
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4634
$as_echo "$ac_cv_build" >&6; }
4635
case $ac_cv_build in
4637
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4640
ac_save_IFS=$IFS; IFS='-'
4646
# Remember, the first character of IFS is used to create $*,
4647
# except with old shells:
4650
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4654
$as_echo_n "checking host system type... " >&6; }
4655
if ${ac_cv_host+:} false; then :
4656
$as_echo_n "(cached) " >&6
4658
if test "x$host_alias" = x; then
4659
ac_cv_host=$ac_cv_build
4661
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4662
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4666
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4667
$as_echo "$ac_cv_host" >&6; }
4670
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4673
ac_save_IFS=$IFS; IFS='-'
4679
# Remember, the first character of IFS is used to create $*,
4680
# except with old shells:
4683
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4686
# Backslashify metacharacters that are still active within
4687
# double-quoted strings.
4688
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4690
# Same as above, but do not quote variable references.
4691
double_quote_subst='s/\(["`\\]\)/\\\1/g'
4693
# Sed substitution to delay expansion of an escaped shell variable in a
4694
# double_quote_subst'ed string.
4695
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4697
# Sed substitution to delay expansion of an escaped single quote.
4698
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4700
# Sed substitution to avoid accidental globbing in evaled expressions
4701
no_glob_subst='s/\*/\\\*/g'
4703
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4704
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4705
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4707
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4708
$as_echo_n "checking how to print strings... " >&6; }
4709
# Test print first, because it will be a builtin if present.
4710
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4711
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4713
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4716
# Use this function as a fallback that always works.
4717
func_fallback_echo ()
4719
eval 'cat <<_LTECHO_EOF
4723
ECHO='func_fallback_echo'
4726
# func_echo_all arg...
4727
# Invoke $ECHO with all args, space-separated.
4734
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4735
$as_echo "printf" >&6; } ;;
4736
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4737
$as_echo "print -r" >&6; } ;;
4738
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4739
$as_echo "cat" >&6; } ;;
4755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4756
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4757
if ${ac_cv_path_SED+:} false; then :
4758
$as_echo_n "(cached) " >&6
4760
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4761
for ac_i in 1 2 3 4 5 6 7; do
4762
ac_script="$ac_script$as_nl$ac_script"
4764
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4765
{ ac_script=; unset ac_script;}
4766
if test -z "$SED"; then
4767
ac_path_SED_found=false
4768
# Loop through the user's path and test for each of PROGNAME-LIST
4769
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4773
test -z "$as_dir" && as_dir=.
4774
for ac_prog in sed gsed; do
4775
for ac_exec_ext in '' $ac_executable_extensions; do
4776
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4777
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4778
# Check for GNU ac_path_SED and select it if it is found.
4779
# Check for GNU $ac_path_SED
4780
case `"$ac_path_SED" --version 2>&1` in
4782
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4785
$as_echo_n 0123456789 >"conftest.in"
4788
cat "conftest.in" "conftest.in" >"conftest.tmp"
4789
mv "conftest.tmp" "conftest.in"
4790
cp "conftest.in" "conftest.nl"
4791
$as_echo '' >> "conftest.nl"
4792
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4793
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4794
as_fn_arith $ac_count + 1 && ac_count=$as_val
4795
if test $ac_count -gt ${ac_path_SED_max-0}; then
4796
# Best one so far, save it but keep looking for a better one
4797
ac_cv_path_SED="$ac_path_SED"
4798
ac_path_SED_max=$ac_count
4800
# 10*(2^10) chars as input seems more than enough
4801
test $ac_count -gt 10 && break
4803
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4806
$ac_path_SED_found && break 3
4811
if test -z "$ac_cv_path_SED"; then
4812
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4819
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4820
$as_echo "$ac_cv_path_SED" >&6; }
4821
SED="$ac_cv_path_SED"
4824
test -z "$SED" && SED=sed
4825
Xsed="$SED -e 1s/^X//"
4837
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4838
$as_echo_n "checking for fgrep... " >&6; }
4839
if ${ac_cv_path_FGREP+:} false; then :
4840
$as_echo_n "(cached) " >&6
4842
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4843
then ac_cv_path_FGREP="$GREP -F"
4845
if test -z "$FGREP"; then
4846
ac_path_FGREP_found=false
4847
# Loop through the user's path and test for each of PROGNAME-LIST
4848
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4849
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4852
test -z "$as_dir" && as_dir=.
4853
for ac_prog in fgrep; do
4854
for ac_exec_ext in '' $ac_executable_extensions; do
4855
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4856
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4857
# Check for GNU ac_path_FGREP and select it if it is found.
4858
# Check for GNU $ac_path_FGREP
4859
case `"$ac_path_FGREP" --version 2>&1` in
4861
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4864
$as_echo_n 0123456789 >"conftest.in"
4867
cat "conftest.in" "conftest.in" >"conftest.tmp"
4868
mv "conftest.tmp" "conftest.in"
4869
cp "conftest.in" "conftest.nl"
4870
$as_echo 'FGREP' >> "conftest.nl"
4871
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4872
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4873
as_fn_arith $ac_count + 1 && ac_count=$as_val
4874
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4875
# Best one so far, save it but keep looking for a better one
4876
ac_cv_path_FGREP="$ac_path_FGREP"
4877
ac_path_FGREP_max=$ac_count
4879
# 10*(2^10) chars as input seems more than enough
4880
test $ac_count -gt 10 && break
4882
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4885
$ac_path_FGREP_found && break 3
4890
if test -z "$ac_cv_path_FGREP"; then
4891
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4894
ac_cv_path_FGREP=$FGREP
4899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4900
$as_echo "$ac_cv_path_FGREP" >&6; }
4901
FGREP="$ac_cv_path_FGREP"
4904
test -z "$GREP" && GREP=grep
4924
# Check whether --with-gnu-ld was given.
4925
if test "${with_gnu_ld+set}" = set; then :
4926
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4932
if test "$GCC" = yes; then
4933
# Check if gcc -print-prog-name=ld gives a path.
4934
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4935
$as_echo_n "checking for ld used by $CC... " >&6; }
4938
# gcc leaves a trailing carriage return which upsets mingw
4939
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4941
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4944
# Accept absolute paths.
4946
re_direlt='/[^/][^/]*/\.\./'
4947
# Canonicalize the pathname of ld
4948
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4949
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4950
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4952
test -z "$LD" && LD="$ac_prog"
4955
# If it fails, then pretend we aren't using GCC.
4959
# If it is relative, then search for the first ld in PATH.
4963
elif test "$with_gnu_ld" = yes; then
4964
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4965
$as_echo_n "checking for GNU ld... " >&6; }
4967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4968
$as_echo_n "checking for non-GNU ld... " >&6; }
4970
if ${lt_cv_path_LD+:} false; then :
4971
$as_echo_n "(cached) " >&6
4973
if test -z "$LD"; then
4974
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4975
for ac_dir in $PATH; do
4977
test -z "$ac_dir" && ac_dir=.
4978
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4979
lt_cv_path_LD="$ac_dir/$ac_prog"
4980
# Check to see if the program is GNU ld. I'd rather use --version,
4981
# but apparently some variants of GNU ld only accept -v.
4982
# Break only if it was the GNU/non-GNU ld that we prefer.
4983
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4984
*GNU* | *'with BFD'*)
4985
test "$with_gnu_ld" != no && break
4988
test "$with_gnu_ld" != yes && break
4995
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5000
if test -n "$LD"; then
5001
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5002
$as_echo "$LD" >&6; }
5004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5005
$as_echo "no" >&6; }
5007
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5008
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5009
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5010
if ${lt_cv_prog_gnu_ld+:} false; then :
5011
$as_echo_n "(cached) " >&6
5013
# I'd rather use --version here, but apparently some GNU lds only accept -v.
5014
case `$LD -v 2>&1 </dev/null` in
5015
*GNU* | *'with BFD'*)
5016
lt_cv_prog_gnu_ld=yes
5019
lt_cv_prog_gnu_ld=no
5023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5024
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5025
with_gnu_ld=$lt_cv_prog_gnu_ld
5035
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5036
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5037
if ${lt_cv_path_NM+:} false; then :
5038
$as_echo_n "(cached) " >&6
5040
if test -n "$NM"; then
5041
# Let the user override the test.
5044
lt_nm_to_check="${ac_tool_prefix}nm"
5045
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5046
lt_nm_to_check="$lt_nm_to_check nm"
5048
for lt_tmp_nm in $lt_nm_to_check; do
5049
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5050
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5052
test -z "$ac_dir" && ac_dir=.
5053
tmp_nm="$ac_dir/$lt_tmp_nm"
5054
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5055
# Check to see if the nm accepts a BSD-compat flag.
5056
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5057
# nm: unknown option "B" ignored
5058
# Tru64's nm complains that /dev/null is an invalid object file
5059
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5060
*/dev/null* | *'Invalid file or object type'*)
5061
lt_cv_path_NM="$tmp_nm -B"
5065
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5067
lt_cv_path_NM="$tmp_nm -p"
5071
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5072
continue # so that we can try to find one that supports BSD flags
5081
: ${lt_cv_path_NM=no}
5084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5085
$as_echo "$lt_cv_path_NM" >&6; }
5086
if test "$lt_cv_path_NM" != "no"; then
5089
# Didn't find any BSD compatible name lister, look for dumpbin.
5090
if test -n "$DUMPBIN"; then :
5091
# Let the user override the test.
5093
if test -n "$ac_tool_prefix"; then
5094
for ac_prog in dumpbin "link -dump"
5096
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5097
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5099
$as_echo_n "checking for $ac_word... " >&6; }
5100
if ${ac_cv_prog_DUMPBIN+:} false; then :
5101
$as_echo_n "(cached) " >&6
5103
if test -n "$DUMPBIN"; then
5104
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5106
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5110
test -z "$as_dir" && as_dir=.
5111
for ac_exec_ext in '' $ac_executable_extensions; do
5112
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5113
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5114
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123
DUMPBIN=$ac_cv_prog_DUMPBIN
5124
if test -n "$DUMPBIN"; then
5125
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5126
$as_echo "$DUMPBIN" >&6; }
5128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5129
$as_echo "no" >&6; }
5133
test -n "$DUMPBIN" && break
5136
if test -z "$DUMPBIN"; then
5137
ac_ct_DUMPBIN=$DUMPBIN
5138
for ac_prog in dumpbin "link -dump"
5140
# Extract the first word of "$ac_prog", so it can be a program name with args.
5141
set dummy $ac_prog; ac_word=$2
5142
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5143
$as_echo_n "checking for $ac_word... " >&6; }
5144
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5145
$as_echo_n "(cached) " >&6
5147
if test -n "$ac_ct_DUMPBIN"; then
5148
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5150
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154
test -z "$as_dir" && as_dir=.
5155
for ac_exec_ext in '' $ac_executable_extensions; do
5156
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5157
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5158
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5167
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5168
if test -n "$ac_ct_DUMPBIN"; then
5169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5170
$as_echo "$ac_ct_DUMPBIN" >&6; }
5172
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5173
$as_echo "no" >&6; }
5177
test -n "$ac_ct_DUMPBIN" && break
5180
if test "x$ac_ct_DUMPBIN" = x; then
5183
case $cross_compiling:$ac_tool_warned in
5185
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5186
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5187
ac_tool_warned=yes ;;
5189
DUMPBIN=$ac_ct_DUMPBIN
5193
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5195
DUMPBIN="$DUMPBIN -symbols"
5203
if test "$DUMPBIN" != ":"; then
5207
test -z "$NM" && NM=nm
5214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5215
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5216
if ${lt_cv_nm_interface+:} false; then :
5217
$as_echo_n "(cached) " >&6
5219
lt_cv_nm_interface="BSD nm"
5220
echo "int some_variable = 0;" > conftest.$ac_ext
5221
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5222
(eval "$ac_compile" 2>conftest.err)
5223
cat conftest.err >&5
5224
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5225
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5226
cat conftest.err >&5
5227
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
5228
cat conftest.out >&5
5229
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5230
lt_cv_nm_interface="MS dumpbin"
5234
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5235
$as_echo "$lt_cv_nm_interface" >&6; }
5237
# find the maximum length of command line arguments
5238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5239
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5240
if ${lt_cv_sys_max_cmd_len+:} false; then :
5241
$as_echo_n "(cached) " >&6
5248
# On DJGPP, this test can blow up pretty badly due to problems in libc
5249
# (any single argument exceeding 2000 bytes causes a buffer overrun
5250
# during glob expansion). Even if it were fixed, the result of this
5251
# check would be larger than it should be.
5252
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5256
# Under GNU Hurd, this test is not required because there is
5257
# no limit to the length of command line arguments.
5258
# Libtool will interpret -1 as no limit whatsoever
5259
lt_cv_sys_max_cmd_len=-1;
5262
cygwin* | mingw* | cegcc*)
5263
# On Win9x/ME, this test blows up -- it succeeds, but takes
5264
# about 5 minutes as the teststring grows exponentially.
5265
# Worse, since 9x/ME are not pre-emptively multitasking,
5266
# you end up with a "frozen" computer, even though with patience
5267
# the test eventually succeeds (with a max line length of 256k).
5268
# Instead, let's just punt: use the minimum linelength reported by
5269
# all of the supported platforms: 8192 (on NT/2K/XP).
5270
lt_cv_sys_max_cmd_len=8192;
5274
# On MiNT this can take a long time and run out of memory.
5275
lt_cv_sys_max_cmd_len=8192;
5279
# On AmigaOS with pdksh, this test takes hours, literally.
5280
# So we just punt and use a minimum line length of 8192.
5281
lt_cv_sys_max_cmd_len=8192;
5284
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5285
# This has been around since 386BSD, at least. Likely further.
5286
if test -x /sbin/sysctl; then
5287
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5288
elif test -x /usr/sbin/sysctl; then
5289
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5291
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5293
# And add a safety zone
5294
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5295
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5299
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5300
lt_cv_sys_max_cmd_len=196608
5304
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5305
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5306
# nice to cause kernel panics so lets avoid the loop below.
5307
# First set a reasonable default.
5308
lt_cv_sys_max_cmd_len=16384
5310
if test -x /sbin/sysconfig; then
5311
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5312
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5317
lt_cv_sys_max_cmd_len=102400
5319
sysv5* | sco5v6* | sysv4.2uw2*)
5320
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5321
if test -n "$kargmax"; then
5322
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5324
lt_cv_sys_max_cmd_len=32768
5328
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5329
if test -n "$lt_cv_sys_max_cmd_len"; then
5330
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5331
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5333
# Make teststring a little bigger before we do anything with it.
5334
# a 1K string should be a reasonable start.
5335
for i in 1 2 3 4 5 6 7 8 ; do
5336
teststring=$teststring$teststring
5338
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5339
# If test is not a shell built-in, we'll probably end up computing a
5340
# maximum length that is only half of the actual maximum length, but
5342
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5343
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
5344
test $i != 17 # 1/2 MB should be enough
5347
teststring=$teststring$teststring
5349
# Only check the string length outside the loop.
5350
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5352
# Add a significant safety factor because C++ compilers can tack on
5353
# massive amounts of additional arguments before passing them to the
5354
# linker. It appears as though 1/2 is a usable value.
5355
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5362
if test -n $lt_cv_sys_max_cmd_len ; then
5363
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5364
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5366
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5367
$as_echo "none" >&6; }
5369
max_cmd_len=$lt_cv_sys_max_cmd_len
5380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5381
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5382
# Try some XSI features
5385
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5387
&& eval 'test $(( 1 + 1 )) -eq 2 \
5388
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5390
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5391
$as_echo "$xsi_shell" >&6; }
5394
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5395
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5397
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5399
&& lt_shell_append=yes
5400
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5401
$as_echo "$lt_shell_append" >&6; }
5404
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5414
# test EBCDIC or ASCII
5415
case `echo X|tr X '\101'` in
5416
A) # ASCII based system
5417
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5418
lt_SP2NL='tr \040 \012'
5419
lt_NL2SP='tr \015\012 \040\040'
5421
*) # EBCDIC based system
5422
lt_SP2NL='tr \100 \n'
5423
lt_NL2SP='tr \r\n \100\100'
5435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5436
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5437
if ${lt_cv_to_host_file_cmd+:} false; then :
5438
$as_echo_n "(cached) " >&6
5443
*-*-mingw* ) # actually msys
5444
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5447
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5449
* ) # otherwise, assume *nix
5450
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5456
*-*-mingw* ) # actually msys
5457
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5460
lt_cv_to_host_file_cmd=func_convert_file_noop
5462
* ) # otherwise, assume *nix
5463
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5467
* ) # unhandled hosts (and "normal" native builds)
5468
lt_cv_to_host_file_cmd=func_convert_file_noop
5474
to_host_file_cmd=$lt_cv_to_host_file_cmd
5475
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5476
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5483
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5484
if ${lt_cv_to_tool_file_cmd+:} false; then :
5485
$as_echo_n "(cached) " >&6
5487
#assume ordinary cross tools, or native build.
5488
lt_cv_to_tool_file_cmd=func_convert_file_noop
5492
*-*-mingw* ) # actually msys
5493
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5501
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5503
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5509
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5510
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5511
if ${lt_cv_ld_reload_flag+:} false; then :
5512
$as_echo_n "(cached) " >&6
5514
lt_cv_ld_reload_flag='-r'
5516
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5517
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5518
reload_flag=$lt_cv_ld_reload_flag
5519
case $reload_flag in
5521
*) reload_flag=" $reload_flag" ;;
5523
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5525
cygwin* | mingw* | pw32* | cegcc*)
5526
if test "$GCC" != yes; then
5531
if test "$GCC" = yes; then
5532
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5534
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5547
if test -n "$ac_tool_prefix"; then
5548
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5549
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5551
$as_echo_n "checking for $ac_word... " >&6; }
5552
if ${ac_cv_prog_OBJDUMP+:} false; then :
5553
$as_echo_n "(cached) " >&6
5555
if test -n "$OBJDUMP"; then
5556
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5558
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562
test -z "$as_dir" && as_dir=.
5563
for ac_exec_ext in '' $ac_executable_extensions; do
5564
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5565
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5566
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5575
OBJDUMP=$ac_cv_prog_OBJDUMP
5576
if test -n "$OBJDUMP"; then
5577
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5578
$as_echo "$OBJDUMP" >&6; }
5580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5581
$as_echo "no" >&6; }
5586
if test -z "$ac_cv_prog_OBJDUMP"; then
5587
ac_ct_OBJDUMP=$OBJDUMP
5588
# Extract the first word of "objdump", so it can be a program name with args.
5589
set dummy objdump; ac_word=$2
5590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5591
$as_echo_n "checking for $ac_word... " >&6; }
5592
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5593
$as_echo_n "(cached) " >&6
5595
if test -n "$ac_ct_OBJDUMP"; then
5596
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5598
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5602
test -z "$as_dir" && as_dir=.
5603
for ac_exec_ext in '' $ac_executable_extensions; do
5604
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5605
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5606
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5615
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5616
if test -n "$ac_ct_OBJDUMP"; then
5617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5618
$as_echo "$ac_ct_OBJDUMP" >&6; }
5620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5621
$as_echo "no" >&6; }
5624
if test "x$ac_ct_OBJDUMP" = x; then
5627
case $cross_compiling:$ac_tool_warned in
5629
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5630
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5631
ac_tool_warned=yes ;;
5633
OBJDUMP=$ac_ct_OBJDUMP
5636
OBJDUMP="$ac_cv_prog_OBJDUMP"
5639
test -z "$OBJDUMP" && OBJDUMP=objdump
5649
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5650
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5651
if ${lt_cv_deplibs_check_method+:} false; then :
5652
$as_echo_n "(cached) " >&6
5654
lt_cv_file_magic_cmd='$MAGIC_CMD'
5655
lt_cv_file_magic_test_file=
5656
lt_cv_deplibs_check_method='unknown'
5657
# Need to set the preceding variable on all platforms that support
5658
# interlibrary dependencies.
5659
# 'none' -- dependencies not supported.
5660
# `unknown' -- same as none, but documents that we really don't know.
5661
# 'pass_all' -- all dependencies passed with no checks.
5662
# 'test_compile' -- check by making test program.
5663
# 'file_magic [[regex]]' -- check by looking for files in library path
5664
# which responds to the $file_magic_cmd with a given extended regex.
5665
# If you have `file' or equivalent on your system and you're not sure
5666
# whether `pass_all' will *always* work, you probably want this one.
5670
lt_cv_deplibs_check_method=pass_all
5674
lt_cv_deplibs_check_method=pass_all
5678
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5679
lt_cv_file_magic_cmd='/usr/bin/file -L'
5680
lt_cv_file_magic_test_file=/shlib/libc.so
5684
# func_win32_libid is a shell function defined in ltmain.sh
5685
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5686
lt_cv_file_magic_cmd='func_win32_libid'
5690
# Base MSYS/MinGW do not provide the 'file' command needed by
5691
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5692
# unless we find 'file', for example because we are cross-compiling.
5693
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5694
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5695
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5696
lt_cv_file_magic_cmd='func_win32_libid'
5698
# Keep this pattern in sync with the one in func_win32_libid.
5699
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5700
lt_cv_file_magic_cmd='$OBJDUMP -f'
5705
# use the weaker test based on 'objdump'. See mingw*.
5706
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5707
lt_cv_file_magic_cmd='$OBJDUMP -f'
5710
darwin* | rhapsody*)
5711
lt_cv_deplibs_check_method=pass_all
5714
freebsd* | dragonfly*)
5715
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5718
# Not sure whether the presence of OpenBSD here was a mistake.
5719
# Let's accept both of them until this is cleared up.
5720
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5721
lt_cv_file_magic_cmd=/usr/bin/file
5722
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5726
lt_cv_deplibs_check_method=pass_all
5731
lt_cv_deplibs_check_method=pass_all
5735
lt_cv_deplibs_check_method=pass_all
5738
hpux10.20* | hpux11*)
5739
lt_cv_file_magic_cmd=/usr/bin/file
5742
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5743
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5746
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]'
5747
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5750
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5751
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5757
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5758
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5761
irix5* | irix6* | nonstopux*)
5763
*-32|*"-32 ") libmagic=32-bit;;
5764
*-n32|*"-n32 ") libmagic=N32;;
5765
*-64|*"-64 ") libmagic=64-bit;;
5766
*) libmagic=never-match;;
5768
lt_cv_deplibs_check_method=pass_all
5771
# This must be Linux ELF.
5772
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5773
lt_cv_deplibs_check_method=pass_all
5776
netbsd* | netbsdelf*-gnu)
5777
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5778
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5780
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5785
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5786
lt_cv_file_magic_cmd=/usr/bin/file
5787
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5791
lt_cv_deplibs_check_method=pass_all
5795
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5796
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5798
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5802
osf3* | osf4* | osf5*)
5803
lt_cv_deplibs_check_method=pass_all
5807
lt_cv_deplibs_check_method=pass_all
5811
lt_cv_deplibs_check_method=pass_all
5814
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5815
lt_cv_deplibs_check_method=pass_all
5819
case $host_vendor in
5821
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]'
5822
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5825
lt_cv_deplibs_check_method=pass_all
5828
lt_cv_file_magic_cmd='/bin/file'
5829
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5832
lt_cv_file_magic_cmd='/bin/file'
5833
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5834
lt_cv_file_magic_test_file=/lib/libc.so
5837
lt_cv_deplibs_check_method=pass_all
5840
lt_cv_deplibs_check_method=pass_all
5846
lt_cv_deplibs_check_method=pass_all
5851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5852
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5856
if test "$build" = "$host"; then
5859
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5862
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5868
file_magic_cmd=$lt_cv_file_magic_cmd
5869
deplibs_check_method=$lt_cv_deplibs_check_method
5870
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5893
if test -n "$ac_tool_prefix"; then
5894
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5895
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5897
$as_echo_n "checking for $ac_word... " >&6; }
5898
if ${ac_cv_prog_DLLTOOL+:} false; then :
5899
$as_echo_n "(cached) " >&6
5901
if test -n "$DLLTOOL"; then
5902
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5904
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5908
test -z "$as_dir" && as_dir=.
5909
for ac_exec_ext in '' $ac_executable_extensions; do
5910
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5911
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5912
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5921
DLLTOOL=$ac_cv_prog_DLLTOOL
5922
if test -n "$DLLTOOL"; then
5923
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5924
$as_echo "$DLLTOOL" >&6; }
5926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5927
$as_echo "no" >&6; }
5932
if test -z "$ac_cv_prog_DLLTOOL"; then
5933
ac_ct_DLLTOOL=$DLLTOOL
5934
# Extract the first word of "dlltool", so it can be a program name with args.
5935
set dummy dlltool; ac_word=$2
5936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5937
$as_echo_n "checking for $ac_word... " >&6; }
5938
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5939
$as_echo_n "(cached) " >&6
5941
if test -n "$ac_ct_DLLTOOL"; then
5942
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5944
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948
test -z "$as_dir" && as_dir=.
5949
for ac_exec_ext in '' $ac_executable_extensions; do
5950
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5951
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5952
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5961
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5962
if test -n "$ac_ct_DLLTOOL"; then
5963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5964
$as_echo "$ac_ct_DLLTOOL" >&6; }
5966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5967
$as_echo "no" >&6; }
5970
if test "x$ac_ct_DLLTOOL" = x; then
5973
case $cross_compiling:$ac_tool_warned in
5975
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5976
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5977
ac_tool_warned=yes ;;
5979
DLLTOOL=$ac_ct_DLLTOOL
5982
DLLTOOL="$ac_cv_prog_DLLTOOL"
5985
test -z "$DLLTOOL" && DLLTOOL=dlltool
5996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5997
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5998
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5999
$as_echo_n "(cached) " >&6
6001
lt_cv_sharedlib_from_linklib_cmd='unknown'
6004
cygwin* | mingw* | pw32* | cegcc*)
6005
# two different shell functions defined in ltmain.sh
6006
# decide which to use based on capabilities of $DLLTOOL
6007
case `$DLLTOOL --help 2>&1` in
6008
*--identify-strict*)
6009
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6012
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6017
# fallback: assume linklib IS sharedlib
6018
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6024
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6025
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6026
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6034
if test -n "$ac_tool_prefix"; then
6037
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6038
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6040
$as_echo_n "checking for $ac_word... " >&6; }
6041
if ${ac_cv_prog_AR+:} false; then :
6042
$as_echo_n "(cached) " >&6
6044
if test -n "$AR"; then
6045
ac_cv_prog_AR="$AR" # Let the user override the test.
6047
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6051
test -z "$as_dir" && as_dir=.
6052
for ac_exec_ext in '' $ac_executable_extensions; do
6053
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6054
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6055
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6065
if test -n "$AR"; then
6066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6067
$as_echo "$AR" >&6; }
6069
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6070
$as_echo "no" >&6; }
6074
test -n "$AR" && break
6077
if test -z "$AR"; then
6081
# Extract the first word of "$ac_prog", so it can be a program name with args.
6082
set dummy $ac_prog; ac_word=$2
6083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6084
$as_echo_n "checking for $ac_word... " >&6; }
6085
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6086
$as_echo_n "(cached) " >&6
6088
if test -n "$ac_ct_AR"; then
6089
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6091
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6095
test -z "$as_dir" && as_dir=.
6096
for ac_exec_ext in '' $ac_executable_extensions; do
6097
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6098
ac_cv_prog_ac_ct_AR="$ac_prog"
6099
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6108
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6109
if test -n "$ac_ct_AR"; then
6110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6111
$as_echo "$ac_ct_AR" >&6; }
6113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6114
$as_echo "no" >&6; }
6118
test -n "$ac_ct_AR" && break
6121
if test "x$ac_ct_AR" = x; then
6124
case $cross_compiling:$ac_tool_warned in
6126
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6127
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6128
ac_tool_warned=yes ;;
6147
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6148
$as_echo_n "checking for archiver @FILE support... " >&6; }
6149
if ${lt_cv_ar_at_file+:} false; then :
6150
$as_echo_n "(cached) " >&6
6153
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6154
/* end confdefs.h. */
6164
if ac_fn_c_try_compile "$LINENO"; then :
6165
echo conftest.$ac_objext > conftest.lst
6166
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6167
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6168
(eval $lt_ar_try) 2>&5
6170
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6171
test $ac_status = 0; }
6172
if test "$ac_status" -eq 0; then
6173
# Ensure the archiver fails upon bogus file names.
6174
rm -f conftest.$ac_objext libconftest.a
6175
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6176
(eval $lt_ar_try) 2>&5
6178
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6179
test $ac_status = 0; }
6180
if test "$ac_status" -ne 0; then
6184
rm -f conftest.* libconftest.a
6187
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6191
$as_echo "$lt_cv_ar_at_file" >&6; }
6193
if test "x$lt_cv_ar_at_file" = xno; then
6196
archiver_list_spec=$lt_cv_ar_at_file
6205
if test -n "$ac_tool_prefix"; then
6206
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6207
set dummy ${ac_tool_prefix}strip; ac_word=$2
6208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209
$as_echo_n "checking for $ac_word... " >&6; }
6210
if ${ac_cv_prog_STRIP+:} false; then :
6211
$as_echo_n "(cached) " >&6
6213
if test -n "$STRIP"; then
6214
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6216
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220
test -z "$as_dir" && as_dir=.
6221
for ac_exec_ext in '' $ac_executable_extensions; do
6222
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6223
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6224
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6233
STRIP=$ac_cv_prog_STRIP
6234
if test -n "$STRIP"; then
6235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6236
$as_echo "$STRIP" >&6; }
6238
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6239
$as_echo "no" >&6; }
6244
if test -z "$ac_cv_prog_STRIP"; then
6246
# Extract the first word of "strip", so it can be a program name with args.
6247
set dummy strip; ac_word=$2
6248
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6249
$as_echo_n "checking for $ac_word... " >&6; }
6250
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6251
$as_echo_n "(cached) " >&6
6253
if test -n "$ac_ct_STRIP"; then
6254
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6256
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6260
test -z "$as_dir" && as_dir=.
6261
for ac_exec_ext in '' $ac_executable_extensions; do
6262
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6263
ac_cv_prog_ac_ct_STRIP="strip"
6264
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6273
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6274
if test -n "$ac_ct_STRIP"; then
6275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6276
$as_echo "$ac_ct_STRIP" >&6; }
6278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6279
$as_echo "no" >&6; }
6282
if test "x$ac_ct_STRIP" = x; then
6285
case $cross_compiling:$ac_tool_warned in
6287
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6288
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6289
ac_tool_warned=yes ;;
6294
STRIP="$ac_cv_prog_STRIP"
6297
test -z "$STRIP" && STRIP=:
6304
if test -n "$ac_tool_prefix"; then
6305
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6306
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6307
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6308
$as_echo_n "checking for $ac_word... " >&6; }
6309
if ${ac_cv_prog_RANLIB+:} false; then :
6310
$as_echo_n "(cached) " >&6
6312
if test -n "$RANLIB"; then
6313
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6315
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6319
test -z "$as_dir" && as_dir=.
6320
for ac_exec_ext in '' $ac_executable_extensions; do
6321
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6322
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6323
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6332
RANLIB=$ac_cv_prog_RANLIB
6333
if test -n "$RANLIB"; then
6334
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6335
$as_echo "$RANLIB" >&6; }
6337
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6338
$as_echo "no" >&6; }
6343
if test -z "$ac_cv_prog_RANLIB"; then
6344
ac_ct_RANLIB=$RANLIB
6345
# Extract the first word of "ranlib", so it can be a program name with args.
6346
set dummy ranlib; ac_word=$2
6347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6348
$as_echo_n "checking for $ac_word... " >&6; }
6349
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6350
$as_echo_n "(cached) " >&6
6352
if test -n "$ac_ct_RANLIB"; then
6353
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6355
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6359
test -z "$as_dir" && as_dir=.
6360
for ac_exec_ext in '' $ac_executable_extensions; do
6361
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6362
ac_cv_prog_ac_ct_RANLIB="ranlib"
6363
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6372
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6373
if test -n "$ac_ct_RANLIB"; then
6374
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6375
$as_echo "$ac_ct_RANLIB" >&6; }
6377
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6378
$as_echo "no" >&6; }
6381
if test "x$ac_ct_RANLIB" = x; then
6384
case $cross_compiling:$ac_tool_warned in
6386
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6387
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6388
ac_tool_warned=yes ;;
6390
RANLIB=$ac_ct_RANLIB
6393
RANLIB="$ac_cv_prog_RANLIB"
6396
test -z "$RANLIB" && RANLIB=:
6403
# Determine commands to create old-style static archives.
6404
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6405
old_postinstall_cmds='chmod 644 $oldlib'
6406
old_postuninstall_cmds=
6408
if test -n "$RANLIB"; then
6411
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6414
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6417
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6422
lock_old_archive_extraction=yes ;;
6424
lock_old_archive_extraction=no ;;
6465
# If no C compiler was specified, use CC.
6468
# If no C compiler flags were specified, use CFLAGS.
6469
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6471
# Allow CC to be a program name with arguments.
6475
# Check for command to grab the raw symbol name followed by C symbol from nm.
6476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6477
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6478
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6479
$as_echo_n "(cached) " >&6
6482
# These are sane defaults that work on at least a few old systems.
6483
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6485
# Character class describing NM global symbol codes.
6486
symcode='[BCDEGRST]'
6488
# Regexp to match symbols that can be accessed directly from C.
6489
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6491
# Define system-specific variables.
6496
cygwin* | mingw* | pw32* | cegcc*)
6497
symcode='[ABCDGISTW]'
6500
if test "$host_cpu" = ia64; then
6501
symcode='[ABCDEGRST]'
6505
symcode='[BCDEGRST]'
6508
symcode='[BCDEGQRST]'
6519
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6527
# If we're using GNU nm, then use its standard symbol codes.
6528
case `$NM -V 2>&1` in
6529
*GNU* | *'with BFD'*)
6530
symcode='[ABCDGIRSTW]' ;;
6533
# Transform an extracted symbol line into a proper C declaration.
6534
# Some systems (esp. on ia64) link data and code symbols differently,
6535
# so use this general approach.
6536
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6538
# Transform an extracted symbol line into symbol name and symbol address
6539
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6540
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'"
6542
# Handle CRLF in mingw tool chain
6546
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6550
# Try without a prefix underscore, then with it.
6551
for ac_symprfx in "" "_"; do
6553
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6554
symxfrm="\\1 $ac_symprfx\\2 \\2"
6556
# Write the raw and C identifiers.
6557
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6558
# Fake it for dumpbin and say T for any non-static function
6559
# and D for any global variable.
6560
# Also find C++ and __fastcall symbols from MSVC++,
6561
# which start with @ or ?.
6562
lt_cv_sys_global_symbol_pipe="$AWK '"\
6563
" {last_section=section; section=\$ 3};"\
6564
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6565
" \$ 0!~/External *\|/{next};"\
6566
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6567
" {if(hide[section]) next};"\
6568
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6569
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6570
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6571
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6572
" ' prfx=^$ac_symprfx"
6574
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6576
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6578
# Check to see that the pipe works correctly.
6582
cat > conftest.$ac_ext <<_LT_EOF
6587
void nm_test_func(void);
6588
void nm_test_func(void){}
6592
int main(){nm_test_var='a';nm_test_func();return(0);}
6595
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6596
(eval $ac_compile) 2>&5
6598
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6599
test $ac_status = 0; }; then
6600
# Now try to grab the symbols.
6602
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6603
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6605
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6606
test $ac_status = 0; } && test -s "$nlist"; then
6607
# Try sorting and uniquifying the output.
6608
if sort "$nlist" | uniq > "$nlist"T; then
6609
mv -f "$nlist"T "$nlist"
6614
# Make sure that we snagged all the symbols we need.
6615
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6616
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6617
cat <<_LT_EOF > conftest.$ac_ext
6618
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6619
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6620
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6621
relocations are performed -- see ld's documentation on pseudo-relocs. */
6622
# define LT_DLSYM_CONST
6623
#elif defined(__osf__)
6624
/* This system does not cope well with relocations in const data. */
6625
# define LT_DLSYM_CONST
6627
# define LT_DLSYM_CONST const
6635
# Now generate the symbol file.
6636
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6638
cat <<_LT_EOF >> conftest.$ac_ext
6640
/* The mapping between symbol names and symbols. */
6641
LT_DLSYM_CONST struct {
6645
lt__PROGRAM__LTX_preloaded_symbols[] =
6647
{ "@PROGRAM@", (void *) 0 },
6649
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6650
cat <<\_LT_EOF >> conftest.$ac_ext
6654
/* This works around a problem in FreeBSD linker */
6655
#ifdef FREEBSD_WORKAROUND
6656
static const void *lt_preloaded_setup() {
6657
return lt__PROGRAM__LTX_preloaded_symbols;
6665
# Now try linking the two files.
6666
mv conftest.$ac_objext conftstm.$ac_objext
6667
lt_globsym_save_LIBS=$LIBS
6668
lt_globsym_save_CFLAGS=$CFLAGS
6669
LIBS="conftstm.$ac_objext"
6670
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6671
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6672
(eval $ac_link) 2>&5
6674
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6675
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6678
LIBS=$lt_globsym_save_LIBS
6679
CFLAGS=$lt_globsym_save_CFLAGS
6681
echo "cannot find nm_test_func in $nlist" >&5
6684
echo "cannot find nm_test_var in $nlist" >&5
6687
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6690
echo "$progname: failed program was:" >&5
6691
cat conftest.$ac_ext >&5
6693
rm -rf conftest* conftst*
6695
# Do not use the global_symbol_pipe unless it works.
6696
if test "$pipe_works" = yes; then
6699
lt_cv_sys_global_symbol_pipe=
6705
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6706
lt_cv_sys_global_symbol_to_cdecl=
6708
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6709
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6710
$as_echo "failed" >&6; }
6712
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6713
$as_echo "ok" >&6; }
6716
# Response file support.
6717
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6718
nm_file_list_spec='@'
6719
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6720
nm_file_list_spec='@'
6749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6750
$as_echo_n "checking for sysroot... " >&6; }
6752
# Check whether --with-sysroot was given.
6753
if test "${with_sysroot+set}" = set; then :
6754
withval=$with_sysroot;
6761
case ${with_sysroot} in #(
6763
if test "$GCC" = yes; then
6764
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6768
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6773
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6774
$as_echo "${with_sysroot}" >&6; }
6775
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6780
$as_echo "${lt_sysroot:-no}" >&6; }
6786
# Check whether --enable-libtool-lock was given.
6787
if test "${enable_libtool_lock+set}" = set; then :
6788
enableval=$enable_libtool_lock;
6791
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6793
# Some flags need to be propagated to the compiler or linker for good
6797
# Find out which ABI we are using.
6798
echo 'int i;' > conftest.$ac_ext
6799
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6800
(eval $ac_compile) 2>&5
6802
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6803
test $ac_status = 0; }; then
6804
case `/usr/bin/file conftest.$ac_objext` in
6816
# Find out which ABI we are using.
6817
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6818
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6819
(eval $ac_compile) 2>&5
6821
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6822
test $ac_status = 0; }; then
6823
if test "$lt_cv_prog_gnu_ld" = yes; then
6824
case `/usr/bin/file conftest.$ac_objext` in
6826
LD="${LD-ld} -melf32bsmip"
6829
LD="${LD-ld} -melf32bmipn32"
6832
LD="${LD-ld} -melf64bmip"
6836
case `/usr/bin/file conftest.$ac_objext` in
6852
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6853
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6854
# Find out which ABI we are using.
6855
echo 'int i;' > conftest.$ac_ext
6856
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6857
(eval $ac_compile) 2>&5
6859
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6860
test $ac_status = 0; }; then
6861
case `/usr/bin/file conftest.o` in
6864
x86_64-*kfreebsd*-gnu)
6865
LD="${LD-ld} -m elf_i386_fbsd"
6868
LD="${LD-ld} -m elf_i386"
6870
ppc64-*linux*|powerpc64-*linux*)
6871
LD="${LD-ld} -m elf32ppclinux"
6874
LD="${LD-ld} -m elf_s390"
6877
LD="${LD-ld} -m elf32_sparc"
6883
x86_64-*kfreebsd*-gnu)
6884
LD="${LD-ld} -m elf_x86_64_fbsd"
6887
LD="${LD-ld} -m elf_x86_64"
6889
ppc*-*linux*|powerpc*-*linux*)
6890
LD="${LD-ld} -m elf64ppc"
6892
s390*-*linux*|s390*-*tpf*)
6893
LD="${LD-ld} -m elf64_s390"
6896
LD="${LD-ld} -m elf64_sparc"
6906
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6907
SAVE_CFLAGS="$CFLAGS"
6908
CFLAGS="$CFLAGS -belf"
6909
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6910
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6911
if ${lt_cv_cc_needs_belf+:} false; then :
6912
$as_echo_n "(cached) " >&6
6915
ac_cpp='$CPP $CPPFLAGS'
6916
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6917
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6918
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6920
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6921
/* end confdefs.h. */
6931
if ac_fn_c_try_link "$LINENO"; then :
6932
lt_cv_cc_needs_belf=yes
6934
lt_cv_cc_needs_belf=no
6936
rm -f core conftest.err conftest.$ac_objext \
6937
conftest$ac_exeext conftest.$ac_ext
6939
ac_cpp='$CPP $CPPFLAGS'
6940
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6941
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6942
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6946
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6947
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6948
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6949
CFLAGS="$SAVE_CFLAGS"
6953
# Find out which ABI we are using.
6954
echo 'int i;' > conftest.$ac_ext
6955
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6956
(eval $ac_compile) 2>&5
6958
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6959
test $ac_status = 0; }; then
6960
case `/usr/bin/file conftest.o` in
6962
case $lt_cv_prog_gnu_ld in
6963
yes*) LD="${LD-ld} -m elf64_sparc" ;;
6965
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6977
need_locks="$enable_libtool_lock"
6979
if test -n "$ac_tool_prefix"; then
6980
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6981
set dummy ${ac_tool_prefix}mt; ac_word=$2
6982
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6983
$as_echo_n "checking for $ac_word... " >&6; }
6984
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6985
$as_echo_n "(cached) " >&6
6987
if test -n "$MANIFEST_TOOL"; then
6988
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6990
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6994
test -z "$as_dir" && as_dir=.
6995
for ac_exec_ext in '' $ac_executable_extensions; do
6996
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6997
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6998
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7007
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7008
if test -n "$MANIFEST_TOOL"; then
7009
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7010
$as_echo "$MANIFEST_TOOL" >&6; }
7012
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7013
$as_echo "no" >&6; }
7018
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7019
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7020
# Extract the first word of "mt", so it can be a program name with args.
7021
set dummy mt; ac_word=$2
7022
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7023
$as_echo_n "checking for $ac_word... " >&6; }
7024
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7025
$as_echo_n "(cached) " >&6
7027
if test -n "$ac_ct_MANIFEST_TOOL"; then
7028
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7030
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7034
test -z "$as_dir" && as_dir=.
7035
for ac_exec_ext in '' $ac_executable_extensions; do
7036
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7037
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7038
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7047
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7048
if test -n "$ac_ct_MANIFEST_TOOL"; then
7049
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7050
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7053
$as_echo "no" >&6; }
7056
if test "x$ac_ct_MANIFEST_TOOL" = x; then
7059
case $cross_compiling:$ac_tool_warned in
7061
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7062
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7063
ac_tool_warned=yes ;;
7065
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7068
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7071
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7072
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7073
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7074
if ${lt_cv_path_mainfest_tool+:} false; then :
7075
$as_echo_n "(cached) " >&6
7077
lt_cv_path_mainfest_tool=no
7078
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7079
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7080
cat conftest.err >&5
7081
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7082
lt_cv_path_mainfest_tool=yes
7086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7087
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7088
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7098
rhapsody* | darwin*)
7099
if test -n "$ac_tool_prefix"; then
7100
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7101
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7102
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7103
$as_echo_n "checking for $ac_word... " >&6; }
7104
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7105
$as_echo_n "(cached) " >&6
7107
if test -n "$DSYMUTIL"; then
7108
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7110
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7114
test -z "$as_dir" && as_dir=.
7115
for ac_exec_ext in '' $ac_executable_extensions; do
7116
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7117
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7118
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7127
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7128
if test -n "$DSYMUTIL"; then
7129
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7130
$as_echo "$DSYMUTIL" >&6; }
7132
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7133
$as_echo "no" >&6; }
7138
if test -z "$ac_cv_prog_DSYMUTIL"; then
7139
ac_ct_DSYMUTIL=$DSYMUTIL
7140
# Extract the first word of "dsymutil", so it can be a program name with args.
7141
set dummy dsymutil; ac_word=$2
7142
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7143
$as_echo_n "checking for $ac_word... " >&6; }
7144
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7145
$as_echo_n "(cached) " >&6
7147
if test -n "$ac_ct_DSYMUTIL"; then
7148
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7150
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7154
test -z "$as_dir" && as_dir=.
7155
for ac_exec_ext in '' $ac_executable_extensions; do
7156
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7157
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7158
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7167
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7168
if test -n "$ac_ct_DSYMUTIL"; then
7169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7170
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7172
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7173
$as_echo "no" >&6; }
7176
if test "x$ac_ct_DSYMUTIL" = x; then
7179
case $cross_compiling:$ac_tool_warned in
7181
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7182
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7183
ac_tool_warned=yes ;;
7185
DSYMUTIL=$ac_ct_DSYMUTIL
7188
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7191
if test -n "$ac_tool_prefix"; then
7192
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7193
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7195
$as_echo_n "checking for $ac_word... " >&6; }
7196
if ${ac_cv_prog_NMEDIT+:} false; then :
7197
$as_echo_n "(cached) " >&6
7199
if test -n "$NMEDIT"; then
7200
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7202
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7206
test -z "$as_dir" && as_dir=.
7207
for ac_exec_ext in '' $ac_executable_extensions; do
7208
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7209
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7210
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7219
NMEDIT=$ac_cv_prog_NMEDIT
7220
if test -n "$NMEDIT"; then
7221
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7222
$as_echo "$NMEDIT" >&6; }
7224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7225
$as_echo "no" >&6; }
7230
if test -z "$ac_cv_prog_NMEDIT"; then
7231
ac_ct_NMEDIT=$NMEDIT
7232
# Extract the first word of "nmedit", so it can be a program name with args.
7233
set dummy nmedit; ac_word=$2
7234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7235
$as_echo_n "checking for $ac_word... " >&6; }
7236
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7237
$as_echo_n "(cached) " >&6
7239
if test -n "$ac_ct_NMEDIT"; then
7240
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7246
test -z "$as_dir" && as_dir=.
7247
for ac_exec_ext in '' $ac_executable_extensions; do
7248
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7249
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7250
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7259
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7260
if test -n "$ac_ct_NMEDIT"; then
7261
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7262
$as_echo "$ac_ct_NMEDIT" >&6; }
7264
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7265
$as_echo "no" >&6; }
7268
if test "x$ac_ct_NMEDIT" = x; then
7271
case $cross_compiling:$ac_tool_warned in
7273
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7274
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7275
ac_tool_warned=yes ;;
7277
NMEDIT=$ac_ct_NMEDIT
7280
NMEDIT="$ac_cv_prog_NMEDIT"
7283
if test -n "$ac_tool_prefix"; then
7284
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7285
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7286
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7287
$as_echo_n "checking for $ac_word... " >&6; }
7288
if ${ac_cv_prog_LIPO+:} false; then :
7289
$as_echo_n "(cached) " >&6
7291
if test -n "$LIPO"; then
7292
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7294
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7298
test -z "$as_dir" && as_dir=.
7299
for ac_exec_ext in '' $ac_executable_extensions; do
7300
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7301
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7302
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7311
LIPO=$ac_cv_prog_LIPO
7312
if test -n "$LIPO"; then
7313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7314
$as_echo "$LIPO" >&6; }
7316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7317
$as_echo "no" >&6; }
7322
if test -z "$ac_cv_prog_LIPO"; then
7324
# Extract the first word of "lipo", so it can be a program name with args.
7325
set dummy lipo; ac_word=$2
7326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7327
$as_echo_n "checking for $ac_word... " >&6; }
7328
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7329
$as_echo_n "(cached) " >&6
7331
if test -n "$ac_ct_LIPO"; then
7332
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7334
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7338
test -z "$as_dir" && as_dir=.
7339
for ac_exec_ext in '' $ac_executable_extensions; do
7340
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7341
ac_cv_prog_ac_ct_LIPO="lipo"
7342
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7351
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7352
if test -n "$ac_ct_LIPO"; then
7353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7354
$as_echo "$ac_ct_LIPO" >&6; }
7356
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7357
$as_echo "no" >&6; }
7360
if test "x$ac_ct_LIPO" = x; then
7363
case $cross_compiling:$ac_tool_warned in
7365
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7366
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7367
ac_tool_warned=yes ;;
7372
LIPO="$ac_cv_prog_LIPO"
7375
if test -n "$ac_tool_prefix"; then
7376
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7377
set dummy ${ac_tool_prefix}otool; ac_word=$2
7378
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7379
$as_echo_n "checking for $ac_word... " >&6; }
7380
if ${ac_cv_prog_OTOOL+:} false; then :
7381
$as_echo_n "(cached) " >&6
7383
if test -n "$OTOOL"; then
7384
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7386
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7390
test -z "$as_dir" && as_dir=.
7391
for ac_exec_ext in '' $ac_executable_extensions; do
7392
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7393
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7394
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7403
OTOOL=$ac_cv_prog_OTOOL
7404
if test -n "$OTOOL"; then
7405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7406
$as_echo "$OTOOL" >&6; }
7408
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409
$as_echo "no" >&6; }
7414
if test -z "$ac_cv_prog_OTOOL"; then
7416
# Extract the first word of "otool", so it can be a program name with args.
7417
set dummy otool; ac_word=$2
7418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7419
$as_echo_n "checking for $ac_word... " >&6; }
7420
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7421
$as_echo_n "(cached) " >&6
7423
if test -n "$ac_ct_OTOOL"; then
7424
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7426
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7430
test -z "$as_dir" && as_dir=.
7431
for ac_exec_ext in '' $ac_executable_extensions; do
7432
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7433
ac_cv_prog_ac_ct_OTOOL="otool"
7434
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7443
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7444
if test -n "$ac_ct_OTOOL"; then
7445
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7446
$as_echo "$ac_ct_OTOOL" >&6; }
7448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7449
$as_echo "no" >&6; }
7452
if test "x$ac_ct_OTOOL" = x; then
7455
case $cross_compiling:$ac_tool_warned in
7457
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7458
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7459
ac_tool_warned=yes ;;
7464
OTOOL="$ac_cv_prog_OTOOL"
7467
if test -n "$ac_tool_prefix"; then
7468
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7469
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7470
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7471
$as_echo_n "checking for $ac_word... " >&6; }
7472
if ${ac_cv_prog_OTOOL64+:} false; then :
7473
$as_echo_n "(cached) " >&6
7475
if test -n "$OTOOL64"; then
7476
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7478
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482
test -z "$as_dir" && as_dir=.
7483
for ac_exec_ext in '' $ac_executable_extensions; do
7484
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7485
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7486
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7495
OTOOL64=$ac_cv_prog_OTOOL64
7496
if test -n "$OTOOL64"; then
7497
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7498
$as_echo "$OTOOL64" >&6; }
7500
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7501
$as_echo "no" >&6; }
7506
if test -z "$ac_cv_prog_OTOOL64"; then
7507
ac_ct_OTOOL64=$OTOOL64
7508
# Extract the first word of "otool64", so it can be a program name with args.
7509
set dummy otool64; ac_word=$2
7510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7511
$as_echo_n "checking for $ac_word... " >&6; }
7512
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7513
$as_echo_n "(cached) " >&6
7515
if test -n "$ac_ct_OTOOL64"; then
7516
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7518
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7522
test -z "$as_dir" && as_dir=.
7523
for ac_exec_ext in '' $ac_executable_extensions; do
7524
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7525
ac_cv_prog_ac_ct_OTOOL64="otool64"
7526
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7535
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7536
if test -n "$ac_ct_OTOOL64"; then
7537
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7538
$as_echo "$ac_ct_OTOOL64" >&6; }
7540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7541
$as_echo "no" >&6; }
7544
if test "x$ac_ct_OTOOL64" = x; then
7547
case $cross_compiling:$ac_tool_warned in
7549
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7550
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7551
ac_tool_warned=yes ;;
7553
OTOOL64=$ac_ct_OTOOL64
7556
OTOOL64="$ac_cv_prog_OTOOL64"
7585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7586
$as_echo_n "checking for -single_module linker flag... " >&6; }
7587
if ${lt_cv_apple_cc_single_mod+:} false; then :
7588
$as_echo_n "(cached) " >&6
7590
lt_cv_apple_cc_single_mod=no
7591
if test -z "${LT_MULTI_MODULE}"; then
7592
# By default we will add the -single_module flag. You can override
7593
# by either setting the environment variable LT_MULTI_MODULE
7594
# non-empty at configure time, or by adding -multi_module to the
7596
rm -rf libconftest.dylib*
7597
echo "int foo(void){return 1;}" > conftest.c
7598
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7599
-dynamiclib -Wl,-single_module conftest.c" >&5
7600
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7601
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7603
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7604
lt_cv_apple_cc_single_mod=yes
7606
cat conftest.err >&5
7608
rm -rf libconftest.dylib*
7612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7613
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7615
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7616
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7617
$as_echo_n "(cached) " >&6
7619
lt_cv_ld_exported_symbols_list=no
7620
save_LDFLAGS=$LDFLAGS
7621
echo "_main" > conftest.sym
7622
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7623
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7624
/* end confdefs.h. */
7634
if ac_fn_c_try_link "$LINENO"; then :
7635
lt_cv_ld_exported_symbols_list=yes
7637
lt_cv_ld_exported_symbols_list=no
7639
rm -f core conftest.err conftest.$ac_objext \
7640
conftest$ac_exeext conftest.$ac_ext
7641
LDFLAGS="$save_LDFLAGS"
7644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7645
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7646
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7647
$as_echo_n "checking for -force_load linker flag... " >&6; }
7648
if ${lt_cv_ld_force_load+:} false; then :
7649
$as_echo_n "(cached) " >&6
7651
lt_cv_ld_force_load=no
7652
cat > conftest.c << _LT_EOF
7653
int forced_loaded() { return 2;}
7655
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7656
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7657
echo "$AR cru libconftest.a conftest.o" >&5
7658
$AR cru libconftest.a conftest.o 2>&5
7659
echo "$RANLIB libconftest.a" >&5
7660
$RANLIB libconftest.a 2>&5
7661
cat > conftest.c << _LT_EOF
7662
int main() { return 0;}
7664
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7665
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7667
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7668
lt_cv_ld_force_load=yes
7670
cat conftest.err >&5
7672
rm -f conftest.err libconftest.a conftest conftest.c
7673
rm -rf conftest.dSYM
7676
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7677
$as_echo "$lt_cv_ld_force_load" >&6; }
7679
rhapsody* | darwin1.[012])
7680
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7682
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7683
darwin*) # darwin 5.x on
7684
# if running on 10.5 or later, the deployment target defaults
7685
# to the OS version, if on x86, and 10.4, the deployment
7686
# target defaults to 10.4. Don't you love it?
7687
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7688
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7689
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7691
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7693
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7697
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7698
_lt_dar_single_mod='$single_module'
7700
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7701
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7703
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7705
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7706
_lt_dsymutil='~$DSYMUTIL $lib || :'
7713
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7714
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7715
inttypes.h stdint.h unistd.h
7717
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7718
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7720
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7721
cat >>confdefs.h <<_ACEOF
7722
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7730
for ac_header in dlfcn.h
7732
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7734
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7735
cat >>confdefs.h <<_ACEOF
7736
#define HAVE_DLFCN_H 1
7757
# Check whether --enable-shared was given.
7758
if test "${enable_shared+set}" = set; then :
7759
enableval=$enable_shared; p=${PACKAGE-default}
7761
yes) enable_shared=yes ;;
7762
no) enable_shared=no ;;
7765
# Look at the argument we got. We use all the common list separators.
7766
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7767
for pkg in $enableval; do
7769
if test "X$pkg" = "X$p"; then
7788
# Check whether --enable-static was given.
7789
if test "${enable_static+set}" = set; then :
7790
enableval=$enable_static; p=${PACKAGE-default}
7792
yes) enable_static=yes ;;
7793
no) enable_static=no ;;
7796
# Look at the argument we got. We use all the common list separators.
7797
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7798
for pkg in $enableval; do
7800
if test "X$pkg" = "X$p"; then
7820
# Check whether --with-pic was given.
7821
if test "${with_pic+set}" = set; then :
7822
withval=$with_pic; pic_mode="$withval"
7828
test -z "$pic_mode" && pic_mode=default
7836
# Check whether --enable-fast-install was given.
7837
if test "${enable_fast_install+set}" = set; then :
7838
enableval=$enable_fast_install; p=${PACKAGE-default}
7840
yes) enable_fast_install=yes ;;
7841
no) enable_fast_install=no ;;
7843
enable_fast_install=no
7844
# Look at the argument we got. We use all the common list separators.
7845
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7846
for pkg in $enableval; do
7848
if test "X$pkg" = "X$p"; then
7849
enable_fast_install=yes
7856
enable_fast_install=yes
7869
# This can be used to rebuild libtool when needed
7870
LIBTOOL_DEPS="$ltmain"
7872
# Always use our own libtool.
7873
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7900
test -z "$LN_S" && LN_S="ln -s"
7915
if test -n "${ZSH_VERSION+set}" ; then
7916
setopt NO_GLOB_SUBST
7919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7920
$as_echo_n "checking for objdir... " >&6; }
7921
if ${lt_cv_objdir+:} false; then :
7922
$as_echo_n "(cached) " >&6
7924
rm -f .libs 2>/dev/null
7925
mkdir .libs 2>/dev/null
7926
if test -d .libs; then
7929
# MS-DOS does not allow filenames that begin with a dot.
7932
rmdir .libs 2>/dev/null
7934
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7935
$as_echo "$lt_cv_objdir" >&6; }
7936
objdir=$lt_cv_objdir
7942
cat >>confdefs.h <<_ACEOF
7943
#define LT_OBJDIR "$lt_cv_objdir/"
7951
# AIX sometimes has problems with the GCC collect2 program. For some
7952
# reason, if we set the COLLECT_NAMES environment variable, the problems
7953
# vanish in a puff of smoke.
7954
if test "X${COLLECT_NAMES+set}" != Xset; then
7956
export COLLECT_NAMES
7963
can_build_shared=yes
7965
# All known linkers require a `.a' archive for static linking (except MSVC,
7966
# which needs '.lib').
7969
with_gnu_ld="$lt_cv_prog_gnu_ld"
7972
old_CFLAGS="$CFLAGS"
7974
# Set sane defaults for various variables
7975
test -z "$CC" && CC=cc
7976
test -z "$LTCC" && LTCC=$CC
7977
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7978
test -z "$LD" && LD=ld
7979
test -z "$ac_objext" && ac_objext=o
7981
for cc_temp in $compiler""; do
7983
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7984
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7989
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7992
# Only perform the check for file, if the check method requires it
7993
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7994
case $deplibs_check_method in
7996
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7998
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7999
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8000
$as_echo_n "(cached) " >&6
8004
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8007
lt_save_MAGIC_CMD="$MAGIC_CMD"
8008
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8009
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8010
for ac_dir in $ac_dummy; do
8012
test -z "$ac_dir" && ac_dir=.
8013
if test -f $ac_dir/${ac_tool_prefix}file; then
8014
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8015
if test -n "$file_magic_test_file"; then
8016
case $deplibs_check_method in
8018
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8019
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8020
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8021
$EGREP "$file_magic_regex" > /dev/null; then
8026
*** Warning: the command libtool uses to detect shared libraries,
8027
*** $file_magic_cmd, produces output that libtool cannot recognize.
8028
*** The result is that libtool may fail to recognize shared libraries
8029
*** as such. This will affect the creation of libtool libraries that
8030
*** depend on shared libraries, but programs linked with such libtool
8031
*** libraries will work regardless of this problem. Nevertheless, you
8032
*** may want to report the problem to your system manager and/or to
8033
*** bug-libtool@gnu.org
8043
MAGIC_CMD="$lt_save_MAGIC_CMD"
8048
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8049
if test -n "$MAGIC_CMD"; then
8050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8051
$as_echo "$MAGIC_CMD" >&6; }
8053
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8054
$as_echo "no" >&6; }
8061
if test -z "$lt_cv_path_MAGIC_CMD"; then
8062
if test -n "$ac_tool_prefix"; then
8063
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8064
$as_echo_n "checking for file... " >&6; }
8065
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8066
$as_echo_n "(cached) " >&6
8070
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8073
lt_save_MAGIC_CMD="$MAGIC_CMD"
8074
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8075
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8076
for ac_dir in $ac_dummy; do
8078
test -z "$ac_dir" && ac_dir=.
8079
if test -f $ac_dir/file; then
8080
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8081
if test -n "$file_magic_test_file"; then
8082
case $deplibs_check_method in
8084
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8085
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8086
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8087
$EGREP "$file_magic_regex" > /dev/null; then
8092
*** Warning: the command libtool uses to detect shared libraries,
8093
*** $file_magic_cmd, produces output that libtool cannot recognize.
8094
*** The result is that libtool may fail to recognize shared libraries
8095
*** as such. This will affect the creation of libtool libraries that
8096
*** depend on shared libraries, but programs linked with such libtool
8097
*** libraries will work regardless of this problem. Nevertheless, you
8098
*** may want to report the problem to your system manager and/or to
8099
*** bug-libtool@gnu.org
8109
MAGIC_CMD="$lt_save_MAGIC_CMD"
8114
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8115
if test -n "$MAGIC_CMD"; then
8116
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8117
$as_echo "$MAGIC_CMD" >&6; }
8119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8120
$as_echo "no" >&6; }
8133
# Use C for the default configuration in the libtool script
8137
ac_cpp='$CPP $CPPFLAGS'
8138
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8139
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8140
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8143
# Source file extension for C test sources.
8146
# Object file extension for compiled C test sources.
8150
# Code to be used in simple compile tests
8151
lt_simple_compile_test_code="int some_variable = 0;"
8153
# Code to be used in simple link tests
8154
lt_simple_link_test_code='int main(){return(0);}'
8162
# If no C compiler was specified, use CC.
8165
# If no C compiler flags were specified, use CFLAGS.
8166
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8168
# Allow CC to be a program name with arguments.
8171
# Save the default compiler, since it gets overwritten when the other
8172
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8173
compiler_DEFAULT=$CC
8175
# save warnings/boilerplate of simple test code
8176
ac_outfile=conftest.$ac_objext
8177
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8178
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8179
_lt_compiler_boilerplate=`cat conftest.err`
8182
ac_outfile=conftest.$ac_objext
8183
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8184
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8185
_lt_linker_boilerplate=`cat conftest.err`
8190
## There is no encapsulation within the following macros, do not change
8191
## the running order or otherwise move them around unless you know exactly
8192
## what you are doing...
8193
if test -n "$compiler"; then
8195
lt_prog_compiler_no_builtin_flag=
8197
if test "$GCC" = yes; then
8198
case $cc_basename in
8200
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8202
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8206
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8207
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8208
$as_echo_n "(cached) " >&6
8210
lt_cv_prog_compiler_rtti_exceptions=no
8211
ac_outfile=conftest.$ac_objext
8212
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8213
lt_compiler_flag="-fno-rtti -fno-exceptions"
8214
# Insert the option either (1) after the last *FLAGS variable, or
8215
# (2) before a word containing "conftest.", or (3) at the end.
8216
# Note that $ac_compile itself does not contain backslashes and begins
8217
# with a dollar sign (not a hyphen), so the echo should work correctly.
8218
# The option is referenced via a variable to avoid confusing sed.
8219
lt_compile=`echo "$ac_compile" | $SED \
8220
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8221
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8222
-e 's:$: $lt_compiler_flag:'`
8223
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8224
(eval "$lt_compile" 2>conftest.err)
8226
cat conftest.err >&5
8227
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228
if (exit $ac_status) && test -s "$ac_outfile"; then
8229
# The compiler can only warn and ignore the option if not recognized
8230
# So say no if there are warnings other than the usual output.
8231
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8232
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8233
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8234
lt_cv_prog_compiler_rtti_exceptions=yes
8240
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8241
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8243
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8244
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8256
lt_prog_compiler_wl=
8257
lt_prog_compiler_pic=
8258
lt_prog_compiler_static=
8261
if test "$GCC" = yes; then
8262
lt_prog_compiler_wl='-Wl,'
8263
lt_prog_compiler_static='-static'
8267
# All AIX code is PIC.
8268
if test "$host_cpu" = ia64; then
8269
# AIX 5 now supports IA64 processor
8270
lt_prog_compiler_static='-Bstatic'
8277
# see comment about AmigaOS4 .so support
8278
lt_prog_compiler_pic='-fPIC'
8281
# FIXME: we need at least 68020 code to build shared libraries, but
8282
# adding the `-m68020' flag to GCC prevents building anything better,
8284
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8289
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8290
# PIC is the default for these OSes.
8293
mingw* | cygwin* | pw32* | os2* | cegcc*)
8294
# This hack is so that the source file can tell whether it is being
8295
# built for inclusion in a dll (and should export symbols for example).
8296
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8297
# (--disable-auto-import) libraries
8298
lt_prog_compiler_pic='-DDLL_EXPORT'
8301
darwin* | rhapsody*)
8302
# PIC is the default on this platform
8303
# Common symbols not allowed in MH_DYLIB files
8304
lt_prog_compiler_pic='-fno-common'
8308
# PIC is the default for Haiku.
8309
# The "-static" flag exists, but is broken.
8310
lt_prog_compiler_static=
8314
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8315
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8316
# sets the default TLS model and affects inlining.
8322
lt_prog_compiler_pic='-fPIC'
8328
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8329
# Instead, we relocate shared libraries at runtime.
8333
# Just because we use GCC doesn't mean we suddenly get shared libraries
8334
# on systems that don't support them.
8335
lt_prog_compiler_can_build_shared=no
8340
# QNX uses GNU C++, but need to define -shared option too, otherwise
8342
lt_prog_compiler_pic='-fPIC -shared'
8346
if test -d /usr/nec; then
8347
lt_prog_compiler_pic=-Kconform_pic
8352
lt_prog_compiler_pic='-fPIC'
8356
case $cc_basename in
8357
nvcc*) # Cuda Compiler Driver 2.2
8358
lt_prog_compiler_wl='-Xlinker '
8359
lt_prog_compiler_pic='-Xcompiler -fPIC'
8363
# PORTME Check for flag to pass linker flags through the system compiler.
8366
lt_prog_compiler_wl='-Wl,'
8367
if test "$host_cpu" = ia64; then
8368
# AIX 5 now supports IA64 processor
8369
lt_prog_compiler_static='-Bstatic'
8371
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8375
mingw* | cygwin* | pw32* | os2* | cegcc*)
8376
# This hack is so that the source file can tell whether it is being
8377
# built for inclusion in a dll (and should export symbols for example).
8378
lt_prog_compiler_pic='-DDLL_EXPORT'
8381
hpux9* | hpux10* | hpux11*)
8382
lt_prog_compiler_wl='-Wl,'
8383
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8390
lt_prog_compiler_pic='+Z'
8393
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8394
lt_prog_compiler_static='${wl}-a ${wl}archive'
8397
irix5* | irix6* | nonstopux*)
8398
lt_prog_compiler_wl='-Wl,'
8399
# PIC (with -KPIC) is the default.
8400
lt_prog_compiler_static='-non_shared'
8403
linux* | k*bsd*-gnu | kopensolaris*-gnu)
8404
case $cc_basename in
8405
# old Intel for x86_64 which still supported -KPIC.
8407
lt_prog_compiler_wl='-Wl,'
8408
lt_prog_compiler_pic='-KPIC'
8409
lt_prog_compiler_static='-static'
8411
# icc used to be incompatible with GCC.
8412
# ICC 10 doesn't accept -KPIC any more.
8414
lt_prog_compiler_wl='-Wl,'
8415
lt_prog_compiler_pic='-fPIC'
8416
lt_prog_compiler_static='-static'
8418
# Lahey Fortran 8.1.
8420
lt_prog_compiler_wl='-Wl,'
8421
lt_prog_compiler_pic='--shared'
8422
lt_prog_compiler_static='--static'
8425
# NAG Fortran compiler
8426
lt_prog_compiler_wl='-Wl,-Wl,,'
8427
lt_prog_compiler_pic='-PIC'
8428
lt_prog_compiler_static='-Bstatic'
8430
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8431
# Portland Group compilers (*not* the Pentium gcc compiler,
8432
# which looks to be a dead project)
8433
lt_prog_compiler_wl='-Wl,'
8434
lt_prog_compiler_pic='-fpic'
8435
lt_prog_compiler_static='-Bstatic'
8438
lt_prog_compiler_wl='-Wl,'
8439
# All Alpha code is PIC.
8440
lt_prog_compiler_static='-non_shared'
8442
xl* | bgxl* | bgf* | mpixl*)
8443
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8444
lt_prog_compiler_wl='-Wl,'
8445
lt_prog_compiler_pic='-qpic'
8446
lt_prog_compiler_static='-qstaticlink'
8449
case `$CC -V 2>&1 | sed 5q` in
8450
*Sun\ F* | *Sun*Fortran*)
8451
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8452
lt_prog_compiler_pic='-KPIC'
8453
lt_prog_compiler_static='-Bstatic'
8454
lt_prog_compiler_wl=''
8458
lt_prog_compiler_pic='-KPIC'
8459
lt_prog_compiler_static='-Bstatic'
8460
lt_prog_compiler_wl='-Wl,'
8468
lt_prog_compiler_pic='-KPIC'
8469
lt_prog_compiler_static='-Bstatic'
8473
# QNX uses GNU C++, but need to define -shared option too, otherwise
8475
lt_prog_compiler_pic='-fPIC -shared'
8478
osf3* | osf4* | osf5*)
8479
lt_prog_compiler_wl='-Wl,'
8480
# All OSF/1 code is PIC.
8481
lt_prog_compiler_static='-non_shared'
8485
lt_prog_compiler_static='-non_shared'
8489
lt_prog_compiler_pic='-KPIC'
8490
lt_prog_compiler_static='-Bstatic'
8491
case $cc_basename in
8492
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8493
lt_prog_compiler_wl='-Qoption ld ';;
8495
lt_prog_compiler_wl='-Wl,';;
8500
lt_prog_compiler_wl='-Qoption ld '
8501
lt_prog_compiler_pic='-PIC'
8502
lt_prog_compiler_static='-Bstatic'
8505
sysv4 | sysv4.2uw2* | sysv4.3*)
8506
lt_prog_compiler_wl='-Wl,'
8507
lt_prog_compiler_pic='-KPIC'
8508
lt_prog_compiler_static='-Bstatic'
8512
if test -d /usr/nec ;then
8513
lt_prog_compiler_pic='-Kconform_pic'
8514
lt_prog_compiler_static='-Bstatic'
8518
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8519
lt_prog_compiler_wl='-Wl,'
8520
lt_prog_compiler_pic='-KPIC'
8521
lt_prog_compiler_static='-Bstatic'
8525
lt_prog_compiler_wl='-Wl,'
8526
lt_prog_compiler_can_build_shared=no
8530
lt_prog_compiler_pic='-pic'
8531
lt_prog_compiler_static='-Bstatic'
8535
lt_prog_compiler_can_build_shared=no
8541
# For platforms which do not support PIC, -DPIC is meaningless:
8543
lt_prog_compiler_pic=
8546
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8551
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8552
if ${lt_cv_prog_compiler_pic+:} false; then :
8553
$as_echo_n "(cached) " >&6
8555
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8558
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8559
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8562
# Check to make sure the PIC flag actually works.
8564
if test -n "$lt_prog_compiler_pic"; then
8565
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8566
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8567
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8568
$as_echo_n "(cached) " >&6
8570
lt_cv_prog_compiler_pic_works=no
8571
ac_outfile=conftest.$ac_objext
8572
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8573
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8574
# Insert the option either (1) after the last *FLAGS variable, or
8575
# (2) before a word containing "conftest.", or (3) at the end.
8576
# Note that $ac_compile itself does not contain backslashes and begins
8577
# with a dollar sign (not a hyphen), so the echo should work correctly.
8578
# The option is referenced via a variable to avoid confusing sed.
8579
lt_compile=`echo "$ac_compile" | $SED \
8580
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8581
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8582
-e 's:$: $lt_compiler_flag:'`
8583
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8584
(eval "$lt_compile" 2>conftest.err)
8586
cat conftest.err >&5
8587
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8588
if (exit $ac_status) && test -s "$ac_outfile"; then
8589
# The compiler can only warn and ignore the option if not recognized
8590
# So say no if there are warnings other than the usual output.
8591
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8592
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8593
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8594
lt_cv_prog_compiler_pic_works=yes
8600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8601
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8603
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8604
case $lt_prog_compiler_pic in
8606
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8609
lt_prog_compiler_pic=
8610
lt_prog_compiler_can_build_shared=no
8626
# Check to make sure the static flag actually works.
8628
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8629
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8630
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8631
if ${lt_cv_prog_compiler_static_works+:} false; then :
8632
$as_echo_n "(cached) " >&6
8634
lt_cv_prog_compiler_static_works=no
8635
save_LDFLAGS="$LDFLAGS"
8636
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8637
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8638
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8639
# The linker can only warn and ignore the option if not recognized
8640
# So say no if there are warnings
8641
if test -s conftest.err; then
8642
# Append any errors to the config.log.
8643
cat conftest.err 1>&5
8644
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8645
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8646
if diff conftest.exp conftest.er2 >/dev/null; then
8647
lt_cv_prog_compiler_static_works=yes
8650
lt_cv_prog_compiler_static_works=yes
8654
LDFLAGS="$save_LDFLAGS"
8657
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8658
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8660
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8663
lt_prog_compiler_static=
8672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8673
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8674
if ${lt_cv_prog_compiler_c_o+:} false; then :
8675
$as_echo_n "(cached) " >&6
8677
lt_cv_prog_compiler_c_o=no
8678
$RM -r conftest 2>/dev/null
8682
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8684
lt_compiler_flag="-o out/conftest2.$ac_objext"
8685
# Insert the option either (1) after the last *FLAGS variable, or
8686
# (2) before a word containing "conftest.", or (3) at the end.
8687
# Note that $ac_compile itself does not contain backslashes and begins
8688
# with a dollar sign (not a hyphen), so the echo should work correctly.
8689
lt_compile=`echo "$ac_compile" | $SED \
8690
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8691
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8692
-e 's:$: $lt_compiler_flag:'`
8693
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8694
(eval "$lt_compile" 2>out/conftest.err)
8696
cat out/conftest.err >&5
8697
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8698
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8700
# The compiler can only warn and ignore the option if not recognized
8701
# So say no if there are warnings
8702
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8703
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8704
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8705
lt_cv_prog_compiler_c_o=yes
8710
# SGI C++ compiler will create directory out/ii_files/ for
8711
# template instantiation
8712
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8713
$RM out/* && rmdir out
8719
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8720
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8727
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8728
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8729
if ${lt_cv_prog_compiler_c_o+:} false; then :
8730
$as_echo_n "(cached) " >&6
8732
lt_cv_prog_compiler_c_o=no
8733
$RM -r conftest 2>/dev/null
8737
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8739
lt_compiler_flag="-o out/conftest2.$ac_objext"
8740
# Insert the option either (1) after the last *FLAGS variable, or
8741
# (2) before a word containing "conftest.", or (3) at the end.
8742
# Note that $ac_compile itself does not contain backslashes and begins
8743
# with a dollar sign (not a hyphen), so the echo should work correctly.
8744
lt_compile=`echo "$ac_compile" | $SED \
8745
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8746
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8747
-e 's:$: $lt_compiler_flag:'`
8748
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8749
(eval "$lt_compile" 2>out/conftest.err)
8751
cat out/conftest.err >&5
8752
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8755
# The compiler can only warn and ignore the option if not recognized
8756
# So say no if there are warnings
8757
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8758
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8759
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8760
lt_cv_prog_compiler_c_o=yes
8765
# SGI C++ compiler will create directory out/ii_files/ for
8766
# template instantiation
8767
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8768
$RM out/* && rmdir out
8774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8775
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8780
hard_links="nottested"
8781
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8782
# do not overwrite the value of need_locks provided by the user
8783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8784
$as_echo_n "checking if we can lock with hard links... " >&6; }
8787
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8789
ln conftest.a conftest.b 2>&5 || hard_links=no
8790
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8791
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8792
$as_echo "$hard_links" >&6; }
8793
if test "$hard_links" = no; then
8794
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8795
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8807
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8808
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8811
allow_undefined_flag=
8812
always_export_symbols=no
8814
archive_expsym_cmds=
8815
compiler_needs_object=no
8816
enable_shared_with_static_runtimes=no
8817
export_dynamic_flag_spec=
8818
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8819
hardcode_automatic=no
8821
hardcode_direct_absolute=no
8822
hardcode_libdir_flag_spec=
8823
hardcode_libdir_flag_spec_ld=
8824
hardcode_libdir_separator=
8826
hardcode_shlibpath_var=unsupported
8828
link_all_deplibs=unknown
8831
old_archive_from_new_cmds=
8832
old_archive_from_expsyms_cmds=
8833
thread_safe_flag_spec=
8834
whole_archive_flag_spec=
8835
# include_expsyms should be a list of space-separated symbols to be *always*
8836
# included in the symbol list
8838
# exclude_expsyms can be an extended regexp of symbols to exclude
8839
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8840
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8841
# as well as any symbol that contains `d'.
8842
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8843
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8844
# platforms (ab)use it in PIC code, but their linkers get confused if
8845
# the symbol is explicitly referenced. Since portable code cannot
8846
# rely on this symbol name, it's probably fine to never include it in
8847
# preloaded symbol tables.
8848
# Exclude shared library initialization/finalization symbols.
8849
extract_expsyms_cmds=
8852
cygwin* | mingw* | pw32* | cegcc*)
8853
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8854
# When not using gcc, we currently assume that we are using
8855
# Microsoft Visual C++.
8856
if test "$GCC" != yes; then
8861
# we just hope/assume this is gcc and not c89 (= MSVC++)
8867
linux* | k*bsd*-gnu | gnu*)
8874
# On some targets, GNU ld is compatible enough with the native linker
8875
# that we're better off using the native interface for both.
8876
lt_use_gnu_ld_interface=no
8877
if test "$with_gnu_ld" = yes; then
8880
# The AIX port of GNU ld has always aspired to compatibility
8881
# with the native linker. However, as the warning in the GNU ld
8882
# block says, versions before 2.19.5* couldn't really create working
8883
# shared libraries, regardless of the interface used.
8884
case `$LD -v 2>&1` in
8885
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8886
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8887
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
8889
lt_use_gnu_ld_interface=yes
8894
lt_use_gnu_ld_interface=yes
8899
if test "$lt_use_gnu_ld_interface" = yes; then
8900
# If archive_cmds runs LD, not CC, wlarc should be empty
8903
# Set some defaults for GNU ld with shared library support. These
8904
# are reset later if shared libraries are not supported. Putting them
8905
# here allows them to be overridden if necessary.
8906
runpath_var=LD_RUN_PATH
8907
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8908
export_dynamic_flag_spec='${wl}--export-dynamic'
8909
# ancient GNU ld didn't support --whole-archive et. al.
8910
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8911
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8913
whole_archive_flag_spec=
8915
supports_anon_versioning=no
8916
case `$LD -v 2>&1` in
8917
*GNU\ gold*) supports_anon_versioning=yes ;;
8918
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8919
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8920
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8921
*\ 2.11.*) ;; # other 2.11 versions
8922
*) supports_anon_versioning=yes ;;
8925
# See if GNU ld supports shared libraries.
8928
# On AIX/PPC, the GNU linker is very broken
8929
if test "$host_cpu" != ia64; then
8933
*** Warning: the GNU linker, at least up to release 2.19, is reported
8934
*** to be unable to reliably create shared libraries on AIX.
8935
*** Therefore, libtool is disabling shared libraries support. If you
8936
*** really care for shared libraries, you may want to install binutils
8937
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8938
*** You will then need to restart the configuration process.
8947
# see comment about AmigaOS4 .so support
8948
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8949
archive_expsym_cmds=''
8952
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)'
8953
hardcode_libdir_flag_spec='-L$libdir'
8954
hardcode_minus_L=yes
8960
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8961
allow_undefined_flag=unsupported
8962
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8963
# support --undefined. This deserves some investigation. FIXME
8964
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8970
cygwin* | mingw* | pw32* | cegcc*)
8971
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8972
# as there is no search path for DLLs.
8973
hardcode_libdir_flag_spec='-L$libdir'
8974
export_dynamic_flag_spec='${wl}--export-all-symbols'
8975
allow_undefined_flag=unsupported
8976
always_export_symbols=no
8977
enable_shared_with_static_runtimes=yes
8978
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'
8979
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8981
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8982
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8983
# If the export-symbols file already is a .def file (1st line
8984
# is EXPORTS), use it as is; otherwise, prepend...
8985
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8986
cp $export_symbols $output_objdir/$soname.def;
8988
echo EXPORTS > $output_objdir/$soname.def;
8989
cat $export_symbols >> $output_objdir/$soname.def;
8991
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8998
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8999
link_all_deplibs=yes
9004
hardcode_shlibpath_var=no
9005
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9006
export_dynamic_flag_spec='${wl}-E'
9007
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9008
# Instead, shared libraries are loaded at an image base (0x10000000 by
9009
# default) and relocated if they conflict, which is a slow very memory
9010
# consuming and fragmenting process. To avoid this, we pick a random,
9011
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9012
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9013
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9014
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'
9017
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9019
if test "$host_os" = linux-dietlibc; then
9020
case $cc_basename in
9021
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9024
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9025
&& test "$tmp_diet" = no
9027
tmp_addflag=' $pic_flag'
9028
tmp_sharedflag='-shared'
9029
case $cc_basename,$host_cpu in
9030
pgcc*) # Portland Group C compiler
9031
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'
9032
tmp_addflag=' $pic_flag'
9034
pgf77* | pgf90* | pgf95* | pgfortran*)
9035
# Portland Group f77 and f90 compilers
9036
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'
9037
tmp_addflag=' $pic_flag -Mnomain' ;;
9038
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9039
tmp_addflag=' -i_dynamic' ;;
9040
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9041
tmp_addflag=' -i_dynamic -nofor_main' ;;
9042
ifc* | ifort*) # Intel Fortran compiler
9043
tmp_addflag=' -nofor_main' ;;
9044
lf95*) # Lahey Fortran 8.1
9045
whole_archive_flag_spec=
9046
tmp_sharedflag='--shared' ;;
9047
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9048
tmp_sharedflag='-qmkshrobj'
9050
nvcc*) # Cuda Compiler Driver 2.2
9051
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'
9052
compiler_needs_object=yes
9055
case `$CC -V 2>&1 | sed 5q` in
9056
*Sun\ C*) # Sun C 5.9
9057
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'
9058
compiler_needs_object=yes
9059
tmp_sharedflag='-G' ;;
9060
*Sun\ F*) # Sun Fortran 8.3
9061
tmp_sharedflag='-G' ;;
9063
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9065
if test "x$supports_anon_versioning" = xyes; then
9066
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9067
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9068
echo "local: *; };" >> $output_objdir/$libname.ver~
9069
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9072
case $cc_basename in
9073
xlf* | bgf* | bgxlf* | mpixlf*)
9074
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9075
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9076
hardcode_libdir_flag_spec=
9077
hardcode_libdir_flag_spec_ld='-rpath $libdir'
9078
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9079
if test "x$supports_anon_versioning" = xyes; then
9080
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9081
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9082
echo "local: *; };" >> $output_objdir/$libname.ver~
9083
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9092
netbsd* | netbsdelf*-gnu)
9093
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9094
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9097
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9098
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9103
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9107
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9108
*** create shared libraries on Solaris systems. Therefore, libtool
9109
*** is disabling shared libraries support. We urge you to upgrade GNU
9110
*** binutils to release 2.9.1 or newer. Another option is to modify
9111
*** your PATH or compiler configuration so that the native linker is
9112
*** used, and then restart.
9115
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9116
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9117
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9123
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9124
case `$LD -v 2>&1` in
9125
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9129
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9130
*** reliably create shared libraries on SCO systems. Therefore, libtool
9131
*** is disabling shared libraries support. We urge you to upgrade GNU
9132
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9133
*** your PATH or compiler configuration so that the native linker is
9134
*** used, and then restart.
9139
# For security reasons, it is highly recommended that you always
9140
# use absolute paths for naming shared libraries, and exclude the
9141
# DT_RUNPATH tag from executables and libraries. But doing so
9142
# requires that you compile everything twice, which is a pain.
9143
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9144
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9145
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9146
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9155
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9158
hardcode_shlibpath_var=no
9162
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9163
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9164
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9171
if test "$ld_shlibs" = no; then
9173
hardcode_libdir_flag_spec=
9174
export_dynamic_flag_spec=
9175
whole_archive_flag_spec=
9178
# PORTME fill in a description of your system's linker (not GNU ld)
9181
allow_undefined_flag=unsupported
9182
always_export_symbols=yes
9183
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'
9184
# Note: this linker hardcodes the directories in LIBPATH if there
9185
# are no directories specified by -L.
9186
hardcode_minus_L=yes
9187
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9188
# Neither direct hardcoding nor static linking is supported with a
9190
hardcode_direct=unsupported
9195
if test "$host_cpu" = ia64; then
9196
# On IA64, the linker does run time linking by default, so we don't
9197
# have to do anything special.
9198
aix_use_runtimelinking=no
9199
exp_sym_flag='-Bexport'
9202
# If we're using GNU nm, then we don't want the "-C" option.
9203
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9204
# Also, AIX nm treats weak defined symbols like other global
9205
# defined symbols, whereas GNU nm marks them as "W".
9206
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9207
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'
9209
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'
9211
aix_use_runtimelinking=no
9213
# Test if we are trying to use run time linking or normal
9214
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9215
# need to do runtime linking.
9216
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9217
for ld_flag in $LDFLAGS; do
9218
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9219
aix_use_runtimelinking=yes
9226
exp_sym_flag='-bexport'
9227
no_entry_flag='-bnoentry'
9230
# When large executables or shared objects are built, AIX ld can
9231
# have problems creating the table of contents. If linking a library
9232
# or program results in "error TOC overflow" add -mminimal-toc to
9233
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9234
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9238
hardcode_direct_absolute=yes
9239
hardcode_libdir_separator=':'
9240
link_all_deplibs=yes
9241
file_list_spec='${wl}-f,'
9243
if test "$GCC" = yes; then
9244
case $host_os in aix4.[012]|aix4.[012].*)
9245
# We only want to do this on AIX 4.2 and lower, the check
9246
# below for broken collect2 doesn't work under 4.3+
9247
collect2name=`${CC} -print-prog-name=collect2`
9248
if test -f "$collect2name" &&
9249
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9251
# We have reworked collect2
9254
# We have old collect2
9255
hardcode_direct=unsupported
9256
# It fails to find uninstalled libraries when the uninstalled
9257
# path is not listed in the libpath. Setting hardcode_minus_L
9258
# to unsupported forces relinking
9259
hardcode_minus_L=yes
9260
hardcode_libdir_flag_spec='-L$libdir'
9261
hardcode_libdir_separator=
9265
shared_flag='-shared'
9266
if test "$aix_use_runtimelinking" = yes; then
9267
shared_flag="$shared_flag "'${wl}-G'
9272
if test "$host_cpu" = ia64; then
9273
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9274
# chokes on -Wl,-G. The following line is correct:
9277
if test "$aix_use_runtimelinking" = yes; then
9278
shared_flag='${wl}-G'
9280
shared_flag='${wl}-bM:SRE'
9285
export_dynamic_flag_spec='${wl}-bexpall'
9286
# It seems that -bexpall does not export symbols beginning with
9287
# underscore (_), so it is better to generate a list of symbols to export.
9288
always_export_symbols=yes
9289
if test "$aix_use_runtimelinking" = yes; then
9290
# Warning - without using the other runtime loading flags (-brtl),
9291
# -berok will link without error, but may produce a broken library.
9292
allow_undefined_flag='-berok'
9293
# Determine the default libpath from the value encoded in an
9295
if test "${lt_cv_aix_libpath+set}" = set; then
9296
aix_libpath=$lt_cv_aix_libpath
9298
if ${lt_cv_aix_libpath_+:} false; then :
9299
$as_echo_n "(cached) " >&6
9301
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9302
/* end confdefs.h. */
9312
if ac_fn_c_try_link "$LINENO"; then :
9314
lt_aix_libpath_sed='
9315
/Import File Strings/,/^$/ {
9317
s/^0 *\([^ ]*\) *$/\1/
9321
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9322
# Check for a 64-bit object if we didn't find anything.
9323
if test -z "$lt_cv_aix_libpath_"; then
9324
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9327
rm -f core conftest.err conftest.$ac_objext \
9328
conftest$ac_exeext conftest.$ac_ext
9329
if test -z "$lt_cv_aix_libpath_"; then
9330
lt_cv_aix_libpath_="/usr/lib:/lib"
9335
aix_libpath=$lt_cv_aix_libpath_
9338
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9339
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"
9341
if test "$host_cpu" = ia64; then
9342
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9343
allow_undefined_flag="-z nodefs"
9344
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"
9346
# Determine the default libpath from the value encoded in an
9348
if test "${lt_cv_aix_libpath+set}" = set; then
9349
aix_libpath=$lt_cv_aix_libpath
9351
if ${lt_cv_aix_libpath_+:} false; then :
9352
$as_echo_n "(cached) " >&6
9354
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9355
/* end confdefs.h. */
9365
if ac_fn_c_try_link "$LINENO"; then :
9367
lt_aix_libpath_sed='
9368
/Import File Strings/,/^$/ {
9370
s/^0 *\([^ ]*\) *$/\1/
9374
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9375
# Check for a 64-bit object if we didn't find anything.
9376
if test -z "$lt_cv_aix_libpath_"; then
9377
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9380
rm -f core conftest.err conftest.$ac_objext \
9381
conftest$ac_exeext conftest.$ac_ext
9382
if test -z "$lt_cv_aix_libpath_"; then
9383
lt_cv_aix_libpath_="/usr/lib:/lib"
9388
aix_libpath=$lt_cv_aix_libpath_
9391
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9392
# Warning - without using the other run time loading flags,
9393
# -berok will link without error, but may produce a broken library.
9394
no_undefined_flag=' ${wl}-bernotok'
9395
allow_undefined_flag=' ${wl}-berok'
9396
if test "$with_gnu_ld" = yes; then
9397
# We only use this code for GNU lds that support --whole-archive.
9398
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9400
# Exported symbols can be pulled into shared objects from archives
9401
whole_archive_flag_spec='$convenience'
9403
archive_cmds_need_lc=yes
9404
# This is similar to how AIX traditionally builds its shared libraries.
9405
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'
9413
# see comment about AmigaOS4 .so support
9414
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9415
archive_expsym_cmds=''
9418
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)'
9419
hardcode_libdir_flag_spec='-L$libdir'
9420
hardcode_minus_L=yes
9426
export_dynamic_flag_spec=-rdynamic
9429
cygwin* | mingw* | pw32* | cegcc*)
9430
# When not using gcc, we currently assume that we are using
9431
# Microsoft Visual C++.
9432
# hardcode_libdir_flag_spec is actually meaningless, as there is
9433
# no search path for DLLs.
9434
case $cc_basename in
9437
hardcode_libdir_flag_spec=' '
9438
allow_undefined_flag=unsupported
9439
always_export_symbols=yes
9441
# Tell ltmain to make .lib files, not .a files.
9443
# Tell ltmain to make .dll files, not .so files.
9445
# FIXME: Setting linknames here is a bad hack.
9446
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9447
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9448
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9450
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9452
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9454
# The linker will not automatically build a static lib if we build a DLL.
9455
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9456
enable_shared_with_static_runtimes=yes
9457
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9459
old_postinstall_cmds='chmod 644 $oldlib'
9460
postlink_cmds='lt_outputfile="@OUTPUT@"~
9461
lt_tool_outputfile="@TOOL_OUTPUT@"~
9462
case $lt_outputfile in
9465
lt_outputfile="$lt_outputfile.exe"
9466
lt_tool_outputfile="$lt_tool_outputfile.exe"
9469
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9470
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9471
$RM "$lt_outputfile.manifest";
9475
# Assume MSVC wrapper
9476
hardcode_libdir_flag_spec=' '
9477
allow_undefined_flag=unsupported
9478
# Tell ltmain to make .lib files, not .a files.
9480
# Tell ltmain to make .dll files, not .so files.
9482
# FIXME: Setting linknames here is a bad hack.
9483
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9484
# The linker will automatically build a .lib file if we build a DLL.
9485
old_archive_from_new_cmds='true'
9486
# FIXME: Should let the user specify the lib program.
9487
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9488
enable_shared_with_static_runtimes=yes
9493
darwin* | rhapsody*)
9496
archive_cmds_need_lc=no
9498
hardcode_automatic=yes
9499
hardcode_shlibpath_var=unsupported
9500
if test "$lt_cv_ld_force_load" = "yes"; then
9501
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\"`'
9503
whole_archive_flag_spec=''
9505
link_all_deplibs=yes
9506
allow_undefined_flag="$_lt_dar_allow_undefined"
9507
case $cc_basename in
9508
ifort*) _lt_dar_can_shared=yes ;;
9509
*) _lt_dar_can_shared=$GCC ;;
9511
if test "$_lt_dar_can_shared" = "yes"; then
9512
output_verbose_link_cmd=func_echo_all
9513
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9514
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9515
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}"
9516
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}"
9525
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9526
hardcode_libdir_flag_spec='-L$libdir'
9527
hardcode_shlibpath_var=no
9534
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9535
# support. Future versions do this automatically, but an explicit c++rt0.o
9536
# does not break anything, and helps significantly (at the cost of a little
9539
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9540
hardcode_libdir_flag_spec='-R$libdir'
9542
hardcode_shlibpath_var=no
9545
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9547
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9549
hardcode_minus_L=yes
9550
hardcode_shlibpath_var=no
9553
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9554
freebsd* | dragonfly*)
9555
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9556
hardcode_libdir_flag_spec='-R$libdir'
9558
hardcode_shlibpath_var=no
9562
if test "$GCC" = yes; then
9563
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'
9565
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'
9567
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9568
hardcode_libdir_separator=:
9571
# hardcode_minus_L: Not really in the search PATH,
9572
# but as the default location of the library.
9573
hardcode_minus_L=yes
9574
export_dynamic_flag_spec='${wl}-E'
9578
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9579
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9581
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9583
if test "$with_gnu_ld" = no; then
9584
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9585
hardcode_libdir_flag_spec_ld='+b $libdir'
9586
hardcode_libdir_separator=:
9588
hardcode_direct_absolute=yes
9589
export_dynamic_flag_spec='${wl}-E'
9590
# hardcode_minus_L: Not really in the search PATH,
9591
# but as the default location of the library.
9592
hardcode_minus_L=yes
9597
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9600
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9603
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9606
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9612
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9615
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9619
# Older versions of the 11.00 compiler do not understand -b yet
9620
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9621
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9622
$as_echo_n "checking if $CC understands -b... " >&6; }
9623
if ${lt_cv_prog_compiler__b+:} false; then :
9624
$as_echo_n "(cached) " >&6
9626
lt_cv_prog_compiler__b=no
9627
save_LDFLAGS="$LDFLAGS"
9628
LDFLAGS="$LDFLAGS -b"
9629
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9630
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9631
# The linker can only warn and ignore the option if not recognized
9632
# So say no if there are warnings
9633
if test -s conftest.err; then
9634
# Append any errors to the config.log.
9635
cat conftest.err 1>&5
9636
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9637
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9638
if diff conftest.exp conftest.er2 >/dev/null; then
9639
lt_cv_prog_compiler__b=yes
9642
lt_cv_prog_compiler__b=yes
9646
LDFLAGS="$save_LDFLAGS"
9649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9650
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9652
if test x"$lt_cv_prog_compiler__b" = xyes; then
9653
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9655
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9661
if test "$with_gnu_ld" = no; then
9662
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9663
hardcode_libdir_separator=:
9668
hardcode_shlibpath_var=no
9672
hardcode_direct_absolute=yes
9673
export_dynamic_flag_spec='${wl}-E'
9675
# hardcode_minus_L: Not really in the search PATH,
9676
# but as the default location of the library.
9677
hardcode_minus_L=yes
9683
irix5* | irix6* | nonstopux*)
9684
if test "$GCC" = yes; then
9685
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'
9686
# Try to use the -exported_symbol ld option, if it does not
9687
# work, assume that -exports_file does not work either and
9688
# implicitly export all symbols.
9689
# This should be the same for all languages, so no per-tag cache variable.
9690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9691
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9692
if ${lt_cv_irix_exported_symbol+:} false; then :
9693
$as_echo_n "(cached) " >&6
9695
save_LDFLAGS="$LDFLAGS"
9696
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9697
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9698
/* end confdefs.h. */
9699
int foo (void) { return 0; }
9701
if ac_fn_c_try_link "$LINENO"; then :
9702
lt_cv_irix_exported_symbol=yes
9704
lt_cv_irix_exported_symbol=no
9706
rm -f core conftest.err conftest.$ac_objext \
9707
conftest$ac_exeext conftest.$ac_ext
9708
LDFLAGS="$save_LDFLAGS"
9710
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9711
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9712
if test "$lt_cv_irix_exported_symbol" = yes; then
9713
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'
9716
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'
9717
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'
9719
archive_cmds_need_lc='no'
9720
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9721
hardcode_libdir_separator=:
9723
link_all_deplibs=yes
9726
netbsd* | netbsdelf*-gnu)
9727
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9728
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9730
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9732
hardcode_libdir_flag_spec='-R$libdir'
9734
hardcode_shlibpath_var=no
9738
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9740
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9741
hardcode_libdir_separator=:
9742
hardcode_shlibpath_var=no
9749
if test -f /usr/libexec/ld.so; then
9751
hardcode_shlibpath_var=no
9752
hardcode_direct_absolute=yes
9753
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9754
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9755
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9756
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9757
export_dynamic_flag_spec='${wl}-E'
9760
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9761
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9762
hardcode_libdir_flag_spec='-R$libdir'
9765
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9766
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9776
hardcode_libdir_flag_spec='-L$libdir'
9777
hardcode_minus_L=yes
9778
allow_undefined_flag=unsupported
9779
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'
9780
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9784
if test "$GCC" = yes; then
9785
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9786
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'
9788
allow_undefined_flag=' -expect_unresolved \*'
9789
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'
9791
archive_cmds_need_lc='no'
9792
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9793
hardcode_libdir_separator=:
9796
osf4* | osf5*) # as osf3* with the addition of -msym flag
9797
if test "$GCC" = yes; then
9798
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9799
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'
9800
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9802
allow_undefined_flag=' -expect_unresolved \*'
9803
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'
9804
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~
9805
$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'
9807
# Both c and cxx compiler support -rpath directly
9808
hardcode_libdir_flag_spec='-rpath $libdir'
9810
archive_cmds_need_lc='no'
9811
hardcode_libdir_separator=:
9815
no_undefined_flag=' -z defs'
9816
if test "$GCC" = yes; then
9818
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9819
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9820
$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'
9822
case `$CC -V 2>&1` in
9825
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9826
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9827
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9831
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9832
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9833
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9837
hardcode_libdir_flag_spec='-R$libdir'
9838
hardcode_shlibpath_var=no
9840
solaris2.[0-5] | solaris2.[0-5].*) ;;
9842
# The compiler driver will combine and reorder linker options,
9843
# but understands `-z linker_flag'. GCC discards it without `$wl',
9844
# but is careful enough not to reorder.
9845
# Supported since Solaris 2.6 (maybe 2.5.1?)
9846
if test "$GCC" = yes; then
9847
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9849
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9853
link_all_deplibs=yes
9857
if test "x$host_vendor" = xsequent; then
9858
# Use $CC to link under sequent, because it throws in some extra .o
9859
# files that make .init and .fini sections work.
9860
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9862
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9864
hardcode_libdir_flag_spec='-L$libdir'
9866
hardcode_minus_L=yes
9867
hardcode_shlibpath_var=no
9871
case $host_vendor in
9873
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9874
hardcode_direct=yes # is this really true???
9877
## LD is ld it makes a PLAMLIB
9878
## CC just makes a GrossModule.
9879
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9880
reload_cmds='$CC -r -o $output$reload_objs'
9884
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9885
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9888
runpath_var='LD_RUN_PATH'
9889
hardcode_shlibpath_var=no
9893
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9894
hardcode_shlibpath_var=no
9895
export_dynamic_flag_spec='-Bexport'
9899
if test -d /usr/nec; then
9900
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9901
hardcode_shlibpath_var=no
9902
runpath_var=LD_RUN_PATH
9903
hardcode_runpath_var=yes
9908
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9909
no_undefined_flag='${wl}-z,text'
9910
archive_cmds_need_lc=no
9911
hardcode_shlibpath_var=no
9912
runpath_var='LD_RUN_PATH'
9914
if test "$GCC" = yes; then
9915
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9916
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9918
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9919
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9923
sysv5* | sco3.2v5* | sco5v6*)
9924
# Note: We can NOT use -z defs as we might desire, because we do not
9925
# link with -lc, and that would cause any symbols used from libc to
9926
# always be unresolved, which means just about no library would
9927
# ever link correctly. If we're not using GNU ld we use -z text
9928
# though, which does catch some bad symbols but isn't as heavy-handed
9930
no_undefined_flag='${wl}-z,text'
9931
allow_undefined_flag='${wl}-z,nodefs'
9932
archive_cmds_need_lc=no
9933
hardcode_shlibpath_var=no
9934
hardcode_libdir_flag_spec='${wl}-R,$libdir'
9935
hardcode_libdir_separator=':'
9936
link_all_deplibs=yes
9937
export_dynamic_flag_spec='${wl}-Bexport'
9938
runpath_var='LD_RUN_PATH'
9940
if test "$GCC" = yes; then
9941
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9942
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9944
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9945
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9950
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9951
hardcode_libdir_flag_spec='-L$libdir'
9952
hardcode_shlibpath_var=no
9960
if test x$host_vendor = xsni; then
9962
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9963
export_dynamic_flag_spec='${wl}-Blargedynsym'
9969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9970
$as_echo "$ld_shlibs" >&6; }
9971
test "$ld_shlibs" = no && can_build_shared=no
9973
with_gnu_ld=$with_gnu_ld
9990
# Do we need to explicitly link libc?
9992
case "x$archive_cmds_need_lc" in
9994
# Assume -lc should be added
9995
archive_cmds_need_lc=yes
9997
if test "$enable_shared" = yes && test "$GCC" = yes; then
9998
case $archive_cmds in
10000
# FIXME: we may have to deal with multi-command sequences.
10003
# Test whether the compiler implicitly links with -lc since on some
10004
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10005
# to ld, don't add -lc before -lgcc.
10006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10007
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10008
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10009
$as_echo_n "(cached) " >&6
10012
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10014
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10015
(eval $ac_compile) 2>&5
10017
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10018
test $ac_status = 0; } 2>conftest.err; then
10021
libobjs=conftest.$ac_objext
10023
wl=$lt_prog_compiler_wl
10024
pic_flag=$lt_prog_compiler_pic
10030
lt_save_allow_undefined_flag=$allow_undefined_flag
10031
allow_undefined_flag=
10032
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10033
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10035
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10036
test $ac_status = 0; }
10038
lt_cv_archive_cmds_need_lc=no
10040
lt_cv_archive_cmds_need_lc=yes
10042
allow_undefined_flag=$lt_save_allow_undefined_flag
10044
cat conftest.err 1>&5
10049
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10050
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10051
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10215
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10217
if test "$GCC" = yes; then
10219
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10220
*) lt_awk_arg="/^libraries:/" ;;
10223
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10224
*) lt_sed_strip_eq="s,=/,/,g" ;;
10226
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10227
case $lt_search_path_spec in
10229
# if the path contains ";" then we assume it to be the separator
10230
# otherwise default to the standard path separator (i.e. ":") - it is
10231
# assumed that no part of a normal pathname contains ";" but that should
10232
# okay in the real world where ";" in dirpaths is itself problematic.
10233
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10236
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10239
# Ok, now we have the path, separated by spaces, we can step through it
10240
# and add multilib dir if necessary.
10241
lt_tmp_lt_search_path_spec=
10242
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10243
for lt_sys_path in $lt_search_path_spec; do
10244
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10245
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10247
test -d "$lt_sys_path" && \
10248
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10251
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10252
BEGIN {RS=" "; FS="/|\n";} {
10255
for (lt_i = NF; lt_i > 0; lt_i--) {
10256
if ($lt_i != "" && $lt_i != ".") {
10257
if ($lt_i == "..") {
10260
if (lt_count == 0) {
10261
lt_foo="/" $lt_i lt_foo;
10268
if (lt_foo != "") { lt_freq[lt_foo]++; }
10269
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10271
# AWK program above erroneously prepends '/' to C:/dos/paths
10274
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10275
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
10277
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10279
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10281
library_names_spec=
10282
libname_spec='lib$name'
10286
postuninstall_cmds=
10290
shlibpath_overrides_runpath=unknown
10292
dynamic_linker="$host_os ld.so"
10293
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10294
need_lib_prefix=unknown
10295
hardcode_into_libs=no
10297
# when you set need_version to no, make sure it does not cause -set_version
10298
# flags to be left without arguments
10299
need_version=unknown
10304
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10305
shlibpath_var=LIBPATH
10307
# AIX 3 has no versioning support, so we append a major version to the name.
10308
soname_spec='${libname}${release}${shared_ext}$major'
10315
hardcode_into_libs=yes
10316
if test "$host_cpu" = ia64; then
10317
# AIX 5 supports IA64
10318
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10319
shlibpath_var=LD_LIBRARY_PATH
10321
# With GCC up to 2.95.x, collect2 would create an import file
10322
# for dependence libraries. The import file would start with
10323
# the line `#! .'. This would cause the generated library to
10324
# depend on `.', always an invalid library. This was fixed in
10325
# development snapshots of GCC prior to 3.0.
10327
aix4 | aix4.[01] | aix4.[01].*)
10328
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10330
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10333
can_build_shared=no
10337
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10338
# soname into executable. Probably we can add versioning support to
10339
# collect2, so additional links can be useful in future.
10340
if test "$aix_use_runtimelinking" = yes; then
10341
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10342
# instead of lib<name>.a to let people know that these are not
10343
# typical AIX shared libraries.
10344
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10346
# We preserve .a as extension for shared libraries through AIX4.2
10347
# and later when we are not doing run time linking.
10348
library_names_spec='${libname}${release}.a $libname.a'
10349
soname_spec='${libname}${release}${shared_ext}$major'
10351
shlibpath_var=LIBPATH
10358
# Since July 2007 AmigaOS4 officially supports .so libraries.
10359
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10360
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10363
library_names_spec='$libname.ixlibrary $libname.a'
10364
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10365
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'
10371
library_names_spec='${libname}${shared_ext}'
10372
dynamic_linker="$host_os ld.so"
10373
shlibpath_var=LIBRARY_PATH
10379
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10380
soname_spec='${libname}${release}${shared_ext}$major'
10381
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10382
shlibpath_var=LD_LIBRARY_PATH
10383
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10384
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10385
# the default ld.so.conf also contains /usr/contrib/lib and
10386
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10387
# libtool to hard-code these into programs
10390
cygwin* | mingw* | pw32* | cegcc*)
10391
version_type=windows
10396
case $GCC,$cc_basename in
10399
library_names_spec='$libname.dll.a'
10400
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10401
postinstall_cmds='base_file=`basename \${file}`~
10402
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10403
dldir=$destdir/`dirname \$dlpath`~
10404
test -d \$dldir || mkdir -p \$dldir~
10405
$install_prog $dir/$dlname \$dldir/$dlname~
10406
chmod a+x \$dldir/$dlname~
10407
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10408
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10410
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10411
dlpath=$dir/\$dldll~
10413
shlibpath_overrides_runpath=yes
10417
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10418
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10420
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10423
# MinGW DLLs use traditional 'lib' prefix
10424
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10427
# pw32 DLLs use 'pw' prefix rather than 'lib'
10428
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10431
dynamic_linker='Win32 ld.exe'
10436
libname_spec='$name'
10437
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10438
library_names_spec='${libname}.dll.lib'
10442
sys_lib_search_path_spec=
10445
for lt_path in $LIB
10448
# Let DOS variable expansion print the short 8.3 style file name.
10449
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10450
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10453
# Convert to MSYS style.
10454
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10457
# Convert to unix form, then to dos form, then back to unix form
10458
# but this time dos style (no spaces!) so that the unix form looks
10459
# like /cygdrive/c/PROGRA~1:/cygdr...
10460
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10461
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10462
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10465
sys_lib_search_path_spec="$LIB"
10466
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10467
# It is most probably a Windows format PATH.
10468
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10470
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10472
# FIXME: find the short name or the path components, as spaces are
10473
# common. (e.g. "Program Files" -> "PROGRA~1")
10477
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10478
postinstall_cmds='base_file=`basename \${file}`~
10479
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10480
dldir=$destdir/`dirname \$dlpath`~
10481
test -d \$dldir || mkdir -p \$dldir~
10482
$install_prog $dir/$dlname \$dldir/$dlname'
10483
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10484
dlpath=$dir/\$dldll~
10486
shlibpath_overrides_runpath=yes
10487
dynamic_linker='Win32 link.exe'
10491
# Assume MSVC wrapper
10492
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10493
dynamic_linker='Win32 ld.exe'
10496
# FIXME: first we should search . and the directory the executable is in
10500
darwin* | rhapsody*)
10501
dynamic_linker="$host_os dyld"
10502
version_type=darwin
10505
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10506
soname_spec='${libname}${release}${major}$shared_ext'
10507
shlibpath_overrides_runpath=yes
10508
shlibpath_var=DYLD_LIBRARY_PATH
10509
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10511
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10512
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10519
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10520
soname_spec='${libname}${release}${shared_ext}$major'
10521
shlibpath_var=LD_LIBRARY_PATH
10528
freebsd* | dragonfly*)
10529
# DragonFly does not have aout. When/if they implement a new
10530
# versioning mechanism, adjust this.
10531
if test -x /usr/bin/objformat; then
10532
objformat=`/usr/bin/objformat`
10535
freebsd[123]*) objformat=aout ;;
10536
*) objformat=elf ;;
10539
version_type=freebsd-$objformat
10540
case $version_type in
10542
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10547
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10551
shlibpath_var=LD_LIBRARY_PATH
10554
shlibpath_overrides_runpath=yes
10556
freebsd3.[01]* | freebsdelf3.[01]*)
10557
shlibpath_overrides_runpath=yes
10558
hardcode_into_libs=yes
10560
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10561
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10562
shlibpath_overrides_runpath=no
10563
hardcode_into_libs=yes
10565
*) # from 4.6 on, and DragonFly
10566
shlibpath_overrides_runpath=yes
10567
hardcode_into_libs=yes
10576
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10577
soname_spec='${libname}${release}${shared_ext}$major'
10578
shlibpath_var=LD_LIBRARY_PATH
10579
shlibpath_overrides_runpath=no
10580
hardcode_into_libs=yes
10587
dynamic_linker="$host_os runtime_loader"
10588
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10589
soname_spec='${libname}${release}${shared_ext}$major'
10590
shlibpath_var=LIBRARY_PATH
10591
shlibpath_overrides_runpath=yes
10592
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10593
hardcode_into_libs=yes
10596
hpux9* | hpux10* | hpux11*)
10597
# Give a soname corresponding to the major version so that dld.sl refuses to
10598
# link against other versions.
10605
hardcode_into_libs=yes
10606
dynamic_linker="$host_os dld.so"
10607
shlibpath_var=LD_LIBRARY_PATH
10608
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10609
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10610
soname_spec='${libname}${release}${shared_ext}$major'
10611
if test "X$HPUX_IA64_MODE" = X32; then
10612
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10614
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10616
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10620
hardcode_into_libs=yes
10621
dynamic_linker="$host_os dld.sl"
10622
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10623
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10624
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10625
soname_spec='${libname}${release}${shared_ext}$major'
10626
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10627
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10631
dynamic_linker="$host_os dld.sl"
10632
shlibpath_var=SHLIB_PATH
10633
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10634
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10635
soname_spec='${libname}${release}${shared_ext}$major'
10638
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10639
postinstall_cmds='chmod 555 $lib'
10640
# or fails outright, so override atomically:
10641
install_override_mode=555
10648
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10649
soname_spec='${libname}${release}${shared_ext}$major'
10650
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10651
shlibpath_var=LD_LIBRARY_PATH
10652
shlibpath_overrides_runpath=no
10653
hardcode_into_libs=yes
10656
irix5* | irix6* | nonstopux*)
10658
nonstopux*) version_type=nonstopux ;;
10660
if test "$lt_cv_prog_gnu_ld" = yes; then
10668
soname_spec='${libname}${release}${shared_ext}$major'
10669
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10671
irix5* | nonstopux*)
10672
libsuff= shlibsuff=
10675
case $LD in # libtool.m4 will add one of these switches to LD
10676
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10677
libsuff= shlibsuff= libmagic=32-bit;;
10678
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10679
libsuff=32 shlibsuff=N32 libmagic=N32;;
10680
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10681
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10682
*) libsuff= shlibsuff= libmagic=never-match;;
10686
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10687
shlibpath_overrides_runpath=no
10688
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10689
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10690
hardcode_into_libs=yes
10693
# No shared lib support for Linux oldld, aout, or coff.
10694
linux*oldld* | linux*aout* | linux*coff*)
10698
# This must be Linux ELF.
10699
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10703
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10704
soname_spec='${libname}${release}${shared_ext}$major'
10705
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10706
shlibpath_var=LD_LIBRARY_PATH
10707
shlibpath_overrides_runpath=no
10709
# Some binutils ld are patched to set DT_RUNPATH
10710
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10711
$as_echo_n "(cached) " >&6
10713
lt_cv_shlibpath_overrides_runpath=no
10714
save_LDFLAGS=$LDFLAGS
10715
save_libdir=$libdir
10716
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10717
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10718
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10719
/* end confdefs.h. */
10729
if ac_fn_c_try_link "$LINENO"; then :
10730
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10731
lt_cv_shlibpath_overrides_runpath=yes
10734
rm -f core conftest.err conftest.$ac_objext \
10735
conftest$ac_exeext conftest.$ac_ext
10736
LDFLAGS=$save_LDFLAGS
10737
libdir=$save_libdir
10741
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10743
# This implies no fast_install, which is unacceptable.
10744
# Some rework will be needed to allow for fast_install
10745
# before this can be enabled.
10746
hardcode_into_libs=yes
10748
# Append ld.so.conf contents to the search path
10749
if test -f /etc/ld.so.conf; then
10750
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' ' '`
10751
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10754
# We used to test for /lib/ld.so.1 and disable shared libraries on
10755
# powerpc, because MkLinux only supported shared libraries with the
10756
# GNU dynamic linker. Since this was broken with cross compilers,
10757
# most powerpc-linux boxes support dynamic linking these days and
10758
# people can always --disable-shared, the test was removed, and we
10759
# assume the GNU/Linux dynamic linker is in use.
10760
dynamic_linker='GNU/Linux ld.so'
10767
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10768
soname_spec='${libname}${release}${shared_ext}$major'
10769
shlibpath_var=LD_LIBRARY_PATH
10770
shlibpath_overrides_runpath=no
10771
hardcode_into_libs=yes
10772
dynamic_linker='NetBSD ld.elf_so'
10779
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10780
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10781
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10782
dynamic_linker='NetBSD (a.out) ld.so'
10784
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10785
soname_spec='${libname}${release}${shared_ext}$major'
10786
dynamic_linker='NetBSD ld.elf_so'
10788
shlibpath_var=LD_LIBRARY_PATH
10789
shlibpath_overrides_runpath=yes
10790
hardcode_into_libs=yes
10795
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10796
shlibpath_var=LD_LIBRARY_PATH
10797
shlibpath_overrides_runpath=yes
10804
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10805
soname_spec='${libname}${release}${shared_ext}$major'
10806
shlibpath_var=LD_LIBRARY_PATH
10807
shlibpath_overrides_runpath=no
10808
hardcode_into_libs=yes
10809
dynamic_linker='ldqnx.so'
10814
sys_lib_dlsearch_path_spec="/usr/lib"
10816
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10818
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10819
*) need_version=no ;;
10821
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10822
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10823
shlibpath_var=LD_LIBRARY_PATH
10824
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10826
openbsd2.[89] | openbsd2.[89].*)
10827
shlibpath_overrides_runpath=no
10830
shlibpath_overrides_runpath=yes
10834
shlibpath_overrides_runpath=yes
10839
libname_spec='$name'
10842
library_names_spec='$libname${shared_ext} $libname.a'
10843
dynamic_linker='OS/2 ld.exe'
10844
shlibpath_var=LIBPATH
10847
osf3* | osf4* | osf5*)
10851
soname_spec='${libname}${release}${shared_ext}$major'
10852
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10853
shlibpath_var=LD_LIBRARY_PATH
10854
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10855
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10866
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10867
soname_spec='${libname}${release}${shared_ext}$major'
10868
shlibpath_var=LD_LIBRARY_PATH
10869
shlibpath_overrides_runpath=yes
10870
hardcode_into_libs=yes
10871
# ldd complains unless libraries are executable
10872
postinstall_cmds='chmod +x $lib'
10877
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10878
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10879
shlibpath_var=LD_LIBRARY_PATH
10880
shlibpath_overrides_runpath=yes
10881
if test "$with_gnu_ld" = yes; then
10889
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10890
soname_spec='${libname}${release}${shared_ext}$major'
10891
shlibpath_var=LD_LIBRARY_PATH
10892
case $host_vendor in
10894
shlibpath_overrides_runpath=no
10896
runpath_var=LD_RUN_PATH
10904
shlibpath_overrides_runpath=no
10905
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10911
if test -d /usr/nec ;then
10913
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10914
soname_spec='$libname${shared_ext}.$major'
10915
shlibpath_var=LD_LIBRARY_PATH
10919
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10920
version_type=freebsd-elf
10923
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10924
soname_spec='${libname}${release}${shared_ext}$major'
10925
shlibpath_var=LD_LIBRARY_PATH
10926
shlibpath_overrides_runpath=yes
10927
hardcode_into_libs=yes
10928
if test "$with_gnu_ld" = yes; then
10929
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10931
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10934
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10938
sys_lib_dlsearch_path_spec='/usr/lib'
10942
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10946
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10947
shlibpath_var=LD_LIBRARY_PATH
10948
shlibpath_overrides_runpath=no
10949
hardcode_into_libs=yes
10954
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10955
soname_spec='${libname}${release}${shared_ext}$major'
10956
shlibpath_var=LD_LIBRARY_PATH
10963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10964
$as_echo "$dynamic_linker" >&6; }
10965
test "$dynamic_linker" = no && can_build_shared=no
10967
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10968
if test "$GCC" = yes; then
10969
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10972
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10973
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10975
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10976
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11071
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11073
if test -n "$hardcode_libdir_flag_spec" ||
11074
test -n "$runpath_var" ||
11075
test "X$hardcode_automatic" = "Xyes" ; then
11077
# We can hardcode non-existent directories.
11078
if test "$hardcode_direct" != no &&
11079
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11080
# have to relink, otherwise we might link with an installed library
11081
# when we should be linking with a yet-to-be-installed one
11082
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11083
test "$hardcode_minus_L" != no; then
11084
# Linking always hardcodes the temporary library directory.
11085
hardcode_action=relink
11087
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11088
hardcode_action=immediate
11091
# We cannot hardcode anything, or else we can only hardcode existing
11093
hardcode_action=unsupported
11095
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11096
$as_echo "$hardcode_action" >&6; }
11098
if test "$hardcode_action" = relink ||
11099
test "$inherit_rpath" = yes; then
11100
# Fast installation is not supported
11101
enable_fast_install=no
11102
elif test "$shlibpath_overrides_runpath" = yes ||
11103
test "$enable_shared" = no; then
11104
# Fast installation is not necessary
11105
enable_fast_install=needless
11113
if test "x$enable_dlopen" != xyes; then
11114
enable_dlopen=unknown
11115
enable_dlopen_self=unknown
11116
enable_dlopen_self_static=unknown
11123
lt_cv_dlopen="load_add_on"
11125
lt_cv_dlopen_self=yes
11128
mingw* | pw32* | cegcc*)
11129
lt_cv_dlopen="LoadLibrary"
11134
lt_cv_dlopen="dlopen"
11139
# if libdl is installed we need to link against it
11140
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11141
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11142
if ${ac_cv_lib_dl_dlopen+:} false; then :
11143
$as_echo_n "(cached) " >&6
11145
ac_check_lib_save_LIBS=$LIBS
11147
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11148
/* end confdefs.h. */
11150
/* Override any GCC internal prototype to avoid an error.
11151
Use char because int might match the return type of a GCC
11152
builtin and then its argument prototype would still apply. */
11165
if ac_fn_c_try_link "$LINENO"; then :
11166
ac_cv_lib_dl_dlopen=yes
11168
ac_cv_lib_dl_dlopen=no
11170
rm -f core conftest.err conftest.$ac_objext \
11171
conftest$ac_exeext conftest.$ac_ext
11172
LIBS=$ac_check_lib_save_LIBS
11174
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11175
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11176
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11177
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11180
lt_cv_dlopen="dyld"
11182
lt_cv_dlopen_self=yes
11189
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11190
if test "x$ac_cv_func_shl_load" = xyes; then :
11191
lt_cv_dlopen="shl_load"
11193
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11194
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11195
if ${ac_cv_lib_dld_shl_load+:} false; then :
11196
$as_echo_n "(cached) " >&6
11198
ac_check_lib_save_LIBS=$LIBS
11200
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11201
/* end confdefs.h. */
11203
/* Override any GCC internal prototype to avoid an error.
11204
Use char because int might match the return type of a GCC
11205
builtin and then its argument prototype would still apply. */
11213
return shl_load ();
11218
if ac_fn_c_try_link "$LINENO"; then :
11219
ac_cv_lib_dld_shl_load=yes
11221
ac_cv_lib_dld_shl_load=no
11223
rm -f core conftest.err conftest.$ac_objext \
11224
conftest$ac_exeext conftest.$ac_ext
11225
LIBS=$ac_check_lib_save_LIBS
11227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11228
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11229
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11230
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11232
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11233
if test "x$ac_cv_func_dlopen" = xyes; then :
11234
lt_cv_dlopen="dlopen"
11236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11237
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11238
if ${ac_cv_lib_dl_dlopen+:} false; then :
11239
$as_echo_n "(cached) " >&6
11241
ac_check_lib_save_LIBS=$LIBS
11243
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11244
/* end confdefs.h. */
11246
/* Override any GCC internal prototype to avoid an error.
11247
Use char because int might match the return type of a GCC
11248
builtin and then its argument prototype would still apply. */
11261
if ac_fn_c_try_link "$LINENO"; then :
11262
ac_cv_lib_dl_dlopen=yes
11264
ac_cv_lib_dl_dlopen=no
11266
rm -f core conftest.err conftest.$ac_objext \
11267
conftest$ac_exeext conftest.$ac_ext
11268
LIBS=$ac_check_lib_save_LIBS
11270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11271
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11272
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11273
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11276
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11277
if ${ac_cv_lib_svld_dlopen+:} false; then :
11278
$as_echo_n "(cached) " >&6
11280
ac_check_lib_save_LIBS=$LIBS
11281
LIBS="-lsvld $LIBS"
11282
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283
/* end confdefs.h. */
11285
/* Override any GCC internal prototype to avoid an error.
11286
Use char because int might match the return type of a GCC
11287
builtin and then its argument prototype would still apply. */
11300
if ac_fn_c_try_link "$LINENO"; then :
11301
ac_cv_lib_svld_dlopen=yes
11303
ac_cv_lib_svld_dlopen=no
11305
rm -f core conftest.err conftest.$ac_objext \
11306
conftest$ac_exeext conftest.$ac_ext
11307
LIBS=$ac_check_lib_save_LIBS
11309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11310
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11311
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11312
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11314
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11315
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11316
if ${ac_cv_lib_dld_dld_link+:} false; then :
11317
$as_echo_n "(cached) " >&6
11319
ac_check_lib_save_LIBS=$LIBS
11321
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11322
/* end confdefs.h. */
11324
/* Override any GCC internal prototype to avoid an error.
11325
Use char because int might match the return type of a GCC
11326
builtin and then its argument prototype would still apply. */
11334
return dld_link ();
11339
if ac_fn_c_try_link "$LINENO"; then :
11340
ac_cv_lib_dld_dld_link=yes
11342
ac_cv_lib_dld_dld_link=no
11344
rm -f core conftest.err conftest.$ac_objext \
11345
conftest$ac_exeext conftest.$ac_ext
11346
LIBS=$ac_check_lib_save_LIBS
11348
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11349
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11350
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11351
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11372
if test "x$lt_cv_dlopen" != xno; then
11378
case $lt_cv_dlopen in
11380
save_CPPFLAGS="$CPPFLAGS"
11381
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11383
save_LDFLAGS="$LDFLAGS"
11384
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11387
LIBS="$lt_cv_dlopen_libs $LIBS"
11389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11390
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11391
if ${lt_cv_dlopen_self+:} false; then :
11392
$as_echo_n "(cached) " >&6
11394
if test "$cross_compiling" = yes; then :
11395
lt_cv_dlopen_self=cross
11397
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11398
lt_status=$lt_dlunknown
11399
cat > conftest.$ac_ext <<_LT_EOF
11400
#line $LINENO "configure"
11401
#include "confdefs.h"
11410
# define LT_DLGLOBAL RTLD_GLOBAL
11413
# define LT_DLGLOBAL DL_GLOBAL
11415
# define LT_DLGLOBAL 0
11419
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11420
find out it does not work in some platform. */
11421
#ifndef LT_DLLAZY_OR_NOW
11423
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11426
# define LT_DLLAZY_OR_NOW DL_LAZY
11429
# define LT_DLLAZY_OR_NOW RTLD_NOW
11432
# define LT_DLLAZY_OR_NOW DL_NOW
11434
# define LT_DLLAZY_OR_NOW 0
11441
/* When -fvisbility=hidden is used, assume the code has been annotated
11442
correspondingly for the symbols needed. */
11443
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11444
int fnord () __attribute__((visibility("default")));
11447
int fnord () { return 42; }
11450
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11451
int status = $lt_dlunknown;
11455
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11458
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11459
else puts (dlerror ());
11461
/* dlclose (self); */
11469
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11470
(eval $ac_link) 2>&5
11472
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11473
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11474
(./conftest; exit; ) >&5 2>/dev/null
11476
case x$lt_status in
11477
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11478
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11479
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11482
# compilation failed
11483
lt_cv_dlopen_self=no
11490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11491
$as_echo "$lt_cv_dlopen_self" >&6; }
11493
if test "x$lt_cv_dlopen_self" = xyes; then
11494
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11495
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11496
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11497
if ${lt_cv_dlopen_self_static+:} false; then :
11498
$as_echo_n "(cached) " >&6
11500
if test "$cross_compiling" = yes; then :
11501
lt_cv_dlopen_self_static=cross
11503
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11504
lt_status=$lt_dlunknown
11505
cat > conftest.$ac_ext <<_LT_EOF
11506
#line $LINENO "configure"
11507
#include "confdefs.h"
11516
# define LT_DLGLOBAL RTLD_GLOBAL
11519
# define LT_DLGLOBAL DL_GLOBAL
11521
# define LT_DLGLOBAL 0
11525
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11526
find out it does not work in some platform. */
11527
#ifndef LT_DLLAZY_OR_NOW
11529
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11532
# define LT_DLLAZY_OR_NOW DL_LAZY
11535
# define LT_DLLAZY_OR_NOW RTLD_NOW
11538
# define LT_DLLAZY_OR_NOW DL_NOW
11540
# define LT_DLLAZY_OR_NOW 0
11547
/* When -fvisbility=hidden is used, assume the code has been annotated
11548
correspondingly for the symbols needed. */
11549
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11550
int fnord () __attribute__((visibility("default")));
11553
int fnord () { return 42; }
11556
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11557
int status = $lt_dlunknown;
11561
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11564
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11565
else puts (dlerror ());
11567
/* dlclose (self); */
11575
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11576
(eval $ac_link) 2>&5
11578
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11579
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11580
(./conftest; exit; ) >&5 2>/dev/null
11582
case x$lt_status in
11583
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11584
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11585
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11588
# compilation failed
11589
lt_cv_dlopen_self_static=no
11596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11597
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11600
CPPFLAGS="$save_CPPFLAGS"
11601
LDFLAGS="$save_LDFLAGS"
11606
case $lt_cv_dlopen_self in
11607
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11608
*) enable_dlopen_self=unknown ;;
11611
case $lt_cv_dlopen_self_static in
11612
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11613
*) enable_dlopen_self_static=unknown ;;
11635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11636
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11637
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11638
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11639
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11640
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11641
$as_echo "yes" >&6; }
11643
# FIXME - insert some real tests, host_os isn't really good enough
11646
if test -n "$STRIP" ; then
11647
striplib="$STRIP -x"
11648
old_striplib="$STRIP -S"
11649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11650
$as_echo "yes" >&6; }
11652
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11653
$as_echo "no" >&6; }
11657
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11658
$as_echo "no" >&6; }
11674
# Report which library types will actually be built
11675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11676
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11677
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11678
$as_echo "$can_build_shared" >&6; }
11680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11681
$as_echo_n "checking whether to build shared libraries... " >&6; }
11682
test "$can_build_shared" = "no" && enable_shared=no
11684
# On AIX, shared libraries and static libraries use the same namespace, and
11685
# are all built from PIC.
11688
test "$enable_shared" = yes && enable_static=no
11689
if test -n "$RANLIB"; then
11690
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11691
postinstall_cmds='$RANLIB $lib'
11696
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11697
test "$enable_shared" = yes && enable_static=no
11701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11702
$as_echo "$enable_shared" >&6; }
11704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11705
$as_echo_n "checking whether to build static libraries... " >&6; }
11706
# Make sure either enable_shared or enable_static is yes.
11707
test "$enable_shared" = yes || enable_static=yes
11708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11709
$as_echo "$enable_static" >&6; }
11716
ac_cpp='$CPP $CPPFLAGS'
11717
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11718
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11719
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11735
ac_config_commands="$ac_config_commands libtool"
11740
# Only expand once:
11744
MIGRATION_CFLAGS="-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES"
11745
CFLAGS="$CFLAGS -g -Wall -Wextra -Wshadow $MIGRATION_CFLAGS"
11748
if test "x$GCONF_SCHEMA_INSTALL_SOURCE" = "x"; then
11749
GCONF_SCHEMA_CONFIG_SOURCE=`gconftool-2 --get-default-source`
11751
GCONF_SCHEMA_CONFIG_SOURCE=$GCONF_SCHEMA_INSTALL_SOURCE
11755
# Check whether --with-gconf-source was given.
11756
if test "${with_gconf_source+set}" = set; then :
11757
withval=$with_gconf_source; GCONF_SCHEMA_CONFIG_SOURCE="$withval"
11762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5
11763
$as_echo "Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&6; }
11765
if test "x$GCONF_SCHEMA_FILE_DIR" = "x"; then
11766
GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas'
11770
# Check whether --with-gconf-schema-file-dir was given.
11771
if test "${with_gconf_schema_file_dir+set}" = set; then :
11772
withval=$with_gconf_schema_file_dir; GCONF_SCHEMA_FILE_DIR="$withval"
11777
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5
11778
$as_echo "Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&6; }
11780
# Check whether --enable-schemas-install was given.
11781
if test "${enable_schemas_install+set}" = set; then :
11782
enableval=$enable_schemas_install; case ${enableval} in
11784
*) as_fn_error $? "bad value ${enableval} for --enable-schemas-install" "$LINENO" 5 ;;
11788
if test "$enable_schemas_install" != no; then
11789
GCONF_SCHEMAS_INSTALL_TRUE=
11790
GCONF_SCHEMAS_INSTALL_FALSE='#'
11792
GCONF_SCHEMAS_INSTALL_TRUE='#'
11793
GCONF_SCHEMAS_INSTALL_FALSE=
11799
cat >>confdefs.h <<_ACEOF
11800
#define SFLPHONE_UIDIR_UNINSTALLED "`pwd`/src/"
11806
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUSGLIB" >&5
11807
$as_echo_n "checking for DBUSGLIB... " >&6; }
11809
if test -n "$DBUSGLIB_CFLAGS"; then
11810
pkg_cv_DBUSGLIB_CFLAGS="$DBUSGLIB_CFLAGS"
11811
elif test -n "$PKG_CONFIG"; then
11812
if test -n "$PKG_CONFIG" && \
11813
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.75\""; } >&5
11814
($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.75") 2>&5
11816
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11817
test $ac_status = 0; }; then
11818
pkg_cv_DBUSGLIB_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= 0.75" 2>/dev/null`
11819
test "x$?" != "x0" && pkg_failed=yes
11826
if test -n "$DBUSGLIB_LIBS"; then
11827
pkg_cv_DBUSGLIB_LIBS="$DBUSGLIB_LIBS"
11828
elif test -n "$PKG_CONFIG"; then
11829
if test -n "$PKG_CONFIG" && \
11830
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.75\""; } >&5
11831
($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.75") 2>&5
11833
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11834
test $ac_status = 0; }; then
11835
pkg_cv_DBUSGLIB_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= 0.75" 2>/dev/null`
11836
test "x$?" != "x0" && pkg_failed=yes
11846
if test $pkg_failed = yes; then
11847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11848
$as_echo "no" >&6; }
11850
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11851
_pkg_short_errors_supported=yes
11853
_pkg_short_errors_supported=no
11855
if test $_pkg_short_errors_supported = yes; then
11856
DBUSGLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-glib-1 >= 0.75" 2>&1`
11858
DBUSGLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-glib-1 >= 0.75" 2>&1`
11860
# Put the nasty error message in config.log where it belongs
11861
echo "$DBUSGLIB_PKG_ERRORS" >&5
11863
HAVE_DBUS_G_PROXY_SET_DEFAULT_TIMEOUT=false
11864
elif test $pkg_failed = untried; then
11865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11866
$as_echo "no" >&6; }
11867
HAVE_DBUS_G_PROXY_SET_DEFAULT_TIMEOUT=false
11869
DBUSGLIB_CFLAGS=$pkg_cv_DBUSGLIB_CFLAGS
11870
DBUSGLIB_LIBS=$pkg_cv_DBUSGLIB_LIBS
11871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11872
$as_echo "yes" >&6; }
11873
HAVE_DBUS_G_PROXY_SET_DEFAULT_TIMEOUT=true
11877
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
11878
$as_echo_n "checking for LIBNOTIFY... " >&6; }
11880
if test -n "$LIBNOTIFY_CFLAGS"; then
11881
pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
11882
elif test -n "$PKG_CONFIG"; then
11883
if test -n "$PKG_CONFIG" && \
11884
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.5.0\""; } >&5
11885
($PKG_CONFIG --exists --print-errors "libnotify >= 0.5.0") 2>&5
11887
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11888
test $ac_status = 0; }; then
11889
pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.5.0" 2>/dev/null`
11890
test "x$?" != "x0" && pkg_failed=yes
11897
if test -n "$LIBNOTIFY_LIBS"; then
11898
pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
11899
elif test -n "$PKG_CONFIG"; then
11900
if test -n "$PKG_CONFIG" && \
11901
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.5.0\""; } >&5
11902
($PKG_CONFIG --exists --print-errors "libnotify >= 0.5.0") 2>&5
11904
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11905
test $ac_status = 0; }; then
11906
pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.5.0" 2>/dev/null`
11907
test "x$?" != "x0" && pkg_failed=yes
11917
if test $pkg_failed = yes; then
11918
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11919
$as_echo "no" >&6; }
11921
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11922
_pkg_short_errors_supported=yes
11924
_pkg_short_errors_supported=no
11926
if test $_pkg_short_errors_supported = yes; then
11927
LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify >= 0.5.0" 2>&1`
11929
LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify >= 0.5.0" 2>&1`
11931
# Put the nasty error message in config.log where it belongs
11932
echo "$LIBNOTIFY_PKG_ERRORS" >&5
11934
as_fn_error $? "Package requirements (libnotify >= 0.5.0) were not met:
11936
$LIBNOTIFY_PKG_ERRORS
11938
Consider adjusting the PKG_CONFIG_PATH environment variable if you
11939
installed software in a non-standard prefix.
11941
Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
11942
and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
11943
See the pkg-config man page for more details." "$LINENO" 5
11944
elif test $pkg_failed = untried; then
11945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11946
$as_echo "no" >&6; }
11947
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11948
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11949
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11950
is in your PATH or set the PKG_CONFIG environment variable to the full
11951
path to pkg-config.
11953
Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS
11954
and LIBNOTIFY_LIBS to avoid the need to call pkg-config.
11955
See the pkg-config man page for more details.
11957
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11958
See \`config.log' for more details" "$LINENO" 5; }
11960
LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
11961
LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
11962
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11963
$as_echo "yes" >&6; }
11966
if echo "$LIBNOTIFY_LIBS" | grep -q gtk+-x11-2.0; then
11967
as_fn_error $? "Your libnotify is linked with GTK+2 ! Install libnotify4-dev" "$LINENO" 5
11972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
11973
$as_echo_n "checking for GTK... " >&6; }
11975
if test -n "$GTK_CFLAGS"; then
11976
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
11977
elif test -n "$PKG_CONFIG"; then
11978
if test -n "$PKG_CONFIG" && \
11979
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
11980
($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
11982
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11983
test $ac_status = 0; }; then
11984
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0" 2>/dev/null`
11985
test "x$?" != "x0" && pkg_failed=yes
11992
if test -n "$GTK_LIBS"; then
11993
pkg_cv_GTK_LIBS="$GTK_LIBS"
11994
elif test -n "$PKG_CONFIG"; then
11995
if test -n "$PKG_CONFIG" && \
11996
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0\""; } >&5
11997
($PKG_CONFIG --exists --print-errors "gtk+-3.0") 2>&5
11999
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12000
test $ac_status = 0; }; then
12001
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0" 2>/dev/null`
12002
test "x$?" != "x0" && pkg_failed=yes
12012
if test $pkg_failed = yes; then
12013
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12014
$as_echo "no" >&6; }
12016
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12017
_pkg_short_errors_supported=yes
12019
_pkg_short_errors_supported=no
12021
if test $_pkg_short_errors_supported = yes; then
12022
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0" 2>&1`
12024
GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0" 2>&1`
12026
# Put the nasty error message in config.log where it belongs
12027
echo "$GTK_PKG_ERRORS" >&5
12029
as_fn_error $? "Package requirements (gtk+-3.0) were not met:
12033
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12034
installed software in a non-standard prefix.
12036
Alternatively, you may set the environment variables GTK_CFLAGS
12037
and GTK_LIBS to avoid the need to call pkg-config.
12038
See the pkg-config man page for more details." "$LINENO" 5
12039
elif test $pkg_failed = untried; then
12040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12041
$as_echo "no" >&6; }
12042
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12043
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12044
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12045
is in your PATH or set the PKG_CONFIG environment variable to the full
12046
path to pkg-config.
12048
Alternatively, you may set the environment variables GTK_CFLAGS
12049
and GTK_LIBS to avoid the need to call pkg-config.
12050
See the pkg-config man page for more details.
12052
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12053
See \`config.log' for more details" "$LINENO" 5; }
12055
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
12056
GTK_LIBS=$pkg_cv_GTK_LIBS
12057
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12058
$as_echo "yes" >&6; }
12063
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GCONF" >&5
12064
$as_echo_n "checking for GCONF... " >&6; }
12066
if test -n "$GCONF_CFLAGS"; then
12067
pkg_cv_GCONF_CFLAGS="$GCONF_CFLAGS"
12068
elif test -n "$PKG_CONFIG"; then
12069
if test -n "$PKG_CONFIG" && \
12070
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
12071
($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
12073
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12074
test $ac_status = 0; }; then
12075
pkg_cv_GCONF_CFLAGS=`$PKG_CONFIG --cflags "gconf-2.0" 2>/dev/null`
12076
test "x$?" != "x0" && pkg_failed=yes
12083
if test -n "$GCONF_LIBS"; then
12084
pkg_cv_GCONF_LIBS="$GCONF_LIBS"
12085
elif test -n "$PKG_CONFIG"; then
12086
if test -n "$PKG_CONFIG" && \
12087
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gconf-2.0\""; } >&5
12088
($PKG_CONFIG --exists --print-errors "gconf-2.0") 2>&5
12090
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12091
test $ac_status = 0; }; then
12092
pkg_cv_GCONF_LIBS=`$PKG_CONFIG --libs "gconf-2.0" 2>/dev/null`
12093
test "x$?" != "x0" && pkg_failed=yes
12103
if test $pkg_failed = yes; then
12104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12105
$as_echo "no" >&6; }
12107
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12108
_pkg_short_errors_supported=yes
12110
_pkg_short_errors_supported=no
12112
if test $_pkg_short_errors_supported = yes; then
12113
GCONF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gconf-2.0" 2>&1`
12115
GCONF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gconf-2.0" 2>&1`
12117
# Put the nasty error message in config.log where it belongs
12118
echo "$GCONF_PKG_ERRORS" >&5
12120
as_fn_error $? "Package requirements (gconf-2.0) were not met:
12124
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12125
installed software in a non-standard prefix.
12127
Alternatively, you may set the environment variables GCONF_CFLAGS
12128
and GCONF_LIBS to avoid the need to call pkg-config.
12129
See the pkg-config man page for more details." "$LINENO" 5
12130
elif test $pkg_failed = untried; then
12131
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12132
$as_echo "no" >&6; }
12133
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12134
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12135
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12136
is in your PATH or set the PKG_CONFIG environment variable to the full
12137
path to pkg-config.
12139
Alternatively, you may set the environment variables GCONF_CFLAGS
12140
and GCONF_LIBS to avoid the need to call pkg-config.
12141
See the pkg-config man page for more details.
12143
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12144
See \`config.log' for more details" "$LINENO" 5; }
12146
GCONF_CFLAGS=$pkg_cv_GCONF_CFLAGS
12147
GCONF_LIBS=$pkg_cv_GCONF_LIBS
12148
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12149
$as_echo "yes" >&6; }
12154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12155
$as_echo_n "checking for GLIB... " >&6; }
12157
if test -n "$GLIB_CFLAGS"; then
12158
pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12159
elif test -n "$PKG_CONFIG"; then
12160
if test -n "$PKG_CONFIG" && \
12161
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.24\""; } >&5
12162
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24") 2>&5
12164
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12165
test $ac_status = 0; }; then
12166
pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.24" 2>/dev/null`
12167
test "x$?" != "x0" && pkg_failed=yes
12174
if test -n "$GLIB_LIBS"; then
12175
pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12176
elif test -n "$PKG_CONFIG"; then
12177
if test -n "$PKG_CONFIG" && \
12178
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.24\""; } >&5
12179
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24") 2>&5
12181
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12182
test $ac_status = 0; }; then
12183
pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.24" 2>/dev/null`
12184
test "x$?" != "x0" && pkg_failed=yes
12194
if test $pkg_failed = yes; then
12195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12196
$as_echo "no" >&6; }
12198
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12199
_pkg_short_errors_supported=yes
12201
_pkg_short_errors_supported=no
12203
if test $_pkg_short_errors_supported = yes; then
12204
GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.24" 2>&1`
12206
GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.24" 2>&1`
12208
# Put the nasty error message in config.log where it belongs
12209
echo "$GLIB_PKG_ERRORS" >&5
12211
as_fn_error $? "Package requirements (glib-2.0 >= 2.24) were not met:
12215
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12216
installed software in a non-standard prefix.
12218
Alternatively, you may set the environment variables GLIB_CFLAGS
12219
and GLIB_LIBS to avoid the need to call pkg-config.
12220
See the pkg-config man page for more details." "$LINENO" 5
12221
elif test $pkg_failed = untried; then
12222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12223
$as_echo "no" >&6; }
12224
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12225
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12226
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12227
is in your PATH or set the PKG_CONFIG environment variable to the full
12228
path to pkg-config.
12230
Alternatively, you may set the environment variables GLIB_CFLAGS
12231
and GLIB_LIBS to avoid the need to call pkg-config.
12232
See the pkg-config man page for more details.
12234
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12235
See \`config.log' for more details" "$LINENO" 5; }
12237
GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12238
GLIB_LIBS=$pkg_cv_GLIB_LIBS
12239
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12240
$as_echo "yes" >&6; }
12245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
12246
$as_echo_n "checking for WEBKIT... " >&6; }
12248
if test -n "$WEBKIT_CFLAGS"; then
12249
pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
12250
elif test -n "$PKG_CONFIG"; then
12251
if test -n "$PKG_CONFIG" && \
12252
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkitgtk-3.0\""; } >&5
12253
($PKG_CONFIG --exists --print-errors "webkitgtk-3.0") 2>&5
12255
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12256
test $ac_status = 0; }; then
12257
pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkitgtk-3.0" 2>/dev/null`
12258
test "x$?" != "x0" && pkg_failed=yes
12265
if test -n "$WEBKIT_LIBS"; then
12266
pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
12267
elif test -n "$PKG_CONFIG"; then
12268
if test -n "$PKG_CONFIG" && \
12269
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkitgtk-3.0\""; } >&5
12270
($PKG_CONFIG --exists --print-errors "webkitgtk-3.0") 2>&5
12272
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12273
test $ac_status = 0; }; then
12274
pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkitgtk-3.0" 2>/dev/null`
12275
test "x$?" != "x0" && pkg_failed=yes
12285
if test $pkg_failed = yes; then
12286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12287
$as_echo "no" >&6; }
12289
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12290
_pkg_short_errors_supported=yes
12292
_pkg_short_errors_supported=no
12294
if test $_pkg_short_errors_supported = yes; then
12295
WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "webkitgtk-3.0" 2>&1`
12297
WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "webkitgtk-3.0" 2>&1`
12299
# Put the nasty error message in config.log where it belongs
12300
echo "$WEBKIT_PKG_ERRORS" >&5
12302
as_fn_error $? "Package requirements (webkitgtk-3.0) were not met:
12306
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12307
installed software in a non-standard prefix.
12309
Alternatively, you may set the environment variables WEBKIT_CFLAGS
12310
and WEBKIT_LIBS to avoid the need to call pkg-config.
12311
See the pkg-config man page for more details." "$LINENO" 5
12312
elif test $pkg_failed = untried; then
12313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12314
$as_echo "no" >&6; }
12315
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12316
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12317
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12318
is in your PATH or set the PKG_CONFIG environment variable to the full
12319
path to pkg-config.
12321
Alternatively, you may set the environment variables WEBKIT_CFLAGS
12322
and WEBKIT_LIBS to avoid the need to call pkg-config.
12323
See the pkg-config man page for more details.
12325
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12326
See \`config.log' for more details" "$LINENO" 5; }
12328
WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
12329
WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
12330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12331
$as_echo "yes" >&6; }
12337
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
12338
$as_echo_n "checking for CHECK... " >&6; }
12340
if test -n "$CHECK_CFLAGS"; then
12341
pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
12342
elif test -n "$PKG_CONFIG"; then
12343
if test -n "$PKG_CONFIG" && \
12344
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
12345
($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
12347
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12348
test $ac_status = 0; }; then
12349
pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
12350
test "x$?" != "x0" && pkg_failed=yes
12357
if test -n "$CHECK_LIBS"; then
12358
pkg_cv_CHECK_LIBS="$CHECK_LIBS"
12359
elif test -n "$PKG_CONFIG"; then
12360
if test -n "$PKG_CONFIG" && \
12361
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
12362
($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
12364
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12365
test $ac_status = 0; }; then
12366
pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
12367
test "x$?" != "x0" && pkg_failed=yes
12377
if test $pkg_failed = yes; then
12378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12379
$as_echo "no" >&6; }
12381
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12382
_pkg_short_errors_supported=yes
12384
_pkg_short_errors_supported=no
12386
if test $_pkg_short_errors_supported = yes; then
12387
CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12389
CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
12391
# Put the nasty error message in config.log where it belongs
12392
echo "$CHECK_PKG_ERRORS" >&5
12394
as_fn_error $? "Package requirements (check >= 0.9.4) were not met:
12398
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12399
installed software in a non-standard prefix.
12401
Alternatively, you may set the environment variables CHECK_CFLAGS
12402
and CHECK_LIBS to avoid the need to call pkg-config.
12403
See the pkg-config man page for more details." "$LINENO" 5
12404
elif test $pkg_failed = untried; then
12405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12406
$as_echo "no" >&6; }
12407
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12408
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12409
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12410
is in your PATH or set the PKG_CONFIG environment variable to the full
12411
path to pkg-config.
12413
Alternatively, you may set the environment variables CHECK_CFLAGS
12414
and CHECK_LIBS to avoid the need to call pkg-config.
12415
See the pkg-config man page for more details.
12417
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12418
See \`config.log' for more details" "$LINENO" 5; }
12420
CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
12421
CHECK_LIBS=$pkg_cv_CHECK_LIBS
12422
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12423
$as_echo "yes" >&6; }
12427
ac_config_files="$ac_config_files Makefile src/Makefile src/config/Makefile src/dbus/Makefile src/contacts/Makefile src/widget/Makefile src/icons/Makefile pixmaps/Makefile webkit/Makefile sflphone.desktop tests/Makefile man/Makefile po/Makefile doc/Makefile"
12429
cat >confcache <<\_ACEOF
12430
# This file is a shell script that caches the results of configure
12431
# tests run on this system so they can be shared between configure
12432
# scripts and configure runs, see configure's option --config-cache.
12433
# It is not useful on other systems. If it contains results you don't
12434
# want to keep, you may remove or edit it.
12436
# config.status only pays attention to the cache file if you give it
12437
# the --recheck option to rerun configure.
12439
# `ac_cv_env_foo' variables (set or unset) will be overridden when
12440
# loading this file, other *unset* `ac_cv_foo' will be assigned the
12441
# following values.
12445
# The following way of writing the cache mishandles newlines in values,
12446
# but we know of no workaround that is simple, portable, and efficient.
12447
# So, we kill variables containing newlines.
12448
# Ultrix sh set writes to stderr and can't be redirected directly,
12449
# and sets the high bit in the cache file unless we assign to the vars.
12451
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12452
eval ac_val=\$$ac_var
12456
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12457
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12460
_ | IFS | as_nl) ;; #(
12461
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12462
*) { eval $ac_var=; unset $ac_var;} ;;
12468
case $as_nl`(ac_space=' '; set) 2>&1` in #(
12469
*${as_nl}ac_space=\ *)
12470
# `set' does not quote correctly, so add quotes: double-quote
12471
# substitution turns \\\\ into \\, and sed turns \\ into \.
12474
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12477
# `set' quotes correctly as required by POSIX, so do not add quotes.
12478
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12487
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12489
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12491
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12492
if test -w "$cache_file"; then
12493
if test "x$cache_file" != "x/dev/null"; then
12494
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12495
$as_echo "$as_me: updating cache $cache_file" >&6;}
12496
if test ! -f "$cache_file" || test -h "$cache_file"; then
12497
cat confcache >"$cache_file"
12499
case $cache_file in #(
12501
mv -f confcache "$cache_file"$$ &&
12502
mv -f "$cache_file"$$ "$cache_file" ;; #(
12504
mv -f confcache "$cache_file" ;;
12509
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12510
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12515
test "x$prefix" = xNONE && prefix=$ac_default_prefix
12516
# Let make expand exec_prefix.
12517
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12519
DEFS=-DHAVE_CONFIG_H
12524
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12525
# 1. Remove the extension, and $U if already installed.
12526
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12527
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12528
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12529
# will be set to the directory where LIBOBJS objects are built.
12530
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12531
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12533
LIBOBJS=$ac_libobjs
12535
LTLIBOBJS=$ac_ltlibobjs
12538
if test -n "$EXEEXT"; then
12540
am__EXEEXT_FALSE='#'
12542
am__EXEEXT_TRUE='#'
12546
if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then
12547
as_fn_error $? "conditional \"ENABLE_SK\" was never defined.
12548
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12550
if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then
12551
as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined.
12552
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12554
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12555
as_fn_error $? "conditional \"AMDEP\" was never defined.
12556
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12558
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12559
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12560
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12562
if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then
12563
as_fn_error $? "conditional \"GCONF_SCHEMAS_INSTALL\" was never defined.
12564
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12567
: "${CONFIG_STATUS=./config.status}"
12569
ac_clean_files_save=$ac_clean_files
12570
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12571
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12572
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12574
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12576
# Generated by $as_me.
12577
# Run this file to recreate the current configuration.
12578
# Compiler output produced by configure, useful for debugging
12579
# configure, is in config.log if it exists.
12582
ac_cs_recheck=false
12585
SHELL=\${CONFIG_SHELL-$SHELL}
12588
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12589
## -------------------- ##
12590
## M4sh Initialization. ##
12591
## -------------------- ##
12593
# Be more Bourne compatible
12594
DUALCASE=1; export DUALCASE # for MKS sh
12595
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12598
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12599
# is contrary to our usage. Disable this feature.
12600
alias -g '${1+"$@"}'='"$@"'
12601
setopt NO_GLOB_SUBST
12603
case `(set -o) 2>/dev/null` in #(
12615
# Printing a long string crashes Solaris 7 /usr/bin/printf.
12616
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12617
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12618
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12619
# Prefer a ksh shell builtin over an external printf program on Solaris,
12620
# but without wasting forks for bash or zsh.
12621
if test -z "$BASH_VERSION$ZSH_VERSION" \
12622
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12623
as_echo='print -r --'
12624
as_echo_n='print -rn --'
12625
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12626
as_echo='printf %s\n'
12627
as_echo_n='printf %s'
12629
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12630
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12631
as_echo_n='/usr/ucb/echo -n'
12633
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12634
as_echo_n_body='eval
12638
expr "X$arg" : "X\\(.*\\)$as_nl";
12639
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12641
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12643
export as_echo_n_body
12644
as_echo_n='sh -c $as_echo_n_body as_echo'
12646
export as_echo_body
12647
as_echo='sh -c $as_echo_body as_echo'
12650
# The user is always right.
12651
if test "${PATH_SEPARATOR+set}" != set; then
12653
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12654
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12661
# We need space, tab and new line, in precisely that order. Quoting is
12662
# there to prevent editors from complaining about space-tab.
12663
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12664
# splitting by setting IFS to empty value.)
12667
# Find who we are. Look in the path if we contain no directory separator.
12670
*[\\/]* ) as_myself=$0 ;;
12671
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12672
for as_dir in $PATH
12675
test -z "$as_dir" && as_dir=.
12676
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12682
# We did not find ourselves, most probably we were run as `sh COMMAND'
12683
# in which case we are not to be found in the path.
12684
if test "x$as_myself" = x; then
12687
if test ! -f "$as_myself"; then
12688
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12692
# Unset variables that we do not need and which cause bugs (e.g. in
12693
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12694
# suppresses any "Segmentation fault" message there. '((' could
12695
# trigger a bug in pdksh 5.2.14.
12696
for as_var in BASH_ENV ENV MAIL MAILPATH
12697
do eval test x\${$as_var+set} = xset \
12698
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12711
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12714
# as_fn_error STATUS ERROR [LINENO LOG_FD]
12715
# ----------------------------------------
12716
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12717
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12718
# script with STATUS, using 1 if that was 0.
12721
as_status=$1; test $as_status -eq 0 && as_status=1
12723
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12724
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12726
$as_echo "$as_me: error: $2" >&2
12727
as_fn_exit $as_status
12731
# as_fn_set_status STATUS
12732
# -----------------------
12733
# Set $? to STATUS, without forking.
12734
as_fn_set_status ()
12737
} # as_fn_set_status
12739
# as_fn_exit STATUS
12740
# -----------------
12741
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12745
as_fn_set_status $1
12751
# Portably unset VAR.
12754
{ eval $1=; unset $1;}
12756
as_unset=as_fn_unset
12757
# as_fn_append VAR VALUE
12758
# ----------------------
12759
# Append the text in VALUE to the end of the definition contained in VAR. Take
12760
# advantage of any shell optimizations that allow amortized linear growth over
12761
# repeated appends, instead of the typical quadratic growth present in naive
12763
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12764
eval 'as_fn_append ()
12775
# as_fn_arith ARG...
12776
# ------------------
12777
# Perform arithmetic evaluation on the ARGs, and store the result in the
12778
# global $as_val. Take advantage of shells that can avoid forks. The arguments
12779
# must be portable across $(()) and expr.
12780
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12781
eval 'as_fn_arith ()
12788
as_val=`expr "$@" || test $? -eq 1`
12793
if expr a : '\(a\)' >/dev/null 2>&1 &&
12794
test "X`expr 00001 : '.*\(...\)'`" = X001; then
12800
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12801
as_basename=basename
12806
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12812
as_me=`$as_basename -- "$0" ||
12813
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12814
X"$0" : 'X\(//\)$' \| \
12815
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12817
sed '/^.*\/\([^/][^/]*\)\/*$/{
12831
# Avoid depending upon Character Ranges.
12832
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12833
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12834
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12835
as_cr_digits='0123456789'
12836
as_cr_alnum=$as_cr_Letters$as_cr_digits
12838
ECHO_C= ECHO_N= ECHO_T=
12839
case `echo -n x` in #(((((
12841
case `echo 'xy\c'` in
12842
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
12844
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
12851
rm -f conf$$ conf$$.exe conf$$.file
12852
if test -d conf$$.dir; then
12853
rm -f conf$$.dir/conf$$.file
12856
mkdir conf$$.dir 2>/dev/null
12858
if (echo >conf$$.file) 2>/dev/null; then
12859
if ln -s conf$$.file conf$$ 2>/dev/null; then
12861
# ... but there are two gotchas:
12862
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12863
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12864
# In both cases, we have to default to `cp -p'.
12865
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12867
elif ln conf$$.file conf$$ 2>/dev/null; then
12875
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12876
rmdir conf$$.dir 2>/dev/null
12881
# Create "$as_dir" as a directory, including parents if necessary.
12886
-*) as_dir=./$as_dir;;
12888
test -d "$as_dir" || eval $as_mkdir_p || {
12892
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12893
*) as_qdir=$as_dir;;
12895
as_dirs="'$as_qdir' $as_dirs"
12896
as_dir=`$as_dirname -- "$as_dir" ||
12897
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12898
X"$as_dir" : 'X\(//\)[^/]' \| \
12899
X"$as_dir" : 'X\(//\)$' \| \
12900
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12901
$as_echo X"$as_dir" |
12902
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12906
/^X\(\/\/\)[^/].*/{
12919
test -d "$as_dir" && break
12921
test -z "$as_dirs" || eval "mkdir $as_dirs"
12922
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
12926
if mkdir -p . 2>/dev/null; then
12927
as_mkdir_p='mkdir -p "$as_dir"'
12929
test -d ./-p && rmdir ./-p
12933
if test -x / >/dev/null 2>&1; then
12934
as_test_x='test -x'
12936
if ls -dL / >/dev/null 2>&1; then
12943
if test -d "$1"; then
12949
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12950
???[sx]*):;;*)false;;esac;fi
12954
as_executable_p=$as_test_x
12956
# Sed expression to map a string onto a valid CPP name.
12957
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12959
# Sed expression to map a string onto a valid variable name.
12960
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12964
## ----------------------------------- ##
12965
## Main body of $CONFIG_STATUS script. ##
12966
## ----------------------------------- ##
12968
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12970
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12971
# Save the log message, to keep $0 and so on meaningful, and to
12972
# report actual input values of CONFIG_FILES etc. instead of their
12973
# values after options handling.
12975
This file was extended by sflphone $as_me 1.0.1, which was
12976
generated by GNU Autoconf 2.68. Invocation command line was
12978
CONFIG_FILES = $CONFIG_FILES
12979
CONFIG_HEADERS = $CONFIG_HEADERS
12980
CONFIG_LINKS = $CONFIG_LINKS
12981
CONFIG_COMMANDS = $CONFIG_COMMANDS
12984
on `(hostname || uname -n) 2>/dev/null | sed 1q`
12989
case $ac_config_files in *"
12990
"*) set x $ac_config_files; shift; ac_config_files=$*;;
12993
case $ac_config_headers in *"
12994
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12998
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12999
# Files that config.status was made for.
13000
config_files="$ac_config_files"
13001
config_headers="$ac_config_headers"
13002
config_commands="$ac_config_commands"
13006
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13008
\`$as_me' instantiates files and other configuration actions
13009
from templates according to the current configuration. Unless the files
13010
and actions are specified as TAGs, all are instantiated by default.
13012
Usage: $0 [OPTION]... [TAG]...
13014
-h, --help print this help, then exit
13015
-V, --version print version number and configuration settings, then exit
13016
--config print configuration, then exit
13017
-q, --quiet, --silent
13018
do not print progress messages
13019
-d, --debug don't remove temporary files
13020
--recheck update $as_me by reconfiguring in the same conditions
13021
--file=FILE[:TEMPLATE]
13022
instantiate the configuration file FILE
13023
--header=FILE[:TEMPLATE]
13024
instantiate the configuration header FILE
13026
Configuration files:
13029
Configuration headers:
13032
Configuration commands:
13035
Report bugs to <sflphoneteam@savoirfairelinux.com>."
13038
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13039
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13041
sflphone config.status 1.0.1
13042
configured by $0, generated by GNU Autoconf 2.68,
13043
with options \\"\$ac_cs_config\\"
13045
Copyright (C) 2010 Free Software Foundation, Inc.
13046
This config.status script is free software; the Free Software Foundation
13047
gives unlimited permission to copy, distribute and modify it."
13054
test -n "\$AWK" || AWK=awk
13057
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13058
# The default lists apply if the user does not specify any file.
13064
ac_option=`expr "X$1" : 'X\([^=]*\)='`
13065
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13069
ac_option=`expr "X$1" : 'X\([^=]*\)='`
13081
# Handling of the options.
13082
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13084
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13085
$as_echo "$ac_cs_version"; exit ;;
13086
--config | --confi | --conf | --con | --co | --c )
13087
$as_echo "$ac_cs_config"; exit ;;
13088
--debug | --debu | --deb | --de | --d | -d )
13090
--file | --fil | --fi | --f )
13093
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13094
'') as_fn_error $? "missing file argument" ;;
13096
as_fn_append CONFIG_FILES " '$ac_optarg'"
13097
ac_need_defaults=false;;
13098
--header | --heade | --head | --hea )
13101
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13103
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13104
ac_need_defaults=false;;
13106
# Conflict between --help and --header
13107
as_fn_error $? "ambiguous option: \`$1'
13108
Try \`$0 --help' for more information.";;
13109
--help | --hel | -h )
13110
$as_echo "$ac_cs_usage"; exit ;;
13111
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
13112
| -silent | --silent | --silen | --sile | --sil | --si | --s)
13115
# This is an error.
13116
-*) as_fn_error $? "unrecognized option: \`$1'
13117
Try \`$0 --help' for more information." ;;
13119
*) as_fn_append ac_config_targets " $1"
13120
ac_need_defaults=false ;;
13126
ac_configure_extra_args=
13128
if $ac_cs_silent; then
13130
ac_configure_extra_args="$ac_configure_extra_args --silent"
13134
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13135
if \$ac_cs_recheck; then
13136
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13138
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13139
CONFIG_SHELL='$SHELL'
13140
export CONFIG_SHELL
13145
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13149
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13150
## Running $as_me. ##
13156
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13160
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13163
# The HP-UX ksh and POSIX shell print the target directory to stdout
13164
# if CDPATH is set.
13165
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13167
sed_quote_subst='$sed_quote_subst'
13168
double_quote_subst='$double_quote_subst'
13169
delay_variable_subst='$delay_variable_subst'
13170
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13171
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13172
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13173
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13174
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13175
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13176
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13177
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13178
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13179
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13180
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13181
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13182
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13183
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13184
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13185
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13186
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13187
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13188
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13189
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13190
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13191
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13192
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13193
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13194
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13195
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13196
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13197
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13198
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13199
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13200
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13201
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13202
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13203
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13204
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13205
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13206
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13207
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13208
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13209
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13210
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13211
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13212
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13213
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13214
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13215
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13216
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13217
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13218
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13219
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13220
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13221
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13222
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13223
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13224
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13225
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"`'
13226
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13227
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13228
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13229
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13230
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13231
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13232
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13233
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13234
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13235
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13236
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13237
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13238
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13239
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13240
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13241
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13242
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13243
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13244
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13245
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13246
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13247
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13248
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13249
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13250
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13251
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13252
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13253
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13254
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13255
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13256
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13257
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13258
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13259
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13260
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13261
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13262
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13263
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13264
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13265
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13266
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13267
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13268
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13269
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13270
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13271
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13272
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13273
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13274
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13275
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13276
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13277
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13278
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13279
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13280
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13281
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13282
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13283
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13284
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13285
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13286
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13287
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13288
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13289
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13290
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13291
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13292
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13293
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13294
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13295
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13296
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13297
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13298
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13299
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13302
LTCFLAGS='$LTCFLAGS'
13303
compiler='$compiler_DEFAULT'
13305
# A function that is used when there is no print builtin or printf.
13306
func_fallback_echo ()
13308
eval 'cat <<_LTECHO_EOF
13313
# Quote evaled strings.
13327
deplibs_check_method \
13332
sharedlib_from_linklib_cmd \
13335
archiver_list_spec \
13341
lt_cv_sys_global_symbol_pipe \
13342
lt_cv_sys_global_symbol_to_cdecl \
13343
lt_cv_sys_global_symbol_to_c_name_address \
13344
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13345
nm_file_list_spec \
13346
lt_prog_compiler_no_builtin_flag \
13347
lt_prog_compiler_pic \
13348
lt_prog_compiler_wl \
13349
lt_prog_compiler_static \
13350
lt_cv_prog_compiler_c_o \
13359
export_dynamic_flag_spec \
13360
whole_archive_flag_spec \
13361
compiler_needs_object \
13363
allow_undefined_flag \
13364
no_undefined_flag \
13365
hardcode_libdir_flag_spec \
13366
hardcode_libdir_flag_spec_ld \
13367
hardcode_libdir_separator \
13371
variables_saved_for_relink \
13373
library_names_spec \
13375
install_override_mode \
13379
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13380
*[\\\\\\\`\\"\\\$]*)
13381
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13384
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13389
# Double-quote double-evaled strings.
13390
for var in reload_cmds \
13391
old_postinstall_cmds \
13392
old_postuninstall_cmds \
13394
extract_expsyms_cmds \
13395
old_archive_from_new_cmds \
13396
old_archive_from_expsyms_cmds \
13398
archive_expsym_cmds \
13400
module_expsym_cmds \
13401
export_symbols_cmds \
13405
postuninstall_cmds \
13407
sys_lib_search_path_spec \
13408
sys_lib_dlsearch_path_spec; do
13409
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13410
*[\\\\\\\`\\"\\\$]*)
13411
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13414
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13419
ac_aux_dir='$ac_aux_dir'
13420
xsi_shell='$xsi_shell'
13421
lt_shell_append='$lt_shell_append'
13423
# See if we are running on zsh, and set the options which allow our
13424
# commands through without removal of \ escapes INIT.
13425
if test -n "\${ZSH_VERSION+set}" ; then
13426
setopt NO_GLOB_SUBST
13432
TIMESTAMP='$TIMESTAMP'
13441
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13443
# Handling of arguments.
13444
for ac_config_target in $ac_config_targets
13446
case $ac_config_target in
13447
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
13448
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13449
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13450
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13451
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13452
"src/config/Makefile") CONFIG_FILES="$CONFIG_FILES src/config/Makefile" ;;
13453
"src/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES src/dbus/Makefile" ;;
13454
"src/contacts/Makefile") CONFIG_FILES="$CONFIG_FILES src/contacts/Makefile" ;;
13455
"src/widget/Makefile") CONFIG_FILES="$CONFIG_FILES src/widget/Makefile" ;;
13456
"src/icons/Makefile") CONFIG_FILES="$CONFIG_FILES src/icons/Makefile" ;;
13457
"pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;;
13458
"webkit/Makefile") CONFIG_FILES="$CONFIG_FILES webkit/Makefile" ;;
13459
"sflphone.desktop") CONFIG_FILES="$CONFIG_FILES sflphone.desktop" ;;
13460
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
13461
"man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
13462
"po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
13463
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13465
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13470
# If the user did not use the arguments to specify the items to instantiate,
13471
# then the envvar interface is used. Set only those that are not.
13472
# We use the long form for the default assignment because of an extremely
13473
# bizarre bug on SunOS 4.1.3.
13474
if $ac_need_defaults; then
13475
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13476
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13477
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13480
# Have a temporary directory for convenience. Make it in the build tree
13481
# simply because there is no reason against having it here, and in addition,
13482
# creating and moving files from /tmp can sometimes cause problems.
13483
# Hook for its removal unless debugging.
13484
# Note that there is a small window in which the directory will not be cleaned:
13485
# after its creation but before its name has been assigned to `$tmp'.
13489
trap 'exit_status=$?
13490
: "${ac_tmp:=$tmp}"
13491
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13493
trap 'as_fn_exit 1' 1 2 13 15
13495
# Create a (secure) tmp directory for tmp files.
13498
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13502
tmp=./conf$$-$RANDOM
13503
(umask 077 && mkdir "$tmp")
13504
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13507
# Set up the scripts for CONFIG_FILES section.
13508
# No need to generate them if there are no CONFIG_FILES.
13509
# This happens for instance with `./config.status config.h'.
13510
if test -n "$CONFIG_FILES"; then
13513
ac_cr=`echo X | tr X '\015'`
13514
# On cygwin, bash can eat \r inside `` if the user requested igncr.
13515
# But we know of no other shell where ac_cr would be empty at this
13516
# point, so we can use a bashism as a fallback.
13517
if test "x$ac_cr" = x; then
13518
eval ac_cr=\$\'\\r\'
13520
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13521
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13524
ac_cs_awk_cr=$ac_cr
13527
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13532
echo "cat >conf$$subs.awk <<_ACEOF" &&
13533
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13535
} >conf$$subs.sh ||
13536
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13537
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13539
for ac_last_try in false false false false false :; do
13540
. ./conf$$subs.sh ||
13541
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13543
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13544
if test $ac_delim_n = $ac_delim_num; then
13546
elif $ac_last_try; then
13547
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13549
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13552
rm -f conf$$subs.sh
13554
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13555
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13559
s/^/S["/; s/!.*/"]=/
13569
s/\(.\{148\}\)..*/\1/
13571
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13576
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13583
s/\(.\{148\}\)..*/\1/
13585
s/["\\]/\\&/g; s/^/"/; s/$/"/
13589
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13594
' <conf$$subs.awk | sed '
13599
' >>$CONFIG_STATUS || ac_write_fail=1
13600
rm -f conf$$subs.awk
13601
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13603
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13604
for (key in S) S_is_set[key] = 1
13610
nfields = split(line, field, "@")
13612
len = length(field[1])
13613
for (i = 2; i < nfields; i++) {
13615
keylen = length(key)
13616
if (S_is_set[key]) {
13618
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13619
len += length(value) + length(field[++i])
13630
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13631
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13632
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13635
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13636
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13639
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13640
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13641
# trailing colons and then remove the whole line if VPATH becomes empty
13642
# (actually we leave an empty line to preserve line numbers).
13643
if test "x$srcdir" = x.; then
13644
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13662
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13663
fi # test -n "$CONFIG_FILES"
13665
# Set up the scripts for CONFIG_HEADERS section.
13666
# No need to generate them if there are no CONFIG_HEADERS.
13667
# This happens for instance with `./config.status Makefile'.
13668
if test -n "$CONFIG_HEADERS"; then
13669
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13673
# Transform confdefs.h into an awk script `defines.awk', embedded as
13674
# here-document in config.status, that substitutes the proper values into
13675
# config.h.in to produce config.h.
13677
# Create a delimiter string that does not exist in confdefs.h, to ease
13678
# handling of long lines.
13680
for ac_last_try in false false :; do
13681
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13682
if test -z "$ac_tt"; then
13684
elif $ac_last_try; then
13685
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13687
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13691
# For the awk script, D is an array of macro values keyed by name,
13692
# likewise P contains macro parameters if any. Preserve backslash
13693
# newline sequences.
13695
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13697
s/.\{148\}/&'"$ac_delim"'/g
13700
s/^[ ]*#[ ]*define[ ][ ]*/ /
13707
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13709
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
13713
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
13714
D["\1"]=" \3\\\\\\n"\\/p
13716
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13721
s/.\{148\}/&'"$ac_delim"'/g
13726
s/["\\]/\\&/g; s/^/"/; s/$/"/p
13729
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13731
' <confdefs.h | sed '
13732
s/'"$ac_delim"'/"\\\
13733
"/g' >>$CONFIG_STATUS || ac_write_fail=1
13735
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13736
for (key in D) D_is_set[key] = 1
13739
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13741
split(line, arg, " ")
13742
if (arg[1] == "#") {
13746
defundef = substr(arg[1], 2)
13749
split(mac1, mac2, "(") #)
13751
prefix = substr(line, 1, index(line, defundef) - 1)
13752
if (D_is_set[macro]) {
13753
# Preserve the white space surrounding the "#".
13754
print prefix "define", macro P[macro] D[macro]
13757
# Replace #undef with comments. This is necessary, for example,
13758
# in the case of _POSIX_SOURCE, which is predefined and required
13759
# on some systems where configure will not decide to define it.
13760
if (defundef == "undef") {
13761
print "/*", prefix defundef, macro, "*/"
13769
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13770
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13771
fi # test -n "$CONFIG_HEADERS"
13774
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13779
:[FHLC]) ac_mode=$ac_tag; continue;;
13781
case $ac_mode$ac_tag in
13783
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13784
:[FH]-) ac_tag=-:-;;
13785
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13802
-) ac_f="$ac_tmp/stdin";;
13803
*) # Look for the file first in the build tree, then in the source tree
13804
# (if the path is not absolute). The absolute path cannot be DOS-style,
13805
# because $ac_f cannot contain `:'.
13809
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13811
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13813
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13814
as_fn_append ac_file_inputs " '$ac_f'"
13817
# Let's still pretend it is `configure' which instantiates (i.e., don't
13818
# use $as_me), people would be surprised to read:
13819
# /* config.h. Generated by config.status. */
13820
configure_input='Generated from '`
13821
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13823
if test x"$ac_file" != x-; then
13824
configure_input="$ac_file. $configure_input"
13825
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13826
$as_echo "$as_me: creating $ac_file" >&6;}
13828
# Neutralize special characters interpreted by sed in replacement strings.
13829
case $configure_input in #(
13830
*\&* | *\|* | *\\* )
13831
ac_sed_conf_input=`$as_echo "$configure_input" |
13832
sed 's/[\\\\&|]/\\\\&/g'`;; #(
13833
*) ac_sed_conf_input=$configure_input;;
13837
*:-:* | *:-) cat >"$ac_tmp/stdin" \
13838
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
13843
ac_dir=`$as_dirname -- "$ac_file" ||
13844
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13845
X"$ac_file" : 'X\(//\)[^/]' \| \
13846
X"$ac_file" : 'X\(//\)$' \| \
13847
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13848
$as_echo X"$ac_file" |
13849
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13853
/^X\(\/\/\)[^/].*/{
13866
as_dir="$ac_dir"; as_fn_mkdir_p
13870
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13872
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13873
# A ".." for each directory in $ac_dir_suffix.
13874
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13875
case $ac_top_builddir_sub in
13876
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13877
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13880
ac_abs_top_builddir=$ac_pwd
13881
ac_abs_builddir=$ac_pwd$ac_dir_suffix
13882
# for backward compatibility:
13883
ac_top_builddir=$ac_top_build_prefix
13886
.) # We are building in place.
13888
ac_top_srcdir=$ac_top_builddir_sub
13889
ac_abs_top_srcdir=$ac_pwd ;;
13890
[\\/]* | ?:[\\/]* ) # Absolute name.
13891
ac_srcdir=$srcdir$ac_dir_suffix;
13892
ac_top_srcdir=$srcdir
13893
ac_abs_top_srcdir=$srcdir ;;
13894
*) # Relative name.
13895
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13896
ac_top_srcdir=$ac_top_build_prefix$srcdir
13897
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13899
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13909
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13910
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13912
ac_MKDIR_P=$MKDIR_P
13914
[\\/$]* | ?:[\\/]* ) ;;
13915
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13919
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13920
# If the template does not know about datarootdir, expand it.
13921
# FIXME: This hack should be removed a few years after 2.60.
13922
ac_datarootdir_hack=; ac_datarootdir_seen=
13933
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13934
*datarootdir*) ac_datarootdir_seen=yes;;
13935
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13936
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13937
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13939
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13940
ac_datarootdir_hack='
13941
s&@datadir@&$datadir&g
13942
s&@docdir@&$docdir&g
13943
s&@infodir@&$infodir&g
13944
s&@localedir@&$localedir&g
13945
s&@mandir@&$mandir&g
13946
s&\\\${datarootdir}&$datarootdir&g' ;;
13950
# Neutralize VPATH when `$srcdir' = `.'.
13951
# Shell code in configure.ac might set extrasub.
13952
# FIXME: do we really want to maintain this feature?
13953
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13954
ac_sed_extra="$ac_vpsub
13957
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13959
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13960
s|@configure_input@|$ac_sed_conf_input|;t t
13961
s&@top_builddir@&$ac_top_builddir_sub&;t t
13962
s&@top_build_prefix@&$ac_top_build_prefix&;t t
13963
s&@srcdir@&$ac_srcdir&;t t
13964
s&@abs_srcdir@&$ac_abs_srcdir&;t t
13965
s&@top_srcdir@&$ac_top_srcdir&;t t
13966
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13967
s&@builddir@&$ac_builddir&;t t
13968
s&@abs_builddir@&$ac_abs_builddir&;t t
13969
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13970
s&@INSTALL@&$ac_INSTALL&;t t
13971
s&@MKDIR_P@&$ac_MKDIR_P&;t t
13972
$ac_datarootdir_hack
13974
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
13975
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13977
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13978
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
13979
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
13980
"$ac_tmp/out"`; test -z "$ac_out"; } &&
13981
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13982
which seems to be undefined. Please make sure it is defined" >&5
13983
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13984
which seems to be undefined. Please make sure it is defined" >&2;}
13986
rm -f "$ac_tmp/stdin"
13988
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
13989
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
13991
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
13997
if test x"$ac_file" != x-; then
13999
$as_echo "/* $configure_input */" \
14000
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14001
} >"$ac_tmp/config.h" \
14002
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14003
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14004
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14005
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14008
mv "$ac_tmp/config.h" "$ac_file" \
14009
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14012
$as_echo "/* $configure_input */" \
14013
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14014
|| as_fn_error $? "could not create -" "$LINENO" 5
14016
# Compute "$ac_file"'s index in $config_headers.
14019
for _am_header in $config_headers :; do
14020
case $_am_header in
14021
$_am_arg | $_am_arg:* )
14024
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
14027
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14028
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14029
X"$_am_arg" : 'X\(//\)[^/]' \| \
14030
X"$_am_arg" : 'X\(//\)$' \| \
14031
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14032
$as_echo X"$_am_arg" |
14033
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14037
/^X\(\/\/\)[^/].*/{
14049
s/.*/./; q'`/stamp-h$_am_stamp_count
14052
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14053
$as_echo "$as_me: executing $ac_file commands" >&6;}
14058
case $ac_file$ac_mode in
14059
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14060
# Autoconf 2.62 quotes --file arguments for eval, but not when files
14061
# are listed without --file. Let's play safe and only enable the eval
14062
# if we detect the quoting.
14063
case $CONFIG_FILES in
14064
*\'*) eval set x "$CONFIG_FILES" ;;
14065
*) set x $CONFIG_FILES ;;
14070
# Strip MF so we end up with the name of the file.
14071
mf=`echo "$mf" | sed -e 's/:.*$//'`
14072
# Check whether this is an Automake generated Makefile or not.
14073
# We used to match only the files named `Makefile.in', but
14074
# some people rename them; so instead we look at the file content.
14075
# Grep'ing the first line is not enough: some people post-process
14076
# each Makefile.in and add a new line on top of each file to say so.
14077
# Grep'ing the whole file is not good either: AIX grep has a line
14078
# limit of 2048, but all sed's we know have understand at least 4000.
14079
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14080
dirpart=`$as_dirname -- "$mf" ||
14081
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14082
X"$mf" : 'X\(//\)[^/]' \| \
14083
X"$mf" : 'X\(//\)$' \| \
14084
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14086
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14090
/^X\(\/\/\)[^/].*/{
14106
# Extract the definition of DEPDIR, am__include, and am__quote
14107
# from the Makefile without running `make'.
14108
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14109
test -z "$DEPDIR" && continue
14110
am__include=`sed -n 's/^am__include = //p' < "$mf"`
14111
test -z "am__include" && continue
14112
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14113
# When using ansi2knr, U may be empty or an underscore; expand it
14114
U=`sed -n 's/^U = //p' < "$mf"`
14115
# Find all dependency output files, they are included files with
14116
# $(DEPDIR) in their names. We invoke sed twice because it is the
14117
# simplest approach to changing $(DEPDIR) to its actual value in the
14119
for file in `sed -n "
14120
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14121
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14122
# Make sure the directory exists.
14123
test -f "$dirpart/$file" && continue
14124
fdir=`$as_dirname -- "$file" ||
14125
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14126
X"$file" : 'X\(//\)[^/]' \| \
14127
X"$file" : 'X\(//\)$' \| \
14128
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14129
$as_echo X"$file" |
14130
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14134
/^X\(\/\/\)[^/].*/{
14147
as_dir=$dirpart/$fdir; as_fn_mkdir_p
14148
# echo "creating $dirpart/$file"
14149
echo '# dummy' > "$dirpart/$file"
14156
# See if we are running on zsh, and set the options which allow our
14157
# commands through without removal of \ escapes.
14158
if test -n "${ZSH_VERSION+set}" ; then
14159
setopt NO_GLOB_SUBST
14162
cfgfile="${ofile}T"
14163
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14166
cat <<_LT_EOF >> "$cfgfile"
14169
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14170
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14171
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14172
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14174
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14175
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
14177
# Written by Gordon Matzigkeit, 1996
14179
# This file is part of GNU Libtool.
14181
# GNU Libtool is free software; you can redistribute it and/or
14182
# modify it under the terms of the GNU General Public License as
14183
# published by the Free Software Foundation; either version 2 of
14184
# the License, or (at your option) any later version.
14186
# As a special exception to the GNU General Public License,
14187
# if you distribute this file as part of a program or library that
14188
# is built using GNU Libtool, you may include this file under the
14189
# same distribution terms that you use for the rest of that program.
14191
# GNU Libtool is distributed in the hope that it will be useful,
14192
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14193
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14194
# GNU General Public License for more details.
14196
# You should have received a copy of the GNU General Public License
14197
# along with GNU Libtool; see the file COPYING. If not, a copy
14198
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14199
# obtained by writing to the Free Software Foundation, Inc.,
14200
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14203
# The names of the tagged configurations supported by this script.
14206
# ### BEGIN LIBTOOL CONFIG
14208
# Which release of libtool.m4 was used?
14209
macro_version=$macro_version
14210
macro_revision=$macro_revision
14212
# Whether or not to build shared libraries.
14213
build_libtool_libs=$enable_shared
14215
# Whether or not to build static libraries.
14216
build_old_libs=$enable_static
14218
# What type of objects to build.
14221
# Whether or not to optimize for fast installation.
14222
fast_install=$enable_fast_install
14224
# Shell to use when invoking shell scripts.
14227
# An echo program that protects backslashes.
14231
host_alias=$host_alias
14235
# The build system.
14236
build_alias=$build_alias
14240
# A sed program that does not truncate output.
14243
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14244
Xsed="\$SED -e 1s/^X//"
14246
# A grep program that handles long lines.
14252
# A literal string matcher.
14255
# A BSD- or MS-compatible name lister.
14258
# Whether we need soft or hard links.
14261
# What is the maximum length of a command?
14262
max_cmd_len=$max_cmd_len
14264
# Object file suffix (normally "o").
14267
# Executable file suffix (normally "").
14270
# whether the shell understands "unset".
14273
# turn spaces into newlines.
14276
# turn newlines into spaces.
14279
# convert \$build file names to \$host format.
14280
to_host_file_cmd=$lt_cv_to_host_file_cmd
14282
# convert \$build files to toolchain format.
14283
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14285
# An object symbol dumper.
14286
OBJDUMP=$lt_OBJDUMP
14288
# Method to check whether dependent libraries are shared objects.
14289
deplibs_check_method=$lt_deplibs_check_method
14291
# Command to use when deplibs_check_method = "file_magic".
14292
file_magic_cmd=$lt_file_magic_cmd
14294
# How to find potential files when deplibs_check_method = "file_magic".
14295
file_magic_glob=$lt_file_magic_glob
14297
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14298
want_nocaseglob=$lt_want_nocaseglob
14300
# DLL creation program.
14301
DLLTOOL=$lt_DLLTOOL
14303
# Command to associate shared and link libraries.
14304
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14309
# Flags to create an archive.
14310
AR_FLAGS=$lt_AR_FLAGS
14312
# How to feed a file listing to the archiver.
14313
archiver_list_spec=$lt_archiver_list_spec
14315
# A symbol stripping program.
14318
# Commands used to install an old-style archive.
14320
old_postinstall_cmds=$lt_old_postinstall_cmds
14321
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14323
# Whether to use a lock for old archive extraction.
14324
lock_old_archive_extraction=$lock_old_archive_extraction
14329
# LTCC compiler flags.
14330
LTCFLAGS=$lt_CFLAGS
14332
# Take the output of nm and produce a listing of raw symbols and C names.
14333
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14335
# Transform the output of nm in a proper C declaration.
14336
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14338
# Transform the output of nm in a C name address pair.
14339
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14341
# Transform the output of nm in a C name address pair when lib prefix is needed.
14342
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14344
# Specify filename containing input files for \$NM.
14345
nm_file_list_spec=$lt_nm_file_list_spec
14347
# The root where to search for dependent libraries,and in which our libraries should be installed.
14348
lt_sysroot=$lt_sysroot
14350
# The name of the directory that contains temporary libtool files.
14353
# Used to examine libraries when file_magic_cmd begins with "file".
14354
MAGIC_CMD=$MAGIC_CMD
14356
# Must we lock files when doing compilation?
14357
need_locks=$lt_need_locks
14360
MANIFEST_TOOL=$lt_MANIFEST_TOOL
14362
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14363
DSYMUTIL=$lt_DSYMUTIL
14365
# Tool to change global to local symbols on Mac OS X.
14368
# Tool to manipulate fat objects and archives on Mac OS X.
14371
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14374
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14375
OTOOL64=$lt_OTOOL64
14377
# Old archive suffix (normally "a").
14380
# Shared library suffix (normally ".so").
14381
shrext_cmds=$lt_shrext_cmds
14383
# The commands to extract the exported symbol list from a shared archive.
14384
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14386
# Variables whose values should be saved in libtool wrapper scripts and
14387
# restored at link time.
14388
variables_saved_for_relink=$lt_variables_saved_for_relink
14390
# Do we need the "lib" prefix for modules?
14391
need_lib_prefix=$need_lib_prefix
14393
# Do we need a version for libraries?
14394
need_version=$need_version
14396
# Library versioning type.
14397
version_type=$version_type
14399
# Shared library runtime path variable.
14400
runpath_var=$runpath_var
14402
# Shared library path variable.
14403
shlibpath_var=$shlibpath_var
14405
# Is shlibpath searched before the hard-coded library search path?
14406
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14408
# Format of library name prefix.
14409
libname_spec=$lt_libname_spec
14411
# List of archive names. First name is the real one, the rest are links.
14412
# The last name is the one that the linker finds with -lNAME
14413
library_names_spec=$lt_library_names_spec
14415
# The coded name of the library, if different from the real name.
14416
soname_spec=$lt_soname_spec
14418
# Permission mode override for installation of shared libraries.
14419
install_override_mode=$lt_install_override_mode
14421
# Command to use after installation of a shared archive.
14422
postinstall_cmds=$lt_postinstall_cmds
14424
# Command to use after uninstallation of a shared archive.
14425
postuninstall_cmds=$lt_postuninstall_cmds
14427
# Commands used to finish a libtool library installation in a directory.
14428
finish_cmds=$lt_finish_cmds
14430
# As "finish_cmds", except a single script fragment to be evaled but
14432
finish_eval=$lt_finish_eval
14434
# Whether we should hardcode library paths into libraries.
14435
hardcode_into_libs=$hardcode_into_libs
14437
# Compile-time system search path for libraries.
14438
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14440
# Run-time system search path for libraries.
14441
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14443
# Whether dlopen is supported.
14444
dlopen_support=$enable_dlopen
14446
# Whether dlopen of programs is supported.
14447
dlopen_self=$enable_dlopen_self
14449
# Whether dlopen of statically linked programs is supported.
14450
dlopen_self_static=$enable_dlopen_self_static
14452
# Commands to strip libraries.
14453
old_striplib=$lt_old_striplib
14454
striplib=$lt_striplib
14457
# The linker used to build libraries.
14460
# How to create reloadable object files.
14461
reload_flag=$lt_reload_flag
14462
reload_cmds=$lt_reload_cmds
14464
# Commands used to build an old-style archive.
14465
old_archive_cmds=$lt_old_archive_cmds
14467
# A language specific compiler.
14470
# Is the compiler the GNU compiler?
14473
# Compiler flag to turn off builtin functions.
14474
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14476
# Additional compiler flags for building library objects.
14477
pic_flag=$lt_lt_prog_compiler_pic
14479
# How to pass a linker flag through the compiler.
14480
wl=$lt_lt_prog_compiler_wl
14482
# Compiler flag to prevent dynamic linking.
14483
link_static_flag=$lt_lt_prog_compiler_static
14485
# Does compiler simultaneously support -c and -o options?
14486
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14488
# Whether or not to add -lc for building shared libraries.
14489
build_libtool_need_lc=$archive_cmds_need_lc
14491
# Whether or not to disallow shared libs when runtime libs are static.
14492
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14494
# Compiler flag to allow reflexive dlopens.
14495
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14497
# Compiler flag to generate shared objects directly from archives.
14498
whole_archive_flag_spec=$lt_whole_archive_flag_spec
14500
# Whether the compiler copes with passing no objects directly.
14501
compiler_needs_object=$lt_compiler_needs_object
14503
# Create an old-style archive from a shared archive.
14504
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14506
# Create a temporary old-style archive to link instead of a shared archive.
14507
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14509
# Commands used to build a shared archive.
14510
archive_cmds=$lt_archive_cmds
14511
archive_expsym_cmds=$lt_archive_expsym_cmds
14513
# Commands used to build a loadable module if different from building
14514
# a shared archive.
14515
module_cmds=$lt_module_cmds
14516
module_expsym_cmds=$lt_module_expsym_cmds
14518
# Whether we are building with GNU ld or not.
14519
with_gnu_ld=$lt_with_gnu_ld
14521
# Flag that allows shared libraries with undefined symbols to be built.
14522
allow_undefined_flag=$lt_allow_undefined_flag
14524
# Flag that enforces no undefined symbols.
14525
no_undefined_flag=$lt_no_undefined_flag
14527
# Flag to hardcode \$libdir into a binary during linking.
14528
# This must work even if \$libdir does not exist
14529
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14531
# If ld is used when linking, flag to hardcode \$libdir into a binary
14532
# during linking. This must work even if \$libdir does not exist.
14533
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14535
# Whether we need a single "-rpath" flag with a separated argument.
14536
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14538
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14539
# DIR into the resulting binary.
14540
hardcode_direct=$hardcode_direct
14542
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14543
# DIR into the resulting binary and the resulting library dependency is
14544
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14545
# library is relocated.
14546
hardcode_direct_absolute=$hardcode_direct_absolute
14548
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14549
# into the resulting binary.
14550
hardcode_minus_L=$hardcode_minus_L
14552
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14553
# into the resulting binary.
14554
hardcode_shlibpath_var=$hardcode_shlibpath_var
14556
# Set to "yes" if building a shared library automatically hardcodes DIR
14557
# into the library and all subsequent libraries and executables linked
14559
hardcode_automatic=$hardcode_automatic
14561
# Set to yes if linker adds runtime paths of dependent libraries
14562
# to runtime path list.
14563
inherit_rpath=$inherit_rpath
14565
# Whether libtool must link a program against all its dependency libraries.
14566
link_all_deplibs=$link_all_deplibs
14568
# Set to "yes" if exported symbols are required.
14569
always_export_symbols=$always_export_symbols
14571
# The commands to list exported symbols.
14572
export_symbols_cmds=$lt_export_symbols_cmds
14574
# Symbols that should not be listed in the preloaded symbols.
14575
exclude_expsyms=$lt_exclude_expsyms
14577
# Symbols that must always be exported.
14578
include_expsyms=$lt_include_expsyms
14580
# Commands necessary for linking programs (against libraries) with templates.
14581
prelink_cmds=$lt_prelink_cmds
14583
# Commands necessary for finishing linking programs.
14584
postlink_cmds=$lt_postlink_cmds
14586
# Specify filename containing input files.
14587
file_list_spec=$lt_file_list_spec
14589
# How to hardcode a shared library path into an executable.
14590
hardcode_action=$hardcode_action
14592
# ### END LIBTOOL CONFIG
14598
cat <<\_LT_EOF >> "$cfgfile"
14599
# AIX sometimes has problems with the GCC collect2 program. For some
14600
# reason, if we set the COLLECT_NAMES environment variable, the problems
14601
# vanish in a puff of smoke.
14602
if test "X${COLLECT_NAMES+set}" != Xset; then
14604
export COLLECT_NAMES
14611
ltmain="$ac_aux_dir/ltmain.sh"
14614
# We use sed instead of cat because bash on DJGPP gets confused if
14615
# if finds mixed CR/LF and LF-only lines. Since sed operates in
14616
# text mode, it properly converts lines to CR/LF. This bash problem
14617
# is reportedly fixed, but why not run on old versions too?
14618
sed '$q' "$ltmain" >> "$cfgfile" \
14619
|| (rm -f "$cfgfile"; exit 1)
14621
if test x"$xsi_shell" = xyes; then
14622
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14626
\ */*) func_dirname_result="${1%/*}${2}" ;;\
14627
\ * ) func_dirname_result="${3}" ;;\
14629
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14630
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14631
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14632
test 0 -eq $? || _lt_function_replace_fail=:
14635
sed -e '/^func_basename ()$/,/^} # func_basename /c\
14638
\ func_basename_result="${1##*/}"\
14639
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14640
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14641
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14642
test 0 -eq $? || _lt_function_replace_fail=:
14645
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14646
func_dirname_and_basename ()\
14649
\ */*) func_dirname_result="${1%/*}${2}" ;;\
14650
\ * ) func_dirname_result="${3}" ;;\
14652
\ func_basename_result="${1##*/}"\
14653
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14654
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14655
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14656
test 0 -eq $? || _lt_function_replace_fail=:
14659
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14662
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14663
\ # positional parameters, so assign one to ordinary parameter first.\
14664
\ func_stripname_result=${3}\
14665
\ func_stripname_result=${func_stripname_result#"${1}"}\
14666
\ func_stripname_result=${func_stripname_result%"${2}"}\
14667
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14668
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14669
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14670
test 0 -eq $? || _lt_function_replace_fail=:
14673
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14674
func_split_long_opt ()\
14676
\ func_split_long_opt_name=${1%%=*}\
14677
\ func_split_long_opt_arg=${1#*=}\
14678
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14679
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14680
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14681
test 0 -eq $? || _lt_function_replace_fail=:
14684
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14685
func_split_short_opt ()\
14687
\ func_split_short_opt_arg=${1#??}\
14688
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14689
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14690
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14691
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14692
test 0 -eq $? || _lt_function_replace_fail=:
14695
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14699
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14700
\ *) func_lo2o_result=${1} ;;\
14702
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14703
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14704
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14705
test 0 -eq $? || _lt_function_replace_fail=:
14708
sed -e '/^func_xform ()$/,/^} # func_xform /c\
14711
func_xform_result=${1%.*}.lo\
14712
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14713
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14714
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14715
test 0 -eq $? || _lt_function_replace_fail=:
14718
sed -e '/^func_arith ()$/,/^} # func_arith /c\
14721
func_arith_result=$(( $* ))\
14722
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14723
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14724
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14725
test 0 -eq $? || _lt_function_replace_fail=:
14728
sed -e '/^func_len ()$/,/^} # func_len /c\
14731
func_len_result=${#1}\
14732
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14733
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14734
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14735
test 0 -eq $? || _lt_function_replace_fail=:
14739
if test x"$lt_shell_append" = xyes; then
14740
sed -e '/^func_append ()$/,/^} # func_append /c\
14743
eval "${1}+=\\${2}"\
14744
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14745
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14746
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14747
test 0 -eq $? || _lt_function_replace_fail=:
14750
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14751
func_append_quoted ()\
14753
\ func_quote_for_eval "${2}"\
14754
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14755
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14756
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14757
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14758
test 0 -eq $? || _lt_function_replace_fail=:
14761
# Save a `func_append' function call where possible by direct use of '+='
14762
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14763
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14764
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14765
test 0 -eq $? || _lt_function_replace_fail=:
14767
# Save a `func_append' function call even when '+=' is not available
14768
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14769
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14770
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14771
test 0 -eq $? || _lt_function_replace_fail=:
14774
if test x"$_lt_function_replace_fail" = x":"; then
14775
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14776
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14780
mv -f "$cfgfile" "$ofile" ||
14781
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14792
ac_clean_files=$ac_clean_files_save
14794
test $ac_write_fail = 0 ||
14795
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14798
# configure is writing to config.log, and then calls config.status.
14799
# config.status does its own redirection, appending to config.log.
14800
# Unfortunately, on DOS this fails, as config.log is still kept open
14801
# by configure, so config.status won't be able to write to it; its
14802
# output is simply discarded. So we exec the FD to /dev/null,
14803
# effectively closing config.log, so it can be properly (re)opened and
14804
# appended to by config.status. When coming back to configure, we
14805
# need to make the FD available again.
14806
if test "$no_create" != yes; then
14808
ac_config_status_args=
14809
test "$silent" = yes &&
14810
ac_config_status_args="$ac_config_status_args --quiet"
14812
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14814
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
14815
# would make configure fail if this is the last instruction.
14816
$ac_cs_success || as_fn_exit 1
14818
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14819
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14820
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}