2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.63 for ubuntuone-client 0.90.3.
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7
# This configure script is free software; the Free Software Foundation
8
# gives unlimited permission to copy, distribute and modify it.
9
## --------------------- ##
10
## M4sh Initialization. ##
11
## --------------------- ##
13
# Be more Bourne compatible
14
DUALCASE=1; export DUALCASE # for MKS sh
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
# is contrary to our usage. Disable this feature.
20
alias -g '${1+"$@"}'='"$@"'
23
case `(set -o) 2>/dev/null` in
24
*posix*) set -o posix ;;
33
# Avoid depending upon Character Ranges.
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
as_cr_digits='0123456789'
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
43
# Printing a long string crashes Solaris 7 /usr/bin/printf.
44
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
as_echo_n='/usr/ucb/echo -n'
55
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
expr "X$arg" : "X\\(.*\\)$as_nl";
61
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
as_echo_n='sh -c $as_echo_n_body as_echo'
69
as_echo='sh -c $as_echo_body as_echo'
72
# The user is always right.
73
if test "${PATH_SEPARATOR+set}" != set; then
75
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81
# Support unset when possible.
82
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90
# We need space, tab and new line, in precisely that order. Quoting is
91
# there to prevent editors from complaining about space-tab.
92
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
93
# splitting by setting IFS to empty value.)
96
# Find who we are. Look in the path if we contain no directory separator.
98
*[\\/]* ) as_myself=$0 ;;
99
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103
test -z "$as_dir" && as_dir=.
104
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110
# We did not find ourselves, most probably we were run as `sh COMMAND'
111
# in which case we are not to be found in the path.
112
if test "x$as_myself" = x; then
115
if test ! -f "$as_myself"; then
116
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117
{ (exit 1); exit 1; }
120
# Work around bugs in pre-3.0 UWIN ksh.
121
for as_var in ENV MAIL MAILPATH
122
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
134
# Required to use basename.
135
if expr a : '\(a\)' >/dev/null 2>&1 &&
136
test "X`expr 00001 : '.*\(...\)'`" = X001; then
142
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149
# Name of the executable.
150
as_me=`$as_basename -- "$0" ||
151
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152
X"$0" : 'X\(//\)$' \| \
153
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155
sed '/^.*\/\([^/][^/]*\)\/*$/{
173
if test "x$CONFIG_SHELL" = x; then
174
if (eval ":") 2>/dev/null; then
180
if test $as_have_required = yes && (eval ":
190
as_func_ret_success () {
193
as_func_ret_failure () {
198
if as_func_success; then
202
echo as_func_success failed.
205
if as_func_failure; then
207
echo as_func_failure succeeded.
210
if as_func_ret_success; then
214
echo as_func_ret_success failed.
217
if as_func_ret_failure; then
219
echo as_func_ret_failure succeeded.
222
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226
echo positional parameters were not saved.
229
test \$exitcode = 0) || { (exit 1); exit 1; }
234
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236
") 2> /dev/null; then
240
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
241
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
244
test -z "$as_dir" && as_dir=.
247
for as_base in sh bash ksh sh5; do
248
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
255
for as_shell in $as_candidate_shells $SHELL; do
256
# Try only shells that exist, to save several forks.
257
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
258
{ ("$as_shell") 2> /dev/null <<\_ASEOF
259
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263
# is contrary to our usage. Disable this feature.
264
alias -g '${1+"$@"}'='"$@"'
267
case `(set -o) 2>/dev/null` in
268
*posix*) set -o posix ;;
277
CONFIG_SHELL=$as_shell
279
if { "$as_shell" 2> /dev/null <<\_ASEOF
280
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
283
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284
# is contrary to our usage. Disable this feature.
285
alias -g '${1+"$@"}'='"$@"'
288
case `(set -o) 2>/dev/null` in
289
*posix*) set -o posix ;;
305
as_func_ret_success () {
308
as_func_ret_failure () {
313
if as_func_success; then
317
echo as_func_success failed.
320
if as_func_failure; then
322
echo as_func_failure succeeded.
325
if as_func_ret_success; then
329
echo as_func_ret_success failed.
332
if as_func_ret_failure; then
334
echo as_func_ret_failure succeeded.
337
if ( set x; as_func_ret_success y && test x = "$1" ); then
341
echo positional parameters were not saved.
344
test $exitcode = 0) || { (exit 1); exit 1; }
349
test "x$as_lineno_1" != "x$as_lineno_2" &&
350
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
361
if test "x$CONFIG_SHELL" != x; then
362
for as_var in BASH_ENV ENV
363
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
366
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370
if test $as_have_required = no; then
371
echo This script requires a shell more modern than all the
372
echo shells that I found on your system. Please install a
373
echo modern shell, or manually run the script under such a
374
echo shell if you do have one.
375
{ (exit 1); exit 1; }
385
(eval "as_func_return () {
394
as_func_ret_success () {
397
as_func_ret_failure () {
402
if as_func_success; then
406
echo as_func_success failed.
409
if as_func_failure; then
411
echo as_func_failure succeeded.
414
if as_func_ret_success; then
418
echo as_func_ret_success failed.
421
if as_func_ret_failure; then
423
echo as_func_ret_failure succeeded.
426
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430
echo positional parameters were not saved.
433
test \$exitcode = 0") || {
434
echo No shell found that supports shell functions.
435
echo Please tell bug-autoconf@gnu.org about your system,
436
echo including any error possibly output before this message.
437
echo This can help us improve future autoconf versions.
438
echo Configuration will now proceed without shell functions.
445
test "x$as_lineno_1" != "x$as_lineno_2" &&
446
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449
# uniformly replaced by the line number. The first 'sed' inserts a
450
# line-number line after each line using $LINENO; the second 'sed'
451
# does the real work. The second script uses 'N' to pair each
452
# line-number line with the line containing $LINENO, and appends
453
# trailing '-' during substitution so that $LINENO is not a special
455
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456
# scripts with optimization help from Paolo Bonzini. Blame Lee
457
# E. McMahon (1931-1989) for sed's syntax. :-)
469
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473
chmod +x "$as_me.lineno" ||
474
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475
{ (exit 1); exit 1; }; }
477
# Don't try to exec as it changes $[0], causing all sort of problems
478
# (the dirname of $[0] is not the place where we might find the
479
# original and so on. Autoconf is especially sensitive to this).
481
# Exit status is that of the last command.
486
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
492
ECHO_C= ECHO_N= ECHO_T=
496
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
502
if expr a : '\(a\)' >/dev/null 2>&1 &&
503
test "X`expr 00001 : '.*\(...\)'`" = X001; then
509
rm -f conf$$ conf$$.exe conf$$.file
510
if test -d conf$$.dir; then
511
rm -f conf$$.dir/conf$$.file
514
mkdir conf$$.dir 2>/dev/null
516
if (echo >conf$$.file) 2>/dev/null; then
517
if ln -s conf$$.file conf$$ 2>/dev/null; then
519
# ... but there are two gotchas:
520
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522
# In both cases, we have to default to `cp -p'.
523
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
525
elif ln conf$$.file conf$$ 2>/dev/null; then
533
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
534
rmdir conf$$.dir 2>/dev/null
536
if mkdir -p . 2>/dev/null; then
539
test -d ./-p && rmdir ./-p
543
if test -x / >/dev/null 2>&1; then
546
if ls -dL / >/dev/null 2>&1; then
553
if test -d "$1"; then
559
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560
???[sx]*):;;*)false;;esac;fi
564
as_executable_p=$as_test_x
566
# Sed expression to map a string onto a valid CPP name.
567
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569
# Sed expression to map a string onto a valid variable name.
570
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
575
# Check that we are running under the correct shell.
576
SHELL=${CONFIG_SHELL-/bin/sh}
580
# Remove one level of quotation (which was required for Make).
581
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
586
if test "X$1" = X--no-reexec; then
587
# Discard the --no-reexec flag, and continue.
589
elif test "X$1" = X--fallback-echo; then
590
# Avoid inline document here, it may be left over
592
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
593
# Yippee, $ECHO works!
596
# Restart under the correct shell.
597
exec $SHELL "$0" --no-reexec ${1+"$@"}
600
if test "X$1" = X--fallback-echo; then
601
# used as fallback echo
609
# The HP-UX ksh and POSIX shell print the target directory to stdout
611
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
613
if test -z "$lt_ECHO"; then
614
if test "X${echo_test_string+set}" != Xset; then
615
# find a string as large as possible, as long as the shell can cope with it
616
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
617
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
618
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
619
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
626
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
627
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
628
test "X$echo_testing_string" = "X$echo_test_string"; then
631
# The Solaris, AIX, and Digital Unix default echo programs unquote
632
# backslashes. This makes it impossible to quote backslashes using
633
# echo "$something" | sed 's/\\/\\\\/g'
635
# So, first we look for a working echo in the user's PATH.
637
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
638
for dir in $PATH /usr/ucb; do
640
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
641
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
642
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
643
test "X$echo_testing_string" = "X$echo_test_string"; then
650
if test "X$ECHO" = Xecho; then
651
# We didn't find a better echo, so look for alternatives.
652
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
653
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
654
test "X$echo_testing_string" = "X$echo_test_string"; then
655
# This shell has a builtin print -r that does the trick.
657
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
658
test "X$CONFIG_SHELL" != X/bin/ksh; then
659
# If we have ksh, try running configure again with it.
660
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
661
export ORIGINAL_CONFIG_SHELL
662
CONFIG_SHELL=/bin/ksh
664
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
668
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
669
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
670
test "X$echo_testing_string" = "X$echo_test_string"; then
673
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
674
test "X$echo_testing_string" = 'X\t' &&
675
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
676
test "X$echo_testing_string" = "X$echo_test_string"; then
677
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
679
SHELL="$CONFIG_SHELL"
681
ECHO="$CONFIG_SHELL $0 --fallback-echo"
682
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
683
test "X$echo_testing_string" = 'X\t' &&
684
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
685
test "X$echo_testing_string" = "X$echo_test_string"; then
686
ECHO="$CONFIG_SHELL $0 --fallback-echo"
688
# maybe with a smaller string...
691
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
692
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
699
if test "$prev" != 'sed 50q "$0"'; then
700
echo_test_string=`eval $prev`
701
export echo_test_string
702
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
704
# Oops. We lost completely, so just stick with echo.
713
# Copy echo and quote the copy suitably for passing to libtool from
714
# the Makefile, instead of quoting the original, which is used later.
716
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
717
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
723
exec 7<&0 </dev/null 6>&1
726
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
727
# so uname gets run too.
728
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
733
ac_default_prefix=/usr/local
735
ac_config_libobj_dir=.
741
SHELL=${CONFIG_SHELL-/bin/sh}
743
# Identity of this package.
744
PACKAGE_NAME='ubuntuone-client'
745
PACKAGE_TARNAME='ubuntuone-client'
746
PACKAGE_VERSION='0.90.3'
747
PACKAGE_STRING='ubuntuone-client 0.90.3'
750
ac_unique_file="config.h.in"
751
# Factoring default headers for most tests.
752
ac_includes_default="\
754
#ifdef HAVE_SYS_TYPES_H
755
# include <sys/types.h>
757
#ifdef HAVE_SYS_STAT_H
758
# include <sys/stat.h>
764
# ifdef HAVE_STDLIB_H
769
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
774
#ifdef HAVE_STRINGS_H
775
# include <strings.h>
777
#ifdef HAVE_INTTYPES_H
778
# include <inttypes.h>
787
ac_subst_vars='LTLIBOBJS
804
ENABLE_RENDERING_FALSE
805
ENABLE_RENDERING_TRUE
819
INTLTOOL_SERVICE_RULE
821
INTLTOOL_SCHEMAS_RULE
823
INTLTOOL_XML_NOMERGE_RULE
828
INTLTOOL_SOUNDLIST_RULE
835
INTLTOOL_DIRECTORY_RULE
836
INTLTOOL_DESKTOP_RULE
894
INSTALL_STRIP_PROGRAM
936
program_transform_name
948
enable_option_checking
949
enable_dependency_tracking
961
ac_precious_vars='build_alias
977
# Initialize some variables set by options.
979
ac_init_version=false
980
ac_unrecognized_opts=
982
# The variables have the same names as the options, with
983
# dashes changed to underlines.
991
program_transform_name=s,x,x,
999
# Installation directory options.
1000
# These are left unexpanded so users can "make install exec_prefix=/foo"
1001
# and all the variables that are supposed to be based on exec_prefix
1002
# by default will actually change.
1003
# Use braces instead of parens because sh, perl, etc. also accept them.
1004
# (The list follows the same order as the GNU Coding Standards.)
1005
bindir='${exec_prefix}/bin'
1006
sbindir='${exec_prefix}/sbin'
1007
libexecdir='${exec_prefix}/libexec'
1008
datarootdir='${prefix}/share'
1009
datadir='${datarootdir}'
1010
sysconfdir='${prefix}/etc'
1011
sharedstatedir='${prefix}/com'
1012
localstatedir='${prefix}/var'
1013
includedir='${prefix}/include'
1014
oldincludedir='/usr/include'
1015
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1016
infodir='${datarootdir}/info'
1021
libdir='${exec_prefix}/lib'
1022
localedir='${datarootdir}/locale'
1023
mandir='${datarootdir}/man'
1029
# If the previous option needs an argument, assign it.
1030
if test -n "$ac_prev"; then
1031
eval $ac_prev=\$ac_option
1037
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1041
# Accept the important Cygnus configure options, so we can diagnose typos.
1043
case $ac_dashdash$ac_option in
1047
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1049
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1050
bindir=$ac_optarg ;;
1052
-build | --build | --buil | --bui | --bu)
1053
ac_prev=build_alias ;;
1054
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1055
build_alias=$ac_optarg ;;
1057
-cache-file | --cache-file | --cache-fil | --cache-fi \
1058
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1059
ac_prev=cache_file ;;
1060
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1061
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1062
cache_file=$ac_optarg ;;
1064
--config-cache | -C)
1065
cache_file=config.cache ;;
1067
-datadir | --datadir | --datadi | --datad)
1069
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1070
datadir=$ac_optarg ;;
1072
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1073
| --dataroo | --dataro | --datar)
1074
ac_prev=datarootdir ;;
1075
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1076
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1077
datarootdir=$ac_optarg ;;
1079
-disable-* | --disable-*)
1080
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1081
# Reject names that are not valid shell variable names.
1082
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1083
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1084
{ (exit 1); exit 1; }; }
1085
ac_useropt_orig=$ac_useropt
1086
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1087
case $ac_user_opts in
1089
"enable_$ac_useropt"
1091
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1092
ac_unrecognized_sep=', ';;
1094
eval enable_$ac_useropt=no ;;
1096
-docdir | --docdir | --docdi | --doc | --do)
1098
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1099
docdir=$ac_optarg ;;
1101
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1103
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1104
dvidir=$ac_optarg ;;
1106
-enable-* | --enable-*)
1107
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1108
# Reject names that are not valid shell variable names.
1109
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1110
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1111
{ (exit 1); exit 1; }; }
1112
ac_useropt_orig=$ac_useropt
1113
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1114
case $ac_user_opts in
1116
"enable_$ac_useropt"
1118
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1119
ac_unrecognized_sep=', ';;
1121
eval enable_$ac_useropt=\$ac_optarg ;;
1123
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1124
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1125
| --exec | --exe | --ex)
1126
ac_prev=exec_prefix ;;
1127
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1128
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1129
| --exec=* | --exe=* | --ex=*)
1130
exec_prefix=$ac_optarg ;;
1132
-gas | --gas | --ga | --g)
1133
# Obsolete; use --with-gas.
1136
-help | --help | --hel | --he | -h)
1137
ac_init_help=long ;;
1138
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1139
ac_init_help=recursive ;;
1140
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1141
ac_init_help=short ;;
1143
-host | --host | --hos | --ho)
1144
ac_prev=host_alias ;;
1145
-host=* | --host=* | --hos=* | --ho=*)
1146
host_alias=$ac_optarg ;;
1148
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1150
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1152
htmldir=$ac_optarg ;;
1154
-includedir | --includedir | --includedi | --included | --include \
1155
| --includ | --inclu | --incl | --inc)
1156
ac_prev=includedir ;;
1157
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1158
| --includ=* | --inclu=* | --incl=* | --inc=*)
1159
includedir=$ac_optarg ;;
1161
-infodir | --infodir | --infodi | --infod | --info | --inf)
1163
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1164
infodir=$ac_optarg ;;
1166
-libdir | --libdir | --libdi | --libd)
1168
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1169
libdir=$ac_optarg ;;
1171
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1172
| --libexe | --libex | --libe)
1173
ac_prev=libexecdir ;;
1174
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1175
| --libexe=* | --libex=* | --libe=*)
1176
libexecdir=$ac_optarg ;;
1178
-localedir | --localedir | --localedi | --localed | --locale)
1179
ac_prev=localedir ;;
1180
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1181
localedir=$ac_optarg ;;
1183
-localstatedir | --localstatedir | --localstatedi | --localstated \
1184
| --localstate | --localstat | --localsta | --localst | --locals)
1185
ac_prev=localstatedir ;;
1186
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1187
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1188
localstatedir=$ac_optarg ;;
1190
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1192
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1193
mandir=$ac_optarg ;;
1195
-nfp | --nfp | --nf)
1196
# Obsolete; use --without-fp.
1199
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1200
| --no-cr | --no-c | -n)
1203
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1204
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1207
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1208
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1209
| --oldin | --oldi | --old | --ol | --o)
1210
ac_prev=oldincludedir ;;
1211
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1212
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1213
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1214
oldincludedir=$ac_optarg ;;
1216
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1218
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1219
prefix=$ac_optarg ;;
1221
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1222
| --program-pre | --program-pr | --program-p)
1223
ac_prev=program_prefix ;;
1224
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1225
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1226
program_prefix=$ac_optarg ;;
1228
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1229
| --program-suf | --program-su | --program-s)
1230
ac_prev=program_suffix ;;
1231
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1232
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1233
program_suffix=$ac_optarg ;;
1235
-program-transform-name | --program-transform-name \
1236
| --program-transform-nam | --program-transform-na \
1237
| --program-transform-n | --program-transform- \
1238
| --program-transform | --program-transfor \
1239
| --program-transfo | --program-transf \
1240
| --program-trans | --program-tran \
1241
| --progr-tra | --program-tr | --program-t)
1242
ac_prev=program_transform_name ;;
1243
-program-transform-name=* | --program-transform-name=* \
1244
| --program-transform-nam=* | --program-transform-na=* \
1245
| --program-transform-n=* | --program-transform-=* \
1246
| --program-transform=* | --program-transfor=* \
1247
| --program-transfo=* | --program-transf=* \
1248
| --program-trans=* | --program-tran=* \
1249
| --progr-tra=* | --program-tr=* | --program-t=*)
1250
program_transform_name=$ac_optarg ;;
1252
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1254
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1255
pdfdir=$ac_optarg ;;
1257
-psdir | --psdir | --psdi | --psd | --ps)
1259
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1262
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1263
| -silent | --silent | --silen | --sile | --sil)
1266
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1268
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1270
sbindir=$ac_optarg ;;
1272
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1273
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1274
| --sharedst | --shareds | --shared | --share | --shar \
1276
ac_prev=sharedstatedir ;;
1277
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1278
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1279
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1281
sharedstatedir=$ac_optarg ;;
1283
-site | --site | --sit)
1285
-site=* | --site=* | --sit=*)
1288
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1290
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1291
srcdir=$ac_optarg ;;
1293
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1294
| --syscon | --sysco | --sysc | --sys | --sy)
1295
ac_prev=sysconfdir ;;
1296
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1297
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1298
sysconfdir=$ac_optarg ;;
1300
-target | --target | --targe | --targ | --tar | --ta | --t)
1301
ac_prev=target_alias ;;
1302
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1303
target_alias=$ac_optarg ;;
1305
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1308
-version | --version | --versio | --versi | --vers | -V)
1309
ac_init_version=: ;;
1312
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1313
# Reject names that are not valid shell variable names.
1314
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1315
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1316
{ (exit 1); exit 1; }; }
1317
ac_useropt_orig=$ac_useropt
1318
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1319
case $ac_user_opts in
1323
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1324
ac_unrecognized_sep=', ';;
1326
eval with_$ac_useropt=\$ac_optarg ;;
1328
-without-* | --without-*)
1329
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1330
# Reject names that are not valid shell variable names.
1331
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1332
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1333
{ (exit 1); exit 1; }; }
1334
ac_useropt_orig=$ac_useropt
1335
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1336
case $ac_user_opts in
1340
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1341
ac_unrecognized_sep=', ';;
1343
eval with_$ac_useropt=no ;;
1346
# Obsolete; use --with-x.
1349
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1350
| --x-incl | --x-inc | --x-in | --x-i)
1351
ac_prev=x_includes ;;
1352
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1353
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1354
x_includes=$ac_optarg ;;
1356
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1357
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1358
ac_prev=x_libraries ;;
1359
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1360
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1361
x_libraries=$ac_optarg ;;
1363
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1364
Try \`$0 --help' for more information." >&2
1365
{ (exit 1); exit 1; }; }
1369
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1370
# Reject names that are not valid shell variable names.
1371
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1372
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1373
{ (exit 1); exit 1; }; }
1374
eval $ac_envvar=\$ac_optarg
1375
export $ac_envvar ;;
1378
# FIXME: should be removed in autoconf 3.0.
1379
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1380
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1381
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1382
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1388
if test -n "$ac_prev"; then
1389
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1390
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2
1391
{ (exit 1); exit 1; }; }
1394
if test -n "$ac_unrecognized_opts"; then
1395
case $enable_option_checking in
1397
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1398
{ (exit 1); exit 1; }; } ;;
1399
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1403
# Check all directory arguments for consistency.
1404
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1405
datadir sysconfdir sharedstatedir localstatedir includedir \
1406
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1407
libdir localedir mandir
1409
eval ac_val=\$$ac_var
1410
# Remove trailing slashes.
1413
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1414
eval $ac_var=\$ac_val;;
1416
# Be sure to have absolute directory names.
1418
[\\/$]* | ?:[\\/]* ) continue;;
1419
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1421
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1422
{ (exit 1); exit 1; }; }
1425
# There might be people who depend on the old broken behavior: `$host'
1426
# used to hold the argument of --host etc.
1427
# FIXME: To remove some day.
1430
target=$target_alias
1432
# FIXME: To remove some day.
1433
if test "x$host_alias" != x; then
1434
if test "x$build_alias" = x; then
1435
cross_compiling=maybe
1436
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1437
If a cross compiler is detected then cross compile mode will be used." >&2
1438
elif test "x$build_alias" != "x$host_alias"; then
1444
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1446
test "$silent" = yes && exec 6>/dev/null
1449
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1450
ac_ls_di=`ls -di .` &&
1451
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1452
{ $as_echo "$as_me: error: working directory cannot be determined" >&2
1453
{ (exit 1); exit 1; }; }
1454
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1455
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1456
{ (exit 1); exit 1; }; }
1459
# Find the source files, if location was not specified.
1460
if test -z "$srcdir"; then
1461
ac_srcdir_defaulted=yes
1462
# Try the directory containing this script, then the parent directory.
1463
ac_confdir=`$as_dirname -- "$as_myself" ||
1464
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1465
X"$as_myself" : 'X\(//\)[^/]' \| \
1466
X"$as_myself" : 'X\(//\)$' \| \
1467
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1468
$as_echo X"$as_myself" |
1469
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1487
if test ! -r "$srcdir/$ac_unique_file"; then
1491
ac_srcdir_defaulted=no
1493
if test ! -r "$srcdir/$ac_unique_file"; then
1494
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1495
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1496
{ (exit 1); exit 1; }; }
1498
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1500
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1501
{ (exit 1); exit 1; }; }
1503
# When building in place, set srcdir=.
1504
if test "$ac_abs_confdir" = "$ac_pwd"; then
1507
# Remove unnecessary trailing slashes from srcdir.
1508
# Double slashes in file names in object file debugging info
1509
# mess up M-x gdb in Emacs.
1511
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1513
for ac_var in $ac_precious_vars; do
1514
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1515
eval ac_env_${ac_var}_value=\$${ac_var}
1516
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1517
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1521
# Report the --help message.
1523
if test "$ac_init_help" = "long"; then
1524
# Omit some internal or obsolete options to make the list less imposing.
1525
# This message is too long to be a string in the A/UX 3.1 sh.
1527
\`configure' configures ubuntuone-client 0.90.3 to adapt to many kinds of systems.
1529
Usage: $0 [OPTION]... [VAR=VALUE]...
1531
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1532
VAR=VALUE. See below for descriptions of some of the useful variables.
1534
Defaults for the options are specified in brackets.
1537
-h, --help display this help and exit
1538
--help=short display options specific to this package
1539
--help=recursive display the short help of all the included packages
1540
-V, --version display version information and exit
1541
-q, --quiet, --silent do not print \`checking...' messages
1542
--cache-file=FILE cache test results in FILE [disabled]
1543
-C, --config-cache alias for \`--cache-file=config.cache'
1544
-n, --no-create do not create output files
1545
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1547
Installation directories:
1548
--prefix=PREFIX install architecture-independent files in PREFIX
1549
[$ac_default_prefix]
1550
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1553
By default, \`make install' will install all the files in
1554
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1555
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1556
for instance \`--prefix=\$HOME'.
1558
For better control, use the options below.
1560
Fine tuning of the installation directories:
1561
--bindir=DIR user executables [EPREFIX/bin]
1562
--sbindir=DIR system admin executables [EPREFIX/sbin]
1563
--libexecdir=DIR program executables [EPREFIX/libexec]
1564
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1565
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1566
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1567
--libdir=DIR object code libraries [EPREFIX/lib]
1568
--includedir=DIR C header files [PREFIX/include]
1569
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1570
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1571
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1572
--infodir=DIR info documentation [DATAROOTDIR/info]
1573
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1574
--mandir=DIR man documentation [DATAROOTDIR/man]
1575
--docdir=DIR documentation root
1576
[DATAROOTDIR/doc/ubuntuone-client]
1577
--htmldir=DIR html documentation [DOCDIR]
1578
--dvidir=DIR dvi documentation [DOCDIR]
1579
--pdfdir=DIR pdf documentation [DOCDIR]
1580
--psdir=DIR ps documentation [DOCDIR]
1586
--program-prefix=PREFIX prepend PREFIX to installed program names
1587
--program-suffix=SUFFIX append SUFFIX to installed program names
1588
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1591
--build=BUILD configure for building on BUILD [guessed]
1592
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1596
if test -n "$ac_init_help"; then
1597
case $ac_init_help in
1598
short | recursive ) echo "Configuration of ubuntuone-client 0.90.3:";;
1603
--disable-option-checking ignore unrecognized --enable/--with options
1604
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1605
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1606
--disable-dependency-tracking speeds up one-time build
1607
--enable-dependency-tracking do not reject slow dependency extractors
1608
--enable-shared[=PKGS] build shared libraries [default=yes]
1609
--enable-static[=PKGS] build static libraries [default=yes]
1610
--enable-fast-install[=PKGS]
1611
optimize for fast installation [default=yes]
1612
--disable-libtool-lock avoid locking (might break parallel builds)
1613
--disable-nls do not use Native Language Support
1614
--enable-rendering Enable icon rendering default=auto
1617
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1618
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1619
--with-pic try to use only PIC/non-PIC objects [default=use
1621
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1622
--with-protocol Specify path to storage protocol default=auto
1623
--with-dbus-services=<dir>
1624
where D-BUS services directory is
1626
Some influential environment variables:
1627
CC C compiler command
1628
CFLAGS C compiler flags
1629
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1630
nonstandard directory <lib dir>
1631
LIBS libraries to pass to the linker, e.g. -l<library>
1632
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1633
you have headers in a nonstandard directory <include dir>
1635
PKG_CONFIG path to pkg-config utility
1637
C compiler flags for NAUTILUS, overriding pkg-config
1639
linker flags for NAUTILUS, overriding pkg-config
1640
DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1641
DBUS_LIBS linker flags for DBUS, overriding pkg-config
1643
Use these variables to override the choices made by `configure' or to help
1644
it to find libraries and programs with nonstandard names/locations.
1650
if test "$ac_init_help" = "recursive"; then
1651
# If there are subdirs, report their specific --help.
1652
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1653
test -d "$ac_dir" ||
1654
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1659
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1661
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1662
# A ".." for each directory in $ac_dir_suffix.
1663
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1664
case $ac_top_builddir_sub in
1665
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1666
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1669
ac_abs_top_builddir=$ac_pwd
1670
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1671
# for backward compatibility:
1672
ac_top_builddir=$ac_top_build_prefix
1675
.) # We are building in place.
1677
ac_top_srcdir=$ac_top_builddir_sub
1678
ac_abs_top_srcdir=$ac_pwd ;;
1679
[\\/]* | ?:[\\/]* ) # Absolute name.
1680
ac_srcdir=$srcdir$ac_dir_suffix;
1681
ac_top_srcdir=$srcdir
1682
ac_abs_top_srcdir=$srcdir ;;
1684
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1685
ac_top_srcdir=$ac_top_build_prefix$srcdir
1686
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1688
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1690
cd "$ac_dir" || { ac_status=$?; continue; }
1691
# Check for guested configure.
1692
if test -f "$ac_srcdir/configure.gnu"; then
1694
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1695
elif test -f "$ac_srcdir/configure"; then
1697
$SHELL "$ac_srcdir/configure" --help=recursive
1699
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1701
cd "$ac_pwd" || { ac_status=$?; break; }
1705
test -n "$ac_init_help" && exit $ac_status
1706
if $ac_init_version; then
1708
ubuntuone-client configure 0.90.3
1709
generated by GNU Autoconf 2.63
1711
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1712
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1713
This configure script is free software; the Free Software Foundation
1714
gives unlimited permission to copy, distribute and modify it.
1718
cat >config.log <<_ACEOF
1719
This file contains any messages produced by compilers while
1720
running configure, to aid debugging if configure makes a mistake.
1722
It was created by ubuntuone-client $as_me 0.90.3, which was
1723
generated by GNU Autoconf 2.63. Invocation command line was
1735
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1736
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1737
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1738
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1739
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1741
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1742
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1744
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1745
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1746
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1747
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1748
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1749
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1750
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1754
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758
test -z "$as_dir" && as_dir=.
1759
$as_echo "PATH: $as_dir"
1775
# Keep a trace of the command line.
1776
# Strip out --no-create and --no-recursion so they do not pile up.
1777
# Strip out --silent because we don't want to record it for future runs.
1778
# Also quote any args containing shell meta-characters.
1779
# Make two passes to allow for proper duplicate-argument suppression.
1783
ac_must_keep_next=false
1789
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1790
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1791
| -silent | --silent | --silen | --sile | --sil)
1794
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1797
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1799
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1800
if test $ac_must_keep_next = true; then
1801
ac_must_keep_next=false # Got value, back to normal.
1804
*=* | --config-cache | -C | -disable-* | --disable-* \
1805
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1806
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1807
| -with-* | --with-* | -without-* | --without-* | --x)
1808
case "$ac_configure_args0 " in
1809
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1812
-* ) ac_must_keep_next=true ;;
1815
ac_configure_args="$ac_configure_args '$ac_arg'"
1820
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1821
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1823
# When interrupted or exit'd, cleanup temporary files, and complete
1824
# config.log. We remove comments because anyway the quotes in there
1825
# would cause problems or look ugly.
1826
# WARNING: Use '\'' to represent an apostrophe within the trap.
1827
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1828
trap 'exit_status=$?
1829
# Save into config.log some information that might help in debugging.
1834
## ---------------- ##
1835
## Cache variables. ##
1836
## ---------------- ##
1839
# The following way of writing the cache mishandles newlines in values,
1841
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1842
eval ac_val=\$$ac_var
1846
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1847
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1850
_ | IFS | as_nl) ;; #(
1851
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1852
*) $as_unset $ac_var ;;
1857
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1858
*${as_nl}ac_space=\ *)
1860
"s/'\''/'\''\\\\'\'''\''/g;
1861
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1864
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1872
## ----------------- ##
1873
## Output variables. ##
1874
## ----------------- ##
1877
for ac_var in $ac_subst_vars
1879
eval ac_val=\$$ac_var
1881
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1883
$as_echo "$ac_var='\''$ac_val'\''"
1887
if test -n "$ac_subst_files"; then
1889
## ------------------- ##
1890
## File substitutions. ##
1891
## ------------------- ##
1894
for ac_var in $ac_subst_files
1896
eval ac_val=\$$ac_var
1898
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1900
$as_echo "$ac_var='\''$ac_val'\''"
1905
if test -s confdefs.h; then
1915
test "$ac_signal" != 0 &&
1916
$as_echo "$as_me: caught signal $ac_signal"
1917
$as_echo "$as_me: exit $exit_status"
1919
rm -f core *.core core.conftest.* &&
1920
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1923
for ac_signal in 1 2 13 15; do
1924
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1928
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1929
rm -f -r conftest* confdefs.h
1931
# Predefined preprocessor variables.
1933
cat >>confdefs.h <<_ACEOF
1934
#define PACKAGE_NAME "$PACKAGE_NAME"
1938
cat >>confdefs.h <<_ACEOF
1939
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1943
cat >>confdefs.h <<_ACEOF
1944
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1948
cat >>confdefs.h <<_ACEOF
1949
#define PACKAGE_STRING "$PACKAGE_STRING"
1953
cat >>confdefs.h <<_ACEOF
1954
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1958
# Let the site file select an alternate cache file if it wants to.
1959
# Prefer an explicitly selected file to automatically selected ones.
1962
if test -n "$CONFIG_SITE"; then
1963
ac_site_file1=$CONFIG_SITE
1964
elif test "x$prefix" != xNONE; then
1965
ac_site_file1=$prefix/share/config.site
1966
ac_site_file2=$prefix/etc/config.site
1968
ac_site_file1=$ac_default_prefix/share/config.site
1969
ac_site_file2=$ac_default_prefix/etc/config.site
1971
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1973
test "x$ac_site_file" = xNONE && continue
1974
if test -r "$ac_site_file"; then
1975
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1976
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1977
sed 's/^/| /' "$ac_site_file" >&5
1982
if test -r "$cache_file"; then
1983
# Some versions of bash will fail to source /dev/null (special
1984
# files actually), so we avoid doing that.
1985
if test -f "$cache_file"; then
1986
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1987
$as_echo "$as_me: loading cache $cache_file" >&6;}
1989
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1990
*) . "./$cache_file";;
1994
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1995
$as_echo "$as_me: creating cache $cache_file" >&6;}
1999
# Check that the precious variables saved in the cache have kept the same
2001
ac_cache_corrupted=false
2002
for ac_var in $ac_precious_vars; do
2003
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2004
eval ac_new_set=\$ac_env_${ac_var}_set
2005
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2006
eval ac_new_val=\$ac_env_${ac_var}_value
2007
case $ac_old_set,$ac_new_set in
2009
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2010
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2011
ac_cache_corrupted=: ;;
2013
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2014
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2015
ac_cache_corrupted=: ;;
2018
if test "x$ac_old_val" != "x$ac_new_val"; then
2019
# differences in whitespace do not lead to failure.
2020
ac_old_val_w=`echo x $ac_old_val`
2021
ac_new_val_w=`echo x $ac_new_val`
2022
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2023
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2024
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2025
ac_cache_corrupted=:
2027
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2028
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2029
eval $ac_var=\$ac_old_val
2031
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2032
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2033
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2034
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2037
# Pass precious variables to config.status.
2038
if test "$ac_new_set" = set; then
2040
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2041
*) ac_arg=$ac_var=$ac_new_val ;;
2043
case " $ac_configure_args " in
2044
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2045
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2049
if $ac_cache_corrupted; then
2050
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2051
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2052
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2053
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2054
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2055
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2056
{ (exit 1); exit 1; }; }
2084
ac_cpp='$CPP $CPPFLAGS'
2085
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2086
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2087
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2092
am__api_version='1.10'
2095
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2096
if test -f "$ac_dir/install-sh"; then
2098
ac_install_sh="$ac_aux_dir/install-sh -c"
2100
elif test -f "$ac_dir/install.sh"; then
2102
ac_install_sh="$ac_aux_dir/install.sh -c"
2104
elif test -f "$ac_dir/shtool"; then
2106
ac_install_sh="$ac_aux_dir/shtool install -c"
2110
if test -z "$ac_aux_dir"; then
2111
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2112
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2113
{ (exit 1); exit 1; }; }
2116
# These three variables are undocumented and unsupported,
2117
# and are intended to be withdrawn in a future Autoconf release.
2118
# They can cause serious problems if a builder's source tree is in a directory
2119
# whose full name contains unusual characters.
2120
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2121
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2122
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2125
# Find a good install program. We prefer a C program (faster),
2126
# so one script is as good as another. But avoid the broken or
2127
# incompatible versions:
2128
# SysV /etc/install, /usr/sbin/install
2129
# SunOS /usr/etc/install
2130
# IRIX /sbin/install
2132
# AmigaOS /C/install, which installs bootblocks on floppy discs
2133
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2134
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2135
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2136
# OS/2's system install, which has a completely different semantic
2137
# ./install, which can be erroneously created by make from ./install.sh.
2138
# Reject install programs that cannot install multiple files.
2139
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2140
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2141
if test -z "$INSTALL"; then
2142
if test "${ac_cv_path_install+set}" = set; then
2143
$as_echo_n "(cached) " >&6
2145
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2149
test -z "$as_dir" && as_dir=.
2150
# Account for people who put trailing slashes in PATH elements.
2152
./ | .// | /cC/* | \
2153
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2154
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2157
# OSF1 and SCO ODT 3.0 have their own names for install.
2158
# Don't use installbsd from OSF since it installs stuff as root
2160
for ac_prog in ginstall scoinst install; do
2161
for ac_exec_ext in '' $ac_executable_extensions; do
2162
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2163
if test $ac_prog = install &&
2164
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2165
# AIX install. It has an incompatible calling convention.
2167
elif test $ac_prog = install &&
2168
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2169
# program-specific install script used by HP pwplus--don't use.
2172
rm -rf conftest.one conftest.two conftest.dir
2173
echo one > conftest.one
2174
echo two > conftest.two
2176
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2177
test -s conftest.one && test -s conftest.two &&
2178
test -s conftest.dir/conftest.one &&
2179
test -s conftest.dir/conftest.two
2181
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2194
rm -rf conftest.one conftest.two conftest.dir
2197
if test "${ac_cv_path_install+set}" = set; then
2198
INSTALL=$ac_cv_path_install
2200
# As a last resort, use the slow shell script. Don't cache a
2201
# value for INSTALL within a source directory, because that will
2202
# break other packages using the cache if that directory is
2203
# removed, or if the value is a relative name.
2204
INSTALL=$ac_install_sh
2207
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2208
$as_echo "$INSTALL" >&6; }
2210
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2211
# It thinks the first close brace ends the variable substitution.
2212
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2214
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2216
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2218
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2219
$as_echo_n "checking whether build environment is sane... " >&6; }
2222
echo timestamp > conftest.file
2223
# Do `set' in a subshell so we don't clobber the current shell's
2224
# arguments. Must try -L first in case configure is actually a
2225
# symlink; some systems play weird games with the mod time of symlinks
2226
# (eg FreeBSD returns the mod time of the symlink's containing
2229
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2230
if test "$*" = "X"; then
2232
set X `ls -t $srcdir/configure conftest.file`
2235
if test "$*" != "X $srcdir/configure conftest.file" \
2236
&& test "$*" != "X conftest.file $srcdir/configure"; then
2238
# If neither matched, then we have a broken ls. This can happen
2239
# if, for instance, CONFIG_SHELL is bash and it inherits a
2240
# broken ls alias from the environment. This has actually
2241
# happened. Such a system could not be considered "sane".
2242
{ { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2243
alias in your environment" >&5
2244
$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2245
alias in your environment" >&2;}
2246
{ (exit 1); exit 1; }; }
2249
test "$2" = conftest.file
2255
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2256
Check your system clock" >&5
2257
$as_echo "$as_me: error: newly created file is older than distributed files!
2258
Check your system clock" >&2;}
2259
{ (exit 1); exit 1; }; }
2261
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2262
$as_echo "yes" >&6; }
2263
test "$program_prefix" != NONE &&
2264
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2265
# Use a double $ so make ignores it.
2266
test "$program_suffix" != NONE &&
2267
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2268
# Double any \ or $.
2269
# By default was `s,x,x', remove it if useless.
2270
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2271
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2273
# expand $ac_aux_dir to an absolute path
2274
am_aux_dir=`cd $ac_aux_dir && pwd`
2276
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2277
# Use eval to expand $SHELL
2278
if eval "$MISSING --run true"; then
2279
am_missing_run="$MISSING --run "
2282
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2283
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2286
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2287
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2288
if test -z "$MKDIR_P"; then
2289
if test "${ac_cv_path_mkdir+set}" = set; then
2290
$as_echo_n "(cached) " >&6
2292
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2293
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2296
test -z "$as_dir" && as_dir=.
2297
for ac_prog in mkdir gmkdir; do
2298
for ac_exec_ext in '' $ac_executable_extensions; do
2299
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2300
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2301
'mkdir (GNU coreutils) '* | \
2302
'mkdir (coreutils) '* | \
2303
'mkdir (fileutils) '4.1*)
2304
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2314
if test "${ac_cv_path_mkdir+set}" = set; then
2315
MKDIR_P="$ac_cv_path_mkdir -p"
2317
# As a last resort, use the slow shell script. Don't cache a
2318
# value for MKDIR_P within a source directory, because that will
2319
# break other packages using the cache if that directory is
2320
# removed, or if the value is a relative name.
2321
test -d ./--version && rmdir ./--version
2322
MKDIR_P="$ac_install_sh -d"
2325
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2326
$as_echo "$MKDIR_P" >&6; }
2330
[\\/$]* | ?:[\\/]*) ;;
2331
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2334
for ac_prog in gawk mawk nawk awk
2336
# Extract the first word of "$ac_prog", so it can be a program name with args.
2337
set dummy $ac_prog; ac_word=$2
2338
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2339
$as_echo_n "checking for $ac_word... " >&6; }
2340
if test "${ac_cv_prog_AWK+set}" = set; then
2341
$as_echo_n "(cached) " >&6
2343
if test -n "$AWK"; then
2344
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2346
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2350
test -z "$as_dir" && as_dir=.
2351
for ac_exec_ext in '' $ac_executable_extensions; do
2352
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2353
ac_cv_prog_AWK="$ac_prog"
2354
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2364
if test -n "$AWK"; then
2365
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5
2366
$as_echo "$AWK" >&6; }
2368
{ $as_echo "$as_me:$LINENO: result: no" >&5
2369
$as_echo "no" >&6; }
2373
test -n "$AWK" && break
2376
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2377
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2379
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2380
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2381
$as_echo_n "(cached) " >&6
2383
cat >conftest.make <<\_ACEOF
2386
@echo '@@@%%%=$(MAKE)=@@@%%%'
2388
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2389
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2391
eval ac_cv_prog_make_${ac_make}_set=yes;;
2393
eval ac_cv_prog_make_${ac_make}_set=no;;
2397
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2398
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2399
$as_echo "yes" >&6; }
2402
{ $as_echo "$as_me:$LINENO: result: no" >&5
2403
$as_echo "no" >&6; }
2404
SET_MAKE="MAKE=${MAKE-make}"
2407
rm -rf .tst 2>/dev/null
2408
mkdir .tst 2>/dev/null
2409
if test -d .tst; then
2414
rmdir .tst 2>/dev/null
2416
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2417
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2418
# is not polluted with repeated "-I."
2419
am__isrc=' -I$(srcdir)'
2420
# test to see if srcdir already configured
2421
if test -f $srcdir/config.status; then
2422
{ { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2423
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2424
{ (exit 1); exit 1; }; }
2428
# test whether we have cygpath
2429
if test -z "$CYGPATH_W"; then
2430
if (cygpath --version) >/dev/null 2>/dev/null; then
2431
CYGPATH_W='cygpath -w'
2438
# Define the identity of the package.
2439
PACKAGE='ubuntuone-client'
2443
cat >>confdefs.h <<_ACEOF
2444
#define PACKAGE "$PACKAGE"
2448
cat >>confdefs.h <<_ACEOF
2449
#define VERSION "$VERSION"
2452
# Some tools Automake needs.
2454
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2457
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2460
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2463
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2466
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2468
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2470
# Installed binaries are usually stripped using `strip' when the user
2471
# run `make install-strip'. However `strip' might not be the right
2472
# tool to use in cross-compilation environments, therefore Automake
2473
# will honor the `STRIP' environment variable to overrule this program.
2474
if test "$cross_compiling" != no; then
2475
if test -n "$ac_tool_prefix"; then
2476
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2477
set dummy ${ac_tool_prefix}strip; ac_word=$2
2478
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2479
$as_echo_n "checking for $ac_word... " >&6; }
2480
if test "${ac_cv_prog_STRIP+set}" = set; then
2481
$as_echo_n "(cached) " >&6
2483
if test -n "$STRIP"; then
2484
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2486
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2490
test -z "$as_dir" && as_dir=.
2491
for ac_exec_ext in '' $ac_executable_extensions; do
2492
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2493
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2494
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2503
STRIP=$ac_cv_prog_STRIP
2504
if test -n "$STRIP"; then
2505
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2506
$as_echo "$STRIP" >&6; }
2508
{ $as_echo "$as_me:$LINENO: result: no" >&5
2509
$as_echo "no" >&6; }
2514
if test -z "$ac_cv_prog_STRIP"; then
2516
# Extract the first word of "strip", so it can be a program name with args.
2517
set dummy strip; ac_word=$2
2518
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2519
$as_echo_n "checking for $ac_word... " >&6; }
2520
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2521
$as_echo_n "(cached) " >&6
2523
if test -n "$ac_ct_STRIP"; then
2524
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2526
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530
test -z "$as_dir" && as_dir=.
2531
for ac_exec_ext in '' $ac_executable_extensions; do
2532
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2533
ac_cv_prog_ac_ct_STRIP="strip"
2534
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2543
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2544
if test -n "$ac_ct_STRIP"; then
2545
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2546
$as_echo "$ac_ct_STRIP" >&6; }
2548
{ $as_echo "$as_me:$LINENO: result: no" >&5
2549
$as_echo "no" >&6; }
2552
if test "x$ac_ct_STRIP" = x; then
2555
case $cross_compiling:$ac_tool_warned in
2557
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2558
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2559
ac_tool_warned=yes ;;
2564
STRIP="$ac_cv_prog_STRIP"
2568
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2570
# We need awk for the "check" target. The system "awk" is bad on
2572
# Always define AMTAR for backward compatibility.
2574
AMTAR=${AMTAR-"${am_missing_run}tar"}
2576
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2582
ac_config_headers="$ac_config_headers config.h"
2585
DEPDIR="${am__leading_dot}deps"
2587
ac_config_commands="$ac_config_commands depfiles"
2590
am_make=${MAKE-make}
2591
cat > confinc << 'END'
2596
# If we don't find an include directive, just comment out the code.
2597
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2598
$as_echo_n "checking for style of include used by $am_make... " >&6; }
2602
# First try GNU make style include.
2603
echo "include confinc" > confmf
2604
# We grep out `Entering directory' and `Leaving directory'
2605
# messages which can occur if `w' ends up in MAKEFLAGS.
2606
# In particular we don't look at `^make:' because GNU make might
2607
# be invoked under some other name (usually "gmake"), in which
2608
# case it prints its new name instead of `make'.
2609
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2614
# Now try BSD make style include.
2615
if test "$am__include" = "#"; then
2616
echo '.include "confinc"' > confmf
2617
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2618
am__include=.include
2625
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
2626
$as_echo "$_am_result" >&6; }
2627
rm -f confinc confmf
2629
# Check whether --enable-dependency-tracking was given.
2630
if test "${enable_dependency_tracking+set}" = set; then
2631
enableval=$enable_dependency_tracking;
2634
if test "x$enable_dependency_tracking" != xno; then
2635
am_depcomp="$ac_aux_dir/depcomp"
2638
if test "x$enable_dependency_tracking" != xno; then
2648
ac_cpp='$CPP $CPPFLAGS'
2649
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2650
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2651
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2652
if test -n "$ac_tool_prefix"; then
2653
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2654
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2655
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2656
$as_echo_n "checking for $ac_word... " >&6; }
2657
if test "${ac_cv_prog_CC+set}" = set; then
2658
$as_echo_n "(cached) " >&6
2660
if test -n "$CC"; then
2661
ac_cv_prog_CC="$CC" # Let the user override the test.
2663
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2667
test -z "$as_dir" && as_dir=.
2668
for ac_exec_ext in '' $ac_executable_extensions; do
2669
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2671
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2681
if test -n "$CC"; then
2682
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2683
$as_echo "$CC" >&6; }
2685
{ $as_echo "$as_me:$LINENO: result: no" >&5
2686
$as_echo "no" >&6; }
2691
if test -z "$ac_cv_prog_CC"; then
2693
# Extract the first word of "gcc", so it can be a program name with args.
2694
set dummy gcc; ac_word=$2
2695
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2696
$as_echo_n "checking for $ac_word... " >&6; }
2697
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2698
$as_echo_n "(cached) " >&6
2700
if test -n "$ac_ct_CC"; then
2701
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2703
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707
test -z "$as_dir" && as_dir=.
2708
for ac_exec_ext in '' $ac_executable_extensions; do
2709
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2710
ac_cv_prog_ac_ct_CC="gcc"
2711
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2720
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2721
if test -n "$ac_ct_CC"; then
2722
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2723
$as_echo "$ac_ct_CC" >&6; }
2725
{ $as_echo "$as_me:$LINENO: result: no" >&5
2726
$as_echo "no" >&6; }
2729
if test "x$ac_ct_CC" = x; then
2732
case $cross_compiling:$ac_tool_warned in
2734
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2735
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2736
ac_tool_warned=yes ;;
2744
if test -z "$CC"; then
2745
if test -n "$ac_tool_prefix"; then
2746
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2747
set dummy ${ac_tool_prefix}cc; ac_word=$2
2748
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2749
$as_echo_n "checking for $ac_word... " >&6; }
2750
if test "${ac_cv_prog_CC+set}" = set; then
2751
$as_echo_n "(cached) " >&6
2753
if test -n "$CC"; then
2754
ac_cv_prog_CC="$CC" # Let the user override the test.
2756
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2760
test -z "$as_dir" && as_dir=.
2761
for ac_exec_ext in '' $ac_executable_extensions; do
2762
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2763
ac_cv_prog_CC="${ac_tool_prefix}cc"
2764
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2774
if test -n "$CC"; then
2775
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2776
$as_echo "$CC" >&6; }
2778
{ $as_echo "$as_me:$LINENO: result: no" >&5
2779
$as_echo "no" >&6; }
2785
if test -z "$CC"; then
2786
# Extract the first word of "cc", so it can be a program name with args.
2787
set dummy cc; ac_word=$2
2788
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2789
$as_echo_n "checking for $ac_word... " >&6; }
2790
if test "${ac_cv_prog_CC+set}" = set; then
2791
$as_echo_n "(cached) " >&6
2793
if test -n "$CC"; then
2794
ac_cv_prog_CC="$CC" # Let the user override the test.
2797
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2801
test -z "$as_dir" && as_dir=.
2802
for ac_exec_ext in '' $ac_executable_extensions; do
2803
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2804
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2805
ac_prog_rejected=yes
2809
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2816
if test $ac_prog_rejected = yes; then
2817
# We found a bogon in the path, so make sure we never use it.
2818
set dummy $ac_cv_prog_CC
2820
if test $# != 0; then
2821
# We chose a different compiler from the bogus one.
2822
# However, it has the same basename, so the bogon will be chosen
2823
# first if we set CC to just the basename; use the full file name.
2825
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2831
if test -n "$CC"; then
2832
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2833
$as_echo "$CC" >&6; }
2835
{ $as_echo "$as_me:$LINENO: result: no" >&5
2836
$as_echo "no" >&6; }
2841
if test -z "$CC"; then
2842
if test -n "$ac_tool_prefix"; then
2843
for ac_prog in cl.exe
2845
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2846
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2847
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2848
$as_echo_n "checking for $ac_word... " >&6; }
2849
if test "${ac_cv_prog_CC+set}" = set; then
2850
$as_echo_n "(cached) " >&6
2852
if test -n "$CC"; then
2853
ac_cv_prog_CC="$CC" # Let the user override the test.
2855
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2859
test -z "$as_dir" && as_dir=.
2860
for ac_exec_ext in '' $ac_executable_extensions; do
2861
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2862
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2863
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2873
if test -n "$CC"; then
2874
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2875
$as_echo "$CC" >&6; }
2877
{ $as_echo "$as_me:$LINENO: result: no" >&5
2878
$as_echo "no" >&6; }
2882
test -n "$CC" && break
2885
if test -z "$CC"; then
2887
for ac_prog in cl.exe
2889
# Extract the first word of "$ac_prog", so it can be a program name with args.
2890
set dummy $ac_prog; ac_word=$2
2891
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2892
$as_echo_n "checking for $ac_word... " >&6; }
2893
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2894
$as_echo_n "(cached) " >&6
2896
if test -n "$ac_ct_CC"; then
2897
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2899
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2903
test -z "$as_dir" && as_dir=.
2904
for ac_exec_ext in '' $ac_executable_extensions; do
2905
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2906
ac_cv_prog_ac_ct_CC="$ac_prog"
2907
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2916
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2917
if test -n "$ac_ct_CC"; then
2918
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2919
$as_echo "$ac_ct_CC" >&6; }
2921
{ $as_echo "$as_me:$LINENO: result: no" >&5
2922
$as_echo "no" >&6; }
2926
test -n "$ac_ct_CC" && break
2929
if test "x$ac_ct_CC" = x; then
2932
case $cross_compiling:$ac_tool_warned in
2934
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2935
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2936
ac_tool_warned=yes ;;
2945
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2946
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2947
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2948
See \`config.log' for more details." >&5
2949
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2950
See \`config.log' for more details." >&2;}
2951
{ (exit 1); exit 1; }; }; }
2953
# Provide some information about the compiler.
2954
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2957
{ (ac_try="$ac_compiler --version >&5"
2959
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2960
*) ac_try_echo=$ac_try;;
2962
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2963
$as_echo "$ac_try_echo") >&5
2964
(eval "$ac_compiler --version >&5") 2>&5
2966
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967
(exit $ac_status); }
2968
{ (ac_try="$ac_compiler -v >&5"
2970
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2971
*) ac_try_echo=$ac_try;;
2973
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2974
$as_echo "$ac_try_echo") >&5
2975
(eval "$ac_compiler -v >&5") 2>&5
2977
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978
(exit $ac_status); }
2979
{ (ac_try="$ac_compiler -V >&5"
2981
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2982
*) ac_try_echo=$ac_try;;
2984
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2985
$as_echo "$ac_try_echo") >&5
2986
(eval "$ac_compiler -V >&5") 2>&5
2988
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2989
(exit $ac_status); }
2991
cat >conftest.$ac_ext <<_ACEOF
2994
cat confdefs.h >>conftest.$ac_ext
2995
cat >>conftest.$ac_ext <<_ACEOF
2996
/* end confdefs.h. */
3006
ac_clean_files_save=$ac_clean_files
3007
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3008
# Try to create an executable without -o first, disregard a.out.
3009
# It will help us diagnose broken compilers, and finding out an intuition
3011
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3012
$as_echo_n "checking for C compiler default output file name... " >&6; }
3013
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3015
# The possible output files:
3016
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3019
for ac_file in $ac_files
3022
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3023
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3028
if { (ac_try="$ac_link_default"
3030
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3031
*) ac_try_echo=$ac_try;;
3033
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3034
$as_echo "$ac_try_echo") >&5
3035
(eval "$ac_link_default") 2>&5
3037
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3038
(exit $ac_status); }; then
3039
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3040
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3041
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3042
# so that the user can short-circuit this test for compilers unknown to
3044
for ac_file in $ac_files ''
3046
test -f "$ac_file" || continue
3048
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3051
# We found the default executable, but exeext='' is most
3055
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3057
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3059
# We set ac_cv_exeext here because the later test for it is not
3060
# safe: cross compilers may not add the suffix if given an `-o'
3061
# argument, so we may need to know it at that point already.
3062
# Even if this section looks crufty: it has the advantage of
3069
test "$ac_cv_exeext" = no && ac_cv_exeext=
3075
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3076
$as_echo "$ac_file" >&6; }
3077
if test -z "$ac_file"; then
3078
$as_echo "$as_me: failed program was:" >&5
3079
sed 's/^/| /' conftest.$ac_ext >&5
3081
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3082
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3083
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3084
See \`config.log' for more details." >&5
3085
$as_echo "$as_me: error: C compiler cannot create executables
3086
See \`config.log' for more details." >&2;}
3087
{ (exit 77); exit 77; }; }; }
3090
ac_exeext=$ac_cv_exeext
3092
# Check that the compiler produces executables we can run. If not, either
3093
# the compiler is broken, or we cross compile.
3094
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3095
$as_echo_n "checking whether the C compiler works... " >&6; }
3096
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3097
# If not cross compiling, check that we can run a simple program.
3098
if test "$cross_compiling" != yes; then
3099
if { ac_try='./$ac_file'
3100
{ (case "(($ac_try" in
3101
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102
*) ac_try_echo=$ac_try;;
3104
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3105
$as_echo "$ac_try_echo") >&5
3106
(eval "$ac_try") 2>&5
3108
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3109
(exit $ac_status); }; }; then
3112
if test "$cross_compiling" = maybe; then
3115
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3116
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3117
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3118
If you meant to cross compile, use \`--host'.
3119
See \`config.log' for more details." >&5
3120
$as_echo "$as_me: error: cannot run C compiled programs.
3121
If you meant to cross compile, use \`--host'.
3122
See \`config.log' for more details." >&2;}
3123
{ (exit 1); exit 1; }; }; }
3127
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3128
$as_echo "yes" >&6; }
3130
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3131
ac_clean_files=$ac_clean_files_save
3132
# Check that the compiler produces executables we can run. If not, either
3133
# the compiler is broken, or we cross compile.
3134
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3135
$as_echo_n "checking whether we are cross compiling... " >&6; }
3136
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3137
$as_echo "$cross_compiling" >&6; }
3139
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3140
$as_echo_n "checking for suffix of executables... " >&6; }
3141
if { (ac_try="$ac_link"
3143
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3144
*) ac_try_echo=$ac_try;;
3146
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3147
$as_echo "$ac_try_echo") >&5
3148
(eval "$ac_link") 2>&5
3150
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151
(exit $ac_status); }; then
3152
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3153
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3154
# work properly (i.e., refer to `conftest.exe'), while it won't with
3156
for ac_file in conftest.exe conftest conftest.*; do
3157
test -f "$ac_file" || continue
3159
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3160
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3166
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3167
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3168
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3169
See \`config.log' for more details." >&5
3170
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3171
See \`config.log' for more details." >&2;}
3172
{ (exit 1); exit 1; }; }; }
3175
rm -f conftest$ac_cv_exeext
3176
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3177
$as_echo "$ac_cv_exeext" >&6; }
3179
rm -f conftest.$ac_ext
3180
EXEEXT=$ac_cv_exeext
3182
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3183
$as_echo_n "checking for suffix of object files... " >&6; }
3184
if test "${ac_cv_objext+set}" = set; then
3185
$as_echo_n "(cached) " >&6
3187
cat >conftest.$ac_ext <<_ACEOF
3190
cat confdefs.h >>conftest.$ac_ext
3191
cat >>conftest.$ac_ext <<_ACEOF
3192
/* end confdefs.h. */
3202
rm -f conftest.o conftest.obj
3203
if { (ac_try="$ac_compile"
3205
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3206
*) ac_try_echo=$ac_try;;
3208
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3209
$as_echo "$ac_try_echo") >&5
3210
(eval "$ac_compile") 2>&5
3212
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3213
(exit $ac_status); }; then
3214
for ac_file in conftest.o conftest.obj conftest.*; do
3215
test -f "$ac_file" || continue;
3217
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3218
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3223
$as_echo "$as_me: failed program was:" >&5
3224
sed 's/^/| /' conftest.$ac_ext >&5
3226
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3227
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3228
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3229
See \`config.log' for more details." >&5
3230
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3231
See \`config.log' for more details." >&2;}
3232
{ (exit 1); exit 1; }; }; }
3235
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3237
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3238
$as_echo "$ac_cv_objext" >&6; }
3239
OBJEXT=$ac_cv_objext
3241
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3242
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3243
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3244
$as_echo_n "(cached) " >&6
3246
cat >conftest.$ac_ext <<_ACEOF
3249
cat confdefs.h >>conftest.$ac_ext
3250
cat >>conftest.$ac_ext <<_ACEOF
3251
/* end confdefs.h. */
3264
rm -f conftest.$ac_objext
3265
if { (ac_try="$ac_compile"
3267
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268
*) ac_try_echo=$ac_try;;
3270
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3271
$as_echo "$ac_try_echo") >&5
3272
(eval "$ac_compile") 2>conftest.er1
3274
grep -v '^ *+' conftest.er1 >conftest.err
3276
cat conftest.err >&5
3277
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278
(exit $ac_status); } && {
3279
test -z "$ac_c_werror_flag" ||
3280
test ! -s conftest.err
3281
} && test -s conftest.$ac_objext; then
3284
$as_echo "$as_me: failed program was:" >&5
3285
sed 's/^/| /' conftest.$ac_ext >&5
3290
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3291
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3294
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3295
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3296
if test $ac_compiler_gnu = yes; then
3301
ac_test_CFLAGS=${CFLAGS+set}
3302
ac_save_CFLAGS=$CFLAGS
3303
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3304
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3305
if test "${ac_cv_prog_cc_g+set}" = set; then
3306
$as_echo_n "(cached) " >&6
3308
ac_save_c_werror_flag=$ac_c_werror_flag
3309
ac_c_werror_flag=yes
3312
cat >conftest.$ac_ext <<_ACEOF
3315
cat confdefs.h >>conftest.$ac_ext
3316
cat >>conftest.$ac_ext <<_ACEOF
3317
/* end confdefs.h. */
3327
rm -f conftest.$ac_objext
3328
if { (ac_try="$ac_compile"
3330
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3331
*) ac_try_echo=$ac_try;;
3333
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3334
$as_echo "$ac_try_echo") >&5
3335
(eval "$ac_compile") 2>conftest.er1
3337
grep -v '^ *+' conftest.er1 >conftest.err
3339
cat conftest.err >&5
3340
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341
(exit $ac_status); } && {
3342
test -z "$ac_c_werror_flag" ||
3343
test ! -s conftest.err
3344
} && test -s conftest.$ac_objext; then
3347
$as_echo "$as_me: failed program was:" >&5
3348
sed 's/^/| /' conftest.$ac_ext >&5
3351
cat >conftest.$ac_ext <<_ACEOF
3354
cat confdefs.h >>conftest.$ac_ext
3355
cat >>conftest.$ac_ext <<_ACEOF
3356
/* end confdefs.h. */
3366
rm -f conftest.$ac_objext
3367
if { (ac_try="$ac_compile"
3369
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3370
*) ac_try_echo=$ac_try;;
3372
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3373
$as_echo "$ac_try_echo") >&5
3374
(eval "$ac_compile") 2>conftest.er1
3376
grep -v '^ *+' conftest.er1 >conftest.err
3378
cat conftest.err >&5
3379
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380
(exit $ac_status); } && {
3381
test -z "$ac_c_werror_flag" ||
3382
test ! -s conftest.err
3383
} && test -s conftest.$ac_objext; then
3386
$as_echo "$as_me: failed program was:" >&5
3387
sed 's/^/| /' conftest.$ac_ext >&5
3389
ac_c_werror_flag=$ac_save_c_werror_flag
3391
cat >conftest.$ac_ext <<_ACEOF
3394
cat confdefs.h >>conftest.$ac_ext
3395
cat >>conftest.$ac_ext <<_ACEOF
3396
/* end confdefs.h. */
3406
rm -f conftest.$ac_objext
3407
if { (ac_try="$ac_compile"
3409
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3410
*) ac_try_echo=$ac_try;;
3412
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3413
$as_echo "$ac_try_echo") >&5
3414
(eval "$ac_compile") 2>conftest.er1
3416
grep -v '^ *+' conftest.er1 >conftest.err
3418
cat conftest.err >&5
3419
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3420
(exit $ac_status); } && {
3421
test -z "$ac_c_werror_flag" ||
3422
test ! -s conftest.err
3423
} && test -s conftest.$ac_objext; then
3426
$as_echo "$as_me: failed program was:" >&5
3427
sed 's/^/| /' conftest.$ac_ext >&5
3432
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3435
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3438
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3439
ac_c_werror_flag=$ac_save_c_werror_flag
3441
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3442
$as_echo "$ac_cv_prog_cc_g" >&6; }
3443
if test "$ac_test_CFLAGS" = set; then
3444
CFLAGS=$ac_save_CFLAGS
3445
elif test $ac_cv_prog_cc_g = yes; then
3446
if test "$GCC" = yes; then
3452
if test "$GCC" = yes; then
3458
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3459
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3460
if test "${ac_cv_prog_cc_c89+set}" = set; then
3461
$as_echo_n "(cached) " >&6
3463
ac_cv_prog_cc_c89=no
3465
cat >conftest.$ac_ext <<_ACEOF
3468
cat confdefs.h >>conftest.$ac_ext
3469
cat >>conftest.$ac_ext <<_ACEOF
3470
/* end confdefs.h. */
3473
#include <sys/types.h>
3474
#include <sys/stat.h>
3475
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3476
struct buf { int x; };
3477
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3478
static char *e (p, i)
3484
static char *f (char * (*g) (char **, int), char **p, ...)
3489
s = g (p, va_arg (v,int));
3494
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3495
function prototypes and stuff, but not '\xHH' hex character constants.
3496
These don't provoke an error unfortunately, instead are silently treated
3497
as 'x'. The following induces an error, until -std is added to get
3498
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3499
array size at least. It's necessary to write '\x00'==0 to get something
3500
that's true only with -std. */
3501
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3503
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3504
inside strings and character constants. */
3506
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3508
int test (int i, double x);
3509
struct s1 {int (*f) (int a);};
3510
struct s2 {int (*f) (double a);};
3511
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3517
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3522
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3523
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3525
CC="$ac_save_CC $ac_arg"
3526
rm -f conftest.$ac_objext
3527
if { (ac_try="$ac_compile"
3529
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3530
*) ac_try_echo=$ac_try;;
3532
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3533
$as_echo "$ac_try_echo") >&5
3534
(eval "$ac_compile") 2>conftest.er1
3536
grep -v '^ *+' conftest.er1 >conftest.err
3538
cat conftest.err >&5
3539
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540
(exit $ac_status); } && {
3541
test -z "$ac_c_werror_flag" ||
3542
test ! -s conftest.err
3543
} && test -s conftest.$ac_objext; then
3544
ac_cv_prog_cc_c89=$ac_arg
3546
$as_echo "$as_me: failed program was:" >&5
3547
sed 's/^/| /' conftest.$ac_ext >&5
3552
rm -f core conftest.err conftest.$ac_objext
3553
test "x$ac_cv_prog_cc_c89" != "xno" && break
3555
rm -f conftest.$ac_ext
3560
case "x$ac_cv_prog_cc_c89" in
3562
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
3563
$as_echo "none needed" >&6; } ;;
3565
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
3566
$as_echo "unsupported" >&6; } ;;
3568
CC="$CC $ac_cv_prog_cc_c89"
3569
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3570
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3575
ac_cpp='$CPP $CPPFLAGS'
3576
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3577
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3578
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3580
depcc="$CC" am_compiler_list=
3582
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3583
$as_echo_n "checking dependency style of $depcc... " >&6; }
3584
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3585
$as_echo_n "(cached) " >&6
3587
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3588
# We make a subdir and do the tests there. Otherwise we can end up
3589
# making bogus files that we don't know about and never remove. For
3590
# instance it was reported that on HP-UX the gcc test will end up
3591
# making a dummy file named `D' -- because `-MD' means `put the output
3594
# Copy depcomp to subdir because otherwise we won't find it if we're
3595
# using a relative directory.
3596
cp "$am_depcomp" conftest.dir
3598
# We will build objects and dependencies in a subdirectory because
3599
# it helps to detect inapplicable dependency modes. For instance
3600
# both Tru64's cc and ICC support -MD to output dependencies as a
3601
# side effect of compilation, but ICC will put the dependencies in
3602
# the current directory while Tru64 will put them in the object
3606
am_cv_CC_dependencies_compiler_type=none
3607
if test "$am_compiler_list" = ""; then
3608
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3610
for depmode in $am_compiler_list; do
3611
# Setup a source with many dependencies, because some compilers
3612
# like to wrap large dependency lists on column 80 (with \), and
3613
# we should not choose a depcomp mode which is confused by this.
3615
# We need to recreate these files for each test, as the compiler may
3616
# overwrite some of them when testing with obscure command lines.
3617
# This happens at least with the AIX C compiler.
3619
for i in 1 2 3 4 5 6; do
3620
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3621
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3622
# Solaris 8's {/usr,}/bin/sh.
3623
touch sub/conftst$i.h
3625
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3629
# after this tag, mechanisms are not by side-effect, so they'll
3630
# only be used when explicitly requested
3631
if test "x$enable_dependency_tracking" = xyes; then
3639
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3640
# mode. It turns out that the SunPro C++ compiler does not properly
3641
# handle `-M -o', and we need to detect this.
3642
if depmode=$depmode \
3643
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3644
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3645
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3646
>/dev/null 2>conftest.err &&
3647
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3648
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3649
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3650
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3651
# icc doesn't choke on unknown options, it will just issue warnings
3652
# or remarks (even with -Werror). So we grep stderr for any message
3653
# that says an option was ignored or not supported.
3654
# When given -MP, icc 7.0 and 7.1 complain thusly:
3655
# icc: Command line warning: ignoring option '-M'; no argument required
3656
# The diagnosis changed in icc 8.0:
3657
# icc: Command line remark: option '-MP' not supported
3658
if (grep 'ignoring option' conftest.err ||
3659
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3660
am_cv_CC_dependencies_compiler_type=$depmode
3669
am_cv_CC_dependencies_compiler_type=none
3673
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3674
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3675
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3678
test "x$enable_dependency_tracking" != xno \
3679
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3681
am__fastdepCC_FALSE='#'
3683
am__fastdepCC_TRUE='#'
3684
am__fastdepCC_FALSE=
3689
{ $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
3690
$as_echo_n "checking for library containing strerror... " >&6; }
3691
if test "${ac_cv_search_strerror+set}" = set; then
3692
$as_echo_n "(cached) " >&6
3694
ac_func_search_save_LIBS=$LIBS
3695
cat >conftest.$ac_ext <<_ACEOF
3698
cat confdefs.h >>conftest.$ac_ext
3699
cat >>conftest.$ac_ext <<_ACEOF
3700
/* end confdefs.h. */
3702
/* Override any GCC internal prototype to avoid an error.
3703
Use char because int might match the return type of a GCC
3704
builtin and then its argument prototype would still apply. */
3717
for ac_lib in '' cposix; do
3718
if test -z "$ac_lib"; then
3719
ac_res="none required"
3722
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3724
rm -f conftest.$ac_objext conftest$ac_exeext
3725
if { (ac_try="$ac_link"
3727
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3728
*) ac_try_echo=$ac_try;;
3730
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3731
$as_echo "$ac_try_echo") >&5
3732
(eval "$ac_link") 2>conftest.er1
3734
grep -v '^ *+' conftest.er1 >conftest.err
3736
cat conftest.err >&5
3737
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3738
(exit $ac_status); } && {
3739
test -z "$ac_c_werror_flag" ||
3740
test ! -s conftest.err
3741
} && test -s conftest$ac_exeext && {
3742
test "$cross_compiling" = yes ||
3743
$as_test_x conftest$ac_exeext
3745
ac_cv_search_strerror=$ac_res
3747
$as_echo "$as_me: failed program was:" >&5
3748
sed 's/^/| /' conftest.$ac_ext >&5
3753
rm -rf conftest.dSYM
3754
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3756
if test "${ac_cv_search_strerror+set}" = set; then
3760
if test "${ac_cv_search_strerror+set}" = set; then
3763
ac_cv_search_strerror=no
3766
LIBS=$ac_func_search_save_LIBS
3768
{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3769
$as_echo "$ac_cv_search_strerror" >&6; }
3770
ac_res=$ac_cv_search_strerror
3771
if test "$ac_res" != no; then
3772
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3777
ac_cpp='$CPP $CPPFLAGS'
3778
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3779
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3780
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3781
if test -n "$ac_tool_prefix"; then
3782
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3783
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3784
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3785
$as_echo_n "checking for $ac_word... " >&6; }
3786
if test "${ac_cv_prog_CC+set}" = set; then
3787
$as_echo_n "(cached) " >&6
3789
if test -n "$CC"; then
3790
ac_cv_prog_CC="$CC" # Let the user override the test.
3792
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3796
test -z "$as_dir" && as_dir=.
3797
for ac_exec_ext in '' $ac_executable_extensions; do
3798
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3799
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3800
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3810
if test -n "$CC"; then
3811
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
3812
$as_echo "$CC" >&6; }
3814
{ $as_echo "$as_me:$LINENO: result: no" >&5
3815
$as_echo "no" >&6; }
3820
if test -z "$ac_cv_prog_CC"; then
3822
# Extract the first word of "gcc", so it can be a program name with args.
3823
set dummy gcc; ac_word=$2
3824
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3825
$as_echo_n "checking for $ac_word... " >&6; }
3826
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3827
$as_echo_n "(cached) " >&6
3829
if test -n "$ac_ct_CC"; then
3830
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3832
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3836
test -z "$as_dir" && as_dir=.
3837
for ac_exec_ext in '' $ac_executable_extensions; do
3838
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3839
ac_cv_prog_ac_ct_CC="gcc"
3840
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3849
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3850
if test -n "$ac_ct_CC"; then
3851
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3852
$as_echo "$ac_ct_CC" >&6; }
3854
{ $as_echo "$as_me:$LINENO: result: no" >&5
3855
$as_echo "no" >&6; }
3858
if test "x$ac_ct_CC" = x; then
3861
case $cross_compiling:$ac_tool_warned in
3863
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3864
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3865
ac_tool_warned=yes ;;
3873
if test -z "$CC"; then
3874
if test -n "$ac_tool_prefix"; then
3875
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3876
set dummy ${ac_tool_prefix}cc; ac_word=$2
3877
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3878
$as_echo_n "checking for $ac_word... " >&6; }
3879
if test "${ac_cv_prog_CC+set}" = set; then
3880
$as_echo_n "(cached) " >&6
3882
if test -n "$CC"; then
3883
ac_cv_prog_CC="$CC" # Let the user override the test.
3885
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3889
test -z "$as_dir" && as_dir=.
3890
for ac_exec_ext in '' $ac_executable_extensions; do
3891
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3892
ac_cv_prog_CC="${ac_tool_prefix}cc"
3893
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3903
if test -n "$CC"; then
3904
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
3905
$as_echo "$CC" >&6; }
3907
{ $as_echo "$as_me:$LINENO: result: no" >&5
3908
$as_echo "no" >&6; }
3914
if test -z "$CC"; then
3915
# Extract the first word of "cc", so it can be a program name with args.
3916
set dummy cc; ac_word=$2
3917
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3918
$as_echo_n "checking for $ac_word... " >&6; }
3919
if test "${ac_cv_prog_CC+set}" = set; then
3920
$as_echo_n "(cached) " >&6
3922
if test -n "$CC"; then
3923
ac_cv_prog_CC="$CC" # Let the user override the test.
3926
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3930
test -z "$as_dir" && as_dir=.
3931
for ac_exec_ext in '' $ac_executable_extensions; do
3932
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3933
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3934
ac_prog_rejected=yes
3938
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3945
if test $ac_prog_rejected = yes; then
3946
# We found a bogon in the path, so make sure we never use it.
3947
set dummy $ac_cv_prog_CC
3949
if test $# != 0; then
3950
# We chose a different compiler from the bogus one.
3951
# However, it has the same basename, so the bogon will be chosen
3952
# first if we set CC to just the basename; use the full file name.
3954
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3960
if test -n "$CC"; then
3961
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
3962
$as_echo "$CC" >&6; }
3964
{ $as_echo "$as_me:$LINENO: result: no" >&5
3965
$as_echo "no" >&6; }
3970
if test -z "$CC"; then
3971
if test -n "$ac_tool_prefix"; then
3972
for ac_prog in cl.exe
3974
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3975
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3976
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3977
$as_echo_n "checking for $ac_word... " >&6; }
3978
if test "${ac_cv_prog_CC+set}" = set; then
3979
$as_echo_n "(cached) " >&6
3981
if test -n "$CC"; then
3982
ac_cv_prog_CC="$CC" # Let the user override the test.
3984
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3988
test -z "$as_dir" && as_dir=.
3989
for ac_exec_ext in '' $ac_executable_extensions; do
3990
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3991
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3992
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4002
if test -n "$CC"; then
4003
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
4004
$as_echo "$CC" >&6; }
4006
{ $as_echo "$as_me:$LINENO: result: no" >&5
4007
$as_echo "no" >&6; }
4011
test -n "$CC" && break
4014
if test -z "$CC"; then
4016
for ac_prog in cl.exe
4018
# Extract the first word of "$ac_prog", so it can be a program name with args.
4019
set dummy $ac_prog; ac_word=$2
4020
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4021
$as_echo_n "checking for $ac_word... " >&6; }
4022
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
4023
$as_echo_n "(cached) " >&6
4025
if test -n "$ac_ct_CC"; then
4026
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4028
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4032
test -z "$as_dir" && as_dir=.
4033
for ac_exec_ext in '' $ac_executable_extensions; do
4034
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4035
ac_cv_prog_ac_ct_CC="$ac_prog"
4036
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4045
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4046
if test -n "$ac_ct_CC"; then
4047
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
4048
$as_echo "$ac_ct_CC" >&6; }
4050
{ $as_echo "$as_me:$LINENO: result: no" >&5
4051
$as_echo "no" >&6; }
4055
test -n "$ac_ct_CC" && break
4058
if test "x$ac_ct_CC" = x; then
4061
case $cross_compiling:$ac_tool_warned in
4063
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4064
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4065
ac_tool_warned=yes ;;
4074
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4075
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4076
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
4077
See \`config.log' for more details." >&5
4078
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
4079
See \`config.log' for more details." >&2;}
4080
{ (exit 1); exit 1; }; }; }
4082
# Provide some information about the compiler.
4083
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
4086
{ (ac_try="$ac_compiler --version >&5"
4088
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4089
*) ac_try_echo=$ac_try;;
4091
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4092
$as_echo "$ac_try_echo") >&5
4093
(eval "$ac_compiler --version >&5") 2>&5
4095
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4096
(exit $ac_status); }
4097
{ (ac_try="$ac_compiler -v >&5"
4099
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4100
*) ac_try_echo=$ac_try;;
4102
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4103
$as_echo "$ac_try_echo") >&5
4104
(eval "$ac_compiler -v >&5") 2>&5
4106
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4107
(exit $ac_status); }
4108
{ (ac_try="$ac_compiler -V >&5"
4110
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4111
*) ac_try_echo=$ac_try;;
4113
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4114
$as_echo "$ac_try_echo") >&5
4115
(eval "$ac_compiler -V >&5") 2>&5
4117
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118
(exit $ac_status); }
4120
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
4121
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4122
if test "${ac_cv_c_compiler_gnu+set}" = set; then
4123
$as_echo_n "(cached) " >&6
4125
cat >conftest.$ac_ext <<_ACEOF
4128
cat confdefs.h >>conftest.$ac_ext
4129
cat >>conftest.$ac_ext <<_ACEOF
4130
/* end confdefs.h. */
4143
rm -f conftest.$ac_objext
4144
if { (ac_try="$ac_compile"
4146
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4147
*) ac_try_echo=$ac_try;;
4149
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4150
$as_echo "$ac_try_echo") >&5
4151
(eval "$ac_compile") 2>conftest.er1
4153
grep -v '^ *+' conftest.er1 >conftest.err
4155
cat conftest.err >&5
4156
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4157
(exit $ac_status); } && {
4158
test -z "$ac_c_werror_flag" ||
4159
test ! -s conftest.err
4160
} && test -s conftest.$ac_objext; then
4163
$as_echo "$as_me: failed program was:" >&5
4164
sed 's/^/| /' conftest.$ac_ext >&5
4169
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4170
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4173
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4174
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4175
if test $ac_compiler_gnu = yes; then
4180
ac_test_CFLAGS=${CFLAGS+set}
4181
ac_save_CFLAGS=$CFLAGS
4182
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4183
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4184
if test "${ac_cv_prog_cc_g+set}" = set; then
4185
$as_echo_n "(cached) " >&6
4187
ac_save_c_werror_flag=$ac_c_werror_flag
4188
ac_c_werror_flag=yes
4191
cat >conftest.$ac_ext <<_ACEOF
4194
cat confdefs.h >>conftest.$ac_ext
4195
cat >>conftest.$ac_ext <<_ACEOF
4196
/* end confdefs.h. */
4206
rm -f conftest.$ac_objext
4207
if { (ac_try="$ac_compile"
4209
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4210
*) ac_try_echo=$ac_try;;
4212
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4213
$as_echo "$ac_try_echo") >&5
4214
(eval "$ac_compile") 2>conftest.er1
4216
grep -v '^ *+' conftest.er1 >conftest.err
4218
cat conftest.err >&5
4219
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220
(exit $ac_status); } && {
4221
test -z "$ac_c_werror_flag" ||
4222
test ! -s conftest.err
4223
} && test -s conftest.$ac_objext; then
4226
$as_echo "$as_me: failed program was:" >&5
4227
sed 's/^/| /' conftest.$ac_ext >&5
4230
cat >conftest.$ac_ext <<_ACEOF
4233
cat confdefs.h >>conftest.$ac_ext
4234
cat >>conftest.$ac_ext <<_ACEOF
4235
/* end confdefs.h. */
4245
rm -f conftest.$ac_objext
4246
if { (ac_try="$ac_compile"
4248
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4249
*) ac_try_echo=$ac_try;;
4251
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4252
$as_echo "$ac_try_echo") >&5
4253
(eval "$ac_compile") 2>conftest.er1
4255
grep -v '^ *+' conftest.er1 >conftest.err
4257
cat conftest.err >&5
4258
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4259
(exit $ac_status); } && {
4260
test -z "$ac_c_werror_flag" ||
4261
test ! -s conftest.err
4262
} && test -s conftest.$ac_objext; then
4265
$as_echo "$as_me: failed program was:" >&5
4266
sed 's/^/| /' conftest.$ac_ext >&5
4268
ac_c_werror_flag=$ac_save_c_werror_flag
4270
cat >conftest.$ac_ext <<_ACEOF
4273
cat confdefs.h >>conftest.$ac_ext
4274
cat >>conftest.$ac_ext <<_ACEOF
4275
/* end confdefs.h. */
4285
rm -f conftest.$ac_objext
4286
if { (ac_try="$ac_compile"
4288
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4289
*) ac_try_echo=$ac_try;;
4291
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4292
$as_echo "$ac_try_echo") >&5
4293
(eval "$ac_compile") 2>conftest.er1
4295
grep -v '^ *+' conftest.er1 >conftest.err
4297
cat conftest.err >&5
4298
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299
(exit $ac_status); } && {
4300
test -z "$ac_c_werror_flag" ||
4301
test ! -s conftest.err
4302
} && test -s conftest.$ac_objext; then
4305
$as_echo "$as_me: failed program was:" >&5
4306
sed 's/^/| /' conftest.$ac_ext >&5
4311
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4314
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4317
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4318
ac_c_werror_flag=$ac_save_c_werror_flag
4320
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4321
$as_echo "$ac_cv_prog_cc_g" >&6; }
4322
if test "$ac_test_CFLAGS" = set; then
4323
CFLAGS=$ac_save_CFLAGS
4324
elif test $ac_cv_prog_cc_g = yes; then
4325
if test "$GCC" = yes; then
4331
if test "$GCC" = yes; then
4337
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
4338
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4339
if test "${ac_cv_prog_cc_c89+set}" = set; then
4340
$as_echo_n "(cached) " >&6
4342
ac_cv_prog_cc_c89=no
4344
cat >conftest.$ac_ext <<_ACEOF
4347
cat confdefs.h >>conftest.$ac_ext
4348
cat >>conftest.$ac_ext <<_ACEOF
4349
/* end confdefs.h. */
4352
#include <sys/types.h>
4353
#include <sys/stat.h>
4354
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4355
struct buf { int x; };
4356
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4357
static char *e (p, i)
4363
static char *f (char * (*g) (char **, int), char **p, ...)
4368
s = g (p, va_arg (v,int));
4373
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4374
function prototypes and stuff, but not '\xHH' hex character constants.
4375
These don't provoke an error unfortunately, instead are silently treated
4376
as 'x'. The following induces an error, until -std is added to get
4377
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4378
array size at least. It's necessary to write '\x00'==0 to get something
4379
that's true only with -std. */
4380
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4382
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4383
inside strings and character constants. */
4385
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4387
int test (int i, double x);
4388
struct s1 {int (*f) (int a);};
4389
struct s2 {int (*f) (double a);};
4390
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4396
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4401
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4402
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4404
CC="$ac_save_CC $ac_arg"
4405
rm -f conftest.$ac_objext
4406
if { (ac_try="$ac_compile"
4408
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4409
*) ac_try_echo=$ac_try;;
4411
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4412
$as_echo "$ac_try_echo") >&5
4413
(eval "$ac_compile") 2>conftest.er1
4415
grep -v '^ *+' conftest.er1 >conftest.err
4417
cat conftest.err >&5
4418
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419
(exit $ac_status); } && {
4420
test -z "$ac_c_werror_flag" ||
4421
test ! -s conftest.err
4422
} && test -s conftest.$ac_objext; then
4423
ac_cv_prog_cc_c89=$ac_arg
4425
$as_echo "$as_me: failed program was:" >&5
4426
sed 's/^/| /' conftest.$ac_ext >&5
4431
rm -f core conftest.err conftest.$ac_objext
4432
test "x$ac_cv_prog_cc_c89" != "xno" && break
4434
rm -f conftest.$ac_ext
4439
case "x$ac_cv_prog_cc_c89" in
4441
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
4442
$as_echo "none needed" >&6; } ;;
4444
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
4445
$as_echo "unsupported" >&6; } ;;
4447
CC="$CC $ac_cv_prog_cc_c89"
4448
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4449
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4454
ac_cpp='$CPP $CPPFLAGS'
4455
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4456
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4457
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4459
depcc="$CC" am_compiler_list=
4461
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4462
$as_echo_n "checking dependency style of $depcc... " >&6; }
4463
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4464
$as_echo_n "(cached) " >&6
4466
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4467
# We make a subdir and do the tests there. Otherwise we can end up
4468
# making bogus files that we don't know about and never remove. For
4469
# instance it was reported that on HP-UX the gcc test will end up
4470
# making a dummy file named `D' -- because `-MD' means `put the output
4473
# Copy depcomp to subdir because otherwise we won't find it if we're
4474
# using a relative directory.
4475
cp "$am_depcomp" conftest.dir
4477
# We will build objects and dependencies in a subdirectory because
4478
# it helps to detect inapplicable dependency modes. For instance
4479
# both Tru64's cc and ICC support -MD to output dependencies as a
4480
# side effect of compilation, but ICC will put the dependencies in
4481
# the current directory while Tru64 will put them in the object
4485
am_cv_CC_dependencies_compiler_type=none
4486
if test "$am_compiler_list" = ""; then
4487
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4489
for depmode in $am_compiler_list; do
4490
# Setup a source with many dependencies, because some compilers
4491
# like to wrap large dependency lists on column 80 (with \), and
4492
# we should not choose a depcomp mode which is confused by this.
4494
# We need to recreate these files for each test, as the compiler may
4495
# overwrite some of them when testing with obscure command lines.
4496
# This happens at least with the AIX C compiler.
4498
for i in 1 2 3 4 5 6; do
4499
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4500
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4501
# Solaris 8's {/usr,}/bin/sh.
4502
touch sub/conftst$i.h
4504
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4508
# after this tag, mechanisms are not by side-effect, so they'll
4509
# only be used when explicitly requested
4510
if test "x$enable_dependency_tracking" = xyes; then
4518
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4519
# mode. It turns out that the SunPro C++ compiler does not properly
4520
# handle `-M -o', and we need to detect this.
4521
if depmode=$depmode \
4522
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4523
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4524
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4525
>/dev/null 2>conftest.err &&
4526
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4527
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4528
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4529
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4530
# icc doesn't choke on unknown options, it will just issue warnings
4531
# or remarks (even with -Werror). So we grep stderr for any message
4532
# that says an option was ignored or not supported.
4533
# When given -MP, icc 7.0 and 7.1 complain thusly:
4534
# icc: Command line warning: ignoring option '-M'; no argument required
4535
# The diagnosis changed in icc 8.0:
4536
# icc: Command line remark: option '-MP' not supported
4537
if (grep 'ignoring option' conftest.err ||
4538
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4539
am_cv_CC_dependencies_compiler_type=$depmode
4548
am_cv_CC_dependencies_compiler_type=none
4552
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4553
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4554
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4557
test "x$enable_dependency_tracking" != xno \
4558
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4560
am__fastdepCC_FALSE='#'
4562
am__fastdepCC_TRUE='#'
4563
am__fastdepCC_FALSE=
4569
{ $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4570
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4575
macro_version='2.2.6'
4576
macro_revision='1.3012'
4590
ltmain="$ac_aux_dir/ltmain.sh"
4592
# Make sure we can run config.sub.
4593
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4594
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4595
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4596
{ (exit 1); exit 1; }; }
4598
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
4599
$as_echo_n "checking build system type... " >&6; }
4600
if test "${ac_cv_build+set}" = set; then
4601
$as_echo_n "(cached) " >&6
4603
ac_build_alias=$build_alias
4604
test "x$ac_build_alias" = x &&
4605
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4606
test "x$ac_build_alias" = x &&
4607
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4608
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4609
{ (exit 1); exit 1; }; }
4610
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4611
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4612
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4613
{ (exit 1); exit 1; }; }
4616
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4617
$as_echo "$ac_cv_build" >&6; }
4618
case $ac_cv_build in
4620
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4621
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
4622
{ (exit 1); exit 1; }; };;
4625
ac_save_IFS=$IFS; IFS='-'
4631
# Remember, the first character of IFS is used to create $*,
4632
# except with old shells:
4635
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4638
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
4639
$as_echo_n "checking host system type... " >&6; }
4640
if test "${ac_cv_host+set}" = set; then
4641
$as_echo_n "(cached) " >&6
4643
if test "x$host_alias" = x; then
4644
ac_cv_host=$ac_cv_build
4646
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4647
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4648
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4649
{ (exit 1); exit 1; }; }
4653
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4654
$as_echo "$ac_cv_host" >&6; }
4657
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4658
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4659
{ (exit 1); exit 1; }; };;
4662
ac_save_IFS=$IFS; IFS='-'
4668
# Remember, the first character of IFS is used to create $*,
4669
# except with old shells:
4672
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4675
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4676
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4677
if test "${ac_cv_path_SED+set}" = set; then
4678
$as_echo_n "(cached) " >&6
4680
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4681
for ac_i in 1 2 3 4 5 6 7; do
4682
ac_script="$ac_script$as_nl$ac_script"
4684
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4685
$as_unset ac_script || ac_script=
4686
if test -z "$SED"; then
4687
ac_path_SED_found=false
4688
# Loop through the user's path and test for each of PROGNAME-LIST
4689
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4693
test -z "$as_dir" && as_dir=.
4694
for ac_prog in sed gsed; do
4695
for ac_exec_ext in '' $ac_executable_extensions; do
4696
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4697
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4698
# Check for GNU ac_path_SED and select it if it is found.
4699
# Check for GNU $ac_path_SED
4700
case `"$ac_path_SED" --version 2>&1` in
4702
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4705
$as_echo_n 0123456789 >"conftest.in"
4708
cat "conftest.in" "conftest.in" >"conftest.tmp"
4709
mv "conftest.tmp" "conftest.in"
4710
cp "conftest.in" "conftest.nl"
4711
$as_echo '' >> "conftest.nl"
4712
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4713
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4714
ac_count=`expr $ac_count + 1`
4715
if test $ac_count -gt ${ac_path_SED_max-0}; then
4716
# Best one so far, save it but keep looking for a better one
4717
ac_cv_path_SED="$ac_path_SED"
4718
ac_path_SED_max=$ac_count
4720
# 10*(2^10) chars as input seems more than enough
4721
test $ac_count -gt 10 && break
4723
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4726
$ac_path_SED_found && break 3
4731
if test -z "$ac_cv_path_SED"; then
4732
{ { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4733
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4734
{ (exit 1); exit 1; }; }
4741
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4742
$as_echo "$ac_cv_path_SED" >&6; }
4743
SED="$ac_cv_path_SED"
4746
test -z "$SED" && SED=sed
4747
Xsed="$SED -e 1s/^X//"
4759
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4760
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4761
if test "${ac_cv_path_GREP+set}" = set; then
4762
$as_echo_n "(cached) " >&6
4764
if test -z "$GREP"; then
4765
ac_path_GREP_found=false
4766
# Loop through the user's path and test for each of PROGNAME-LIST
4767
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4768
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4771
test -z "$as_dir" && as_dir=.
4772
for ac_prog in grep ggrep; do
4773
for ac_exec_ext in '' $ac_executable_extensions; do
4774
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4775
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4776
# Check for GNU ac_path_GREP and select it if it is found.
4777
# Check for GNU $ac_path_GREP
4778
case `"$ac_path_GREP" --version 2>&1` in
4780
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4783
$as_echo_n 0123456789 >"conftest.in"
4786
cat "conftest.in" "conftest.in" >"conftest.tmp"
4787
mv "conftest.tmp" "conftest.in"
4788
cp "conftest.in" "conftest.nl"
4789
$as_echo 'GREP' >> "conftest.nl"
4790
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4791
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4792
ac_count=`expr $ac_count + 1`
4793
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4794
# Best one so far, save it but keep looking for a better one
4795
ac_cv_path_GREP="$ac_path_GREP"
4796
ac_path_GREP_max=$ac_count
4798
# 10*(2^10) chars as input seems more than enough
4799
test $ac_count -gt 10 && break
4801
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4804
$ac_path_GREP_found && break 3
4809
if test -z "$ac_cv_path_GREP"; then
4810
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4811
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4812
{ (exit 1); exit 1; }; }
4815
ac_cv_path_GREP=$GREP
4819
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4820
$as_echo "$ac_cv_path_GREP" >&6; }
4821
GREP="$ac_cv_path_GREP"
4824
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
4825
$as_echo_n "checking for egrep... " >&6; }
4826
if test "${ac_cv_path_EGREP+set}" = set; then
4827
$as_echo_n "(cached) " >&6
4829
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4830
then ac_cv_path_EGREP="$GREP -E"
4832
if test -z "$EGREP"; then
4833
ac_path_EGREP_found=false
4834
# Loop through the user's path and test for each of PROGNAME-LIST
4835
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4836
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4839
test -z "$as_dir" && as_dir=.
4840
for ac_prog in egrep; do
4841
for ac_exec_ext in '' $ac_executable_extensions; do
4842
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4843
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4844
# Check for GNU ac_path_EGREP and select it if it is found.
4845
# Check for GNU $ac_path_EGREP
4846
case `"$ac_path_EGREP" --version 2>&1` in
4848
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4851
$as_echo_n 0123456789 >"conftest.in"
4854
cat "conftest.in" "conftest.in" >"conftest.tmp"
4855
mv "conftest.tmp" "conftest.in"
4856
cp "conftest.in" "conftest.nl"
4857
$as_echo 'EGREP' >> "conftest.nl"
4858
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4859
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4860
ac_count=`expr $ac_count + 1`
4861
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4862
# Best one so far, save it but keep looking for a better one
4863
ac_cv_path_EGREP="$ac_path_EGREP"
4864
ac_path_EGREP_max=$ac_count
4866
# 10*(2^10) chars as input seems more than enough
4867
test $ac_count -gt 10 && break
4869
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4872
$ac_path_EGREP_found && break 3
4877
if test -z "$ac_cv_path_EGREP"; then
4878
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4879
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4880
{ (exit 1); exit 1; }; }
4883
ac_cv_path_EGREP=$EGREP
4888
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4889
$as_echo "$ac_cv_path_EGREP" >&6; }
4890
EGREP="$ac_cv_path_EGREP"
4893
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4894
$as_echo_n "checking for fgrep... " >&6; }
4895
if test "${ac_cv_path_FGREP+set}" = set; then
4896
$as_echo_n "(cached) " >&6
4898
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4899
then ac_cv_path_FGREP="$GREP -F"
4901
if test -z "$FGREP"; then
4902
ac_path_FGREP_found=false
4903
# Loop through the user's path and test for each of PROGNAME-LIST
4904
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4905
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4908
test -z "$as_dir" && as_dir=.
4909
for ac_prog in fgrep; do
4910
for ac_exec_ext in '' $ac_executable_extensions; do
4911
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4912
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4913
# Check for GNU ac_path_FGREP and select it if it is found.
4914
# Check for GNU $ac_path_FGREP
4915
case `"$ac_path_FGREP" --version 2>&1` in
4917
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4920
$as_echo_n 0123456789 >"conftest.in"
4923
cat "conftest.in" "conftest.in" >"conftest.tmp"
4924
mv "conftest.tmp" "conftest.in"
4925
cp "conftest.in" "conftest.nl"
4926
$as_echo 'FGREP' >> "conftest.nl"
4927
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4928
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4929
ac_count=`expr $ac_count + 1`
4930
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4931
# Best one so far, save it but keep looking for a better one
4932
ac_cv_path_FGREP="$ac_path_FGREP"
4933
ac_path_FGREP_max=$ac_count
4935
# 10*(2^10) chars as input seems more than enough
4936
test $ac_count -gt 10 && break
4938
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4941
$ac_path_FGREP_found && break 3
4946
if test -z "$ac_cv_path_FGREP"; then
4947
{ { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4948
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4949
{ (exit 1); exit 1; }; }
4952
ac_cv_path_FGREP=$FGREP
4957
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4958
$as_echo "$ac_cv_path_FGREP" >&6; }
4959
FGREP="$ac_cv_path_FGREP"
4962
test -z "$GREP" && GREP=grep
4982
# Check whether --with-gnu-ld was given.
4983
if test "${with_gnu_ld+set}" = set; then
4984
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4990
if test "$GCC" = yes; then
4991
# Check if gcc -print-prog-name=ld gives a path.
4992
{ $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4993
$as_echo_n "checking for ld used by $CC... " >&6; }
4996
# gcc leaves a trailing carriage return which upsets mingw
4997
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4999
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5002
# Accept absolute paths.
5004
re_direlt='/[^/][^/]*/\.\./'
5005
# Canonicalize the pathname of ld
5006
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5007
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5008
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5010
test -z "$LD" && LD="$ac_prog"
5013
# If it fails, then pretend we aren't using GCC.
5017
# If it is relative, then search for the first ld in PATH.
5021
elif test "$with_gnu_ld" = yes; then
5022
{ $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5023
$as_echo_n "checking for GNU ld... " >&6; }
5025
{ $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5026
$as_echo_n "checking for non-GNU ld... " >&6; }
5028
if test "${lt_cv_path_LD+set}" = set; then
5029
$as_echo_n "(cached) " >&6
5031
if test -z "$LD"; then
5032
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5033
for ac_dir in $PATH; do
5035
test -z "$ac_dir" && ac_dir=.
5036
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5037
lt_cv_path_LD="$ac_dir/$ac_prog"
5038
# Check to see if the program is GNU ld. I'd rather use --version,
5039
# but apparently some variants of GNU ld only accept -v.
5040
# Break only if it was the GNU/non-GNU ld that we prefer.
5041
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5042
*GNU* | *'with BFD'*)
5043
test "$with_gnu_ld" != no && break
5046
test "$with_gnu_ld" != yes && break
5053
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5058
if test -n "$LD"; then
5059
{ $as_echo "$as_me:$LINENO: result: $LD" >&5
5060
$as_echo "$LD" >&6; }
5062
{ $as_echo "$as_me:$LINENO: result: no" >&5
5063
$as_echo "no" >&6; }
5065
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5066
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5067
{ (exit 1); exit 1; }; }
5068
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5069
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5070
if test "${lt_cv_prog_gnu_ld+set}" = set; then
5071
$as_echo_n "(cached) " >&6
5073
# I'd rather use --version here, but apparently some GNU lds only accept -v.
5074
case `$LD -v 2>&1 </dev/null` in
5075
*GNU* | *'with BFD'*)
5076
lt_cv_prog_gnu_ld=yes
5079
lt_cv_prog_gnu_ld=no
5083
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5084
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5085
with_gnu_ld=$lt_cv_prog_gnu_ld
5095
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5096
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5097
if test "${lt_cv_path_NM+set}" = set; then
5098
$as_echo_n "(cached) " >&6
5100
if test -n "$NM"; then
5101
# Let the user override the test.
5104
lt_nm_to_check="${ac_tool_prefix}nm"
5105
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5106
lt_nm_to_check="$lt_nm_to_check nm"
5108
for lt_tmp_nm in $lt_nm_to_check; do
5109
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5110
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5112
test -z "$ac_dir" && ac_dir=.
5113
tmp_nm="$ac_dir/$lt_tmp_nm"
5114
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5115
# Check to see if the nm accepts a BSD-compat flag.
5116
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5117
# nm: unknown option "B" ignored
5118
# Tru64's nm complains that /dev/null is an invalid object file
5119
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5120
*/dev/null* | *'Invalid file or object type'*)
5121
lt_cv_path_NM="$tmp_nm -B"
5125
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5127
lt_cv_path_NM="$tmp_nm -p"
5131
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5132
continue # so that we can try to find one that supports BSD flags
5141
: ${lt_cv_path_NM=no}
5144
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5145
$as_echo "$lt_cv_path_NM" >&6; }
5146
if test "$lt_cv_path_NM" != "no"; then
5149
# Didn't find any BSD compatible name lister, look for dumpbin.
5150
if test -n "$ac_tool_prefix"; then
5151
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5153
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5154
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5155
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5156
$as_echo_n "checking for $ac_word... " >&6; }
5157
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5158
$as_echo_n "(cached) " >&6
5160
if test -n "$DUMPBIN"; then
5161
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5163
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5167
test -z "$as_dir" && as_dir=.
5168
for ac_exec_ext in '' $ac_executable_extensions; do
5169
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5170
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5171
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5180
DUMPBIN=$ac_cv_prog_DUMPBIN
5181
if test -n "$DUMPBIN"; then
5182
{ $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5183
$as_echo "$DUMPBIN" >&6; }
5185
{ $as_echo "$as_me:$LINENO: result: no" >&5
5186
$as_echo "no" >&6; }
5190
test -n "$DUMPBIN" && break
5193
if test -z "$DUMPBIN"; then
5194
ac_ct_DUMPBIN=$DUMPBIN
5195
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
5197
# Extract the first word of "$ac_prog", so it can be a program name with args.
5198
set dummy $ac_prog; ac_word=$2
5199
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5200
$as_echo_n "checking for $ac_word... " >&6; }
5201
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5202
$as_echo_n "(cached) " >&6
5204
if test -n "$ac_ct_DUMPBIN"; then
5205
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5207
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5211
test -z "$as_dir" && as_dir=.
5212
for ac_exec_ext in '' $ac_executable_extensions; do
5213
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5214
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5215
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5224
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5225
if test -n "$ac_ct_DUMPBIN"; then
5226
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5227
$as_echo "$ac_ct_DUMPBIN" >&6; }
5229
{ $as_echo "$as_me:$LINENO: result: no" >&5
5230
$as_echo "no" >&6; }
5234
test -n "$ac_ct_DUMPBIN" && break
5237
if test "x$ac_ct_DUMPBIN" = x; then
5240
case $cross_compiling:$ac_tool_warned in
5242
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5243
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5244
ac_tool_warned=yes ;;
5246
DUMPBIN=$ac_ct_DUMPBIN
5251
if test "$DUMPBIN" != ":"; then
5255
test -z "$NM" && NM=nm
5262
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5263
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5264
if test "${lt_cv_nm_interface+set}" = set; then
5265
$as_echo_n "(cached) " >&6
5267
lt_cv_nm_interface="BSD nm"
5268
echo "int some_variable = 0;" > conftest.$ac_ext
5269
(eval echo "\"\$as_me:5269: $ac_compile\"" >&5)
5270
(eval "$ac_compile" 2>conftest.err)
5271
cat conftest.err >&5
5272
(eval echo "\"\$as_me:5272: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5273
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5274
cat conftest.err >&5
5275
(eval echo "\"\$as_me:5275: output\"" >&5)
5276
cat conftest.out >&5
5277
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5278
lt_cv_nm_interface="MS dumpbin"
5282
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5283
$as_echo "$lt_cv_nm_interface" >&6; }
5285
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5286
$as_echo_n "checking whether ln -s works... " >&6; }
5288
if test "$LN_S" = "ln -s"; then
5289
{ $as_echo "$as_me:$LINENO: result: yes" >&5
5290
$as_echo "yes" >&6; }
5292
{ $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5293
$as_echo "no, using $LN_S" >&6; }
5296
# find the maximum length of command line arguments
5297
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5298
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5299
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5300
$as_echo_n "(cached) " >&6
5307
# On DJGPP, this test can blow up pretty badly due to problems in libc
5308
# (any single argument exceeding 2000 bytes causes a buffer overrun
5309
# during glob expansion). Even if it were fixed, the result of this
5310
# check would be larger than it should be.
5311
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5315
# Under GNU Hurd, this test is not required because there is
5316
# no limit to the length of command line arguments.
5317
# Libtool will interpret -1 as no limit whatsoever
5318
lt_cv_sys_max_cmd_len=-1;
5321
cygwin* | mingw* | cegcc*)
5322
# On Win9x/ME, this test blows up -- it succeeds, but takes
5323
# about 5 minutes as the teststring grows exponentially.
5324
# Worse, since 9x/ME are not pre-emptively multitasking,
5325
# you end up with a "frozen" computer, even though with patience
5326
# the test eventually succeeds (with a max line length of 256k).
5327
# Instead, let's just punt: use the minimum linelength reported by
5328
# all of the supported platforms: 8192 (on NT/2K/XP).
5329
lt_cv_sys_max_cmd_len=8192;
5333
# On AmigaOS with pdksh, this test takes hours, literally.
5334
# So we just punt and use a minimum line length of 8192.
5335
lt_cv_sys_max_cmd_len=8192;
5338
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5339
# This has been around since 386BSD, at least. Likely further.
5340
if test -x /sbin/sysctl; then
5341
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5342
elif test -x /usr/sbin/sysctl; then
5343
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5345
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5347
# And add a safety zone
5348
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5349
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5353
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5354
lt_cv_sys_max_cmd_len=196608
5358
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5359
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5360
# nice to cause kernel panics so lets avoid the loop below.
5361
# First set a reasonable default.
5362
lt_cv_sys_max_cmd_len=16384
5364
if test -x /sbin/sysconfig; then
5365
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5366
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5371
lt_cv_sys_max_cmd_len=102400
5373
sysv5* | sco5v6* | sysv4.2uw2*)
5374
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5375
if test -n "$kargmax"; then
5376
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5378
lt_cv_sys_max_cmd_len=32768
5382
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5383
if test -n "$lt_cv_sys_max_cmd_len"; then
5384
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5385
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5387
# Make teststring a little bigger before we do anything with it.
5388
# a 1K string should be a reasonable start.
5389
for i in 1 2 3 4 5 6 7 8 ; do
5390
teststring=$teststring$teststring
5392
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5393
# If test is not a shell built-in, we'll probably end up computing a
5394
# maximum length that is only half of the actual maximum length, but
5396
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5397
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5398
test $i != 17 # 1/2 MB should be enough
5401
teststring=$teststring$teststring
5403
# Only check the string length outside the loop.
5404
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5406
# Add a significant safety factor because C++ compilers can tack on
5407
# massive amounts of additional arguments before passing them to the
5408
# linker. It appears as though 1/2 is a usable value.
5409
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5416
if test -n $lt_cv_sys_max_cmd_len ; then
5417
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5418
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5420
{ $as_echo "$as_me:$LINENO: result: none" >&5
5421
$as_echo "none" >&6; }
5423
max_cmd_len=$lt_cv_sys_max_cmd_len
5434
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5435
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5436
# Try some XSI features
5439
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5441
&& eval 'test $(( 1 + 1 )) -eq 2 \
5442
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5444
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
5445
$as_echo "$xsi_shell" >&6; }
5448
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5449
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5451
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5453
&& lt_shell_append=yes
5454
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5455
$as_echo "$lt_shell_append" >&6; }
5458
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5468
# test EBCDIC or ASCII
5469
case `echo X|tr X '\101'` in
5470
A) # ASCII based system
5471
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5472
lt_SP2NL='tr \040 \012'
5473
lt_NL2SP='tr \015\012 \040\040'
5475
*) # EBCDIC based system
5476
lt_SP2NL='tr \100 \n'
5477
lt_NL2SP='tr \r\n \100\100'
5489
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5490
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5491
if test "${lt_cv_ld_reload_flag+set}" = set; then
5492
$as_echo_n "(cached) " >&6
5494
lt_cv_ld_reload_flag='-r'
5496
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5497
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5498
reload_flag=$lt_cv_ld_reload_flag
5499
case $reload_flag in
5501
*) reload_flag=" $reload_flag" ;;
5503
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5506
if test "$GCC" = yes; then
5507
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5509
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5522
if test -n "$ac_tool_prefix"; then
5523
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5524
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5525
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5526
$as_echo_n "checking for $ac_word... " >&6; }
5527
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5528
$as_echo_n "(cached) " >&6
5530
if test -n "$OBJDUMP"; then
5531
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5533
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5537
test -z "$as_dir" && as_dir=.
5538
for ac_exec_ext in '' $ac_executable_extensions; do
5539
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5540
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5541
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5550
OBJDUMP=$ac_cv_prog_OBJDUMP
5551
if test -n "$OBJDUMP"; then
5552
{ $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5553
$as_echo "$OBJDUMP" >&6; }
5555
{ $as_echo "$as_me:$LINENO: result: no" >&5
5556
$as_echo "no" >&6; }
5561
if test -z "$ac_cv_prog_OBJDUMP"; then
5562
ac_ct_OBJDUMP=$OBJDUMP
5563
# Extract the first word of "objdump", so it can be a program name with args.
5564
set dummy objdump; ac_word=$2
5565
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5566
$as_echo_n "checking for $ac_word... " >&6; }
5567
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5568
$as_echo_n "(cached) " >&6
5570
if test -n "$ac_ct_OBJDUMP"; then
5571
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5573
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5577
test -z "$as_dir" && as_dir=.
5578
for ac_exec_ext in '' $ac_executable_extensions; do
5579
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5580
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5581
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5590
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5591
if test -n "$ac_ct_OBJDUMP"; then
5592
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5593
$as_echo "$ac_ct_OBJDUMP" >&6; }
5595
{ $as_echo "$as_me:$LINENO: result: no" >&5
5596
$as_echo "no" >&6; }
5599
if test "x$ac_ct_OBJDUMP" = x; then
5602
case $cross_compiling:$ac_tool_warned in
5604
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5605
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5606
ac_tool_warned=yes ;;
5608
OBJDUMP=$ac_ct_OBJDUMP
5611
OBJDUMP="$ac_cv_prog_OBJDUMP"
5614
test -z "$OBJDUMP" && OBJDUMP=objdump
5624
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5625
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5626
if test "${lt_cv_deplibs_check_method+set}" = set; then
5627
$as_echo_n "(cached) " >&6
5629
lt_cv_file_magic_cmd='$MAGIC_CMD'
5630
lt_cv_file_magic_test_file=
5631
lt_cv_deplibs_check_method='unknown'
5632
# Need to set the preceding variable on all platforms that support
5633
# interlibrary dependencies.
5634
# 'none' -- dependencies not supported.
5635
# `unknown' -- same as none, but documents that we really don't know.
5636
# 'pass_all' -- all dependencies passed with no checks.
5637
# 'test_compile' -- check by making test program.
5638
# 'file_magic [[regex]]' -- check by looking for files in library path
5639
# which responds to the $file_magic_cmd with a given extended regex.
5640
# If you have `file' or equivalent on your system and you're not sure
5641
# whether `pass_all' will *always* work, you probably want this one.
5645
lt_cv_deplibs_check_method=pass_all
5649
lt_cv_deplibs_check_method=pass_all
5653
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5654
lt_cv_file_magic_cmd='/usr/bin/file -L'
5655
lt_cv_file_magic_test_file=/shlib/libc.so
5659
# func_win32_libid is a shell function defined in ltmain.sh
5660
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5661
lt_cv_file_magic_cmd='func_win32_libid'
5665
# Base MSYS/MinGW do not provide the 'file' command needed by
5666
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5667
# unless we find 'file', for example because we are cross-compiling.
5668
if ( file / ) >/dev/null 2>&1; then
5669
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5670
lt_cv_file_magic_cmd='func_win32_libid'
5672
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5673
lt_cv_file_magic_cmd='$OBJDUMP -f'
5678
# use the weaker test based on 'objdump'. See mingw*.
5679
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5680
lt_cv_file_magic_cmd='$OBJDUMP -f'
5683
darwin* | rhapsody*)
5684
lt_cv_deplibs_check_method=pass_all
5687
freebsd* | dragonfly*)
5688
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5691
# Not sure whether the presence of OpenBSD here was a mistake.
5692
# Let's accept both of them until this is cleared up.
5693
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5694
lt_cv_file_magic_cmd=/usr/bin/file
5695
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5699
lt_cv_deplibs_check_method=pass_all
5704
lt_cv_deplibs_check_method=pass_all
5707
hpux10.20* | hpux11*)
5708
lt_cv_file_magic_cmd=/usr/bin/file
5711
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5712
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5715
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5716
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5719
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5720
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5726
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5727
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5730
irix5* | irix6* | nonstopux*)
5732
*-32|*"-32 ") libmagic=32-bit;;
5733
*-n32|*"-n32 ") libmagic=N32;;
5734
*-64|*"-64 ") libmagic=64-bit;;
5735
*) libmagic=never-match;;
5737
lt_cv_deplibs_check_method=pass_all
5740
# This must be Linux ELF.
5741
linux* | k*bsd*-gnu)
5742
lt_cv_deplibs_check_method=pass_all
5745
netbsd* | netbsdelf*-gnu)
5746
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5747
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5749
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5754
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5755
lt_cv_file_magic_cmd=/usr/bin/file
5756
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5760
lt_cv_deplibs_check_method=pass_all
5764
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5765
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5767
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5771
osf3* | osf4* | osf5*)
5772
lt_cv_deplibs_check_method=pass_all
5776
lt_cv_deplibs_check_method=pass_all
5780
lt_cv_deplibs_check_method=pass_all
5783
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5784
lt_cv_deplibs_check_method=pass_all
5788
case $host_vendor in
5790
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]'
5791
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5794
lt_cv_deplibs_check_method=pass_all
5797
lt_cv_file_magic_cmd='/bin/file'
5798
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5801
lt_cv_file_magic_cmd='/bin/file'
5802
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5803
lt_cv_file_magic_test_file=/lib/libc.so
5806
lt_cv_deplibs_check_method=pass_all
5809
lt_cv_deplibs_check_method=pass_all
5815
lt_cv_deplibs_check_method=pass_all
5820
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5821
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5822
file_magic_cmd=$lt_cv_file_magic_cmd
5823
deplibs_check_method=$lt_cv_deplibs_check_method
5824
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5837
if test -n "$ac_tool_prefix"; then
5838
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5839
set dummy ${ac_tool_prefix}ar; ac_word=$2
5840
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5841
$as_echo_n "checking for $ac_word... " >&6; }
5842
if test "${ac_cv_prog_AR+set}" = set; then
5843
$as_echo_n "(cached) " >&6
5845
if test -n "$AR"; then
5846
ac_cv_prog_AR="$AR" # Let the user override the test.
5848
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5852
test -z "$as_dir" && as_dir=.
5853
for ac_exec_ext in '' $ac_executable_extensions; do
5854
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5855
ac_cv_prog_AR="${ac_tool_prefix}ar"
5856
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5866
if test -n "$AR"; then
5867
{ $as_echo "$as_me:$LINENO: result: $AR" >&5
5868
$as_echo "$AR" >&6; }
5870
{ $as_echo "$as_me:$LINENO: result: no" >&5
5871
$as_echo "no" >&6; }
5876
if test -z "$ac_cv_prog_AR"; then
5878
# Extract the first word of "ar", so it can be a program name with args.
5879
set dummy ar; ac_word=$2
5880
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5881
$as_echo_n "checking for $ac_word... " >&6; }
5882
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5883
$as_echo_n "(cached) " >&6
5885
if test -n "$ac_ct_AR"; then
5886
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5888
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5892
test -z "$as_dir" && as_dir=.
5893
for ac_exec_ext in '' $ac_executable_extensions; do
5894
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5895
ac_cv_prog_ac_ct_AR="ar"
5896
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5905
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5906
if test -n "$ac_ct_AR"; then
5907
{ $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5908
$as_echo "$ac_ct_AR" >&6; }
5910
{ $as_echo "$as_me:$LINENO: result: no" >&5
5911
$as_echo "no" >&6; }
5914
if test "x$ac_ct_AR" = x; then
5917
case $cross_compiling:$ac_tool_warned in
5919
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5920
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5921
ac_tool_warned=yes ;;
5929
test -z "$AR" && AR=ar
5930
test -z "$AR_FLAGS" && AR_FLAGS=cru
5942
if test -n "$ac_tool_prefix"; then
5943
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5944
set dummy ${ac_tool_prefix}strip; ac_word=$2
5945
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5946
$as_echo_n "checking for $ac_word... " >&6; }
5947
if test "${ac_cv_prog_STRIP+set}" = set; then
5948
$as_echo_n "(cached) " >&6
5950
if test -n "$STRIP"; then
5951
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5953
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5957
test -z "$as_dir" && as_dir=.
5958
for ac_exec_ext in '' $ac_executable_extensions; do
5959
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5960
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5961
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5970
STRIP=$ac_cv_prog_STRIP
5971
if test -n "$STRIP"; then
5972
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
5973
$as_echo "$STRIP" >&6; }
5975
{ $as_echo "$as_me:$LINENO: result: no" >&5
5976
$as_echo "no" >&6; }
5981
if test -z "$ac_cv_prog_STRIP"; then
5983
# Extract the first word of "strip", so it can be a program name with args.
5984
set dummy strip; ac_word=$2
5985
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5986
$as_echo_n "checking for $ac_word... " >&6; }
5987
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5988
$as_echo_n "(cached) " >&6
5990
if test -n "$ac_ct_STRIP"; then
5991
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5993
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5997
test -z "$as_dir" && as_dir=.
5998
for ac_exec_ext in '' $ac_executable_extensions; do
5999
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6000
ac_cv_prog_ac_ct_STRIP="strip"
6001
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6010
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6011
if test -n "$ac_ct_STRIP"; then
6012
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6013
$as_echo "$ac_ct_STRIP" >&6; }
6015
{ $as_echo "$as_me:$LINENO: result: no" >&5
6016
$as_echo "no" >&6; }
6019
if test "x$ac_ct_STRIP" = x; then
6022
case $cross_compiling:$ac_tool_warned in
6024
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6025
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6026
ac_tool_warned=yes ;;
6031
STRIP="$ac_cv_prog_STRIP"
6034
test -z "$STRIP" && STRIP=:
6041
if test -n "$ac_tool_prefix"; then
6042
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6043
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6044
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6045
$as_echo_n "checking for $ac_word... " >&6; }
6046
if test "${ac_cv_prog_RANLIB+set}" = set; then
6047
$as_echo_n "(cached) " >&6
6049
if test -n "$RANLIB"; then
6050
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6052
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056
test -z "$as_dir" && as_dir=.
6057
for ac_exec_ext in '' $ac_executable_extensions; do
6058
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6059
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6060
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6069
RANLIB=$ac_cv_prog_RANLIB
6070
if test -n "$RANLIB"; then
6071
{ $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6072
$as_echo "$RANLIB" >&6; }
6074
{ $as_echo "$as_me:$LINENO: result: no" >&5
6075
$as_echo "no" >&6; }
6080
if test -z "$ac_cv_prog_RANLIB"; then
6081
ac_ct_RANLIB=$RANLIB
6082
# Extract the first word of "ranlib", so it can be a program name with args.
6083
set dummy ranlib; ac_word=$2
6084
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6085
$as_echo_n "checking for $ac_word... " >&6; }
6086
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6087
$as_echo_n "(cached) " >&6
6089
if test -n "$ac_ct_RANLIB"; then
6090
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6092
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096
test -z "$as_dir" && as_dir=.
6097
for ac_exec_ext in '' $ac_executable_extensions; do
6098
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6099
ac_cv_prog_ac_ct_RANLIB="ranlib"
6100
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6109
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6110
if test -n "$ac_ct_RANLIB"; then
6111
{ $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6112
$as_echo "$ac_ct_RANLIB" >&6; }
6114
{ $as_echo "$as_me:$LINENO: result: no" >&5
6115
$as_echo "no" >&6; }
6118
if test "x$ac_ct_RANLIB" = x; then
6121
case $cross_compiling:$ac_tool_warned in
6123
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6124
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6125
ac_tool_warned=yes ;;
6127
RANLIB=$ac_ct_RANLIB
6130
RANLIB="$ac_cv_prog_RANLIB"
6133
test -z "$RANLIB" && RANLIB=:
6140
# Determine commands to create old-style static archives.
6141
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6142
old_postinstall_cmds='chmod 644 $oldlib'
6143
old_postuninstall_cmds=
6145
if test -n "$RANLIB"; then
6148
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6151
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6154
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6190
# If no C compiler was specified, use CC.
6193
# If no C compiler flags were specified, use CFLAGS.
6194
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6196
# Allow CC to be a program name with arguments.
6200
# Check for command to grab the raw symbol name followed by C symbol from nm.
6201
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6202
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6203
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6204
$as_echo_n "(cached) " >&6
6207
# These are sane defaults that work on at least a few old systems.
6208
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6210
# Character class describing NM global symbol codes.
6211
symcode='[BCDEGRST]'
6213
# Regexp to match symbols that can be accessed directly from C.
6214
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6216
# Define system-specific variables.
6221
cygwin* | mingw* | pw32* | cegcc*)
6222
symcode='[ABCDGISTW]'
6225
if test "$host_cpu" = ia64; then
6226
symcode='[ABCDEGRST]'
6230
symcode='[BCDEGRST]'
6233
symcode='[BCDEGQRST]'
6244
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6252
# If we're using GNU nm, then use its standard symbol codes.
6253
case `$NM -V 2>&1` in
6254
*GNU* | *'with BFD'*)
6255
symcode='[ABCDGIRSTW]' ;;
6258
# Transform an extracted symbol line into a proper C declaration.
6259
# Some systems (esp. on ia64) link data and code symbols differently,
6260
# so use this general approach.
6261
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6263
# Transform an extracted symbol line into symbol name and symbol address
6264
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6265
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'"
6267
# Handle CRLF in mingw tool chain
6271
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6275
# Try without a prefix underscore, then with it.
6276
for ac_symprfx in "" "_"; do
6278
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6279
symxfrm="\\1 $ac_symprfx\\2 \\2"
6281
# Write the raw and C identifiers.
6282
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6283
# Fake it for dumpbin and say T for any non-static function
6284
# and D for any global variable.
6285
# Also find C++ and __fastcall symbols from MSVC++,
6286
# which start with @ or ?.
6287
lt_cv_sys_global_symbol_pipe="$AWK '"\
6288
" {last_section=section; section=\$ 3};"\
6289
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6290
" \$ 0!~/External *\|/{next};"\
6291
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6292
" {if(hide[section]) next};"\
6293
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6294
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6295
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6296
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6297
" ' prfx=^$ac_symprfx"
6299
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6302
# Check to see that the pipe works correctly.
6306
cat > conftest.$ac_ext <<_LT_EOF
6311
void nm_test_func(void);
6312
void nm_test_func(void){}
6316
int main(){nm_test_var='a';nm_test_func();return(0);}
6319
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6320
(eval $ac_compile) 2>&5
6322
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6323
(exit $ac_status); }; then
6324
# Now try to grab the symbols.
6326
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6327
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6329
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6330
(exit $ac_status); } && test -s "$nlist"; then
6331
# Try sorting and uniquifying the output.
6332
if sort "$nlist" | uniq > "$nlist"T; then
6333
mv -f "$nlist"T "$nlist"
6338
# Make sure that we snagged all the symbols we need.
6339
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6340
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6341
cat <<_LT_EOF > conftest.$ac_ext
6347
# Now generate the symbol file.
6348
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6350
cat <<_LT_EOF >> conftest.$ac_ext
6352
/* The mapping between symbol names and symbols. */
6357
lt__PROGRAM__LTX_preloaded_symbols[] =
6359
{ "@PROGRAM@", (void *) 0 },
6361
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6362
cat <<\_LT_EOF >> conftest.$ac_ext
6366
/* This works around a problem in FreeBSD linker */
6367
#ifdef FREEBSD_WORKAROUND
6368
static const void *lt_preloaded_setup() {
6369
return lt__PROGRAM__LTX_preloaded_symbols;
6377
# Now try linking the two files.
6378
mv conftest.$ac_objext conftstm.$ac_objext
6379
lt_save_LIBS="$LIBS"
6380
lt_save_CFLAGS="$CFLAGS"
6381
LIBS="conftstm.$ac_objext"
6382
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6383
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6384
(eval $ac_link) 2>&5
6386
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6387
(exit $ac_status); } && test -s conftest${ac_exeext}; then
6390
LIBS="$lt_save_LIBS"
6391
CFLAGS="$lt_save_CFLAGS"
6393
echo "cannot find nm_test_func in $nlist" >&5
6396
echo "cannot find nm_test_var in $nlist" >&5
6399
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6402
echo "$progname: failed program was:" >&5
6403
cat conftest.$ac_ext >&5
6405
rm -rf conftest* conftst*
6407
# Do not use the global_symbol_pipe unless it works.
6408
if test "$pipe_works" = yes; then
6411
lt_cv_sys_global_symbol_pipe=
6417
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6418
lt_cv_sys_global_symbol_to_cdecl=
6420
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6421
{ $as_echo "$as_me:$LINENO: result: failed" >&5
6422
$as_echo "failed" >&6; }
6424
{ $as_echo "$as_me:$LINENO: result: ok" >&5
6425
$as_echo "ok" >&6; }
6449
# Check whether --enable-libtool-lock was given.
6450
if test "${enable_libtool_lock+set}" = set; then
6451
enableval=$enable_libtool_lock;
6454
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6456
# Some flags need to be propagated to the compiler or linker for good
6460
# Find out which ABI we are using.
6461
echo 'int i;' > conftest.$ac_ext
6462
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6463
(eval $ac_compile) 2>&5
6465
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466
(exit $ac_status); }; then
6467
case `/usr/bin/file conftest.$ac_objext` in
6479
# Find out which ABI we are using.
6480
echo '#line 6480 "configure"' > conftest.$ac_ext
6481
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6482
(eval $ac_compile) 2>&5
6484
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6485
(exit $ac_status); }; then
6486
if test "$lt_cv_prog_gnu_ld" = yes; then
6487
case `/usr/bin/file conftest.$ac_objext` in
6489
LD="${LD-ld} -melf32bsmip"
6492
LD="${LD-ld} -melf32bmipn32"
6495
LD="${LD-ld} -melf64bmip"
6499
case `/usr/bin/file conftest.$ac_objext` in
6515
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6516
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6517
# Find out which ABI we are using.
6518
echo 'int i;' > conftest.$ac_ext
6519
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6520
(eval $ac_compile) 2>&5
6522
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6523
(exit $ac_status); }; then
6524
case `/usr/bin/file conftest.o` in
6527
x86_64-*kfreebsd*-gnu)
6528
LD="${LD-ld} -m elf_i386_fbsd"
6531
LD="${LD-ld} -m elf_i386"
6533
ppc64-*linux*|powerpc64-*linux*)
6534
LD="${LD-ld} -m elf32ppclinux"
6537
LD="${LD-ld} -m elf_s390"
6540
LD="${LD-ld} -m elf32_sparc"
6546
x86_64-*kfreebsd*-gnu)
6547
LD="${LD-ld} -m elf_x86_64_fbsd"
6550
LD="${LD-ld} -m elf_x86_64"
6552
ppc*-*linux*|powerpc*-*linux*)
6553
LD="${LD-ld} -m elf64ppc"
6555
s390*-*linux*|s390*-*tpf*)
6556
LD="${LD-ld} -m elf64_s390"
6559
LD="${LD-ld} -m elf64_sparc"
6569
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6570
SAVE_CFLAGS="$CFLAGS"
6571
CFLAGS="$CFLAGS -belf"
6572
{ $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6573
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6574
if test "${lt_cv_cc_needs_belf+set}" = set; then
6575
$as_echo_n "(cached) " >&6
6578
ac_cpp='$CPP $CPPFLAGS'
6579
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6580
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6581
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6583
cat >conftest.$ac_ext <<_ACEOF
6586
cat confdefs.h >>conftest.$ac_ext
6587
cat >>conftest.$ac_ext <<_ACEOF
6588
/* end confdefs.h. */
6598
rm -f conftest.$ac_objext conftest$ac_exeext
6599
if { (ac_try="$ac_link"
6601
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6602
*) ac_try_echo=$ac_try;;
6604
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6605
$as_echo "$ac_try_echo") >&5
6606
(eval "$ac_link") 2>conftest.er1
6608
grep -v '^ *+' conftest.er1 >conftest.err
6610
cat conftest.err >&5
6611
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612
(exit $ac_status); } && {
6613
test -z "$ac_c_werror_flag" ||
6614
test ! -s conftest.err
6615
} && test -s conftest$ac_exeext && {
6616
test "$cross_compiling" = yes ||
6617
$as_test_x conftest$ac_exeext
6619
lt_cv_cc_needs_belf=yes
6621
$as_echo "$as_me: failed program was:" >&5
6622
sed 's/^/| /' conftest.$ac_ext >&5
6624
lt_cv_cc_needs_belf=no
6627
rm -rf conftest.dSYM
6628
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6629
conftest$ac_exeext conftest.$ac_ext
6631
ac_cpp='$CPP $CPPFLAGS'
6632
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6633
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6634
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6637
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6638
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6639
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6640
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6641
CFLAGS="$SAVE_CFLAGS"
6645
# Find out which ABI we are using.
6646
echo 'int i;' > conftest.$ac_ext
6647
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6648
(eval $ac_compile) 2>&5
6650
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651
(exit $ac_status); }; then
6652
case `/usr/bin/file conftest.o` in
6654
case $lt_cv_prog_gnu_ld in
6655
yes*) LD="${LD-ld} -m elf64_sparc" ;;
6657
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6669
need_locks="$enable_libtool_lock"
6673
rhapsody* | darwin*)
6674
if test -n "$ac_tool_prefix"; then
6675
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6676
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6677
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6678
$as_echo_n "checking for $ac_word... " >&6; }
6679
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6680
$as_echo_n "(cached) " >&6
6682
if test -n "$DSYMUTIL"; then
6683
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6685
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6689
test -z "$as_dir" && as_dir=.
6690
for ac_exec_ext in '' $ac_executable_extensions; do
6691
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6692
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6693
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6702
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6703
if test -n "$DSYMUTIL"; then
6704
{ $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6705
$as_echo "$DSYMUTIL" >&6; }
6707
{ $as_echo "$as_me:$LINENO: result: no" >&5
6708
$as_echo "no" >&6; }
6713
if test -z "$ac_cv_prog_DSYMUTIL"; then
6714
ac_ct_DSYMUTIL=$DSYMUTIL
6715
# Extract the first word of "dsymutil", so it can be a program name with args.
6716
set dummy dsymutil; ac_word=$2
6717
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6718
$as_echo_n "checking for $ac_word... " >&6; }
6719
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6720
$as_echo_n "(cached) " >&6
6722
if test -n "$ac_ct_DSYMUTIL"; then
6723
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6725
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6729
test -z "$as_dir" && as_dir=.
6730
for ac_exec_ext in '' $ac_executable_extensions; do
6731
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6732
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6733
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6742
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6743
if test -n "$ac_ct_DSYMUTIL"; then
6744
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6745
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6747
{ $as_echo "$as_me:$LINENO: result: no" >&5
6748
$as_echo "no" >&6; }
6751
if test "x$ac_ct_DSYMUTIL" = x; then
6754
case $cross_compiling:$ac_tool_warned in
6756
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6757
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6758
ac_tool_warned=yes ;;
6760
DSYMUTIL=$ac_ct_DSYMUTIL
6763
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6766
if test -n "$ac_tool_prefix"; then
6767
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6768
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6769
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6770
$as_echo_n "checking for $ac_word... " >&6; }
6771
if test "${ac_cv_prog_NMEDIT+set}" = set; then
6772
$as_echo_n "(cached) " >&6
6774
if test -n "$NMEDIT"; then
6775
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6777
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6781
test -z "$as_dir" && as_dir=.
6782
for ac_exec_ext in '' $ac_executable_extensions; do
6783
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6784
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6785
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6794
NMEDIT=$ac_cv_prog_NMEDIT
6795
if test -n "$NMEDIT"; then
6796
{ $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
6797
$as_echo "$NMEDIT" >&6; }
6799
{ $as_echo "$as_me:$LINENO: result: no" >&5
6800
$as_echo "no" >&6; }
6805
if test -z "$ac_cv_prog_NMEDIT"; then
6806
ac_ct_NMEDIT=$NMEDIT
6807
# Extract the first word of "nmedit", so it can be a program name with args.
6808
set dummy nmedit; ac_word=$2
6809
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6810
$as_echo_n "checking for $ac_word... " >&6; }
6811
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6812
$as_echo_n "(cached) " >&6
6814
if test -n "$ac_ct_NMEDIT"; then
6815
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6817
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6821
test -z "$as_dir" && as_dir=.
6822
for ac_exec_ext in '' $ac_executable_extensions; do
6823
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6824
ac_cv_prog_ac_ct_NMEDIT="nmedit"
6825
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6834
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6835
if test -n "$ac_ct_NMEDIT"; then
6836
{ $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6837
$as_echo "$ac_ct_NMEDIT" >&6; }
6839
{ $as_echo "$as_me:$LINENO: result: no" >&5
6840
$as_echo "no" >&6; }
6843
if test "x$ac_ct_NMEDIT" = x; then
6846
case $cross_compiling:$ac_tool_warned in
6848
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6849
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6850
ac_tool_warned=yes ;;
6852
NMEDIT=$ac_ct_NMEDIT
6855
NMEDIT="$ac_cv_prog_NMEDIT"
6858
if test -n "$ac_tool_prefix"; then
6859
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6860
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6861
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6862
$as_echo_n "checking for $ac_word... " >&6; }
6863
if test "${ac_cv_prog_LIPO+set}" = set; then
6864
$as_echo_n "(cached) " >&6
6866
if test -n "$LIPO"; then
6867
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6869
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6873
test -z "$as_dir" && as_dir=.
6874
for ac_exec_ext in '' $ac_executable_extensions; do
6875
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6876
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6877
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6886
LIPO=$ac_cv_prog_LIPO
6887
if test -n "$LIPO"; then
6888
{ $as_echo "$as_me:$LINENO: result: $LIPO" >&5
6889
$as_echo "$LIPO" >&6; }
6891
{ $as_echo "$as_me:$LINENO: result: no" >&5
6892
$as_echo "no" >&6; }
6897
if test -z "$ac_cv_prog_LIPO"; then
6899
# Extract the first word of "lipo", so it can be a program name with args.
6900
set dummy lipo; ac_word=$2
6901
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6902
$as_echo_n "checking for $ac_word... " >&6; }
6903
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6904
$as_echo_n "(cached) " >&6
6906
if test -n "$ac_ct_LIPO"; then
6907
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6909
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6913
test -z "$as_dir" && as_dir=.
6914
for ac_exec_ext in '' $ac_executable_extensions; do
6915
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6916
ac_cv_prog_ac_ct_LIPO="lipo"
6917
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6926
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6927
if test -n "$ac_ct_LIPO"; then
6928
{ $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6929
$as_echo "$ac_ct_LIPO" >&6; }
6931
{ $as_echo "$as_me:$LINENO: result: no" >&5
6932
$as_echo "no" >&6; }
6935
if test "x$ac_ct_LIPO" = x; then
6938
case $cross_compiling:$ac_tool_warned in
6940
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6941
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6942
ac_tool_warned=yes ;;
6947
LIPO="$ac_cv_prog_LIPO"
6950
if test -n "$ac_tool_prefix"; then
6951
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6952
set dummy ${ac_tool_prefix}otool; ac_word=$2
6953
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6954
$as_echo_n "checking for $ac_word... " >&6; }
6955
if test "${ac_cv_prog_OTOOL+set}" = set; then
6956
$as_echo_n "(cached) " >&6
6958
if test -n "$OTOOL"; then
6959
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6961
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6965
test -z "$as_dir" && as_dir=.
6966
for ac_exec_ext in '' $ac_executable_extensions; do
6967
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6968
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6969
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6978
OTOOL=$ac_cv_prog_OTOOL
6979
if test -n "$OTOOL"; then
6980
{ $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
6981
$as_echo "$OTOOL" >&6; }
6983
{ $as_echo "$as_me:$LINENO: result: no" >&5
6984
$as_echo "no" >&6; }
6989
if test -z "$ac_cv_prog_OTOOL"; then
6991
# Extract the first word of "otool", so it can be a program name with args.
6992
set dummy otool; ac_word=$2
6993
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6994
$as_echo_n "checking for $ac_word... " >&6; }
6995
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6996
$as_echo_n "(cached) " >&6
6998
if test -n "$ac_ct_OTOOL"; then
6999
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7001
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7005
test -z "$as_dir" && as_dir=.
7006
for ac_exec_ext in '' $ac_executable_extensions; do
7007
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7008
ac_cv_prog_ac_ct_OTOOL="otool"
7009
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7018
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7019
if test -n "$ac_ct_OTOOL"; then
7020
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
7021
$as_echo "$ac_ct_OTOOL" >&6; }
7023
{ $as_echo "$as_me:$LINENO: result: no" >&5
7024
$as_echo "no" >&6; }
7027
if test "x$ac_ct_OTOOL" = x; then
7030
case $cross_compiling:$ac_tool_warned in
7032
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7033
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7034
ac_tool_warned=yes ;;
7039
OTOOL="$ac_cv_prog_OTOOL"
7042
if test -n "$ac_tool_prefix"; then
7043
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7044
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7045
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7046
$as_echo_n "checking for $ac_word... " >&6; }
7047
if test "${ac_cv_prog_OTOOL64+set}" = set; then
7048
$as_echo_n "(cached) " >&6
7050
if test -n "$OTOOL64"; then
7051
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7053
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7057
test -z "$as_dir" && as_dir=.
7058
for ac_exec_ext in '' $ac_executable_extensions; do
7059
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7060
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7061
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7070
OTOOL64=$ac_cv_prog_OTOOL64
7071
if test -n "$OTOOL64"; then
7072
{ $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
7073
$as_echo "$OTOOL64" >&6; }
7075
{ $as_echo "$as_me:$LINENO: result: no" >&5
7076
$as_echo "no" >&6; }
7081
if test -z "$ac_cv_prog_OTOOL64"; then
7082
ac_ct_OTOOL64=$OTOOL64
7083
# Extract the first word of "otool64", so it can be a program name with args.
7084
set dummy otool64; ac_word=$2
7085
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7086
$as_echo_n "checking for $ac_word... " >&6; }
7087
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7088
$as_echo_n "(cached) " >&6
7090
if test -n "$ac_ct_OTOOL64"; then
7091
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7093
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7097
test -z "$as_dir" && as_dir=.
7098
for ac_exec_ext in '' $ac_executable_extensions; do
7099
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7100
ac_cv_prog_ac_ct_OTOOL64="otool64"
7101
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7110
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7111
if test -n "$ac_ct_OTOOL64"; then
7112
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
7113
$as_echo "$ac_ct_OTOOL64" >&6; }
7115
{ $as_echo "$as_me:$LINENO: result: no" >&5
7116
$as_echo "no" >&6; }
7119
if test "x$ac_ct_OTOOL64" = x; then
7122
case $cross_compiling:$ac_tool_warned in
7124
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7125
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7126
ac_tool_warned=yes ;;
7128
OTOOL64=$ac_ct_OTOOL64
7131
OTOOL64="$ac_cv_prog_OTOOL64"
7160
{ $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7161
$as_echo_n "checking for -single_module linker flag... " >&6; }
7162
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7163
$as_echo_n "(cached) " >&6
7165
lt_cv_apple_cc_single_mod=no
7166
if test -z "${LT_MULTI_MODULE}"; then
7167
# By default we will add the -single_module flag. You can override
7168
# by either setting the environment variable LT_MULTI_MODULE
7169
# non-empty at configure time, or by adding -multi_module to the
7171
rm -rf libconftest.dylib*
7172
echo "int foo(void){return 1;}" > conftest.c
7173
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7174
-dynamiclib -Wl,-single_module conftest.c" >&5
7175
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7176
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7178
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7179
lt_cv_apple_cc_single_mod=yes
7181
cat conftest.err >&5
7183
rm -rf libconftest.dylib*
7187
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7188
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7189
{ $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7190
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7191
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7192
$as_echo_n "(cached) " >&6
7194
lt_cv_ld_exported_symbols_list=no
7195
save_LDFLAGS=$LDFLAGS
7196
echo "_main" > conftest.sym
7197
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7198
cat >conftest.$ac_ext <<_ACEOF
7201
cat confdefs.h >>conftest.$ac_ext
7202
cat >>conftest.$ac_ext <<_ACEOF
7203
/* end confdefs.h. */
7213
rm -f conftest.$ac_objext conftest$ac_exeext
7214
if { (ac_try="$ac_link"
7216
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7217
*) ac_try_echo=$ac_try;;
7219
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7220
$as_echo "$ac_try_echo") >&5
7221
(eval "$ac_link") 2>conftest.er1
7223
grep -v '^ *+' conftest.er1 >conftest.err
7225
cat conftest.err >&5
7226
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7227
(exit $ac_status); } && {
7228
test -z "$ac_c_werror_flag" ||
7229
test ! -s conftest.err
7230
} && test -s conftest$ac_exeext && {
7231
test "$cross_compiling" = yes ||
7232
$as_test_x conftest$ac_exeext
7234
lt_cv_ld_exported_symbols_list=yes
7236
$as_echo "$as_me: failed program was:" >&5
7237
sed 's/^/| /' conftest.$ac_ext >&5
7239
lt_cv_ld_exported_symbols_list=no
7242
rm -rf conftest.dSYM
7243
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7244
conftest$ac_exeext conftest.$ac_ext
7245
LDFLAGS="$save_LDFLAGS"
7248
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7249
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7251
rhapsody* | darwin1.[012])
7252
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7254
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7255
darwin*) # darwin 5.x on
7256
# if running on 10.5 or later, the deployment target defaults
7257
# to the OS version, if on x86, and 10.4, the deployment
7258
# target defaults to 10.4. Don't you love it?
7259
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7260
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7261
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7263
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7265
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7269
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7270
_lt_dar_single_mod='$single_module'
7272
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7273
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7275
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7277
if test "$DSYMUTIL" != ":"; then
7278
_lt_dsymutil='~$DSYMUTIL $lib || :'
7286
ac_cpp='$CPP $CPPFLAGS'
7287
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7288
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7289
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7290
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
7291
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7292
# On Suns, sometimes $CPP names a directory.
7293
if test -n "$CPP" && test -d "$CPP"; then
7296
if test -z "$CPP"; then
7297
if test "${ac_cv_prog_CPP+set}" = set; then
7298
$as_echo_n "(cached) " >&6
7300
# Double quotes because CPP needs to be expanded
7301
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7304
for ac_c_preproc_warn_flag in '' yes
7306
# Use a header file that comes with gcc, so configuring glibc
7307
# with a fresh cross-compiler works.
7308
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7309
# <limits.h> exists even on freestanding compilers.
7310
# On the NeXT, cc -E runs the code through the compiler's parser,
7311
# not just through cpp. "Syntax error" is here to catch this case.
7312
cat >conftest.$ac_ext <<_ACEOF
7315
cat confdefs.h >>conftest.$ac_ext
7316
cat >>conftest.$ac_ext <<_ACEOF
7317
/* end confdefs.h. */
7319
# include <limits.h>
7321
# include <assert.h>
7325
if { (ac_try="$ac_cpp conftest.$ac_ext"
7327
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7328
*) ac_try_echo=$ac_try;;
7330
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7331
$as_echo "$ac_try_echo") >&5
7332
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7334
grep -v '^ *+' conftest.er1 >conftest.err
7336
cat conftest.err >&5
7337
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7338
(exit $ac_status); } >/dev/null && {
7339
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7340
test ! -s conftest.err
7344
$as_echo "$as_me: failed program was:" >&5
7345
sed 's/^/| /' conftest.$ac_ext >&5
7347
# Broken: fails on valid input.
7351
rm -f conftest.err conftest.$ac_ext
7353
# OK, works on sane cases. Now check whether nonexistent headers
7354
# can be detected and how.
7355
cat >conftest.$ac_ext <<_ACEOF
7358
cat confdefs.h >>conftest.$ac_ext
7359
cat >>conftest.$ac_ext <<_ACEOF
7360
/* end confdefs.h. */
7361
#include <ac_nonexistent.h>
7363
if { (ac_try="$ac_cpp conftest.$ac_ext"
7365
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7366
*) ac_try_echo=$ac_try;;
7368
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7369
$as_echo "$ac_try_echo") >&5
7370
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7372
grep -v '^ *+' conftest.er1 >conftest.err
7374
cat conftest.err >&5
7375
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7376
(exit $ac_status); } >/dev/null && {
7377
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7378
test ! -s conftest.err
7380
# Broken: success on invalid input.
7383
$as_echo "$as_me: failed program was:" >&5
7384
sed 's/^/| /' conftest.$ac_ext >&5
7386
# Passes both tests.
7391
rm -f conftest.err conftest.$ac_ext
7394
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7395
rm -f conftest.err conftest.$ac_ext
7396
if $ac_preproc_ok; then
7408
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
7409
$as_echo "$CPP" >&6; }
7411
for ac_c_preproc_warn_flag in '' yes
7413
# Use a header file that comes with gcc, so configuring glibc
7414
# with a fresh cross-compiler works.
7415
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7416
# <limits.h> exists even on freestanding compilers.
7417
# On the NeXT, cc -E runs the code through the compiler's parser,
7418
# not just through cpp. "Syntax error" is here to catch this case.
7419
cat >conftest.$ac_ext <<_ACEOF
7422
cat confdefs.h >>conftest.$ac_ext
7423
cat >>conftest.$ac_ext <<_ACEOF
7424
/* end confdefs.h. */
7426
# include <limits.h>
7428
# include <assert.h>
7432
if { (ac_try="$ac_cpp conftest.$ac_ext"
7434
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7435
*) ac_try_echo=$ac_try;;
7437
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7438
$as_echo "$ac_try_echo") >&5
7439
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7441
grep -v '^ *+' conftest.er1 >conftest.err
7443
cat conftest.err >&5
7444
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445
(exit $ac_status); } >/dev/null && {
7446
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7447
test ! -s conftest.err
7451
$as_echo "$as_me: failed program was:" >&5
7452
sed 's/^/| /' conftest.$ac_ext >&5
7454
# Broken: fails on valid input.
7458
rm -f conftest.err conftest.$ac_ext
7460
# OK, works on sane cases. Now check whether nonexistent headers
7461
# can be detected and how.
7462
cat >conftest.$ac_ext <<_ACEOF
7465
cat confdefs.h >>conftest.$ac_ext
7466
cat >>conftest.$ac_ext <<_ACEOF
7467
/* end confdefs.h. */
7468
#include <ac_nonexistent.h>
7470
if { (ac_try="$ac_cpp conftest.$ac_ext"
7472
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7473
*) ac_try_echo=$ac_try;;
7475
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7476
$as_echo "$ac_try_echo") >&5
7477
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7479
grep -v '^ *+' conftest.er1 >conftest.err
7481
cat conftest.err >&5
7482
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7483
(exit $ac_status); } >/dev/null && {
7484
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7485
test ! -s conftest.err
7487
# Broken: success on invalid input.
7490
$as_echo "$as_me: failed program was:" >&5
7491
sed 's/^/| /' conftest.$ac_ext >&5
7493
# Passes both tests.
7498
rm -f conftest.err conftest.$ac_ext
7501
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7502
rm -f conftest.err conftest.$ac_ext
7503
if $ac_preproc_ok; then
7506
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7507
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7508
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
7509
See \`config.log' for more details." >&5
7510
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
7511
See \`config.log' for more details." >&2;}
7512
{ (exit 1); exit 1; }; }; }
7516
ac_cpp='$CPP $CPPFLAGS'
7517
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7518
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7519
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7522
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7523
$as_echo_n "checking for ANSI C header files... " >&6; }
7524
if test "${ac_cv_header_stdc+set}" = set; then
7525
$as_echo_n "(cached) " >&6
7527
cat >conftest.$ac_ext <<_ACEOF
7530
cat confdefs.h >>conftest.$ac_ext
7531
cat >>conftest.$ac_ext <<_ACEOF
7532
/* end confdefs.h. */
7546
rm -f conftest.$ac_objext
7547
if { (ac_try="$ac_compile"
7549
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7550
*) ac_try_echo=$ac_try;;
7552
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7553
$as_echo "$ac_try_echo") >&5
7554
(eval "$ac_compile") 2>conftest.er1
7556
grep -v '^ *+' conftest.er1 >conftest.err
7558
cat conftest.err >&5
7559
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560
(exit $ac_status); } && {
7561
test -z "$ac_c_werror_flag" ||
7562
test ! -s conftest.err
7563
} && test -s conftest.$ac_objext; then
7564
ac_cv_header_stdc=yes
7566
$as_echo "$as_me: failed program was:" >&5
7567
sed 's/^/| /' conftest.$ac_ext >&5
7569
ac_cv_header_stdc=no
7572
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7574
if test $ac_cv_header_stdc = yes; then
7575
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7576
cat >conftest.$ac_ext <<_ACEOF
7579
cat confdefs.h >>conftest.$ac_ext
7580
cat >>conftest.$ac_ext <<_ACEOF
7581
/* end confdefs.h. */
7585
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7586
$EGREP "memchr" >/dev/null 2>&1; then
7589
ac_cv_header_stdc=no
7595
if test $ac_cv_header_stdc = yes; then
7596
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7597
cat >conftest.$ac_ext <<_ACEOF
7600
cat confdefs.h >>conftest.$ac_ext
7601
cat >>conftest.$ac_ext <<_ACEOF
7602
/* end confdefs.h. */
7606
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7607
$EGREP "free" >/dev/null 2>&1; then
7610
ac_cv_header_stdc=no
7616
if test $ac_cv_header_stdc = yes; then
7617
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7618
if test "$cross_compiling" = yes; then
7621
cat >conftest.$ac_ext <<_ACEOF
7624
cat confdefs.h >>conftest.$ac_ext
7625
cat >>conftest.$ac_ext <<_ACEOF
7626
/* end confdefs.h. */
7629
#if ((' ' & 0x0FF) == 0x020)
7630
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7631
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7633
# define ISLOWER(c) \
7634
(('a' <= (c) && (c) <= 'i') \
7635
|| ('j' <= (c) && (c) <= 'r') \
7636
|| ('s' <= (c) && (c) <= 'z'))
7637
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7640
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7645
for (i = 0; i < 256; i++)
7646
if (XOR (islower (i), ISLOWER (i))
7647
|| toupper (i) != TOUPPER (i))
7652
rm -f conftest$ac_exeext
7653
if { (ac_try="$ac_link"
7655
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7656
*) ac_try_echo=$ac_try;;
7658
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7659
$as_echo "$ac_try_echo") >&5
7660
(eval "$ac_link") 2>&5
7662
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7664
{ (case "(($ac_try" in
7665
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7666
*) ac_try_echo=$ac_try;;
7668
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7669
$as_echo "$ac_try_echo") >&5
7670
(eval "$ac_try") 2>&5
7672
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7673
(exit $ac_status); }; }; then
7676
$as_echo "$as_me: program exited with status $ac_status" >&5
7677
$as_echo "$as_me: failed program was:" >&5
7678
sed 's/^/| /' conftest.$ac_ext >&5
7681
ac_cv_header_stdc=no
7683
rm -rf conftest.dSYM
7684
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7690
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7691
$as_echo "$ac_cv_header_stdc" >&6; }
7692
if test $ac_cv_header_stdc = yes; then
7694
cat >>confdefs.h <<\_ACEOF
7695
#define STDC_HEADERS 1
7700
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7710
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7711
inttypes.h stdint.h unistd.h
7713
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7714
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7715
$as_echo_n "checking for $ac_header... " >&6; }
7716
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7717
$as_echo_n "(cached) " >&6
7719
cat >conftest.$ac_ext <<_ACEOF
7722
cat confdefs.h >>conftest.$ac_ext
7723
cat >>conftest.$ac_ext <<_ACEOF
7724
/* end confdefs.h. */
7725
$ac_includes_default
7727
#include <$ac_header>
7729
rm -f conftest.$ac_objext
7730
if { (ac_try="$ac_compile"
7732
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7733
*) ac_try_echo=$ac_try;;
7735
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7736
$as_echo "$ac_try_echo") >&5
7737
(eval "$ac_compile") 2>conftest.er1
7739
grep -v '^ *+' conftest.er1 >conftest.err
7741
cat conftest.err >&5
7742
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7743
(exit $ac_status); } && {
7744
test -z "$ac_c_werror_flag" ||
7745
test ! -s conftest.err
7746
} && test -s conftest.$ac_objext; then
7747
eval "$as_ac_Header=yes"
7749
$as_echo "$as_me: failed program was:" >&5
7750
sed 's/^/| /' conftest.$ac_ext >&5
7752
eval "$as_ac_Header=no"
7755
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7757
ac_res=`eval 'as_val=${'$as_ac_Header'}
7758
$as_echo "$as_val"'`
7759
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7760
$as_echo "$ac_res" >&6; }
7761
as_val=`eval 'as_val=${'$as_ac_Header'}
7762
$as_echo "$as_val"'`
7763
if test "x$as_val" = x""yes; then
7764
cat >>confdefs.h <<_ACEOF
7765
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7774
for ac_header in dlfcn.h
7776
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7777
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7778
$as_echo_n "checking for $ac_header... " >&6; }
7779
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7780
$as_echo_n "(cached) " >&6
7782
cat >conftest.$ac_ext <<_ACEOF
7785
cat confdefs.h >>conftest.$ac_ext
7786
cat >>conftest.$ac_ext <<_ACEOF
7787
/* end confdefs.h. */
7788
$ac_includes_default
7790
#include <$ac_header>
7792
rm -f conftest.$ac_objext
7793
if { (ac_try="$ac_compile"
7795
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7796
*) ac_try_echo=$ac_try;;
7798
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7799
$as_echo "$ac_try_echo") >&5
7800
(eval "$ac_compile") 2>conftest.er1
7802
grep -v '^ *+' conftest.er1 >conftest.err
7804
cat conftest.err >&5
7805
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7806
(exit $ac_status); } && {
7807
test -z "$ac_c_werror_flag" ||
7808
test ! -s conftest.err
7809
} && test -s conftest.$ac_objext; then
7810
eval "$as_ac_Header=yes"
7812
$as_echo "$as_me: failed program was:" >&5
7813
sed 's/^/| /' conftest.$ac_ext >&5
7815
eval "$as_ac_Header=no"
7818
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7820
ac_res=`eval 'as_val=${'$as_ac_Header'}
7821
$as_echo "$as_val"'`
7822
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7823
$as_echo "$ac_res" >&6; }
7824
as_val=`eval 'as_val=${'$as_ac_Header'}
7825
$as_echo "$as_val"'`
7826
if test "x$as_val" = x""yes; then
7827
cat >>confdefs.h <<_ACEOF
7828
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7847
# Check whether --enable-shared was given.
7848
if test "${enable_shared+set}" = set; then
7849
enableval=$enable_shared; p=${PACKAGE-default}
7851
yes) enable_shared=yes ;;
7852
no) enable_shared=no ;;
7855
# Look at the argument we got. We use all the common list separators.
7856
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7857
for pkg in $enableval; do
7859
if test "X$pkg" = "X$p"; then
7878
# Check whether --enable-static was given.
7879
if test "${enable_static+set}" = set; then
7880
enableval=$enable_static; p=${PACKAGE-default}
7882
yes) enable_static=yes ;;
7883
no) enable_static=no ;;
7886
# Look at the argument we got. We use all the common list separators.
7887
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7888
for pkg in $enableval; do
7890
if test "X$pkg" = "X$p"; then
7910
# Check whether --with-pic was given.
7911
if test "${with_pic+set}" = set; then
7912
withval=$with_pic; pic_mode="$withval"
7918
test -z "$pic_mode" && pic_mode=default
7926
# Check whether --enable-fast-install was given.
7927
if test "${enable_fast_install+set}" = set; then
7928
enableval=$enable_fast_install; p=${PACKAGE-default}
7930
yes) enable_fast_install=yes ;;
7931
no) enable_fast_install=no ;;
7933
enable_fast_install=no
7934
# Look at the argument we got. We use all the common list separators.
7935
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7936
for pkg in $enableval; do
7938
if test "X$pkg" = "X$p"; then
7939
enable_fast_install=yes
7946
enable_fast_install=yes
7959
# This can be used to rebuild libtool when needed
7960
LIBTOOL_DEPS="$ltmain"
7962
# Always use our own libtool.
7963
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7989
test -z "$LN_S" && LN_S="ln -s"
8004
if test -n "${ZSH_VERSION+set}" ; then
8005
setopt NO_GLOB_SUBST
8008
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
8009
$as_echo_n "checking for objdir... " >&6; }
8010
if test "${lt_cv_objdir+set}" = set; then
8011
$as_echo_n "(cached) " >&6
8013
rm -f .libs 2>/dev/null
8014
mkdir .libs 2>/dev/null
8015
if test -d .libs; then
8018
# MS-DOS does not allow filenames that begin with a dot.
8021
rmdir .libs 2>/dev/null
8023
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8024
$as_echo "$lt_cv_objdir" >&6; }
8025
objdir=$lt_cv_objdir
8031
cat >>confdefs.h <<_ACEOF
8032
#define LT_OBJDIR "$lt_cv_objdir/"
8053
# AIX sometimes has problems with the GCC collect2 program. For some
8054
# reason, if we set the COLLECT_NAMES environment variable, the problems
8055
# vanish in a puff of smoke.
8056
if test "X${COLLECT_NAMES+set}" != Xset; then
8058
export COLLECT_NAMES
8063
# Sed substitution that helps us do robust quoting. It backslashifies
8064
# metacharacters that are still active within double-quoted strings.
8065
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
8067
# Same as above, but do not quote variable references.
8068
double_quote_subst='s/\(["`\\]\)/\\\1/g'
8070
# Sed substitution to delay expansion of an escaped shell variable in a
8071
# double_quote_subst'ed string.
8072
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
8074
# Sed substitution to delay expansion of an escaped single quote.
8075
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
8077
# Sed substitution to avoid accidental globbing in evaled expressions
8078
no_glob_subst='s/\*/\\\*/g'
8082
can_build_shared=yes
8084
# All known linkers require a `.a' archive for static linking (except MSVC,
8085
# which needs '.lib').
8088
with_gnu_ld="$lt_cv_prog_gnu_ld"
8091
old_CFLAGS="$CFLAGS"
8093
# Set sane defaults for various variables
8094
test -z "$CC" && CC=cc
8095
test -z "$LTCC" && LTCC=$CC
8096
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8097
test -z "$LD" && LD=ld
8098
test -z "$ac_objext" && ac_objext=o
8100
for cc_temp in $compiler""; do
8102
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8103
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8108
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8111
# Only perform the check for file, if the check method requires it
8112
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8113
case $deplibs_check_method in
8115
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8116
{ $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8117
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8118
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8119
$as_echo_n "(cached) " >&6
8123
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8126
lt_save_MAGIC_CMD="$MAGIC_CMD"
8127
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8128
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8129
for ac_dir in $ac_dummy; do
8131
test -z "$ac_dir" && ac_dir=.
8132
if test -f $ac_dir/${ac_tool_prefix}file; then
8133
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8134
if test -n "$file_magic_test_file"; then
8135
case $deplibs_check_method in
8137
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8138
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8139
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8140
$EGREP "$file_magic_regex" > /dev/null; then
8145
*** Warning: the command libtool uses to detect shared libraries,
8146
*** $file_magic_cmd, produces output that libtool cannot recognize.
8147
*** The result is that libtool may fail to recognize shared libraries
8148
*** as such. This will affect the creation of libtool libraries that
8149
*** depend on shared libraries, but programs linked with such libtool
8150
*** libraries will work regardless of this problem. Nevertheless, you
8151
*** may want to report the problem to your system manager and/or to
8152
*** bug-libtool@gnu.org
8162
MAGIC_CMD="$lt_save_MAGIC_CMD"
8167
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8168
if test -n "$MAGIC_CMD"; then
8169
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8170
$as_echo "$MAGIC_CMD" >&6; }
8172
{ $as_echo "$as_me:$LINENO: result: no" >&5
8173
$as_echo "no" >&6; }
8180
if test -z "$lt_cv_path_MAGIC_CMD"; then
8181
if test -n "$ac_tool_prefix"; then
8182
{ $as_echo "$as_me:$LINENO: checking for file" >&5
8183
$as_echo_n "checking for file... " >&6; }
8184
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8185
$as_echo_n "(cached) " >&6
8189
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8192
lt_save_MAGIC_CMD="$MAGIC_CMD"
8193
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8194
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8195
for ac_dir in $ac_dummy; do
8197
test -z "$ac_dir" && ac_dir=.
8198
if test -f $ac_dir/file; then
8199
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8200
if test -n "$file_magic_test_file"; then
8201
case $deplibs_check_method in
8203
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8204
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8205
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8206
$EGREP "$file_magic_regex" > /dev/null; then
8211
*** Warning: the command libtool uses to detect shared libraries,
8212
*** $file_magic_cmd, produces output that libtool cannot recognize.
8213
*** The result is that libtool may fail to recognize shared libraries
8214
*** as such. This will affect the creation of libtool libraries that
8215
*** depend on shared libraries, but programs linked with such libtool
8216
*** libraries will work regardless of this problem. Nevertheless, you
8217
*** may want to report the problem to your system manager and/or to
8218
*** bug-libtool@gnu.org
8228
MAGIC_CMD="$lt_save_MAGIC_CMD"
8233
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8234
if test -n "$MAGIC_CMD"; then
8235
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8236
$as_echo "$MAGIC_CMD" >&6; }
8238
{ $as_echo "$as_me:$LINENO: result: no" >&5
8239
$as_echo "no" >&6; }
8252
# Use C for the default configuration in the libtool script
8256
ac_cpp='$CPP $CPPFLAGS'
8257
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8258
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8259
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8262
# Source file extension for C test sources.
8265
# Object file extension for compiled C test sources.
8269
# Code to be used in simple compile tests
8270
lt_simple_compile_test_code="int some_variable = 0;"
8272
# Code to be used in simple link tests
8273
lt_simple_link_test_code='int main(){return(0);}'
8281
# If no C compiler was specified, use CC.
8284
# If no C compiler flags were specified, use CFLAGS.
8285
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8287
# Allow CC to be a program name with arguments.
8290
# Save the default compiler, since it gets overwritten when the other
8291
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8292
compiler_DEFAULT=$CC
8294
# save warnings/boilerplate of simple test code
8295
ac_outfile=conftest.$ac_objext
8296
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8297
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8298
_lt_compiler_boilerplate=`cat conftest.err`
8301
ac_outfile=conftest.$ac_objext
8302
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8303
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8304
_lt_linker_boilerplate=`cat conftest.err`
8309
## There is no encapsulation within the following macros, do not change
8310
## the running order or otherwise move them around unless you know exactly
8311
## what you are doing...
8312
if test -n "$compiler"; then
8314
lt_prog_compiler_no_builtin_flag=
8316
if test "$GCC" = yes; then
8317
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
8319
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8320
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8321
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8322
$as_echo_n "(cached) " >&6
8324
lt_cv_prog_compiler_rtti_exceptions=no
8325
ac_outfile=conftest.$ac_objext
8326
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8327
lt_compiler_flag="-fno-rtti -fno-exceptions"
8328
# Insert the option either (1) after the last *FLAGS variable, or
8329
# (2) before a word containing "conftest.", or (3) at the end.
8330
# Note that $ac_compile itself does not contain backslashes and begins
8331
# with a dollar sign (not a hyphen), so the echo should work correctly.
8332
# The option is referenced via a variable to avoid confusing sed.
8333
lt_compile=`echo "$ac_compile" | $SED \
8334
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8335
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8336
-e 's:$: $lt_compiler_flag:'`
8337
(eval echo "\"\$as_me:8337: $lt_compile\"" >&5)
8338
(eval "$lt_compile" 2>conftest.err)
8340
cat conftest.err >&5
8341
echo "$as_me:8341: \$? = $ac_status" >&5
8342
if (exit $ac_status) && test -s "$ac_outfile"; then
8343
# The compiler can only warn and ignore the option if not recognized
8344
# So say no if there are warnings other than the usual output.
8345
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8346
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8347
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8348
lt_cv_prog_compiler_rtti_exceptions=yes
8354
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8355
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8357
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8358
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8370
lt_prog_compiler_wl=
8371
lt_prog_compiler_pic=
8372
lt_prog_compiler_static=
8374
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8375
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8377
if test "$GCC" = yes; then
8378
lt_prog_compiler_wl='-Wl,'
8379
lt_prog_compiler_static='-static'
8383
# All AIX code is PIC.
8384
if test "$host_cpu" = ia64; then
8385
# AIX 5 now supports IA64 processor
8386
lt_prog_compiler_static='-Bstatic'
8393
# see comment about AmigaOS4 .so support
8394
lt_prog_compiler_pic='-fPIC'
8397
# FIXME: we need at least 68020 code to build shared libraries, but
8398
# adding the `-m68020' flag to GCC prevents building anything better,
8400
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8405
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8406
# PIC is the default for these OSes.
8409
mingw* | cygwin* | pw32* | os2* | cegcc*)
8410
# This hack is so that the source file can tell whether it is being
8411
# built for inclusion in a dll (and should export symbols for example).
8412
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8413
# (--disable-auto-import) libraries
8414
lt_prog_compiler_pic='-DDLL_EXPORT'
8417
darwin* | rhapsody*)
8418
# PIC is the default on this platform
8419
# Common symbols not allowed in MH_DYLIB files
8420
lt_prog_compiler_pic='-fno-common'
8424
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8425
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8426
# sets the default TLS model and affects inlining.
8432
lt_prog_compiler_pic='-fPIC'
8438
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8439
# Instead, we relocate shared libraries at runtime.
8443
# Just because we use GCC doesn't mean we suddenly get shared libraries
8444
# on systems that don't support them.
8445
lt_prog_compiler_can_build_shared=no
8450
# QNX uses GNU C++, but need to define -shared option too, otherwise
8452
lt_prog_compiler_pic='-fPIC -shared'
8456
if test -d /usr/nec; then
8457
lt_prog_compiler_pic=-Kconform_pic
8462
lt_prog_compiler_pic='-fPIC'
8466
# PORTME Check for flag to pass linker flags through the system compiler.
8469
lt_prog_compiler_wl='-Wl,'
8470
if test "$host_cpu" = ia64; then
8471
# AIX 5 now supports IA64 processor
8472
lt_prog_compiler_static='-Bstatic'
8474
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8478
mingw* | cygwin* | pw32* | os2* | cegcc*)
8479
# This hack is so that the source file can tell whether it is being
8480
# built for inclusion in a dll (and should export symbols for example).
8481
lt_prog_compiler_pic='-DDLL_EXPORT'
8484
hpux9* | hpux10* | hpux11*)
8485
lt_prog_compiler_wl='-Wl,'
8486
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8493
lt_prog_compiler_pic='+Z'
8496
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8497
lt_prog_compiler_static='${wl}-a ${wl}archive'
8500
irix5* | irix6* | nonstopux*)
8501
lt_prog_compiler_wl='-Wl,'
8502
# PIC (with -KPIC) is the default.
8503
lt_prog_compiler_static='-non_shared'
8506
linux* | k*bsd*-gnu)
8507
case $cc_basename in
8508
# old Intel for x86_64 which still supported -KPIC.
8510
lt_prog_compiler_wl='-Wl,'
8511
lt_prog_compiler_pic='-KPIC'
8512
lt_prog_compiler_static='-static'
8514
# icc used to be incompatible with GCC.
8515
# ICC 10 doesn't accept -KPIC any more.
8517
lt_prog_compiler_wl='-Wl,'
8518
lt_prog_compiler_pic='-fPIC'
8519
lt_prog_compiler_static='-static'
8521
# Lahey Fortran 8.1.
8523
lt_prog_compiler_wl='-Wl,'
8524
lt_prog_compiler_pic='--shared'
8525
lt_prog_compiler_static='--static'
8527
pgcc* | pgf77* | pgf90* | pgf95*)
8528
# Portland Group compilers (*not* the Pentium gcc compiler,
8529
# which looks to be a dead project)
8530
lt_prog_compiler_wl='-Wl,'
8531
lt_prog_compiler_pic='-fpic'
8532
lt_prog_compiler_static='-Bstatic'
8535
lt_prog_compiler_wl='-Wl,'
8536
# All Alpha code is PIC.
8537
lt_prog_compiler_static='-non_shared'
8540
# IBM XL C 8.0/Fortran 10.1 on PPC
8541
lt_prog_compiler_wl='-Wl,'
8542
lt_prog_compiler_pic='-qpic'
8543
lt_prog_compiler_static='-qstaticlink'
8546
case `$CC -V 2>&1 | sed 5q` in
8549
lt_prog_compiler_pic='-KPIC'
8550
lt_prog_compiler_static='-Bstatic'
8551
lt_prog_compiler_wl='-Wl,'
8554
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8555
lt_prog_compiler_pic='-KPIC'
8556
lt_prog_compiler_static='-Bstatic'
8557
lt_prog_compiler_wl=''
8565
lt_prog_compiler_pic='-KPIC'
8566
lt_prog_compiler_static='-Bstatic'
8570
# QNX uses GNU C++, but need to define -shared option too, otherwise
8572
lt_prog_compiler_pic='-fPIC -shared'
8575
osf3* | osf4* | osf5*)
8576
lt_prog_compiler_wl='-Wl,'
8577
# All OSF/1 code is PIC.
8578
lt_prog_compiler_static='-non_shared'
8582
lt_prog_compiler_static='-non_shared'
8586
lt_prog_compiler_pic='-KPIC'
8587
lt_prog_compiler_static='-Bstatic'
8588
case $cc_basename in
8590
lt_prog_compiler_wl='-Qoption ld ';;
8592
lt_prog_compiler_wl='-Wl,';;
8597
lt_prog_compiler_wl='-Qoption ld '
8598
lt_prog_compiler_pic='-PIC'
8599
lt_prog_compiler_static='-Bstatic'
8602
sysv4 | sysv4.2uw2* | sysv4.3*)
8603
lt_prog_compiler_wl='-Wl,'
8604
lt_prog_compiler_pic='-KPIC'
8605
lt_prog_compiler_static='-Bstatic'
8609
if test -d /usr/nec ;then
8610
lt_prog_compiler_pic='-Kconform_pic'
8611
lt_prog_compiler_static='-Bstatic'
8615
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8616
lt_prog_compiler_wl='-Wl,'
8617
lt_prog_compiler_pic='-KPIC'
8618
lt_prog_compiler_static='-Bstatic'
8622
lt_prog_compiler_wl='-Wl,'
8623
lt_prog_compiler_can_build_shared=no
8627
lt_prog_compiler_pic='-pic'
8628
lt_prog_compiler_static='-Bstatic'
8632
lt_prog_compiler_can_build_shared=no
8638
# For platforms which do not support PIC, -DPIC is meaningless:
8640
lt_prog_compiler_pic=
8643
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8646
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8647
$as_echo "$lt_prog_compiler_pic" >&6; }
8655
# Check to make sure the PIC flag actually works.
8657
if test -n "$lt_prog_compiler_pic"; then
8658
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8659
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8660
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8661
$as_echo_n "(cached) " >&6
8663
lt_cv_prog_compiler_pic_works=no
8664
ac_outfile=conftest.$ac_objext
8665
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8666
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8667
# Insert the option either (1) after the last *FLAGS variable, or
8668
# (2) before a word containing "conftest.", or (3) at the end.
8669
# Note that $ac_compile itself does not contain backslashes and begins
8670
# with a dollar sign (not a hyphen), so the echo should work correctly.
8671
# The option is referenced via a variable to avoid confusing sed.
8672
lt_compile=`echo "$ac_compile" | $SED \
8673
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8674
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8675
-e 's:$: $lt_compiler_flag:'`
8676
(eval echo "\"\$as_me:8676: $lt_compile\"" >&5)
8677
(eval "$lt_compile" 2>conftest.err)
8679
cat conftest.err >&5
8680
echo "$as_me:8680: \$? = $ac_status" >&5
8681
if (exit $ac_status) && test -s "$ac_outfile"; then
8682
# The compiler can only warn and ignore the option if not recognized
8683
# So say no if there are warnings other than the usual output.
8684
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8685
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8686
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8687
lt_cv_prog_compiler_pic_works=yes
8693
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8694
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8696
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8697
case $lt_prog_compiler_pic in
8699
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8702
lt_prog_compiler_pic=
8703
lt_prog_compiler_can_build_shared=no
8714
# Check to make sure the static flag actually works.
8716
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8717
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8718
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8719
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8720
$as_echo_n "(cached) " >&6
8722
lt_cv_prog_compiler_static_works=no
8723
save_LDFLAGS="$LDFLAGS"
8724
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8725
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8726
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8727
# The linker can only warn and ignore the option if not recognized
8728
# So say no if there are warnings
8729
if test -s conftest.err; then
8730
# Append any errors to the config.log.
8731
cat conftest.err 1>&5
8732
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8733
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8734
if diff conftest.exp conftest.er2 >/dev/null; then
8735
lt_cv_prog_compiler_static_works=yes
8738
lt_cv_prog_compiler_static_works=yes
8742
LDFLAGS="$save_LDFLAGS"
8745
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8746
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8748
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8751
lt_prog_compiler_static=
8760
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8761
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8762
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8763
$as_echo_n "(cached) " >&6
8765
lt_cv_prog_compiler_c_o=no
8766
$RM -r conftest 2>/dev/null
8770
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8772
lt_compiler_flag="-o out/conftest2.$ac_objext"
8773
# Insert the option either (1) after the last *FLAGS variable, or
8774
# (2) before a word containing "conftest.", or (3) at the end.
8775
# Note that $ac_compile itself does not contain backslashes and begins
8776
# with a dollar sign (not a hyphen), so the echo should work correctly.
8777
lt_compile=`echo "$ac_compile" | $SED \
8778
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8779
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8780
-e 's:$: $lt_compiler_flag:'`
8781
(eval echo "\"\$as_me:8781: $lt_compile\"" >&5)
8782
(eval "$lt_compile" 2>out/conftest.err)
8784
cat out/conftest.err >&5
8785
echo "$as_me:8785: \$? = $ac_status" >&5
8786
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8788
# The compiler can only warn and ignore the option if not recognized
8789
# So say no if there are warnings
8790
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8791
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8792
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8793
lt_cv_prog_compiler_c_o=yes
8798
# SGI C++ compiler will create directory out/ii_files/ for
8799
# template instantiation
8800
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8801
$RM out/* && rmdir out
8807
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8808
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8815
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8816
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8817
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8818
$as_echo_n "(cached) " >&6
8820
lt_cv_prog_compiler_c_o=no
8821
$RM -r conftest 2>/dev/null
8825
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8827
lt_compiler_flag="-o out/conftest2.$ac_objext"
8828
# Insert the option either (1) after the last *FLAGS variable, or
8829
# (2) before a word containing "conftest.", or (3) at the end.
8830
# Note that $ac_compile itself does not contain backslashes and begins
8831
# with a dollar sign (not a hyphen), so the echo should work correctly.
8832
lt_compile=`echo "$ac_compile" | $SED \
8833
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8834
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8835
-e 's:$: $lt_compiler_flag:'`
8836
(eval echo "\"\$as_me:8836: $lt_compile\"" >&5)
8837
(eval "$lt_compile" 2>out/conftest.err)
8839
cat out/conftest.err >&5
8840
echo "$as_me:8840: \$? = $ac_status" >&5
8841
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8843
# The compiler can only warn and ignore the option if not recognized
8844
# So say no if there are warnings
8845
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8846
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8847
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8848
lt_cv_prog_compiler_c_o=yes
8853
# SGI C++ compiler will create directory out/ii_files/ for
8854
# template instantiation
8855
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8856
$RM out/* && rmdir out
8862
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8863
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8868
hard_links="nottested"
8869
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8870
# do not overwrite the value of need_locks provided by the user
8871
{ $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8872
$as_echo_n "checking if we can lock with hard links... " >&6; }
8875
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8877
ln conftest.a conftest.b 2>&5 || hard_links=no
8878
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8879
{ $as_echo "$as_me:$LINENO: result: $hard_links" >&5
8880
$as_echo "$hard_links" >&6; }
8881
if test "$hard_links" = no; then
8882
{ $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8883
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8895
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8896
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8899
allow_undefined_flag=
8900
always_export_symbols=no
8902
archive_expsym_cmds=
8903
compiler_needs_object=no
8904
enable_shared_with_static_runtimes=no
8905
export_dynamic_flag_spec=
8906
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8907
hardcode_automatic=no
8909
hardcode_direct_absolute=no
8910
hardcode_libdir_flag_spec=
8911
hardcode_libdir_flag_spec_ld=
8912
hardcode_libdir_separator=
8914
hardcode_shlibpath_var=unsupported
8916
link_all_deplibs=unknown
8919
old_archive_from_new_cmds=
8920
old_archive_from_expsyms_cmds=
8921
thread_safe_flag_spec=
8922
whole_archive_flag_spec=
8923
# include_expsyms should be a list of space-separated symbols to be *always*
8924
# included in the symbol list
8926
# exclude_expsyms can be an extended regexp of symbols to exclude
8927
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8928
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8929
# as well as any symbol that contains `d'.
8930
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8931
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8932
# platforms (ab)use it in PIC code, but their linkers get confused if
8933
# the symbol is explicitly referenced. Since portable code cannot
8934
# rely on this symbol name, it's probably fine to never include it in
8935
# preloaded symbol tables.
8936
# Exclude shared library initialization/finalization symbols.
8937
extract_expsyms_cmds=
8940
cygwin* | mingw* | pw32* | cegcc*)
8941
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8942
# When not using gcc, we currently assume that we are using
8943
# Microsoft Visual C++.
8944
if test "$GCC" != yes; then
8949
# we just hope/assume this is gcc and not c89 (= MSVC++)
8958
if test "$with_gnu_ld" = yes; then
8959
# If archive_cmds runs LD, not CC, wlarc should be empty
8962
# Set some defaults for GNU ld with shared library support. These
8963
# are reset later if shared libraries are not supported. Putting them
8964
# here allows them to be overridden if necessary.
8965
runpath_var=LD_RUN_PATH
8966
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8967
export_dynamic_flag_spec='${wl}--export-dynamic'
8968
# ancient GNU ld didn't support --whole-archive et. al.
8969
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8970
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8972
whole_archive_flag_spec=
8974
supports_anon_versioning=no
8975
case `$LD -v 2>&1` in
8976
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8977
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8978
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8979
*\ 2.11.*) ;; # other 2.11 versions
8980
*) supports_anon_versioning=yes ;;
8983
# See if GNU ld supports shared libraries.
8986
# On AIX/PPC, the GNU linker is very broken
8987
if test "$host_cpu" != ia64; then
8991
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8992
*** to be unable to reliably create shared libraries on AIX.
8993
*** Therefore, libtool is disabling shared libraries support. If you
8994
*** really care for shared libraries, you may want to modify your PATH
8995
*** so that a non-GNU linker is found, and then restart.
9004
# see comment about AmigaOS4 .so support
9005
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9006
archive_expsym_cmds=''
9009
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)'
9010
hardcode_libdir_flag_spec='-L$libdir'
9011
hardcode_minus_L=yes
9017
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9018
allow_undefined_flag=unsupported
9019
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9020
# support --undefined. This deserves some investigation. FIXME
9021
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9027
cygwin* | mingw* | pw32* | cegcc*)
9028
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9029
# as there is no search path for DLLs.
9030
hardcode_libdir_flag_spec='-L$libdir'
9031
allow_undefined_flag=unsupported
9032
always_export_symbols=no
9033
enable_shared_with_static_runtimes=yes
9034
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9036
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9037
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9038
# If the export-symbols file already is a .def file (1st line
9039
# is EXPORTS), use it as is; otherwise, prepend...
9040
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9041
cp $export_symbols $output_objdir/$soname.def;
9043
echo EXPORTS > $output_objdir/$soname.def;
9044
cat $export_symbols >> $output_objdir/$soname.def;
9046
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9054
hardcode_shlibpath_var=no
9055
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9056
export_dynamic_flag_spec='${wl}-E'
9057
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9058
# Instead, shared libraries are loaded at an image base (0x10000000 by
9059
# default) and relocated if they conflict, which is a slow very memory
9060
# consuming and fragmenting process. To avoid this, we pick a random,
9061
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9062
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9063
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9064
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'
9067
gnu* | linux* | tpf* | k*bsd*-gnu)
9069
if test "$host_os" = linux-dietlibc; then
9070
case $cc_basename in
9071
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9074
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9075
&& test "$tmp_diet" = no
9078
tmp_sharedflag='-shared'
9079
case $cc_basename,$host_cpu in
9080
pgcc*) # Portland Group C compiler
9081
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9082
tmp_addflag=' $pic_flag'
9084
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
9085
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9086
tmp_addflag=' $pic_flag -Mnomain' ;;
9087
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9088
tmp_addflag=' -i_dynamic' ;;
9089
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9090
tmp_addflag=' -i_dynamic -nofor_main' ;;
9091
ifc* | ifort*) # Intel Fortran compiler
9092
tmp_addflag=' -nofor_main' ;;
9093
lf95*) # Lahey Fortran 8.1
9094
whole_archive_flag_spec=
9095
tmp_sharedflag='--shared' ;;
9096
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9097
tmp_sharedflag='-qmkshrobj'
9100
case `$CC -V 2>&1 | sed 5q` in
9101
*Sun\ C*) # Sun C 5.9
9102
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
9103
compiler_needs_object=yes
9104
tmp_sharedflag='-G' ;;
9105
*Sun\ F*) # Sun Fortran 8.3
9106
tmp_sharedflag='-G' ;;
9108
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9110
if test "x$supports_anon_versioning" = xyes; then
9111
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9112
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9113
echo "local: *; };" >> $output_objdir/$libname.ver~
9114
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9117
case $cc_basename in
9119
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9120
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9121
hardcode_libdir_flag_spec=
9122
hardcode_libdir_flag_spec_ld='-rpath $libdir'
9123
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9124
if test "x$supports_anon_versioning" = xyes; then
9125
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9126
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9127
echo "local: *; };" >> $output_objdir/$libname.ver~
9128
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9137
netbsd* | netbsdelf*-gnu)
9138
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9139
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9142
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9143
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9148
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9152
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9153
*** create shared libraries on Solaris systems. Therefore, libtool
9154
*** is disabling shared libraries support. We urge you to upgrade GNU
9155
*** binutils to release 2.9.1 or newer. Another option is to modify
9156
*** your PATH or compiler configuration so that the native linker is
9157
*** used, and then restart.
9160
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9161
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9162
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9168
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9169
case `$LD -v 2>&1` in
9170
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9174
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9175
*** reliably create shared libraries on SCO systems. Therefore, libtool
9176
*** is disabling shared libraries support. We urge you to upgrade GNU
9177
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9178
*** your PATH or compiler configuration so that the native linker is
9179
*** used, and then restart.
9184
# For security reasons, it is highly recommended that you always
9185
# use absolute paths for naming shared libraries, and exclude the
9186
# DT_RUNPATH tag from executables and libraries. But doing so
9187
# requires that you compile everything twice, which is a pain.
9188
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9189
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9190
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9191
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9200
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9203
hardcode_shlibpath_var=no
9207
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9208
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9209
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9216
if test "$ld_shlibs" = no; then
9218
hardcode_libdir_flag_spec=
9219
export_dynamic_flag_spec=
9220
whole_archive_flag_spec=
9223
# PORTME fill in a description of your system's linker (not GNU ld)
9226
allow_undefined_flag=unsupported
9227
always_export_symbols=yes
9228
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'
9229
# Note: this linker hardcodes the directories in LIBPATH if there
9230
# are no directories specified by -L.
9231
hardcode_minus_L=yes
9232
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9233
# Neither direct hardcoding nor static linking is supported with a
9235
hardcode_direct=unsupported
9240
if test "$host_cpu" = ia64; then
9241
# On IA64, the linker does run time linking by default, so we don't
9242
# have to do anything special.
9243
aix_use_runtimelinking=no
9244
exp_sym_flag='-Bexport'
9247
# If we're using GNU nm, then we don't want the "-C" option.
9248
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9249
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9250
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9252
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'
9254
aix_use_runtimelinking=no
9256
# Test if we are trying to use run time linking or normal
9257
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9258
# need to do runtime linking.
9259
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9260
for ld_flag in $LDFLAGS; do
9261
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9262
aix_use_runtimelinking=yes
9269
exp_sym_flag='-bexport'
9270
no_entry_flag='-bnoentry'
9273
# When large executables or shared objects are built, AIX ld can
9274
# have problems creating the table of contents. If linking a library
9275
# or program results in "error TOC overflow" add -mminimal-toc to
9276
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9277
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9281
hardcode_direct_absolute=yes
9282
hardcode_libdir_separator=':'
9283
link_all_deplibs=yes
9284
file_list_spec='${wl}-f,'
9286
if test "$GCC" = yes; then
9287
case $host_os in aix4.[012]|aix4.[012].*)
9288
# We only want to do this on AIX 4.2 and lower, the check
9289
# below for broken collect2 doesn't work under 4.3+
9290
collect2name=`${CC} -print-prog-name=collect2`
9291
if test -f "$collect2name" &&
9292
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9294
# We have reworked collect2
9297
# We have old collect2
9298
hardcode_direct=unsupported
9299
# It fails to find uninstalled libraries when the uninstalled
9300
# path is not listed in the libpath. Setting hardcode_minus_L
9301
# to unsupported forces relinking
9302
hardcode_minus_L=yes
9303
hardcode_libdir_flag_spec='-L$libdir'
9304
hardcode_libdir_separator=
9308
shared_flag='-shared'
9309
if test "$aix_use_runtimelinking" = yes; then
9310
shared_flag="$shared_flag "'${wl}-G'
9315
if test "$host_cpu" = ia64; then
9316
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9317
# chokes on -Wl,-G. The following line is correct:
9320
if test "$aix_use_runtimelinking" = yes; then
9321
shared_flag='${wl}-G'
9323
shared_flag='${wl}-bM:SRE'
9328
export_dynamic_flag_spec='${wl}-bexpall'
9329
# It seems that -bexpall does not export symbols beginning with
9330
# underscore (_), so it is better to generate a list of symbols to export.
9331
always_export_symbols=yes
9332
if test "$aix_use_runtimelinking" = yes; then
9333
# Warning - without using the other runtime loading flags (-brtl),
9334
# -berok will link without error, but may produce a broken library.
9335
allow_undefined_flag='-berok'
9336
# Determine the default libpath from the value encoded in an
9338
cat >conftest.$ac_ext <<_ACEOF
9341
cat confdefs.h >>conftest.$ac_ext
9342
cat >>conftest.$ac_ext <<_ACEOF
9343
/* end confdefs.h. */
9353
rm -f conftest.$ac_objext conftest$ac_exeext
9354
if { (ac_try="$ac_link"
9356
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9357
*) ac_try_echo=$ac_try;;
9359
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9360
$as_echo "$ac_try_echo") >&5
9361
(eval "$ac_link") 2>conftest.er1
9363
grep -v '^ *+' conftest.er1 >conftest.err
9365
cat conftest.err >&5
9366
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9367
(exit $ac_status); } && {
9368
test -z "$ac_c_werror_flag" ||
9369
test ! -s conftest.err
9370
} && test -s conftest$ac_exeext && {
9371
test "$cross_compiling" = yes ||
9372
$as_test_x conftest$ac_exeext
9375
lt_aix_libpath_sed='
9376
/Import File Strings/,/^$/ {
9382
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9383
# Check for a 64-bit object if we didn't find anything.
9384
if test -z "$aix_libpath"; then
9385
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9388
$as_echo "$as_me: failed program was:" >&5
9389
sed 's/^/| /' conftest.$ac_ext >&5
9394
rm -rf conftest.dSYM
9395
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9396
conftest$ac_exeext conftest.$ac_ext
9397
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9399
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9400
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9402
if test "$host_cpu" = ia64; then
9403
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9404
allow_undefined_flag="-z nodefs"
9405
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"
9407
# Determine the default libpath from the value encoded in an
9409
cat >conftest.$ac_ext <<_ACEOF
9412
cat confdefs.h >>conftest.$ac_ext
9413
cat >>conftest.$ac_ext <<_ACEOF
9414
/* end confdefs.h. */
9424
rm -f conftest.$ac_objext conftest$ac_exeext
9425
if { (ac_try="$ac_link"
9427
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9428
*) ac_try_echo=$ac_try;;
9430
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9431
$as_echo "$ac_try_echo") >&5
9432
(eval "$ac_link") 2>conftest.er1
9434
grep -v '^ *+' conftest.er1 >conftest.err
9436
cat conftest.err >&5
9437
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9438
(exit $ac_status); } && {
9439
test -z "$ac_c_werror_flag" ||
9440
test ! -s conftest.err
9441
} && test -s conftest$ac_exeext && {
9442
test "$cross_compiling" = yes ||
9443
$as_test_x conftest$ac_exeext
9446
lt_aix_libpath_sed='
9447
/Import File Strings/,/^$/ {
9453
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9454
# Check for a 64-bit object if we didn't find anything.
9455
if test -z "$aix_libpath"; then
9456
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9459
$as_echo "$as_me: failed program was:" >&5
9460
sed 's/^/| /' conftest.$ac_ext >&5
9465
rm -rf conftest.dSYM
9466
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9467
conftest$ac_exeext conftest.$ac_ext
9468
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9470
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9471
# Warning - without using the other run time loading flags,
9472
# -berok will link without error, but may produce a broken library.
9473
no_undefined_flag=' ${wl}-bernotok'
9474
allow_undefined_flag=' ${wl}-berok'
9475
# Exported symbols can be pulled into shared objects from archives
9476
whole_archive_flag_spec='$convenience'
9477
archive_cmds_need_lc=yes
9478
# This is similar to how AIX traditionally builds its shared libraries.
9479
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'
9487
# see comment about AmigaOS4 .so support
9488
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9489
archive_expsym_cmds=''
9492
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)'
9493
hardcode_libdir_flag_spec='-L$libdir'
9494
hardcode_minus_L=yes
9500
export_dynamic_flag_spec=-rdynamic
9503
cygwin* | mingw* | pw32* | cegcc*)
9504
# When not using gcc, we currently assume that we are using
9505
# Microsoft Visual C++.
9506
# hardcode_libdir_flag_spec is actually meaningless, as there is
9507
# no search path for DLLs.
9508
hardcode_libdir_flag_spec=' '
9509
allow_undefined_flag=unsupported
9510
# Tell ltmain to make .lib files, not .a files.
9512
# Tell ltmain to make .dll files, not .so files.
9514
# FIXME: Setting linknames here is a bad hack.
9515
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9516
# The linker will automatically build a .lib file if we build a DLL.
9517
old_archive_from_new_cmds='true'
9518
# FIXME: Should let the user specify the lib program.
9519
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9520
fix_srcfile_path='`cygpath -w "$srcfile"`'
9521
enable_shared_with_static_runtimes=yes
9524
darwin* | rhapsody*)
9527
archive_cmds_need_lc=no
9529
hardcode_automatic=yes
9530
hardcode_shlibpath_var=unsupported
9531
whole_archive_flag_spec=''
9532
link_all_deplibs=yes
9533
allow_undefined_flag="$_lt_dar_allow_undefined"
9534
case $cc_basename in
9535
ifort*) _lt_dar_can_shared=yes ;;
9536
*) _lt_dar_can_shared=$GCC ;;
9538
if test "$_lt_dar_can_shared" = "yes"; then
9539
output_verbose_link_cmd=echo
9540
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9541
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9542
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}"
9543
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}"
9552
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9553
hardcode_libdir_flag_spec='-L$libdir'
9554
hardcode_shlibpath_var=no
9561
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9562
# support. Future versions do this automatically, but an explicit c++rt0.o
9563
# does not break anything, and helps significantly (at the cost of a little
9566
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9567
hardcode_libdir_flag_spec='-R$libdir'
9569
hardcode_shlibpath_var=no
9572
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9574
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9576
hardcode_minus_L=yes
9577
hardcode_shlibpath_var=no
9580
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9581
freebsd* | dragonfly*)
9582
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9583
hardcode_libdir_flag_spec='-R$libdir'
9585
hardcode_shlibpath_var=no
9589
if test "$GCC" = yes; then
9590
archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9592
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'
9594
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9595
hardcode_libdir_separator=:
9598
# hardcode_minus_L: Not really in the search PATH,
9599
# but as the default location of the library.
9600
hardcode_minus_L=yes
9601
export_dynamic_flag_spec='${wl}-E'
9605
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9606
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9608
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9610
if test "$with_gnu_ld" = no; then
9611
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9612
hardcode_libdir_flag_spec_ld='+b $libdir'
9613
hardcode_libdir_separator=:
9615
hardcode_direct_absolute=yes
9616
export_dynamic_flag_spec='${wl}-E'
9617
# hardcode_minus_L: Not really in the search PATH,
9618
# but as the default location of the library.
9619
hardcode_minus_L=yes
9624
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9627
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9630
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9633
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9639
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9642
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9645
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9649
if test "$with_gnu_ld" = no; then
9650
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9651
hardcode_libdir_separator=:
9656
hardcode_shlibpath_var=no
9660
hardcode_direct_absolute=yes
9661
export_dynamic_flag_spec='${wl}-E'
9663
# hardcode_minus_L: Not really in the search PATH,
9664
# but as the default location of the library.
9665
hardcode_minus_L=yes
9671
irix5* | irix6* | nonstopux*)
9672
if test "$GCC" = yes; then
9673
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9674
# Try to use the -exported_symbol ld option, if it does not
9675
# work, assume that -exports_file does not work either and
9676
# implicitly export all symbols.
9677
save_LDFLAGS="$LDFLAGS"
9678
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9679
cat >conftest.$ac_ext <<_ACEOF
9682
rm -f conftest.$ac_objext conftest$ac_exeext
9683
if { (ac_try="$ac_link"
9685
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9686
*) ac_try_echo=$ac_try;;
9688
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9689
$as_echo "$ac_try_echo") >&5
9690
(eval "$ac_link") 2>conftest.er1
9692
grep -v '^ *+' conftest.er1 >conftest.err
9694
cat conftest.err >&5
9695
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696
(exit $ac_status); } && {
9697
test -z "$ac_c_werror_flag" ||
9698
test ! -s conftest.err
9699
} && test -s conftest$ac_exeext && {
9700
test "$cross_compiling" = yes ||
9701
$as_test_x conftest$ac_exeext
9703
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9706
$as_echo "$as_me: failed program was:" >&5
9707
sed 's/^/| /' conftest.$ac_ext >&5
9712
rm -rf conftest.dSYM
9713
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9714
conftest$ac_exeext conftest.$ac_ext
9715
LDFLAGS="$save_LDFLAGS"
9717
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9718
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9720
archive_cmds_need_lc='no'
9721
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9722
hardcode_libdir_separator=:
9724
link_all_deplibs=yes
9727
netbsd* | netbsdelf*-gnu)
9728
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9729
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9731
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9733
hardcode_libdir_flag_spec='-R$libdir'
9735
hardcode_shlibpath_var=no
9739
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9741
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9742
hardcode_libdir_separator=:
9743
hardcode_shlibpath_var=no
9750
if test -f /usr/libexec/ld.so; then
9752
hardcode_shlibpath_var=no
9753
hardcode_direct_absolute=yes
9754
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9755
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9756
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9757
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9758
export_dynamic_flag_spec='${wl}-E'
9761
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9762
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9763
hardcode_libdir_flag_spec='-R$libdir'
9766
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9767
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9777
hardcode_libdir_flag_spec='-L$libdir'
9778
hardcode_minus_L=yes
9779
allow_undefined_flag=unsupported
9780
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'
9781
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9785
if test "$GCC" = yes; then
9786
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9787
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9789
allow_undefined_flag=' -expect_unresolved \*'
9790
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9792
archive_cmds_need_lc='no'
9793
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9794
hardcode_libdir_separator=:
9797
osf4* | osf5*) # as osf3* with the addition of -msym flag
9798
if test "$GCC" = yes; then
9799
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9800
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9801
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9803
allow_undefined_flag=' -expect_unresolved \*'
9804
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9805
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~
9806
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9808
# Both c and cxx compiler support -rpath directly
9809
hardcode_libdir_flag_spec='-rpath $libdir'
9811
archive_cmds_need_lc='no'
9812
hardcode_libdir_separator=:
9816
no_undefined_flag=' -z defs'
9817
if test "$GCC" = yes; then
9819
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9820
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9821
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9823
case `$CC -V 2>&1` in
9826
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9827
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9828
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9832
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9833
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9834
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9838
hardcode_libdir_flag_spec='-R$libdir'
9839
hardcode_shlibpath_var=no
9841
solaris2.[0-5] | solaris2.[0-5].*) ;;
9843
# The compiler driver will combine and reorder linker options,
9844
# but understands `-z linker_flag'. GCC discards it without `$wl',
9845
# but is careful enough not to reorder.
9846
# Supported since Solaris 2.6 (maybe 2.5.1?)
9847
if test "$GCC" = yes; then
9848
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9850
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9854
link_all_deplibs=yes
9858
if test "x$host_vendor" = xsequent; then
9859
# Use $CC to link under sequent, because it throws in some extra .o
9860
# files that make .init and .fini sections work.
9861
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9863
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9865
hardcode_libdir_flag_spec='-L$libdir'
9867
hardcode_minus_L=yes
9868
hardcode_shlibpath_var=no
9872
case $host_vendor in
9874
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9875
hardcode_direct=yes # is this really true???
9878
## LD is ld it makes a PLAMLIB
9879
## CC just makes a GrossModule.
9880
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9881
reload_cmds='$CC -r -o $output$reload_objs'
9885
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9886
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9889
runpath_var='LD_RUN_PATH'
9890
hardcode_shlibpath_var=no
9894
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9895
hardcode_shlibpath_var=no
9896
export_dynamic_flag_spec='-Bexport'
9900
if test -d /usr/nec; then
9901
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9902
hardcode_shlibpath_var=no
9903
runpath_var=LD_RUN_PATH
9904
hardcode_runpath_var=yes
9909
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9910
no_undefined_flag='${wl}-z,text'
9911
archive_cmds_need_lc=no
9912
hardcode_shlibpath_var=no
9913
runpath_var='LD_RUN_PATH'
9915
if test "$GCC" = yes; then
9916
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9917
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9919
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9920
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9924
sysv5* | sco3.2v5* | sco5v6*)
9925
# Note: We can NOT use -z defs as we might desire, because we do not
9926
# link with -lc, and that would cause any symbols used from libc to
9927
# always be unresolved, which means just about no library would
9928
# ever link correctly. If we're not using GNU ld we use -z text
9929
# though, which does catch some bad symbols but isn't as heavy-handed
9931
no_undefined_flag='${wl}-z,text'
9932
allow_undefined_flag='${wl}-z,nodefs'
9933
archive_cmds_need_lc=no
9934
hardcode_shlibpath_var=no
9935
hardcode_libdir_flag_spec='${wl}-R,$libdir'
9936
hardcode_libdir_separator=':'
9937
link_all_deplibs=yes
9938
export_dynamic_flag_spec='${wl}-Bexport'
9939
runpath_var='LD_RUN_PATH'
9941
if test "$GCC" = yes; then
9942
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9943
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9945
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9946
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9951
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9952
hardcode_libdir_flag_spec='-L$libdir'
9953
hardcode_shlibpath_var=no
9961
if test x$host_vendor = xsni; then
9963
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9964
export_dynamic_flag_spec='${wl}-Blargedynsym'
9970
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9971
$as_echo "$ld_shlibs" >&6; }
9972
test "$ld_shlibs" = no && can_build_shared=no
9974
with_gnu_ld=$with_gnu_ld
9991
# Do we need to explicitly link libc?
9993
case "x$archive_cmds_need_lc" in
9995
# Assume -lc should be added
9996
archive_cmds_need_lc=yes
9998
if test "$enable_shared" = yes && test "$GCC" = yes; then
9999
case $archive_cmds in
10001
# FIXME: we may have to deal with multi-command sequences.
10004
# Test whether the compiler implicitly links with -lc since on some
10005
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10006
# to ld, don't add -lc before -lgcc.
10007
{ $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10008
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10010
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10012
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10013
(eval $ac_compile) 2>&5
10015
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016
(exit $ac_status); } 2>conftest.err; then
10019
libobjs=conftest.$ac_objext
10021
wl=$lt_prog_compiler_wl
10022
pic_flag=$lt_prog_compiler_pic
10028
lt_save_allow_undefined_flag=$allow_undefined_flag
10029
allow_undefined_flag=
10030
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10031
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10033
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034
(exit $ac_status); }
10036
archive_cmds_need_lc=no
10038
archive_cmds_need_lc=yes
10040
allow_undefined_flag=$lt_save_allow_undefined_flag
10042
cat conftest.err 1>&5
10045
{ $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10046
$as_echo "$archive_cmds_need_lc" >&6; }
10209
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10210
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10212
if test "$GCC" = yes; then
10214
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10215
*) lt_awk_arg="/^libraries:/" ;;
10217
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10218
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
10219
# if the path contains ";" then we assume it to be the separator
10220
# otherwise default to the standard path separator (i.e. ":") - it is
10221
# assumed that no part of a normal pathname contains ";" but that should
10222
# okay in the real world where ";" in dirpaths is itself problematic.
10223
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10225
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10227
# Ok, now we have the path, separated by spaces, we can step through it
10228
# and add multilib dir if necessary.
10229
lt_tmp_lt_search_path_spec=
10230
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10231
for lt_sys_path in $lt_search_path_spec; do
10232
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10233
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10235
test -d "$lt_sys_path" && \
10236
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10239
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10240
BEGIN {RS=" "; FS="/|\n";} {
10243
for (lt_i = NF; lt_i > 0; lt_i--) {
10244
if ($lt_i != "" && $lt_i != ".") {
10245
if ($lt_i == "..") {
10248
if (lt_count == 0) {
10249
lt_foo="/" $lt_i lt_foo;
10256
if (lt_foo != "") { lt_freq[lt_foo]++; }
10257
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10259
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
10261
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10263
library_names_spec=
10264
libname_spec='lib$name'
10268
postuninstall_cmds=
10272
shlibpath_overrides_runpath=unknown
10274
dynamic_linker="$host_os ld.so"
10275
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10276
need_lib_prefix=unknown
10277
hardcode_into_libs=no
10279
# when you set need_version to no, make sure it does not cause -set_version
10280
# flags to be left without arguments
10281
need_version=unknown
10286
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10287
shlibpath_var=LIBPATH
10289
# AIX 3 has no versioning support, so we append a major version to the name.
10290
soname_spec='${libname}${release}${shared_ext}$major'
10297
hardcode_into_libs=yes
10298
if test "$host_cpu" = ia64; then
10299
# AIX 5 supports IA64
10300
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10301
shlibpath_var=LD_LIBRARY_PATH
10303
# With GCC up to 2.95.x, collect2 would create an import file
10304
# for dependence libraries. The import file would start with
10305
# the line `#! .'. This would cause the generated library to
10306
# depend on `.', always an invalid library. This was fixed in
10307
# development snapshots of GCC prior to 3.0.
10309
aix4 | aix4.[01] | aix4.[01].*)
10310
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10312
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10315
can_build_shared=no
10319
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10320
# soname into executable. Probably we can add versioning support to
10321
# collect2, so additional links can be useful in future.
10322
if test "$aix_use_runtimelinking" = yes; then
10323
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10324
# instead of lib<name>.a to let people know that these are not
10325
# typical AIX shared libraries.
10326
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10328
# We preserve .a as extension for shared libraries through AIX4.2
10329
# and later when we are not doing run time linking.
10330
library_names_spec='${libname}${release}.a $libname.a'
10331
soname_spec='${libname}${release}${shared_ext}$major'
10333
shlibpath_var=LIBPATH
10340
# Since July 2007 AmigaOS4 officially supports .so libraries.
10341
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10342
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10345
library_names_spec='$libname.ixlibrary $libname.a'
10346
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10347
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10353
library_names_spec='${libname}${shared_ext}'
10354
dynamic_linker="$host_os ld.so"
10355
shlibpath_var=LIBRARY_PATH
10361
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10362
soname_spec='${libname}${release}${shared_ext}$major'
10363
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10364
shlibpath_var=LD_LIBRARY_PATH
10365
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10366
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10367
# the default ld.so.conf also contains /usr/contrib/lib and
10368
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10369
# libtool to hard-code these into programs
10372
cygwin* | mingw* | pw32* | cegcc*)
10373
version_type=windows
10378
case $GCC,$host_os in
10379
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10380
library_names_spec='$libname.dll.a'
10381
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10382
postinstall_cmds='base_file=`basename \${file}`~
10383
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10384
dldir=$destdir/`dirname \$dlpath`~
10385
test -d \$dldir || mkdir -p \$dldir~
10386
$install_prog $dir/$dlname \$dldir/$dlname~
10387
chmod a+x \$dldir/$dlname~
10388
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10389
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10391
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10392
dlpath=$dir/\$dldll~
10394
shlibpath_overrides_runpath=yes
10398
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10399
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10400
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
10403
# MinGW DLLs use traditional 'lib' prefix
10404
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10405
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10406
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10407
# It is most probably a Windows format PATH printed by
10408
# mingw gcc, but we are running on Cygwin. Gcc prints its search
10409
# path with ; separators, and with drive letters. We can handle the
10410
# drive letters (cygwin fileutils understands them), so leave them,
10411
# especially as we might pass files found there to a mingw objdump,
10412
# which wouldn't understand a cygwinified path. Ahh.
10413
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10415
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10419
# pw32 DLLs use 'pw' prefix rather than 'lib'
10420
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10426
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10429
dynamic_linker='Win32 ld.exe'
10430
# FIXME: first we should search . and the directory the executable is in
10434
darwin* | rhapsody*)
10435
dynamic_linker="$host_os dyld"
10436
version_type=darwin
10439
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10440
soname_spec='${libname}${release}${major}$shared_ext'
10441
shlibpath_overrides_runpath=yes
10442
shlibpath_var=DYLD_LIBRARY_PATH
10443
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10445
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10446
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10453
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10454
soname_spec='${libname}${release}${shared_ext}$major'
10455
shlibpath_var=LD_LIBRARY_PATH
10462
freebsd* | dragonfly*)
10463
# DragonFly does not have aout. When/if they implement a new
10464
# versioning mechanism, adjust this.
10465
if test -x /usr/bin/objformat; then
10466
objformat=`/usr/bin/objformat`
10469
freebsd[123]*) objformat=aout ;;
10470
*) objformat=elf ;;
10473
version_type=freebsd-$objformat
10474
case $version_type in
10476
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10481
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10485
shlibpath_var=LD_LIBRARY_PATH
10488
shlibpath_overrides_runpath=yes
10490
freebsd3.[01]* | freebsdelf3.[01]*)
10491
shlibpath_overrides_runpath=yes
10492
hardcode_into_libs=yes
10494
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10495
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10496
shlibpath_overrides_runpath=no
10497
hardcode_into_libs=yes
10499
*) # from 4.6 on, and DragonFly
10500
shlibpath_overrides_runpath=yes
10501
hardcode_into_libs=yes
10510
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10511
soname_spec='${libname}${release}${shared_ext}$major'
10512
shlibpath_var=LD_LIBRARY_PATH
10513
hardcode_into_libs=yes
10516
hpux9* | hpux10* | hpux11*)
10517
# Give a soname corresponding to the major version so that dld.sl refuses to
10518
# link against other versions.
10525
hardcode_into_libs=yes
10526
dynamic_linker="$host_os dld.so"
10527
shlibpath_var=LD_LIBRARY_PATH
10528
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10529
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10530
soname_spec='${libname}${release}${shared_ext}$major'
10531
if test "X$HPUX_IA64_MODE" = X32; then
10532
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10534
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10536
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10540
hardcode_into_libs=yes
10541
dynamic_linker="$host_os dld.sl"
10542
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10543
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10544
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10545
soname_spec='${libname}${release}${shared_ext}$major'
10546
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10547
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10551
dynamic_linker="$host_os dld.sl"
10552
shlibpath_var=SHLIB_PATH
10553
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10554
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10555
soname_spec='${libname}${release}${shared_ext}$major'
10558
# HP-UX runs *really* slowly unless shared libraries are mode 555.
10559
postinstall_cmds='chmod 555 $lib'
10566
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10567
soname_spec='${libname}${release}${shared_ext}$major'
10568
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10569
shlibpath_var=LD_LIBRARY_PATH
10570
shlibpath_overrides_runpath=no
10571
hardcode_into_libs=yes
10574
irix5* | irix6* | nonstopux*)
10576
nonstopux*) version_type=nonstopux ;;
10578
if test "$lt_cv_prog_gnu_ld" = yes; then
10586
soname_spec='${libname}${release}${shared_ext}$major'
10587
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10589
irix5* | nonstopux*)
10590
libsuff= shlibsuff=
10593
case $LD in # libtool.m4 will add one of these switches to LD
10594
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10595
libsuff= shlibsuff= libmagic=32-bit;;
10596
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10597
libsuff=32 shlibsuff=N32 libmagic=N32;;
10598
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10599
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10600
*) libsuff= shlibsuff= libmagic=never-match;;
10604
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10605
shlibpath_overrides_runpath=no
10606
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10607
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10608
hardcode_into_libs=yes
10611
# No shared lib support for Linux oldld, aout, or coff.
10612
linux*oldld* | linux*aout* | linux*coff*)
10616
# This must be Linux ELF.
10617
linux* | k*bsd*-gnu)
10621
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10622
soname_spec='${libname}${release}${shared_ext}$major'
10623
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10624
shlibpath_var=LD_LIBRARY_PATH
10625
shlibpath_overrides_runpath=no
10626
# Some binutils ld are patched to set DT_RUNPATH
10627
save_LDFLAGS=$LDFLAGS
10628
save_libdir=$libdir
10629
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10630
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10631
cat >conftest.$ac_ext <<_ACEOF
10634
cat confdefs.h >>conftest.$ac_ext
10635
cat >>conftest.$ac_ext <<_ACEOF
10636
/* end confdefs.h. */
10646
rm -f conftest.$ac_objext conftest$ac_exeext
10647
if { (ac_try="$ac_link"
10648
case "(($ac_try" in
10649
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10650
*) ac_try_echo=$ac_try;;
10652
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10653
$as_echo "$ac_try_echo") >&5
10654
(eval "$ac_link") 2>conftest.er1
10656
grep -v '^ *+' conftest.er1 >conftest.err
10658
cat conftest.err >&5
10659
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10660
(exit $ac_status); } && {
10661
test -z "$ac_c_werror_flag" ||
10662
test ! -s conftest.err
10663
} && test -s conftest$ac_exeext && {
10664
test "$cross_compiling" = yes ||
10665
$as_test_x conftest$ac_exeext
10667
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10668
shlibpath_overrides_runpath=yes
10672
$as_echo "$as_me: failed program was:" >&5
10673
sed 's/^/| /' conftest.$ac_ext >&5
10678
rm -rf conftest.dSYM
10679
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10680
conftest$ac_exeext conftest.$ac_ext
10681
LDFLAGS=$save_LDFLAGS
10682
libdir=$save_libdir
10684
# This implies no fast_install, which is unacceptable.
10685
# Some rework will be needed to allow for fast_install
10686
# before this can be enabled.
10687
hardcode_into_libs=yes
10689
# Append ld.so.conf contents to the search path
10690
if test -f /etc/ld.so.conf; then
10691
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10692
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10695
# We used to test for /lib/ld.so.1 and disable shared libraries on
10696
# powerpc, because MkLinux only supported shared libraries with the
10697
# GNU dynamic linker. Since this was broken with cross compilers,
10698
# most powerpc-linux boxes support dynamic linking these days and
10699
# people can always --disable-shared, the test was removed, and we
10700
# assume the GNU/Linux dynamic linker is in use.
10701
dynamic_linker='GNU/Linux ld.so'
10708
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10709
soname_spec='${libname}${release}${shared_ext}$major'
10710
shlibpath_var=LD_LIBRARY_PATH
10711
shlibpath_overrides_runpath=no
10712
hardcode_into_libs=yes
10713
dynamic_linker='NetBSD ld.elf_so'
10720
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10721
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10722
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10723
dynamic_linker='NetBSD (a.out) ld.so'
10725
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10726
soname_spec='${libname}${release}${shared_ext}$major'
10727
dynamic_linker='NetBSD ld.elf_so'
10729
shlibpath_var=LD_LIBRARY_PATH
10730
shlibpath_overrides_runpath=yes
10731
hardcode_into_libs=yes
10736
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10737
shlibpath_var=LD_LIBRARY_PATH
10738
shlibpath_overrides_runpath=yes
10745
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10746
soname_spec='${libname}${release}${shared_ext}$major'
10747
shlibpath_var=LD_LIBRARY_PATH
10748
shlibpath_overrides_runpath=no
10749
hardcode_into_libs=yes
10750
dynamic_linker='ldqnx.so'
10755
sys_lib_dlsearch_path_spec="/usr/lib"
10757
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10759
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10760
*) need_version=no ;;
10762
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10763
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10764
shlibpath_var=LD_LIBRARY_PATH
10765
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10767
openbsd2.[89] | openbsd2.[89].*)
10768
shlibpath_overrides_runpath=no
10771
shlibpath_overrides_runpath=yes
10775
shlibpath_overrides_runpath=yes
10780
libname_spec='$name'
10783
library_names_spec='$libname${shared_ext} $libname.a'
10784
dynamic_linker='OS/2 ld.exe'
10785
shlibpath_var=LIBPATH
10788
osf3* | osf4* | osf5*)
10792
soname_spec='${libname}${release}${shared_ext}$major'
10793
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10794
shlibpath_var=LD_LIBRARY_PATH
10795
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10796
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10807
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10808
soname_spec='${libname}${release}${shared_ext}$major'
10809
shlibpath_var=LD_LIBRARY_PATH
10810
shlibpath_overrides_runpath=yes
10811
hardcode_into_libs=yes
10812
# ldd complains unless libraries are executable
10813
postinstall_cmds='chmod +x $lib'
10818
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10819
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10820
shlibpath_var=LD_LIBRARY_PATH
10821
shlibpath_overrides_runpath=yes
10822
if test "$with_gnu_ld" = yes; then
10830
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10831
soname_spec='${libname}${release}${shared_ext}$major'
10832
shlibpath_var=LD_LIBRARY_PATH
10833
case $host_vendor in
10835
shlibpath_overrides_runpath=no
10837
runpath_var=LD_RUN_PATH
10845
shlibpath_overrides_runpath=no
10846
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10852
if test -d /usr/nec ;then
10854
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10855
soname_spec='$libname${shared_ext}.$major'
10856
shlibpath_var=LD_LIBRARY_PATH
10860
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10861
version_type=freebsd-elf
10864
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10865
soname_spec='${libname}${release}${shared_ext}$major'
10866
shlibpath_var=LD_LIBRARY_PATH
10867
shlibpath_overrides_runpath=yes
10868
hardcode_into_libs=yes
10869
if test "$with_gnu_ld" = yes; then
10870
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10872
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10875
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10879
sys_lib_dlsearch_path_spec='/usr/lib'
10883
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10887
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10888
shlibpath_var=LD_LIBRARY_PATH
10889
shlibpath_overrides_runpath=no
10890
hardcode_into_libs=yes
10895
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10896
soname_spec='${libname}${release}${shared_ext}$major'
10897
shlibpath_var=LD_LIBRARY_PATH
10904
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10905
$as_echo "$dynamic_linker" >&6; }
10906
test "$dynamic_linker" = no && can_build_shared=no
10908
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10909
if test "$GCC" = yes; then
10910
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10913
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10914
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10916
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10917
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11006
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11007
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11009
if test -n "$hardcode_libdir_flag_spec" ||
11010
test -n "$runpath_var" ||
11011
test "X$hardcode_automatic" = "Xyes" ; then
11013
# We can hardcode non-existent directories.
11014
if test "$hardcode_direct" != no &&
11015
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11016
# have to relink, otherwise we might link with an installed library
11017
# when we should be linking with a yet-to-be-installed one
11018
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11019
test "$hardcode_minus_L" != no; then
11020
# Linking always hardcodes the temporary library directory.
11021
hardcode_action=relink
11023
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11024
hardcode_action=immediate
11027
# We cannot hardcode anything, or else we can only hardcode existing
11029
hardcode_action=unsupported
11031
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11032
$as_echo "$hardcode_action" >&6; }
11034
if test "$hardcode_action" = relink ||
11035
test "$inherit_rpath" = yes; then
11036
# Fast installation is not supported
11037
enable_fast_install=no
11038
elif test "$shlibpath_overrides_runpath" = yes ||
11039
test "$enable_shared" = no; then
11040
# Fast installation is not necessary
11041
enable_fast_install=needless
11049
if test "x$enable_dlopen" != xyes; then
11050
enable_dlopen=unknown
11051
enable_dlopen_self=unknown
11052
enable_dlopen_self_static=unknown
11059
lt_cv_dlopen="load_add_on"
11061
lt_cv_dlopen_self=yes
11064
mingw* | pw32* | cegcc*)
11065
lt_cv_dlopen="LoadLibrary"
11070
lt_cv_dlopen="dlopen"
11075
# if libdl is installed we need to link against it
11076
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11077
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11078
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11079
$as_echo_n "(cached) " >&6
11081
ac_check_lib_save_LIBS=$LIBS
11083
cat >conftest.$ac_ext <<_ACEOF
11086
cat confdefs.h >>conftest.$ac_ext
11087
cat >>conftest.$ac_ext <<_ACEOF
11088
/* end confdefs.h. */
11090
/* Override any GCC internal prototype to avoid an error.
11091
Use char because int might match the return type of a GCC
11092
builtin and then its argument prototype would still apply. */
11105
rm -f conftest.$ac_objext conftest$ac_exeext
11106
if { (ac_try="$ac_link"
11107
case "(($ac_try" in
11108
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11109
*) ac_try_echo=$ac_try;;
11111
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11112
$as_echo "$ac_try_echo") >&5
11113
(eval "$ac_link") 2>conftest.er1
11115
grep -v '^ *+' conftest.er1 >conftest.err
11117
cat conftest.err >&5
11118
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11119
(exit $ac_status); } && {
11120
test -z "$ac_c_werror_flag" ||
11121
test ! -s conftest.err
11122
} && test -s conftest$ac_exeext && {
11123
test "$cross_compiling" = yes ||
11124
$as_test_x conftest$ac_exeext
11126
ac_cv_lib_dl_dlopen=yes
11128
$as_echo "$as_me: failed program was:" >&5
11129
sed 's/^/| /' conftest.$ac_ext >&5
11131
ac_cv_lib_dl_dlopen=no
11134
rm -rf conftest.dSYM
11135
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11136
conftest$ac_exeext conftest.$ac_ext
11137
LIBS=$ac_check_lib_save_LIBS
11139
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11140
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11141
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11142
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11145
lt_cv_dlopen="dyld"
11147
lt_cv_dlopen_self=yes
11154
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5
11155
$as_echo_n "checking for shl_load... " >&6; }
11156
if test "${ac_cv_func_shl_load+set}" = set; then
11157
$as_echo_n "(cached) " >&6
11159
cat >conftest.$ac_ext <<_ACEOF
11162
cat confdefs.h >>conftest.$ac_ext
11163
cat >>conftest.$ac_ext <<_ACEOF
11164
/* end confdefs.h. */
11165
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
11166
For example, HP-UX 11i <limits.h> declares gettimeofday. */
11167
#define shl_load innocuous_shl_load
11169
/* System header to define __stub macros and hopefully few prototypes,
11170
which can conflict with char shl_load (); below.
11171
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11172
<limits.h> exists even on freestanding compilers. */
11175
# include <limits.h>
11177
# include <assert.h>
11182
/* Override any GCC internal prototype to avoid an error.
11183
Use char because int might match the return type of a GCC
11184
builtin and then its argument prototype would still apply. */
11189
/* The GNU C library defines this for functions which it implements
11190
to always fail with ENOSYS. Some functions are actually named
11191
something starting with __ and the normal name is an alias. */
11192
#if defined __stub_shl_load || defined __stub___shl_load
11199
return shl_load ();
11204
rm -f conftest.$ac_objext conftest$ac_exeext
11205
if { (ac_try="$ac_link"
11206
case "(($ac_try" in
11207
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11208
*) ac_try_echo=$ac_try;;
11210
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11211
$as_echo "$ac_try_echo") >&5
11212
(eval "$ac_link") 2>conftest.er1
11214
grep -v '^ *+' conftest.er1 >conftest.err
11216
cat conftest.err >&5
11217
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11218
(exit $ac_status); } && {
11219
test -z "$ac_c_werror_flag" ||
11220
test ! -s conftest.err
11221
} && test -s conftest$ac_exeext && {
11222
test "$cross_compiling" = yes ||
11223
$as_test_x conftest$ac_exeext
11225
ac_cv_func_shl_load=yes
11227
$as_echo "$as_me: failed program was:" >&5
11228
sed 's/^/| /' conftest.$ac_ext >&5
11230
ac_cv_func_shl_load=no
11233
rm -rf conftest.dSYM
11234
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11235
conftest$ac_exeext conftest.$ac_ext
11237
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11238
$as_echo "$ac_cv_func_shl_load" >&6; }
11239
if test "x$ac_cv_func_shl_load" = x""yes; then
11240
lt_cv_dlopen="shl_load"
11242
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11243
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11244
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11245
$as_echo_n "(cached) " >&6
11247
ac_check_lib_save_LIBS=$LIBS
11249
cat >conftest.$ac_ext <<_ACEOF
11252
cat confdefs.h >>conftest.$ac_ext
11253
cat >>conftest.$ac_ext <<_ACEOF
11254
/* end confdefs.h. */
11256
/* Override any GCC internal prototype to avoid an error.
11257
Use char because int might match the return type of a GCC
11258
builtin and then its argument prototype would still apply. */
11266
return shl_load ();
11271
rm -f conftest.$ac_objext conftest$ac_exeext
11272
if { (ac_try="$ac_link"
11273
case "(($ac_try" in
11274
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11275
*) ac_try_echo=$ac_try;;
11277
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11278
$as_echo "$ac_try_echo") >&5
11279
(eval "$ac_link") 2>conftest.er1
11281
grep -v '^ *+' conftest.er1 >conftest.err
11283
cat conftest.err >&5
11284
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285
(exit $ac_status); } && {
11286
test -z "$ac_c_werror_flag" ||
11287
test ! -s conftest.err
11288
} && test -s conftest$ac_exeext && {
11289
test "$cross_compiling" = yes ||
11290
$as_test_x conftest$ac_exeext
11292
ac_cv_lib_dld_shl_load=yes
11294
$as_echo "$as_me: failed program was:" >&5
11295
sed 's/^/| /' conftest.$ac_ext >&5
11297
ac_cv_lib_dld_shl_load=no
11300
rm -rf conftest.dSYM
11301
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11302
conftest$ac_exeext conftest.$ac_ext
11303
LIBS=$ac_check_lib_save_LIBS
11305
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11306
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11307
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11308
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11310
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11311
$as_echo_n "checking for dlopen... " >&6; }
11312
if test "${ac_cv_func_dlopen+set}" = set; then
11313
$as_echo_n "(cached) " >&6
11315
cat >conftest.$ac_ext <<_ACEOF
11318
cat confdefs.h >>conftest.$ac_ext
11319
cat >>conftest.$ac_ext <<_ACEOF
11320
/* end confdefs.h. */
11321
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11322
For example, HP-UX 11i <limits.h> declares gettimeofday. */
11323
#define dlopen innocuous_dlopen
11325
/* System header to define __stub macros and hopefully few prototypes,
11326
which can conflict with char dlopen (); below.
11327
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11328
<limits.h> exists even on freestanding compilers. */
11331
# include <limits.h>
11333
# include <assert.h>
11338
/* Override any GCC internal prototype to avoid an error.
11339
Use char because int might match the return type of a GCC
11340
builtin and then its argument prototype would still apply. */
11345
/* The GNU C library defines this for functions which it implements
11346
to always fail with ENOSYS. Some functions are actually named
11347
something starting with __ and the normal name is an alias. */
11348
#if defined __stub_dlopen || defined __stub___dlopen
11360
rm -f conftest.$ac_objext conftest$ac_exeext
11361
if { (ac_try="$ac_link"
11362
case "(($ac_try" in
11363
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11364
*) ac_try_echo=$ac_try;;
11366
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11367
$as_echo "$ac_try_echo") >&5
11368
(eval "$ac_link") 2>conftest.er1
11370
grep -v '^ *+' conftest.er1 >conftest.err
11372
cat conftest.err >&5
11373
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374
(exit $ac_status); } && {
11375
test -z "$ac_c_werror_flag" ||
11376
test ! -s conftest.err
11377
} && test -s conftest$ac_exeext && {
11378
test "$cross_compiling" = yes ||
11379
$as_test_x conftest$ac_exeext
11381
ac_cv_func_dlopen=yes
11383
$as_echo "$as_me: failed program was:" >&5
11384
sed 's/^/| /' conftest.$ac_ext >&5
11386
ac_cv_func_dlopen=no
11389
rm -rf conftest.dSYM
11390
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11391
conftest$ac_exeext conftest.$ac_ext
11393
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11394
$as_echo "$ac_cv_func_dlopen" >&6; }
11395
if test "x$ac_cv_func_dlopen" = x""yes; then
11396
lt_cv_dlopen="dlopen"
11398
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11399
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11400
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11401
$as_echo_n "(cached) " >&6
11403
ac_check_lib_save_LIBS=$LIBS
11405
cat >conftest.$ac_ext <<_ACEOF
11408
cat confdefs.h >>conftest.$ac_ext
11409
cat >>conftest.$ac_ext <<_ACEOF
11410
/* end confdefs.h. */
11412
/* Override any GCC internal prototype to avoid an error.
11413
Use char because int might match the return type of a GCC
11414
builtin and then its argument prototype would still apply. */
11427
rm -f conftest.$ac_objext conftest$ac_exeext
11428
if { (ac_try="$ac_link"
11429
case "(($ac_try" in
11430
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11431
*) ac_try_echo=$ac_try;;
11433
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11434
$as_echo "$ac_try_echo") >&5
11435
(eval "$ac_link") 2>conftest.er1
11437
grep -v '^ *+' conftest.er1 >conftest.err
11439
cat conftest.err >&5
11440
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11441
(exit $ac_status); } && {
11442
test -z "$ac_c_werror_flag" ||
11443
test ! -s conftest.err
11444
} && test -s conftest$ac_exeext && {
11445
test "$cross_compiling" = yes ||
11446
$as_test_x conftest$ac_exeext
11448
ac_cv_lib_dl_dlopen=yes
11450
$as_echo "$as_me: failed program was:" >&5
11451
sed 's/^/| /' conftest.$ac_ext >&5
11453
ac_cv_lib_dl_dlopen=no
11456
rm -rf conftest.dSYM
11457
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11458
conftest$ac_exeext conftest.$ac_ext
11459
LIBS=$ac_check_lib_save_LIBS
11461
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11462
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11463
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11464
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11466
{ $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11467
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11468
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11469
$as_echo_n "(cached) " >&6
11471
ac_check_lib_save_LIBS=$LIBS
11472
LIBS="-lsvld $LIBS"
11473
cat >conftest.$ac_ext <<_ACEOF
11476
cat confdefs.h >>conftest.$ac_ext
11477
cat >>conftest.$ac_ext <<_ACEOF
11478
/* end confdefs.h. */
11480
/* Override any GCC internal prototype to avoid an error.
11481
Use char because int might match the return type of a GCC
11482
builtin and then its argument prototype would still apply. */
11495
rm -f conftest.$ac_objext conftest$ac_exeext
11496
if { (ac_try="$ac_link"
11497
case "(($ac_try" in
11498
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11499
*) ac_try_echo=$ac_try;;
11501
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11502
$as_echo "$ac_try_echo") >&5
11503
(eval "$ac_link") 2>conftest.er1
11505
grep -v '^ *+' conftest.er1 >conftest.err
11507
cat conftest.err >&5
11508
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11509
(exit $ac_status); } && {
11510
test -z "$ac_c_werror_flag" ||
11511
test ! -s conftest.err
11512
} && test -s conftest$ac_exeext && {
11513
test "$cross_compiling" = yes ||
11514
$as_test_x conftest$ac_exeext
11516
ac_cv_lib_svld_dlopen=yes
11518
$as_echo "$as_me: failed program was:" >&5
11519
sed 's/^/| /' conftest.$ac_ext >&5
11521
ac_cv_lib_svld_dlopen=no
11524
rm -rf conftest.dSYM
11525
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11526
conftest$ac_exeext conftest.$ac_ext
11527
LIBS=$ac_check_lib_save_LIBS
11529
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11530
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11531
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11532
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11534
{ $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11535
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11536
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11537
$as_echo_n "(cached) " >&6
11539
ac_check_lib_save_LIBS=$LIBS
11541
cat >conftest.$ac_ext <<_ACEOF
11544
cat confdefs.h >>conftest.$ac_ext
11545
cat >>conftest.$ac_ext <<_ACEOF
11546
/* end confdefs.h. */
11548
/* Override any GCC internal prototype to avoid an error.
11549
Use char because int might match the return type of a GCC
11550
builtin and then its argument prototype would still apply. */
11558
return dld_link ();
11563
rm -f conftest.$ac_objext conftest$ac_exeext
11564
if { (ac_try="$ac_link"
11565
case "(($ac_try" in
11566
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11567
*) ac_try_echo=$ac_try;;
11569
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11570
$as_echo "$ac_try_echo") >&5
11571
(eval "$ac_link") 2>conftest.er1
11573
grep -v '^ *+' conftest.er1 >conftest.err
11575
cat conftest.err >&5
11576
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11577
(exit $ac_status); } && {
11578
test -z "$ac_c_werror_flag" ||
11579
test ! -s conftest.err
11580
} && test -s conftest$ac_exeext && {
11581
test "$cross_compiling" = yes ||
11582
$as_test_x conftest$ac_exeext
11584
ac_cv_lib_dld_dld_link=yes
11586
$as_echo "$as_me: failed program was:" >&5
11587
sed 's/^/| /' conftest.$ac_ext >&5
11589
ac_cv_lib_dld_dld_link=no
11592
rm -rf conftest.dSYM
11593
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11594
conftest$ac_exeext conftest.$ac_ext
11595
LIBS=$ac_check_lib_save_LIBS
11597
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11598
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11599
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
11600
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11621
if test "x$lt_cv_dlopen" != xno; then
11627
case $lt_cv_dlopen in
11629
save_CPPFLAGS="$CPPFLAGS"
11630
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11632
save_LDFLAGS="$LDFLAGS"
11633
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11636
LIBS="$lt_cv_dlopen_libs $LIBS"
11638
{ $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11639
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11640
if test "${lt_cv_dlopen_self+set}" = set; then
11641
$as_echo_n "(cached) " >&6
11643
if test "$cross_compiling" = yes; then :
11644
lt_cv_dlopen_self=cross
11646
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11647
lt_status=$lt_dlunknown
11648
cat > conftest.$ac_ext <<_LT_EOF
11649
#line 11649 "configure"
11650
#include "confdefs.h"
11659
# define LT_DLGLOBAL RTLD_GLOBAL
11662
# define LT_DLGLOBAL DL_GLOBAL
11664
# define LT_DLGLOBAL 0
11668
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11669
find out it does not work in some platform. */
11670
#ifndef LT_DLLAZY_OR_NOW
11672
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11675
# define LT_DLLAZY_OR_NOW DL_LAZY
11678
# define LT_DLLAZY_OR_NOW RTLD_NOW
11681
# define LT_DLLAZY_OR_NOW DL_NOW
11683
# define LT_DLLAZY_OR_NOW 0
11690
void fnord() { int i=42;}
11693
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11694
int status = $lt_dlunknown;
11698
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11699
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11700
/* dlclose (self); */
11708
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11709
(eval $ac_link) 2>&5
11711
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11712
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11713
(./conftest; exit; ) >&5 2>/dev/null
11715
case x$lt_status in
11716
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11717
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11718
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11721
# compilation failed
11722
lt_cv_dlopen_self=no
11729
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11730
$as_echo "$lt_cv_dlopen_self" >&6; }
11732
if test "x$lt_cv_dlopen_self" = xyes; then
11733
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11734
{ $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11735
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11736
if test "${lt_cv_dlopen_self_static+set}" = set; then
11737
$as_echo_n "(cached) " >&6
11739
if test "$cross_compiling" = yes; then :
11740
lt_cv_dlopen_self_static=cross
11742
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11743
lt_status=$lt_dlunknown
11744
cat > conftest.$ac_ext <<_LT_EOF
11745
#line 11745 "configure"
11746
#include "confdefs.h"
11755
# define LT_DLGLOBAL RTLD_GLOBAL
11758
# define LT_DLGLOBAL DL_GLOBAL
11760
# define LT_DLGLOBAL 0
11764
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11765
find out it does not work in some platform. */
11766
#ifndef LT_DLLAZY_OR_NOW
11768
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11771
# define LT_DLLAZY_OR_NOW DL_LAZY
11774
# define LT_DLLAZY_OR_NOW RTLD_NOW
11777
# define LT_DLLAZY_OR_NOW DL_NOW
11779
# define LT_DLLAZY_OR_NOW 0
11786
void fnord() { int i=42;}
11789
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11790
int status = $lt_dlunknown;
11794
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11795
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11796
/* dlclose (self); */
11804
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11805
(eval $ac_link) 2>&5
11807
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11808
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11809
(./conftest; exit; ) >&5 2>/dev/null
11811
case x$lt_status in
11812
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11813
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11814
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11817
# compilation failed
11818
lt_cv_dlopen_self_static=no
11825
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11826
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11829
CPPFLAGS="$save_CPPFLAGS"
11830
LDFLAGS="$save_LDFLAGS"
11835
case $lt_cv_dlopen_self in
11836
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11837
*) enable_dlopen_self=unknown ;;
11840
case $lt_cv_dlopen_self_static in
11841
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11842
*) enable_dlopen_self_static=unknown ;;
11864
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11865
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11866
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11867
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11868
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11869
{ $as_echo "$as_me:$LINENO: result: yes" >&5
11870
$as_echo "yes" >&6; }
11872
# FIXME - insert some real tests, host_os isn't really good enough
11875
if test -n "$STRIP" ; then
11876
striplib="$STRIP -x"
11877
old_striplib="$STRIP -S"
11878
{ $as_echo "$as_me:$LINENO: result: yes" >&5
11879
$as_echo "yes" >&6; }
11881
{ $as_echo "$as_me:$LINENO: result: no" >&5
11882
$as_echo "no" >&6; }
11886
{ $as_echo "$as_me:$LINENO: result: no" >&5
11887
$as_echo "no" >&6; }
11903
# Report which library types will actually be built
11904
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11905
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11906
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11907
$as_echo "$can_build_shared" >&6; }
11909
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11910
$as_echo_n "checking whether to build shared libraries... " >&6; }
11911
test "$can_build_shared" = "no" && enable_shared=no
11913
# On AIX, shared libraries and static libraries use the same namespace, and
11914
# are all built from PIC.
11917
test "$enable_shared" = yes && enable_static=no
11918
if test -n "$RANLIB"; then
11919
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11920
postinstall_cmds='$RANLIB $lib'
11925
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11926
test "$enable_shared" = yes && enable_static=no
11930
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11931
$as_echo "$enable_shared" >&6; }
11933
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11934
$as_echo_n "checking whether to build static libraries... " >&6; }
11935
# Make sure either enable_shared or enable_static is yes.
11936
test "$enable_shared" = yes || enable_static=yes
11937
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11938
$as_echo "$enable_static" >&6; }
11945
ac_cpp='$CPP $CPPFLAGS'
11946
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11947
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11948
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11964
ac_config_commands="$ac_config_commands libtool"
11969
# Only expand once:
11974
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11975
if test -n "$ac_tool_prefix"; then
11976
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11977
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11978
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11979
$as_echo_n "checking for $ac_word... " >&6; }
11980
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
11981
$as_echo_n "(cached) " >&6
11983
case $PKG_CONFIG in
11985
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11988
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11989
for as_dir in $PATH
11992
test -z "$as_dir" && as_dir=.
11993
for ac_exec_ext in '' $ac_executable_extensions; do
11994
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11995
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11996
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12006
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12007
if test -n "$PKG_CONFIG"; then
12008
{ $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12009
$as_echo "$PKG_CONFIG" >&6; }
12011
{ $as_echo "$as_me:$LINENO: result: no" >&5
12012
$as_echo "no" >&6; }
12017
if test -z "$ac_cv_path_PKG_CONFIG"; then
12018
ac_pt_PKG_CONFIG=$PKG_CONFIG
12019
# Extract the first word of "pkg-config", so it can be a program name with args.
12020
set dummy pkg-config; ac_word=$2
12021
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12022
$as_echo_n "checking for $ac_word... " >&6; }
12023
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
12024
$as_echo_n "(cached) " >&6
12026
case $ac_pt_PKG_CONFIG in
12028
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12031
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12032
for as_dir in $PATH
12035
test -z "$as_dir" && as_dir=.
12036
for ac_exec_ext in '' $ac_executable_extensions; do
12037
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12038
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12039
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12049
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12050
if test -n "$ac_pt_PKG_CONFIG"; then
12051
{ $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
12052
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12054
{ $as_echo "$as_me:$LINENO: result: no" >&5
12055
$as_echo "no" >&6; }
12058
if test "x$ac_pt_PKG_CONFIG" = x; then
12061
case $cross_compiling:$ac_tool_warned in
12063
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
12064
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12065
ac_tool_warned=yes ;;
12067
PKG_CONFIG=$ac_pt_PKG_CONFIG
12070
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12074
if test -n "$PKG_CONFIG"; then
12075
_pkg_min_version=0.19
12076
{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
12077
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12078
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12079
{ $as_echo "$as_me:$LINENO: result: yes" >&5
12080
$as_echo "yes" >&6; }
12082
{ $as_echo "$as_me:$LINENO: result: no" >&5
12083
$as_echo "no" >&6; }
12089
{ $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5
12090
$as_echo_n "checking whether NLS is requested... " >&6; }
12091
# Check whether --enable-nls was given.
12092
if test "${enable_nls+set}" = set; then
12093
enableval=$enable_nls; USE_NLS=$enableval
12098
{ $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5
12099
$as_echo "$USE_NLS" >&6; }
12104
case "$am__api_version" in
12106
{ { $as_echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5
12107
$as_echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;}
12108
{ (exit 1); exit 1; }; }
12114
if test -n "0.40.0"; then
12115
{ $as_echo "$as_me:$LINENO: checking for intltool >= 0.40.0" >&5
12116
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
12118
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12119
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12120
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12122
{ $as_echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5
12123
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12124
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12125
{ { $as_echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool 0.40.0 or later." >&5
12126
$as_echo "$as_me: error: Your intltool is too old. You need intltool 0.40.0 or later." >&2;}
12127
{ (exit 1); exit 1; }; }
12130
# Extract the first word of "intltool-update", so it can be a program name with args.
12131
set dummy intltool-update; ac_word=$2
12132
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12133
$as_echo_n "checking for $ac_word... " >&6; }
12134
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then
12135
$as_echo_n "(cached) " >&6
12137
case $INTLTOOL_UPDATE in
12139
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
12142
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12143
for as_dir in $PATH
12146
test -z "$as_dir" && as_dir=.
12147
for ac_exec_ext in '' $ac_executable_extensions; do
12148
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12149
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
12150
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12160
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
12161
if test -n "$INTLTOOL_UPDATE"; then
12162
{ $as_echo "$as_me:$LINENO: result: $INTLTOOL_UPDATE" >&5
12163
$as_echo "$INTLTOOL_UPDATE" >&6; }
12165
{ $as_echo "$as_me:$LINENO: result: no" >&5
12166
$as_echo "no" >&6; }
12170
# Extract the first word of "intltool-merge", so it can be a program name with args.
12171
set dummy intltool-merge; ac_word=$2
12172
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12173
$as_echo_n "checking for $ac_word... " >&6; }
12174
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then
12175
$as_echo_n "(cached) " >&6
12177
case $INTLTOOL_MERGE in
12179
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
12182
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12183
for as_dir in $PATH
12186
test -z "$as_dir" && as_dir=.
12187
for ac_exec_ext in '' $ac_executable_extensions; do
12188
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12189
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
12190
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12200
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
12201
if test -n "$INTLTOOL_MERGE"; then
12202
{ $as_echo "$as_me:$LINENO: result: $INTLTOOL_MERGE" >&5
12203
$as_echo "$INTLTOOL_MERGE" >&6; }
12205
{ $as_echo "$as_me:$LINENO: result: no" >&5
12206
$as_echo "no" >&6; }
12210
# Extract the first word of "intltool-extract", so it can be a program name with args.
12211
set dummy intltool-extract; ac_word=$2
12212
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12213
$as_echo_n "checking for $ac_word... " >&6; }
12214
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then
12215
$as_echo_n "(cached) " >&6
12217
case $INTLTOOL_EXTRACT in
12219
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
12222
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12223
for as_dir in $PATH
12226
test -z "$as_dir" && as_dir=.
12227
for ac_exec_ext in '' $ac_executable_extensions; do
12228
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12229
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
12230
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12240
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
12241
if test -n "$INTLTOOL_EXTRACT"; then
12242
{ $as_echo "$as_me:$LINENO: result: $INTLTOOL_EXTRACT" >&5
12243
$as_echo "$INTLTOOL_EXTRACT" >&6; }
12245
{ $as_echo "$as_me:$LINENO: result: no" >&5
12246
$as_echo "no" >&6; }
12250
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12251
{ { $as_echo "$as_me:$LINENO: error: The intltool scripts were not found. Please install intltool." >&5
12252
$as_echo "$as_me: error: The intltool scripts were not found. Please install intltool." >&2;}
12253
{ (exit 1); exit 1; }; }
12256
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12257
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12258
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12259
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12260
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
12261
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12262
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12263
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12264
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12265
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12266
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12267
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
12268
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12269
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12270
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12271
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12272
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12273
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12274
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12372
# Check the gettext tools to make sure they are GNU
12373
# Extract the first word of "xgettext", so it can be a program name with args.
12374
set dummy xgettext; ac_word=$2
12375
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12376
$as_echo_n "checking for $ac_word... " >&6; }
12377
if test "${ac_cv_path_XGETTEXT+set}" = set; then
12378
$as_echo_n "(cached) " >&6
12382
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12385
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12386
for as_dir in $PATH
12389
test -z "$as_dir" && as_dir=.
12390
for ac_exec_ext in '' $ac_executable_extensions; do
12391
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12392
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
12393
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12403
XGETTEXT=$ac_cv_path_XGETTEXT
12404
if test -n "$XGETTEXT"; then
12405
{ $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
12406
$as_echo "$XGETTEXT" >&6; }
12408
{ $as_echo "$as_me:$LINENO: result: no" >&5
12409
$as_echo "no" >&6; }
12413
# Extract the first word of "msgmerge", so it can be a program name with args.
12414
set dummy msgmerge; ac_word=$2
12415
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12416
$as_echo_n "checking for $ac_word... " >&6; }
12417
if test "${ac_cv_path_MSGMERGE+set}" = set; then
12418
$as_echo_n "(cached) " >&6
12422
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12425
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12426
for as_dir in $PATH
12429
test -z "$as_dir" && as_dir=.
12430
for ac_exec_ext in '' $ac_executable_extensions; do
12431
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12432
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
12433
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12443
MSGMERGE=$ac_cv_path_MSGMERGE
12444
if test -n "$MSGMERGE"; then
12445
{ $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
12446
$as_echo "$MSGMERGE" >&6; }
12448
{ $as_echo "$as_me:$LINENO: result: no" >&5
12449
$as_echo "no" >&6; }
12453
# Extract the first word of "msgfmt", so it can be a program name with args.
12454
set dummy msgfmt; ac_word=$2
12455
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12456
$as_echo_n "checking for $ac_word... " >&6; }
12457
if test "${ac_cv_path_MSGFMT+set}" = set; then
12458
$as_echo_n "(cached) " >&6
12462
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12465
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12466
for as_dir in $PATH
12469
test -z "$as_dir" && as_dir=.
12470
for ac_exec_ext in '' $ac_executable_extensions; do
12471
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12472
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12473
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12483
MSGFMT=$ac_cv_path_MSGFMT
12484
if test -n "$MSGFMT"; then
12485
{ $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
12486
$as_echo "$MSGFMT" >&6; }
12488
{ $as_echo "$as_me:$LINENO: result: no" >&5
12489
$as_echo "no" >&6; }
12493
# Extract the first word of "gmsgfmt", so it can be a program name with args.
12494
set dummy gmsgfmt; ac_word=$2
12495
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12496
$as_echo_n "checking for $ac_word... " >&6; }
12497
if test "${ac_cv_path_GMSGFMT+set}" = set; then
12498
$as_echo_n "(cached) " >&6
12502
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12505
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12506
for as_dir in $PATH
12509
test -z "$as_dir" && as_dir=.
12510
for ac_exec_ext in '' $ac_executable_extensions; do
12511
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12512
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12513
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12520
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12524
GMSGFMT=$ac_cv_path_GMSGFMT
12525
if test -n "$GMSGFMT"; then
12526
{ $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
12527
$as_echo "$GMSGFMT" >&6; }
12529
{ $as_echo "$as_me:$LINENO: result: no" >&5
12530
$as_echo "no" >&6; }
12534
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12535
{ { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
12536
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
12537
{ (exit 1); exit 1; }; }
12539
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12540
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12541
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12542
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12543
{ { $as_echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5
12544
$as_echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;}
12545
{ (exit 1); exit 1; }; }
12548
# Extract the first word of "perl", so it can be a program name with args.
12549
set dummy perl; ac_word=$2
12550
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12551
$as_echo_n "checking for $ac_word... " >&6; }
12552
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then
12553
$as_echo_n "(cached) " >&6
12555
case $INTLTOOL_PERL in
12557
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
12560
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12561
for as_dir in $PATH
12564
test -z "$as_dir" && as_dir=.
12565
for ac_exec_ext in '' $ac_executable_extensions; do
12566
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12567
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
12568
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12578
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
12579
if test -n "$INTLTOOL_PERL"; then
12580
{ $as_echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5
12581
$as_echo "$INTLTOOL_PERL" >&6; }
12583
{ $as_echo "$as_me:$LINENO: result: no" >&5
12584
$as_echo "no" >&6; }
12588
if test -z "$INTLTOOL_PERL"; then
12589
{ { $as_echo "$as_me:$LINENO: error: perl not found" >&5
12590
$as_echo "$as_me: error: perl not found" >&2;}
12591
{ (exit 1); exit 1; }; }
12593
{ $as_echo "$as_me:$LINENO: checking for perl >= 5.8.1" >&5
12594
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
12595
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12596
if test $? -ne 0; then
12597
{ { $as_echo "$as_me:$LINENO: error: perl 5.8.1 is required for intltool" >&5
12598
$as_echo "$as_me: error: perl 5.8.1 is required for intltool" >&2;}
12599
{ (exit 1); exit 1; }; }
12601
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
12602
{ $as_echo "$as_me:$LINENO: result: $IT_PERL_VERSION" >&5
12603
$as_echo "$IT_PERL_VERSION" >&6; }
12605
if test "x" != "xno-xml"; then
12606
{ $as_echo "$as_me:$LINENO: checking for XML::Parser" >&5
12607
$as_echo_n "checking for XML::Parser... " >&6; }
12608
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12609
{ $as_echo "$as_me:$LINENO: result: ok" >&5
12610
$as_echo "ok" >&6; }
12612
{ { $as_echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5
12613
$as_echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;}
12614
{ (exit 1); exit 1; }; }
12618
# Substitute ALL_LINGUAS so we can use it in po/Makefile
12621
# Set DATADIRNAME correctly if it is not set yet
12622
# (copied from glib-gettext.m4)
12623
if test -z "$DATADIRNAME"; then
12624
cat >conftest.$ac_ext <<_ACEOF
12627
cat confdefs.h >>conftest.$ac_ext
12628
cat >>conftest.$ac_ext <<_ACEOF
12629
/* end confdefs.h. */
12634
extern int _nl_msg_cat_cntr;
12635
return _nl_msg_cat_cntr
12640
rm -f conftest.$ac_objext conftest$ac_exeext
12641
if { (ac_try="$ac_link"
12642
case "(($ac_try" in
12643
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12644
*) ac_try_echo=$ac_try;;
12646
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12647
$as_echo "$ac_try_echo") >&5
12648
(eval "$ac_link") 2>conftest.er1
12650
grep -v '^ *+' conftest.er1 >conftest.err
12652
cat conftest.err >&5
12653
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654
(exit $ac_status); } && {
12655
test -z "$ac_c_werror_flag" ||
12656
test ! -s conftest.err
12657
} && test -s conftest$ac_exeext && {
12658
test "$cross_compiling" = yes ||
12659
$as_test_x conftest$ac_exeext
12663
$as_echo "$as_me: failed program was:" >&5
12664
sed 's/^/| /' conftest.$ac_ext >&5
12668
{ $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
12669
$as_echo_n "checking for bind_textdomain_codeset... " >&6; }
12670
if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
12671
$as_echo_n "(cached) " >&6
12673
cat >conftest.$ac_ext <<_ACEOF
12676
cat confdefs.h >>conftest.$ac_ext
12677
cat >>conftest.$ac_ext <<_ACEOF
12678
/* end confdefs.h. */
12679
/* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
12680
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12681
#define bind_textdomain_codeset innocuous_bind_textdomain_codeset
12683
/* System header to define __stub macros and hopefully few prototypes,
12684
which can conflict with char bind_textdomain_codeset (); below.
12685
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12686
<limits.h> exists even on freestanding compilers. */
12689
# include <limits.h>
12691
# include <assert.h>
12694
#undef bind_textdomain_codeset
12696
/* Override any GCC internal prototype to avoid an error.
12697
Use char because int might match the return type of a GCC
12698
builtin and then its argument prototype would still apply. */
12702
char bind_textdomain_codeset ();
12703
/* The GNU C library defines this for functions which it implements
12704
to always fail with ENOSYS. Some functions are actually named
12705
something starting with __ and the normal name is an alias. */
12706
#if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
12713
return bind_textdomain_codeset ();
12718
rm -f conftest.$ac_objext conftest$ac_exeext
12719
if { (ac_try="$ac_link"
12720
case "(($ac_try" in
12721
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12722
*) ac_try_echo=$ac_try;;
12724
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12725
$as_echo "$ac_try_echo") >&5
12726
(eval "$ac_link") 2>conftest.er1
12728
grep -v '^ *+' conftest.er1 >conftest.err
12730
cat conftest.err >&5
12731
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12732
(exit $ac_status); } && {
12733
test -z "$ac_c_werror_flag" ||
12734
test ! -s conftest.err
12735
} && test -s conftest$ac_exeext && {
12736
test "$cross_compiling" = yes ||
12737
$as_test_x conftest$ac_exeext
12739
ac_cv_func_bind_textdomain_codeset=yes
12741
$as_echo "$as_me: failed program was:" >&5
12742
sed 's/^/| /' conftest.$ac_ext >&5
12744
ac_cv_func_bind_textdomain_codeset=no
12747
rm -rf conftest.dSYM
12748
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12749
conftest$ac_exeext conftest.$ac_ext
12751
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
12752
$as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
12753
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then
12766
rm -rf conftest.dSYM
12767
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12768
conftest$ac_exeext conftest.$ac_ext
12776
GETTEXT_PACKAGE="${PACKAGE}"
12778
cat >>confdefs.h <<_ACEOF
12779
#define GETTEXT_PACKAGE "$PACKAGE"
12783
localedir='${prefix}/${DATADIRNAME}/locale'
12786
# Workaround to make aclocal get the right flags
12788
ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS} -I m4"
12791
# Need lndir for builddir != srcdir builds, because Python is not sane
12792
# Extract the first word of "lndir", so it can be a program name with args.
12793
set dummy lndir; ac_word=$2
12794
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12795
$as_echo_n "checking for $ac_word... " >&6; }
12796
if test "${ac_cv_path_LNDIR+set}" = set; then
12797
$as_echo_n "(cached) " >&6
12801
ac_cv_path_LNDIR="$LNDIR" # Let the user override the test with a path.
12804
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12805
for as_dir in $PATH
12808
test -z "$as_dir" && as_dir=.
12809
for ac_exec_ext in '' $ac_executable_extensions; do
12810
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12811
ac_cv_path_LNDIR="$as_dir/$ac_word$ac_exec_ext"
12812
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12819
test -z "$ac_cv_path_LNDIR" && ac_cv_path_LNDIR="false"
12823
LNDIR=$ac_cv_path_LNDIR
12824
if test -n "$LNDIR"; then
12825
{ $as_echo "$as_me:$LINENO: result: $LNDIR" >&5
12826
$as_echo "$LNDIR" >&6; }
12828
{ $as_echo "$as_me:$LINENO: result: no" >&5
12829
$as_echo "no" >&6; }
12834
# Icon sizes we want to install
12835
render_sizes="16x16 24x24 32x32 48x48"
12838
# Do we want to enable rendering?
12839
# Check whether --enable-rendering was given.
12840
if test "${enable_rendering+set}" = set; then
12841
enableval=$enable_rendering; enable_rendering=$enableval
12843
enable_rendering=yes
12847
if test "x$enable_rendering" = "xyes"; then
12848
# Extract the first word of "icontool-render", so it can be a program name with args.
12849
set dummy icontool-render; ac_word=$2
12850
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12851
$as_echo_n "checking for $ac_word... " >&6; }
12852
if test "${ac_cv_path_ICONTOOL_RENDER+set}" = set; then
12853
$as_echo_n "(cached) " >&6
12855
case $ICONTOOL_RENDER in
12857
ac_cv_path_ICONTOOL_RENDER="$ICONTOOL_RENDER" # Let the user override the test with a path.
12860
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12861
for as_dir in $PATH
12864
test -z "$as_dir" && as_dir=.
12865
for ac_exec_ext in '' $ac_executable_extensions; do
12866
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12867
ac_cv_path_ICONTOOL_RENDER="$as_dir/$ac_word$ac_exec_ext"
12868
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12875
test -z "$ac_cv_path_ICONTOOL_RENDER" && ac_cv_path_ICONTOOL_RENDER="false"
12879
ICONTOOL_RENDER=$ac_cv_path_ICONTOOL_RENDER
12880
if test -n "$ICONTOOL_RENDER"; then
12881
{ $as_echo "$as_me:$LINENO: result: $ICONTOOL_RENDER" >&5
12882
$as_echo "$ICONTOOL_RENDER" >&6; }
12884
{ $as_echo "$as_me:$LINENO: result: no" >&5
12885
$as_echo "no" >&6; }
12889
if test "x$ICONTOOL_RENDER" = "xfalse"; then
12890
{ $as_echo "$as_me:$LINENO: WARNING: icontool is required to generate icons" >&5
12891
$as_echo "$as_me: WARNING: icontool is required to generate icons" >&2;}
12892
enable_rendering=no
12895
if test "x$enable_rendering" = "xyes"; then
12896
ENABLE_RENDERING_TRUE=
12897
ENABLE_RENDERING_FALSE='#'
12899
ENABLE_RENDERING_TRUE='#'
12900
ENABLE_RENDERING_FALSE=
12904
# Check for python 2.5
12909
if test -n "$PYTHON"; then
12910
# If the user set $PYTHON, use it and don't search something else.
12911
{ $as_echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.5" >&5
12912
$as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
12913
prog="import sys, string
12914
# split strings by '.' and convert to numeric. Append some zeros
12915
# because we need at least 4 digits for the hex conversion.
12916
minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
12918
for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
12919
sys.exit(sys.hexversion < minverhex)"
12920
if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
12921
($PYTHON -c "$prog") >&5 2>&5
12923
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924
(exit $ac_status); }; then
12925
{ $as_echo "$as_me:$LINENO: result: yes" >&5
12926
$as_echo "yes" >&6; }
12928
{ { $as_echo "$as_me:$LINENO: error: too old" >&5
12929
$as_echo "$as_me: error: too old" >&2;}
12930
{ (exit 1); exit 1; }; }
12933
am_display_PYTHON=$PYTHON
12935
# Otherwise, try each interpreter until we find one that satisfies
12937
{ $as_echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.5" >&5
12938
$as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
12939
if test "${am_cv_pathless_PYTHON+set}" = set; then
12940
$as_echo_n "(cached) " >&6
12943
for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
12944
test "$am_cv_pathless_PYTHON" = none && break
12945
prog="import sys, string
12946
# split strings by '.' and convert to numeric. Append some zeros
12947
# because we need at least 4 digits for the hex conversion.
12948
minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
12950
for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
12951
sys.exit(sys.hexversion < minverhex)"
12952
if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
12953
($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
12955
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12956
(exit $ac_status); }; then
12962
{ $as_echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
12963
$as_echo "$am_cv_pathless_PYTHON" >&6; }
12964
# Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
12965
if test "$am_cv_pathless_PYTHON" = none; then
12968
# Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
12969
set dummy $am_cv_pathless_PYTHON; ac_word=$2
12970
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12971
$as_echo_n "checking for $ac_word... " >&6; }
12972
if test "${ac_cv_path_PYTHON+set}" = set; then
12973
$as_echo_n "(cached) " >&6
12977
ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
12980
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12981
for as_dir in $PATH
12984
test -z "$as_dir" && as_dir=.
12985
for ac_exec_ext in '' $ac_executable_extensions; do
12986
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12987
ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
12988
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12998
PYTHON=$ac_cv_path_PYTHON
12999
if test -n "$PYTHON"; then
13000
{ $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
13001
$as_echo "$PYTHON" >&6; }
13003
{ $as_echo "$as_me:$LINENO: result: no" >&5
13004
$as_echo "no" >&6; }
13009
am_display_PYTHON=$am_cv_pathless_PYTHON
13013
if test "$PYTHON" = :; then
13014
{ { $as_echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
13015
$as_echo "$as_me: error: no suitable Python interpreter found" >&2;}
13016
{ (exit 1); exit 1; }; }
13020
{ $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
13021
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
13022
if test "${am_cv_python_version+set}" = set; then
13023
$as_echo_n "(cached) " >&6
13025
am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
13027
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
13028
$as_echo "$am_cv_python_version" >&6; }
13029
PYTHON_VERSION=$am_cv_python_version
13033
PYTHON_PREFIX='${prefix}'
13035
PYTHON_EXEC_PREFIX='${exec_prefix}'
13039
{ $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
13040
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
13041
if test "${am_cv_python_platform+set}" = set; then
13042
$as_echo_n "(cached) " >&6
13044
am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
13046
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
13047
$as_echo "$am_cv_python_platform" >&6; }
13048
PYTHON_PLATFORM=$am_cv_python_platform
13053
{ $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
13054
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
13055
if test "${am_cv_python_pythondir+set}" = set; then
13056
$as_echo_n "(cached) " >&6
13058
if test "x$prefix" = xNONE
13062
py_prefix_arg=",prefix='$prefix'"
13064
am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0$py_prefix_arg)" -n -q install $py_prefix_arg 2>/dev/null ||
13065
echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
13067
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
13068
$as_echo "$am_cv_python_pythondir" >&6; }
13069
pythondir=$am_cv_python_pythondir
13073
pkgpythondir=\${pythondir}/$PACKAGE
13076
{ $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
13077
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
13078
if test "${am_cv_python_pyexecdir+set}" = set; then
13079
$as_echo_n "(cached) " >&6
13081
if test "x$exec_prefix" = xNONE
13083
py_exec_prefix_arg=$py_prefix_arg
13085
py_exec_prefix_arg=",prefix='$exec_prefix'"
13087
am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0$py_exec_prefix_arg)" -n -q install $py_exec_prefix_arg 2>/dev/null ||
13088
echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
13090
{ $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
13091
$as_echo "$am_cv_python_pyexecdir" >&6; }
13092
pyexecdir=$am_cv_python_pyexecdir
13096
pkgpyexecdir=\${pyexecdir}/$PACKAGE
13104
# Specify the path for ubuntuone-storage-protocol source
13105
{ $as_echo "$as_me:$LINENO: checking for ubuntuone-storage-protocol" >&5
13106
$as_echo_n "checking for ubuntuone-storage-protocol... " >&6; }
13108
# Check whether --with-protocol was given.
13109
if test "${with_protocol+set}" = set; then
13110
withval=$with_protocol; with_protocol=$withval
13116
if test "x$with_protocol" = "xauto"; then
13117
USP_PATH="/usr/share/pyshared"
13119
USP_PATH="$with_protocol"
13121
if test -z "$USP_PATH"; then
13122
{ $as_echo "$as_me:$LINENO: result: none" >&5
13123
$as_echo "none" >&6; }
13124
{ { $as_echo "$as_me:$LINENO: error: ubuntuone-storage-protocol is required by ubuntuone-client" >&5
13125
$as_echo "$as_me: error: ubuntuone-storage-protocol is required by ubuntuone-client" >&2;}
13126
{ (exit 1); exit 1; }; }
13127
elif ! test -d $USP_PATH; then
13128
{ $as_echo "$as_me:$LINENO: result: none" >&5
13129
$as_echo "none" >&6; }
13130
{ { $as_echo "$as_me:$LINENO: error: ubuntuone-storage-protocol is required by ubuntuone-client" >&5
13131
$as_echo "$as_me: error: ubuntuone-storage-protocol is required by ubuntuone-client" >&2;}
13132
{ (exit 1); exit 1; }; }
13134
ending=`basename $USP_PATH`
13135
if test "x$ending" != "xprotocol"; then
13136
USP_PATH="$USP_PATH/ubuntuone/storageprotocol"
13138
{ $as_echo "$as_me:$LINENO: result: $USP_PATH" >&5
13139
$as_echo "$USP_PATH" >&6; }
13143
# Stuff we need to build the extension shlib
13146
{ $as_echo "$as_me:$LINENO: checking for NAUTILUS" >&5
13147
$as_echo_n "checking for NAUTILUS... " >&6; }
13149
if test -n "$PKG_CONFIG"; then
13150
if test -n "$NAUTILUS_CFLAGS"; then
13151
pkg_cv_NAUTILUS_CFLAGS="$NAUTILUS_CFLAGS"
13153
if test -n "$PKG_CONFIG" && \
13154
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnautilus-extension >= 2.6.0\"") >&5
13155
($PKG_CONFIG --exists --print-errors "libnautilus-extension >= 2.6.0") 2>&5
13157
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158
(exit $ac_status); }; then
13159
pkg_cv_NAUTILUS_CFLAGS=`$PKG_CONFIG --cflags "libnautilus-extension >= 2.6.0" 2>/dev/null`
13167
if test -n "$PKG_CONFIG"; then
13168
if test -n "$NAUTILUS_LIBS"; then
13169
pkg_cv_NAUTILUS_LIBS="$NAUTILUS_LIBS"
13171
if test -n "$PKG_CONFIG" && \
13172
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnautilus-extension >= 2.6.0\"") >&5
13173
($PKG_CONFIG --exists --print-errors "libnautilus-extension >= 2.6.0") 2>&5
13175
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13176
(exit $ac_status); }; then
13177
pkg_cv_NAUTILUS_LIBS=`$PKG_CONFIG --libs "libnautilus-extension >= 2.6.0" 2>/dev/null`
13188
if test $pkg_failed = yes; then
13190
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13191
_pkg_short_errors_supported=yes
13193
_pkg_short_errors_supported=no
13195
if test $_pkg_short_errors_supported = yes; then
13196
NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnautilus-extension >= 2.6.0"`
13198
NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnautilus-extension >= 2.6.0"`
13200
# Put the nasty error message in config.log where it belongs
13201
echo "$NAUTILUS_PKG_ERRORS" >&5
13203
{ { $as_echo "$as_me:$LINENO: error: Package requirements (libnautilus-extension >= 2.6.0) were not met:
13205
$NAUTILUS_PKG_ERRORS
13207
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13208
installed software in a non-standard prefix.
13210
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
13211
and NAUTILUS_LIBS to avoid the need to call pkg-config.
13212
See the pkg-config man page for more details.
13214
$as_echo "$as_me: error: Package requirements (libnautilus-extension >= 2.6.0) were not met:
13216
$NAUTILUS_PKG_ERRORS
13218
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13219
installed software in a non-standard prefix.
13221
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
13222
and NAUTILUS_LIBS to avoid the need to call pkg-config.
13223
See the pkg-config man page for more details.
13225
{ (exit 1); exit 1; }; }
13226
elif test $pkg_failed = untried; then
13227
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13228
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13229
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
13230
is in your PATH or set the PKG_CONFIG environment variable to the full
13231
path to pkg-config.
13233
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
13234
and NAUTILUS_LIBS to avoid the need to call pkg-config.
13235
See the pkg-config man page for more details.
13237
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13238
See \`config.log' for more details." >&5
13239
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
13240
is in your PATH or set the PKG_CONFIG environment variable to the full
13241
path to pkg-config.
13243
Alternatively, you may set the environment variables NAUTILUS_CFLAGS
13244
and NAUTILUS_LIBS to avoid the need to call pkg-config.
13245
See the pkg-config man page for more details.
13247
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13248
See \`config.log' for more details." >&2;}
13249
{ (exit 1); exit 1; }; }; }
13251
NAUTILUS_CFLAGS=$pkg_cv_NAUTILUS_CFLAGS
13252
NAUTILUS_LIBS=$pkg_cv_NAUTILUS_LIBS
13253
{ $as_echo "$as_me:$LINENO: result: yes" >&5
13254
$as_echo "yes" >&6; }
13262
{ $as_echo "$as_me:$LINENO: checking for DBUS" >&5
13263
$as_echo_n "checking for DBUS... " >&6; }
13265
if test -n "$PKG_CONFIG"; then
13266
if test -n "$DBUS_CFLAGS"; then
13267
pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
13269
if test -n "$PKG_CONFIG" && \
13270
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.70\"") >&5
13271
($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.70") 2>&5
13273
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274
(exit $ac_status); }; then
13275
pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= 0.70" 2>/dev/null`
13283
if test -n "$PKG_CONFIG"; then
13284
if test -n "$DBUS_LIBS"; then
13285
pkg_cv_DBUS_LIBS="$DBUS_LIBS"
13287
if test -n "$PKG_CONFIG" && \
13288
{ ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.70\"") >&5
13289
($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.70") 2>&5
13291
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292
(exit $ac_status); }; then
13293
pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= 0.70" 2>/dev/null`
13304
if test $pkg_failed = yes; then
13306
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13307
_pkg_short_errors_supported=yes
13309
_pkg_short_errors_supported=no
13311
if test $_pkg_short_errors_supported = yes; then
13312
DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "dbus-glib-1 >= 0.70"`
13314
DBUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "dbus-glib-1 >= 0.70"`
13316
# Put the nasty error message in config.log where it belongs
13317
echo "$DBUS_PKG_ERRORS" >&5
13319
{ { $as_echo "$as_me:$LINENO: error: Package requirements (dbus-glib-1 >= 0.70) were not met:
13323
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13324
installed software in a non-standard prefix.
13326
Alternatively, you may set the environment variables DBUS_CFLAGS
13327
and DBUS_LIBS to avoid the need to call pkg-config.
13328
See the pkg-config man page for more details.
13330
$as_echo "$as_me: error: Package requirements (dbus-glib-1 >= 0.70) were not met:
13334
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13335
installed software in a non-standard prefix.
13337
Alternatively, you may set the environment variables DBUS_CFLAGS
13338
and DBUS_LIBS to avoid the need to call pkg-config.
13339
See the pkg-config man page for more details.
13341
{ (exit 1); exit 1; }; }
13342
elif test $pkg_failed = untried; then
13343
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
13344
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13345
{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
13346
is in your PATH or set the PKG_CONFIG environment variable to the full
13347
path to pkg-config.
13349
Alternatively, you may set the environment variables DBUS_CFLAGS
13350
and DBUS_LIBS to avoid the need to call pkg-config.
13351
See the pkg-config man page for more details.
13353
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13354
See \`config.log' for more details." >&5
13355
$as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
13356
is in your PATH or set the PKG_CONFIG environment variable to the full
13357
path to pkg-config.
13359
Alternatively, you may set the environment variables DBUS_CFLAGS
13360
and DBUS_LIBS to avoid the need to call pkg-config.
13361
See the pkg-config man page for more details.
13363
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13364
See \`config.log' for more details." >&2;}
13365
{ (exit 1); exit 1; }; }; }
13367
DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
13368
DBUS_LIBS=$pkg_cv_DBUS_LIBS
13369
{ $as_echo "$as_me:$LINENO: result: yes" >&5
13370
$as_echo "yes" >&6; }
13377
# Check whether --with-dbus-services was given.
13378
if test "${with_dbus_services+set}" = set; then
13379
withval=$with_dbus_services;
13382
if ! test -z "$with_dbus_services" ; then
13383
DBUS_SERVICES_DIR="$with_dbus_services"
13385
# D-BUS 0.23 and higher use $prefix/share/dbus-1/services
13386
DBUS_SERVICES_DIR="\${datadir}/dbus-1/services"
13390
ac_config_files="$ac_config_files Makefile data/Makefile nautilus/Makefile po/Makefile.in setup.py"
13393
cat >confcache <<\_ACEOF
13394
# This file is a shell script that caches the results of configure
13395
# tests run on this system so they can be shared between configure
13396
# scripts and configure runs, see configure's option --config-cache.
13397
# It is not useful on other systems. If it contains results you don't
13398
# want to keep, you may remove or edit it.
13400
# config.status only pays attention to the cache file if you give it
13401
# the --recheck option to rerun configure.
13403
# `ac_cv_env_foo' variables (set or unset) will be overridden when
13404
# loading this file, other *unset* `ac_cv_foo' will be assigned the
13405
# following values.
13409
# The following way of writing the cache mishandles newlines in values,
13410
# but we know of no workaround that is simple, portable, and efficient.
13411
# So, we kill variables containing newlines.
13412
# Ultrix sh set writes to stderr and can't be redirected directly,
13413
# and sets the high bit in the cache file unless we assign to the vars.
13415
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13416
eval ac_val=\$$ac_var
13420
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
13421
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13424
_ | IFS | as_nl) ;; #(
13425
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13426
*) $as_unset $ac_var ;;
13432
case $as_nl`(ac_space=' '; set) 2>&1` in #(
13433
*${as_nl}ac_space=\ *)
13434
# `set' does not quote correctly, so add quotes (double-quote
13435
# substitution turns \\\\ into \\, and sed turns \\ into \).
13438
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13441
# `set' quotes correctly as required by POSIX, so do not add quotes.
13442
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13451
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13453
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13455
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13456
if test -w "$cache_file"; then
13457
test "x$cache_file" != "x/dev/null" &&
13458
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13459
$as_echo "$as_me: updating cache $cache_file" >&6;}
13460
cat confcache >$cache_file
13462
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13463
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13468
test "x$prefix" = xNONE && prefix=$ac_default_prefix
13469
# Let make expand exec_prefix.
13470
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13472
DEFS=-DHAVE_CONFIG_H
13476
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13477
# 1. Remove the extension, and $U if already installed.
13478
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13479
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13480
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13481
# will be set to the directory where LIBOBJS objects are built.
13482
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13483
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13485
LIBOBJS=$ac_libobjs
13487
LTLIBOBJS=$ac_ltlibobjs
13490
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13491
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13492
Usually this means the macro was only invoked conditionally." >&5
13493
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
13494
Usually this means the macro was only invoked conditionally." >&2;}
13495
{ (exit 1); exit 1; }; }
13497
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13498
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13499
Usually this means the macro was only invoked conditionally." >&5
13500
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13501
Usually this means the macro was only invoked conditionally." >&2;}
13502
{ (exit 1); exit 1; }; }
13504
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13505
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13506
Usually this means the macro was only invoked conditionally." >&5
13507
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13508
Usually this means the macro was only invoked conditionally." >&2;}
13509
{ (exit 1); exit 1; }; }
13512
ac_config_commands="$ac_config_commands po/stamp-it"
13515
if test -z "${ENABLE_RENDERING_TRUE}" && test -z "${ENABLE_RENDERING_FALSE}"; then
13516
{ { $as_echo "$as_me:$LINENO: error: conditional \"ENABLE_RENDERING\" was never defined.
13517
Usually this means the macro was only invoked conditionally." >&5
13518
$as_echo "$as_me: error: conditional \"ENABLE_RENDERING\" was never defined.
13519
Usually this means the macro was only invoked conditionally." >&2;}
13520
{ (exit 1); exit 1; }; }
13523
: ${CONFIG_STATUS=./config.status}
13525
ac_clean_files_save=$ac_clean_files
13526
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13527
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13528
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13529
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13531
# Generated by $as_me.
13532
# Run this file to recreate the current configuration.
13533
# Compiler output produced by configure, useful for debugging
13534
# configure, is in config.log if it exists.
13537
ac_cs_recheck=false
13539
SHELL=\${CONFIG_SHELL-$SHELL}
13542
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13543
## --------------------- ##
13544
## M4sh Initialization. ##
13545
## --------------------- ##
13547
# Be more Bourne compatible
13548
DUALCASE=1; export DUALCASE # for MKS sh
13549
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13552
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13553
# is contrary to our usage. Disable this feature.
13554
alias -g '${1+"$@"}'='"$@"'
13555
setopt NO_GLOB_SUBST
13557
case `(set -o) 2>/dev/null` in
13558
*posix*) set -o posix ;;
13567
# Avoid depending upon Character Ranges.
13568
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13569
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13570
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13571
as_cr_digits='0123456789'
13572
as_cr_alnum=$as_cr_Letters$as_cr_digits
13577
# Printing a long string crashes Solaris 7 /usr/bin/printf.
13578
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13579
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13580
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13581
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13582
as_echo='printf %s\n'
13583
as_echo_n='printf %s'
13585
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13586
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13587
as_echo_n='/usr/ucb/echo -n'
13589
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13590
as_echo_n_body='eval
13594
expr "X$arg" : "X\\(.*\\)$as_nl";
13595
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13597
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13599
export as_echo_n_body
13600
as_echo_n='sh -c $as_echo_n_body as_echo'
13602
export as_echo_body
13603
as_echo='sh -c $as_echo_body as_echo'
13606
# The user is always right.
13607
if test "${PATH_SEPARATOR+set}" != set; then
13609
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13610
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13615
# Support unset when possible.
13616
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13624
# We need space, tab and new line, in precisely that order. Quoting is
13625
# there to prevent editors from complaining about space-tab.
13626
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13627
# splitting by setting IFS to empty value.)
13630
# Find who we are. Look in the path if we contain no directory separator.
13632
*[\\/]* ) as_myself=$0 ;;
13633
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13634
for as_dir in $PATH
13637
test -z "$as_dir" && as_dir=.
13638
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13644
# We did not find ourselves, most probably we were run as `sh COMMAND'
13645
# in which case we are not to be found in the path.
13646
if test "x$as_myself" = x; then
13649
if test ! -f "$as_myself"; then
13650
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13651
{ (exit 1); exit 1; }
13654
# Work around bugs in pre-3.0 UWIN ksh.
13655
for as_var in ENV MAIL MAILPATH
13656
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13668
# Required to use basename.
13669
if expr a : '\(a\)' >/dev/null 2>&1 &&
13670
test "X`expr 00001 : '.*\(...\)'`" = X001; then
13676
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13677
as_basename=basename
13683
# Name of the executable.
13684
as_me=`$as_basename -- "$0" ||
13685
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13686
X"$0" : 'X\(//\)$' \| \
13687
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13689
sed '/^.*\/\([^/][^/]*\)\/*$/{
13708
as_lineno_1=$LINENO
13709
as_lineno_2=$LINENO
13710
test "x$as_lineno_1" != "x$as_lineno_2" &&
13711
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13713
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13714
# uniformly replaced by the line number. The first 'sed' inserts a
13715
# line-number line after each line using $LINENO; the second 'sed'
13716
# does the real work. The second script uses 'N' to pair each
13717
# line-number line with the line containing $LINENO, and appends
13718
# trailing '-' during substitution so that $LINENO is not a special
13719
# case at line end.
13720
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13721
# scripts with optimization help from Paolo Bonzini. Blame Lee
13722
# E. McMahon (1931-1989) for sed's syntax. :-)
13734
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13737
' >$as_me.lineno &&
13738
chmod +x "$as_me.lineno" ||
13739
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13740
{ (exit 1); exit 1; }; }
13742
# Don't try to exec as it changes $[0], causing all sort of problems
13743
# (the dirname of $[0] is not the place where we might find the
13744
# original and so on. Autoconf is especially sensitive to this).
13745
. "./$as_me.lineno"
13746
# Exit status is that of the last command.
13751
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13757
ECHO_C= ECHO_N= ECHO_T=
13758
case `echo -n x` in
13760
case `echo 'x\c'` in
13761
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
13767
if expr a : '\(a\)' >/dev/null 2>&1 &&
13768
test "X`expr 00001 : '.*\(...\)'`" = X001; then
13774
rm -f conf$$ conf$$.exe conf$$.file
13775
if test -d conf$$.dir; then
13776
rm -f conf$$.dir/conf$$.file
13779
mkdir conf$$.dir 2>/dev/null
13781
if (echo >conf$$.file) 2>/dev/null; then
13782
if ln -s conf$$.file conf$$ 2>/dev/null; then
13784
# ... but there are two gotchas:
13785
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13786
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13787
# In both cases, we have to default to `cp -p'.
13788
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13790
elif ln conf$$.file conf$$ 2>/dev/null; then
13798
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13799
rmdir conf$$.dir 2>/dev/null
13801
if mkdir -p . 2>/dev/null; then
13804
test -d ./-p && rmdir ./-p
13808
if test -x / >/dev/null 2>&1; then
13809
as_test_x='test -x'
13811
if ls -dL / >/dev/null 2>&1; then
13818
if test -d "$1"; then
13824
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13825
???[sx]*):;;*)false;;esac;fi
13829
as_executable_p=$as_test_x
13831
# Sed expression to map a string onto a valid CPP name.
13832
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13834
# Sed expression to map a string onto a valid variable name.
13835
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13840
# Save the log message, to keep $[0] and so on meaningful, and to
13841
# report actual input values of CONFIG_FILES etc. instead of their
13842
# values after options handling.
13844
This file was extended by ubuntuone-client $as_me 0.90.3, which was
13845
generated by GNU Autoconf 2.63. Invocation command line was
13847
CONFIG_FILES = $CONFIG_FILES
13848
CONFIG_HEADERS = $CONFIG_HEADERS
13849
CONFIG_LINKS = $CONFIG_LINKS
13850
CONFIG_COMMANDS = $CONFIG_COMMANDS
13853
on `(hostname || uname -n) 2>/dev/null | sed 1q`
13858
case $ac_config_files in *"
13859
"*) set x $ac_config_files; shift; ac_config_files=$*;;
13862
case $ac_config_headers in *"
13863
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13867
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13868
# Files that config.status was made for.
13869
config_files="$ac_config_files"
13870
config_headers="$ac_config_headers"
13871
config_commands="$ac_config_commands"
13875
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13877
\`$as_me' instantiates files from templates according to the
13878
current configuration.
13880
Usage: $0 [OPTION]... [FILE]...
13882
-h, --help print this help, then exit
13883
-V, --version print version number and configuration settings, then exit
13884
-q, --quiet, --silent
13885
do not print progress messages
13886
-d, --debug don't remove temporary files
13887
--recheck update $as_me by reconfiguring in the same conditions
13888
--file=FILE[:TEMPLATE]
13889
instantiate the configuration file FILE
13890
--header=FILE[:TEMPLATE]
13891
instantiate the configuration header FILE
13893
Configuration files:
13896
Configuration headers:
13899
Configuration commands:
13902
Report bugs to <bug-autoconf@gnu.org>."
13905
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13907
ubuntuone-client config.status 0.90.3
13908
configured by $0, generated by GNU Autoconf 2.63,
13909
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13911
Copyright (C) 2008 Free Software Foundation, Inc.
13912
This config.status script is free software; the Free Software Foundation
13913
gives unlimited permission to copy, distribute and modify it."
13920
test -n "\$AWK" || AWK=awk
13923
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13924
# The default lists apply if the user does not specify any file.
13930
ac_option=`expr "X$1" : 'X\([^=]*\)='`
13931
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13942
# Handling of the options.
13943
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13945
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13946
$as_echo "$ac_cs_version"; exit ;;
13947
--debug | --debu | --deb | --de | --d | -d )
13949
--file | --fil | --fi | --f )
13952
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13954
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
13955
ac_need_defaults=false;;
13956
--header | --heade | --head | --hea )
13959
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13961
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
13962
ac_need_defaults=false;;
13964
# Conflict between --help and --header
13965
{ $as_echo "$as_me: error: ambiguous option: $1
13966
Try \`$0 --help' for more information." >&2
13967
{ (exit 1); exit 1; }; };;
13968
--help | --hel | -h )
13969
$as_echo "$ac_cs_usage"; exit ;;
13970
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
13971
| -silent | --silent | --silen | --sile | --sil | --si | --s)
13974
# This is an error.
13975
-*) { $as_echo "$as_me: error: unrecognized option: $1
13976
Try \`$0 --help' for more information." >&2
13977
{ (exit 1); exit 1; }; } ;;
13979
*) ac_config_targets="$ac_config_targets $1"
13980
ac_need_defaults=false ;;
13986
ac_configure_extra_args=
13988
if $ac_cs_silent; then
13990
ac_configure_extra_args="$ac_configure_extra_args --silent"
13994
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13995
if \$ac_cs_recheck; then
13996
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13998
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13999
CONFIG_SHELL='$SHELL'
14000
export CONFIG_SHELL
14005
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14009
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14010
## Running $as_me. ##
14016
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14020
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14023
# The HP-UX ksh and POSIX shell print the target directory to stdout
14024
# if CDPATH is set.
14025
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14027
sed_quote_subst='$sed_quote_subst'
14028
double_quote_subst='$double_quote_subst'
14029
delay_variable_subst='$delay_variable_subst'
14030
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
14031
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
14032
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
14033
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
14034
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
14035
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
14036
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
14037
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
14038
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
14039
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
14040
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
14041
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
14042
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
14043
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
14044
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
14045
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
14046
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
14047
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
14048
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
14049
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
14050
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
14051
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
14052
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
14053
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
14054
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
14055
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
14056
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
14057
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14058
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
14059
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
14060
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
14061
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
14062
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14063
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
14064
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
14065
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14066
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14067
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14068
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
14069
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
14070
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
14071
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
14072
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
14073
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
14074
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
14075
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14076
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
14077
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
14078
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
14079
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
14080
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
14081
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
14082
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
14083
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
14084
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
14085
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
14086
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
14087
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
14088
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
14089
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
14090
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
14091
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
14092
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14093
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14094
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
14095
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
14096
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14097
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14098
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
14099
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14100
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14101
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14102
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14103
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14104
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14105
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
14106
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14107
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
14108
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
14109
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
14110
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
14111
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
14112
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
14113
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
14114
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14115
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
14116
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
14117
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
14118
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
14119
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
14120
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14121
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14122
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
14123
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14124
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
14125
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
14126
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
14127
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
14128
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
14129
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14130
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
14131
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
14132
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14133
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
14134
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
14135
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14136
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14137
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
14138
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
14139
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
14140
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14141
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
14142
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
14143
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
14144
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
14145
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
14146
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
14147
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
14150
LTCFLAGS='$LTCFLAGS'
14151
compiler='$compiler_DEFAULT'
14153
# Quote evaled strings.
14165
deplibs_check_method \
14174
lt_cv_sys_global_symbol_pipe \
14175
lt_cv_sys_global_symbol_to_cdecl \
14176
lt_cv_sys_global_symbol_to_c_name_address \
14177
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14180
lt_prog_compiler_no_builtin_flag \
14181
lt_prog_compiler_wl \
14182
lt_prog_compiler_pic \
14183
lt_prog_compiler_static \
14184
lt_cv_prog_compiler_c_o \
14192
export_dynamic_flag_spec \
14193
whole_archive_flag_spec \
14194
compiler_needs_object \
14196
allow_undefined_flag \
14197
no_undefined_flag \
14198
hardcode_libdir_flag_spec \
14199
hardcode_libdir_flag_spec_ld \
14200
hardcode_libdir_separator \
14205
variables_saved_for_relink \
14207
library_names_spec \
14212
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14213
*[\\\\\\\`\\"\\\$]*)
14214
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14217
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14222
# Double-quote double-evaled strings.
14223
for var in reload_cmds \
14224
old_postinstall_cmds \
14225
old_postuninstall_cmds \
14227
extract_expsyms_cmds \
14228
old_archive_from_new_cmds \
14229
old_archive_from_expsyms_cmds \
14231
archive_expsym_cmds \
14233
module_expsym_cmds \
14234
export_symbols_cmds \
14237
postuninstall_cmds \
14239
sys_lib_search_path_spec \
14240
sys_lib_dlsearch_path_spec; do
14241
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14242
*[\\\\\\\`\\"\\\$]*)
14243
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14246
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14251
# Fix-up fallback echo if it was mangled by the above quoting rules.
14253
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14257
ac_aux_dir='$ac_aux_dir'
14258
xsi_shell='$xsi_shell'
14259
lt_shell_append='$lt_shell_append'
14261
# See if we are running on zsh, and set the options which allow our
14262
# commands through without removal of \ escapes INIT.
14263
if test -n "\${ZSH_VERSION+set}" ; then
14264
setopt NO_GLOB_SUBST
14270
TIMESTAMP='$TIMESTAMP'
14279
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14281
# Handling of arguments.
14282
for ac_config_target in $ac_config_targets
14284
case $ac_config_target in
14285
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14286
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14287
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14288
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14289
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14290
"nautilus/Makefile") CONFIG_FILES="$CONFIG_FILES nautilus/Makefile" ;;
14291
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
14292
"setup.py") CONFIG_FILES="$CONFIG_FILES setup.py" ;;
14293
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
14295
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14296
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14297
{ (exit 1); exit 1; }; };;
14302
# If the user did not use the arguments to specify the items to instantiate,
14303
# then the envvar interface is used. Set only those that are not.
14304
# We use the long form for the default assignment because of an extremely
14305
# bizarre bug on SunOS 4.1.3.
14306
if $ac_need_defaults; then
14307
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14308
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14309
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14312
# Have a temporary directory for convenience. Make it in the build tree
14313
# simply because there is no reason against having it here, and in addition,
14314
# creating and moving files from /tmp can sometimes cause problems.
14315
# Hook for its removal unless debugging.
14316
# Note that there is a small window in which the directory will not be cleaned:
14317
# after its creation but before its name has been assigned to `$tmp'.
14321
trap 'exit_status=$?
14322
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14324
trap '{ (exit 1); exit 1; }' 1 2 13 15
14326
# Create a (secure) tmp directory for tmp files.
14329
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14330
test -n "$tmp" && test -d "$tmp"
14333
tmp=./conf$$-$RANDOM
14334
(umask 077 && mkdir "$tmp")
14337
$as_echo "$as_me: cannot create a temporary directory in ." >&2
14338
{ (exit 1); exit 1; }
14341
# Set up the scripts for CONFIG_FILES section.
14342
# No need to generate them if there are no CONFIG_FILES.
14343
# This happens for instance with `./config.status config.h'.
14344
if test -n "$CONFIG_FILES"; then
14348
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14349
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14352
ac_cs_awk_cr=$ac_cr
14355
echo 'BEGIN {' >"$tmp/subs1.awk" &&
14360
echo "cat >conf$$subs.awk <<_ACEOF" &&
14361
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14363
} >conf$$subs.sh ||
14364
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14365
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14366
{ (exit 1); exit 1; }; }
14367
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
14369
for ac_last_try in false false false false false :; do
14370
. ./conf$$subs.sh ||
14371
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14372
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14373
{ (exit 1); exit 1; }; }
14375
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14376
if test $ac_delim_n = $ac_delim_num; then
14378
elif $ac_last_try; then
14379
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14380
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14381
{ (exit 1); exit 1; }; }
14383
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14386
rm -f conf$$subs.sh
14388
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14389
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
14393
s/^/S["/; s/!.*/"]=/
14403
s/\(.\{148\}\).*/\1/
14405
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14410
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14417
s/\(.\{148\}\).*/\1/
14419
s/["\\]/\\&/g; s/^/"/; s/$/"/
14423
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14428
' <conf$$subs.awk | sed '
14433
' >>$CONFIG_STATUS || ac_write_fail=1
14434
rm -f conf$$subs.awk
14435
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14437
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
14438
for (key in S) S_is_set[key] = 1
14444
nfields = split(line, field, "@")
14446
len = length(field[1])
14447
for (i = 2; i < nfields; i++) {
14449
keylen = length(key)
14450
if (S_is_set[key]) {
14452
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14453
len += length(value) + length(field[++i])
14464
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14465
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14466
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14469
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
14470
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
14471
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
14472
{ (exit 1); exit 1; }; }
14475
# VPATH may cause trouble with some makes, so we remove $(srcdir),
14476
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14477
# trailing colons and then remove the whole line if VPATH becomes empty
14478
# (actually we leave an empty line to preserve line numbers).
14479
if test "x$srcdir" = x.; then
14480
ac_vpsub='/^[ ]*VPATH[ ]*=/{
14481
s/:*\$(srcdir):*/:/
14482
s/:*\${srcdir}:*/:/
14484
s/^\([^=]*=[ ]*\):*/\1/
14490
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14491
fi # test -n "$CONFIG_FILES"
14493
# Set up the scripts for CONFIG_HEADERS section.
14494
# No need to generate them if there are no CONFIG_HEADERS.
14495
# This happens for instance with `./config.status Makefile'.
14496
if test -n "$CONFIG_HEADERS"; then
14497
cat >"$tmp/defines.awk" <<\_ACAWK ||
14501
# Transform confdefs.h into an awk script `defines.awk', embedded as
14502
# here-document in config.status, that substitutes the proper values into
14503
# config.h.in to produce config.h.
14505
# Create a delimiter string that does not exist in confdefs.h, to ease
14506
# handling of long lines.
14508
for ac_last_try in false false :; do
14509
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
14510
if test -z "$ac_t"; then
14512
elif $ac_last_try; then
14513
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
14514
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
14515
{ (exit 1); exit 1; }; }
14517
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14521
# For the awk script, D is an array of macro values keyed by name,
14522
# likewise P contains macro parameters if any. Preserve backslash
14523
# newline sequences.
14525
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14527
s/.\{148\}/&'"$ac_delim"'/g
14530
s/^[ ]*#[ ]*define[ ][ ]*/ /
14537
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14539
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14543
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14544
D["\1"]=" \3\\\\\\n"\\/p
14546
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14551
s/.\{148\}/&'"$ac_delim"'/g
14556
s/["\\]/\\&/g; s/^/"/; s/$/"/p
14559
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14561
' <confdefs.h | sed '
14562
s/'"$ac_delim"'/"\\\
14563
"/g' >>$CONFIG_STATUS || ac_write_fail=1
14565
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14566
for (key in D) D_is_set[key] = 1
14569
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14571
split(line, arg, " ")
14572
if (arg[1] == "#") {
14576
defundef = substr(arg[1], 2)
14579
split(mac1, mac2, "(") #)
14581
prefix = substr(line, 1, index(line, defundef) - 1)
14582
if (D_is_set[macro]) {
14583
# Preserve the white space surrounding the "#".
14584
print prefix "define", macro P[macro] D[macro]
14587
# Replace #undef with comments. This is necessary, for example,
14588
# in the case of _POSIX_SOURCE, which is predefined and required
14589
# on some systems where configure will not decide to define it.
14590
if (defundef == "undef") {
14591
print "/*", prefix defundef, macro, "*/"
14599
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14600
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14601
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14602
{ (exit 1); exit 1; }; }
14603
fi # test -n "$CONFIG_HEADERS"
14606
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14611
:[FHLC]) ac_mode=$ac_tag; continue;;
14613
case $ac_mode$ac_tag in
14615
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
14616
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
14617
{ (exit 1); exit 1; }; };;
14618
:[FH]-) ac_tag=-:-;;
14619
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14636
-) ac_f="$tmp/stdin";;
14637
*) # Look for the file first in the build tree, then in the source tree
14638
# (if the path is not absolute). The absolute path cannot be DOS-style,
14639
# because $ac_f cannot contain `:'.
14643
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14645
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14646
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14647
{ (exit 1); exit 1; }; };;
14649
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14650
ac_file_inputs="$ac_file_inputs '$ac_f'"
14653
# Let's still pretend it is `configure' which instantiates (i.e., don't
14654
# use $as_me), people would be surprised to read:
14655
# /* config.h. Generated by config.status. */
14656
configure_input='Generated from '`
14657
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14659
if test x"$ac_file" != x-; then
14660
configure_input="$ac_file. $configure_input"
14661
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14662
$as_echo "$as_me: creating $ac_file" >&6;}
14664
# Neutralize special characters interpreted by sed in replacement strings.
14665
case $configure_input in #(
14666
*\&* | *\|* | *\\* )
14667
ac_sed_conf_input=`$as_echo "$configure_input" |
14668
sed 's/[\\\\&|]/\\\\&/g'`;; #(
14669
*) ac_sed_conf_input=$configure_input;;
14673
*:-:* | *:-) cat >"$tmp/stdin" \
14674
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14675
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14676
{ (exit 1); exit 1; }; } ;;
14681
ac_dir=`$as_dirname -- "$ac_file" ||
14682
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14683
X"$ac_file" : 'X\(//\)[^/]' \| \
14684
X"$ac_file" : 'X\(//\)$' \| \
14685
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14686
$as_echo X"$ac_file" |
14687
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14691
/^X\(\/\/\)[^/].*/{
14706
-*) as_dir=./$as_dir;;
14708
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14712
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14713
*) as_qdir=$as_dir;;
14715
as_dirs="'$as_qdir' $as_dirs"
14716
as_dir=`$as_dirname -- "$as_dir" ||
14717
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14718
X"$as_dir" : 'X\(//\)[^/]' \| \
14719
X"$as_dir" : 'X\(//\)$' \| \
14720
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14721
$as_echo X"$as_dir" |
14722
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14726
/^X\(\/\/\)[^/].*/{
14739
test -d "$as_dir" && break
14741
test -z "$as_dirs" || eval "mkdir $as_dirs"
14742
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14743
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14744
{ (exit 1); exit 1; }; }; }
14748
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14750
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14751
# A ".." for each directory in $ac_dir_suffix.
14752
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14753
case $ac_top_builddir_sub in
14754
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14755
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14758
ac_abs_top_builddir=$ac_pwd
14759
ac_abs_builddir=$ac_pwd$ac_dir_suffix
14760
# for backward compatibility:
14761
ac_top_builddir=$ac_top_build_prefix
14764
.) # We are building in place.
14766
ac_top_srcdir=$ac_top_builddir_sub
14767
ac_abs_top_srcdir=$ac_pwd ;;
14768
[\\/]* | ?:[\\/]* ) # Absolute name.
14769
ac_srcdir=$srcdir$ac_dir_suffix;
14770
ac_top_srcdir=$srcdir
14771
ac_abs_top_srcdir=$srcdir ;;
14772
*) # Relative name.
14773
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14774
ac_top_srcdir=$ac_top_build_prefix$srcdir
14775
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14777
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14787
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14788
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14790
ac_MKDIR_P=$MKDIR_P
14792
[\\/$]* | ?:[\\/]* ) ;;
14793
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14797
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14798
# If the template does not know about datarootdir, expand it.
14799
# FIXME: This hack should be removed a few years after 2.60.
14800
ac_datarootdir_hack=; ac_datarootdir_seen=
14813
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14814
*datarootdir*) ac_datarootdir_seen=yes;;
14815
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14816
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14817
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14819
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14820
ac_datarootdir_hack='
14821
s&@datadir@&$datadir&g
14822
s&@docdir@&$docdir&g
14823
s&@infodir@&$infodir&g
14824
s&@localedir@&$localedir&g
14825
s&@mandir@&$mandir&g
14826
s&\\\${datarootdir}&$datarootdir&g' ;;
14830
# Neutralize VPATH when `$srcdir' = `.'.
14831
# Shell code in configure.ac might set extrasub.
14832
# FIXME: do we really want to maintain this feature?
14833
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14834
ac_sed_extra="$ac_vpsub
14837
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14839
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14840
s|@configure_input@|$ac_sed_conf_input|;t t
14841
s&@top_builddir@&$ac_top_builddir_sub&;t t
14842
s&@top_build_prefix@&$ac_top_build_prefix&;t t
14843
s&@srcdir@&$ac_srcdir&;t t
14844
s&@abs_srcdir@&$ac_abs_srcdir&;t t
14845
s&@top_srcdir@&$ac_top_srcdir&;t t
14846
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14847
s&@builddir@&$ac_builddir&;t t
14848
s&@abs_builddir@&$ac_abs_builddir&;t t
14849
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14850
s&@INSTALL@&$ac_INSTALL&;t t
14851
s&@MKDIR_P@&$ac_MKDIR_P&;t t
14852
$ac_datarootdir_hack
14854
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
14855
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14856
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14857
{ (exit 1); exit 1; }; }
14859
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14860
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14861
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14862
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14863
which seems to be undefined. Please make sure it is defined." >&5
14864
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14865
which seems to be undefined. Please make sure it is defined." >&2;}
14869
-) cat "$tmp/out" && rm -f "$tmp/out";;
14870
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14872
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14873
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14874
{ (exit 1); exit 1; }; }
14880
if test x"$ac_file" != x-; then
14882
$as_echo "/* $configure_input */" \
14883
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14884
} >"$tmp/config.h" \
14885
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14886
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14887
{ (exit 1); exit 1; }; }
14888
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14889
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14890
$as_echo "$as_me: $ac_file is unchanged" >&6;}
14893
mv "$tmp/config.h" "$ac_file" \
14894
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14895
$as_echo "$as_me: error: could not create $ac_file" >&2;}
14896
{ (exit 1); exit 1; }; }
14899
$as_echo "/* $configure_input */" \
14900
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14901
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14902
$as_echo "$as_me: error: could not create -" >&2;}
14903
{ (exit 1); exit 1; }; }
14905
# Compute "$ac_file"'s index in $config_headers.
14908
for _am_header in $config_headers :; do
14909
case $_am_header in
14910
$_am_arg | $_am_arg:* )
14913
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
14916
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14917
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14918
X"$_am_arg" : 'X\(//\)[^/]' \| \
14919
X"$_am_arg" : 'X\(//\)$' \| \
14920
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14921
$as_echo X"$_am_arg" |
14922
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14926
/^X\(\/\/\)[^/].*/{
14938
s/.*/./; q'`/stamp-h$_am_stamp_count
14941
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14942
$as_echo "$as_me: executing $ac_file commands" >&6;}
14947
case $ac_file$ac_mode in
14948
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14949
# Autoconf 2.62 quotes --file arguments for eval, but not when files
14950
# are listed without --file. Let's play safe and only enable the eval
14951
# if we detect the quoting.
14952
case $CONFIG_FILES in
14953
*\'*) eval set x "$CONFIG_FILES" ;;
14954
*) set x $CONFIG_FILES ;;
14959
# Strip MF so we end up with the name of the file.
14960
mf=`echo "$mf" | sed -e 's/:.*$//'`
14961
# Check whether this is an Automake generated Makefile or not.
14962
# We used to match only the files named `Makefile.in', but
14963
# some people rename them; so instead we look at the file content.
14964
# Grep'ing the first line is not enough: some people post-process
14965
# each Makefile.in and add a new line on top of each file to say so.
14966
# Grep'ing the whole file is not good either: AIX grep has a line
14967
# limit of 2048, but all sed's we know have understand at least 4000.
14968
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14969
dirpart=`$as_dirname -- "$mf" ||
14970
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14971
X"$mf" : 'X\(//\)[^/]' \| \
14972
X"$mf" : 'X\(//\)$' \| \
14973
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14975
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14979
/^X\(\/\/\)[^/].*/{
14995
# Extract the definition of DEPDIR, am__include, and am__quote
14996
# from the Makefile without running `make'.
14997
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14998
test -z "$DEPDIR" && continue
14999
am__include=`sed -n 's/^am__include = //p' < "$mf"`
15000
test -z "am__include" && continue
15001
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15002
# When using ansi2knr, U may be empty or an underscore; expand it
15003
U=`sed -n 's/^U = //p' < "$mf"`
15004
# Find all dependency output files, they are included files with
15005
# $(DEPDIR) in their names. We invoke sed twice because it is the
15006
# simplest approach to changing $(DEPDIR) to its actual value in the
15008
for file in `sed -n "
15009
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15010
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15011
# Make sure the directory exists.
15012
test -f "$dirpart/$file" && continue
15013
fdir=`$as_dirname -- "$file" ||
15014
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15015
X"$file" : 'X\(//\)[^/]' \| \
15016
X"$file" : 'X\(//\)$' \| \
15017
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15018
$as_echo X"$file" |
15019
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15023
/^X\(\/\/\)[^/].*/{
15036
{ as_dir=$dirpart/$fdir
15038
-*) as_dir=./$as_dir;;
15040
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
15044
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15045
*) as_qdir=$as_dir;;
15047
as_dirs="'$as_qdir' $as_dirs"
15048
as_dir=`$as_dirname -- "$as_dir" ||
15049
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15050
X"$as_dir" : 'X\(//\)[^/]' \| \
15051
X"$as_dir" : 'X\(//\)$' \| \
15052
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15053
$as_echo X"$as_dir" |
15054
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15058
/^X\(\/\/\)[^/].*/{
15071
test -d "$as_dir" && break
15073
test -z "$as_dirs" || eval "mkdir $as_dirs"
15074
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
15075
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
15076
{ (exit 1); exit 1; }; }; }
15077
# echo "creating $dirpart/$file"
15078
echo '# dummy' > "$dirpart/$file"
15085
# See if we are running on zsh, and set the options which allow our
15086
# commands through without removal of \ escapes.
15087
if test -n "${ZSH_VERSION+set}" ; then
15088
setopt NO_GLOB_SUBST
15091
cfgfile="${ofile}T"
15092
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15095
cat <<_LT_EOF >> "$cfgfile"
15098
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15099
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15100
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15101
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15103
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15104
# 2006, 2007, 2008 Free Software Foundation, Inc.
15105
# Written by Gordon Matzigkeit, 1996
15107
# This file is part of GNU Libtool.
15109
# GNU Libtool is free software; you can redistribute it and/or
15110
# modify it under the terms of the GNU General Public License as
15111
# published by the Free Software Foundation; either version 2 of
15112
# the License, or (at your option) any later version.
15114
# As a special exception to the GNU General Public License,
15115
# if you distribute this file as part of a program or library that
15116
# is built using GNU Libtool, you may include this file under the
15117
# same distribution terms that you use for the rest of that program.
15119
# GNU Libtool is distributed in the hope that it will be useful,
15120
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15121
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15122
# GNU General Public License for more details.
15124
# You should have received a copy of the GNU General Public License
15125
# along with GNU Libtool; see the file COPYING. If not, a copy
15126
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15127
# obtained by writing to the Free Software Foundation, Inc.,
15128
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15131
# The names of the tagged configurations supported by this script.
15134
# ### BEGIN LIBTOOL CONFIG
15136
# Which release of libtool.m4 was used?
15137
macro_version=$macro_version
15138
macro_revision=$macro_revision
15140
# Whether or not to build shared libraries.
15141
build_libtool_libs=$enable_shared
15143
# Whether or not to build static libraries.
15144
build_old_libs=$enable_static
15146
# What type of objects to build.
15149
# Whether or not to optimize for fast installation.
15150
fast_install=$enable_fast_install
15153
host_alias=$host_alias
15157
# The build system.
15158
build_alias=$build_alias
15162
# A sed program that does not truncate output.
15165
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15166
Xsed="\$SED -e 1s/^X//"
15168
# A grep program that handles long lines.
15174
# A literal string matcher.
15177
# A BSD- or MS-compatible name lister.
15180
# Whether we need soft or hard links.
15183
# What is the maximum length of a command?
15184
max_cmd_len=$max_cmd_len
15186
# Object file suffix (normally "o").
15189
# Executable file suffix (normally "").
15192
# whether the shell understands "unset".
15195
# turn spaces into newlines.
15198
# turn newlines into spaces.
15201
# How to create reloadable object files.
15202
reload_flag=$lt_reload_flag
15203
reload_cmds=$lt_reload_cmds
15205
# An object symbol dumper.
15206
OBJDUMP=$lt_OBJDUMP
15208
# Method to check whether dependent libraries are shared objects.
15209
deplibs_check_method=$lt_deplibs_check_method
15211
# Command to use when deplibs_check_method == "file_magic".
15212
file_magic_cmd=$lt_file_magic_cmd
15216
AR_FLAGS=$lt_AR_FLAGS
15218
# A symbol stripping program.
15221
# Commands used to install an old-style archive.
15223
old_postinstall_cmds=$lt_old_postinstall_cmds
15224
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15229
# LTCC compiler flags.
15230
LTCFLAGS=$lt_CFLAGS
15232
# Take the output of nm and produce a listing of raw symbols and C names.
15233
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15235
# Transform the output of nm in a proper C declaration.
15236
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15238
# Transform the output of nm in a C name address pair.
15239
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15241
# Transform the output of nm in a C name address pair when lib prefix is needed.
15242
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15244
# The name of the directory that contains temporary libtool files.
15247
# Shell to use when invoking shell scripts.
15250
# An echo program that does not interpret backslashes.
15253
# Used to examine libraries when file_magic_cmd begins with "file".
15254
MAGIC_CMD=$MAGIC_CMD
15256
# Must we lock files when doing compilation?
15257
need_locks=$lt_need_locks
15259
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15260
DSYMUTIL=$lt_DSYMUTIL
15262
# Tool to change global to local symbols on Mac OS X.
15265
# Tool to manipulate fat objects and archives on Mac OS X.
15268
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15271
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15272
OTOOL64=$lt_OTOOL64
15274
# Old archive suffix (normally "a").
15277
# Shared library suffix (normally ".so").
15278
shrext_cmds=$lt_shrext_cmds
15280
# The commands to extract the exported symbol list from a shared archive.
15281
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15283
# Variables whose values should be saved in libtool wrapper scripts and
15284
# restored at link time.
15285
variables_saved_for_relink=$lt_variables_saved_for_relink
15287
# Do we need the "lib" prefix for modules?
15288
need_lib_prefix=$need_lib_prefix
15290
# Do we need a version for libraries?
15291
need_version=$need_version
15293
# Library versioning type.
15294
version_type=$version_type
15296
# Shared library runtime path variable.
15297
runpath_var=$runpath_var
15299
# Shared library path variable.
15300
shlibpath_var=$shlibpath_var
15302
# Is shlibpath searched before the hard-coded library search path?
15303
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15305
# Format of library name prefix.
15306
libname_spec=$lt_libname_spec
15308
# List of archive names. First name is the real one, the rest are links.
15309
# The last name is the one that the linker finds with -lNAME
15310
library_names_spec=$lt_library_names_spec
15312
# The coded name of the library, if different from the real name.
15313
soname_spec=$lt_soname_spec
15315
# Command to use after installation of a shared archive.
15316
postinstall_cmds=$lt_postinstall_cmds
15318
# Command to use after uninstallation of a shared archive.
15319
postuninstall_cmds=$lt_postuninstall_cmds
15321
# Commands used to finish a libtool library installation in a directory.
15322
finish_cmds=$lt_finish_cmds
15324
# As "finish_cmds", except a single script fragment to be evaled but
15326
finish_eval=$lt_finish_eval
15328
# Whether we should hardcode library paths into libraries.
15329
hardcode_into_libs=$hardcode_into_libs
15331
# Compile-time system search path for libraries.
15332
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15334
# Run-time system search path for libraries.
15335
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15337
# Whether dlopen is supported.
15338
dlopen_support=$enable_dlopen
15340
# Whether dlopen of programs is supported.
15341
dlopen_self=$enable_dlopen_self
15343
# Whether dlopen of statically linked programs is supported.
15344
dlopen_self_static=$enable_dlopen_self_static
15346
# Commands to strip libraries.
15347
old_striplib=$lt_old_striplib
15348
striplib=$lt_striplib
15351
# The linker used to build libraries.
15354
# Commands used to build an old-style archive.
15355
old_archive_cmds=$lt_old_archive_cmds
15357
# A language specific compiler.
15360
# Is the compiler the GNU compiler?
15363
# Compiler flag to turn off builtin functions.
15364
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15366
# How to pass a linker flag through the compiler.
15367
wl=$lt_lt_prog_compiler_wl
15369
# Additional compiler flags for building library objects.
15370
pic_flag=$lt_lt_prog_compiler_pic
15372
# Compiler flag to prevent dynamic linking.
15373
link_static_flag=$lt_lt_prog_compiler_static
15375
# Does compiler simultaneously support -c and -o options?
15376
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15378
# Whether or not to add -lc for building shared libraries.
15379
build_libtool_need_lc=$archive_cmds_need_lc
15381
# Whether or not to disallow shared libs when runtime libs are static.
15382
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15384
# Compiler flag to allow reflexive dlopens.
15385
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15387
# Compiler flag to generate shared objects directly from archives.
15388
whole_archive_flag_spec=$lt_whole_archive_flag_spec
15390
# Whether the compiler copes with passing no objects directly.
15391
compiler_needs_object=$lt_compiler_needs_object
15393
# Create an old-style archive from a shared archive.
15394
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15396
# Create a temporary old-style archive to link instead of a shared archive.
15397
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15399
# Commands used to build a shared archive.
15400
archive_cmds=$lt_archive_cmds
15401
archive_expsym_cmds=$lt_archive_expsym_cmds
15403
# Commands used to build a loadable module if different from building
15404
# a shared archive.
15405
module_cmds=$lt_module_cmds
15406
module_expsym_cmds=$lt_module_expsym_cmds
15408
# Whether we are building with GNU ld or not.
15409
with_gnu_ld=$lt_with_gnu_ld
15411
# Flag that allows shared libraries with undefined symbols to be built.
15412
allow_undefined_flag=$lt_allow_undefined_flag
15414
# Flag that enforces no undefined symbols.
15415
no_undefined_flag=$lt_no_undefined_flag
15417
# Flag to hardcode \$libdir into a binary during linking.
15418
# This must work even if \$libdir does not exist
15419
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15421
# If ld is used when linking, flag to hardcode \$libdir into a binary
15422
# during linking. This must work even if \$libdir does not exist.
15423
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15425
# Whether we need a single "-rpath" flag with a separated argument.
15426
hardcode_libdir_separator=$lt_hardcode_libdir_separator
15428
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15429
# DIR into the resulting binary.
15430
hardcode_direct=$hardcode_direct
15432
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15433
# DIR into the resulting binary and the resulting library dependency is
15434
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15435
# library is relocated.
15436
hardcode_direct_absolute=$hardcode_direct_absolute
15438
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15439
# into the resulting binary.
15440
hardcode_minus_L=$hardcode_minus_L
15442
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15443
# into the resulting binary.
15444
hardcode_shlibpath_var=$hardcode_shlibpath_var
15446
# Set to "yes" if building a shared library automatically hardcodes DIR
15447
# into the library and all subsequent libraries and executables linked
15449
hardcode_automatic=$hardcode_automatic
15451
# Set to yes if linker adds runtime paths of dependent libraries
15452
# to runtime path list.
15453
inherit_rpath=$inherit_rpath
15455
# Whether libtool must link a program against all its dependency libraries.
15456
link_all_deplibs=$link_all_deplibs
15458
# Fix the shell variable \$srcfile for the compiler.
15459
fix_srcfile_path=$lt_fix_srcfile_path
15461
# Set to "yes" if exported symbols are required.
15462
always_export_symbols=$always_export_symbols
15464
# The commands to list exported symbols.
15465
export_symbols_cmds=$lt_export_symbols_cmds
15467
# Symbols that should not be listed in the preloaded symbols.
15468
exclude_expsyms=$lt_exclude_expsyms
15470
# Symbols that must always be exported.
15471
include_expsyms=$lt_include_expsyms
15473
# Commands necessary for linking programs (against libraries) with templates.
15474
prelink_cmds=$lt_prelink_cmds
15476
# Specify filename containing input files.
15477
file_list_spec=$lt_file_list_spec
15479
# How to hardcode a shared library path into an executable.
15480
hardcode_action=$hardcode_action
15482
# ### END LIBTOOL CONFIG
15488
cat <<\_LT_EOF >> "$cfgfile"
15489
# AIX sometimes has problems with the GCC collect2 program. For some
15490
# reason, if we set the COLLECT_NAMES environment variable, the problems
15491
# vanish in a puff of smoke.
15492
if test "X${COLLECT_NAMES+set}" != Xset; then
15494
export COLLECT_NAMES
15501
ltmain="$ac_aux_dir/ltmain.sh"
15504
# We use sed instead of cat because bash on DJGPP gets confused if
15505
# if finds mixed CR/LF and LF-only lines. Since sed operates in
15506
# text mode, it properly converts lines to CR/LF. This bash problem
15507
# is reportedly fixed, but why not run on old versions too?
15508
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15509
|| (rm -f "$cfgfile"; exit 1)
15513
cat << \_LT_EOF >> "$cfgfile"
15515
# func_dirname file append nondir_replacement
15516
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15517
# otherwise set result to NONDIR_REPLACEMENT.
15521
*/*) func_dirname_result="${1%/*}${2}" ;;
15522
* ) func_dirname_result="${3}" ;;
15526
# func_basename file
15529
func_basename_result="${1##*/}"
15532
# func_dirname_and_basename file append nondir_replacement
15533
# perform func_basename and func_dirname in a single function
15535
# dirname: Compute the dirname of FILE. If nonempty,
15536
# add APPEND to the result, otherwise set result
15537
# to NONDIR_REPLACEMENT.
15538
# value returned in "$func_dirname_result"
15539
# basename: Compute filename of FILE.
15540
# value retuned in "$func_basename_result"
15541
# Implementation must be kept synchronized with func_dirname
15542
# and func_basename. For efficiency, we do not delegate to
15543
# those functions but instead duplicate the functionality here.
15544
func_dirname_and_basename ()
15547
*/*) func_dirname_result="${1%/*}${2}" ;;
15548
* ) func_dirname_result="${3}" ;;
15550
func_basename_result="${1##*/}"
15553
# func_stripname prefix suffix name
15554
# strip PREFIX and SUFFIX off of NAME.
15555
# PREFIX and SUFFIX must not contain globbing or regex special
15556
# characters, hashes, percent signs, but SUFFIX may contain a leading
15557
# dot (in which case that matches only a dot).
15560
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15561
# positional parameters, so assign one to ordinary parameter first.
15562
func_stripname_result=${3}
15563
func_stripname_result=${func_stripname_result#"${1}"}
15564
func_stripname_result=${func_stripname_result%"${2}"}
15570
func_opt_split_opt=${1%%=*}
15571
func_opt_split_arg=${1#*=}
15578
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15579
*) func_lo2o_result=${1} ;;
15583
# func_xform libobj-or-source
15586
func_xform_result=${1%.*}.lo
15589
# func_arith arithmetic-term...
15592
func_arith_result=$(( $* ))
15596
# STRING may not start with a hyphen.
15599
func_len_result=${#1}
15604
*) # Bourne compatible functions.
15605
cat << \_LT_EOF >> "$cfgfile"
15607
# func_dirname file append nondir_replacement
15608
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
15609
# otherwise set result to NONDIR_REPLACEMENT.
15612
# Extract subdirectory from the argument.
15613
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15614
if test "X$func_dirname_result" = "X${1}"; then
15615
func_dirname_result="${3}"
15617
func_dirname_result="$func_dirname_result${2}"
15621
# func_basename file
15624
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15628
# func_stripname prefix suffix name
15629
# strip PREFIX and SUFFIX off of NAME.
15630
# PREFIX and SUFFIX must not contain globbing or regex special
15631
# characters, hashes, percent signs, but SUFFIX may contain a leading
15632
# dot (in which case that matches only a dot).
15633
# func_strip_suffix prefix name
15637
.*) func_stripname_result=`$ECHO "X${3}" \
15638
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15639
*) func_stripname_result=`$ECHO "X${3}" \
15640
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15645
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15646
my_sed_long_arg='1s/^-[^=]*=//'
15651
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15652
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15658
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15661
# func_xform libobj-or-source
15664
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15667
# func_arith arithmetic-term...
15670
func_arith_result=`expr "$@"`
15674
# STRING may not start with a hyphen.
15677
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15683
case $lt_shell_append in
15685
cat << \_LT_EOF >> "$cfgfile"
15687
# func_append var value
15688
# Append VALUE to the end of shell variable VAR.
15696
cat << \_LT_EOF >> "$cfgfile"
15698
# func_append var value
15699
# Append VALUE to the end of shell variable VAR.
15710
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15711
|| (rm -f "$cfgfile"; exit 1)
15713
mv -f "$cfgfile" "$ofile" ||
15714
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15719
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
15720
{ { $as_echo "$as_me:$LINENO: error: po/Makefile.in.in was not created by intltoolize." >&5
15721
$as_echo "$as_me: error: po/Makefile.in.in was not created by intltoolize." >&2;}
15722
{ (exit 1); exit 1; }; }
15724
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
15729
'"s|^| $ac_top_srcdir/|" \
15730
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
15732
sed '/^POTFILES =/,/[^\\]$/ {
15736
' "po/Makefile.in" >"po/Makefile"
15737
rm -f "po/Makefile.tmp"
15738
mv "po/stamp-it.tmp" "po/stamp-it"
15745
{ (exit 0); exit 0; }
15747
chmod +x $CONFIG_STATUS
15748
ac_clean_files=$ac_clean_files_save
15750
test $ac_write_fail = 0 ||
15751
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
15752
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
15753
{ (exit 1); exit 1; }; }
15756
# configure is writing to config.log, and then calls config.status.
15757
# config.status does its own redirection, appending to config.log.
15758
# Unfortunately, on DOS this fails, as config.log is still kept open
15759
# by configure, so config.status won't be able to write to it; its
15760
# output is simply discarded. So we exec the FD to /dev/null,
15761
# effectively closing config.log, so it can be properly (re)opened and
15762
# appended to by config.status. When coming back to configure, we
15763
# need to make the FD available again.
15764
if test "$no_create" != yes; then
15766
ac_config_status_args=
15767
test "$silent" = yes &&
15768
ac_config_status_args="$ac_config_status_args --quiet"
15770
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15772
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
15773
# would make configure fail if this is the last instruction.
15774
$ac_cs_success || { (exit 1); exit 1; }
15776
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15777
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15778
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}