2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.63 for Dovecot Sieve 0.1.13.
5
# Report bugs to <dovecot@dovecot.org>.
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
# is contrary to our usage. Disable this feature.
22
alias -g '${1+"$@"}'='"$@"'
25
case `(set -o) 2>/dev/null` in
26
*posix*) set -o posix ;;
35
# Avoid depending upon Character Ranges.
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
45
# Printing a long string crashes Solaris 7 /usr/bin/printf.
46
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
48
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
49
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83
# Support unset when possible.
84
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
92
# We need space, tab and new line, in precisely that order. Quoting is
93
# there to prevent editors from complaining about space-tab.
94
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
95
# splitting by setting IFS to empty value.)
98
# Find who we are. Look in the path if we contain no directory separator.
100
*[\\/]* ) as_myself=$0 ;;
101
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
105
test -z "$as_dir" && as_dir=.
106
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112
# We did not find ourselves, most probably we were run as `sh COMMAND'
113
# in which case we are not to be found in the path.
114
if test "x$as_myself" = x; then
117
if test ! -f "$as_myself"; then
118
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
{ (exit 1); exit 1; }
122
# Work around bugs in pre-3.0 UWIN ksh.
123
for as_var in ENV MAIL MAILPATH
124
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
136
# Required to use basename.
137
if expr a : '\(a\)' >/dev/null 2>&1 &&
138
test "X`expr 00001 : '.*\(...\)'`" = X001; then
144
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
151
# Name of the executable.
152
as_me=`$as_basename -- "$0" ||
153
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
154
X"$0" : 'X\(//\)$' \| \
155
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
157
sed '/^.*\/\([^/][^/]*\)\/*$/{
175
if test "x$CONFIG_SHELL" = x; then
176
if (eval ":") 2>/dev/null; then
182
if test $as_have_required = yes && (eval ":
192
as_func_ret_success () {
195
as_func_ret_failure () {
200
if as_func_success; then
204
echo as_func_success failed.
207
if as_func_failure; then
209
echo as_func_failure succeeded.
212
if as_func_ret_success; then
216
echo as_func_ret_success failed.
219
if as_func_ret_failure; then
221
echo as_func_ret_failure succeeded.
224
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
228
echo positional parameters were not saved.
231
test \$exitcode = 0) || { (exit 1); exit 1; }
236
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
237
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
238
") 2> /dev/null; then
242
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
243
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
246
test -z "$as_dir" && as_dir=.
249
for as_base in sh bash ksh sh5; do
250
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
257
for as_shell in $as_candidate_shells $SHELL; do
258
# Try only shells that exist, to save several forks.
259
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
260
{ ("$as_shell") 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
279
CONFIG_SHELL=$as_shell
281
if { "$as_shell" 2> /dev/null <<\_ASEOF
282
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
285
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
286
# is contrary to our usage. Disable this feature.
287
alias -g '${1+"$@"}'='"$@"'
290
case `(set -o) 2>/dev/null` in
291
*posix*) set -o posix ;;
307
as_func_ret_success () {
310
as_func_ret_failure () {
315
if as_func_success; then
319
echo as_func_success failed.
322
if as_func_failure; then
324
echo as_func_failure succeeded.
327
if as_func_ret_success; then
331
echo as_func_ret_success failed.
334
if as_func_ret_failure; then
336
echo as_func_ret_failure succeeded.
339
if ( set x; as_func_ret_success y && test x = "$1" ); then
343
echo positional parameters were not saved.
346
test $exitcode = 0) || { (exit 1); exit 1; }
351
test "x$as_lineno_1" != "x$as_lineno_2" &&
352
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
363
if test "x$CONFIG_SHELL" != x; then
364
for as_var in BASH_ENV ENV
365
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
368
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
372
if test $as_have_required = no; then
373
echo This script requires a shell more modern than all the
374
echo shells that I found on your system. Please install a
375
echo modern shell, or manually run the script under such a
376
echo shell if you do have one.
377
{ (exit 1); exit 1; }
387
(eval "as_func_return () {
396
as_func_ret_success () {
399
as_func_ret_failure () {
404
if as_func_success; then
408
echo as_func_success failed.
411
if as_func_failure; then
413
echo as_func_failure succeeded.
416
if as_func_ret_success; then
420
echo as_func_ret_success failed.
423
if as_func_ret_failure; then
425
echo as_func_ret_failure succeeded.
428
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
432
echo positional parameters were not saved.
435
test \$exitcode = 0") || {
436
echo No shell found that supports shell functions.
437
echo Please tell bug-autoconf@gnu.org about your system,
438
echo including any error possibly output before this message.
439
echo This can help us improve future autoconf versions.
440
echo Configuration will now proceed without shell functions.
447
test "x$as_lineno_1" != "x$as_lineno_2" &&
448
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
450
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
451
# uniformly replaced by the line number. The first 'sed' inserts a
452
# line-number line after each line using $LINENO; the second 'sed'
453
# does the real work. The second script uses 'N' to pair each
454
# line-number line with the line containing $LINENO, and appends
455
# trailing '-' during substitution so that $LINENO is not a special
457
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
458
# scripts with optimization help from Paolo Bonzini. Blame Lee
459
# E. McMahon (1931-1989) for sed's syntax. :-)
471
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
475
chmod +x "$as_me.lineno" ||
476
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
477
{ (exit 1); exit 1; }; }
479
# Don't try to exec as it changes $[0], causing all sort of problems
480
# (the dirname of $[0] is not the place where we might find the
481
# original and so on. Autoconf is especially sensitive to this).
483
# Exit status is that of the last command.
488
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
494
ECHO_C= ECHO_N= ECHO_T=
498
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
504
if expr a : '\(a\)' >/dev/null 2>&1 &&
505
test "X`expr 00001 : '.*\(...\)'`" = X001; then
511
rm -f conf$$ conf$$.exe conf$$.file
512
if test -d conf$$.dir; then
513
rm -f conf$$.dir/conf$$.file
516
mkdir conf$$.dir 2>/dev/null
518
if (echo >conf$$.file) 2>/dev/null; then
519
if ln -s conf$$.file conf$$ 2>/dev/null; then
521
# ... but there are two gotchas:
522
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
523
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
524
# In both cases, we have to default to `cp -p'.
525
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
527
elif ln conf$$.file conf$$ 2>/dev/null; then
535
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
536
rmdir conf$$.dir 2>/dev/null
538
if mkdir -p . 2>/dev/null; then
541
test -d ./-p && rmdir ./-p
545
if test -x / >/dev/null 2>&1; then
548
if ls -dL / >/dev/null 2>&1; then
555
if test -d "$1"; then
561
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
562
???[sx]*):;;*)false;;esac;fi
566
as_executable_p=$as_test_x
568
# Sed expression to map a string onto a valid CPP name.
569
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
571
# Sed expression to map a string onto a valid variable name.
572
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
577
# Check that we are running under the correct shell.
578
SHELL=${CONFIG_SHELL-/bin/sh}
582
# Remove one level of quotation (which was required for Make).
583
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
588
if test "X$1" = X--no-reexec; then
589
# Discard the --no-reexec flag, and continue.
591
elif test "X$1" = X--fallback-echo; then
592
# Avoid inline document here, it may be left over
594
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
595
# Yippee, $ECHO works!
598
# Restart under the correct shell.
599
exec $SHELL "$0" --no-reexec ${1+"$@"}
602
if test "X$1" = X--fallback-echo; then
603
# used as fallback echo
611
# The HP-UX ksh and POSIX shell print the target directory to stdout
613
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
615
if test -z "$lt_ECHO"; then
616
if test "X${echo_test_string+set}" != Xset; then
617
# find a string as large as possible, as long as the shell can cope with it
618
for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
619
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
620
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
621
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
628
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
629
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
630
test "X$echo_testing_string" = "X$echo_test_string"; then
633
# The Solaris, AIX, and Digital Unix default echo programs unquote
634
# backslashes. This makes it impossible to quote backslashes using
635
# echo "$something" | sed 's/\\/\\\\/g'
637
# So, first we look for a working echo in the user's PATH.
639
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
640
for dir in $PATH /usr/ucb; do
642
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
643
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
644
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
645
test "X$echo_testing_string" = "X$echo_test_string"; then
652
if test "X$ECHO" = Xecho; then
653
# We didn't find a better echo, so look for alternatives.
654
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
655
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
656
test "X$echo_testing_string" = "X$echo_test_string"; then
657
# This shell has a builtin print -r that does the trick.
659
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
660
test "X$CONFIG_SHELL" != X/bin/ksh; then
661
# If we have ksh, try running configure again with it.
662
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
663
export ORIGINAL_CONFIG_SHELL
664
CONFIG_SHELL=/bin/ksh
666
exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
670
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
671
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
672
test "X$echo_testing_string" = "X$echo_test_string"; then
675
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
676
test "X$echo_testing_string" = 'X\t' &&
677
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
678
test "X$echo_testing_string" = "X$echo_test_string"; then
679
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
681
SHELL="$CONFIG_SHELL"
683
ECHO="$CONFIG_SHELL $0 --fallback-echo"
684
elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
685
test "X$echo_testing_string" = 'X\t' &&
686
echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
687
test "X$echo_testing_string" = "X$echo_test_string"; then
688
ECHO="$CONFIG_SHELL $0 --fallback-echo"
690
# maybe with a smaller string...
693
for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
694
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
701
if test "$prev" != 'sed 50q "$0"'; then
702
echo_test_string=`eval $prev`
703
export echo_test_string
704
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
706
# Oops. We lost completely, so just stick with echo.
715
# Copy echo and quote the copy suitably for passing to libtool from
716
# the Makefile, instead of quoting the original, which is used later.
718
if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
719
lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
725
exec 7<&0 </dev/null 6>&1
728
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
729
# so uname gets run too.
730
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
735
ac_default_prefix=/usr/local
737
ac_config_libobj_dir=.
743
SHELL=${CONFIG_SHELL-/bin/sh}
745
# Identity of this package.
746
PACKAGE_NAME='Dovecot Sieve'
747
PACKAGE_TARNAME='dovecot-1.2-sieve'
748
PACKAGE_VERSION='0.1.13'
749
PACKAGE_STRING='Dovecot Sieve 0.1.13'
750
PACKAGE_BUGREPORT='dovecot@dovecot.org'
753
# Factoring default headers for most tests.
754
ac_includes_default="\
756
#ifdef HAVE_SYS_TYPES_H
757
# include <sys/types.h>
759
#ifdef HAVE_SYS_STAT_H
760
# include <sys/stat.h>
766
# ifdef HAVE_STDLIB_H
771
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
776
#ifdef HAVE_STRINGS_H
777
# include <strings.h>
779
#ifdef HAVE_INTTYPES_H
780
# include <inttypes.h>
789
ac_subst_vars='LTLIBOBJS
797
TESTSUITE_VALGRIND_FALSE
798
TESTSUITE_VALGRIND_TRUE
799
BUILD_UNFINISHED_FALSE
800
BUILD_UNFINISHED_TRUE
801
HAVE_DOVECOT_LIBS_FALSE
802
HAVE_DOVECOT_LIBS_TRUE
849
MAINTAINER_MODE_FALSE
859
INSTALL_STRIP_PROGRAM
901
program_transform_name
913
enable_option_checking
914
enable_maintainer_mode
915
enable_dependency_tracking
923
with_unfinished_features
926
ac_precious_vars='build_alias
937
# Initialize some variables set by options.
939
ac_init_version=false
940
ac_unrecognized_opts=
942
# The variables have the same names as the options, with
943
# dashes changed to underlines.
951
program_transform_name=s,x,x,
959
# Installation directory options.
960
# These are left unexpanded so users can "make install exec_prefix=/foo"
961
# and all the variables that are supposed to be based on exec_prefix
962
# by default will actually change.
963
# Use braces instead of parens because sh, perl, etc. also accept them.
964
# (The list follows the same order as the GNU Coding Standards.)
965
bindir='${exec_prefix}/bin'
966
sbindir='${exec_prefix}/sbin'
967
libexecdir='${exec_prefix}/libexec'
968
datarootdir='${prefix}/share'
969
datadir='${datarootdir}'
970
sysconfdir='${prefix}/etc'
971
sharedstatedir='${prefix}/com'
972
localstatedir='${prefix}/var'
973
includedir='${prefix}/include'
974
oldincludedir='/usr/include'
975
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
976
infodir='${datarootdir}/info'
981
libdir='${exec_prefix}/lib'
982
localedir='${datarootdir}/locale'
983
mandir='${datarootdir}/man'
989
# If the previous option needs an argument, assign it.
990
if test -n "$ac_prev"; then
991
eval $ac_prev=\$ac_option
997
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1001
# Accept the important Cygnus configure options, so we can diagnose typos.
1003
case $ac_dashdash$ac_option in
1007
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1009
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1010
bindir=$ac_optarg ;;
1012
-build | --build | --buil | --bui | --bu)
1013
ac_prev=build_alias ;;
1014
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1015
build_alias=$ac_optarg ;;
1017
-cache-file | --cache-file | --cache-fil | --cache-fi \
1018
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1019
ac_prev=cache_file ;;
1020
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1021
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1022
cache_file=$ac_optarg ;;
1024
--config-cache | -C)
1025
cache_file=config.cache ;;
1027
-datadir | --datadir | --datadi | --datad)
1029
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1030
datadir=$ac_optarg ;;
1032
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1033
| --dataroo | --dataro | --datar)
1034
ac_prev=datarootdir ;;
1035
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1036
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1037
datarootdir=$ac_optarg ;;
1039
-disable-* | --disable-*)
1040
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1041
# Reject names that are not valid shell variable names.
1042
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1043
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1044
{ (exit 1); exit 1; }; }
1045
ac_useropt_orig=$ac_useropt
1046
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047
case $ac_user_opts in
1049
"enable_$ac_useropt"
1051
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1052
ac_unrecognized_sep=', ';;
1054
eval enable_$ac_useropt=no ;;
1056
-docdir | --docdir | --docdi | --doc | --do)
1058
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1059
docdir=$ac_optarg ;;
1061
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1063
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1064
dvidir=$ac_optarg ;;
1066
-enable-* | --enable-*)
1067
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1068
# Reject names that are not valid shell variable names.
1069
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1070
{ $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1071
{ (exit 1); exit 1; }; }
1072
ac_useropt_orig=$ac_useropt
1073
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1074
case $ac_user_opts in
1076
"enable_$ac_useropt"
1078
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1079
ac_unrecognized_sep=', ';;
1081
eval enable_$ac_useropt=\$ac_optarg ;;
1083
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1084
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1085
| --exec | --exe | --ex)
1086
ac_prev=exec_prefix ;;
1087
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1088
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1089
| --exec=* | --exe=* | --ex=*)
1090
exec_prefix=$ac_optarg ;;
1092
-gas | --gas | --ga | --g)
1093
# Obsolete; use --with-gas.
1096
-help | --help | --hel | --he | -h)
1097
ac_init_help=long ;;
1098
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1099
ac_init_help=recursive ;;
1100
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1101
ac_init_help=short ;;
1103
-host | --host | --hos | --ho)
1104
ac_prev=host_alias ;;
1105
-host=* | --host=* | --hos=* | --ho=*)
1106
host_alias=$ac_optarg ;;
1108
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1110
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1112
htmldir=$ac_optarg ;;
1114
-includedir | --includedir | --includedi | --included | --include \
1115
| --includ | --inclu | --incl | --inc)
1116
ac_prev=includedir ;;
1117
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1118
| --includ=* | --inclu=* | --incl=* | --inc=*)
1119
includedir=$ac_optarg ;;
1121
-infodir | --infodir | --infodi | --infod | --info | --inf)
1123
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1124
infodir=$ac_optarg ;;
1126
-libdir | --libdir | --libdi | --libd)
1128
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1129
libdir=$ac_optarg ;;
1131
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1132
| --libexe | --libex | --libe)
1133
ac_prev=libexecdir ;;
1134
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1135
| --libexe=* | --libex=* | --libe=*)
1136
libexecdir=$ac_optarg ;;
1138
-localedir | --localedir | --localedi | --localed | --locale)
1139
ac_prev=localedir ;;
1140
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1141
localedir=$ac_optarg ;;
1143
-localstatedir | --localstatedir | --localstatedi | --localstated \
1144
| --localstate | --localstat | --localsta | --localst | --locals)
1145
ac_prev=localstatedir ;;
1146
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1147
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1148
localstatedir=$ac_optarg ;;
1150
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1152
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1153
mandir=$ac_optarg ;;
1155
-nfp | --nfp | --nf)
1156
# Obsolete; use --without-fp.
1159
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1160
| --no-cr | --no-c | -n)
1163
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1164
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1167
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1168
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1169
| --oldin | --oldi | --old | --ol | --o)
1170
ac_prev=oldincludedir ;;
1171
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1172
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1173
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1174
oldincludedir=$ac_optarg ;;
1176
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1178
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1179
prefix=$ac_optarg ;;
1181
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1182
| --program-pre | --program-pr | --program-p)
1183
ac_prev=program_prefix ;;
1184
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1185
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1186
program_prefix=$ac_optarg ;;
1188
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1189
| --program-suf | --program-su | --program-s)
1190
ac_prev=program_suffix ;;
1191
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1192
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1193
program_suffix=$ac_optarg ;;
1195
-program-transform-name | --program-transform-name \
1196
| --program-transform-nam | --program-transform-na \
1197
| --program-transform-n | --program-transform- \
1198
| --program-transform | --program-transfor \
1199
| --program-transfo | --program-transf \
1200
| --program-trans | --program-tran \
1201
| --progr-tra | --program-tr | --program-t)
1202
ac_prev=program_transform_name ;;
1203
-program-transform-name=* | --program-transform-name=* \
1204
| --program-transform-nam=* | --program-transform-na=* \
1205
| --program-transform-n=* | --program-transform-=* \
1206
| --program-transform=* | --program-transfor=* \
1207
| --program-transfo=* | --program-transf=* \
1208
| --program-trans=* | --program-tran=* \
1209
| --progr-tra=* | --program-tr=* | --program-t=*)
1210
program_transform_name=$ac_optarg ;;
1212
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1214
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1215
pdfdir=$ac_optarg ;;
1217
-psdir | --psdir | --psdi | --psd | --ps)
1219
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1222
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1223
| -silent | --silent | --silen | --sile | --sil)
1226
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1228
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1230
sbindir=$ac_optarg ;;
1232
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1233
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1234
| --sharedst | --shareds | --shared | --share | --shar \
1236
ac_prev=sharedstatedir ;;
1237
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1238
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1239
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1241
sharedstatedir=$ac_optarg ;;
1243
-site | --site | --sit)
1245
-site=* | --site=* | --sit=*)
1248
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1250
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1251
srcdir=$ac_optarg ;;
1253
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1254
| --syscon | --sysco | --sysc | --sys | --sy)
1255
ac_prev=sysconfdir ;;
1256
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1257
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1258
sysconfdir=$ac_optarg ;;
1260
-target | --target | --targe | --targ | --tar | --ta | --t)
1261
ac_prev=target_alias ;;
1262
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1263
target_alias=$ac_optarg ;;
1265
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1268
-version | --version | --versio | --versi | --vers | -V)
1269
ac_init_version=: ;;
1272
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1273
# Reject names that are not valid shell variable names.
1274
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1275
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1276
{ (exit 1); exit 1; }; }
1277
ac_useropt_orig=$ac_useropt
1278
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1279
case $ac_user_opts in
1283
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1284
ac_unrecognized_sep=', ';;
1286
eval with_$ac_useropt=\$ac_optarg ;;
1288
-without-* | --without-*)
1289
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1290
# Reject names that are not valid shell variable names.
1291
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1292
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1293
{ (exit 1); exit 1; }; }
1294
ac_useropt_orig=$ac_useropt
1295
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1296
case $ac_user_opts in
1300
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1301
ac_unrecognized_sep=', ';;
1303
eval with_$ac_useropt=no ;;
1306
# Obsolete; use --with-x.
1309
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1310
| --x-incl | --x-inc | --x-in | --x-i)
1311
ac_prev=x_includes ;;
1312
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1313
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1314
x_includes=$ac_optarg ;;
1316
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1317
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1318
ac_prev=x_libraries ;;
1319
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1320
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1321
x_libraries=$ac_optarg ;;
1323
-*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1324
Try \`$0 --help' for more information." >&2
1325
{ (exit 1); exit 1; }; }
1329
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1330
# Reject names that are not valid shell variable names.
1331
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1332
{ $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1333
{ (exit 1); exit 1; }; }
1334
eval $ac_envvar=\$ac_optarg
1335
export $ac_envvar ;;
1338
# FIXME: should be removed in autoconf 3.0.
1339
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1340
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1341
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1342
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1348
if test -n "$ac_prev"; then
1349
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1350
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2
1351
{ (exit 1); exit 1; }; }
1354
if test -n "$ac_unrecognized_opts"; then
1355
case $enable_option_checking in
1357
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1358
{ (exit 1); exit 1; }; } ;;
1359
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1363
# Check all directory arguments for consistency.
1364
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1365
datadir sysconfdir sharedstatedir localstatedir includedir \
1366
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1367
libdir localedir mandir
1369
eval ac_val=\$$ac_var
1370
# Remove trailing slashes.
1373
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1374
eval $ac_var=\$ac_val;;
1376
# Be sure to have absolute directory names.
1378
[\\/$]* | ?:[\\/]* ) continue;;
1379
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1381
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1382
{ (exit 1); exit 1; }; }
1385
# There might be people who depend on the old broken behavior: `$host'
1386
# used to hold the argument of --host etc.
1387
# FIXME: To remove some day.
1390
target=$target_alias
1392
# FIXME: To remove some day.
1393
if test "x$host_alias" != x; then
1394
if test "x$build_alias" = x; then
1395
cross_compiling=maybe
1396
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1397
If a cross compiler is detected then cross compile mode will be used." >&2
1398
elif test "x$build_alias" != "x$host_alias"; then
1404
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1406
test "$silent" = yes && exec 6>/dev/null
1409
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1410
ac_ls_di=`ls -di .` &&
1411
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1412
{ $as_echo "$as_me: error: working directory cannot be determined" >&2
1413
{ (exit 1); exit 1; }; }
1414
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1415
{ $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1416
{ (exit 1); exit 1; }; }
1419
# Find the source files, if location was not specified.
1420
if test -z "$srcdir"; then
1421
ac_srcdir_defaulted=yes
1422
# Try the directory containing this script, then the parent directory.
1423
ac_confdir=`$as_dirname -- "$as_myself" ||
1424
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1425
X"$as_myself" : 'X\(//\)[^/]' \| \
1426
X"$as_myself" : 'X\(//\)$' \| \
1427
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1428
$as_echo X"$as_myself" |
1429
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1447
if test ! -r "$srcdir/$ac_unique_file"; then
1451
ac_srcdir_defaulted=no
1453
if test ! -r "$srcdir/$ac_unique_file"; then
1454
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1455
{ $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1456
{ (exit 1); exit 1; }; }
1458
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1460
cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1461
{ (exit 1); exit 1; }; }
1463
# When building in place, set srcdir=.
1464
if test "$ac_abs_confdir" = "$ac_pwd"; then
1467
# Remove unnecessary trailing slashes from srcdir.
1468
# Double slashes in file names in object file debugging info
1469
# mess up M-x gdb in Emacs.
1471
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1473
for ac_var in $ac_precious_vars; do
1474
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1475
eval ac_env_${ac_var}_value=\$${ac_var}
1476
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1477
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1481
# Report the --help message.
1483
if test "$ac_init_help" = "long"; then
1484
# Omit some internal or obsolete options to make the list less imposing.
1485
# This message is too long to be a string in the A/UX 3.1 sh.
1487
\`configure' configures Dovecot Sieve 0.1.13 to adapt to many kinds of systems.
1489
Usage: $0 [OPTION]... [VAR=VALUE]...
1491
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1492
VAR=VALUE. See below for descriptions of some of the useful variables.
1494
Defaults for the options are specified in brackets.
1497
-h, --help display this help and exit
1498
--help=short display options specific to this package
1499
--help=recursive display the short help of all the included packages
1500
-V, --version display version information and exit
1501
-q, --quiet, --silent do not print \`checking...' messages
1502
--cache-file=FILE cache test results in FILE [disabled]
1503
-C, --config-cache alias for \`--cache-file=config.cache'
1504
-n, --no-create do not create output files
1505
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1507
Installation directories:
1508
--prefix=PREFIX install architecture-independent files in PREFIX
1509
[$ac_default_prefix]
1510
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1513
By default, \`make install' will install all the files in
1514
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1515
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1516
for instance \`--prefix=\$HOME'.
1518
For better control, use the options below.
1520
Fine tuning of the installation directories:
1521
--bindir=DIR user executables [EPREFIX/bin]
1522
--sbindir=DIR system admin executables [EPREFIX/sbin]
1523
--libexecdir=DIR program executables [EPREFIX/libexec]
1524
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1525
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1526
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1527
--libdir=DIR object code libraries [EPREFIX/lib]
1528
--includedir=DIR C header files [PREFIX/include]
1529
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1530
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1531
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1532
--infodir=DIR info documentation [DATAROOTDIR/info]
1533
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1534
--mandir=DIR man documentation [DATAROOTDIR/man]
1535
--docdir=DIR documentation root
1536
[DATAROOTDIR/doc/dovecot-1.2-sieve]
1537
--htmldir=DIR html documentation [DOCDIR]
1538
--dvidir=DIR dvi documentation [DOCDIR]
1539
--pdfdir=DIR pdf documentation [DOCDIR]
1540
--psdir=DIR ps documentation [DOCDIR]
1546
--program-prefix=PREFIX prepend PREFIX to installed program names
1547
--program-suffix=SUFFIX append SUFFIX to installed program names
1548
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1551
--build=BUILD configure for building on BUILD [guessed]
1552
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1556
if test -n "$ac_init_help"; then
1557
case $ac_init_help in
1558
short | recursive ) echo "Configuration of Dovecot Sieve 0.1.13:";;
1563
--disable-option-checking ignore unrecognized --enable/--with options
1564
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1565
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1566
--enable-maintainer-mode enable make rules and dependencies not useful
1567
(and sometimes confusing) to the casual installer
1568
--disable-dependency-tracking speeds up one-time build
1569
--enable-dependency-tracking do not reject slow dependency extractors
1570
--enable-shared[=PKGS] build shared libraries [default=yes]
1571
--enable-static[=PKGS] build static libraries [default=yes]
1572
--enable-fast-install[=PKGS]
1573
optimize for fast installation [default=yes]
1574
--disable-libtool-lock avoid locking (might break parallel builds)
1575
--enable-valgrind Enable Valgrind memory leak checks in testsuite
1579
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1580
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1581
--with-pic try to use only PIC/non-PIC objects [default=use
1583
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1584
--with-dovecot=DIR Dovecot base directory [../dovecot]
1585
--with-unfinished-features
1586
Build unfinished new features/extensions
1589
Some influential environment variables:
1590
CC C compiler command
1591
CFLAGS C compiler flags
1592
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1593
nonstandard directory <lib dir>
1594
LIBS libraries to pass to the linker, e.g. -l<library>
1595
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1596
you have headers in a nonstandard directory <include dir>
1599
Use these variables to override the choices made by `configure' or to help
1600
it to find libraries and programs with nonstandard names/locations.
1602
Report bugs to <dovecot@dovecot.org>.
1607
if test "$ac_init_help" = "recursive"; then
1608
# If there are subdirs, report their specific --help.
1609
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1610
test -d "$ac_dir" ||
1611
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1616
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1618
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1619
# A ".." for each directory in $ac_dir_suffix.
1620
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1621
case $ac_top_builddir_sub in
1622
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1623
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1626
ac_abs_top_builddir=$ac_pwd
1627
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1628
# for backward compatibility:
1629
ac_top_builddir=$ac_top_build_prefix
1632
.) # We are building in place.
1634
ac_top_srcdir=$ac_top_builddir_sub
1635
ac_abs_top_srcdir=$ac_pwd ;;
1636
[\\/]* | ?:[\\/]* ) # Absolute name.
1637
ac_srcdir=$srcdir$ac_dir_suffix;
1638
ac_top_srcdir=$srcdir
1639
ac_abs_top_srcdir=$srcdir ;;
1641
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1642
ac_top_srcdir=$ac_top_build_prefix$srcdir
1643
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1645
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1647
cd "$ac_dir" || { ac_status=$?; continue; }
1648
# Check for guested configure.
1649
if test -f "$ac_srcdir/configure.gnu"; then
1651
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1652
elif test -f "$ac_srcdir/configure"; then
1654
$SHELL "$ac_srcdir/configure" --help=recursive
1656
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1658
cd "$ac_pwd" || { ac_status=$?; break; }
1662
test -n "$ac_init_help" && exit $ac_status
1663
if $ac_init_version; then
1665
Dovecot Sieve configure 0.1.13
1666
generated by GNU Autoconf 2.63
1668
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1669
2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1670
This configure script is free software; the Free Software Foundation
1671
gives unlimited permission to copy, distribute and modify it.
1675
cat >config.log <<_ACEOF
1676
This file contains any messages produced by compilers while
1677
running configure, to aid debugging if configure makes a mistake.
1679
It was created by Dovecot Sieve $as_me 0.1.13, which was
1680
generated by GNU Autoconf 2.63. Invocation command line was
1692
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1693
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1694
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1695
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1696
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1698
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1699
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1701
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1702
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1703
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1704
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1705
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1706
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1707
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1711
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1715
test -z "$as_dir" && as_dir=.
1716
$as_echo "PATH: $as_dir"
1732
# Keep a trace of the command line.
1733
# Strip out --no-create and --no-recursion so they do not pile up.
1734
# Strip out --silent because we don't want to record it for future runs.
1735
# Also quote any args containing shell meta-characters.
1736
# Make two passes to allow for proper duplicate-argument suppression.
1740
ac_must_keep_next=false
1746
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1747
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1748
| -silent | --silent | --silen | --sile | --sil)
1751
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1754
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1756
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1757
if test $ac_must_keep_next = true; then
1758
ac_must_keep_next=false # Got value, back to normal.
1761
*=* | --config-cache | -C | -disable-* | --disable-* \
1762
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1763
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1764
| -with-* | --with-* | -without-* | --without-* | --x)
1765
case "$ac_configure_args0 " in
1766
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1769
-* ) ac_must_keep_next=true ;;
1772
ac_configure_args="$ac_configure_args '$ac_arg'"
1777
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1778
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1780
# When interrupted or exit'd, cleanup temporary files, and complete
1781
# config.log. We remove comments because anyway the quotes in there
1782
# would cause problems or look ugly.
1783
# WARNING: Use '\'' to represent an apostrophe within the trap.
1784
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1785
trap 'exit_status=$?
1786
# Save into config.log some information that might help in debugging.
1791
## ---------------- ##
1792
## Cache variables. ##
1793
## ---------------- ##
1796
# The following way of writing the cache mishandles newlines in values,
1798
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1799
eval ac_val=\$$ac_var
1803
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1804
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1807
_ | IFS | as_nl) ;; #(
1808
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1809
*) $as_unset $ac_var ;;
1814
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1815
*${as_nl}ac_space=\ *)
1817
"s/'\''/'\''\\\\'\'''\''/g;
1818
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1821
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1829
## ----------------- ##
1830
## Output variables. ##
1831
## ----------------- ##
1834
for ac_var in $ac_subst_vars
1836
eval ac_val=\$$ac_var
1838
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1840
$as_echo "$ac_var='\''$ac_val'\''"
1844
if test -n "$ac_subst_files"; then
1846
## ------------------- ##
1847
## File substitutions. ##
1848
## ------------------- ##
1851
for ac_var in $ac_subst_files
1853
eval ac_val=\$$ac_var
1855
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1857
$as_echo "$ac_var='\''$ac_val'\''"
1862
if test -s confdefs.h; then
1872
test "$ac_signal" != 0 &&
1873
$as_echo "$as_me: caught signal $ac_signal"
1874
$as_echo "$as_me: exit $exit_status"
1876
rm -f core *.core core.conftest.* &&
1877
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1880
for ac_signal in 1 2 13 15; do
1881
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1885
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1886
rm -f -r conftest* confdefs.h
1888
# Predefined preprocessor variables.
1890
cat >>confdefs.h <<_ACEOF
1891
#define PACKAGE_NAME "$PACKAGE_NAME"
1895
cat >>confdefs.h <<_ACEOF
1896
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1900
cat >>confdefs.h <<_ACEOF
1901
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1905
cat >>confdefs.h <<_ACEOF
1906
#define PACKAGE_STRING "$PACKAGE_STRING"
1910
cat >>confdefs.h <<_ACEOF
1911
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1915
# Let the site file select an alternate cache file if it wants to.
1916
# Prefer an explicitly selected file to automatically selected ones.
1919
if test -n "$CONFIG_SITE"; then
1920
ac_site_file1=$CONFIG_SITE
1921
elif test "x$prefix" != xNONE; then
1922
ac_site_file1=$prefix/share/config.site
1923
ac_site_file2=$prefix/etc/config.site
1925
ac_site_file1=$ac_default_prefix/share/config.site
1926
ac_site_file2=$ac_default_prefix/etc/config.site
1928
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1930
test "x$ac_site_file" = xNONE && continue
1931
if test -r "$ac_site_file"; then
1932
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1933
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1934
sed 's/^/| /' "$ac_site_file" >&5
1939
if test -r "$cache_file"; then
1940
# Some versions of bash will fail to source /dev/null (special
1941
# files actually), so we avoid doing that.
1942
if test -f "$cache_file"; then
1943
{ $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1944
$as_echo "$as_me: loading cache $cache_file" >&6;}
1946
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1947
*) . "./$cache_file";;
1951
{ $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1952
$as_echo "$as_me: creating cache $cache_file" >&6;}
1956
# Check that the precious variables saved in the cache have kept the same
1958
ac_cache_corrupted=false
1959
for ac_var in $ac_precious_vars; do
1960
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1961
eval ac_new_set=\$ac_env_${ac_var}_set
1962
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1963
eval ac_new_val=\$ac_env_${ac_var}_value
1964
case $ac_old_set,$ac_new_set in
1966
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1967
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1968
ac_cache_corrupted=: ;;
1970
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1971
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1972
ac_cache_corrupted=: ;;
1975
if test "x$ac_old_val" != "x$ac_new_val"; then
1976
# differences in whitespace do not lead to failure.
1977
ac_old_val_w=`echo x $ac_old_val`
1978
ac_new_val_w=`echo x $ac_new_val`
1979
if test "$ac_old_val_w" != "$ac_new_val_w"; then
1980
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1981
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1982
ac_cache_corrupted=:
1984
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1985
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1986
eval $ac_var=\$ac_old_val
1988
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1989
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1990
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1991
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1994
# Pass precious variables to config.status.
1995
if test "$ac_new_set" = set; then
1997
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1998
*) ac_arg=$ac_var=$ac_new_val ;;
2000
case " $ac_configure_args " in
2001
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2002
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2006
if $ac_cache_corrupted; then
2007
{ $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2008
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2009
{ $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2010
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2011
{ { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2012
$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2013
{ (exit 1); exit 1; }; }
2041
ac_cpp='$CPP $CPPFLAGS'
2042
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2043
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2044
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2049
# Autoheader is not needed and does more harm than good for this package. However, it is
2050
# tightly integrated in autoconf/automake and therefore it is difficult not to use it. As
2051
# a workaround we give autoheader a dummy config header to chew on and we handle the
2052
# real config header ourselves.
2053
ac_config_headers="$ac_config_headers dummy-config.h dsieve-config.h"
2057
cat >>confdefs.h <<_ACEOF
2058
#define SIEVE_NAME "$PACKAGE_NAME"
2062
cat >>confdefs.h <<_ACEOF
2063
#define SIEVE_VERSION "$PACKAGE_VERSION"
2067
am__api_version='1.10'
2070
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2071
if test -f "$ac_dir/install-sh"; then
2073
ac_install_sh="$ac_aux_dir/install-sh -c"
2075
elif test -f "$ac_dir/install.sh"; then
2077
ac_install_sh="$ac_aux_dir/install.sh -c"
2079
elif test -f "$ac_dir/shtool"; then
2081
ac_install_sh="$ac_aux_dir/shtool install -c"
2085
if test -z "$ac_aux_dir"; then
2086
{ { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2087
$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2088
{ (exit 1); exit 1; }; }
2091
# These three variables are undocumented and unsupported,
2092
# and are intended to be withdrawn in a future Autoconf release.
2093
# They can cause serious problems if a builder's source tree is in a directory
2094
# whose full name contains unusual characters.
2095
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2096
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2097
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2100
# Find a good install program. We prefer a C program (faster),
2101
# so one script is as good as another. But avoid the broken or
2102
# incompatible versions:
2103
# SysV /etc/install, /usr/sbin/install
2104
# SunOS /usr/etc/install
2105
# IRIX /sbin/install
2107
# AmigaOS /C/install, which installs bootblocks on floppy discs
2108
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2109
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2110
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2111
# OS/2's system install, which has a completely different semantic
2112
# ./install, which can be erroneously created by make from ./install.sh.
2113
# Reject install programs that cannot install multiple files.
2114
{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2115
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2116
if test -z "$INSTALL"; then
2117
if test "${ac_cv_path_install+set}" = set; then
2118
$as_echo_n "(cached) " >&6
2120
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2124
test -z "$as_dir" && as_dir=.
2125
# Account for people who put trailing slashes in PATH elements.
2127
./ | .// | /cC/* | \
2128
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2129
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2132
# OSF1 and SCO ODT 3.0 have their own names for install.
2133
# Don't use installbsd from OSF since it installs stuff as root
2135
for ac_prog in ginstall scoinst install; do
2136
for ac_exec_ext in '' $ac_executable_extensions; do
2137
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2138
if test $ac_prog = install &&
2139
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2140
# AIX install. It has an incompatible calling convention.
2142
elif test $ac_prog = install &&
2143
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2144
# program-specific install script used by HP pwplus--don't use.
2147
rm -rf conftest.one conftest.two conftest.dir
2148
echo one > conftest.one
2149
echo two > conftest.two
2151
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2152
test -s conftest.one && test -s conftest.two &&
2153
test -s conftest.dir/conftest.one &&
2154
test -s conftest.dir/conftest.two
2156
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2169
rm -rf conftest.one conftest.two conftest.dir
2172
if test "${ac_cv_path_install+set}" = set; then
2173
INSTALL=$ac_cv_path_install
2175
# As a last resort, use the slow shell script. Don't cache a
2176
# value for INSTALL within a source directory, because that will
2177
# break other packages using the cache if that directory is
2178
# removed, or if the value is a relative name.
2179
INSTALL=$ac_install_sh
2182
{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2183
$as_echo "$INSTALL" >&6; }
2185
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2186
# It thinks the first close brace ends the variable substitution.
2187
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2189
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2191
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2193
{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2194
$as_echo_n "checking whether build environment is sane... " >&6; }
2197
echo timestamp > conftest.file
2198
# Do `set' in a subshell so we don't clobber the current shell's
2199
# arguments. Must try -L first in case configure is actually a
2200
# symlink; some systems play weird games with the mod time of symlinks
2201
# (eg FreeBSD returns the mod time of the symlink's containing
2204
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2205
if test "$*" = "X"; then
2207
set X `ls -t $srcdir/configure conftest.file`
2210
if test "$*" != "X $srcdir/configure conftest.file" \
2211
&& test "$*" != "X conftest.file $srcdir/configure"; then
2213
# If neither matched, then we have a broken ls. This can happen
2214
# if, for instance, CONFIG_SHELL is bash and it inherits a
2215
# broken ls alias from the environment. This has actually
2216
# happened. Such a system could not be considered "sane".
2217
{ { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2218
alias in your environment" >&5
2219
$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2220
alias in your environment" >&2;}
2221
{ (exit 1); exit 1; }; }
2224
test "$2" = conftest.file
2230
{ { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2231
Check your system clock" >&5
2232
$as_echo "$as_me: error: newly created file is older than distributed files!
2233
Check your system clock" >&2;}
2234
{ (exit 1); exit 1; }; }
2236
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2237
$as_echo "yes" >&6; }
2238
test "$program_prefix" != NONE &&
2239
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2240
# Use a double $ so make ignores it.
2241
test "$program_suffix" != NONE &&
2242
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2243
# Double any \ or $.
2244
# By default was `s,x,x', remove it if useless.
2245
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2246
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2248
# expand $ac_aux_dir to an absolute path
2249
am_aux_dir=`cd $ac_aux_dir && pwd`
2251
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2252
# Use eval to expand $SHELL
2253
if eval "$MISSING --run true"; then
2254
am_missing_run="$MISSING --run "
2257
{ $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2258
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2261
{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2262
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2263
if test -z "$MKDIR_P"; then
2264
if test "${ac_cv_path_mkdir+set}" = set; then
2265
$as_echo_n "(cached) " >&6
2267
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2268
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2271
test -z "$as_dir" && as_dir=.
2272
for ac_prog in mkdir gmkdir; do
2273
for ac_exec_ext in '' $ac_executable_extensions; do
2274
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2275
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2276
'mkdir (GNU coreutils) '* | \
2277
'mkdir (coreutils) '* | \
2278
'mkdir (fileutils) '4.1*)
2279
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2289
if test "${ac_cv_path_mkdir+set}" = set; then
2290
MKDIR_P="$ac_cv_path_mkdir -p"
2292
# As a last resort, use the slow shell script. Don't cache a
2293
# value for MKDIR_P within a source directory, because that will
2294
# break other packages using the cache if that directory is
2295
# removed, or if the value is a relative name.
2296
test -d ./--version && rmdir ./--version
2297
MKDIR_P="$ac_install_sh -d"
2300
{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2301
$as_echo "$MKDIR_P" >&6; }
2305
[\\/$]* | ?:[\\/]*) ;;
2306
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2309
for ac_prog in gawk mawk nawk awk
2311
# Extract the first word of "$ac_prog", so it can be a program name with args.
2312
set dummy $ac_prog; ac_word=$2
2313
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2314
$as_echo_n "checking for $ac_word... " >&6; }
2315
if test "${ac_cv_prog_AWK+set}" = set; then
2316
$as_echo_n "(cached) " >&6
2318
if test -n "$AWK"; then
2319
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2321
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2325
test -z "$as_dir" && as_dir=.
2326
for ac_exec_ext in '' $ac_executable_extensions; do
2327
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2328
ac_cv_prog_AWK="$ac_prog"
2329
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2339
if test -n "$AWK"; then
2340
{ $as_echo "$as_me:$LINENO: result: $AWK" >&5
2341
$as_echo "$AWK" >&6; }
2343
{ $as_echo "$as_me:$LINENO: result: no" >&5
2344
$as_echo "no" >&6; }
2348
test -n "$AWK" && break
2351
{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2352
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2354
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2355
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2356
$as_echo_n "(cached) " >&6
2358
cat >conftest.make <<\_ACEOF
2361
@echo '@@@%%%=$(MAKE)=@@@%%%'
2363
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2364
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2366
eval ac_cv_prog_make_${ac_make}_set=yes;;
2368
eval ac_cv_prog_make_${ac_make}_set=no;;
2372
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2373
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2374
$as_echo "yes" >&6; }
2377
{ $as_echo "$as_me:$LINENO: result: no" >&5
2378
$as_echo "no" >&6; }
2379
SET_MAKE="MAKE=${MAKE-make}"
2382
rm -rf .tst 2>/dev/null
2383
mkdir .tst 2>/dev/null
2384
if test -d .tst; then
2389
rmdir .tst 2>/dev/null
2391
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2392
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2393
# is not polluted with repeated "-I."
2394
am__isrc=' -I$(srcdir)'
2395
# test to see if srcdir already configured
2396
if test -f $srcdir/config.status; then
2397
{ { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2398
$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2399
{ (exit 1); exit 1; }; }
2403
# test whether we have cygpath
2404
if test -z "$CYGPATH_W"; then
2405
if (cygpath --version) >/dev/null 2>/dev/null; then
2406
CYGPATH_W='cygpath -w'
2413
# Define the identity of the package.
2414
PACKAGE='dovecot-1.2-sieve'
2418
# Some tools Automake needs.
2420
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2423
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2426
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2429
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2432
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2434
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2436
# Installed binaries are usually stripped using `strip' when the user
2437
# run `make install-strip'. However `strip' might not be the right
2438
# tool to use in cross-compilation environments, therefore Automake
2439
# will honor the `STRIP' environment variable to overrule this program.
2440
if test "$cross_compiling" != no; then
2441
if test -n "$ac_tool_prefix"; then
2442
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2443
set dummy ${ac_tool_prefix}strip; ac_word=$2
2444
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2445
$as_echo_n "checking for $ac_word... " >&6; }
2446
if test "${ac_cv_prog_STRIP+set}" = set; then
2447
$as_echo_n "(cached) " >&6
2449
if test -n "$STRIP"; then
2450
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2452
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2456
test -z "$as_dir" && as_dir=.
2457
for ac_exec_ext in '' $ac_executable_extensions; do
2458
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2459
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2460
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469
STRIP=$ac_cv_prog_STRIP
2470
if test -n "$STRIP"; then
2471
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2472
$as_echo "$STRIP" >&6; }
2474
{ $as_echo "$as_me:$LINENO: result: no" >&5
2475
$as_echo "no" >&6; }
2480
if test -z "$ac_cv_prog_STRIP"; then
2482
# Extract the first word of "strip", so it can be a program name with args.
2483
set dummy strip; ac_word=$2
2484
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2485
$as_echo_n "checking for $ac_word... " >&6; }
2486
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2487
$as_echo_n "(cached) " >&6
2489
if test -n "$ac_ct_STRIP"; then
2490
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2492
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2496
test -z "$as_dir" && as_dir=.
2497
for ac_exec_ext in '' $ac_executable_extensions; do
2498
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2499
ac_cv_prog_ac_ct_STRIP="strip"
2500
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2509
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2510
if test -n "$ac_ct_STRIP"; then
2511
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2512
$as_echo "$ac_ct_STRIP" >&6; }
2514
{ $as_echo "$as_me:$LINENO: result: no" >&5
2515
$as_echo "no" >&6; }
2518
if test "x$ac_ct_STRIP" = x; then
2521
case $cross_compiling:$ac_tool_warned in
2523
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2524
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2525
ac_tool_warned=yes ;;
2530
STRIP="$ac_cv_prog_STRIP"
2534
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2536
# We need awk for the "check" target. The system "awk" is bad on
2538
# Always define AMTAR for backward compatibility.
2540
AMTAR=${AMTAR-"${am_missing_run}tar"}
2542
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2549
{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2550
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2551
# Check whether --enable-maintainer-mode was given.
2552
if test "${enable_maintainer_mode+set}" = set; then
2553
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2555
USE_MAINTAINER_MODE=no
2558
{ $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2559
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2560
if test $USE_MAINTAINER_MODE = yes; then
2561
MAINTAINER_MODE_TRUE=
2562
MAINTAINER_MODE_FALSE='#'
2564
MAINTAINER_MODE_TRUE='#'
2565
MAINTAINER_MODE_FALSE=
2568
MAINT=$MAINTAINER_MODE_TRUE
2573
ac_cpp='$CPP $CPPFLAGS'
2574
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2575
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2576
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2577
if test -n "$ac_tool_prefix"; then
2578
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2579
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2580
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2581
$as_echo_n "checking for $ac_word... " >&6; }
2582
if test "${ac_cv_prog_CC+set}" = set; then
2583
$as_echo_n "(cached) " >&6
2585
if test -n "$CC"; then
2586
ac_cv_prog_CC="$CC" # Let the user override the test.
2588
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592
test -z "$as_dir" && as_dir=.
2593
for ac_exec_ext in '' $ac_executable_extensions; do
2594
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2595
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2596
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2606
if test -n "$CC"; then
2607
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2608
$as_echo "$CC" >&6; }
2610
{ $as_echo "$as_me:$LINENO: result: no" >&5
2611
$as_echo "no" >&6; }
2616
if test -z "$ac_cv_prog_CC"; then
2618
# Extract the first word of "gcc", so it can be a program name with args.
2619
set dummy gcc; ac_word=$2
2620
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2621
$as_echo_n "checking for $ac_word... " >&6; }
2622
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2623
$as_echo_n "(cached) " >&6
2625
if test -n "$ac_ct_CC"; then
2626
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2628
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2632
test -z "$as_dir" && as_dir=.
2633
for ac_exec_ext in '' $ac_executable_extensions; do
2634
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2635
ac_cv_prog_ac_ct_CC="gcc"
2636
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2645
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2646
if test -n "$ac_ct_CC"; then
2647
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2648
$as_echo "$ac_ct_CC" >&6; }
2650
{ $as_echo "$as_me:$LINENO: result: no" >&5
2651
$as_echo "no" >&6; }
2654
if test "x$ac_ct_CC" = x; then
2657
case $cross_compiling:$ac_tool_warned in
2659
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2660
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2661
ac_tool_warned=yes ;;
2669
if test -z "$CC"; then
2670
if test -n "$ac_tool_prefix"; then
2671
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2672
set dummy ${ac_tool_prefix}cc; ac_word=$2
2673
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2674
$as_echo_n "checking for $ac_word... " >&6; }
2675
if test "${ac_cv_prog_CC+set}" = set; then
2676
$as_echo_n "(cached) " >&6
2678
if test -n "$CC"; then
2679
ac_cv_prog_CC="$CC" # Let the user override the test.
2681
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2685
test -z "$as_dir" && as_dir=.
2686
for ac_exec_ext in '' $ac_executable_extensions; do
2687
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2688
ac_cv_prog_CC="${ac_tool_prefix}cc"
2689
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2699
if test -n "$CC"; then
2700
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2701
$as_echo "$CC" >&6; }
2703
{ $as_echo "$as_me:$LINENO: result: no" >&5
2704
$as_echo "no" >&6; }
2710
if test -z "$CC"; then
2711
# Extract the first word of "cc", so it can be a program name with args.
2712
set dummy cc; ac_word=$2
2713
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2714
$as_echo_n "checking for $ac_word... " >&6; }
2715
if test "${ac_cv_prog_CC+set}" = set; then
2716
$as_echo_n "(cached) " >&6
2718
if test -n "$CC"; then
2719
ac_cv_prog_CC="$CC" # Let the user override the test.
2722
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2726
test -z "$as_dir" && as_dir=.
2727
for ac_exec_ext in '' $ac_executable_extensions; do
2728
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2729
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2730
ac_prog_rejected=yes
2734
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2741
if test $ac_prog_rejected = yes; then
2742
# We found a bogon in the path, so make sure we never use it.
2743
set dummy $ac_cv_prog_CC
2745
if test $# != 0; then
2746
# We chose a different compiler from the bogus one.
2747
# However, it has the same basename, so the bogon will be chosen
2748
# first if we set CC to just the basename; use the full file name.
2750
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2756
if test -n "$CC"; then
2757
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2758
$as_echo "$CC" >&6; }
2760
{ $as_echo "$as_me:$LINENO: result: no" >&5
2761
$as_echo "no" >&6; }
2766
if test -z "$CC"; then
2767
if test -n "$ac_tool_prefix"; then
2768
for ac_prog in cl.exe
2770
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2771
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2772
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2773
$as_echo_n "checking for $ac_word... " >&6; }
2774
if test "${ac_cv_prog_CC+set}" = set; then
2775
$as_echo_n "(cached) " >&6
2777
if test -n "$CC"; then
2778
ac_cv_prog_CC="$CC" # Let the user override the test.
2780
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2784
test -z "$as_dir" && as_dir=.
2785
for ac_exec_ext in '' $ac_executable_extensions; do
2786
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2787
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2788
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2798
if test -n "$CC"; then
2799
{ $as_echo "$as_me:$LINENO: result: $CC" >&5
2800
$as_echo "$CC" >&6; }
2802
{ $as_echo "$as_me:$LINENO: result: no" >&5
2803
$as_echo "no" >&6; }
2807
test -n "$CC" && break
2810
if test -z "$CC"; then
2812
for ac_prog in cl.exe
2814
# Extract the first word of "$ac_prog", so it can be a program name with args.
2815
set dummy $ac_prog; ac_word=$2
2816
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2817
$as_echo_n "checking for $ac_word... " >&6; }
2818
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2819
$as_echo_n "(cached) " >&6
2821
if test -n "$ac_ct_CC"; then
2822
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2824
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828
test -z "$as_dir" && as_dir=.
2829
for ac_exec_ext in '' $ac_executable_extensions; do
2830
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2831
ac_cv_prog_ac_ct_CC="$ac_prog"
2832
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2841
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2842
if test -n "$ac_ct_CC"; then
2843
{ $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2844
$as_echo "$ac_ct_CC" >&6; }
2846
{ $as_echo "$as_me:$LINENO: result: no" >&5
2847
$as_echo "no" >&6; }
2851
test -n "$ac_ct_CC" && break
2854
if test "x$ac_ct_CC" = x; then
2857
case $cross_compiling:$ac_tool_warned in
2859
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2860
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2861
ac_tool_warned=yes ;;
2870
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2871
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2872
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2873
See \`config.log' for more details." >&5
2874
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2875
See \`config.log' for more details." >&2;}
2876
{ (exit 1); exit 1; }; }; }
2878
# Provide some information about the compiler.
2879
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2882
{ (ac_try="$ac_compiler --version >&5"
2884
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2885
*) ac_try_echo=$ac_try;;
2887
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2888
$as_echo "$ac_try_echo") >&5
2889
(eval "$ac_compiler --version >&5") 2>&5
2891
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892
(exit $ac_status); }
2893
{ (ac_try="$ac_compiler -v >&5"
2895
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2896
*) ac_try_echo=$ac_try;;
2898
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2899
$as_echo "$ac_try_echo") >&5
2900
(eval "$ac_compiler -v >&5") 2>&5
2902
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903
(exit $ac_status); }
2904
{ (ac_try="$ac_compiler -V >&5"
2906
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2907
*) ac_try_echo=$ac_try;;
2909
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2910
$as_echo "$ac_try_echo") >&5
2911
(eval "$ac_compiler -V >&5") 2>&5
2913
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914
(exit $ac_status); }
2916
cat >conftest.$ac_ext <<_ACEOF
2919
cat confdefs.h >>conftest.$ac_ext
2920
cat >>conftest.$ac_ext <<_ACEOF
2921
/* end confdefs.h. */
2931
ac_clean_files_save=$ac_clean_files
2932
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2933
# Try to create an executable without -o first, disregard a.out.
2934
# It will help us diagnose broken compilers, and finding out an intuition
2936
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2937
$as_echo_n "checking for C compiler default output file name... " >&6; }
2938
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2940
# The possible output files:
2941
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2944
for ac_file in $ac_files
2947
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2948
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2953
if { (ac_try="$ac_link_default"
2955
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956
*) ac_try_echo=$ac_try;;
2958
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2959
$as_echo "$ac_try_echo") >&5
2960
(eval "$ac_link_default") 2>&5
2962
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963
(exit $ac_status); }; then
2964
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2965
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2966
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2967
# so that the user can short-circuit this test for compilers unknown to
2969
for ac_file in $ac_files ''
2971
test -f "$ac_file" || continue
2973
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2976
# We found the default executable, but exeext='' is most
2980
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2982
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2984
# We set ac_cv_exeext here because the later test for it is not
2985
# safe: cross compilers may not add the suffix if given an `-o'
2986
# argument, so we may need to know it at that point already.
2987
# Even if this section looks crufty: it has the advantage of
2994
test "$ac_cv_exeext" = no && ac_cv_exeext=
3000
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3001
$as_echo "$ac_file" >&6; }
3002
if test -z "$ac_file"; then
3003
$as_echo "$as_me: failed program was:" >&5
3004
sed 's/^/| /' conftest.$ac_ext >&5
3006
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3007
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3008
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3009
See \`config.log' for more details." >&5
3010
$as_echo "$as_me: error: C compiler cannot create executables
3011
See \`config.log' for more details." >&2;}
3012
{ (exit 77); exit 77; }; }; }
3015
ac_exeext=$ac_cv_exeext
3017
# Check that the compiler produces executables we can run. If not, either
3018
# the compiler is broken, or we cross compile.
3019
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3020
$as_echo_n "checking whether the C compiler works... " >&6; }
3021
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3022
# If not cross compiling, check that we can run a simple program.
3023
if test "$cross_compiling" != yes; then
3024
if { ac_try='./$ac_file'
3025
{ (case "(($ac_try" in
3026
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3027
*) ac_try_echo=$ac_try;;
3029
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3030
$as_echo "$ac_try_echo") >&5
3031
(eval "$ac_try") 2>&5
3033
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3034
(exit $ac_status); }; }; then
3037
if test "$cross_compiling" = maybe; then
3040
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3041
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3042
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3043
If you meant to cross compile, use \`--host'.
3044
See \`config.log' for more details." >&5
3045
$as_echo "$as_me: error: cannot run C compiled programs.
3046
If you meant to cross compile, use \`--host'.
3047
See \`config.log' for more details." >&2;}
3048
{ (exit 1); exit 1; }; }; }
3052
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3053
$as_echo "yes" >&6; }
3055
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3056
ac_clean_files=$ac_clean_files_save
3057
# Check that the compiler produces executables we can run. If not, either
3058
# the compiler is broken, or we cross compile.
3059
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3060
$as_echo_n "checking whether we are cross compiling... " >&6; }
3061
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3062
$as_echo "$cross_compiling" >&6; }
3064
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3065
$as_echo_n "checking for suffix of executables... " >&6; }
3066
if { (ac_try="$ac_link"
3068
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3069
*) ac_try_echo=$ac_try;;
3071
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3072
$as_echo "$ac_try_echo") >&5
3073
(eval "$ac_link") 2>&5
3075
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076
(exit $ac_status); }; then
3077
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3078
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3079
# work properly (i.e., refer to `conftest.exe'), while it won't with
3081
for ac_file in conftest.exe conftest conftest.*; do
3082
test -f "$ac_file" || continue
3084
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3085
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3091
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3092
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3093
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3094
See \`config.log' for more details." >&5
3095
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3096
See \`config.log' for more details." >&2;}
3097
{ (exit 1); exit 1; }; }; }
3100
rm -f conftest$ac_cv_exeext
3101
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3102
$as_echo "$ac_cv_exeext" >&6; }
3104
rm -f conftest.$ac_ext
3105
EXEEXT=$ac_cv_exeext
3107
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3108
$as_echo_n "checking for suffix of object files... " >&6; }
3109
if test "${ac_cv_objext+set}" = set; then
3110
$as_echo_n "(cached) " >&6
3112
cat >conftest.$ac_ext <<_ACEOF
3115
cat confdefs.h >>conftest.$ac_ext
3116
cat >>conftest.$ac_ext <<_ACEOF
3117
/* end confdefs.h. */
3127
rm -f conftest.o conftest.obj
3128
if { (ac_try="$ac_compile"
3130
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3131
*) ac_try_echo=$ac_try;;
3133
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3134
$as_echo "$ac_try_echo") >&5
3135
(eval "$ac_compile") 2>&5
3137
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138
(exit $ac_status); }; then
3139
for ac_file in conftest.o conftest.obj conftest.*; do
3140
test -f "$ac_file" || continue;
3142
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3143
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3148
$as_echo "$as_me: failed program was:" >&5
3149
sed 's/^/| /' conftest.$ac_ext >&5
3151
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3152
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3153
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3154
See \`config.log' for more details." >&5
3155
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3156
See \`config.log' for more details." >&2;}
3157
{ (exit 1); exit 1; }; }; }
3160
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3162
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3163
$as_echo "$ac_cv_objext" >&6; }
3164
OBJEXT=$ac_cv_objext
3166
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3167
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3168
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3169
$as_echo_n "(cached) " >&6
3171
cat >conftest.$ac_ext <<_ACEOF
3174
cat confdefs.h >>conftest.$ac_ext
3175
cat >>conftest.$ac_ext <<_ACEOF
3176
/* end confdefs.h. */
3189
rm -f conftest.$ac_objext
3190
if { (ac_try="$ac_compile"
3192
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3193
*) ac_try_echo=$ac_try;;
3195
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3196
$as_echo "$ac_try_echo") >&5
3197
(eval "$ac_compile") 2>conftest.er1
3199
grep -v '^ *+' conftest.er1 >conftest.err
3201
cat conftest.err >&5
3202
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203
(exit $ac_status); } && {
3204
test -z "$ac_c_werror_flag" ||
3205
test ! -s conftest.err
3206
} && test -s conftest.$ac_objext; then
3209
$as_echo "$as_me: failed program was:" >&5
3210
sed 's/^/| /' conftest.$ac_ext >&5
3215
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3216
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3219
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3220
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3221
if test $ac_compiler_gnu = yes; then
3226
ac_test_CFLAGS=${CFLAGS+set}
3227
ac_save_CFLAGS=$CFLAGS
3228
{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3229
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3230
if test "${ac_cv_prog_cc_g+set}" = set; then
3231
$as_echo_n "(cached) " >&6
3233
ac_save_c_werror_flag=$ac_c_werror_flag
3234
ac_c_werror_flag=yes
3237
cat >conftest.$ac_ext <<_ACEOF
3240
cat confdefs.h >>conftest.$ac_ext
3241
cat >>conftest.$ac_ext <<_ACEOF
3242
/* end confdefs.h. */
3252
rm -f conftest.$ac_objext
3253
if { (ac_try="$ac_compile"
3255
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3256
*) ac_try_echo=$ac_try;;
3258
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3259
$as_echo "$ac_try_echo") >&5
3260
(eval "$ac_compile") 2>conftest.er1
3262
grep -v '^ *+' conftest.er1 >conftest.err
3264
cat conftest.err >&5
3265
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266
(exit $ac_status); } && {
3267
test -z "$ac_c_werror_flag" ||
3268
test ! -s conftest.err
3269
} && test -s conftest.$ac_objext; then
3272
$as_echo "$as_me: failed program was:" >&5
3273
sed 's/^/| /' conftest.$ac_ext >&5
3276
cat >conftest.$ac_ext <<_ACEOF
3279
cat confdefs.h >>conftest.$ac_ext
3280
cat >>conftest.$ac_ext <<_ACEOF
3281
/* end confdefs.h. */
3291
rm -f conftest.$ac_objext
3292
if { (ac_try="$ac_compile"
3294
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3295
*) ac_try_echo=$ac_try;;
3297
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3298
$as_echo "$ac_try_echo") >&5
3299
(eval "$ac_compile") 2>conftest.er1
3301
grep -v '^ *+' conftest.er1 >conftest.err
3303
cat conftest.err >&5
3304
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305
(exit $ac_status); } && {
3306
test -z "$ac_c_werror_flag" ||
3307
test ! -s conftest.err
3308
} && test -s conftest.$ac_objext; then
3311
$as_echo "$as_me: failed program was:" >&5
3312
sed 's/^/| /' conftest.$ac_ext >&5
3314
ac_c_werror_flag=$ac_save_c_werror_flag
3316
cat >conftest.$ac_ext <<_ACEOF
3319
cat confdefs.h >>conftest.$ac_ext
3320
cat >>conftest.$ac_ext <<_ACEOF
3321
/* end confdefs.h. */
3331
rm -f conftest.$ac_objext
3332
if { (ac_try="$ac_compile"
3334
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3335
*) ac_try_echo=$ac_try;;
3337
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3338
$as_echo "$ac_try_echo") >&5
3339
(eval "$ac_compile") 2>conftest.er1
3341
grep -v '^ *+' conftest.er1 >conftest.err
3343
cat conftest.err >&5
3344
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345
(exit $ac_status); } && {
3346
test -z "$ac_c_werror_flag" ||
3347
test ! -s conftest.err
3348
} && test -s conftest.$ac_objext; then
3351
$as_echo "$as_me: failed program was:" >&5
3352
sed 's/^/| /' conftest.$ac_ext >&5
3357
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3360
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3363
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3364
ac_c_werror_flag=$ac_save_c_werror_flag
3366
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3367
$as_echo "$ac_cv_prog_cc_g" >&6; }
3368
if test "$ac_test_CFLAGS" = set; then
3369
CFLAGS=$ac_save_CFLAGS
3370
elif test $ac_cv_prog_cc_g = yes; then
3371
if test "$GCC" = yes; then
3377
if test "$GCC" = yes; then
3383
{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3384
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3385
if test "${ac_cv_prog_cc_c89+set}" = set; then
3386
$as_echo_n "(cached) " >&6
3388
ac_cv_prog_cc_c89=no
3390
cat >conftest.$ac_ext <<_ACEOF
3393
cat confdefs.h >>conftest.$ac_ext
3394
cat >>conftest.$ac_ext <<_ACEOF
3395
/* end confdefs.h. */
3398
#include <sys/types.h>
3399
#include <sys/stat.h>
3400
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3401
struct buf { int x; };
3402
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3403
static char *e (p, i)
3409
static char *f (char * (*g) (char **, int), char **p, ...)
3414
s = g (p, va_arg (v,int));
3419
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3420
function prototypes and stuff, but not '\xHH' hex character constants.
3421
These don't provoke an error unfortunately, instead are silently treated
3422
as 'x'. The following induces an error, until -std is added to get
3423
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3424
array size at least. It's necessary to write '\x00'==0 to get something
3425
that's true only with -std. */
3426
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3428
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3429
inside strings and character constants. */
3431
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3433
int test (int i, double x);
3434
struct s1 {int (*f) (int a);};
3435
struct s2 {int (*f) (double a);};
3436
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3442
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3447
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3448
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3450
CC="$ac_save_CC $ac_arg"
3451
rm -f conftest.$ac_objext
3452
if { (ac_try="$ac_compile"
3454
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3455
*) ac_try_echo=$ac_try;;
3457
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3458
$as_echo "$ac_try_echo") >&5
3459
(eval "$ac_compile") 2>conftest.er1
3461
grep -v '^ *+' conftest.er1 >conftest.err
3463
cat conftest.err >&5
3464
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465
(exit $ac_status); } && {
3466
test -z "$ac_c_werror_flag" ||
3467
test ! -s conftest.err
3468
} && test -s conftest.$ac_objext; then
3469
ac_cv_prog_cc_c89=$ac_arg
3471
$as_echo "$as_me: failed program was:" >&5
3472
sed 's/^/| /' conftest.$ac_ext >&5
3477
rm -f core conftest.err conftest.$ac_objext
3478
test "x$ac_cv_prog_cc_c89" != "xno" && break
3480
rm -f conftest.$ac_ext
3485
case "x$ac_cv_prog_cc_c89" in
3487
{ $as_echo "$as_me:$LINENO: result: none needed" >&5
3488
$as_echo "none needed" >&6; } ;;
3490
{ $as_echo "$as_me:$LINENO: result: unsupported" >&5
3491
$as_echo "unsupported" >&6; } ;;
3493
CC="$CC $ac_cv_prog_cc_c89"
3494
{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3495
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3500
ac_cpp='$CPP $CPPFLAGS'
3501
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3502
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3503
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3504
DEPDIR="${am__leading_dot}deps"
3506
ac_config_commands="$ac_config_commands depfiles"
3509
am_make=${MAKE-make}
3510
cat > confinc << 'END'
3515
# If we don't find an include directive, just comment out the code.
3516
{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3517
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3521
# First try GNU make style include.
3522
echo "include confinc" > confmf
3523
# We grep out `Entering directory' and `Leaving directory'
3524
# messages which can occur if `w' ends up in MAKEFLAGS.
3525
# In particular we don't look at `^make:' because GNU make might
3526
# be invoked under some other name (usually "gmake"), in which
3527
# case it prints its new name instead of `make'.
3528
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3533
# Now try BSD make style include.
3534
if test "$am__include" = "#"; then
3535
echo '.include "confinc"' > confmf
3536
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3537
am__include=.include
3544
{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5
3545
$as_echo "$_am_result" >&6; }
3546
rm -f confinc confmf
3548
# Check whether --enable-dependency-tracking was given.
3549
if test "${enable_dependency_tracking+set}" = set; then
3550
enableval=$enable_dependency_tracking;
3553
if test "x$enable_dependency_tracking" != xno; then
3554
am_depcomp="$ac_aux_dir/depcomp"
3557
if test "x$enable_dependency_tracking" != xno; then
3567
depcc="$CC" am_compiler_list=
3569
{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3570
$as_echo_n "checking dependency style of $depcc... " >&6; }
3571
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3572
$as_echo_n "(cached) " >&6
3574
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3575
# We make a subdir and do the tests there. Otherwise we can end up
3576
# making bogus files that we don't know about and never remove. For
3577
# instance it was reported that on HP-UX the gcc test will end up
3578
# making a dummy file named `D' -- because `-MD' means `put the output
3581
# Copy depcomp to subdir because otherwise we won't find it if we're
3582
# using a relative directory.
3583
cp "$am_depcomp" conftest.dir
3585
# We will build objects and dependencies in a subdirectory because
3586
# it helps to detect inapplicable dependency modes. For instance
3587
# both Tru64's cc and ICC support -MD to output dependencies as a
3588
# side effect of compilation, but ICC will put the dependencies in
3589
# the current directory while Tru64 will put them in the object
3593
am_cv_CC_dependencies_compiler_type=none
3594
if test "$am_compiler_list" = ""; then
3595
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3597
for depmode in $am_compiler_list; do
3598
# Setup a source with many dependencies, because some compilers
3599
# like to wrap large dependency lists on column 80 (with \), and
3600
# we should not choose a depcomp mode which is confused by this.
3602
# We need to recreate these files for each test, as the compiler may
3603
# overwrite some of them when testing with obscure command lines.
3604
# This happens at least with the AIX C compiler.
3606
for i in 1 2 3 4 5 6; do
3607
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3608
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3609
# Solaris 8's {/usr,}/bin/sh.
3610
touch sub/conftst$i.h
3612
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3616
# after this tag, mechanisms are not by side-effect, so they'll
3617
# only be used when explicitly requested
3618
if test "x$enable_dependency_tracking" = xyes; then
3626
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3627
# mode. It turns out that the SunPro C++ compiler does not properly
3628
# handle `-M -o', and we need to detect this.
3629
if depmode=$depmode \
3630
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3631
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3632
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3633
>/dev/null 2>conftest.err &&
3634
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3635
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3636
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3637
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3638
# icc doesn't choke on unknown options, it will just issue warnings
3639
# or remarks (even with -Werror). So we grep stderr for any message
3640
# that says an option was ignored or not supported.
3641
# When given -MP, icc 7.0 and 7.1 complain thusly:
3642
# icc: Command line warning: ignoring option '-M'; no argument required
3643
# The diagnosis changed in icc 8.0:
3644
# icc: Command line remark: option '-MP' not supported
3645
if (grep 'ignoring option' conftest.err ||
3646
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3647
am_cv_CC_dependencies_compiler_type=$depmode
3656
am_cv_CC_dependencies_compiler_type=none
3660
{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3661
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3662
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3665
test "x$enable_dependency_tracking" != xno \
3666
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3668
am__fastdepCC_FALSE='#'
3670
am__fastdepCC_TRUE='#'
3671
am__fastdepCC_FALSE=
3676
ac_cpp='$CPP $CPPFLAGS'
3677
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3680
{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3681
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3682
# On Suns, sometimes $CPP names a directory.
3683
if test -n "$CPP" && test -d "$CPP"; then
3686
if test -z "$CPP"; then
3687
if test "${ac_cv_prog_CPP+set}" = set; then
3688
$as_echo_n "(cached) " >&6
3690
# Double quotes because CPP needs to be expanded
3691
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3694
for ac_c_preproc_warn_flag in '' yes
3696
# Use a header file that comes with gcc, so configuring glibc
3697
# with a fresh cross-compiler works.
3698
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3699
# <limits.h> exists even on freestanding compilers.
3700
# On the NeXT, cc -E runs the code through the compiler's parser,
3701
# not just through cpp. "Syntax error" is here to catch this case.
3702
cat >conftest.$ac_ext <<_ACEOF
3705
cat confdefs.h >>conftest.$ac_ext
3706
cat >>conftest.$ac_ext <<_ACEOF
3707
/* end confdefs.h. */
3709
# include <limits.h>
3711
# include <assert.h>
3715
if { (ac_try="$ac_cpp conftest.$ac_ext"
3717
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3718
*) ac_try_echo=$ac_try;;
3720
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3721
$as_echo "$ac_try_echo") >&5
3722
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3724
grep -v '^ *+' conftest.er1 >conftest.err
3726
cat conftest.err >&5
3727
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728
(exit $ac_status); } >/dev/null && {
3729
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3730
test ! -s conftest.err
3734
$as_echo "$as_me: failed program was:" >&5
3735
sed 's/^/| /' conftest.$ac_ext >&5
3737
# Broken: fails on valid input.
3741
rm -f conftest.err conftest.$ac_ext
3743
# OK, works on sane cases. Now check whether nonexistent headers
3744
# can be detected and how.
3745
cat >conftest.$ac_ext <<_ACEOF
3748
cat confdefs.h >>conftest.$ac_ext
3749
cat >>conftest.$ac_ext <<_ACEOF
3750
/* end confdefs.h. */
3751
#include <ac_nonexistent.h>
3753
if { (ac_try="$ac_cpp conftest.$ac_ext"
3755
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3756
*) ac_try_echo=$ac_try;;
3758
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3759
$as_echo "$ac_try_echo") >&5
3760
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3762
grep -v '^ *+' conftest.er1 >conftest.err
3764
cat conftest.err >&5
3765
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766
(exit $ac_status); } >/dev/null && {
3767
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3768
test ! -s conftest.err
3770
# Broken: success on invalid input.
3773
$as_echo "$as_me: failed program was:" >&5
3774
sed 's/^/| /' conftest.$ac_ext >&5
3776
# Passes both tests.
3781
rm -f conftest.err conftest.$ac_ext
3784
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3785
rm -f conftest.err conftest.$ac_ext
3786
if $ac_preproc_ok; then
3798
{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
3799
$as_echo "$CPP" >&6; }
3801
for ac_c_preproc_warn_flag in '' yes
3803
# Use a header file that comes with gcc, so configuring glibc
3804
# with a fresh cross-compiler works.
3805
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3806
# <limits.h> exists even on freestanding compilers.
3807
# On the NeXT, cc -E runs the code through the compiler's parser,
3808
# not just through cpp. "Syntax error" is here to catch this case.
3809
cat >conftest.$ac_ext <<_ACEOF
3812
cat confdefs.h >>conftest.$ac_ext
3813
cat >>conftest.$ac_ext <<_ACEOF
3814
/* end confdefs.h. */
3816
# include <limits.h>
3818
# include <assert.h>
3822
if { (ac_try="$ac_cpp conftest.$ac_ext"
3824
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3825
*) ac_try_echo=$ac_try;;
3827
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3828
$as_echo "$ac_try_echo") >&5
3829
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3831
grep -v '^ *+' conftest.er1 >conftest.err
3833
cat conftest.err >&5
3834
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835
(exit $ac_status); } >/dev/null && {
3836
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3837
test ! -s conftest.err
3841
$as_echo "$as_me: failed program was:" >&5
3842
sed 's/^/| /' conftest.$ac_ext >&5
3844
# Broken: fails on valid input.
3848
rm -f conftest.err conftest.$ac_ext
3850
# OK, works on sane cases. Now check whether nonexistent headers
3851
# can be detected and how.
3852
cat >conftest.$ac_ext <<_ACEOF
3855
cat confdefs.h >>conftest.$ac_ext
3856
cat >>conftest.$ac_ext <<_ACEOF
3857
/* end confdefs.h. */
3858
#include <ac_nonexistent.h>
3860
if { (ac_try="$ac_cpp conftest.$ac_ext"
3862
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3863
*) ac_try_echo=$ac_try;;
3865
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3866
$as_echo "$ac_try_echo") >&5
3867
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3869
grep -v '^ *+' conftest.er1 >conftest.err
3871
cat conftest.err >&5
3872
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873
(exit $ac_status); } >/dev/null && {
3874
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3875
test ! -s conftest.err
3877
# Broken: success on invalid input.
3880
$as_echo "$as_me: failed program was:" >&5
3881
sed 's/^/| /' conftest.$ac_ext >&5
3883
# Passes both tests.
3888
rm -f conftest.err conftest.$ac_ext
3891
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3892
rm -f conftest.err conftest.$ac_ext
3893
if $ac_preproc_ok; then
3896
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3897
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3898
{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3899
See \`config.log' for more details." >&5
3900
$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3901
See \`config.log' for more details." >&2;}
3902
{ (exit 1); exit 1; }; }; }
3906
ac_cpp='$CPP $CPPFLAGS'
3907
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3908
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3909
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3913
{ $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3914
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3919
macro_version='2.2.6'
3920
macro_revision='1.3012'
3934
ltmain="$ac_aux_dir/ltmain.sh"
3936
# Make sure we can run config.sub.
3937
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3938
{ { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3939
$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3940
{ (exit 1); exit 1; }; }
3942
{ $as_echo "$as_me:$LINENO: checking build system type" >&5
3943
$as_echo_n "checking build system type... " >&6; }
3944
if test "${ac_cv_build+set}" = set; then
3945
$as_echo_n "(cached) " >&6
3947
ac_build_alias=$build_alias
3948
test "x$ac_build_alias" = x &&
3949
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3950
test "x$ac_build_alias" = x &&
3951
{ { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3952
$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3953
{ (exit 1); exit 1; }; }
3954
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3955
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3956
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3957
{ (exit 1); exit 1; }; }
3960
{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3961
$as_echo "$ac_cv_build" >&6; }
3962
case $ac_cv_build in
3964
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3965
$as_echo "$as_me: error: invalid value of canonical build" >&2;}
3966
{ (exit 1); exit 1; }; };;
3969
ac_save_IFS=$IFS; IFS='-'
3975
# Remember, the first character of IFS is used to create $*,
3976
# except with old shells:
3979
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3982
{ $as_echo "$as_me:$LINENO: checking host system type" >&5
3983
$as_echo_n "checking host system type... " >&6; }
3984
if test "${ac_cv_host+set}" = set; then
3985
$as_echo_n "(cached) " >&6
3987
if test "x$host_alias" = x; then
3988
ac_cv_host=$ac_cv_build
3990
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3991
{ { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3992
$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3993
{ (exit 1); exit 1; }; }
3997
{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3998
$as_echo "$ac_cv_host" >&6; }
4001
*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4002
$as_echo "$as_me: error: invalid value of canonical host" >&2;}
4003
{ (exit 1); exit 1; }; };;
4006
ac_save_IFS=$IFS; IFS='-'
4012
# Remember, the first character of IFS is used to create $*,
4013
# except with old shells:
4016
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4019
{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4020
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4021
if test "${ac_cv_path_SED+set}" = set; then
4022
$as_echo_n "(cached) " >&6
4024
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4025
for ac_i in 1 2 3 4 5 6 7; do
4026
ac_script="$ac_script$as_nl$ac_script"
4028
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4029
$as_unset ac_script || ac_script=
4030
if test -z "$SED"; then
4031
ac_path_SED_found=false
4032
# Loop through the user's path and test for each of PROGNAME-LIST
4033
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4037
test -z "$as_dir" && as_dir=.
4038
for ac_prog in sed gsed; do
4039
for ac_exec_ext in '' $ac_executable_extensions; do
4040
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4041
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4042
# Check for GNU ac_path_SED and select it if it is found.
4043
# Check for GNU $ac_path_SED
4044
case `"$ac_path_SED" --version 2>&1` in
4046
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4049
$as_echo_n 0123456789 >"conftest.in"
4052
cat "conftest.in" "conftest.in" >"conftest.tmp"
4053
mv "conftest.tmp" "conftest.in"
4054
cp "conftest.in" "conftest.nl"
4055
$as_echo '' >> "conftest.nl"
4056
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4057
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4058
ac_count=`expr $ac_count + 1`
4059
if test $ac_count -gt ${ac_path_SED_max-0}; then
4060
# Best one so far, save it but keep looking for a better one
4061
ac_cv_path_SED="$ac_path_SED"
4062
ac_path_SED_max=$ac_count
4064
# 10*(2^10) chars as input seems more than enough
4065
test $ac_count -gt 10 && break
4067
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4070
$ac_path_SED_found && break 3
4075
if test -z "$ac_cv_path_SED"; then
4076
{ { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
4077
$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
4078
{ (exit 1); exit 1; }; }
4085
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4086
$as_echo "$ac_cv_path_SED" >&6; }
4087
SED="$ac_cv_path_SED"
4090
test -z "$SED" && SED=sed
4091
Xsed="$SED -e 1s/^X//"
4103
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4104
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4105
if test "${ac_cv_path_GREP+set}" = set; then
4106
$as_echo_n "(cached) " >&6
4108
if test -z "$GREP"; then
4109
ac_path_GREP_found=false
4110
# Loop through the user's path and test for each of PROGNAME-LIST
4111
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4112
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4115
test -z "$as_dir" && as_dir=.
4116
for ac_prog in grep ggrep; do
4117
for ac_exec_ext in '' $ac_executable_extensions; do
4118
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4119
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4120
# Check for GNU ac_path_GREP and select it if it is found.
4121
# Check for GNU $ac_path_GREP
4122
case `"$ac_path_GREP" --version 2>&1` in
4124
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4127
$as_echo_n 0123456789 >"conftest.in"
4130
cat "conftest.in" "conftest.in" >"conftest.tmp"
4131
mv "conftest.tmp" "conftest.in"
4132
cp "conftest.in" "conftest.nl"
4133
$as_echo 'GREP' >> "conftest.nl"
4134
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4135
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4136
ac_count=`expr $ac_count + 1`
4137
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4138
# Best one so far, save it but keep looking for a better one
4139
ac_cv_path_GREP="$ac_path_GREP"
4140
ac_path_GREP_max=$ac_count
4142
# 10*(2^10) chars as input seems more than enough
4143
test $ac_count -gt 10 && break
4145
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4148
$ac_path_GREP_found && break 3
4153
if test -z "$ac_cv_path_GREP"; then
4154
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4155
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4156
{ (exit 1); exit 1; }; }
4159
ac_cv_path_GREP=$GREP
4163
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4164
$as_echo "$ac_cv_path_GREP" >&6; }
4165
GREP="$ac_cv_path_GREP"
4168
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
4169
$as_echo_n "checking for egrep... " >&6; }
4170
if test "${ac_cv_path_EGREP+set}" = set; then
4171
$as_echo_n "(cached) " >&6
4173
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4174
then ac_cv_path_EGREP="$GREP -E"
4176
if test -z "$EGREP"; then
4177
ac_path_EGREP_found=false
4178
# Loop through the user's path and test for each of PROGNAME-LIST
4179
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4180
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4183
test -z "$as_dir" && as_dir=.
4184
for ac_prog in egrep; do
4185
for ac_exec_ext in '' $ac_executable_extensions; do
4186
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4187
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4188
# Check for GNU ac_path_EGREP and select it if it is found.
4189
# Check for GNU $ac_path_EGREP
4190
case `"$ac_path_EGREP" --version 2>&1` in
4192
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4195
$as_echo_n 0123456789 >"conftest.in"
4198
cat "conftest.in" "conftest.in" >"conftest.tmp"
4199
mv "conftest.tmp" "conftest.in"
4200
cp "conftest.in" "conftest.nl"
4201
$as_echo 'EGREP' >> "conftest.nl"
4202
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4203
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4204
ac_count=`expr $ac_count + 1`
4205
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4206
# Best one so far, save it but keep looking for a better one
4207
ac_cv_path_EGREP="$ac_path_EGREP"
4208
ac_path_EGREP_max=$ac_count
4210
# 10*(2^10) chars as input seems more than enough
4211
test $ac_count -gt 10 && break
4213
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4216
$ac_path_EGREP_found && break 3
4221
if test -z "$ac_cv_path_EGREP"; then
4222
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4223
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4224
{ (exit 1); exit 1; }; }
4227
ac_cv_path_EGREP=$EGREP
4232
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4233
$as_echo "$ac_cv_path_EGREP" >&6; }
4234
EGREP="$ac_cv_path_EGREP"
4237
{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5
4238
$as_echo_n "checking for fgrep... " >&6; }
4239
if test "${ac_cv_path_FGREP+set}" = set; then
4240
$as_echo_n "(cached) " >&6
4242
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4243
then ac_cv_path_FGREP="$GREP -F"
4245
if test -z "$FGREP"; then
4246
ac_path_FGREP_found=false
4247
# Loop through the user's path and test for each of PROGNAME-LIST
4248
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4249
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4252
test -z "$as_dir" && as_dir=.
4253
for ac_prog in fgrep; do
4254
for ac_exec_ext in '' $ac_executable_extensions; do
4255
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4256
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4257
# Check for GNU ac_path_FGREP and select it if it is found.
4258
# Check for GNU $ac_path_FGREP
4259
case `"$ac_path_FGREP" --version 2>&1` in
4261
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4264
$as_echo_n 0123456789 >"conftest.in"
4267
cat "conftest.in" "conftest.in" >"conftest.tmp"
4268
mv "conftest.tmp" "conftest.in"
4269
cp "conftest.in" "conftest.nl"
4270
$as_echo 'FGREP' >> "conftest.nl"
4271
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4272
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4273
ac_count=`expr $ac_count + 1`
4274
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4275
# Best one so far, save it but keep looking for a better one
4276
ac_cv_path_FGREP="$ac_path_FGREP"
4277
ac_path_FGREP_max=$ac_count
4279
# 10*(2^10) chars as input seems more than enough
4280
test $ac_count -gt 10 && break
4282
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4285
$ac_path_FGREP_found && break 3
4290
if test -z "$ac_cv_path_FGREP"; then
4291
{ { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4292
$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4293
{ (exit 1); exit 1; }; }
4296
ac_cv_path_FGREP=$FGREP
4301
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4302
$as_echo "$ac_cv_path_FGREP" >&6; }
4303
FGREP="$ac_cv_path_FGREP"
4306
test -z "$GREP" && GREP=grep
4326
# Check whether --with-gnu-ld was given.
4327
if test "${with_gnu_ld+set}" = set; then
4328
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4334
if test "$GCC" = yes; then
4335
# Check if gcc -print-prog-name=ld gives a path.
4336
{ $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4337
$as_echo_n "checking for ld used by $CC... " >&6; }
4340
# gcc leaves a trailing carriage return which upsets mingw
4341
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4343
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4346
# Accept absolute paths.
4348
re_direlt='/[^/][^/]*/\.\./'
4349
# Canonicalize the pathname of ld
4350
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4351
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4352
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4354
test -z "$LD" && LD="$ac_prog"
4357
# If it fails, then pretend we aren't using GCC.
4361
# If it is relative, then search for the first ld in PATH.
4365
elif test "$with_gnu_ld" = yes; then
4366
{ $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
4367
$as_echo_n "checking for GNU ld... " >&6; }
4369
{ $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4370
$as_echo_n "checking for non-GNU ld... " >&6; }
4372
if test "${lt_cv_path_LD+set}" = set; then
4373
$as_echo_n "(cached) " >&6
4375
if test -z "$LD"; then
4376
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4377
for ac_dir in $PATH; do
4379
test -z "$ac_dir" && ac_dir=.
4380
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4381
lt_cv_path_LD="$ac_dir/$ac_prog"
4382
# Check to see if the program is GNU ld. I'd rather use --version,
4383
# but apparently some variants of GNU ld only accept -v.
4384
# Break only if it was the GNU/non-GNU ld that we prefer.
4385
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4386
*GNU* | *'with BFD'*)
4387
test "$with_gnu_ld" != no && break
4390
test "$with_gnu_ld" != yes && break
4397
lt_cv_path_LD="$LD" # Let the user override the test with a path.
4402
if test -n "$LD"; then
4403
{ $as_echo "$as_me:$LINENO: result: $LD" >&5
4404
$as_echo "$LD" >&6; }
4406
{ $as_echo "$as_me:$LINENO: result: no" >&5
4407
$as_echo "no" >&6; }
4409
test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4410
$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4411
{ (exit 1); exit 1; }; }
4412
{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4413
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4414
if test "${lt_cv_prog_gnu_ld+set}" = set; then
4415
$as_echo_n "(cached) " >&6
4417
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4418
case `$LD -v 2>&1 </dev/null` in
4419
*GNU* | *'with BFD'*)
4420
lt_cv_prog_gnu_ld=yes
4423
lt_cv_prog_gnu_ld=no
4427
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4428
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4429
with_gnu_ld=$lt_cv_prog_gnu_ld
4439
{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4440
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4441
if test "${lt_cv_path_NM+set}" = set; then
4442
$as_echo_n "(cached) " >&6
4444
if test -n "$NM"; then
4445
# Let the user override the test.
4448
lt_nm_to_check="${ac_tool_prefix}nm"
4449
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4450
lt_nm_to_check="$lt_nm_to_check nm"
4452
for lt_tmp_nm in $lt_nm_to_check; do
4453
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4454
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4456
test -z "$ac_dir" && ac_dir=.
4457
tmp_nm="$ac_dir/$lt_tmp_nm"
4458
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4459
# Check to see if the nm accepts a BSD-compat flag.
4460
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4461
# nm: unknown option "B" ignored
4462
# Tru64's nm complains that /dev/null is an invalid object file
4463
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4464
*/dev/null* | *'Invalid file or object type'*)
4465
lt_cv_path_NM="$tmp_nm -B"
4469
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4471
lt_cv_path_NM="$tmp_nm -p"
4475
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4476
continue # so that we can try to find one that supports BSD flags
4485
: ${lt_cv_path_NM=no}
4488
{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4489
$as_echo "$lt_cv_path_NM" >&6; }
4490
if test "$lt_cv_path_NM" != "no"; then
4493
# Didn't find any BSD compatible name lister, look for dumpbin.
4494
if test -n "$ac_tool_prefix"; then
4495
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4497
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4498
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4499
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4500
$as_echo_n "checking for $ac_word... " >&6; }
4501
if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4502
$as_echo_n "(cached) " >&6
4504
if test -n "$DUMPBIN"; then
4505
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4507
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4511
test -z "$as_dir" && as_dir=.
4512
for ac_exec_ext in '' $ac_executable_extensions; do
4513
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4514
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4515
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4524
DUMPBIN=$ac_cv_prog_DUMPBIN
4525
if test -n "$DUMPBIN"; then
4526
{ $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4527
$as_echo "$DUMPBIN" >&6; }
4529
{ $as_echo "$as_me:$LINENO: result: no" >&5
4530
$as_echo "no" >&6; }
4534
test -n "$DUMPBIN" && break
4537
if test -z "$DUMPBIN"; then
4538
ac_ct_DUMPBIN=$DUMPBIN
4539
for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4541
# Extract the first word of "$ac_prog", so it can be a program name with args.
4542
set dummy $ac_prog; ac_word=$2
4543
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4544
$as_echo_n "checking for $ac_word... " >&6; }
4545
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4546
$as_echo_n "(cached) " >&6
4548
if test -n "$ac_ct_DUMPBIN"; then
4549
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4551
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4555
test -z "$as_dir" && as_dir=.
4556
for ac_exec_ext in '' $ac_executable_extensions; do
4557
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4558
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4559
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4568
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4569
if test -n "$ac_ct_DUMPBIN"; then
4570
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4571
$as_echo "$ac_ct_DUMPBIN" >&6; }
4573
{ $as_echo "$as_me:$LINENO: result: no" >&5
4574
$as_echo "no" >&6; }
4578
test -n "$ac_ct_DUMPBIN" && break
4581
if test "x$ac_ct_DUMPBIN" = x; then
4584
case $cross_compiling:$ac_tool_warned in
4586
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4587
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4588
ac_tool_warned=yes ;;
4590
DUMPBIN=$ac_ct_DUMPBIN
4595
if test "$DUMPBIN" != ":"; then
4599
test -z "$NM" && NM=nm
4606
{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4607
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4608
if test "${lt_cv_nm_interface+set}" = set; then
4609
$as_echo_n "(cached) " >&6
4611
lt_cv_nm_interface="BSD nm"
4612
echo "int some_variable = 0;" > conftest.$ac_ext
4613
(eval echo "\"\$as_me:4613: $ac_compile\"" >&5)
4614
(eval "$ac_compile" 2>conftest.err)
4615
cat conftest.err >&5
4616
(eval echo "\"\$as_me:4616: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4617
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4618
cat conftest.err >&5
4619
(eval echo "\"\$as_me:4619: output\"" >&5)
4620
cat conftest.out >&5
4621
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4622
lt_cv_nm_interface="MS dumpbin"
4626
{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4627
$as_echo "$lt_cv_nm_interface" >&6; }
4629
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
4630
$as_echo_n "checking whether ln -s works... " >&6; }
4632
if test "$LN_S" = "ln -s"; then
4633
{ $as_echo "$as_me:$LINENO: result: yes" >&5
4634
$as_echo "yes" >&6; }
4636
{ $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4637
$as_echo "no, using $LN_S" >&6; }
4640
# find the maximum length of command line arguments
4641
{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4642
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4643
if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4644
$as_echo_n "(cached) " >&6
4651
# On DJGPP, this test can blow up pretty badly due to problems in libc
4652
# (any single argument exceeding 2000 bytes causes a buffer overrun
4653
# during glob expansion). Even if it were fixed, the result of this
4654
# check would be larger than it should be.
4655
lt_cv_sys_max_cmd_len=12288; # 12K is about right
4659
# Under GNU Hurd, this test is not required because there is
4660
# no limit to the length of command line arguments.
4661
# Libtool will interpret -1 as no limit whatsoever
4662
lt_cv_sys_max_cmd_len=-1;
4665
cygwin* | mingw* | cegcc*)
4666
# On Win9x/ME, this test blows up -- it succeeds, but takes
4667
# about 5 minutes as the teststring grows exponentially.
4668
# Worse, since 9x/ME are not pre-emptively multitasking,
4669
# you end up with a "frozen" computer, even though with patience
4670
# the test eventually succeeds (with a max line length of 256k).
4671
# Instead, let's just punt: use the minimum linelength reported by
4672
# all of the supported platforms: 8192 (on NT/2K/XP).
4673
lt_cv_sys_max_cmd_len=8192;
4677
# On AmigaOS with pdksh, this test takes hours, literally.
4678
# So we just punt and use a minimum line length of 8192.
4679
lt_cv_sys_max_cmd_len=8192;
4682
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4683
# This has been around since 386BSD, at least. Likely further.
4684
if test -x /sbin/sysctl; then
4685
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4686
elif test -x /usr/sbin/sysctl; then
4687
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4689
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4691
# And add a safety zone
4692
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4693
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4697
# We know the value 262144 and hardcode it with a safety zone (like BSD)
4698
lt_cv_sys_max_cmd_len=196608
4702
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4703
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4704
# nice to cause kernel panics so lets avoid the loop below.
4705
# First set a reasonable default.
4706
lt_cv_sys_max_cmd_len=16384
4708
if test -x /sbin/sysconfig; then
4709
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4710
*1*) lt_cv_sys_max_cmd_len=-1 ;;
4715
lt_cv_sys_max_cmd_len=102400
4717
sysv5* | sco5v6* | sysv4.2uw2*)
4718
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4719
if test -n "$kargmax"; then
4720
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4722
lt_cv_sys_max_cmd_len=32768
4726
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4727
if test -n "$lt_cv_sys_max_cmd_len"; then
4728
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4729
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4731
# Make teststring a little bigger before we do anything with it.
4732
# a 1K string should be a reasonable start.
4733
for i in 1 2 3 4 5 6 7 8 ; do
4734
teststring=$teststring$teststring
4736
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4737
# If test is not a shell built-in, we'll probably end up computing a
4738
# maximum length that is only half of the actual maximum length, but
4740
while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4741
= "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4742
test $i != 17 # 1/2 MB should be enough
4745
teststring=$teststring$teststring
4747
# Only check the string length outside the loop.
4748
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4750
# Add a significant safety factor because C++ compilers can tack on
4751
# massive amounts of additional arguments before passing them to the
4752
# linker. It appears as though 1/2 is a usable value.
4753
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4760
if test -n $lt_cv_sys_max_cmd_len ; then
4761
{ $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4762
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4764
{ $as_echo "$as_me:$LINENO: result: none" >&5
4765
$as_echo "none" >&6; }
4767
max_cmd_len=$lt_cv_sys_max_cmd_len
4778
{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4779
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4780
# Try some XSI features
4783
test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4785
&& eval 'test $(( 1 + 1 )) -eq 2 \
4786
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4788
{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
4789
$as_echo "$xsi_shell" >&6; }
4792
{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4793
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4795
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4797
&& lt_shell_append=yes
4798
{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4799
$as_echo "$lt_shell_append" >&6; }
4802
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4812
# test EBCDIC or ASCII
4813
case `echo X|tr X '\101'` in
4814
A) # ASCII based system
4815
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4816
lt_SP2NL='tr \040 \012'
4817
lt_NL2SP='tr \015\012 \040\040'
4819
*) # EBCDIC based system
4820
lt_SP2NL='tr \100 \n'
4821
lt_NL2SP='tr \r\n \100\100'
4833
{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4834
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4835
if test "${lt_cv_ld_reload_flag+set}" = set; then
4836
$as_echo_n "(cached) " >&6
4838
lt_cv_ld_reload_flag='-r'
4840
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4841
$as_echo "$lt_cv_ld_reload_flag" >&6; }
4842
reload_flag=$lt_cv_ld_reload_flag
4843
case $reload_flag in
4845
*) reload_flag=" $reload_flag" ;;
4847
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4850
if test "$GCC" = yes; then
4851
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4853
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4866
if test -n "$ac_tool_prefix"; then
4867
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4868
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4869
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4870
$as_echo_n "checking for $ac_word... " >&6; }
4871
if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4872
$as_echo_n "(cached) " >&6
4874
if test -n "$OBJDUMP"; then
4875
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4877
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4881
test -z "$as_dir" && as_dir=.
4882
for ac_exec_ext in '' $ac_executable_extensions; do
4883
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4884
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4885
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4894
OBJDUMP=$ac_cv_prog_OBJDUMP
4895
if test -n "$OBJDUMP"; then
4896
{ $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4897
$as_echo "$OBJDUMP" >&6; }
4899
{ $as_echo "$as_me:$LINENO: result: no" >&5
4900
$as_echo "no" >&6; }
4905
if test -z "$ac_cv_prog_OBJDUMP"; then
4906
ac_ct_OBJDUMP=$OBJDUMP
4907
# Extract the first word of "objdump", so it can be a program name with args.
4908
set dummy objdump; ac_word=$2
4909
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4910
$as_echo_n "checking for $ac_word... " >&6; }
4911
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4912
$as_echo_n "(cached) " >&6
4914
if test -n "$ac_ct_OBJDUMP"; then
4915
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4917
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4921
test -z "$as_dir" && as_dir=.
4922
for ac_exec_ext in '' $ac_executable_extensions; do
4923
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4924
ac_cv_prog_ac_ct_OBJDUMP="objdump"
4925
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4934
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4935
if test -n "$ac_ct_OBJDUMP"; then
4936
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4937
$as_echo "$ac_ct_OBJDUMP" >&6; }
4939
{ $as_echo "$as_me:$LINENO: result: no" >&5
4940
$as_echo "no" >&6; }
4943
if test "x$ac_ct_OBJDUMP" = x; then
4946
case $cross_compiling:$ac_tool_warned in
4948
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4949
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4950
ac_tool_warned=yes ;;
4952
OBJDUMP=$ac_ct_OBJDUMP
4955
OBJDUMP="$ac_cv_prog_OBJDUMP"
4958
test -z "$OBJDUMP" && OBJDUMP=objdump
4968
{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4969
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
4970
if test "${lt_cv_deplibs_check_method+set}" = set; then
4971
$as_echo_n "(cached) " >&6
4973
lt_cv_file_magic_cmd='$MAGIC_CMD'
4974
lt_cv_file_magic_test_file=
4975
lt_cv_deplibs_check_method='unknown'
4976
# Need to set the preceding variable on all platforms that support
4977
# interlibrary dependencies.
4978
# 'none' -- dependencies not supported.
4979
# `unknown' -- same as none, but documents that we really don't know.
4980
# 'pass_all' -- all dependencies passed with no checks.
4981
# 'test_compile' -- check by making test program.
4982
# 'file_magic [[regex]]' -- check by looking for files in library path
4983
# which responds to the $file_magic_cmd with a given extended regex.
4984
# If you have `file' or equivalent on your system and you're not sure
4985
# whether `pass_all' will *always* work, you probably want this one.
4989
lt_cv_deplibs_check_method=pass_all
4993
lt_cv_deplibs_check_method=pass_all
4997
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4998
lt_cv_file_magic_cmd='/usr/bin/file -L'
4999
lt_cv_file_magic_test_file=/shlib/libc.so
5003
# func_win32_libid is a shell function defined in ltmain.sh
5004
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5005
lt_cv_file_magic_cmd='func_win32_libid'
5009
# Base MSYS/MinGW do not provide the 'file' command needed by
5010
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5011
# unless we find 'file', for example because we are cross-compiling.
5012
if ( file / ) >/dev/null 2>&1; then
5013
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5014
lt_cv_file_magic_cmd='func_win32_libid'
5016
lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5017
lt_cv_file_magic_cmd='$OBJDUMP -f'
5022
# use the weaker test based on 'objdump'. See mingw*.
5023
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5024
lt_cv_file_magic_cmd='$OBJDUMP -f'
5027
darwin* | rhapsody*)
5028
lt_cv_deplibs_check_method=pass_all
5031
freebsd* | dragonfly*)
5032
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5035
# Not sure whether the presence of OpenBSD here was a mistake.
5036
# Let's accept both of them until this is cleared up.
5037
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5038
lt_cv_file_magic_cmd=/usr/bin/file
5039
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5043
lt_cv_deplibs_check_method=pass_all
5048
lt_cv_deplibs_check_method=pass_all
5051
hpux10.20* | hpux11*)
5052
lt_cv_file_magic_cmd=/usr/bin/file
5055
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5056
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5059
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]'
5060
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5063
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5064
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5070
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5071
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5074
irix5* | irix6* | nonstopux*)
5076
*-32|*"-32 ") libmagic=32-bit;;
5077
*-n32|*"-n32 ") libmagic=N32;;
5078
*-64|*"-64 ") libmagic=64-bit;;
5079
*) libmagic=never-match;;
5081
lt_cv_deplibs_check_method=pass_all
5084
# This must be Linux ELF.
5085
linux* | k*bsd*-gnu)
5086
lt_cv_deplibs_check_method=pass_all
5089
netbsd* | netbsdelf*-gnu)
5090
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5091
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5093
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5098
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5099
lt_cv_file_magic_cmd=/usr/bin/file
5100
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5104
lt_cv_deplibs_check_method=pass_all
5108
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5109
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5111
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5115
osf3* | osf4* | osf5*)
5116
lt_cv_deplibs_check_method=pass_all
5120
lt_cv_deplibs_check_method=pass_all
5124
lt_cv_deplibs_check_method=pass_all
5127
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5128
lt_cv_deplibs_check_method=pass_all
5132
case $host_vendor in
5134
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]'
5135
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5138
lt_cv_deplibs_check_method=pass_all
5141
lt_cv_file_magic_cmd='/bin/file'
5142
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5145
lt_cv_file_magic_cmd='/bin/file'
5146
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5147
lt_cv_file_magic_test_file=/lib/libc.so
5150
lt_cv_deplibs_check_method=pass_all
5153
lt_cv_deplibs_check_method=pass_all
5159
lt_cv_deplibs_check_method=pass_all
5164
{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5165
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5166
file_magic_cmd=$lt_cv_file_magic_cmd
5167
deplibs_check_method=$lt_cv_deplibs_check_method
5168
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5181
if test -n "$ac_tool_prefix"; then
5182
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5183
set dummy ${ac_tool_prefix}ar; ac_word=$2
5184
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5185
$as_echo_n "checking for $ac_word... " >&6; }
5186
if test "${ac_cv_prog_AR+set}" = set; then
5187
$as_echo_n "(cached) " >&6
5189
if test -n "$AR"; then
5190
ac_cv_prog_AR="$AR" # Let the user override the test.
5192
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5196
test -z "$as_dir" && as_dir=.
5197
for ac_exec_ext in '' $ac_executable_extensions; do
5198
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5199
ac_cv_prog_AR="${ac_tool_prefix}ar"
5200
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5210
if test -n "$AR"; then
5211
{ $as_echo "$as_me:$LINENO: result: $AR" >&5
5212
$as_echo "$AR" >&6; }
5214
{ $as_echo "$as_me:$LINENO: result: no" >&5
5215
$as_echo "no" >&6; }
5220
if test -z "$ac_cv_prog_AR"; then
5222
# Extract the first word of "ar", so it can be a program name with args.
5223
set dummy ar; ac_word=$2
5224
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5225
$as_echo_n "checking for $ac_word... " >&6; }
5226
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5227
$as_echo_n "(cached) " >&6
5229
if test -n "$ac_ct_AR"; then
5230
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5232
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5236
test -z "$as_dir" && as_dir=.
5237
for ac_exec_ext in '' $ac_executable_extensions; do
5238
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5239
ac_cv_prog_ac_ct_AR="ar"
5240
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5249
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5250
if test -n "$ac_ct_AR"; then
5251
{ $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5252
$as_echo "$ac_ct_AR" >&6; }
5254
{ $as_echo "$as_me:$LINENO: result: no" >&5
5255
$as_echo "no" >&6; }
5258
if test "x$ac_ct_AR" = x; then
5261
case $cross_compiling:$ac_tool_warned in
5263
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5264
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5265
ac_tool_warned=yes ;;
5273
test -z "$AR" && AR=ar
5274
test -z "$AR_FLAGS" && AR_FLAGS=cru
5286
if test -n "$ac_tool_prefix"; then
5287
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5288
set dummy ${ac_tool_prefix}strip; ac_word=$2
5289
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5290
$as_echo_n "checking for $ac_word... " >&6; }
5291
if test "${ac_cv_prog_STRIP+set}" = set; then
5292
$as_echo_n "(cached) " >&6
5294
if test -n "$STRIP"; then
5295
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5297
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5301
test -z "$as_dir" && as_dir=.
5302
for ac_exec_ext in '' $ac_executable_extensions; do
5303
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5304
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5305
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5314
STRIP=$ac_cv_prog_STRIP
5315
if test -n "$STRIP"; then
5316
{ $as_echo "$as_me:$LINENO: result: $STRIP" >&5
5317
$as_echo "$STRIP" >&6; }
5319
{ $as_echo "$as_me:$LINENO: result: no" >&5
5320
$as_echo "no" >&6; }
5325
if test -z "$ac_cv_prog_STRIP"; then
5327
# Extract the first word of "strip", so it can be a program name with args.
5328
set dummy strip; ac_word=$2
5329
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5330
$as_echo_n "checking for $ac_word... " >&6; }
5331
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5332
$as_echo_n "(cached) " >&6
5334
if test -n "$ac_ct_STRIP"; then
5335
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5337
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5341
test -z "$as_dir" && as_dir=.
5342
for ac_exec_ext in '' $ac_executable_extensions; do
5343
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5344
ac_cv_prog_ac_ct_STRIP="strip"
5345
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5354
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5355
if test -n "$ac_ct_STRIP"; then
5356
{ $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5357
$as_echo "$ac_ct_STRIP" >&6; }
5359
{ $as_echo "$as_me:$LINENO: result: no" >&5
5360
$as_echo "no" >&6; }
5363
if test "x$ac_ct_STRIP" = x; then
5366
case $cross_compiling:$ac_tool_warned in
5368
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5369
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5370
ac_tool_warned=yes ;;
5375
STRIP="$ac_cv_prog_STRIP"
5378
test -z "$STRIP" && STRIP=:
5385
if test -n "$ac_tool_prefix"; then
5386
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5387
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5388
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5389
$as_echo_n "checking for $ac_word... " >&6; }
5390
if test "${ac_cv_prog_RANLIB+set}" = set; then
5391
$as_echo_n "(cached) " >&6
5393
if test -n "$RANLIB"; then
5394
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5396
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400
test -z "$as_dir" && as_dir=.
5401
for ac_exec_ext in '' $ac_executable_extensions; do
5402
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5403
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5404
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5413
RANLIB=$ac_cv_prog_RANLIB
5414
if test -n "$RANLIB"; then
5415
{ $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
5416
$as_echo "$RANLIB" >&6; }
5418
{ $as_echo "$as_me:$LINENO: result: no" >&5
5419
$as_echo "no" >&6; }
5424
if test -z "$ac_cv_prog_RANLIB"; then
5425
ac_ct_RANLIB=$RANLIB
5426
# Extract the first word of "ranlib", so it can be a program name with args.
5427
set dummy ranlib; ac_word=$2
5428
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5429
$as_echo_n "checking for $ac_word... " >&6; }
5430
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5431
$as_echo_n "(cached) " >&6
5433
if test -n "$ac_ct_RANLIB"; then
5434
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5436
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5440
test -z "$as_dir" && as_dir=.
5441
for ac_exec_ext in '' $ac_executable_extensions; do
5442
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5443
ac_cv_prog_ac_ct_RANLIB="ranlib"
5444
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5453
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5454
if test -n "$ac_ct_RANLIB"; then
5455
{ $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5456
$as_echo "$ac_ct_RANLIB" >&6; }
5458
{ $as_echo "$as_me:$LINENO: result: no" >&5
5459
$as_echo "no" >&6; }
5462
if test "x$ac_ct_RANLIB" = x; then
5465
case $cross_compiling:$ac_tool_warned in
5467
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5468
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5469
ac_tool_warned=yes ;;
5471
RANLIB=$ac_ct_RANLIB
5474
RANLIB="$ac_cv_prog_RANLIB"
5477
test -z "$RANLIB" && RANLIB=:
5484
# Determine commands to create old-style static archives.
5485
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5486
old_postinstall_cmds='chmod 644 $oldlib'
5487
old_postuninstall_cmds=
5489
if test -n "$RANLIB"; then
5492
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5495
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5498
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5534
# If no C compiler was specified, use CC.
5537
# If no C compiler flags were specified, use CFLAGS.
5538
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5540
# Allow CC to be a program name with arguments.
5544
# Check for command to grab the raw symbol name followed by C symbol from nm.
5545
{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5546
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5547
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5548
$as_echo_n "(cached) " >&6
5551
# These are sane defaults that work on at least a few old systems.
5552
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
5554
# Character class describing NM global symbol codes.
5555
symcode='[BCDEGRST]'
5557
# Regexp to match symbols that can be accessed directly from C.
5558
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5560
# Define system-specific variables.
5565
cygwin* | mingw* | pw32* | cegcc*)
5566
symcode='[ABCDGISTW]'
5569
if test "$host_cpu" = ia64; then
5570
symcode='[ABCDEGRST]'
5574
symcode='[BCDEGRST]'
5577
symcode='[BCDEGQRST]'
5588
sysv5* | sco5v6* | unixware* | OpenUNIX*)
5596
# If we're using GNU nm, then use its standard symbol codes.
5597
case `$NM -V 2>&1` in
5598
*GNU* | *'with BFD'*)
5599
symcode='[ABCDGIRSTW]' ;;
5602
# Transform an extracted symbol line into a proper C declaration.
5603
# Some systems (esp. on ia64) link data and code symbols differently,
5604
# so use this general approach.
5605
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5607
# Transform an extracted symbol line into symbol name and symbol address
5608
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5609
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'"
5611
# Handle CRLF in mingw tool chain
5615
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5619
# Try without a prefix underscore, then with it.
5620
for ac_symprfx in "" "_"; do
5622
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5623
symxfrm="\\1 $ac_symprfx\\2 \\2"
5625
# Write the raw and C identifiers.
5626
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5627
# Fake it for dumpbin and say T for any non-static function
5628
# and D for any global variable.
5629
# Also find C++ and __fastcall symbols from MSVC++,
5630
# which start with @ or ?.
5631
lt_cv_sys_global_symbol_pipe="$AWK '"\
5632
" {last_section=section; section=\$ 3};"\
5633
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5634
" \$ 0!~/External *\|/{next};"\
5635
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5636
" {if(hide[section]) next};"\
5637
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5638
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5639
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
5640
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5641
" ' prfx=^$ac_symprfx"
5643
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5646
# Check to see that the pipe works correctly.
5650
cat > conftest.$ac_ext <<_LT_EOF
5655
void nm_test_func(void);
5656
void nm_test_func(void){}
5660
int main(){nm_test_var='a';nm_test_func();return(0);}
5663
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5664
(eval $ac_compile) 2>&5
5666
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667
(exit $ac_status); }; then
5668
# Now try to grab the symbols.
5670
if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5671
(eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5673
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5674
(exit $ac_status); } && test -s "$nlist"; then
5675
# Try sorting and uniquifying the output.
5676
if sort "$nlist" | uniq > "$nlist"T; then
5677
mv -f "$nlist"T "$nlist"
5682
# Make sure that we snagged all the symbols we need.
5683
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5684
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5685
cat <<_LT_EOF > conftest.$ac_ext
5691
# Now generate the symbol file.
5692
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5694
cat <<_LT_EOF >> conftest.$ac_ext
5696
/* The mapping between symbol names and symbols. */
5701
lt__PROGRAM__LTX_preloaded_symbols[] =
5703
{ "@PROGRAM@", (void *) 0 },
5705
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5706
cat <<\_LT_EOF >> conftest.$ac_ext
5710
/* This works around a problem in FreeBSD linker */
5711
#ifdef FREEBSD_WORKAROUND
5712
static const void *lt_preloaded_setup() {
5713
return lt__PROGRAM__LTX_preloaded_symbols;
5721
# Now try linking the two files.
5722
mv conftest.$ac_objext conftstm.$ac_objext
5723
lt_save_LIBS="$LIBS"
5724
lt_save_CFLAGS="$CFLAGS"
5725
LIBS="conftstm.$ac_objext"
5726
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5727
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5728
(eval $ac_link) 2>&5
5730
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5731
(exit $ac_status); } && test -s conftest${ac_exeext}; then
5734
LIBS="$lt_save_LIBS"
5735
CFLAGS="$lt_save_CFLAGS"
5737
echo "cannot find nm_test_func in $nlist" >&5
5740
echo "cannot find nm_test_var in $nlist" >&5
5743
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5746
echo "$progname: failed program was:" >&5
5747
cat conftest.$ac_ext >&5
5749
rm -rf conftest* conftst*
5751
# Do not use the global_symbol_pipe unless it works.
5752
if test "$pipe_works" = yes; then
5755
lt_cv_sys_global_symbol_pipe=
5761
if test -z "$lt_cv_sys_global_symbol_pipe"; then
5762
lt_cv_sys_global_symbol_to_cdecl=
5764
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5765
{ $as_echo "$as_me:$LINENO: result: failed" >&5
5766
$as_echo "failed" >&6; }
5768
{ $as_echo "$as_me:$LINENO: result: ok" >&5
5769
$as_echo "ok" >&6; }
5794
# Check whether --enable-libtool-lock was given.
5795
if test "${enable_libtool_lock+set}" = set; then
5796
enableval=$enable_libtool_lock;
5799
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5801
# Some flags need to be propagated to the compiler or linker for good
5805
# Find out which ABI we are using.
5806
echo 'int i;' > conftest.$ac_ext
5807
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5808
(eval $ac_compile) 2>&5
5810
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5811
(exit $ac_status); }; then
5812
case `/usr/bin/file conftest.$ac_objext` in
5824
# Find out which ABI we are using.
5825
echo '#line 5825 "configure"' > conftest.$ac_ext
5826
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5827
(eval $ac_compile) 2>&5
5829
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5830
(exit $ac_status); }; then
5831
if test "$lt_cv_prog_gnu_ld" = yes; then
5832
case `/usr/bin/file conftest.$ac_objext` in
5834
LD="${LD-ld} -melf32bsmip"
5837
LD="${LD-ld} -melf32bmipn32"
5840
LD="${LD-ld} -melf64bmip"
5844
case `/usr/bin/file conftest.$ac_objext` in
5860
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5861
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5862
# Find out which ABI we are using.
5863
echo 'int i;' > conftest.$ac_ext
5864
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5865
(eval $ac_compile) 2>&5
5867
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5868
(exit $ac_status); }; then
5869
case `/usr/bin/file conftest.o` in
5872
x86_64-*kfreebsd*-gnu)
5873
LD="${LD-ld} -m elf_i386_fbsd"
5876
LD="${LD-ld} -m elf_i386"
5878
ppc64-*linux*|powerpc64-*linux*)
5879
LD="${LD-ld} -m elf32ppclinux"
5882
LD="${LD-ld} -m elf_s390"
5885
LD="${LD-ld} -m elf32_sparc"
5891
x86_64-*kfreebsd*-gnu)
5892
LD="${LD-ld} -m elf_x86_64_fbsd"
5895
LD="${LD-ld} -m elf_x86_64"
5897
ppc*-*linux*|powerpc*-*linux*)
5898
LD="${LD-ld} -m elf64ppc"
5900
s390*-*linux*|s390*-*tpf*)
5901
LD="${LD-ld} -m elf64_s390"
5904
LD="${LD-ld} -m elf64_sparc"
5914
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
5915
SAVE_CFLAGS="$CFLAGS"
5916
CFLAGS="$CFLAGS -belf"
5917
{ $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5918
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
5919
if test "${lt_cv_cc_needs_belf+set}" = set; then
5920
$as_echo_n "(cached) " >&6
5923
ac_cpp='$CPP $CPPFLAGS'
5924
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5925
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5926
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5928
cat >conftest.$ac_ext <<_ACEOF
5931
cat confdefs.h >>conftest.$ac_ext
5932
cat >>conftest.$ac_ext <<_ACEOF
5933
/* end confdefs.h. */
5943
rm -f conftest.$ac_objext conftest$ac_exeext
5944
if { (ac_try="$ac_link"
5946
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5947
*) ac_try_echo=$ac_try;;
5949
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5950
$as_echo "$ac_try_echo") >&5
5951
(eval "$ac_link") 2>conftest.er1
5953
grep -v '^ *+' conftest.er1 >conftest.err
5955
cat conftest.err >&5
5956
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957
(exit $ac_status); } && {
5958
test -z "$ac_c_werror_flag" ||
5959
test ! -s conftest.err
5960
} && test -s conftest$ac_exeext && {
5961
test "$cross_compiling" = yes ||
5962
$as_test_x conftest$ac_exeext
5964
lt_cv_cc_needs_belf=yes
5966
$as_echo "$as_me: failed program was:" >&5
5967
sed 's/^/| /' conftest.$ac_ext >&5
5969
lt_cv_cc_needs_belf=no
5972
rm -rf conftest.dSYM
5973
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5974
conftest$ac_exeext conftest.$ac_ext
5976
ac_cpp='$CPP $CPPFLAGS'
5977
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5978
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5979
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5982
{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5983
$as_echo "$lt_cv_cc_needs_belf" >&6; }
5984
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5985
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5986
CFLAGS="$SAVE_CFLAGS"
5990
# Find out which ABI we are using.
5991
echo 'int i;' > conftest.$ac_ext
5992
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5993
(eval $ac_compile) 2>&5
5995
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5996
(exit $ac_status); }; then
5997
case `/usr/bin/file conftest.o` in
5999
case $lt_cv_prog_gnu_ld in
6000
yes*) LD="${LD-ld} -m elf64_sparc" ;;
6002
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6014
need_locks="$enable_libtool_lock"
6018
rhapsody* | darwin*)
6019
if test -n "$ac_tool_prefix"; then
6020
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6021
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6022
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6023
$as_echo_n "checking for $ac_word... " >&6; }
6024
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6025
$as_echo_n "(cached) " >&6
6027
if test -n "$DSYMUTIL"; then
6028
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6030
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6034
test -z "$as_dir" && as_dir=.
6035
for ac_exec_ext in '' $ac_executable_extensions; do
6036
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6037
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6038
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6047
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6048
if test -n "$DSYMUTIL"; then
6049
{ $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6050
$as_echo "$DSYMUTIL" >&6; }
6052
{ $as_echo "$as_me:$LINENO: result: no" >&5
6053
$as_echo "no" >&6; }
6058
if test -z "$ac_cv_prog_DSYMUTIL"; then
6059
ac_ct_DSYMUTIL=$DSYMUTIL
6060
# Extract the first word of "dsymutil", so it can be a program name with args.
6061
set dummy dsymutil; ac_word=$2
6062
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6063
$as_echo_n "checking for $ac_word... " >&6; }
6064
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6065
$as_echo_n "(cached) " >&6
6067
if test -n "$ac_ct_DSYMUTIL"; then
6068
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6070
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6074
test -z "$as_dir" && as_dir=.
6075
for ac_exec_ext in '' $ac_executable_extensions; do
6076
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6077
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6078
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6087
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6088
if test -n "$ac_ct_DSYMUTIL"; then
6089
{ $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6090
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6092
{ $as_echo "$as_me:$LINENO: result: no" >&5
6093
$as_echo "no" >&6; }
6096
if test "x$ac_ct_DSYMUTIL" = x; then
6099
case $cross_compiling:$ac_tool_warned in
6101
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6102
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6103
ac_tool_warned=yes ;;
6105
DSYMUTIL=$ac_ct_DSYMUTIL
6108
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6111
if test -n "$ac_tool_prefix"; then
6112
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6113
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6114
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6115
$as_echo_n "checking for $ac_word... " >&6; }
6116
if test "${ac_cv_prog_NMEDIT+set}" = set; then
6117
$as_echo_n "(cached) " >&6
6119
if test -n "$NMEDIT"; then
6120
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6122
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6126
test -z "$as_dir" && as_dir=.
6127
for ac_exec_ext in '' $ac_executable_extensions; do
6128
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6130
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6139
NMEDIT=$ac_cv_prog_NMEDIT
6140
if test -n "$NMEDIT"; then
6141
{ $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
6142
$as_echo "$NMEDIT" >&6; }
6144
{ $as_echo "$as_me:$LINENO: result: no" >&5
6145
$as_echo "no" >&6; }
6150
if test -z "$ac_cv_prog_NMEDIT"; then
6151
ac_ct_NMEDIT=$NMEDIT
6152
# Extract the first word of "nmedit", so it can be a program name with args.
6153
set dummy nmedit; ac_word=$2
6154
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6155
$as_echo_n "checking for $ac_word... " >&6; }
6156
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6157
$as_echo_n "(cached) " >&6
6159
if test -n "$ac_ct_NMEDIT"; then
6160
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6162
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6166
test -z "$as_dir" && as_dir=.
6167
for ac_exec_ext in '' $ac_executable_extensions; do
6168
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6169
ac_cv_prog_ac_ct_NMEDIT="nmedit"
6170
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6179
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6180
if test -n "$ac_ct_NMEDIT"; then
6181
{ $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6182
$as_echo "$ac_ct_NMEDIT" >&6; }
6184
{ $as_echo "$as_me:$LINENO: result: no" >&5
6185
$as_echo "no" >&6; }
6188
if test "x$ac_ct_NMEDIT" = x; then
6191
case $cross_compiling:$ac_tool_warned in
6193
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6194
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6195
ac_tool_warned=yes ;;
6197
NMEDIT=$ac_ct_NMEDIT
6200
NMEDIT="$ac_cv_prog_NMEDIT"
6203
if test -n "$ac_tool_prefix"; then
6204
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6205
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6206
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6207
$as_echo_n "checking for $ac_word... " >&6; }
6208
if test "${ac_cv_prog_LIPO+set}" = set; then
6209
$as_echo_n "(cached) " >&6
6211
if test -n "$LIPO"; then
6212
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6214
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6218
test -z "$as_dir" && as_dir=.
6219
for ac_exec_ext in '' $ac_executable_extensions; do
6220
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6221
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6222
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6231
LIPO=$ac_cv_prog_LIPO
6232
if test -n "$LIPO"; then
6233
{ $as_echo "$as_me:$LINENO: result: $LIPO" >&5
6234
$as_echo "$LIPO" >&6; }
6236
{ $as_echo "$as_me:$LINENO: result: no" >&5
6237
$as_echo "no" >&6; }
6242
if test -z "$ac_cv_prog_LIPO"; then
6244
# Extract the first word of "lipo", so it can be a program name with args.
6245
set dummy lipo; ac_word=$2
6246
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6247
$as_echo_n "checking for $ac_word... " >&6; }
6248
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6249
$as_echo_n "(cached) " >&6
6251
if test -n "$ac_ct_LIPO"; then
6252
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6254
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6258
test -z "$as_dir" && as_dir=.
6259
for ac_exec_ext in '' $ac_executable_extensions; do
6260
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6261
ac_cv_prog_ac_ct_LIPO="lipo"
6262
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6271
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6272
if test -n "$ac_ct_LIPO"; then
6273
{ $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6274
$as_echo "$ac_ct_LIPO" >&6; }
6276
{ $as_echo "$as_me:$LINENO: result: no" >&5
6277
$as_echo "no" >&6; }
6280
if test "x$ac_ct_LIPO" = x; then
6283
case $cross_compiling:$ac_tool_warned in
6285
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6286
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6287
ac_tool_warned=yes ;;
6292
LIPO="$ac_cv_prog_LIPO"
6295
if test -n "$ac_tool_prefix"; then
6296
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6297
set dummy ${ac_tool_prefix}otool; ac_word=$2
6298
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6299
$as_echo_n "checking for $ac_word... " >&6; }
6300
if test "${ac_cv_prog_OTOOL+set}" = set; then
6301
$as_echo_n "(cached) " >&6
6303
if test -n "$OTOOL"; then
6304
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6306
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6310
test -z "$as_dir" && as_dir=.
6311
for ac_exec_ext in '' $ac_executable_extensions; do
6312
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6313
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6314
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6323
OTOOL=$ac_cv_prog_OTOOL
6324
if test -n "$OTOOL"; then
6325
{ $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
6326
$as_echo "$OTOOL" >&6; }
6328
{ $as_echo "$as_me:$LINENO: result: no" >&5
6329
$as_echo "no" >&6; }
6334
if test -z "$ac_cv_prog_OTOOL"; then
6336
# Extract the first word of "otool", so it can be a program name with args.
6337
set dummy otool; ac_word=$2
6338
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6339
$as_echo_n "checking for $ac_word... " >&6; }
6340
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6341
$as_echo_n "(cached) " >&6
6343
if test -n "$ac_ct_OTOOL"; then
6344
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6346
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6350
test -z "$as_dir" && as_dir=.
6351
for ac_exec_ext in '' $ac_executable_extensions; do
6352
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6353
ac_cv_prog_ac_ct_OTOOL="otool"
6354
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6363
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6364
if test -n "$ac_ct_OTOOL"; then
6365
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6366
$as_echo "$ac_ct_OTOOL" >&6; }
6368
{ $as_echo "$as_me:$LINENO: result: no" >&5
6369
$as_echo "no" >&6; }
6372
if test "x$ac_ct_OTOOL" = x; then
6375
case $cross_compiling:$ac_tool_warned in
6377
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6378
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6379
ac_tool_warned=yes ;;
6384
OTOOL="$ac_cv_prog_OTOOL"
6387
if test -n "$ac_tool_prefix"; then
6388
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6389
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6390
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6391
$as_echo_n "checking for $ac_word... " >&6; }
6392
if test "${ac_cv_prog_OTOOL64+set}" = set; then
6393
$as_echo_n "(cached) " >&6
6395
if test -n "$OTOOL64"; then
6396
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6398
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6402
test -z "$as_dir" && as_dir=.
6403
for ac_exec_ext in '' $ac_executable_extensions; do
6404
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6405
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6406
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6415
OTOOL64=$ac_cv_prog_OTOOL64
6416
if test -n "$OTOOL64"; then
6417
{ $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
6418
$as_echo "$OTOOL64" >&6; }
6420
{ $as_echo "$as_me:$LINENO: result: no" >&5
6421
$as_echo "no" >&6; }
6426
if test -z "$ac_cv_prog_OTOOL64"; then
6427
ac_ct_OTOOL64=$OTOOL64
6428
# Extract the first word of "otool64", so it can be a program name with args.
6429
set dummy otool64; ac_word=$2
6430
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6431
$as_echo_n "checking for $ac_word... " >&6; }
6432
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6433
$as_echo_n "(cached) " >&6
6435
if test -n "$ac_ct_OTOOL64"; then
6436
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6438
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6442
test -z "$as_dir" && as_dir=.
6443
for ac_exec_ext in '' $ac_executable_extensions; do
6444
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6445
ac_cv_prog_ac_ct_OTOOL64="otool64"
6446
$as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6455
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6456
if test -n "$ac_ct_OTOOL64"; then
6457
{ $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6458
$as_echo "$ac_ct_OTOOL64" >&6; }
6460
{ $as_echo "$as_me:$LINENO: result: no" >&5
6461
$as_echo "no" >&6; }
6464
if test "x$ac_ct_OTOOL64" = x; then
6467
case $cross_compiling:$ac_tool_warned in
6469
{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6470
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6471
ac_tool_warned=yes ;;
6473
OTOOL64=$ac_ct_OTOOL64
6476
OTOOL64="$ac_cv_prog_OTOOL64"
6505
{ $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6506
$as_echo_n "checking for -single_module linker flag... " >&6; }
6507
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6508
$as_echo_n "(cached) " >&6
6510
lt_cv_apple_cc_single_mod=no
6511
if test -z "${LT_MULTI_MODULE}"; then
6512
# By default we will add the -single_module flag. You can override
6513
# by either setting the environment variable LT_MULTI_MODULE
6514
# non-empty at configure time, or by adding -multi_module to the
6516
rm -rf libconftest.dylib*
6517
echo "int foo(void){return 1;}" > conftest.c
6518
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6519
-dynamiclib -Wl,-single_module conftest.c" >&5
6520
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6521
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6523
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6524
lt_cv_apple_cc_single_mod=yes
6526
cat conftest.err >&5
6528
rm -rf libconftest.dylib*
6532
{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6533
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
6534
{ $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6535
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
6536
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6537
$as_echo_n "(cached) " >&6
6539
lt_cv_ld_exported_symbols_list=no
6540
save_LDFLAGS=$LDFLAGS
6541
echo "_main" > conftest.sym
6542
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6543
cat >conftest.$ac_ext <<_ACEOF
6546
cat confdefs.h >>conftest.$ac_ext
6547
cat >>conftest.$ac_ext <<_ACEOF
6548
/* end confdefs.h. */
6558
rm -f conftest.$ac_objext conftest$ac_exeext
6559
if { (ac_try="$ac_link"
6561
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6562
*) ac_try_echo=$ac_try;;
6564
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6565
$as_echo "$ac_try_echo") >&5
6566
(eval "$ac_link") 2>conftest.er1
6568
grep -v '^ *+' conftest.er1 >conftest.err
6570
cat conftest.err >&5
6571
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572
(exit $ac_status); } && {
6573
test -z "$ac_c_werror_flag" ||
6574
test ! -s conftest.err
6575
} && test -s conftest$ac_exeext && {
6576
test "$cross_compiling" = yes ||
6577
$as_test_x conftest$ac_exeext
6579
lt_cv_ld_exported_symbols_list=yes
6581
$as_echo "$as_me: failed program was:" >&5
6582
sed 's/^/| /' conftest.$ac_ext >&5
6584
lt_cv_ld_exported_symbols_list=no
6587
rm -rf conftest.dSYM
6588
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6589
conftest$ac_exeext conftest.$ac_ext
6590
LDFLAGS="$save_LDFLAGS"
6593
{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6594
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
6596
rhapsody* | darwin1.[012])
6597
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6599
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6600
darwin*) # darwin 5.x on
6601
# if running on 10.5 or later, the deployment target defaults
6602
# to the OS version, if on x86, and 10.4, the deployment
6603
# target defaults to 10.4. Don't you love it?
6604
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6605
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6606
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6608
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6610
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6614
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6615
_lt_dar_single_mod='$single_module'
6617
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6618
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6620
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6622
if test "$DSYMUTIL" != ":"; then
6623
_lt_dsymutil='~$DSYMUTIL $lib || :'
6631
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6632
$as_echo_n "checking for ANSI C header files... " >&6; }
6633
if test "${ac_cv_header_stdc+set}" = set; then
6634
$as_echo_n "(cached) " >&6
6636
cat >conftest.$ac_ext <<_ACEOF
6639
cat confdefs.h >>conftest.$ac_ext
6640
cat >>conftest.$ac_ext <<_ACEOF
6641
/* end confdefs.h. */
6655
rm -f conftest.$ac_objext
6656
if { (ac_try="$ac_compile"
6658
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6659
*) ac_try_echo=$ac_try;;
6661
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6662
$as_echo "$ac_try_echo") >&5
6663
(eval "$ac_compile") 2>conftest.er1
6665
grep -v '^ *+' conftest.er1 >conftest.err
6667
cat conftest.err >&5
6668
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6669
(exit $ac_status); } && {
6670
test -z "$ac_c_werror_flag" ||
6671
test ! -s conftest.err
6672
} && test -s conftest.$ac_objext; then
6673
ac_cv_header_stdc=yes
6675
$as_echo "$as_me: failed program was:" >&5
6676
sed 's/^/| /' conftest.$ac_ext >&5
6678
ac_cv_header_stdc=no
6681
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6683
if test $ac_cv_header_stdc = yes; then
6684
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6685
cat >conftest.$ac_ext <<_ACEOF
6688
cat confdefs.h >>conftest.$ac_ext
6689
cat >>conftest.$ac_ext <<_ACEOF
6690
/* end confdefs.h. */
6694
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6695
$EGREP "memchr" >/dev/null 2>&1; then
6698
ac_cv_header_stdc=no
6704
if test $ac_cv_header_stdc = yes; then
6705
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6706
cat >conftest.$ac_ext <<_ACEOF
6709
cat confdefs.h >>conftest.$ac_ext
6710
cat >>conftest.$ac_ext <<_ACEOF
6711
/* end confdefs.h. */
6715
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6716
$EGREP "free" >/dev/null 2>&1; then
6719
ac_cv_header_stdc=no
6725
if test $ac_cv_header_stdc = yes; then
6726
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6727
if test "$cross_compiling" = yes; then
6730
cat >conftest.$ac_ext <<_ACEOF
6733
cat confdefs.h >>conftest.$ac_ext
6734
cat >>conftest.$ac_ext <<_ACEOF
6735
/* end confdefs.h. */
6738
#if ((' ' & 0x0FF) == 0x020)
6739
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6740
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6742
# define ISLOWER(c) \
6743
(('a' <= (c) && (c) <= 'i') \
6744
|| ('j' <= (c) && (c) <= 'r') \
6745
|| ('s' <= (c) && (c) <= 'z'))
6746
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6749
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6754
for (i = 0; i < 256; i++)
6755
if (XOR (islower (i), ISLOWER (i))
6756
|| toupper (i) != TOUPPER (i))
6761
rm -f conftest$ac_exeext
6762
if { (ac_try="$ac_link"
6764
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6765
*) ac_try_echo=$ac_try;;
6767
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6768
$as_echo "$ac_try_echo") >&5
6769
(eval "$ac_link") 2>&5
6771
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6773
{ (case "(($ac_try" in
6774
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6775
*) ac_try_echo=$ac_try;;
6777
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6778
$as_echo "$ac_try_echo") >&5
6779
(eval "$ac_try") 2>&5
6781
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6782
(exit $ac_status); }; }; then
6785
$as_echo "$as_me: program exited with status $ac_status" >&5
6786
$as_echo "$as_me: failed program was:" >&5
6787
sed 's/^/| /' conftest.$ac_ext >&5
6790
ac_cv_header_stdc=no
6792
rm -rf conftest.dSYM
6793
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6799
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6800
$as_echo "$ac_cv_header_stdc" >&6; }
6801
if test $ac_cv_header_stdc = yes; then
6803
cat >>confdefs.h <<\_ACEOF
6804
#define STDC_HEADERS 1
6809
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
6819
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6820
inttypes.h stdint.h unistd.h
6822
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6823
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6824
$as_echo_n "checking for $ac_header... " >&6; }
6825
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6826
$as_echo_n "(cached) " >&6
6828
cat >conftest.$ac_ext <<_ACEOF
6831
cat confdefs.h >>conftest.$ac_ext
6832
cat >>conftest.$ac_ext <<_ACEOF
6833
/* end confdefs.h. */
6834
$ac_includes_default
6836
#include <$ac_header>
6838
rm -f conftest.$ac_objext
6839
if { (ac_try="$ac_compile"
6841
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6842
*) ac_try_echo=$ac_try;;
6844
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6845
$as_echo "$ac_try_echo") >&5
6846
(eval "$ac_compile") 2>conftest.er1
6848
grep -v '^ *+' conftest.er1 >conftest.err
6850
cat conftest.err >&5
6851
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852
(exit $ac_status); } && {
6853
test -z "$ac_c_werror_flag" ||
6854
test ! -s conftest.err
6855
} && test -s conftest.$ac_objext; then
6856
eval "$as_ac_Header=yes"
6858
$as_echo "$as_me: failed program was:" >&5
6859
sed 's/^/| /' conftest.$ac_ext >&5
6861
eval "$as_ac_Header=no"
6864
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6866
ac_res=`eval 'as_val=${'$as_ac_Header'}
6867
$as_echo "$as_val"'`
6868
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6869
$as_echo "$ac_res" >&6; }
6870
as_val=`eval 'as_val=${'$as_ac_Header'}
6871
$as_echo "$as_val"'`
6872
if test "x$as_val" = x""yes; then
6873
cat >>confdefs.h <<_ACEOF
6874
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6883
for ac_header in dlfcn.h
6885
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6886
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6887
$as_echo_n "checking for $ac_header... " >&6; }
6888
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6889
$as_echo_n "(cached) " >&6
6891
cat >conftest.$ac_ext <<_ACEOF
6894
cat confdefs.h >>conftest.$ac_ext
6895
cat >>conftest.$ac_ext <<_ACEOF
6896
/* end confdefs.h. */
6897
$ac_includes_default
6899
#include <$ac_header>
6901
rm -f conftest.$ac_objext
6902
if { (ac_try="$ac_compile"
6904
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6905
*) ac_try_echo=$ac_try;;
6907
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6908
$as_echo "$ac_try_echo") >&5
6909
(eval "$ac_compile") 2>conftest.er1
6911
grep -v '^ *+' conftest.er1 >conftest.err
6913
cat conftest.err >&5
6914
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915
(exit $ac_status); } && {
6916
test -z "$ac_c_werror_flag" ||
6917
test ! -s conftest.err
6918
} && test -s conftest.$ac_objext; then
6919
eval "$as_ac_Header=yes"
6921
$as_echo "$as_me: failed program was:" >&5
6922
sed 's/^/| /' conftest.$ac_ext >&5
6924
eval "$as_ac_Header=no"
6927
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6929
ac_res=`eval 'as_val=${'$as_ac_Header'}
6930
$as_echo "$as_val"'`
6931
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6932
$as_echo "$ac_res" >&6; }
6933
as_val=`eval 'as_val=${'$as_ac_Header'}
6934
$as_echo "$as_val"'`
6935
if test "x$as_val" = x""yes; then
6936
cat >>confdefs.h <<_ACEOF
6937
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6956
# Check whether --enable-shared was given.
6957
if test "${enable_shared+set}" = set; then
6958
enableval=$enable_shared; p=${PACKAGE-default}
6960
yes) enable_shared=yes ;;
6961
no) enable_shared=no ;;
6964
# Look at the argument we got. We use all the common list separators.
6965
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6966
for pkg in $enableval; do
6968
if test "X$pkg" = "X$p"; then
6987
# Check whether --enable-static was given.
6988
if test "${enable_static+set}" = set; then
6989
enableval=$enable_static; p=${PACKAGE-default}
6991
yes) enable_static=yes ;;
6992
no) enable_static=no ;;
6995
# Look at the argument we got. We use all the common list separators.
6996
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6997
for pkg in $enableval; do
6999
if test "X$pkg" = "X$p"; then
7019
# Check whether --with-pic was given.
7020
if test "${with_pic+set}" = set; then
7021
withval=$with_pic; pic_mode="$withval"
7027
test -z "$pic_mode" && pic_mode=default
7035
# Check whether --enable-fast-install was given.
7036
if test "${enable_fast_install+set}" = set; then
7037
enableval=$enable_fast_install; p=${PACKAGE-default}
7039
yes) enable_fast_install=yes ;;
7040
no) enable_fast_install=no ;;
7042
enable_fast_install=no
7043
# Look at the argument we got. We use all the common list separators.
7044
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7045
for pkg in $enableval; do
7047
if test "X$pkg" = "X$p"; then
7048
enable_fast_install=yes
7055
enable_fast_install=yes
7068
# This can be used to rebuild libtool when needed
7069
LIBTOOL_DEPS="$ltmain"
7071
# Always use our own libtool.
7072
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7098
test -z "$LN_S" && LN_S="ln -s"
7113
if test -n "${ZSH_VERSION+set}" ; then
7114
setopt NO_GLOB_SUBST
7117
{ $as_echo "$as_me:$LINENO: checking for objdir" >&5
7118
$as_echo_n "checking for objdir... " >&6; }
7119
if test "${lt_cv_objdir+set}" = set; then
7120
$as_echo_n "(cached) " >&6
7122
rm -f .libs 2>/dev/null
7123
mkdir .libs 2>/dev/null
7124
if test -d .libs; then
7127
# MS-DOS does not allow filenames that begin with a dot.
7130
rmdir .libs 2>/dev/null
7132
{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7133
$as_echo "$lt_cv_objdir" >&6; }
7134
objdir=$lt_cv_objdir
7140
cat >>confdefs.h <<_ACEOF
7141
#define LT_OBJDIR "$lt_cv_objdir/"
7162
# AIX sometimes has problems with the GCC collect2 program. For some
7163
# reason, if we set the COLLECT_NAMES environment variable, the problems
7164
# vanish in a puff of smoke.
7165
if test "X${COLLECT_NAMES+set}" != Xset; then
7167
export COLLECT_NAMES
7172
# Sed substitution that helps us do robust quoting. It backslashifies
7173
# metacharacters that are still active within double-quoted strings.
7174
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7176
# Same as above, but do not quote variable references.
7177
double_quote_subst='s/\(["`\\]\)/\\\1/g'
7179
# Sed substitution to delay expansion of an escaped shell variable in a
7180
# double_quote_subst'ed string.
7181
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7183
# Sed substitution to delay expansion of an escaped single quote.
7184
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7186
# Sed substitution to avoid accidental globbing in evaled expressions
7187
no_glob_subst='s/\*/\\\*/g'
7191
can_build_shared=yes
7193
# All known linkers require a `.a' archive for static linking (except MSVC,
7194
# which needs '.lib').
7197
with_gnu_ld="$lt_cv_prog_gnu_ld"
7200
old_CFLAGS="$CFLAGS"
7202
# Set sane defaults for various variables
7203
test -z "$CC" && CC=cc
7204
test -z "$LTCC" && LTCC=$CC
7205
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7206
test -z "$LD" && LD=ld
7207
test -z "$ac_objext" && ac_objext=o
7209
for cc_temp in $compiler""; do
7211
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7212
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7217
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7220
# Only perform the check for file, if the check method requires it
7221
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7222
case $deplibs_check_method in
7224
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7225
{ $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7226
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7227
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7228
$as_echo_n "(cached) " >&6
7232
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7235
lt_save_MAGIC_CMD="$MAGIC_CMD"
7236
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7237
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7238
for ac_dir in $ac_dummy; do
7240
test -z "$ac_dir" && ac_dir=.
7241
if test -f $ac_dir/${ac_tool_prefix}file; then
7242
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7243
if test -n "$file_magic_test_file"; then
7244
case $deplibs_check_method in
7246
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7247
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7248
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7249
$EGREP "$file_magic_regex" > /dev/null; then
7254
*** Warning: the command libtool uses to detect shared libraries,
7255
*** $file_magic_cmd, produces output that libtool cannot recognize.
7256
*** The result is that libtool may fail to recognize shared libraries
7257
*** as such. This will affect the creation of libtool libraries that
7258
*** depend on shared libraries, but programs linked with such libtool
7259
*** libraries will work regardless of this problem. Nevertheless, you
7260
*** may want to report the problem to your system manager and/or to
7261
*** bug-libtool@gnu.org
7271
MAGIC_CMD="$lt_save_MAGIC_CMD"
7276
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7277
if test -n "$MAGIC_CMD"; then
7278
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7279
$as_echo "$MAGIC_CMD" >&6; }
7281
{ $as_echo "$as_me:$LINENO: result: no" >&5
7282
$as_echo "no" >&6; }
7289
if test -z "$lt_cv_path_MAGIC_CMD"; then
7290
if test -n "$ac_tool_prefix"; then
7291
{ $as_echo "$as_me:$LINENO: checking for file" >&5
7292
$as_echo_n "checking for file... " >&6; }
7293
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7294
$as_echo_n "(cached) " >&6
7298
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7301
lt_save_MAGIC_CMD="$MAGIC_CMD"
7302
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7303
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7304
for ac_dir in $ac_dummy; do
7306
test -z "$ac_dir" && ac_dir=.
7307
if test -f $ac_dir/file; then
7308
lt_cv_path_MAGIC_CMD="$ac_dir/file"
7309
if test -n "$file_magic_test_file"; then
7310
case $deplibs_check_method in
7312
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7313
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7314
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7315
$EGREP "$file_magic_regex" > /dev/null; then
7320
*** Warning: the command libtool uses to detect shared libraries,
7321
*** $file_magic_cmd, produces output that libtool cannot recognize.
7322
*** The result is that libtool may fail to recognize shared libraries
7323
*** as such. This will affect the creation of libtool libraries that
7324
*** depend on shared libraries, but programs linked with such libtool
7325
*** libraries will work regardless of this problem. Nevertheless, you
7326
*** may want to report the problem to your system manager and/or to
7327
*** bug-libtool@gnu.org
7337
MAGIC_CMD="$lt_save_MAGIC_CMD"
7342
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7343
if test -n "$MAGIC_CMD"; then
7344
{ $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7345
$as_echo "$MAGIC_CMD" >&6; }
7347
{ $as_echo "$as_me:$LINENO: result: no" >&5
7348
$as_echo "no" >&6; }
7361
# Use C for the default configuration in the libtool script
7365
ac_cpp='$CPP $CPPFLAGS'
7366
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7367
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7368
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7371
# Source file extension for C test sources.
7374
# Object file extension for compiled C test sources.
7378
# Code to be used in simple compile tests
7379
lt_simple_compile_test_code="int some_variable = 0;"
7381
# Code to be used in simple link tests
7382
lt_simple_link_test_code='int main(){return(0);}'
7390
# If no C compiler was specified, use CC.
7393
# If no C compiler flags were specified, use CFLAGS.
7394
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7396
# Allow CC to be a program name with arguments.
7399
# Save the default compiler, since it gets overwritten when the other
7400
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7401
compiler_DEFAULT=$CC
7403
# save warnings/boilerplate of simple test code
7404
ac_outfile=conftest.$ac_objext
7405
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7406
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7407
_lt_compiler_boilerplate=`cat conftest.err`
7410
ac_outfile=conftest.$ac_objext
7411
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7412
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7413
_lt_linker_boilerplate=`cat conftest.err`
7417
if test -n "$compiler"; then
7419
lt_prog_compiler_no_builtin_flag=
7421
if test "$GCC" = yes; then
7422
lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7424
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7425
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7426
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7427
$as_echo_n "(cached) " >&6
7429
lt_cv_prog_compiler_rtti_exceptions=no
7430
ac_outfile=conftest.$ac_objext
7431
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7432
lt_compiler_flag="-fno-rtti -fno-exceptions"
7433
# Insert the option either (1) after the last *FLAGS variable, or
7434
# (2) before a word containing "conftest.", or (3) at the end.
7435
# Note that $ac_compile itself does not contain backslashes and begins
7436
# with a dollar sign (not a hyphen), so the echo should work correctly.
7437
# The option is referenced via a variable to avoid confusing sed.
7438
lt_compile=`echo "$ac_compile" | $SED \
7439
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7440
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7441
-e 's:$: $lt_compiler_flag:'`
7442
(eval echo "\"\$as_me:7442: $lt_compile\"" >&5)
7443
(eval "$lt_compile" 2>conftest.err)
7445
cat conftest.err >&5
7446
echo "$as_me:7446: \$? = $ac_status" >&5
7447
if (exit $ac_status) && test -s "$ac_outfile"; then
7448
# The compiler can only warn and ignore the option if not recognized
7449
# So say no if there are warnings other than the usual output.
7450
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7451
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7452
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7453
lt_cv_prog_compiler_rtti_exceptions=yes
7459
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7460
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7462
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7463
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7475
lt_prog_compiler_wl=
7476
lt_prog_compiler_pic=
7477
lt_prog_compiler_static=
7479
{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7480
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
7482
if test "$GCC" = yes; then
7483
lt_prog_compiler_wl='-Wl,'
7484
lt_prog_compiler_static='-static'
7488
# All AIX code is PIC.
7489
if test "$host_cpu" = ia64; then
7490
# AIX 5 now supports IA64 processor
7491
lt_prog_compiler_static='-Bstatic'
7498
# see comment about AmigaOS4 .so support
7499
lt_prog_compiler_pic='-fPIC'
7502
# FIXME: we need at least 68020 code to build shared libraries, but
7503
# adding the `-m68020' flag to GCC prevents building anything better,
7505
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7510
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7511
# PIC is the default for these OSes.
7514
mingw* | cygwin* | pw32* | os2* | cegcc*)
7515
# This hack is so that the source file can tell whether it is being
7516
# built for inclusion in a dll (and should export symbols for example).
7517
# Although the cygwin gcc ignores -fPIC, still need this for old-style
7518
# (--disable-auto-import) libraries
7519
lt_prog_compiler_pic='-DDLL_EXPORT'
7522
darwin* | rhapsody*)
7523
# PIC is the default on this platform
7524
# Common symbols not allowed in MH_DYLIB files
7525
lt_prog_compiler_pic='-fno-common'
7529
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7530
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7531
# sets the default TLS model and affects inlining.
7537
lt_prog_compiler_pic='-fPIC'
7543
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
7544
# Instead, we relocate shared libraries at runtime.
7548
# Just because we use GCC doesn't mean we suddenly get shared libraries
7549
# on systems that don't support them.
7550
lt_prog_compiler_can_build_shared=no
7555
# QNX uses GNU C++, but need to define -shared option too, otherwise
7557
lt_prog_compiler_pic='-fPIC -shared'
7561
if test -d /usr/nec; then
7562
lt_prog_compiler_pic=-Kconform_pic
7567
lt_prog_compiler_pic='-fPIC'
7571
# PORTME Check for flag to pass linker flags through the system compiler.
7574
lt_prog_compiler_wl='-Wl,'
7575
if test "$host_cpu" = ia64; then
7576
# AIX 5 now supports IA64 processor
7577
lt_prog_compiler_static='-Bstatic'
7579
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7583
mingw* | cygwin* | pw32* | os2* | cegcc*)
7584
# This hack is so that the source file can tell whether it is being
7585
# built for inclusion in a dll (and should export symbols for example).
7586
lt_prog_compiler_pic='-DDLL_EXPORT'
7589
hpux9* | hpux10* | hpux11*)
7590
lt_prog_compiler_wl='-Wl,'
7591
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7598
lt_prog_compiler_pic='+Z'
7601
# Is there a better lt_prog_compiler_static that works with the bundled CC?
7602
lt_prog_compiler_static='${wl}-a ${wl}archive'
7605
irix5* | irix6* | nonstopux*)
7606
lt_prog_compiler_wl='-Wl,'
7607
# PIC (with -KPIC) is the default.
7608
lt_prog_compiler_static='-non_shared'
7611
linux* | k*bsd*-gnu)
7612
case $cc_basename in
7613
# old Intel for x86_64 which still supported -KPIC.
7615
lt_prog_compiler_wl='-Wl,'
7616
lt_prog_compiler_pic='-KPIC'
7617
lt_prog_compiler_static='-static'
7619
# icc used to be incompatible with GCC.
7620
# ICC 10 doesn't accept -KPIC any more.
7622
lt_prog_compiler_wl='-Wl,'
7623
lt_prog_compiler_pic='-fPIC'
7624
lt_prog_compiler_static='-static'
7626
# Lahey Fortran 8.1.
7628
lt_prog_compiler_wl='-Wl,'
7629
lt_prog_compiler_pic='--shared'
7630
lt_prog_compiler_static='--static'
7632
pgcc* | pgf77* | pgf90* | pgf95*)
7633
# Portland Group compilers (*not* the Pentium gcc compiler,
7634
# which looks to be a dead project)
7635
lt_prog_compiler_wl='-Wl,'
7636
lt_prog_compiler_pic='-fpic'
7637
lt_prog_compiler_static='-Bstatic'
7640
lt_prog_compiler_wl='-Wl,'
7641
# All Alpha code is PIC.
7642
lt_prog_compiler_static='-non_shared'
7645
# IBM XL C 8.0/Fortran 10.1 on PPC
7646
lt_prog_compiler_wl='-Wl,'
7647
lt_prog_compiler_pic='-qpic'
7648
lt_prog_compiler_static='-qstaticlink'
7651
case `$CC -V 2>&1 | sed 5q` in
7654
lt_prog_compiler_pic='-KPIC'
7655
lt_prog_compiler_static='-Bstatic'
7656
lt_prog_compiler_wl='-Wl,'
7659
# Sun Fortran 8.3 passes all unrecognized flags to the linker
7660
lt_prog_compiler_pic='-KPIC'
7661
lt_prog_compiler_static='-Bstatic'
7662
lt_prog_compiler_wl=''
7670
lt_prog_compiler_pic='-KPIC'
7671
lt_prog_compiler_static='-Bstatic'
7675
# QNX uses GNU C++, but need to define -shared option too, otherwise
7677
lt_prog_compiler_pic='-fPIC -shared'
7680
osf3* | osf4* | osf5*)
7681
lt_prog_compiler_wl='-Wl,'
7682
# All OSF/1 code is PIC.
7683
lt_prog_compiler_static='-non_shared'
7687
lt_prog_compiler_static='-non_shared'
7691
lt_prog_compiler_pic='-KPIC'
7692
lt_prog_compiler_static='-Bstatic'
7693
case $cc_basename in
7695
lt_prog_compiler_wl='-Qoption ld ';;
7697
lt_prog_compiler_wl='-Wl,';;
7702
lt_prog_compiler_wl='-Qoption ld '
7703
lt_prog_compiler_pic='-PIC'
7704
lt_prog_compiler_static='-Bstatic'
7707
sysv4 | sysv4.2uw2* | sysv4.3*)
7708
lt_prog_compiler_wl='-Wl,'
7709
lt_prog_compiler_pic='-KPIC'
7710
lt_prog_compiler_static='-Bstatic'
7714
if test -d /usr/nec ;then
7715
lt_prog_compiler_pic='-Kconform_pic'
7716
lt_prog_compiler_static='-Bstatic'
7720
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7721
lt_prog_compiler_wl='-Wl,'
7722
lt_prog_compiler_pic='-KPIC'
7723
lt_prog_compiler_static='-Bstatic'
7727
lt_prog_compiler_wl='-Wl,'
7728
lt_prog_compiler_can_build_shared=no
7732
lt_prog_compiler_pic='-pic'
7733
lt_prog_compiler_static='-Bstatic'
7737
lt_prog_compiler_can_build_shared=no
7743
# For platforms which do not support PIC, -DPIC is meaningless:
7745
lt_prog_compiler_pic=
7748
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7751
{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7752
$as_echo "$lt_prog_compiler_pic" >&6; }
7760
# Check to make sure the PIC flag actually works.
7762
if test -n "$lt_prog_compiler_pic"; then
7763
{ $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7764
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
7765
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7766
$as_echo_n "(cached) " >&6
7768
lt_cv_prog_compiler_pic_works=no
7769
ac_outfile=conftest.$ac_objext
7770
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7771
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7772
# Insert the option either (1) after the last *FLAGS variable, or
7773
# (2) before a word containing "conftest.", or (3) at the end.
7774
# Note that $ac_compile itself does not contain backslashes and begins
7775
# with a dollar sign (not a hyphen), so the echo should work correctly.
7776
# The option is referenced via a variable to avoid confusing sed.
7777
lt_compile=`echo "$ac_compile" | $SED \
7778
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7779
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7780
-e 's:$: $lt_compiler_flag:'`
7781
(eval echo "\"\$as_me:7781: $lt_compile\"" >&5)
7782
(eval "$lt_compile" 2>conftest.err)
7784
cat conftest.err >&5
7785
echo "$as_me:7785: \$? = $ac_status" >&5
7786
if (exit $ac_status) && test -s "$ac_outfile"; then
7787
# The compiler can only warn and ignore the option if not recognized
7788
# So say no if there are warnings other than the usual output.
7789
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7790
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7791
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7792
lt_cv_prog_compiler_pic_works=yes
7798
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7799
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
7801
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7802
case $lt_prog_compiler_pic in
7804
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7807
lt_prog_compiler_pic=
7808
lt_prog_compiler_can_build_shared=no
7819
# Check to make sure the static flag actually works.
7821
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7822
{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7823
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
7824
if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7825
$as_echo_n "(cached) " >&6
7827
lt_cv_prog_compiler_static_works=no
7828
save_LDFLAGS="$LDFLAGS"
7829
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7830
echo "$lt_simple_link_test_code" > conftest.$ac_ext
7831
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7832
# The linker can only warn and ignore the option if not recognized
7833
# So say no if there are warnings
7834
if test -s conftest.err; then
7835
# Append any errors to the config.log.
7836
cat conftest.err 1>&5
7837
$ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7838
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7839
if diff conftest.exp conftest.er2 >/dev/null; then
7840
lt_cv_prog_compiler_static_works=yes
7843
lt_cv_prog_compiler_static_works=yes
7847
LDFLAGS="$save_LDFLAGS"
7850
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7851
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
7853
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7856
lt_prog_compiler_static=
7865
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7866
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7867
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7868
$as_echo_n "(cached) " >&6
7870
lt_cv_prog_compiler_c_o=no
7871
$RM -r conftest 2>/dev/null
7875
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7877
lt_compiler_flag="-o out/conftest2.$ac_objext"
7878
# Insert the option either (1) after the last *FLAGS variable, or
7879
# (2) before a word containing "conftest.", or (3) at the end.
7880
# Note that $ac_compile itself does not contain backslashes and begins
7881
# with a dollar sign (not a hyphen), so the echo should work correctly.
7882
lt_compile=`echo "$ac_compile" | $SED \
7883
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7884
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7885
-e 's:$: $lt_compiler_flag:'`
7886
(eval echo "\"\$as_me:7886: $lt_compile\"" >&5)
7887
(eval "$lt_compile" 2>out/conftest.err)
7889
cat out/conftest.err >&5
7890
echo "$as_me:7890: \$? = $ac_status" >&5
7891
if (exit $ac_status) && test -s out/conftest2.$ac_objext
7893
# The compiler can only warn and ignore the option if not recognized
7894
# So say no if there are warnings
7895
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7896
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7897
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7898
lt_cv_prog_compiler_c_o=yes
7903
# SGI C++ compiler will create directory out/ii_files/ for
7904
# template instantiation
7905
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7906
$RM out/* && rmdir out
7912
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7913
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7920
{ $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7921
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
7922
if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7923
$as_echo_n "(cached) " >&6
7925
lt_cv_prog_compiler_c_o=no
7926
$RM -r conftest 2>/dev/null
7930
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7932
lt_compiler_flag="-o out/conftest2.$ac_objext"
7933
# Insert the option either (1) after the last *FLAGS variable, or
7934
# (2) before a word containing "conftest.", or (3) at the end.
7935
# Note that $ac_compile itself does not contain backslashes and begins
7936
# with a dollar sign (not a hyphen), so the echo should work correctly.
7937
lt_compile=`echo "$ac_compile" | $SED \
7938
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7939
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7940
-e 's:$: $lt_compiler_flag:'`
7941
(eval echo "\"\$as_me:7941: $lt_compile\"" >&5)
7942
(eval "$lt_compile" 2>out/conftest.err)
7944
cat out/conftest.err >&5
7945
echo "$as_me:7945: \$? = $ac_status" >&5
7946
if (exit $ac_status) && test -s out/conftest2.$ac_objext
7948
# The compiler can only warn and ignore the option if not recognized
7949
# So say no if there are warnings
7950
$ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7951
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7952
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7953
lt_cv_prog_compiler_c_o=yes
7958
# SGI C++ compiler will create directory out/ii_files/ for
7959
# template instantiation
7960
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7961
$RM out/* && rmdir out
7967
{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7968
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
7973
hard_links="nottested"
7974
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7975
# do not overwrite the value of need_locks provided by the user
7976
{ $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7977
$as_echo_n "checking if we can lock with hard links... " >&6; }
7980
ln conftest.a conftest.b 2>/dev/null && hard_links=no
7982
ln conftest.a conftest.b 2>&5 || hard_links=no
7983
ln conftest.a conftest.b 2>/dev/null && hard_links=no
7984
{ $as_echo "$as_me:$LINENO: result: $hard_links" >&5
7985
$as_echo "$hard_links" >&6; }
7986
if test "$hard_links" = no; then
7987
{ $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7988
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8000
{ $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8001
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8004
allow_undefined_flag=
8005
always_export_symbols=no
8007
archive_expsym_cmds=
8008
compiler_needs_object=no
8009
enable_shared_with_static_runtimes=no
8010
export_dynamic_flag_spec=
8011
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8012
hardcode_automatic=no
8014
hardcode_direct_absolute=no
8015
hardcode_libdir_flag_spec=
8016
hardcode_libdir_flag_spec_ld=
8017
hardcode_libdir_separator=
8019
hardcode_shlibpath_var=unsupported
8021
link_all_deplibs=unknown
8024
old_archive_from_new_cmds=
8025
old_archive_from_expsyms_cmds=
8026
thread_safe_flag_spec=
8027
whole_archive_flag_spec=
8028
# include_expsyms should be a list of space-separated symbols to be *always*
8029
# included in the symbol list
8031
# exclude_expsyms can be an extended regexp of symbols to exclude
8032
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8033
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8034
# as well as any symbol that contains `d'.
8035
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8036
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8037
# platforms (ab)use it in PIC code, but their linkers get confused if
8038
# the symbol is explicitly referenced. Since portable code cannot
8039
# rely on this symbol name, it's probably fine to never include it in
8040
# preloaded symbol tables.
8041
# Exclude shared library initialization/finalization symbols.
8042
extract_expsyms_cmds=
8045
cygwin* | mingw* | pw32* | cegcc*)
8046
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8047
# When not using gcc, we currently assume that we are using
8048
# Microsoft Visual C++.
8049
if test "$GCC" != yes; then
8054
# we just hope/assume this is gcc and not c89 (= MSVC++)
8063
if test "$with_gnu_ld" = yes; then
8064
# If archive_cmds runs LD, not CC, wlarc should be empty
8067
# Set some defaults for GNU ld with shared library support. These
8068
# are reset later if shared libraries are not supported. Putting them
8069
# here allows them to be overridden if necessary.
8070
runpath_var=LD_RUN_PATH
8071
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8072
export_dynamic_flag_spec='${wl}--export-dynamic'
8073
# ancient GNU ld didn't support --whole-archive et. al.
8074
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8075
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8077
whole_archive_flag_spec=
8079
supports_anon_versioning=no
8080
case `$LD -v 2>&1` in
8081
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8082
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8083
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8084
*\ 2.11.*) ;; # other 2.11 versions
8085
*) supports_anon_versioning=yes ;;
8088
# See if GNU ld supports shared libraries.
8091
# On AIX/PPC, the GNU linker is very broken
8092
if test "$host_cpu" != ia64; then
8096
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8097
*** to be unable to reliably create shared libraries on AIX.
8098
*** Therefore, libtool is disabling shared libraries support. If you
8099
*** really care for shared libraries, you may want to modify your PATH
8100
*** so that a non-GNU linker is found, and then restart.
8109
# see comment about AmigaOS4 .so support
8110
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8111
archive_expsym_cmds=''
8114
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)'
8115
hardcode_libdir_flag_spec='-L$libdir'
8116
hardcode_minus_L=yes
8122
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8123
allow_undefined_flag=unsupported
8124
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8125
# support --undefined. This deserves some investigation. FIXME
8126
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8132
cygwin* | mingw* | pw32* | cegcc*)
8133
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8134
# as there is no search path for DLLs.
8135
hardcode_libdir_flag_spec='-L$libdir'
8136
allow_undefined_flag=unsupported
8137
always_export_symbols=no
8138
enable_shared_with_static_runtimes=yes
8139
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8141
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8142
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8143
# If the export-symbols file already is a .def file (1st line
8144
# is EXPORTS), use it as is; otherwise, prepend...
8145
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8146
cp $export_symbols $output_objdir/$soname.def;
8148
echo EXPORTS > $output_objdir/$soname.def;
8149
cat $export_symbols >> $output_objdir/$soname.def;
8151
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8159
hardcode_shlibpath_var=no
8160
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8161
export_dynamic_flag_spec='${wl}-E'
8162
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8163
# Instead, shared libraries are loaded at an image base (0x10000000 by
8164
# default) and relocated if they conflict, which is a slow very memory
8165
# consuming and fragmenting process. To avoid this, we pick a random,
8166
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8167
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
8168
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8169
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'
8172
gnu* | linux* | tpf* | k*bsd*-gnu)
8174
if test "$host_os" = linux-dietlibc; then
8175
case $cc_basename in
8176
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8179
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8180
&& test "$tmp_diet" = no
8183
tmp_sharedflag='-shared'
8184
case $cc_basename,$host_cpu in
8185
pgcc*) # Portland Group C compiler
8186
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'
8187
tmp_addflag=' $pic_flag'
8189
pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8190
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'
8191
tmp_addflag=' $pic_flag -Mnomain' ;;
8192
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8193
tmp_addflag=' -i_dynamic' ;;
8194
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8195
tmp_addflag=' -i_dynamic -nofor_main' ;;
8196
ifc* | ifort*) # Intel Fortran compiler
8197
tmp_addflag=' -nofor_main' ;;
8198
lf95*) # Lahey Fortran 8.1
8199
whole_archive_flag_spec=
8200
tmp_sharedflag='--shared' ;;
8201
xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8202
tmp_sharedflag='-qmkshrobj'
8205
case `$CC -V 2>&1 | sed 5q` in
8206
*Sun\ C*) # Sun C 5.9
8207
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'
8208
compiler_needs_object=yes
8209
tmp_sharedflag='-G' ;;
8210
*Sun\ F*) # Sun Fortran 8.3
8211
tmp_sharedflag='-G' ;;
8213
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8215
if test "x$supports_anon_versioning" = xyes; then
8216
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8217
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8218
echo "local: *; };" >> $output_objdir/$libname.ver~
8219
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8222
case $cc_basename in
8224
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8225
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8226
hardcode_libdir_flag_spec=
8227
hardcode_libdir_flag_spec_ld='-rpath $libdir'
8228
archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8229
if test "x$supports_anon_versioning" = xyes; then
8230
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8231
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8232
echo "local: *; };" >> $output_objdir/$libname.ver~
8233
$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8242
netbsd* | netbsdelf*-gnu)
8243
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8244
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8247
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8248
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8253
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8257
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8258
*** create shared libraries on Solaris systems. Therefore, libtool
8259
*** is disabling shared libraries support. We urge you to upgrade GNU
8260
*** binutils to release 2.9.1 or newer. Another option is to modify
8261
*** your PATH or compiler configuration so that the native linker is
8262
*** used, and then restart.
8265
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8266
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8267
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8273
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8274
case `$LD -v 2>&1` in
8275
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8279
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8280
*** reliably create shared libraries on SCO systems. Therefore, libtool
8281
*** is disabling shared libraries support. We urge you to upgrade GNU
8282
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8283
*** your PATH or compiler configuration so that the native linker is
8284
*** used, and then restart.
8289
# For security reasons, it is highly recommended that you always
8290
# use absolute paths for naming shared libraries, and exclude the
8291
# DT_RUNPATH tag from executables and libraries. But doing so
8292
# requires that you compile everything twice, which is a pain.
8293
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8294
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8295
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8296
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8305
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8308
hardcode_shlibpath_var=no
8312
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8313
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8314
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8321
if test "$ld_shlibs" = no; then
8323
hardcode_libdir_flag_spec=
8324
export_dynamic_flag_spec=
8325
whole_archive_flag_spec=
8328
# PORTME fill in a description of your system's linker (not GNU ld)
8331
allow_undefined_flag=unsupported
8332
always_export_symbols=yes
8333
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'
8334
# Note: this linker hardcodes the directories in LIBPATH if there
8335
# are no directories specified by -L.
8336
hardcode_minus_L=yes
8337
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8338
# Neither direct hardcoding nor static linking is supported with a
8340
hardcode_direct=unsupported
8345
if test "$host_cpu" = ia64; then
8346
# On IA64, the linker does run time linking by default, so we don't
8347
# have to do anything special.
8348
aix_use_runtimelinking=no
8349
exp_sym_flag='-Bexport'
8352
# If we're using GNU nm, then we don't want the "-C" option.
8353
# -C means demangle to AIX nm, but means don't demangle with GNU nm
8354
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8355
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'
8357
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'
8359
aix_use_runtimelinking=no
8361
# Test if we are trying to use run time linking or normal
8362
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8363
# need to do runtime linking.
8364
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8365
for ld_flag in $LDFLAGS; do
8366
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8367
aix_use_runtimelinking=yes
8374
exp_sym_flag='-bexport'
8375
no_entry_flag='-bnoentry'
8378
# When large executables or shared objects are built, AIX ld can
8379
# have problems creating the table of contents. If linking a library
8380
# or program results in "error TOC overflow" add -mminimal-toc to
8381
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8382
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8386
hardcode_direct_absolute=yes
8387
hardcode_libdir_separator=':'
8388
link_all_deplibs=yes
8389
file_list_spec='${wl}-f,'
8391
if test "$GCC" = yes; then
8392
case $host_os in aix4.[012]|aix4.[012].*)
8393
# We only want to do this on AIX 4.2 and lower, the check
8394
# below for broken collect2 doesn't work under 4.3+
8395
collect2name=`${CC} -print-prog-name=collect2`
8396
if test -f "$collect2name" &&
8397
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8399
# We have reworked collect2
8402
# We have old collect2
8403
hardcode_direct=unsupported
8404
# It fails to find uninstalled libraries when the uninstalled
8405
# path is not listed in the libpath. Setting hardcode_minus_L
8406
# to unsupported forces relinking
8407
hardcode_minus_L=yes
8408
hardcode_libdir_flag_spec='-L$libdir'
8409
hardcode_libdir_separator=
8413
shared_flag='-shared'
8414
if test "$aix_use_runtimelinking" = yes; then
8415
shared_flag="$shared_flag "'${wl}-G'
8420
if test "$host_cpu" = ia64; then
8421
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8422
# chokes on -Wl,-G. The following line is correct:
8425
if test "$aix_use_runtimelinking" = yes; then
8426
shared_flag='${wl}-G'
8428
shared_flag='${wl}-bM:SRE'
8433
export_dynamic_flag_spec='${wl}-bexpall'
8434
# It seems that -bexpall does not export symbols beginning with
8435
# underscore (_), so it is better to generate a list of symbols to export.
8436
always_export_symbols=yes
8437
if test "$aix_use_runtimelinking" = yes; then
8438
# Warning - without using the other runtime loading flags (-brtl),
8439
# -berok will link without error, but may produce a broken library.
8440
allow_undefined_flag='-berok'
8441
# Determine the default libpath from the value encoded in an
8443
cat >conftest.$ac_ext <<_ACEOF
8446
cat confdefs.h >>conftest.$ac_ext
8447
cat >>conftest.$ac_ext <<_ACEOF
8448
/* end confdefs.h. */
8458
rm -f conftest.$ac_objext conftest$ac_exeext
8459
if { (ac_try="$ac_link"
8461
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8462
*) ac_try_echo=$ac_try;;
8464
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8465
$as_echo "$ac_try_echo") >&5
8466
(eval "$ac_link") 2>conftest.er1
8468
grep -v '^ *+' conftest.er1 >conftest.err
8470
cat conftest.err >&5
8471
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472
(exit $ac_status); } && {
8473
test -z "$ac_c_werror_flag" ||
8474
test ! -s conftest.err
8475
} && test -s conftest$ac_exeext && {
8476
test "$cross_compiling" = yes ||
8477
$as_test_x conftest$ac_exeext
8480
lt_aix_libpath_sed='
8481
/Import File Strings/,/^$/ {
8487
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8488
# Check for a 64-bit object if we didn't find anything.
8489
if test -z "$aix_libpath"; then
8490
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8493
$as_echo "$as_me: failed program was:" >&5
8494
sed 's/^/| /' conftest.$ac_ext >&5
8499
rm -rf conftest.dSYM
8500
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8501
conftest$ac_exeext conftest.$ac_ext
8502
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8504
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8505
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"
8507
if test "$host_cpu" = ia64; then
8508
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8509
allow_undefined_flag="-z nodefs"
8510
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"
8512
# Determine the default libpath from the value encoded in an
8514
cat >conftest.$ac_ext <<_ACEOF
8517
cat confdefs.h >>conftest.$ac_ext
8518
cat >>conftest.$ac_ext <<_ACEOF
8519
/* end confdefs.h. */
8529
rm -f conftest.$ac_objext conftest$ac_exeext
8530
if { (ac_try="$ac_link"
8532
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8533
*) ac_try_echo=$ac_try;;
8535
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8536
$as_echo "$ac_try_echo") >&5
8537
(eval "$ac_link") 2>conftest.er1
8539
grep -v '^ *+' conftest.er1 >conftest.err
8541
cat conftest.err >&5
8542
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8543
(exit $ac_status); } && {
8544
test -z "$ac_c_werror_flag" ||
8545
test ! -s conftest.err
8546
} && test -s conftest$ac_exeext && {
8547
test "$cross_compiling" = yes ||
8548
$as_test_x conftest$ac_exeext
8551
lt_aix_libpath_sed='
8552
/Import File Strings/,/^$/ {
8558
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8559
# Check for a 64-bit object if we didn't find anything.
8560
if test -z "$aix_libpath"; then
8561
aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8564
$as_echo "$as_me: failed program was:" >&5
8565
sed 's/^/| /' conftest.$ac_ext >&5
8570
rm -rf conftest.dSYM
8571
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8572
conftest$ac_exeext conftest.$ac_ext
8573
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8575
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8576
# Warning - without using the other run time loading flags,
8577
# -berok will link without error, but may produce a broken library.
8578
no_undefined_flag=' ${wl}-bernotok'
8579
allow_undefined_flag=' ${wl}-berok'
8580
# Exported symbols can be pulled into shared objects from archives
8581
whole_archive_flag_spec='$convenience'
8582
archive_cmds_need_lc=yes
8583
# This is similar to how AIX traditionally builds its shared libraries.
8584
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'
8592
# see comment about AmigaOS4 .so support
8593
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8594
archive_expsym_cmds=''
8597
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)'
8598
hardcode_libdir_flag_spec='-L$libdir'
8599
hardcode_minus_L=yes
8605
export_dynamic_flag_spec=-rdynamic
8608
cygwin* | mingw* | pw32* | cegcc*)
8609
# When not using gcc, we currently assume that we are using
8610
# Microsoft Visual C++.
8611
# hardcode_libdir_flag_spec is actually meaningless, as there is
8612
# no search path for DLLs.
8613
hardcode_libdir_flag_spec=' '
8614
allow_undefined_flag=unsupported
8615
# Tell ltmain to make .lib files, not .a files.
8617
# Tell ltmain to make .dll files, not .so files.
8619
# FIXME: Setting linknames here is a bad hack.
8620
archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8621
# The linker will automatically build a .lib file if we build a DLL.
8622
old_archive_from_new_cmds='true'
8623
# FIXME: Should let the user specify the lib program.
8624
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8625
fix_srcfile_path='`cygpath -w "$srcfile"`'
8626
enable_shared_with_static_runtimes=yes
8629
darwin* | rhapsody*)
8632
archive_cmds_need_lc=no
8634
hardcode_automatic=yes
8635
hardcode_shlibpath_var=unsupported
8636
whole_archive_flag_spec=''
8637
link_all_deplibs=yes
8638
allow_undefined_flag="$_lt_dar_allow_undefined"
8639
case $cc_basename in
8640
ifort*) _lt_dar_can_shared=yes ;;
8641
*) _lt_dar_can_shared=$GCC ;;
8643
if test "$_lt_dar_can_shared" = "yes"; then
8644
output_verbose_link_cmd=echo
8645
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8646
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8647
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}"
8648
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}"
8657
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8658
hardcode_libdir_flag_spec='-L$libdir'
8659
hardcode_shlibpath_var=no
8666
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8667
# support. Future versions do this automatically, but an explicit c++rt0.o
8668
# does not break anything, and helps significantly (at the cost of a little
8671
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8672
hardcode_libdir_flag_spec='-R$libdir'
8674
hardcode_shlibpath_var=no
8677
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
8679
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8681
hardcode_minus_L=yes
8682
hardcode_shlibpath_var=no
8685
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8686
freebsd* | dragonfly*)
8687
archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8688
hardcode_libdir_flag_spec='-R$libdir'
8690
hardcode_shlibpath_var=no
8694
if test "$GCC" = yes; then
8695
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'
8697
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'
8699
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8700
hardcode_libdir_separator=:
8703
# hardcode_minus_L: Not really in the search PATH,
8704
# but as the default location of the library.
8705
hardcode_minus_L=yes
8706
export_dynamic_flag_spec='${wl}-E'
8710
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8711
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8713
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8715
if test "$with_gnu_ld" = no; then
8716
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8717
hardcode_libdir_flag_spec_ld='+b $libdir'
8718
hardcode_libdir_separator=:
8720
hardcode_direct_absolute=yes
8721
export_dynamic_flag_spec='${wl}-E'
8722
# hardcode_minus_L: Not really in the search PATH,
8723
# but as the default location of the library.
8724
hardcode_minus_L=yes
8729
if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8732
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8735
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8738
archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8744
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8747
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8750
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8754
if test "$with_gnu_ld" = no; then
8755
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8756
hardcode_libdir_separator=:
8761
hardcode_shlibpath_var=no
8765
hardcode_direct_absolute=yes
8766
export_dynamic_flag_spec='${wl}-E'
8768
# hardcode_minus_L: Not really in the search PATH,
8769
# but as the default location of the library.
8770
hardcode_minus_L=yes
8776
irix5* | irix6* | nonstopux*)
8777
if test "$GCC" = yes; then
8778
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'
8779
# Try to use the -exported_symbol ld option, if it does not
8780
# work, assume that -exports_file does not work either and
8781
# implicitly export all symbols.
8782
save_LDFLAGS="$LDFLAGS"
8783
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8784
cat >conftest.$ac_ext <<_ACEOF
8787
rm -f conftest.$ac_objext conftest$ac_exeext
8788
if { (ac_try="$ac_link"
8790
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8791
*) ac_try_echo=$ac_try;;
8793
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8794
$as_echo "$ac_try_echo") >&5
8795
(eval "$ac_link") 2>conftest.er1
8797
grep -v '^ *+' conftest.er1 >conftest.err
8799
cat conftest.err >&5
8800
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801
(exit $ac_status); } && {
8802
test -z "$ac_c_werror_flag" ||
8803
test ! -s conftest.err
8804
} && test -s conftest$ac_exeext && {
8805
test "$cross_compiling" = yes ||
8806
$as_test_x conftest$ac_exeext
8808
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'
8811
$as_echo "$as_me: failed program was:" >&5
8812
sed 's/^/| /' conftest.$ac_ext >&5
8817
rm -rf conftest.dSYM
8818
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8819
conftest$ac_exeext conftest.$ac_ext
8820
LDFLAGS="$save_LDFLAGS"
8822
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'
8823
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'
8825
archive_cmds_need_lc='no'
8826
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8827
hardcode_libdir_separator=:
8829
link_all_deplibs=yes
8832
netbsd* | netbsdelf*-gnu)
8833
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8834
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8836
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8838
hardcode_libdir_flag_spec='-R$libdir'
8840
hardcode_shlibpath_var=no
8844
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8846
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8847
hardcode_libdir_separator=:
8848
hardcode_shlibpath_var=no
8855
if test -f /usr/libexec/ld.so; then
8857
hardcode_shlibpath_var=no
8858
hardcode_direct_absolute=yes
8859
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8860
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8861
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8862
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8863
export_dynamic_flag_spec='${wl}-E'
8866
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8867
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8868
hardcode_libdir_flag_spec='-R$libdir'
8871
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8872
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8882
hardcode_libdir_flag_spec='-L$libdir'
8883
hardcode_minus_L=yes
8884
allow_undefined_flag=unsupported
8885
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'
8886
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8890
if test "$GCC" = yes; then
8891
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8892
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'
8894
allow_undefined_flag=' -expect_unresolved \*'
8895
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'
8897
archive_cmds_need_lc='no'
8898
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8899
hardcode_libdir_separator=:
8902
osf4* | osf5*) # as osf3* with the addition of -msym flag
8903
if test "$GCC" = yes; then
8904
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8905
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'
8906
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8908
allow_undefined_flag=' -expect_unresolved \*'
8909
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'
8910
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~
8911
$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'
8913
# Both c and cxx compiler support -rpath directly
8914
hardcode_libdir_flag_spec='-rpath $libdir'
8916
archive_cmds_need_lc='no'
8917
hardcode_libdir_separator=:
8921
no_undefined_flag=' -z defs'
8922
if test "$GCC" = yes; then
8924
archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8925
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8926
$CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8928
case `$CC -V 2>&1` in
8931
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8932
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8933
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8937
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8938
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8939
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8943
hardcode_libdir_flag_spec='-R$libdir'
8944
hardcode_shlibpath_var=no
8946
solaris2.[0-5] | solaris2.[0-5].*) ;;
8948
# The compiler driver will combine and reorder linker options,
8949
# but understands `-z linker_flag'. GCC discards it without `$wl',
8950
# but is careful enough not to reorder.
8951
# Supported since Solaris 2.6 (maybe 2.5.1?)
8952
if test "$GCC" = yes; then
8953
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8955
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8959
link_all_deplibs=yes
8963
if test "x$host_vendor" = xsequent; then
8964
# Use $CC to link under sequent, because it throws in some extra .o
8965
# files that make .init and .fini sections work.
8966
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8968
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8970
hardcode_libdir_flag_spec='-L$libdir'
8972
hardcode_minus_L=yes
8973
hardcode_shlibpath_var=no
8977
case $host_vendor in
8979
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8980
hardcode_direct=yes # is this really true???
8983
## LD is ld it makes a PLAMLIB
8984
## CC just makes a GrossModule.
8985
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8986
reload_cmds='$CC -r -o $output$reload_objs'
8990
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8991
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8994
runpath_var='LD_RUN_PATH'
8995
hardcode_shlibpath_var=no
8999
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9000
hardcode_shlibpath_var=no
9001
export_dynamic_flag_spec='-Bexport'
9005
if test -d /usr/nec; then
9006
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9007
hardcode_shlibpath_var=no
9008
runpath_var=LD_RUN_PATH
9009
hardcode_runpath_var=yes
9014
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9015
no_undefined_flag='${wl}-z,text'
9016
archive_cmds_need_lc=no
9017
hardcode_shlibpath_var=no
9018
runpath_var='LD_RUN_PATH'
9020
if test "$GCC" = yes; then
9021
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9022
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9024
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9025
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9029
sysv5* | sco3.2v5* | sco5v6*)
9030
# Note: We can NOT use -z defs as we might desire, because we do not
9031
# link with -lc, and that would cause any symbols used from libc to
9032
# always be unresolved, which means just about no library would
9033
# ever link correctly. If we're not using GNU ld we use -z text
9034
# though, which does catch some bad symbols but isn't as heavy-handed
9036
no_undefined_flag='${wl}-z,text'
9037
allow_undefined_flag='${wl}-z,nodefs'
9038
archive_cmds_need_lc=no
9039
hardcode_shlibpath_var=no
9040
hardcode_libdir_flag_spec='${wl}-R,$libdir'
9041
hardcode_libdir_separator=':'
9042
link_all_deplibs=yes
9043
export_dynamic_flag_spec='${wl}-Bexport'
9044
runpath_var='LD_RUN_PATH'
9046
if test "$GCC" = yes; then
9047
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9048
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9050
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9051
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9056
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9057
hardcode_libdir_flag_spec='-L$libdir'
9058
hardcode_shlibpath_var=no
9066
if test x$host_vendor = xsni; then
9068
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9069
export_dynamic_flag_spec='${wl}-Blargedynsym'
9075
{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9076
$as_echo "$ld_shlibs" >&6; }
9077
test "$ld_shlibs" = no && can_build_shared=no
9079
with_gnu_ld=$with_gnu_ld
9096
# Do we need to explicitly link libc?
9098
case "x$archive_cmds_need_lc" in
9100
# Assume -lc should be added
9101
archive_cmds_need_lc=yes
9103
if test "$enable_shared" = yes && test "$GCC" = yes; then
9104
case $archive_cmds in
9106
# FIXME: we may have to deal with multi-command sequences.
9109
# Test whether the compiler implicitly links with -lc since on some
9110
# systems, -lgcc has to come before -lc. If gcc already passes -lc
9111
# to ld, don't add -lc before -lgcc.
9112
{ $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9113
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9115
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9117
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9118
(eval $ac_compile) 2>&5
9120
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9121
(exit $ac_status); } 2>conftest.err; then
9124
libobjs=conftest.$ac_objext
9126
wl=$lt_prog_compiler_wl
9127
pic_flag=$lt_prog_compiler_pic
9133
lt_save_allow_undefined_flag=$allow_undefined_flag
9134
allow_undefined_flag=
9135
if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9136
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9138
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9139
(exit $ac_status); }
9141
archive_cmds_need_lc=no
9143
archive_cmds_need_lc=yes
9145
allow_undefined_flag=$lt_save_allow_undefined_flag
9147
cat conftest.err 1>&5
9150
{ $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9151
$as_echo "$archive_cmds_need_lc" >&6; }
9314
{ $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9315
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9317
if test "$GCC" = yes; then
9319
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9320
*) lt_awk_arg="/^libraries:/" ;;
9322
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9323
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9324
# if the path contains ";" then we assume it to be the separator
9325
# otherwise default to the standard path separator (i.e. ":") - it is
9326
# assumed that no part of a normal pathname contains ";" but that should
9327
# okay in the real world where ";" in dirpaths is itself problematic.
9328
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9330
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9332
# Ok, now we have the path, separated by spaces, we can step through it
9333
# and add multilib dir if necessary.
9334
lt_tmp_lt_search_path_spec=
9335
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9336
for lt_sys_path in $lt_search_path_spec; do
9337
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9338
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9340
test -d "$lt_sys_path" && \
9341
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9344
lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9345
BEGIN {RS=" "; FS="/|\n";} {
9348
for (lt_i = NF; lt_i > 0; lt_i--) {
9349
if ($lt_i != "" && $lt_i != ".") {
9350
if ($lt_i == "..") {
9353
if (lt_count == 0) {
9354
lt_foo="/" $lt_i lt_foo;
9361
if (lt_foo != "") { lt_freq[lt_foo]++; }
9362
if (lt_freq[lt_foo] == 1) { print lt_foo; }
9364
sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9366
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9369
libname_spec='lib$name'
9377
shlibpath_overrides_runpath=unknown
9379
dynamic_linker="$host_os ld.so"
9380
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9381
need_lib_prefix=unknown
9382
hardcode_into_libs=no
9384
# when you set need_version to no, make sure it does not cause -set_version
9385
# flags to be left without arguments
9386
need_version=unknown
9391
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9392
shlibpath_var=LIBPATH
9394
# AIX 3 has no versioning support, so we append a major version to the name.
9395
soname_spec='${libname}${release}${shared_ext}$major'
9402
hardcode_into_libs=yes
9403
if test "$host_cpu" = ia64; then
9404
# AIX 5 supports IA64
9405
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9406
shlibpath_var=LD_LIBRARY_PATH
9408
# With GCC up to 2.95.x, collect2 would create an import file
9409
# for dependence libraries. The import file would start with
9410
# the line `#! .'. This would cause the generated library to
9411
# depend on `.', always an invalid library. This was fixed in
9412
# development snapshots of GCC prior to 3.0.
9414
aix4 | aix4.[01] | aix4.[01].*)
9415
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9417
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9424
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9425
# soname into executable. Probably we can add versioning support to
9426
# collect2, so additional links can be useful in future.
9427
if test "$aix_use_runtimelinking" = yes; then
9428
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
9429
# instead of lib<name>.a to let people know that these are not
9430
# typical AIX shared libraries.
9431
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9433
# We preserve .a as extension for shared libraries through AIX4.2
9434
# and later when we are not doing run time linking.
9435
library_names_spec='${libname}${release}.a $libname.a'
9436
soname_spec='${libname}${release}${shared_ext}$major'
9438
shlibpath_var=LIBPATH
9445
# Since July 2007 AmigaOS4 officially supports .so libraries.
9446
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9447
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9450
library_names_spec='$libname.ixlibrary $libname.a'
9451
# Create ${libname}_ixlibrary.a entries in /sys/libs.
9452
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'
9458
library_names_spec='${libname}${shared_ext}'
9459
dynamic_linker="$host_os ld.so"
9460
shlibpath_var=LIBRARY_PATH
9466
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9467
soname_spec='${libname}${release}${shared_ext}$major'
9468
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9469
shlibpath_var=LD_LIBRARY_PATH
9470
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9471
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9472
# the default ld.so.conf also contains /usr/contrib/lib and
9473
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9474
# libtool to hard-code these into programs
9477
cygwin* | mingw* | pw32* | cegcc*)
9478
version_type=windows
9483
case $GCC,$host_os in
9484
yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9485
library_names_spec='$libname.dll.a'
9486
# DLL is installed to $(libdir)/../bin by postinstall_cmds
9487
postinstall_cmds='base_file=`basename \${file}`~
9488
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9489
dldir=$destdir/`dirname \$dlpath`~
9490
test -d \$dldir || mkdir -p \$dldir~
9491
$install_prog $dir/$dlname \$dldir/$dlname~
9492
chmod a+x \$dldir/$dlname~
9493
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9494
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9496
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9497
dlpath=$dir/\$dldll~
9499
shlibpath_overrides_runpath=yes
9503
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
9504
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9505
sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9508
# MinGW DLLs use traditional 'lib' prefix
9509
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9510
sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9511
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9512
# It is most probably a Windows format PATH printed by
9513
# mingw gcc, but we are running on Cygwin. Gcc prints its search
9514
# path with ; separators, and with drive letters. We can handle the
9515
# drive letters (cygwin fileutils understands them), so leave them,
9516
# especially as we might pass files found there to a mingw objdump,
9517
# which wouldn't understand a cygwinified path. Ahh.
9518
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9520
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9524
# pw32 DLLs use 'pw' prefix rather than 'lib'
9525
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9531
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9534
dynamic_linker='Win32 ld.exe'
9535
# FIXME: first we should search . and the directory the executable is in
9539
darwin* | rhapsody*)
9540
dynamic_linker="$host_os dyld"
9544
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9545
soname_spec='${libname}${release}${major}$shared_ext'
9546
shlibpath_overrides_runpath=yes
9547
shlibpath_var=DYLD_LIBRARY_PATH
9548
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9550
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9551
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9558
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9559
soname_spec='${libname}${release}${shared_ext}$major'
9560
shlibpath_var=LD_LIBRARY_PATH
9567
freebsd* | dragonfly*)
9568
# DragonFly does not have aout. When/if they implement a new
9569
# versioning mechanism, adjust this.
9570
if test -x /usr/bin/objformat; then
9571
objformat=`/usr/bin/objformat`
9574
freebsd[123]*) objformat=aout ;;
9578
version_type=freebsd-$objformat
9579
case $version_type in
9581
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9586
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9590
shlibpath_var=LD_LIBRARY_PATH
9593
shlibpath_overrides_runpath=yes
9595
freebsd3.[01]* | freebsdelf3.[01]*)
9596
shlibpath_overrides_runpath=yes
9597
hardcode_into_libs=yes
9599
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9600
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9601
shlibpath_overrides_runpath=no
9602
hardcode_into_libs=yes
9604
*) # from 4.6 on, and DragonFly
9605
shlibpath_overrides_runpath=yes
9606
hardcode_into_libs=yes
9615
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9616
soname_spec='${libname}${release}${shared_ext}$major'
9617
shlibpath_var=LD_LIBRARY_PATH
9618
hardcode_into_libs=yes
9621
hpux9* | hpux10* | hpux11*)
9622
# Give a soname corresponding to the major version so that dld.sl refuses to
9623
# link against other versions.
9630
hardcode_into_libs=yes
9631
dynamic_linker="$host_os dld.so"
9632
shlibpath_var=LD_LIBRARY_PATH
9633
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9634
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9635
soname_spec='${libname}${release}${shared_ext}$major'
9636
if test "X$HPUX_IA64_MODE" = X32; then
9637
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9639
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9641
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9645
hardcode_into_libs=yes
9646
dynamic_linker="$host_os dld.sl"
9647
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9648
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9649
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9650
soname_spec='${libname}${release}${shared_ext}$major'
9651
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9652
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9656
dynamic_linker="$host_os dld.sl"
9657
shlibpath_var=SHLIB_PATH
9658
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9659
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9660
soname_spec='${libname}${release}${shared_ext}$major'
9663
# HP-UX runs *really* slowly unless shared libraries are mode 555.
9664
postinstall_cmds='chmod 555 $lib'
9671
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9672
soname_spec='${libname}${release}${shared_ext}$major'
9673
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9674
shlibpath_var=LD_LIBRARY_PATH
9675
shlibpath_overrides_runpath=no
9676
hardcode_into_libs=yes
9679
irix5* | irix6* | nonstopux*)
9681
nonstopux*) version_type=nonstopux ;;
9683
if test "$lt_cv_prog_gnu_ld" = yes; then
9691
soname_spec='${libname}${release}${shared_ext}$major'
9692
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9694
irix5* | nonstopux*)
9698
case $LD in # libtool.m4 will add one of these switches to LD
9699
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9700
libsuff= shlibsuff= libmagic=32-bit;;
9701
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9702
libsuff=32 shlibsuff=N32 libmagic=N32;;
9703
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9704
libsuff=64 shlibsuff=64 libmagic=64-bit;;
9705
*) libsuff= shlibsuff= libmagic=never-match;;
9709
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9710
shlibpath_overrides_runpath=no
9711
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9712
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9713
hardcode_into_libs=yes
9716
# No shared lib support for Linux oldld, aout, or coff.
9717
linux*oldld* | linux*aout* | linux*coff*)
9721
# This must be Linux ELF.
9722
linux* | k*bsd*-gnu)
9726
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9727
soname_spec='${libname}${release}${shared_ext}$major'
9728
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9729
shlibpath_var=LD_LIBRARY_PATH
9730
shlibpath_overrides_runpath=no
9731
# Some binutils ld are patched to set DT_RUNPATH
9732
save_LDFLAGS=$LDFLAGS
9734
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9735
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9736
cat >conftest.$ac_ext <<_ACEOF
9739
cat confdefs.h >>conftest.$ac_ext
9740
cat >>conftest.$ac_ext <<_ACEOF
9741
/* end confdefs.h. */
9751
rm -f conftest.$ac_objext conftest$ac_exeext
9752
if { (ac_try="$ac_link"
9754
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9755
*) ac_try_echo=$ac_try;;
9757
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9758
$as_echo "$ac_try_echo") >&5
9759
(eval "$ac_link") 2>conftest.er1
9761
grep -v '^ *+' conftest.er1 >conftest.err
9763
cat conftest.err >&5
9764
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9765
(exit $ac_status); } && {
9766
test -z "$ac_c_werror_flag" ||
9767
test ! -s conftest.err
9768
} && test -s conftest$ac_exeext && {
9769
test "$cross_compiling" = yes ||
9770
$as_test_x conftest$ac_exeext
9772
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9773
shlibpath_overrides_runpath=yes
9777
$as_echo "$as_me: failed program was:" >&5
9778
sed 's/^/| /' conftest.$ac_ext >&5
9783
rm -rf conftest.dSYM
9784
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9785
conftest$ac_exeext conftest.$ac_ext
9786
LDFLAGS=$save_LDFLAGS
9789
# This implies no fast_install, which is unacceptable.
9790
# Some rework will be needed to allow for fast_install
9791
# before this can be enabled.
9792
hardcode_into_libs=yes
9794
# Append ld.so.conf contents to the search path
9795
if test -f /etc/ld.so.conf; then
9796
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' ' '`
9797
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9800
# We used to test for /lib/ld.so.1 and disable shared libraries on
9801
# powerpc, because MkLinux only supported shared libraries with the
9802
# GNU dynamic linker. Since this was broken with cross compilers,
9803
# most powerpc-linux boxes support dynamic linking these days and
9804
# people can always --disable-shared, the test was removed, and we
9805
# assume the GNU/Linux dynamic linker is in use.
9806
dynamic_linker='GNU/Linux ld.so'
9813
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9814
soname_spec='${libname}${release}${shared_ext}$major'
9815
shlibpath_var=LD_LIBRARY_PATH
9816
shlibpath_overrides_runpath=no
9817
hardcode_into_libs=yes
9818
dynamic_linker='NetBSD ld.elf_so'
9825
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9826
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9827
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9828
dynamic_linker='NetBSD (a.out) ld.so'
9830
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9831
soname_spec='${libname}${release}${shared_ext}$major'
9832
dynamic_linker='NetBSD ld.elf_so'
9834
shlibpath_var=LD_LIBRARY_PATH
9835
shlibpath_overrides_runpath=yes
9836
hardcode_into_libs=yes
9841
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9842
shlibpath_var=LD_LIBRARY_PATH
9843
shlibpath_overrides_runpath=yes
9850
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9851
soname_spec='${libname}${release}${shared_ext}$major'
9852
shlibpath_var=LD_LIBRARY_PATH
9853
shlibpath_overrides_runpath=no
9854
hardcode_into_libs=yes
9855
dynamic_linker='ldqnx.so'
9860
sys_lib_dlsearch_path_spec="/usr/lib"
9862
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9864
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9865
*) need_version=no ;;
9867
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9868
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9869
shlibpath_var=LD_LIBRARY_PATH
9870
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9872
openbsd2.[89] | openbsd2.[89].*)
9873
shlibpath_overrides_runpath=no
9876
shlibpath_overrides_runpath=yes
9880
shlibpath_overrides_runpath=yes
9885
libname_spec='$name'
9888
library_names_spec='$libname${shared_ext} $libname.a'
9889
dynamic_linker='OS/2 ld.exe'
9890
shlibpath_var=LIBPATH
9893
osf3* | osf4* | osf5*)
9897
soname_spec='${libname}${release}${shared_ext}$major'
9898
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9899
shlibpath_var=LD_LIBRARY_PATH
9900
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9901
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9912
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9913
soname_spec='${libname}${release}${shared_ext}$major'
9914
shlibpath_var=LD_LIBRARY_PATH
9915
shlibpath_overrides_runpath=yes
9916
hardcode_into_libs=yes
9917
# ldd complains unless libraries are executable
9918
postinstall_cmds='chmod +x $lib'
9923
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9924
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9925
shlibpath_var=LD_LIBRARY_PATH
9926
shlibpath_overrides_runpath=yes
9927
if test "$with_gnu_ld" = yes; then
9935
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9936
soname_spec='${libname}${release}${shared_ext}$major'
9937
shlibpath_var=LD_LIBRARY_PATH
9938
case $host_vendor in
9940
shlibpath_overrides_runpath=no
9942
runpath_var=LD_RUN_PATH
9950
shlibpath_overrides_runpath=no
9951
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9957
if test -d /usr/nec ;then
9959
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9960
soname_spec='$libname${shared_ext}.$major'
9961
shlibpath_var=LD_LIBRARY_PATH
9965
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9966
version_type=freebsd-elf
9969
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9970
soname_spec='${libname}${release}${shared_ext}$major'
9971
shlibpath_var=LD_LIBRARY_PATH
9972
shlibpath_overrides_runpath=yes
9973
hardcode_into_libs=yes
9974
if test "$with_gnu_ld" = yes; then
9975
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9977
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9980
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9984
sys_lib_dlsearch_path_spec='/usr/lib'
9988
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9992
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9993
shlibpath_var=LD_LIBRARY_PATH
9994
shlibpath_overrides_runpath=no
9995
hardcode_into_libs=yes
10000
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10001
soname_spec='${libname}${release}${shared_ext}$major'
10002
shlibpath_var=LD_LIBRARY_PATH
10009
{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10010
$as_echo "$dynamic_linker" >&6; }
10011
test "$dynamic_linker" = no && can_build_shared=no
10013
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10014
if test "$GCC" = yes; then
10015
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10018
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10019
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10021
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10022
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10111
{ $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10112
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10114
if test -n "$hardcode_libdir_flag_spec" ||
10115
test -n "$runpath_var" ||
10116
test "X$hardcode_automatic" = "Xyes" ; then
10118
# We can hardcode non-existent directories.
10119
if test "$hardcode_direct" != no &&
10120
# If the only mechanism to avoid hardcoding is shlibpath_var, we
10121
# have to relink, otherwise we might link with an installed library
10122
# when we should be linking with a yet-to-be-installed one
10123
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10124
test "$hardcode_minus_L" != no; then
10125
# Linking always hardcodes the temporary library directory.
10126
hardcode_action=relink
10128
# We can link without hardcoding, and we can hardcode nonexisting dirs.
10129
hardcode_action=immediate
10132
# We cannot hardcode anything, or else we can only hardcode existing
10134
hardcode_action=unsupported
10136
{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
10137
$as_echo "$hardcode_action" >&6; }
10139
if test "$hardcode_action" = relink ||
10140
test "$inherit_rpath" = yes; then
10141
# Fast installation is not supported
10142
enable_fast_install=no
10143
elif test "$shlibpath_overrides_runpath" = yes ||
10144
test "$enable_shared" = no; then
10145
# Fast installation is not necessary
10146
enable_fast_install=needless
10154
if test "x$enable_dlopen" != xyes; then
10155
enable_dlopen=unknown
10156
enable_dlopen_self=unknown
10157
enable_dlopen_self_static=unknown
10164
lt_cv_dlopen="load_add_on"
10166
lt_cv_dlopen_self=yes
10169
mingw* | pw32* | cegcc*)
10170
lt_cv_dlopen="LoadLibrary"
10175
lt_cv_dlopen="dlopen"
10180
# if libdl is installed we need to link against it
10181
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10182
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10183
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10184
$as_echo_n "(cached) " >&6
10186
ac_check_lib_save_LIBS=$LIBS
10188
cat >conftest.$ac_ext <<_ACEOF
10191
cat confdefs.h >>conftest.$ac_ext
10192
cat >>conftest.$ac_ext <<_ACEOF
10193
/* end confdefs.h. */
10195
/* Override any GCC internal prototype to avoid an error.
10196
Use char because int might match the return type of a GCC
10197
builtin and then its argument prototype would still apply. */
10210
rm -f conftest.$ac_objext conftest$ac_exeext
10211
if { (ac_try="$ac_link"
10212
case "(($ac_try" in
10213
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10214
*) ac_try_echo=$ac_try;;
10216
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10217
$as_echo "$ac_try_echo") >&5
10218
(eval "$ac_link") 2>conftest.er1
10220
grep -v '^ *+' conftest.er1 >conftest.err
10222
cat conftest.err >&5
10223
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224
(exit $ac_status); } && {
10225
test -z "$ac_c_werror_flag" ||
10226
test ! -s conftest.err
10227
} && test -s conftest$ac_exeext && {
10228
test "$cross_compiling" = yes ||
10229
$as_test_x conftest$ac_exeext
10231
ac_cv_lib_dl_dlopen=yes
10233
$as_echo "$as_me: failed program was:" >&5
10234
sed 's/^/| /' conftest.$ac_ext >&5
10236
ac_cv_lib_dl_dlopen=no
10239
rm -rf conftest.dSYM
10240
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10241
conftest$ac_exeext conftest.$ac_ext
10242
LIBS=$ac_check_lib_save_LIBS
10244
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10245
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10246
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10247
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10250
lt_cv_dlopen="dyld"
10252
lt_cv_dlopen_self=yes
10259
{ $as_echo "$as_me:$LINENO: checking for shl_load" >&5
10260
$as_echo_n "checking for shl_load... " >&6; }
10261
if test "${ac_cv_func_shl_load+set}" = set; then
10262
$as_echo_n "(cached) " >&6
10264
cat >conftest.$ac_ext <<_ACEOF
10267
cat confdefs.h >>conftest.$ac_ext
10268
cat >>conftest.$ac_ext <<_ACEOF
10269
/* end confdefs.h. */
10270
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10271
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10272
#define shl_load innocuous_shl_load
10274
/* System header to define __stub macros and hopefully few prototypes,
10275
which can conflict with char shl_load (); below.
10276
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10277
<limits.h> exists even on freestanding compilers. */
10280
# include <limits.h>
10282
# include <assert.h>
10287
/* Override any GCC internal prototype to avoid an error.
10288
Use char because int might match the return type of a GCC
10289
builtin and then its argument prototype would still apply. */
10294
/* The GNU C library defines this for functions which it implements
10295
to always fail with ENOSYS. Some functions are actually named
10296
something starting with __ and the normal name is an alias. */
10297
#if defined __stub_shl_load || defined __stub___shl_load
10304
return shl_load ();
10309
rm -f conftest.$ac_objext conftest$ac_exeext
10310
if { (ac_try="$ac_link"
10311
case "(($ac_try" in
10312
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10313
*) ac_try_echo=$ac_try;;
10315
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10316
$as_echo "$ac_try_echo") >&5
10317
(eval "$ac_link") 2>conftest.er1
10319
grep -v '^ *+' conftest.er1 >conftest.err
10321
cat conftest.err >&5
10322
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323
(exit $ac_status); } && {
10324
test -z "$ac_c_werror_flag" ||
10325
test ! -s conftest.err
10326
} && test -s conftest$ac_exeext && {
10327
test "$cross_compiling" = yes ||
10328
$as_test_x conftest$ac_exeext
10330
ac_cv_func_shl_load=yes
10332
$as_echo "$as_me: failed program was:" >&5
10333
sed 's/^/| /' conftest.$ac_ext >&5
10335
ac_cv_func_shl_load=no
10338
rm -rf conftest.dSYM
10339
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10340
conftest$ac_exeext conftest.$ac_ext
10342
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10343
$as_echo "$ac_cv_func_shl_load" >&6; }
10344
if test "x$ac_cv_func_shl_load" = x""yes; then
10345
lt_cv_dlopen="shl_load"
10347
{ $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10348
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10349
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10350
$as_echo_n "(cached) " >&6
10352
ac_check_lib_save_LIBS=$LIBS
10354
cat >conftest.$ac_ext <<_ACEOF
10357
cat confdefs.h >>conftest.$ac_ext
10358
cat >>conftest.$ac_ext <<_ACEOF
10359
/* end confdefs.h. */
10361
/* Override any GCC internal prototype to avoid an error.
10362
Use char because int might match the return type of a GCC
10363
builtin and then its argument prototype would still apply. */
10371
return shl_load ();
10376
rm -f conftest.$ac_objext conftest$ac_exeext
10377
if { (ac_try="$ac_link"
10378
case "(($ac_try" in
10379
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10380
*) ac_try_echo=$ac_try;;
10382
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10383
$as_echo "$ac_try_echo") >&5
10384
(eval "$ac_link") 2>conftest.er1
10386
grep -v '^ *+' conftest.er1 >conftest.err
10388
cat conftest.err >&5
10389
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390
(exit $ac_status); } && {
10391
test -z "$ac_c_werror_flag" ||
10392
test ! -s conftest.err
10393
} && test -s conftest$ac_exeext && {
10394
test "$cross_compiling" = yes ||
10395
$as_test_x conftest$ac_exeext
10397
ac_cv_lib_dld_shl_load=yes
10399
$as_echo "$as_me: failed program was:" >&5
10400
sed 's/^/| /' conftest.$ac_ext >&5
10402
ac_cv_lib_dld_shl_load=no
10405
rm -rf conftest.dSYM
10406
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10407
conftest$ac_exeext conftest.$ac_ext
10408
LIBS=$ac_check_lib_save_LIBS
10410
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10411
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10412
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
10413
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10415
{ $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10416
$as_echo_n "checking for dlopen... " >&6; }
10417
if test "${ac_cv_func_dlopen+set}" = set; then
10418
$as_echo_n "(cached) " >&6
10420
cat >conftest.$ac_ext <<_ACEOF
10423
cat confdefs.h >>conftest.$ac_ext
10424
cat >>conftest.$ac_ext <<_ACEOF
10425
/* end confdefs.h. */
10426
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10427
For example, HP-UX 11i <limits.h> declares gettimeofday. */
10428
#define dlopen innocuous_dlopen
10430
/* System header to define __stub macros and hopefully few prototypes,
10431
which can conflict with char dlopen (); below.
10432
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10433
<limits.h> exists even on freestanding compilers. */
10436
# include <limits.h>
10438
# include <assert.h>
10443
/* Override any GCC internal prototype to avoid an error.
10444
Use char because int might match the return type of a GCC
10445
builtin and then its argument prototype would still apply. */
10450
/* The GNU C library defines this for functions which it implements
10451
to always fail with ENOSYS. Some functions are actually named
10452
something starting with __ and the normal name is an alias. */
10453
#if defined __stub_dlopen || defined __stub___dlopen
10465
rm -f conftest.$ac_objext conftest$ac_exeext
10466
if { (ac_try="$ac_link"
10467
case "(($ac_try" in
10468
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10469
*) ac_try_echo=$ac_try;;
10471
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10472
$as_echo "$ac_try_echo") >&5
10473
(eval "$ac_link") 2>conftest.er1
10475
grep -v '^ *+' conftest.er1 >conftest.err
10477
cat conftest.err >&5
10478
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10479
(exit $ac_status); } && {
10480
test -z "$ac_c_werror_flag" ||
10481
test ! -s conftest.err
10482
} && test -s conftest$ac_exeext && {
10483
test "$cross_compiling" = yes ||
10484
$as_test_x conftest$ac_exeext
10486
ac_cv_func_dlopen=yes
10488
$as_echo "$as_me: failed program was:" >&5
10489
sed 's/^/| /' conftest.$ac_ext >&5
10491
ac_cv_func_dlopen=no
10494
rm -rf conftest.dSYM
10495
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10496
conftest$ac_exeext conftest.$ac_ext
10498
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10499
$as_echo "$ac_cv_func_dlopen" >&6; }
10500
if test "x$ac_cv_func_dlopen" = x""yes; then
10501
lt_cv_dlopen="dlopen"
10503
{ $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10504
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10505
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10506
$as_echo_n "(cached) " >&6
10508
ac_check_lib_save_LIBS=$LIBS
10510
cat >conftest.$ac_ext <<_ACEOF
10513
cat confdefs.h >>conftest.$ac_ext
10514
cat >>conftest.$ac_ext <<_ACEOF
10515
/* end confdefs.h. */
10517
/* Override any GCC internal prototype to avoid an error.
10518
Use char because int might match the return type of a GCC
10519
builtin and then its argument prototype would still apply. */
10532
rm -f conftest.$ac_objext conftest$ac_exeext
10533
if { (ac_try="$ac_link"
10534
case "(($ac_try" in
10535
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10536
*) ac_try_echo=$ac_try;;
10538
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10539
$as_echo "$ac_try_echo") >&5
10540
(eval "$ac_link") 2>conftest.er1
10542
grep -v '^ *+' conftest.er1 >conftest.err
10544
cat conftest.err >&5
10545
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10546
(exit $ac_status); } && {
10547
test -z "$ac_c_werror_flag" ||
10548
test ! -s conftest.err
10549
} && test -s conftest$ac_exeext && {
10550
test "$cross_compiling" = yes ||
10551
$as_test_x conftest$ac_exeext
10553
ac_cv_lib_dl_dlopen=yes
10555
$as_echo "$as_me: failed program was:" >&5
10556
sed 's/^/| /' conftest.$ac_ext >&5
10558
ac_cv_lib_dl_dlopen=no
10561
rm -rf conftest.dSYM
10562
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10563
conftest$ac_exeext conftest.$ac_ext
10564
LIBS=$ac_check_lib_save_LIBS
10566
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10567
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10568
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
10569
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10571
{ $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10572
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10573
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10574
$as_echo_n "(cached) " >&6
10576
ac_check_lib_save_LIBS=$LIBS
10577
LIBS="-lsvld $LIBS"
10578
cat >conftest.$ac_ext <<_ACEOF
10581
cat confdefs.h >>conftest.$ac_ext
10582
cat >>conftest.$ac_ext <<_ACEOF
10583
/* end confdefs.h. */
10585
/* Override any GCC internal prototype to avoid an error.
10586
Use char because int might match the return type of a GCC
10587
builtin and then its argument prototype would still apply. */
10600
rm -f conftest.$ac_objext conftest$ac_exeext
10601
if { (ac_try="$ac_link"
10602
case "(($ac_try" in
10603
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10604
*) ac_try_echo=$ac_try;;
10606
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10607
$as_echo "$ac_try_echo") >&5
10608
(eval "$ac_link") 2>conftest.er1
10610
grep -v '^ *+' conftest.er1 >conftest.err
10612
cat conftest.err >&5
10613
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614
(exit $ac_status); } && {
10615
test -z "$ac_c_werror_flag" ||
10616
test ! -s conftest.err
10617
} && test -s conftest$ac_exeext && {
10618
test "$cross_compiling" = yes ||
10619
$as_test_x conftest$ac_exeext
10621
ac_cv_lib_svld_dlopen=yes
10623
$as_echo "$as_me: failed program was:" >&5
10624
sed 's/^/| /' conftest.$ac_ext >&5
10626
ac_cv_lib_svld_dlopen=no
10629
rm -rf conftest.dSYM
10630
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10631
conftest$ac_exeext conftest.$ac_ext
10632
LIBS=$ac_check_lib_save_LIBS
10634
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10635
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10636
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
10637
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10639
{ $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10640
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10641
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10642
$as_echo_n "(cached) " >&6
10644
ac_check_lib_save_LIBS=$LIBS
10646
cat >conftest.$ac_ext <<_ACEOF
10649
cat confdefs.h >>conftest.$ac_ext
10650
cat >>conftest.$ac_ext <<_ACEOF
10651
/* end confdefs.h. */
10653
/* Override any GCC internal prototype to avoid an error.
10654
Use char because int might match the return type of a GCC
10655
builtin and then its argument prototype would still apply. */
10663
return dld_link ();
10668
rm -f conftest.$ac_objext conftest$ac_exeext
10669
if { (ac_try="$ac_link"
10670
case "(($ac_try" in
10671
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10672
*) ac_try_echo=$ac_try;;
10674
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10675
$as_echo "$ac_try_echo") >&5
10676
(eval "$ac_link") 2>conftest.er1
10678
grep -v '^ *+' conftest.er1 >conftest.err
10680
cat conftest.err >&5
10681
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10682
(exit $ac_status); } && {
10683
test -z "$ac_c_werror_flag" ||
10684
test ! -s conftest.err
10685
} && test -s conftest$ac_exeext && {
10686
test "$cross_compiling" = yes ||
10687
$as_test_x conftest$ac_exeext
10689
ac_cv_lib_dld_dld_link=yes
10691
$as_echo "$as_me: failed program was:" >&5
10692
sed 's/^/| /' conftest.$ac_ext >&5
10694
ac_cv_lib_dld_dld_link=no
10697
rm -rf conftest.dSYM
10698
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10699
conftest$ac_exeext conftest.$ac_ext
10700
LIBS=$ac_check_lib_save_LIBS
10702
{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10703
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10704
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
10705
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10726
if test "x$lt_cv_dlopen" != xno; then
10732
case $lt_cv_dlopen in
10734
save_CPPFLAGS="$CPPFLAGS"
10735
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10737
save_LDFLAGS="$LDFLAGS"
10738
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10741
LIBS="$lt_cv_dlopen_libs $LIBS"
10743
{ $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10744
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
10745
if test "${lt_cv_dlopen_self+set}" = set; then
10746
$as_echo_n "(cached) " >&6
10748
if test "$cross_compiling" = yes; then :
10749
lt_cv_dlopen_self=cross
10751
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10752
lt_status=$lt_dlunknown
10753
cat > conftest.$ac_ext <<_LT_EOF
10754
#line 10754 "configure"
10755
#include "confdefs.h"
10764
# define LT_DLGLOBAL RTLD_GLOBAL
10767
# define LT_DLGLOBAL DL_GLOBAL
10769
# define LT_DLGLOBAL 0
10773
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10774
find out it does not work in some platform. */
10775
#ifndef LT_DLLAZY_OR_NOW
10777
# define LT_DLLAZY_OR_NOW RTLD_LAZY
10780
# define LT_DLLAZY_OR_NOW DL_LAZY
10783
# define LT_DLLAZY_OR_NOW RTLD_NOW
10786
# define LT_DLLAZY_OR_NOW DL_NOW
10788
# define LT_DLLAZY_OR_NOW 0
10795
void fnord() { int i=42;}
10798
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10799
int status = $lt_dlunknown;
10803
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10804
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10805
/* dlclose (self); */
10813
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10814
(eval $ac_link) 2>&5
10816
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10817
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10818
(./conftest; exit; ) >&5 2>/dev/null
10820
case x$lt_status in
10821
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10822
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10823
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10826
# compilation failed
10827
lt_cv_dlopen_self=no
10834
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10835
$as_echo "$lt_cv_dlopen_self" >&6; }
10837
if test "x$lt_cv_dlopen_self" = xyes; then
10838
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10839
{ $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10840
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
10841
if test "${lt_cv_dlopen_self_static+set}" = set; then
10842
$as_echo_n "(cached) " >&6
10844
if test "$cross_compiling" = yes; then :
10845
lt_cv_dlopen_self_static=cross
10847
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10848
lt_status=$lt_dlunknown
10849
cat > conftest.$ac_ext <<_LT_EOF
10850
#line 10850 "configure"
10851
#include "confdefs.h"
10860
# define LT_DLGLOBAL RTLD_GLOBAL
10863
# define LT_DLGLOBAL DL_GLOBAL
10865
# define LT_DLGLOBAL 0
10869
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10870
find out it does not work in some platform. */
10871
#ifndef LT_DLLAZY_OR_NOW
10873
# define LT_DLLAZY_OR_NOW RTLD_LAZY
10876
# define LT_DLLAZY_OR_NOW DL_LAZY
10879
# define LT_DLLAZY_OR_NOW RTLD_NOW
10882
# define LT_DLLAZY_OR_NOW DL_NOW
10884
# define LT_DLLAZY_OR_NOW 0
10891
void fnord() { int i=42;}
10894
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10895
int status = $lt_dlunknown;
10899
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10900
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10901
/* dlclose (self); */
10909
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10910
(eval $ac_link) 2>&5
10912
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10913
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10914
(./conftest; exit; ) >&5 2>/dev/null
10916
case x$lt_status in
10917
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10918
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10919
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10922
# compilation failed
10923
lt_cv_dlopen_self_static=no
10930
{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10931
$as_echo "$lt_cv_dlopen_self_static" >&6; }
10934
CPPFLAGS="$save_CPPFLAGS"
10935
LDFLAGS="$save_LDFLAGS"
10940
case $lt_cv_dlopen_self in
10941
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10942
*) enable_dlopen_self=unknown ;;
10945
case $lt_cv_dlopen_self_static in
10946
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10947
*) enable_dlopen_self_static=unknown ;;
10969
{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10970
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
10971
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10972
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10973
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10974
{ $as_echo "$as_me:$LINENO: result: yes" >&5
10975
$as_echo "yes" >&6; }
10977
# FIXME - insert some real tests, host_os isn't really good enough
10980
if test -n "$STRIP" ; then
10981
striplib="$STRIP -x"
10982
old_striplib="$STRIP -S"
10983
{ $as_echo "$as_me:$LINENO: result: yes" >&5
10984
$as_echo "yes" >&6; }
10986
{ $as_echo "$as_me:$LINENO: result: no" >&5
10987
$as_echo "no" >&6; }
10991
{ $as_echo "$as_me:$LINENO: result: no" >&5
10992
$as_echo "no" >&6; }
11008
# Report which library types will actually be built
11009
{ $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11010
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11011
{ $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11012
$as_echo "$can_build_shared" >&6; }
11014
{ $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11015
$as_echo_n "checking whether to build shared libraries... " >&6; }
11016
test "$can_build_shared" = "no" && enable_shared=no
11018
# On AIX, shared libraries and static libraries use the same namespace, and
11019
# are all built from PIC.
11022
test "$enable_shared" = yes && enable_static=no
11023
if test -n "$RANLIB"; then
11024
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11025
postinstall_cmds='$RANLIB $lib'
11030
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11031
test "$enable_shared" = yes && enable_static=no
11035
{ $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11036
$as_echo "$enable_shared" >&6; }
11038
{ $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11039
$as_echo_n "checking whether to build static libraries... " >&6; }
11040
# Make sure either enable_shared or enable_static is yes.
11041
test "$enable_shared" = yes || enable_static=yes
11042
{ $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11043
$as_echo "$enable_static" >&6; }
11050
ac_cpp='$CPP $CPPFLAGS'
11051
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11052
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11053
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11069
ac_config_commands="$ac_config_commands libtool"
11074
# Only expand once:
11079
# Check whether --with-dovecot was given.
11080
if test "${with_dovecot+set}" = set; then
11081
withval=$with_dovecot; dovecotdir="$withval"
11083
dovecotdir=../dovecot
11093
if ! test -f "$dovecotdir/dovecot-config"; then
11095
echo "dovecot-config not found from $dovecotdir, use --with-dovecot=PATH"
11096
echo "to give path to compiled Dovecot sources or to a directory with the"
11097
echo "installed dovecot-config file."
11098
{ { $as_echo "$as_me:$LINENO: error: dovecot-config not found" >&5
11099
$as_echo "$as_me: error: dovecot-config not found" >&2;}
11100
{ (exit 1); exit 1; }; }
11103
if test -d "$dovecotdir/src"; then
11104
# compiling against sources
11105
have_dovecot_libs=yes
11107
# compiling against installed headers
11108
echo "WARNING: Cannot build Sieve commandline tools without the compiled"
11109
echo " Dovecot sources. Compiling against headers will only build"
11110
echo " the Sieve plugin."
11111
have_dovecot_libs=no
11113
if test "$have_dovecot_libs" = "yes"; then
11114
HAVE_DOVECOT_LIBS_TRUE=
11115
HAVE_DOVECOT_LIBS_FALSE='#'
11117
HAVE_DOVECOT_LIBS_TRUE='#'
11118
HAVE_DOVECOT_LIBS_FALSE=
11122
# Extensions under development
11126
# Check whether --with-unfinished-features was given.
11127
if test "${with_unfinished_features+set}" = set; then
11128
withval=$with_unfinished_features; if test x$withval = xno || test x$withval = xauto; then
11129
want_unfinished_features=$withval
11131
want_unfinished_features=yes
11134
want_unfinished_features=no
11137
if test "$want_unfinished_features" = "yes"; then
11138
BUILD_UNFINISHED_TRUE=
11139
BUILD_UNFINISHED_FALSE='#'
11141
BUILD_UNFINISHED_TRUE='#'
11142
BUILD_UNFINISHED_FALSE=
11146
if test "$want_unfinished_features" = "yes"; then
11148
cat >>confdefs.h <<\_ACEOF
11149
#define HAVE_SIEVE_UNFINISHED /**/
11157
# Check whether --enable-valgrind was given.
11158
if test "${enable_valgrind+set}" = set; then
11159
enableval=$enable_valgrind; if test x$enableval = xno || test x$enableval = xauto; then
11160
want_valgrind=$enableval
11168
if test "$want_valgrind" = "yes"; then
11169
TESTSUITE_VALGRIND_TRUE=
11170
TESTSUITE_VALGRIND_FALSE='#'
11172
TESTSUITE_VALGRIND_TRUE='#'
11173
TESTSUITE_VALGRIND_FALSE=
11177
eval `cat $dovecotdir/dovecot-config|sed 's,\$(top_builddir)/,$dovecotdir/,g'`
11179
if test $have_dovecot_libs = yes; then
11180
dovecot_incdir="$dovecotdir"
11190
ac_config_files="$ac_config_files Makefile src/Makefile src/lib-sieve/Makefile src/lib-sieve/plugins/Makefile src/lib-sieve/plugins/vacation/Makefile src/lib-sieve/plugins/subaddress/Makefile src/lib-sieve/plugins/comparator-i-ascii-numeric/Makefile src/lib-sieve/plugins/relational/Makefile src/lib-sieve/plugins/regex/Makefile src/lib-sieve/plugins/imap4flags/Makefile src/lib-sieve/plugins/copy/Makefile src/lib-sieve/plugins/include/Makefile src/lib-sieve/plugins/body/Makefile src/lib-sieve/plugins/variables/Makefile src/lib-sieve/plugins/enotify/Makefile src/lib-sieve/plugins/notify/Makefile src/lib-sieve/plugins/environment/Makefile src/lib-sieve/plugins/mailbox/Makefile src/lib-sieve/plugins/date/Makefile src/lib-sieve-tool/Makefile src/plugins/Makefile src/plugins/lda-sieve/Makefile src/sieve-tools/Makefile src/sieve-tools/debug/Makefile src/testsuite/Makefile stamp.h"
11193
cat >confcache <<\_ACEOF
11194
# This file is a shell script that caches the results of configure
11195
# tests run on this system so they can be shared between configure
11196
# scripts and configure runs, see configure's option --config-cache.
11197
# It is not useful on other systems. If it contains results you don't
11198
# want to keep, you may remove or edit it.
11200
# config.status only pays attention to the cache file if you give it
11201
# the --recheck option to rerun configure.
11203
# `ac_cv_env_foo' variables (set or unset) will be overridden when
11204
# loading this file, other *unset* `ac_cv_foo' will be assigned the
11205
# following values.
11209
# The following way of writing the cache mishandles newlines in values,
11210
# but we know of no workaround that is simple, portable, and efficient.
11211
# So, we kill variables containing newlines.
11212
# Ultrix sh set writes to stderr and can't be redirected directly,
11213
# and sets the high bit in the cache file unless we assign to the vars.
11215
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11216
eval ac_val=\$$ac_var
11220
*_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
11221
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11224
_ | IFS | as_nl) ;; #(
11225
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
11226
*) $as_unset $ac_var ;;
11232
case $as_nl`(ac_space=' '; set) 2>&1` in #(
11233
*${as_nl}ac_space=\ *)
11234
# `set' does not quote correctly, so add quotes (double-quote
11235
# substitution turns \\\\ into \\, and sed turns \\ into \).
11238
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11241
# `set' quotes correctly as required by POSIX, so do not add quotes.
11242
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11251
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11253
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11255
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
11256
if test -w "$cache_file"; then
11257
test "x$cache_file" != "x/dev/null" &&
11258
{ $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
11259
$as_echo "$as_me: updating cache $cache_file" >&6;}
11260
cat confcache >$cache_file
11262
{ $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11263
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11268
test "x$prefix" = xNONE && prefix=$ac_default_prefix
11269
# Let make expand exec_prefix.
11270
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
11272
DEFS=-DHAVE_CONFIG_H
11276
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
11277
# 1. Remove the extension, and $U if already installed.
11278
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
11279
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
11280
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11281
# will be set to the directory where LIBOBJS objects are built.
11282
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11283
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11285
LIBOBJS=$ac_libobjs
11287
LTLIBOBJS=$ac_ltlibobjs
11290
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
11291
{ { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
11292
Usually this means the macro was only invoked conditionally." >&5
11293
$as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
11294
Usually this means the macro was only invoked conditionally." >&2;}
11295
{ (exit 1); exit 1; }; }
11297
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
11298
{ { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
11299
Usually this means the macro was only invoked conditionally." >&5
11300
$as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
11301
Usually this means the macro was only invoked conditionally." >&2;}
11302
{ (exit 1); exit 1; }; }
11304
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
11305
{ { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
11306
Usually this means the macro was only invoked conditionally." >&5
11307
$as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
11308
Usually this means the macro was only invoked conditionally." >&2;}
11309
{ (exit 1); exit 1; }; }
11311
if test -z "${HAVE_DOVECOT_LIBS_TRUE}" && test -z "${HAVE_DOVECOT_LIBS_FALSE}"; then
11312
{ { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_DOVECOT_LIBS\" was never defined.
11313
Usually this means the macro was only invoked conditionally." >&5
11314
$as_echo "$as_me: error: conditional \"HAVE_DOVECOT_LIBS\" was never defined.
11315
Usually this means the macro was only invoked conditionally." >&2;}
11316
{ (exit 1); exit 1; }; }
11318
if test -z "${BUILD_UNFINISHED_TRUE}" && test -z "${BUILD_UNFINISHED_FALSE}"; then
11319
{ { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_UNFINISHED\" was never defined.
11320
Usually this means the macro was only invoked conditionally." >&5
11321
$as_echo "$as_me: error: conditional \"BUILD_UNFINISHED\" was never defined.
11322
Usually this means the macro was only invoked conditionally." >&2;}
11323
{ (exit 1); exit 1; }; }
11325
if test -z "${TESTSUITE_VALGRIND_TRUE}" && test -z "${TESTSUITE_VALGRIND_FALSE}"; then
11326
{ { $as_echo "$as_me:$LINENO: error: conditional \"TESTSUITE_VALGRIND\" was never defined.
11327
Usually this means the macro was only invoked conditionally." >&5
11328
$as_echo "$as_me: error: conditional \"TESTSUITE_VALGRIND\" was never defined.
11329
Usually this means the macro was only invoked conditionally." >&2;}
11330
{ (exit 1); exit 1; }; }
11333
: ${CONFIG_STATUS=./config.status}
11335
ac_clean_files_save=$ac_clean_files
11336
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
11337
{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11338
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11339
cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11341
# Generated by $as_me.
11342
# Run this file to recreate the current configuration.
11343
# Compiler output produced by configure, useful for debugging
11344
# configure, is in config.log if it exists.
11347
ac_cs_recheck=false
11349
SHELL=\${CONFIG_SHELL-$SHELL}
11352
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11353
## --------------------- ##
11354
## M4sh Initialization. ##
11355
## --------------------- ##
11357
# Be more Bourne compatible
11358
DUALCASE=1; export DUALCASE # for MKS sh
11359
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
11362
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11363
# is contrary to our usage. Disable this feature.
11364
alias -g '${1+"$@"}'='"$@"'
11365
setopt NO_GLOB_SUBST
11367
case `(set -o) 2>/dev/null` in
11368
*posix*) set -o posix ;;
11377
# Avoid depending upon Character Ranges.
11378
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11379
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11380
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11381
as_cr_digits='0123456789'
11382
as_cr_alnum=$as_cr_Letters$as_cr_digits
11387
# Printing a long string crashes Solaris 7 /usr/bin/printf.
11388
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11389
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11390
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11391
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11392
as_echo='printf %s\n'
11393
as_echo_n='printf %s'
11395
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11396
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11397
as_echo_n='/usr/ucb/echo -n'
11399
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11400
as_echo_n_body='eval
11404
expr "X$arg" : "X\\(.*\\)$as_nl";
11405
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11407
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11409
export as_echo_n_body
11410
as_echo_n='sh -c $as_echo_n_body as_echo'
11412
export as_echo_body
11413
as_echo='sh -c $as_echo_body as_echo'
11416
# The user is always right.
11417
if test "${PATH_SEPARATOR+set}" != set; then
11419
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11420
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11425
# Support unset when possible.
11426
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
11434
# We need space, tab and new line, in precisely that order. Quoting is
11435
# there to prevent editors from complaining about space-tab.
11436
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
11437
# splitting by setting IFS to empty value.)
11440
# Find who we are. Look in the path if we contain no directory separator.
11442
*[\\/]* ) as_myself=$0 ;;
11443
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11444
for as_dir in $PATH
11447
test -z "$as_dir" && as_dir=.
11448
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11454
# We did not find ourselves, most probably we were run as `sh COMMAND'
11455
# in which case we are not to be found in the path.
11456
if test "x$as_myself" = x; then
11459
if test ! -f "$as_myself"; then
11460
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11461
{ (exit 1); exit 1; }
11464
# Work around bugs in pre-3.0 UWIN ksh.
11465
for as_var in ENV MAIL MAILPATH
11466
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
11478
# Required to use basename.
11479
if expr a : '\(a\)' >/dev/null 2>&1 &&
11480
test "X`expr 00001 : '.*\(...\)'`" = X001; then
11486
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11487
as_basename=basename
11493
# Name of the executable.
11494
as_me=`$as_basename -- "$0" ||
11495
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11496
X"$0" : 'X\(//\)$' \| \
11497
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11499
sed '/^.*\/\([^/][^/]*\)\/*$/{
11518
as_lineno_1=$LINENO
11519
as_lineno_2=$LINENO
11520
test "x$as_lineno_1" != "x$as_lineno_2" &&
11521
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
11523
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11524
# uniformly replaced by the line number. The first 'sed' inserts a
11525
# line-number line after each line using $LINENO; the second 'sed'
11526
# does the real work. The second script uses 'N' to pair each
11527
# line-number line with the line containing $LINENO, and appends
11528
# trailing '-' during substitution so that $LINENO is not a special
11529
# case at line end.
11530
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11531
# scripts with optimization help from Paolo Bonzini. Blame Lee
11532
# E. McMahon (1931-1989) for sed's syntax. :-)
11544
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11547
' >$as_me.lineno &&
11548
chmod +x "$as_me.lineno" ||
11549
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11550
{ (exit 1); exit 1; }; }
11552
# Don't try to exec as it changes $[0], causing all sort of problems
11553
# (the dirname of $[0] is not the place where we might find the
11554
# original and so on. Autoconf is especially sensitive to this).
11555
. "./$as_me.lineno"
11556
# Exit status is that of the last command.
11561
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11567
ECHO_C= ECHO_N= ECHO_T=
11568
case `echo -n x` in
11570
case `echo 'x\c'` in
11571
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
11577
if expr a : '\(a\)' >/dev/null 2>&1 &&
11578
test "X`expr 00001 : '.*\(...\)'`" = X001; then
11584
rm -f conf$$ conf$$.exe conf$$.file
11585
if test -d conf$$.dir; then
11586
rm -f conf$$.dir/conf$$.file
11589
mkdir conf$$.dir 2>/dev/null
11591
if (echo >conf$$.file) 2>/dev/null; then
11592
if ln -s conf$$.file conf$$ 2>/dev/null; then
11594
# ... but there are two gotchas:
11595
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11596
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11597
# In both cases, we have to default to `cp -p'.
11598
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11600
elif ln conf$$.file conf$$ 2>/dev/null; then
11608
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11609
rmdir conf$$.dir 2>/dev/null
11611
if mkdir -p . 2>/dev/null; then
11614
test -d ./-p && rmdir ./-p
11618
if test -x / >/dev/null 2>&1; then
11619
as_test_x='test -x'
11621
if ls -dL / >/dev/null 2>&1; then
11628
if test -d "$1"; then
11634
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
11635
???[sx]*):;;*)false;;esac;fi
11639
as_executable_p=$as_test_x
11641
# Sed expression to map a string onto a valid CPP name.
11642
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11644
# Sed expression to map a string onto a valid variable name.
11645
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11650
# Save the log message, to keep $[0] and so on meaningful, and to
11651
# report actual input values of CONFIG_FILES etc. instead of their
11652
# values after options handling.
11654
This file was extended by Dovecot Sieve $as_me 0.1.13, which was
11655
generated by GNU Autoconf 2.63. Invocation command line was
11657
CONFIG_FILES = $CONFIG_FILES
11658
CONFIG_HEADERS = $CONFIG_HEADERS
11659
CONFIG_LINKS = $CONFIG_LINKS
11660
CONFIG_COMMANDS = $CONFIG_COMMANDS
11663
on `(hostname || uname -n) 2>/dev/null | sed 1q`
11668
case $ac_config_files in *"
11669
"*) set x $ac_config_files; shift; ac_config_files=$*;;
11672
case $ac_config_headers in *"
11673
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
11677
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11678
# Files that config.status was made for.
11679
config_files="$ac_config_files"
11680
config_headers="$ac_config_headers"
11681
config_commands="$ac_config_commands"
11685
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11687
\`$as_me' instantiates files from templates according to the
11688
current configuration.
11690
Usage: $0 [OPTION]... [FILE]...
11692
-h, --help print this help, then exit
11693
-V, --version print version number and configuration settings, then exit
11694
-q, --quiet, --silent
11695
do not print progress messages
11696
-d, --debug don't remove temporary files
11697
--recheck update $as_me by reconfiguring in the same conditions
11698
--file=FILE[:TEMPLATE]
11699
instantiate the configuration file FILE
11700
--header=FILE[:TEMPLATE]
11701
instantiate the configuration header FILE
11703
Configuration files:
11706
Configuration headers:
11709
Configuration commands:
11712
Report bugs to <bug-autoconf@gnu.org>."
11715
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11717
Dovecot Sieve config.status 0.1.13
11718
configured by $0, generated by GNU Autoconf 2.63,
11719
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11721
Copyright (C) 2008 Free Software Foundation, Inc.
11722
This config.status script is free software; the Free Software Foundation
11723
gives unlimited permission to copy, distribute and modify it."
11730
test -n "\$AWK" || AWK=awk
11733
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11734
# The default lists apply if the user does not specify any file.
11740
ac_option=`expr "X$1" : 'X\([^=]*\)='`
11741
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
11752
# Handling of the options.
11753
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11755
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
11756
$as_echo "$ac_cs_version"; exit ;;
11757
--debug | --debu | --deb | --de | --d | -d )
11759
--file | --fil | --fi | --f )
11762
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11764
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
11765
ac_need_defaults=false;;
11766
--header | --heade | --head | --hea )
11769
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11771
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
11772
ac_need_defaults=false;;
11774
# Conflict between --help and --header
11775
{ $as_echo "$as_me: error: ambiguous option: $1
11776
Try \`$0 --help' for more information." >&2
11777
{ (exit 1); exit 1; }; };;
11778
--help | --hel | -h )
11779
$as_echo "$ac_cs_usage"; exit ;;
11780
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
11781
| -silent | --silent | --silen | --sile | --sil | --si | --s)
11784
# This is an error.
11785
-*) { $as_echo "$as_me: error: unrecognized option: $1
11786
Try \`$0 --help' for more information." >&2
11787
{ (exit 1); exit 1; }; } ;;
11789
*) ac_config_targets="$ac_config_targets $1"
11790
ac_need_defaults=false ;;
11796
ac_configure_extra_args=
11798
if $ac_cs_silent; then
11800
ac_configure_extra_args="$ac_configure_extra_args --silent"
11804
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11805
if \$ac_cs_recheck; then
11806
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11808
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11809
CONFIG_SHELL='$SHELL'
11810
export CONFIG_SHELL
11815
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11819
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11820
## Running $as_me. ##
11826
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11830
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
11833
# The HP-UX ksh and POSIX shell print the target directory to stdout
11834
# if CDPATH is set.
11835
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11837
sed_quote_subst='$sed_quote_subst'
11838
double_quote_subst='$double_quote_subst'
11839
delay_variable_subst='$delay_variable_subst'
11840
macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
11841
macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
11842
enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
11843
enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
11844
pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
11845
enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
11846
host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
11847
host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
11848
host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
11849
build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
11850
build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
11851
build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
11852
SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
11853
Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
11854
GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
11855
EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
11856
FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
11857
LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
11858
NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
11859
LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
11860
max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
11861
ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
11862
exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
11863
lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
11864
lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
11865
lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
11866
reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
11867
reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11868
OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
11869
deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
11870
file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
11871
AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
11872
AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11873
STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
11874
RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
11875
old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11876
old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11877
old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11878
CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
11879
CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
11880
compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
11881
GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
11882
lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
11883
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
11884
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"`'
11885
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"`'
11886
objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
11887
SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
11888
ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
11889
MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
11890
lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
11891
lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
11892
lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
11893
lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
11894
lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
11895
need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
11896
DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
11897
NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
11898
LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
11899
OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
11900
OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
11901
libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
11902
shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11903
extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11904
archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
11905
enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
11906
export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11907
whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11908
compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
11909
old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11910
old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11911
archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11912
archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11913
module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11914
module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11915
with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
11916
allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11917
no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
11918
hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
11919
hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
11920
hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
11921
hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
11922
hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
11923
hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
11924
hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11925
hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
11926
inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
11927
link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
11928
fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
11929
always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
11930
export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11931
exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11932
include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
11933
prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11934
file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
11935
variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
11936
need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
11937
need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
11938
version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
11939
runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11940
shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
11941
shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
11942
libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11943
library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
11944
soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
11945
postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11946
postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11947
finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
11948
finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
11949
hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
11950
sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11951
sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
11952
hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
11953
enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
11954
enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
11955
enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
11956
old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
11957
striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
11960
LTCFLAGS='$LTCFLAGS'
11961
compiler='$compiler_DEFAULT'
11963
# Quote evaled strings.
11975
deplibs_check_method \
11984
lt_cv_sys_global_symbol_pipe \
11985
lt_cv_sys_global_symbol_to_cdecl \
11986
lt_cv_sys_global_symbol_to_c_name_address \
11987
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
11990
lt_prog_compiler_no_builtin_flag \
11991
lt_prog_compiler_wl \
11992
lt_prog_compiler_pic \
11993
lt_prog_compiler_static \
11994
lt_cv_prog_compiler_c_o \
12002
export_dynamic_flag_spec \
12003
whole_archive_flag_spec \
12004
compiler_needs_object \
12006
allow_undefined_flag \
12007
no_undefined_flag \
12008
hardcode_libdir_flag_spec \
12009
hardcode_libdir_flag_spec_ld \
12010
hardcode_libdir_separator \
12015
variables_saved_for_relink \
12017
library_names_spec \
12022
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12023
*[\\\\\\\`\\"\\\$]*)
12024
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12027
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12032
# Double-quote double-evaled strings.
12033
for var in reload_cmds \
12034
old_postinstall_cmds \
12035
old_postuninstall_cmds \
12037
extract_expsyms_cmds \
12038
old_archive_from_new_cmds \
12039
old_archive_from_expsyms_cmds \
12041
archive_expsym_cmds \
12043
module_expsym_cmds \
12044
export_symbols_cmds \
12047
postuninstall_cmds \
12049
sys_lib_search_path_spec \
12050
sys_lib_dlsearch_path_spec; do
12051
case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
12052
*[\\\\\\\`\\"\\\$]*)
12053
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12056
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12061
# Fix-up fallback echo if it was mangled by the above quoting rules.
12063
*'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
12067
ac_aux_dir='$ac_aux_dir'
12068
xsi_shell='$xsi_shell'
12069
lt_shell_append='$lt_shell_append'
12071
# See if we are running on zsh, and set the options which allow our
12072
# commands through without removal of \ escapes INIT.
12073
if test -n "\${ZSH_VERSION+set}" ; then
12074
setopt NO_GLOB_SUBST
12080
TIMESTAMP='$TIMESTAMP'
12089
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12091
# Handling of arguments.
12092
for ac_config_target in $ac_config_targets
12094
case $ac_config_target in
12095
"dummy-config.h") CONFIG_HEADERS="$CONFIG_HEADERS dummy-config.h" ;;
12096
"dsieve-config.h") CONFIG_HEADERS="$CONFIG_HEADERS dsieve-config.h" ;;
12097
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12098
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
12099
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12100
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12101
"src/lib-sieve/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/Makefile" ;;
12102
"src/lib-sieve/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/Makefile" ;;
12103
"src/lib-sieve/plugins/vacation/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/vacation/Makefile" ;;
12104
"src/lib-sieve/plugins/subaddress/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/subaddress/Makefile" ;;
12105
"src/lib-sieve/plugins/comparator-i-ascii-numeric/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/comparator-i-ascii-numeric/Makefile" ;;
12106
"src/lib-sieve/plugins/relational/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/relational/Makefile" ;;
12107
"src/lib-sieve/plugins/regex/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/regex/Makefile" ;;
12108
"src/lib-sieve/plugins/imap4flags/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/imap4flags/Makefile" ;;
12109
"src/lib-sieve/plugins/copy/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/copy/Makefile" ;;
12110
"src/lib-sieve/plugins/include/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/include/Makefile" ;;
12111
"src/lib-sieve/plugins/body/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/body/Makefile" ;;
12112
"src/lib-sieve/plugins/variables/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/variables/Makefile" ;;
12113
"src/lib-sieve/plugins/enotify/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/enotify/Makefile" ;;
12114
"src/lib-sieve/plugins/notify/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/notify/Makefile" ;;
12115
"src/lib-sieve/plugins/environment/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/environment/Makefile" ;;
12116
"src/lib-sieve/plugins/mailbox/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/mailbox/Makefile" ;;
12117
"src/lib-sieve/plugins/date/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve/plugins/date/Makefile" ;;
12118
"src/lib-sieve-tool/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib-sieve-tool/Makefile" ;;
12119
"src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
12120
"src/plugins/lda-sieve/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/lda-sieve/Makefile" ;;
12121
"src/sieve-tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/sieve-tools/Makefile" ;;
12122
"src/sieve-tools/debug/Makefile") CONFIG_FILES="$CONFIG_FILES src/sieve-tools/debug/Makefile" ;;
12123
"src/testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES src/testsuite/Makefile" ;;
12124
"stamp.h") CONFIG_FILES="$CONFIG_FILES stamp.h" ;;
12126
*) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12127
$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12128
{ (exit 1); exit 1; }; };;
12133
# If the user did not use the arguments to specify the items to instantiate,
12134
# then the envvar interface is used. Set only those that are not.
12135
# We use the long form for the default assignment because of an extremely
12136
# bizarre bug on SunOS 4.1.3.
12137
if $ac_need_defaults; then
12138
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12139
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12140
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12143
# Have a temporary directory for convenience. Make it in the build tree
12144
# simply because there is no reason against having it here, and in addition,
12145
# creating and moving files from /tmp can sometimes cause problems.
12146
# Hook for its removal unless debugging.
12147
# Note that there is a small window in which the directory will not be cleaned:
12148
# after its creation but before its name has been assigned to `$tmp'.
12152
trap 'exit_status=$?
12153
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12155
trap '{ (exit 1); exit 1; }' 1 2 13 15
12157
# Create a (secure) tmp directory for tmp files.
12160
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12161
test -n "$tmp" && test -d "$tmp"
12164
tmp=./conf$$-$RANDOM
12165
(umask 077 && mkdir "$tmp")
12168
$as_echo "$as_me: cannot create a temporary directory in ." >&2
12169
{ (exit 1); exit 1; }
12172
# Set up the scripts for CONFIG_FILES section.
12173
# No need to generate them if there are no CONFIG_FILES.
12174
# This happens for instance with `./config.status config.h'.
12175
if test -n "$CONFIG_FILES"; then
12179
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12180
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12183
ac_cs_awk_cr=$ac_cr
12186
echo 'BEGIN {' >"$tmp/subs1.awk" &&
12191
echo "cat >conf$$subs.awk <<_ACEOF" &&
12192
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12194
} >conf$$subs.sh ||
12195
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12196
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12197
{ (exit 1); exit 1; }; }
12198
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12200
for ac_last_try in false false false false false :; do
12201
. ./conf$$subs.sh ||
12202
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12203
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12204
{ (exit 1); exit 1; }; }
12206
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
12207
if test $ac_delim_n = $ac_delim_num; then
12209
elif $ac_last_try; then
12210
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12211
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12212
{ (exit 1); exit 1; }; }
12214
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12217
rm -f conf$$subs.sh
12219
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12220
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
12224
s/^/S["/; s/!.*/"]=/
12234
s/\(.\{148\}\).*/\1/
12236
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
12241
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12248
s/\(.\{148\}\).*/\1/
12250
s/["\\]/\\&/g; s/^/"/; s/$/"/
12254
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
12259
' <conf$$subs.awk | sed '
12264
' >>$CONFIG_STATUS || ac_write_fail=1
12265
rm -f conf$$subs.awk
12266
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12268
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
12269
for (key in S) S_is_set[key] = 1
12275
nfields = split(line, field, "@")
12277
len = length(field[1])
12278
for (i = 2; i < nfields; i++) {
12280
keylen = length(key)
12281
if (S_is_set[key]) {
12283
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12284
len += length(value) + length(field[++i])
12295
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12296
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12297
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
12300
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
12301
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
12302
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
12303
{ (exit 1); exit 1; }; }
12306
# VPATH may cause trouble with some makes, so we remove $(srcdir),
12307
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12308
# trailing colons and then remove the whole line if VPATH becomes empty
12309
# (actually we leave an empty line to preserve line numbers).
12310
if test "x$srcdir" = x.; then
12311
ac_vpsub='/^[ ]*VPATH[ ]*=/{
12312
s/:*\$(srcdir):*/:/
12313
s/:*\${srcdir}:*/:/
12315
s/^\([^=]*=[ ]*\):*/\1/
12321
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12322
fi # test -n "$CONFIG_FILES"
12324
# Set up the scripts for CONFIG_HEADERS section.
12325
# No need to generate them if there are no CONFIG_HEADERS.
12326
# This happens for instance with `./config.status Makefile'.
12327
if test -n "$CONFIG_HEADERS"; then
12328
cat >"$tmp/defines.awk" <<\_ACAWK ||
12332
# Transform confdefs.h into an awk script `defines.awk', embedded as
12333
# here-document in config.status, that substitutes the proper values into
12334
# config.h.in to produce config.h.
12336
# Create a delimiter string that does not exist in confdefs.h, to ease
12337
# handling of long lines.
12339
for ac_last_try in false false :; do
12340
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
12341
if test -z "$ac_t"; then
12343
elif $ac_last_try; then
12344
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
12345
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
12346
{ (exit 1); exit 1; }; }
12348
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
12352
# For the awk script, D is an array of macro values keyed by name,
12353
# likewise P contains macro parameters if any. Preserve backslash
12354
# newline sequences.
12356
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12358
s/.\{148\}/&'"$ac_delim"'/g
12361
s/^[ ]*#[ ]*define[ ][ ]*/ /
12368
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12370
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
12374
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
12375
D["\1"]=" \3\\\\\\n"\\/p
12377
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
12382
s/.\{148\}/&'"$ac_delim"'/g
12387
s/["\\]/\\&/g; s/^/"/; s/$/"/p
12390
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
12392
' <confdefs.h | sed '
12393
s/'"$ac_delim"'/"\\\
12394
"/g' >>$CONFIG_STATUS || ac_write_fail=1
12396
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12397
for (key in D) D_is_set[key] = 1
12400
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12402
split(line, arg, " ")
12403
if (arg[1] == "#") {
12407
defundef = substr(arg[1], 2)
12410
split(mac1, mac2, "(") #)
12412
prefix = substr(line, 1, index(line, defundef) - 1)
12413
if (D_is_set[macro]) {
12414
# Preserve the white space surrounding the "#".
12415
print prefix "define", macro P[macro] D[macro]
12418
# Replace #undef with comments. This is necessary, for example,
12419
# in the case of _POSIX_SOURCE, which is predefined and required
12420
# on some systems where configure will not decide to define it.
12421
if (defundef == "undef") {
12422
print "/*", prefix defundef, macro, "*/"
12430
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12431
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
12432
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
12433
{ (exit 1); exit 1; }; }
12434
fi # test -n "$CONFIG_HEADERS"
12437
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12442
:[FHLC]) ac_mode=$ac_tag; continue;;
12444
case $ac_mode$ac_tag in
12446
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
12447
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
12448
{ (exit 1); exit 1; }; };;
12449
:[FH]-) ac_tag=-:-;;
12450
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
12467
-) ac_f="$tmp/stdin";;
12468
*) # Look for the file first in the build tree, then in the source tree
12469
# (if the path is not absolute). The absolute path cannot be DOS-style,
12470
# because $ac_f cannot contain `:'.
12474
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
12476
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12477
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12478
{ (exit 1); exit 1; }; };;
12480
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12481
ac_file_inputs="$ac_file_inputs '$ac_f'"
12484
# Let's still pretend it is `configure' which instantiates (i.e., don't
12485
# use $as_me), people would be surprised to read:
12486
# /* config.h. Generated by config.status. */
12487
configure_input='Generated from '`
12488
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12490
if test x"$ac_file" != x-; then
12491
configure_input="$ac_file. $configure_input"
12492
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
12493
$as_echo "$as_me: creating $ac_file" >&6;}
12495
# Neutralize special characters interpreted by sed in replacement strings.
12496
case $configure_input in #(
12497
*\&* | *\|* | *\\* )
12498
ac_sed_conf_input=`$as_echo "$configure_input" |
12499
sed 's/[\\\\&|]/\\\\&/g'`;; #(
12500
*) ac_sed_conf_input=$configure_input;;
12504
*:-:* | *:-) cat >"$tmp/stdin" \
12505
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12506
$as_echo "$as_me: error: could not create $ac_file" >&2;}
12507
{ (exit 1); exit 1; }; } ;;
12512
ac_dir=`$as_dirname -- "$ac_file" ||
12513
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12514
X"$ac_file" : 'X\(//\)[^/]' \| \
12515
X"$ac_file" : 'X\(//\)$' \| \
12516
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12517
$as_echo X"$ac_file" |
12518
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12522
/^X\(\/\/\)[^/].*/{
12537
-*) as_dir=./$as_dir;;
12539
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12543
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12544
*) as_qdir=$as_dir;;
12546
as_dirs="'$as_qdir' $as_dirs"
12547
as_dir=`$as_dirname -- "$as_dir" ||
12548
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12549
X"$as_dir" : 'X\(//\)[^/]' \| \
12550
X"$as_dir" : 'X\(//\)$' \| \
12551
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12552
$as_echo X"$as_dir" |
12553
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12557
/^X\(\/\/\)[^/].*/{
12570
test -d "$as_dir" && break
12572
test -z "$as_dirs" || eval "mkdir $as_dirs"
12573
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12574
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
12575
{ (exit 1); exit 1; }; }; }
12579
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
12581
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12582
# A ".." for each directory in $ac_dir_suffix.
12583
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12584
case $ac_top_builddir_sub in
12585
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
12586
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
12589
ac_abs_top_builddir=$ac_pwd
12590
ac_abs_builddir=$ac_pwd$ac_dir_suffix
12591
# for backward compatibility:
12592
ac_top_builddir=$ac_top_build_prefix
12595
.) # We are building in place.
12597
ac_top_srcdir=$ac_top_builddir_sub
12598
ac_abs_top_srcdir=$ac_pwd ;;
12599
[\\/]* | ?:[\\/]* ) # Absolute name.
12600
ac_srcdir=$srcdir$ac_dir_suffix;
12601
ac_top_srcdir=$srcdir
12602
ac_abs_top_srcdir=$srcdir ;;
12603
*) # Relative name.
12604
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
12605
ac_top_srcdir=$ac_top_build_prefix$srcdir
12606
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
12608
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
12618
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
12619
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
12621
ac_MKDIR_P=$MKDIR_P
12623
[\\/$]* | ?:[\\/]* ) ;;
12624
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
12628
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12629
# If the template does not know about datarootdir, expand it.
12630
# FIXME: This hack should be removed a few years after 2.60.
12631
ac_datarootdir_hack=; ac_datarootdir_seen=
12644
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12645
*datarootdir*) ac_datarootdir_seen=yes;;
12646
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
12647
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12648
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12650
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12651
ac_datarootdir_hack='
12652
s&@datadir@&$datadir&g
12653
s&@docdir@&$docdir&g
12654
s&@infodir@&$infodir&g
12655
s&@localedir@&$localedir&g
12656
s&@mandir@&$mandir&g
12657
s&\\\${datarootdir}&$datarootdir&g' ;;
12661
# Neutralize VPATH when `$srcdir' = `.'.
12662
# Shell code in configure.ac might set extrasub.
12663
# FIXME: do we really want to maintain this feature?
12664
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12665
ac_sed_extra="$ac_vpsub
12668
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12670
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12671
s|@configure_input@|$ac_sed_conf_input|;t t
12672
s&@top_builddir@&$ac_top_builddir_sub&;t t
12673
s&@top_build_prefix@&$ac_top_build_prefix&;t t
12674
s&@srcdir@&$ac_srcdir&;t t
12675
s&@abs_srcdir@&$ac_abs_srcdir&;t t
12676
s&@top_srcdir@&$ac_top_srcdir&;t t
12677
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
12678
s&@builddir@&$ac_builddir&;t t
12679
s&@abs_builddir@&$ac_abs_builddir&;t t
12680
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
12681
s&@INSTALL@&$ac_INSTALL&;t t
12682
s&@MKDIR_P@&$ac_MKDIR_P&;t t
12683
$ac_datarootdir_hack
12685
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
12686
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12687
$as_echo "$as_me: error: could not create $ac_file" >&2;}
12688
{ (exit 1); exit 1; }; }
12690
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12691
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
12692
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
12693
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12694
which seems to be undefined. Please make sure it is defined." >&5
12695
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
12696
which seems to be undefined. Please make sure it is defined." >&2;}
12700
-) cat "$tmp/out" && rm -f "$tmp/out";;
12701
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12703
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12704
$as_echo "$as_me: error: could not create $ac_file" >&2;}
12705
{ (exit 1); exit 1; }; }
12711
if test x"$ac_file" != x-; then
12713
$as_echo "/* $configure_input */" \
12714
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12715
} >"$tmp/config.h" \
12716
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12717
$as_echo "$as_me: error: could not create $ac_file" >&2;}
12718
{ (exit 1); exit 1; }; }
12719
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12720
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12721
$as_echo "$as_me: $ac_file is unchanged" >&6;}
12724
mv "$tmp/config.h" "$ac_file" \
12725
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
12726
$as_echo "$as_me: error: could not create $ac_file" >&2;}
12727
{ (exit 1); exit 1; }; }
12730
$as_echo "/* $configure_input */" \
12731
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12732
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
12733
$as_echo "$as_me: error: could not create -" >&2;}
12734
{ (exit 1); exit 1; }; }
12736
# Compute "$ac_file"'s index in $config_headers.
12739
for _am_header in $config_headers :; do
12740
case $_am_header in
12741
$_am_arg | $_am_arg:* )
12744
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
12747
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
12748
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12749
X"$_am_arg" : 'X\(//\)[^/]' \| \
12750
X"$_am_arg" : 'X\(//\)$' \| \
12751
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
12752
$as_echo X"$_am_arg" |
12753
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12757
/^X\(\/\/\)[^/].*/{
12769
s/.*/./; q'`/stamp-h$_am_stamp_count
12772
:C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
12773
$as_echo "$as_me: executing $ac_file commands" >&6;}
12778
case $ac_file$ac_mode in
12779
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
12780
# Autoconf 2.62 quotes --file arguments for eval, but not when files
12781
# are listed without --file. Let's play safe and only enable the eval
12782
# if we detect the quoting.
12783
case $CONFIG_FILES in
12784
*\'*) eval set x "$CONFIG_FILES" ;;
12785
*) set x $CONFIG_FILES ;;
12790
# Strip MF so we end up with the name of the file.
12791
mf=`echo "$mf" | sed -e 's/:.*$//'`
12792
# Check whether this is an Automake generated Makefile or not.
12793
# We used to match only the files named `Makefile.in', but
12794
# some people rename them; so instead we look at the file content.
12795
# Grep'ing the first line is not enough: some people post-process
12796
# each Makefile.in and add a new line on top of each file to say so.
12797
# Grep'ing the whole file is not good either: AIX grep has a line
12798
# limit of 2048, but all sed's we know have understand at least 4000.
12799
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
12800
dirpart=`$as_dirname -- "$mf" ||
12801
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12802
X"$mf" : 'X\(//\)[^/]' \| \
12803
X"$mf" : 'X\(//\)$' \| \
12804
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
12806
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12810
/^X\(\/\/\)[^/].*/{
12826
# Extract the definition of DEPDIR, am__include, and am__quote
12827
# from the Makefile without running `make'.
12828
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
12829
test -z "$DEPDIR" && continue
12830
am__include=`sed -n 's/^am__include = //p' < "$mf"`
12831
test -z "am__include" && continue
12832
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
12833
# When using ansi2knr, U may be empty or an underscore; expand it
12834
U=`sed -n 's/^U = //p' < "$mf"`
12835
# Find all dependency output files, they are included files with
12836
# $(DEPDIR) in their names. We invoke sed twice because it is the
12837
# simplest approach to changing $(DEPDIR) to its actual value in the
12839
for file in `sed -n "
12840
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
12841
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
12842
# Make sure the directory exists.
12843
test -f "$dirpart/$file" && continue
12844
fdir=`$as_dirname -- "$file" ||
12845
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12846
X"$file" : 'X\(//\)[^/]' \| \
12847
X"$file" : 'X\(//\)$' \| \
12848
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
12849
$as_echo X"$file" |
12850
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12854
/^X\(\/\/\)[^/].*/{
12867
{ as_dir=$dirpart/$fdir
12869
-*) as_dir=./$as_dir;;
12871
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
12875
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12876
*) as_qdir=$as_dir;;
12878
as_dirs="'$as_qdir' $as_dirs"
12879
as_dir=`$as_dirname -- "$as_dir" ||
12880
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12881
X"$as_dir" : 'X\(//\)[^/]' \| \
12882
X"$as_dir" : 'X\(//\)$' \| \
12883
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12884
$as_echo X"$as_dir" |
12885
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12889
/^X\(\/\/\)[^/].*/{
12902
test -d "$as_dir" && break
12904
test -z "$as_dirs" || eval "mkdir $as_dirs"
12905
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12906
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
12907
{ (exit 1); exit 1; }; }; }
12908
# echo "creating $dirpart/$file"
12909
echo '# dummy' > "$dirpart/$file"
12916
# See if we are running on zsh, and set the options which allow our
12917
# commands through without removal of \ escapes.
12918
if test -n "${ZSH_VERSION+set}" ; then
12919
setopt NO_GLOB_SUBST
12922
cfgfile="${ofile}T"
12923
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12926
cat <<_LT_EOF >> "$cfgfile"
12929
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12930
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12931
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12932
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12934
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12935
# 2006, 2007, 2008 Free Software Foundation, Inc.
12936
# Written by Gordon Matzigkeit, 1996
12938
# This file is part of GNU Libtool.
12940
# GNU Libtool is free software; you can redistribute it and/or
12941
# modify it under the terms of the GNU General Public License as
12942
# published by the Free Software Foundation; either version 2 of
12943
# the License, or (at your option) any later version.
12945
# As a special exception to the GNU General Public License,
12946
# if you distribute this file as part of a program or library that
12947
# is built using GNU Libtool, you may include this file under the
12948
# same distribution terms that you use for the rest of that program.
12950
# GNU Libtool is distributed in the hope that it will be useful,
12951
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12952
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12953
# GNU General Public License for more details.
12955
# You should have received a copy of the GNU General Public License
12956
# along with GNU Libtool; see the file COPYING. If not, a copy
12957
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12958
# obtained by writing to the Free Software Foundation, Inc.,
12959
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12962
# The names of the tagged configurations supported by this script.
12965
# ### BEGIN LIBTOOL CONFIG
12967
# Which release of libtool.m4 was used?
12968
macro_version=$macro_version
12969
macro_revision=$macro_revision
12971
# Whether or not to build shared libraries.
12972
build_libtool_libs=$enable_shared
12974
# Whether or not to build static libraries.
12975
build_old_libs=$enable_static
12977
# What type of objects to build.
12980
# Whether or not to optimize for fast installation.
12981
fast_install=$enable_fast_install
12984
host_alias=$host_alias
12988
# The build system.
12989
build_alias=$build_alias
12993
# A sed program that does not truncate output.
12996
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12997
Xsed="\$SED -e 1s/^X//"
12999
# A grep program that handles long lines.
13005
# A literal string matcher.
13008
# A BSD- or MS-compatible name lister.
13011
# Whether we need soft or hard links.
13014
# What is the maximum length of a command?
13015
max_cmd_len=$max_cmd_len
13017
# Object file suffix (normally "o").
13020
# Executable file suffix (normally "").
13023
# whether the shell understands "unset".
13026
# turn spaces into newlines.
13029
# turn newlines into spaces.
13032
# How to create reloadable object files.
13033
reload_flag=$lt_reload_flag
13034
reload_cmds=$lt_reload_cmds
13036
# An object symbol dumper.
13037
OBJDUMP=$lt_OBJDUMP
13039
# Method to check whether dependent libraries are shared objects.
13040
deplibs_check_method=$lt_deplibs_check_method
13042
# Command to use when deplibs_check_method == "file_magic".
13043
file_magic_cmd=$lt_file_magic_cmd
13047
AR_FLAGS=$lt_AR_FLAGS
13049
# A symbol stripping program.
13052
# Commands used to install an old-style archive.
13054
old_postinstall_cmds=$lt_old_postinstall_cmds
13055
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13060
# LTCC compiler flags.
13061
LTCFLAGS=$lt_CFLAGS
13063
# Take the output of nm and produce a listing of raw symbols and C names.
13064
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13066
# Transform the output of nm in a proper C declaration.
13067
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13069
# Transform the output of nm in a C name address pair.
13070
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13072
# Transform the output of nm in a C name address pair when lib prefix is needed.
13073
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13075
# The name of the directory that contains temporary libtool files.
13078
# Shell to use when invoking shell scripts.
13081
# An echo program that does not interpret backslashes.
13084
# Used to examine libraries when file_magic_cmd begins with "file".
13085
MAGIC_CMD=$MAGIC_CMD
13087
# Must we lock files when doing compilation?
13088
need_locks=$lt_need_locks
13090
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13091
DSYMUTIL=$lt_DSYMUTIL
13093
# Tool to change global to local symbols on Mac OS X.
13096
# Tool to manipulate fat objects and archives on Mac OS X.
13099
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
13102
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13103
OTOOL64=$lt_OTOOL64
13105
# Old archive suffix (normally "a").
13108
# Shared library suffix (normally ".so").
13109
shrext_cmds=$lt_shrext_cmds
13111
# The commands to extract the exported symbol list from a shared archive.
13112
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13114
# Variables whose values should be saved in libtool wrapper scripts and
13115
# restored at link time.
13116
variables_saved_for_relink=$lt_variables_saved_for_relink
13118
# Do we need the "lib" prefix for modules?
13119
need_lib_prefix=$need_lib_prefix
13121
# Do we need a version for libraries?
13122
need_version=$need_version
13124
# Library versioning type.
13125
version_type=$version_type
13127
# Shared library runtime path variable.
13128
runpath_var=$runpath_var
13130
# Shared library path variable.
13131
shlibpath_var=$shlibpath_var
13133
# Is shlibpath searched before the hard-coded library search path?
13134
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13136
# Format of library name prefix.
13137
libname_spec=$lt_libname_spec
13139
# List of archive names. First name is the real one, the rest are links.
13140
# The last name is the one that the linker finds with -lNAME
13141
library_names_spec=$lt_library_names_spec
13143
# The coded name of the library, if different from the real name.
13144
soname_spec=$lt_soname_spec
13146
# Command to use after installation of a shared archive.
13147
postinstall_cmds=$lt_postinstall_cmds
13149
# Command to use after uninstallation of a shared archive.
13150
postuninstall_cmds=$lt_postuninstall_cmds
13152
# Commands used to finish a libtool library installation in a directory.
13153
finish_cmds=$lt_finish_cmds
13155
# As "finish_cmds", except a single script fragment to be evaled but
13157
finish_eval=$lt_finish_eval
13159
# Whether we should hardcode library paths into libraries.
13160
hardcode_into_libs=$hardcode_into_libs
13162
# Compile-time system search path for libraries.
13163
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13165
# Run-time system search path for libraries.
13166
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13168
# Whether dlopen is supported.
13169
dlopen_support=$enable_dlopen
13171
# Whether dlopen of programs is supported.
13172
dlopen_self=$enable_dlopen_self
13174
# Whether dlopen of statically linked programs is supported.
13175
dlopen_self_static=$enable_dlopen_self_static
13177
# Commands to strip libraries.
13178
old_striplib=$lt_old_striplib
13179
striplib=$lt_striplib
13182
# The linker used to build libraries.
13185
# Commands used to build an old-style archive.
13186
old_archive_cmds=$lt_old_archive_cmds
13188
# A language specific compiler.
13191
# Is the compiler the GNU compiler?
13194
# Compiler flag to turn off builtin functions.
13195
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
13197
# How to pass a linker flag through the compiler.
13198
wl=$lt_lt_prog_compiler_wl
13200
# Additional compiler flags for building library objects.
13201
pic_flag=$lt_lt_prog_compiler_pic
13203
# Compiler flag to prevent dynamic linking.
13204
link_static_flag=$lt_lt_prog_compiler_static
13206
# Does compiler simultaneously support -c and -o options?
13207
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
13209
# Whether or not to add -lc for building shared libraries.
13210
build_libtool_need_lc=$archive_cmds_need_lc
13212
# Whether or not to disallow shared libs when runtime libs are static.
13213
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
13215
# Compiler flag to allow reflexive dlopens.
13216
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
13218
# Compiler flag to generate shared objects directly from archives.
13219
whole_archive_flag_spec=$lt_whole_archive_flag_spec
13221
# Whether the compiler copes with passing no objects directly.
13222
compiler_needs_object=$lt_compiler_needs_object
13224
# Create an old-style archive from a shared archive.
13225
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
13227
# Create a temporary old-style archive to link instead of a shared archive.
13228
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
13230
# Commands used to build a shared archive.
13231
archive_cmds=$lt_archive_cmds
13232
archive_expsym_cmds=$lt_archive_expsym_cmds
13234
# Commands used to build a loadable module if different from building
13235
# a shared archive.
13236
module_cmds=$lt_module_cmds
13237
module_expsym_cmds=$lt_module_expsym_cmds
13239
# Whether we are building with GNU ld or not.
13240
with_gnu_ld=$lt_with_gnu_ld
13242
# Flag that allows shared libraries with undefined symbols to be built.
13243
allow_undefined_flag=$lt_allow_undefined_flag
13245
# Flag that enforces no undefined symbols.
13246
no_undefined_flag=$lt_no_undefined_flag
13248
# Flag to hardcode \$libdir into a binary during linking.
13249
# This must work even if \$libdir does not exist
13250
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
13252
# If ld is used when linking, flag to hardcode \$libdir into a binary
13253
# during linking. This must work even if \$libdir does not exist.
13254
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
13256
# Whether we need a single "-rpath" flag with a separated argument.
13257
hardcode_libdir_separator=$lt_hardcode_libdir_separator
13259
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13260
# DIR into the resulting binary.
13261
hardcode_direct=$hardcode_direct
13263
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
13264
# DIR into the resulting binary and the resulting library dependency is
13265
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
13266
# library is relocated.
13267
hardcode_direct_absolute=$hardcode_direct_absolute
13269
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
13270
# into the resulting binary.
13271
hardcode_minus_L=$hardcode_minus_L
13273
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
13274
# into the resulting binary.
13275
hardcode_shlibpath_var=$hardcode_shlibpath_var
13277
# Set to "yes" if building a shared library automatically hardcodes DIR
13278
# into the library and all subsequent libraries and executables linked
13280
hardcode_automatic=$hardcode_automatic
13282
# Set to yes if linker adds runtime paths of dependent libraries
13283
# to runtime path list.
13284
inherit_rpath=$inherit_rpath
13286
# Whether libtool must link a program against all its dependency libraries.
13287
link_all_deplibs=$link_all_deplibs
13289
# Fix the shell variable \$srcfile for the compiler.
13290
fix_srcfile_path=$lt_fix_srcfile_path
13292
# Set to "yes" if exported symbols are required.
13293
always_export_symbols=$always_export_symbols
13295
# The commands to list exported symbols.
13296
export_symbols_cmds=$lt_export_symbols_cmds
13298
# Symbols that should not be listed in the preloaded symbols.
13299
exclude_expsyms=$lt_exclude_expsyms
13301
# Symbols that must always be exported.
13302
include_expsyms=$lt_include_expsyms
13304
# Commands necessary for linking programs (against libraries) with templates.
13305
prelink_cmds=$lt_prelink_cmds
13307
# Specify filename containing input files.
13308
file_list_spec=$lt_file_list_spec
13310
# How to hardcode a shared library path into an executable.
13311
hardcode_action=$hardcode_action
13313
# ### END LIBTOOL CONFIG
13319
cat <<\_LT_EOF >> "$cfgfile"
13320
# AIX sometimes has problems with the GCC collect2 program. For some
13321
# reason, if we set the COLLECT_NAMES environment variable, the problems
13322
# vanish in a puff of smoke.
13323
if test "X${COLLECT_NAMES+set}" != Xset; then
13325
export COLLECT_NAMES
13332
ltmain="$ac_aux_dir/ltmain.sh"
13335
# We use sed instead of cat because bash on DJGPP gets confused if
13336
# if finds mixed CR/LF and LF-only lines. Since sed operates in
13337
# text mode, it properly converts lines to CR/LF. This bash problem
13338
# is reportedly fixed, but why not run on old versions too?
13339
sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
13340
|| (rm -f "$cfgfile"; exit 1)
13344
cat << \_LT_EOF >> "$cfgfile"
13346
# func_dirname file append nondir_replacement
13347
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
13348
# otherwise set result to NONDIR_REPLACEMENT.
13352
*/*) func_dirname_result="${1%/*}${2}" ;;
13353
* ) func_dirname_result="${3}" ;;
13357
# func_basename file
13360
func_basename_result="${1##*/}"
13363
# func_dirname_and_basename file append nondir_replacement
13364
# perform func_basename and func_dirname in a single function
13366
# dirname: Compute the dirname of FILE. If nonempty,
13367
# add APPEND to the result, otherwise set result
13368
# to NONDIR_REPLACEMENT.
13369
# value returned in "$func_dirname_result"
13370
# basename: Compute filename of FILE.
13371
# value retuned in "$func_basename_result"
13372
# Implementation must be kept synchronized with func_dirname
13373
# and func_basename. For efficiency, we do not delegate to
13374
# those functions but instead duplicate the functionality here.
13375
func_dirname_and_basename ()
13378
*/*) func_dirname_result="${1%/*}${2}" ;;
13379
* ) func_dirname_result="${3}" ;;
13381
func_basename_result="${1##*/}"
13384
# func_stripname prefix suffix name
13385
# strip PREFIX and SUFFIX off of NAME.
13386
# PREFIX and SUFFIX must not contain globbing or regex special
13387
# characters, hashes, percent signs, but SUFFIX may contain a leading
13388
# dot (in which case that matches only a dot).
13391
# pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
13392
# positional parameters, so assign one to ordinary parameter first.
13393
func_stripname_result=${3}
13394
func_stripname_result=${func_stripname_result#"${1}"}
13395
func_stripname_result=${func_stripname_result%"${2}"}
13401
func_opt_split_opt=${1%%=*}
13402
func_opt_split_arg=${1#*=}
13409
*.lo) func_lo2o_result=${1%.lo}.${objext} ;;
13410
*) func_lo2o_result=${1} ;;
13414
# func_xform libobj-or-source
13417
func_xform_result=${1%.*}.lo
13420
# func_arith arithmetic-term...
13423
func_arith_result=$(( $* ))
13427
# STRING may not start with a hyphen.
13430
func_len_result=${#1}
13435
*) # Bourne compatible functions.
13436
cat << \_LT_EOF >> "$cfgfile"
13438
# func_dirname file append nondir_replacement
13439
# Compute the dirname of FILE. If nonempty, add APPEND to the result,
13440
# otherwise set result to NONDIR_REPLACEMENT.
13443
# Extract subdirectory from the argument.
13444
func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
13445
if test "X$func_dirname_result" = "X${1}"; then
13446
func_dirname_result="${3}"
13448
func_dirname_result="$func_dirname_result${2}"
13452
# func_basename file
13455
func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
13459
# func_stripname prefix suffix name
13460
# strip PREFIX and SUFFIX off of NAME.
13461
# PREFIX and SUFFIX must not contain globbing or regex special
13462
# characters, hashes, percent signs, but SUFFIX may contain a leading
13463
# dot (in which case that matches only a dot).
13464
# func_strip_suffix prefix name
13468
.*) func_stripname_result=`$ECHO "X${3}" \
13469
| $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
13470
*) func_stripname_result=`$ECHO "X${3}" \
13471
| $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
13476
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
13477
my_sed_long_arg='1s/^-[^=]*=//'
13482
func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
13483
func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
13489
func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
13492
# func_xform libobj-or-source
13495
func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
13498
# func_arith arithmetic-term...
13501
func_arith_result=`expr "$@"`
13505
# STRING may not start with a hyphen.
13508
func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
13514
case $lt_shell_append in
13516
cat << \_LT_EOF >> "$cfgfile"
13518
# func_append var value
13519
# Append VALUE to the end of shell variable VAR.
13527
cat << \_LT_EOF >> "$cfgfile"
13529
# func_append var value
13530
# Append VALUE to the end of shell variable VAR.
13541
sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
13542
|| (rm -f "$cfgfile"; exit 1)
13544
mv -f "$cfgfile" "$ofile" ||
13545
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
13554
{ (exit 0); exit 0; }
13556
chmod +x $CONFIG_STATUS
13557
ac_clean_files=$ac_clean_files_save
13559
test $ac_write_fail = 0 ||
13560
{ { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
13561
$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
13562
{ (exit 1); exit 1; }; }
13565
# configure is writing to config.log, and then calls config.status.
13566
# config.status does its own redirection, appending to config.log.
13567
# Unfortunately, on DOS this fails, as config.log is still kept open
13568
# by configure, so config.status won't be able to write to it; its
13569
# output is simply discarded. So we exec the FD to /dev/null,
13570
# effectively closing config.log, so it can be properly (re)opened and
13571
# appended to by config.status. When coming back to configure, we
13572
# need to make the FD available again.
13573
if test "$no_create" != yes; then
13575
ac_config_status_args=
13576
test "$silent" = yes &&
13577
ac_config_status_args="$ac_config_status_args --quiet"
13579
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13581
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
13582
# would make configure fail if this is the last instruction.
13583
$ac_cs_success || { (exit 1); exit 1; }
13585
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
13586
{ $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13587
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}