2 # From configure.ac Rev:14 by chappa@washington.edu.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for alpine 2.19.999.
6 # Report bugs to <chappa@washington.edu>.
9 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE
=1; export DUALCASE
# for MKS sh
20 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
28 case `(set -o) 2>/dev/null` in #(
40 # Printing a long string crashes Solaris 7 /usr/bin/printf.
41 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo_n='print
-rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
54 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
56 as_echo_n='/usr
/ucb
/echo -n'
58 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
63 expr "X$arg" : "X\\(.*\\)$as_nl";
64 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
69 as_echo_n='sh
-c $as_echo_n_body as_echo
'
72 as_echo='sh
-c $as_echo_body as_echo
'
75 # The user is always right.
76 if test "${PATH_SEPARATOR+set}" != set; then
78 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
86 # We need space, tab and new line, in precisely that order. Quoting is
87 # there to prevent editors from complaining about space-tab.
88 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
89 # splitting by setting IFS to empty value.)
92 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 # Use a proper internal environment variable to ensure we don't fall
139 # into an infinite loop, continuously re-executing ourselves.
140 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
141 _as_can_reexec
=no
; export _as_can_reexec
;
142 # We cannot yet assume a decent shell, so we have to provide a
143 # neutralization value for shells without unset; and this also
144 # works around shells that cannot unset nonexistent variables.
145 # Preserve -v and -x to the replacement shell.
148 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
150 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
155 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
156 # Admittedly, this is quite paranoid, since all the known shells bail
157 # out after a failed `exec'.
158 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
161 # We don't want this to propagate to other subprocesses.
162 { _as_can_reexec
=; unset _as_can_reexec
;}
163 if test "x$CONFIG_SHELL" = x
; then
164 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
167 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
168 # is contrary to our usage. Disable this feature.
169 alias -g '\${1+\"\$@\"}'='\"\$@\"'
172 case \`(set -o) 2>/dev/null\` in #(
180 as_required
="as_fn_return () { (exit \$1); }
181 as_fn_success () { as_fn_return 0; }
182 as_fn_failure () { as_fn_return 1; }
183 as_fn_ret_success () { return 0; }
184 as_fn_ret_failure () { return 1; }
187 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
188 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
189 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
190 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
191 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
194 exitcode=1; echo positional parameters were not saved.
196 test x\$exitcode = x0 || exit 1
198 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
199 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
200 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
201 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202 test \$(( 1 + 1 )) = 2 || exit 1"
203 if (eval "$as_required") 2>/dev
/null
; then :
208 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
213 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
216 test -z "$as_dir" && as_dir
=.
220 for as_base
in sh bash ksh sh5
; do
221 # Try only shells that exist, to save several forks.
222 as_shell
=$as_dir/$as_base
223 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
224 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
225 CONFIG_SHELL
=$as_shell as_have_required
=yes
226 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
234 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
235 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
236 CONFIG_SHELL
=$SHELL as_have_required
=yes
241 if test "x$CONFIG_SHELL" != x
; then :
243 # We cannot yet assume a decent shell, so we have to provide a
244 # neutralization value for shells without unset; and this also
245 # works around shells that cannot unset nonexistent variables.
246 # Preserve -v and -x to the replacement shell.
249 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
251 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
256 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
257 # Admittedly, this is quite paranoid, since all the known shells bail
258 # out after a failed `exec'.
259 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
263 if test x
$as_have_required = xno
; then :
264 $as_echo "$0: This script requires a shell more modern than all"
265 $as_echo "$0: the shells that I found on your system."
266 if test x
${ZSH_VERSION+set} = xset
; then
267 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
270 $as_echo "$0: Please tell bug-autoconf@gnu.org and
271 $0: chappa@washington.edu about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
280 SHELL
=${CONFIG_SHELL-/bin/sh}
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE
= GREP_OPTIONS
=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
291 # Portably unset VAR.
294 { eval $1=; unset $1;}
298 # as_fn_set_status STATUS
299 # -----------------------
300 # Set $? to STATUS, without forking.
308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
318 # Create "$as_dir" as a directory, including parents if necessary.
323 -*) as_dir
=.
/$as_dir;;
325 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
329 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
332 as_dirs
="'$as_qdir' $as_dirs"
333 as_dir
=`$as_dirname -- "$as_dir" ||
334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
335 X"$as_dir" : 'X\(//\)[^/]' \| \
336 X"$as_dir" : 'X\(//\)$' \| \
337 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
338 $as_echo X"$as_dir" |
339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
356 test -d "$as_dir" && break
358 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
359 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
364 # as_fn_executable_p FILE
365 # -----------------------
366 # Test if FILE is an executable regular file.
367 as_fn_executable_p
()
369 test -f "$1" && test -x "$1"
370 } # as_fn_executable_p
371 # as_fn_append VAR VALUE
372 # ----------------------
373 # Append the text in VALUE to the end of the definition contained in VAR. Take
374 # advantage of any shell optimizations that allow amortized linear growth over
375 # repeated appends, instead of the typical quadratic growth present in naive
377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
378 eval 'as_fn_append ()
391 # Perform arithmetic evaluation on the ARGs, and store the result in the
392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
393 # must be portable across $(()) and expr.
394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
402 as_val
=`expr "$@" || test $? -eq 1`
407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
408 # ----------------------------------------
409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
411 # script with STATUS, using 1 if that was 0.
414 as_status
=$1; test $as_status -eq 0 && as_status
=1
416 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
419 $as_echo "$as_me: error: $2" >&2
420 as_fn_exit
$as_status
423 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
424 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
430 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
436 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
442 as_me
=`$as_basename -- "$0" ||
443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
444 X"$0" : 'X\(//\)$' \| \
445 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
447 sed '/^.*\/\([^/][^/]*\)\/*$/{
461 # Avoid depending upon Character Ranges.
462 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
463 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
464 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
465 as_cr_digits
='0123456789'
466 as_cr_alnum
=$as_cr_Letters$as_cr_digits
469 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
470 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
471 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
472 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
473 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
485 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
489 chmod +x
"$as_me.lineno" ||
490 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
492 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
493 # already done that, so ensure we don't try to do so again and fall
494 # in an infinite loop. This has already happened in practice.
495 _as_can_reexec
=no
; export _as_can_reexec
496 # Don't try to exec as it changes $[0], causing all sort of problems
497 # (the dirname of $[0] is not the place where we might find the
498 # original and so on. Autoconf is especially sensitive to this).
500 # Exit status is that of the last command.
504 ECHO_C
= ECHO_N
= ECHO_T
=
505 case `echo -n x` in #(((((
507 case `echo 'xy\c'` in
508 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
510 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
517 rm -f conf$$ conf$$.exe conf$$.
file
518 if test -d conf$$.dir
; then
519 rm -f conf$$.dir
/conf$$.
file
522 mkdir conf$$.dir
2>/dev
/null
524 if (echo >conf$$.
file) 2>/dev
/null
; then
525 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
527 # ... but there are two gotchas:
528 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
529 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
530 # In both cases, we have to default to `cp -pR'.
531 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
533 elif ln conf$$.
file conf$$
2>/dev
/null
; then
541 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
542 rmdir conf$$.dir
2>/dev
/null
544 if mkdir
-p .
2>/dev
/null
; then
545 as_mkdir_p
='mkdir -p "$as_dir"'
547 test -d .
/-p && rmdir .
/-p
552 as_executable_p
=as_fn_executable_p
554 # Sed expression to map a string onto a valid CPP name.
555 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
557 # Sed expression to map a string onto a valid variable name.
558 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
562 # Check that we are running under the correct shell.
563 SHELL
=${CONFIG_SHELL-/bin/sh}
567 # Remove one level of quotation (which was required for Make).
568 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
573 if test "X$1" = X--no-reexec
; then
574 # Discard the --no-reexec flag, and continue.
576 elif test "X$1" = X--fallback-echo
; then
577 # Avoid inline document here, it may be left over
579 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
580 # Yippee, $ECHO works!
583 # Restart under the correct shell.
584 exec $SHELL "$0" --no-reexec ${1+"$@"}
587 if test "X$1" = X--fallback-echo
; then
588 # used as fallback echo
596 # The HP-UX ksh and POSIX shell print the target directory to stdout
598 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
600 if test -z "$lt_ECHO"; then
601 if test "X${echo_test_string+set}" != Xset
; then
602 # find a string as large as possible, as long as the shell can cope with it
603 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
604 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
605 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
606 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
613 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
614 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
615 test "X$echo_testing_string" = "X$echo_test_string"; then
618 # The Solaris, AIX, and Digital Unix default echo programs unquote
619 # backslashes. This makes it impossible to quote backslashes using
620 # echo "$something" | sed 's/\\/\\\\/g'
622 # So, first we look for a working echo in the user's PATH.
624 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
625 for dir
in $PATH /usr
/ucb
; do
627 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
628 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
629 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
630 test "X$echo_testing_string" = "X$echo_test_string"; then
637 if test "X$ECHO" = Xecho
; then
638 # We didn't find a better echo, so look for alternatives.
639 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
640 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
641 test "X$echo_testing_string" = "X$echo_test_string"; then
642 # This shell has a builtin print -r that does the trick.
644 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
645 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
646 # If we have ksh, try running configure again with it.
647 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
648 export ORIGINAL_CONFIG_SHELL
649 CONFIG_SHELL
=/bin
/ksh
651 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
655 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
656 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
657 test "X$echo_testing_string" = "X$echo_test_string"; then
660 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
661 test "X$echo_testing_string" = 'X\t' &&
662 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
663 test "X$echo_testing_string" = "X$echo_test_string"; then
664 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
666 SHELL
="$CONFIG_SHELL"
668 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
669 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
670 test "X$echo_testing_string" = 'X\t' &&
671 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
672 test "X$echo_testing_string" = "X$echo_test_string"; then
673 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
675 # maybe with a smaller string...
678 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
679 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
686 if test "$prev" != 'sed 50q "$0"'; then
687 echo_test_string
=`eval $prev`
688 export echo_test_string
689 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
691 # Oops. We lost completely, so just stick with echo.
700 # Copy echo and quote the copy suitably for passing to libtool from
701 # the Makefile, instead of quoting the original, which is used later.
703 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
704 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
710 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
714 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
715 # so uname gets run too.
716 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
721 ac_default_prefix
=/usr
/local
723 ac_config_libobj_dir
=.
730 # Identity of this package.
731 PACKAGE_NAME
='alpine'
732 PACKAGE_TARNAME
='alpine'
733 PACKAGE_VERSION
='2.19.999'
734 PACKAGE_STRING
='alpine 2.19.999'
735 PACKAGE_BUGREPORT
='chappa@washington.edu'
738 ac_unique_file
="include/system.h"
739 # Factoring default headers for most tests.
740 ac_includes_default
="\
742 #ifdef HAVE_SYS_TYPES_H
743 # include <sys/types.h>
745 #ifdef HAVE_SYS_STAT_H
746 # include <sys/stat.h>
752 # ifdef HAVE_STDLIB_H
757 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
762 #ifdef HAVE_STRINGS_H
763 # include <strings.h>
765 #ifdef HAVE_INTTYPES_H
766 # include <inttypes.h>
776 ac_subst_vars
='am__EXEEXT_FALSE
798 alpine_interactive_spellcheck
800 alpine_simple_spellcheck
871 MAINTAINER_MODE_FALSE
881 INSTALL_STRIP_PROGRAM
923 program_transform_name
936 enable_option_checking
937 enable_maintainer_mode
938 enable_dependency_tracking
953 enable_osx_universal_binaries
963 enable_background_post
971 with_simple_spellcheck
972 with_interactive_spellcheck
974 with_system_fixed_pinerc
975 with_local_support_info
976 with_mailcheck_interval
977 with_checkpoint_interval
978 with_checkpoint_frequency
981 with_max_display_rows
982 with_max_display_columns
988 with_forwarded_keyword
992 with_default_save_folder
993 with_default_legacy_postponed_folder
994 with_default_postponed_folder
995 with_default_trash_folder
996 with_default_interrupted_mail
997 with_default_dead_letter_folder
998 with_default_mail_directory
999 with_default_inbox_name
1000 with_default_signature_file
1001 with_default_elm_style_save
1002 with_default_header_in_reply
1003 with_default_old_style_reply
1004 with_default_use_only_domain_name
1005 with_default_save_by_sender
1006 with_default_sort_key
1007 with_default_addressbook_sort_rule
1008 with_default_folder_sort_rule
1009 with_default_saved_message_name_rule
1010 with_default_fcc_rule
1011 with_default_standard_printer
1012 with_default_ansi_printer
1013 with_default_addressbook
1014 with_default_local_fullname
1015 with_default_local_address
1016 with_default_keyboard_lock_count
1017 with_default_remote_addressbook_history
1018 with_smime_public_cert_directory
1019 with_smime_private_key_directory
1020 with_smime_cacert_directory
1021 with_default_printer
1023 with_local_password_cache
1024 with_local_password_cache_method
1025 with_default_sshpath
1030 with_ssl_include_dir
1034 with_krb5_include_dir
1038 with_ldap_include_dir
1046 with_system_mail_directory
1047 with_c_client_target
1050 ac_precious_vars
='build_alias
1061 # Initialize some variables set by options.
1063 ac_init_version
=false
1064 ac_unrecognized_opts
=
1065 ac_unrecognized_sep
=
1066 # The variables have the same names as the options, with
1067 # dashes changed to underlines.
1068 cache_file
=/dev
/null
1075 program_transform_name
=s
,x
,x
,
1083 # Installation directory options.
1084 # These are left unexpanded so users can "make install exec_prefix=/foo"
1085 # and all the variables that are supposed to be based on exec_prefix
1086 # by default will actually change.
1087 # Use braces instead of parens because sh, perl, etc. also accept them.
1088 # (The list follows the same order as the GNU Coding Standards.)
1089 bindir
='${exec_prefix}/bin'
1090 sbindir
='${exec_prefix}/sbin'
1091 libexecdir
='${exec_prefix}/libexec'
1092 datarootdir
='${prefix}/share'
1093 datadir
='${datarootdir}'
1094 sysconfdir
='${prefix}/etc'
1095 sharedstatedir
='${prefix}/com'
1096 localstatedir
='${prefix}/var'
1097 Includedir
='${prefix}/include'
1098 oldIncludedir
='/usr/include'
1099 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1100 infodir
='${datarootdir}/info'
1105 libdir
='${exec_prefix}/lib'
1106 localedir
='${datarootdir}/locale'
1107 mandir
='${datarootdir}/man'
1113 # If the previous option needs an argument, assign it.
1114 if test -n "$ac_prev"; then
1115 eval $ac_prev=\
$ac_option
1121 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1126 # Accept the important Cygnus configure options, so we can diagnose typos.
1128 case $ac_dashdash$ac_option in
1132 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1134 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1135 bindir
=$ac_optarg ;;
1137 -build |
--build |
--buil |
--bui |
--bu)
1138 ac_prev
=build_alias
;;
1139 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1140 build_alias
=$ac_optarg ;;
1142 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1143 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1144 ac_prev
=cache_file
;;
1145 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1146 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1147 cache_file
=$ac_optarg ;;
1149 --config-cache |
-C)
1150 cache_file
=config.cache
;;
1152 -datadir |
--datadir |
--datadi |
--datad)
1154 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1155 datadir
=$ac_optarg ;;
1157 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1158 |
--dataroo |
--dataro |
--datar)
1159 ac_prev
=datarootdir
;;
1160 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1161 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1162 datarootdir
=$ac_optarg ;;
1164 -disable-* |
--disable-*)
1165 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1168 as_fn_error $?
"invalid feature name: $ac_useropt"
1169 ac_useropt_orig
=$ac_useropt
1170 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1171 case $ac_user_opts in
1173 "enable_
$ac_useropt"
1175 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1176 ac_unrecognized_sep
=', ';;
1178 eval enable_
$ac_useropt=no
;;
1180 -docdir |
--docdir |
--docdi |
--doc |
--do)
1182 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1183 docdir
=$ac_optarg ;;
1185 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1187 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1188 dvidir
=$ac_optarg ;;
1190 -enable-* |
--enable-*)
1191 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1194 as_fn_error $?
"invalid feature name: $ac_useropt"
1195 ac_useropt_orig
=$ac_useropt
1196 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1199 "enable_
$ac_useropt"
1201 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1202 ac_unrecognized_sep
=', ';;
1204 eval enable_
$ac_useropt=\
$ac_optarg ;;
1206 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1207 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1208 |
--exec |
--exe |
--ex)
1209 ac_prev
=exec_prefix
;;
1210 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1211 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1212 |
--exec=* |
--exe=* |
--ex=*)
1213 exec_prefix
=$ac_optarg ;;
1215 -gas |
--gas |
--ga |
--g)
1216 # Obsolete; use --with-gas.
1219 -help |
--help |
--hel |
--he |
-h)
1220 ac_init_help
=long
;;
1221 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1222 ac_init_help
=recursive
;;
1223 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1224 ac_init_help
=short
;;
1226 -host |
--host |
--hos |
--ho)
1227 ac_prev
=host_alias
;;
1228 -host=* |
--host=* |
--hos=* |
--ho=*)
1229 host_alias
=$ac_optarg ;;
1231 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1233 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1235 htmldir
=$ac_optarg ;;
1237 -Includedir |
--includedir |
--includedi |
--included |
--include \
1238 |
--includ |
--inclu |
--incl |
--inc)
1239 ac_prev
=Includedir
;;
1240 -Includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1241 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1242 Includedir
=$ac_optarg ;;
1244 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1246 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1247 infodir
=$ac_optarg ;;
1249 -libdir |
--libdir |
--libdi |
--libd)
1251 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1252 libdir
=$ac_optarg ;;
1254 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1255 |
--libexe |
--libex |
--libe)
1256 ac_prev
=libexecdir
;;
1257 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1258 |
--libexe=* |
--libex=* |
--libe=*)
1259 libexecdir
=$ac_optarg ;;
1261 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1262 ac_prev
=localedir
;;
1263 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1264 localedir
=$ac_optarg ;;
1266 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1267 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1268 ac_prev
=localstatedir
;;
1269 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1270 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1271 localstatedir
=$ac_optarg ;;
1273 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1275 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1276 mandir
=$ac_optarg ;;
1278 -nfp |
--nfp |
--nf)
1279 # Obsolete; use --without-fp.
1282 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1283 |
--no-cr |
--no-c |
-n)
1286 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1287 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1290 -oldIncludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1291 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1292 |
--oldin |
--oldi |
--old |
--ol |
--o)
1293 ac_prev
=oldIncludedir
;;
1294 -oldIncludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1295 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1296 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1297 oldIncludedir
=$ac_optarg ;;
1299 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1301 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1302 prefix
=$ac_optarg ;;
1304 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1305 |
--program-pre |
--program-pr |
--program-p)
1306 ac_prev
=program_prefix
;;
1307 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1308 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1309 program_prefix
=$ac_optarg ;;
1311 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1312 |
--program-suf |
--program-su |
--program-s)
1313 ac_prev
=program_suffix
;;
1314 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1315 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1316 program_suffix
=$ac_optarg ;;
1318 -program-transform-name |
--program-transform-name \
1319 |
--program-transform-nam |
--program-transform-na \
1320 |
--program-transform-n |
--program-transform- \
1321 |
--program-transform |
--program-transfor \
1322 |
--program-transfo |
--program-transf \
1323 |
--program-trans |
--program-tran \
1324 |
--progr-tra |
--program-tr |
--program-t)
1325 ac_prev
=program_transform_name
;;
1326 -program-transform-name=* |
--program-transform-name=* \
1327 |
--program-transform-nam=* |
--program-transform-na=* \
1328 |
--program-transform-n=* |
--program-transform-=* \
1329 |
--program-transform=* |
--program-transfor=* \
1330 |
--program-transfo=* |
--program-transf=* \
1331 |
--program-trans=* |
--program-tran=* \
1332 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1333 program_transform_name
=$ac_optarg ;;
1335 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1337 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1338 pdfdir
=$ac_optarg ;;
1340 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1342 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1345 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1346 |
-silent |
--silent |
--silen |
--sile |
--sil)
1349 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1351 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1353 sbindir
=$ac_optarg ;;
1355 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1356 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1357 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1359 ac_prev
=sharedstatedir
;;
1360 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1361 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1362 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1364 sharedstatedir
=$ac_optarg ;;
1366 -site |
--site |
--sit)
1368 -site=* |
--site=* |
--sit=*)
1371 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1373 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1374 srcdir
=$ac_optarg ;;
1376 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1377 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1378 ac_prev
=sysconfdir
;;
1379 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1380 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1381 sysconfdir
=$ac_optarg ;;
1383 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1384 ac_prev
=target_alias
;;
1385 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1386 target_alias
=$ac_optarg ;;
1388 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1391 -version |
--version |
--versio |
--versi |
--vers |
-V)
1392 ac_init_version
=: ;;
1395 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1396 # Reject names that are not valid shell variable names.
1397 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1398 as_fn_error $?
"invalid package name: $ac_useropt"
1399 ac_useropt_orig
=$ac_useropt
1400 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1401 case $ac_user_opts in
1405 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1406 ac_unrecognized_sep
=', ';;
1408 eval with_
$ac_useropt=\
$ac_optarg ;;
1410 -without-* |
--without-*)
1411 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1412 # Reject names that are not valid shell variable names.
1413 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1414 as_fn_error $?
"invalid package name: $ac_useropt"
1415 ac_useropt_orig
=$ac_useropt
1416 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1417 case $ac_user_opts in
1421 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1422 ac_unrecognized_sep
=', ';;
1424 eval with_
$ac_useropt=no
;;
1427 # Obsolete; use --with-x.
1430 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1431 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1432 ac_prev
=x_includes
;;
1433 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1434 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1435 x_includes
=$ac_optarg ;;
1437 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1438 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1439 ac_prev
=x_libraries
;;
1440 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1441 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1442 x_libraries
=$ac_optarg ;;
1444 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1445 Try \`$0 --help' for more information"
1449 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1450 # Reject names that are not valid shell variable names.
1451 case $ac_envvar in #(
1452 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1453 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1455 eval $ac_envvar=\
$ac_optarg
1456 export $ac_envvar ;;
1459 # FIXME: should be removed in autoconf 3.0.
1460 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1461 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1462 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1463 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1469 if test -n "$ac_prev"; then
1470 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1471 as_fn_error $?
"missing argument to $ac_option"
1474 if test -n "$ac_unrecognized_opts"; then
1475 case $enable_option_checking in
1477 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1478 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1482 # Check all directory arguments for consistency.
1483 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1484 datadir sysconfdir sharedstatedir localstatedir Includedir \
1485 oldIncludedir docdir infodir htmldir dvidir pdfdir psdir \
1486 libdir localedir mandir
1488 eval ac_val
=\$
$ac_var
1489 # Remove trailing slashes.
1492 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1493 eval $ac_var=\
$ac_val;;
1495 # Be sure to have absolute directory names.
1497 [\\/$
]* | ?
:[\\/]* ) continue;;
1498 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1500 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1503 # There might be people who depend on the old broken behavior: `$host'
1504 # used to hold the argument of --host etc.
1505 # FIXME: To remove some day.
1508 target
=$target_alias
1510 # FIXME: To remove some day.
1511 if test "x$host_alias" != x
; then
1512 if test "x$build_alias" = x
; then
1513 cross_compiling
=maybe
1514 elif test "x$build_alias" != "x$host_alias"; then
1520 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1522 test "$silent" = yes && exec 6>/dev
/null
1525 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1526 ac_ls_di
=`ls -di .` &&
1527 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1528 as_fn_error $?
"working directory cannot be determined"
1529 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1530 as_fn_error $?
"pwd does not report name of working directory"
1533 # Find the source files, if location was not specified.
1534 if test -z "$srcdir"; then
1535 ac_srcdir_defaulted
=yes
1536 # Try the directory containing this script, then the parent directory.
1537 ac_confdir
=`$as_dirname -- "$as_myself" ||
1538 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1539 X"$as_myself" : 'X\(//\)[^/]' \| \
1540 X"$as_myself" : 'X\(//\)$' \| \
1541 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1542 $as_echo X"$as_myself" |
1543 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1561 if test ! -r "$srcdir/$ac_unique_file"; then
1565 ac_srcdir_defaulted
=no
1567 if test ! -r "$srcdir/$ac_unique_file"; then
1568 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1569 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1571 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1573 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1575 # When building in place, set srcdir=.
1576 if test "$ac_abs_confdir" = "$ac_pwd"; then
1579 # Remove unnecessary trailing slashes from srcdir.
1580 # Double slashes in file names in object file debugging info
1581 # mess up M-x gdb in Emacs.
1583 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1585 for ac_var
in $ac_precious_vars; do
1586 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1587 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1588 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1589 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1593 # Report the --help message.
1595 if test "$ac_init_help" = "long"; then
1596 # Omit some internal or obsolete options to make the list less imposing.
1597 # This message is too long to be a string in the A/UX 3.1 sh.
1599 \`configure' configures alpine 2.19.999 to adapt to many kinds of systems.
1601 Usage: $0 [OPTION]... [VAR=VALUE]...
1603 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1604 VAR=VALUE. See below for descriptions of some of the useful variables.
1606 Defaults for the options are specified in brackets.
1609 -h, --help display this help and exit
1610 --help=short display options specific to this package
1611 --help=recursive display the short help of all the Included packages
1612 -V, --version display version information and exit
1613 -q, --quiet, --silent do not print \`checking ...' messages
1614 --cache-file=FILE cache test results in FILE [disabled]
1615 -C, --config-cache alias for \`--cache-file=config.cache'
1616 -n, --no-create do not create output files
1617 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1619 Installation directories:
1620 --prefix=PREFIX install architecture-independent files in PREFIX
1621 [$ac_default_prefix]
1622 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1625 By default, \`make install' will install all the files in
1626 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1627 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1628 for instance \`--prefix=\$HOME'.
1630 For better control, use the options below.
1632 Fine tuning of the installation directories:
1633 --bindir=DIR user executables [EPREFIX/bin]
1634 --sbindir=DIR system admin executables [EPREFIX/sbin]
1635 --libexecdir=DIR program executables [EPREFIX/libexec]
1636 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1637 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1638 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1639 --libdir=DIR object code libraries [EPREFIX/lib]
1640 --Includedir=DIR C header files [PREFIX/include]
1641 --oldIncludedir=DIR C header files for non-gcc [/usr/include]
1642 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1643 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1644 --infodir=DIR info documentation [DATAROOTDIR/info]
1645 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1646 --mandir=DIR man documentation [DATAROOTDIR/man]
1647 --docdir=DIR documentation root [DATAROOTDIR/doc/alpine]
1648 --htmldir=DIR html documentation [DOCDIR]
1649 --dvidir=DIR dvi documentation [DOCDIR]
1650 --pdfdir=DIR pdf documentation [DOCDIR]
1651 --psdir=DIR ps documentation [DOCDIR]
1657 --program-prefix=PREFIX prepend PREFIX to installed program names
1658 --program-suffix=SUFFIX append SUFFIX to installed program names
1659 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1662 --build=BUILD configure
for building on BUILD
[guessed
]
1663 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1667 if test -n "$ac_init_help"; then
1668 case $ac_init_help in
1669 short | recursive
) echo "Configuration of alpine 2.19.999:";;
1674 --disable-option-checking ignore unrecognized
--enable/--with options
1675 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1676 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1677 --enable-maintainer-mode enable make rules and dependencies not useful
1678 (and sometimes confusing
) to the casual installer
1679 --disable-dependency-tracking speeds up one-time build
1680 --enable-dependency-tracking do not reject slow dependency extractors
1681 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1682 --enable-static[=PKGS
] build static libraries
[default
=yes]
1683 --enable-fast-install[=PKGS
]
1684 optimize
for fast installation
[default
=yes]
1685 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1686 --disable-nls do not use Native Language Support
1687 --disable-rpath do not hardcode runtime library paths
1688 --enable-dmalloc Enable dmalloc debugging
1689 --enable-osx-universal-binaries
1690 Produce universal binaries under OS X
[[default
=no
]]
1691 --disable-debug Exclude debug messages from
source
1692 --disable-optimization Exclude optimizing compiler flags
1693 --disable-mouse Disable mouse support
1694 --enable-quotas Enable disk quota checking on startup
1695 --disable-from-changing Disallow users changing From addresss
1696 --disable-background-post
1697 Disable background posting
1698 --disable-keyboard-lock Disable keyboard locking
1699 --enable-from-encoding Enable From encoding
in sent messages
1702 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1703 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1704 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1706 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1707 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1708 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1709 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1710 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1711 --without-libintl-prefix don't search
for libintl
in includedir and libdir
1712 --with-dmalloc-dir=DIR Root of dmalloc lib
/include path
1713 --with-ps-cmd="CMD" Use this
command to check running commands. Default
:
1715 --with-localedir=DIR Name of
gettext locale directory
1716 --with-include-path=PATHS
1717 Colon-separated list of directories used
for include
1719 --with-lib-path=PATHS Colon-separated list of directories used
for library
1721 --with-pubcookie Include support
for UW-Pubcookie Web Authentication
1722 --with-web-bin=PATH Directory to hold Web Alpine component binary files
1723 --with-smtp-msa=PATH Local Mail Submission Agent
(sendmail
)
1724 --with-smtp-msa-flags=FLAGS
1725 MSA flags
for SMTP on stdin
/stdout
(-bs -odb -oem)
1726 --with-npa=PATH Posting agent when no nntp-servers defined
(inews
)
1727 --with-npa-flags=FLAGS Flags to allow posting via
local agent
(-h)
1728 --with-password-prog=PATH
1729 Password change program
(/bin
/passwd
)
1730 --with-simple-spellcheck=PROG
1731 Spellcheck program reads stdin
, emits misspellings
1733 --with-interactive-spellcheck=PROG
1734 Interactive
, filewise spell checker
1735 --with-system-pinerc=VALUE
1736 System pinerc
(/usr
/local
/lib
/pine.conf
)
1737 --with-system-fixed-pinerc=VALUE
1738 System fixed pinerc
(/usr
/local
/lib
/pine.conf.fixed
)
1739 --with-local-support-info=VALUE
1740 Local Support Info File
(/usr
/local
/lib
/pine.info
)
1741 --with-mailcheck-interval=VALUE
1742 Specify default mail-check-interval
(150)
1743 --with-checkpoint-interval=VALUE
1744 Specify default checkpoint-interval
(420)
1745 --with-checkpoint-frequency=VALUE
1746 State change count before checkpoint
(12)
1747 --with-display-rows=VALUE
1748 Initial rows on display
(24)
1749 --with-display-columns=VALUE
1750 Initial columns on display
(80)
1751 --with-max-display-rows=VALUE
1752 Maximum display rows
(200)
1753 --with-max-display-columns=VALUE
1754 Maximum display columns
(500)
1755 --with-fill-column=VALUE
1756 Default fill
column (74)
1757 --with-max_fill-column=VALUE
1758 Maximum fill
column (80)
1759 --with-debug-level=VALUE
1760 Specify default debug verbosity level
(2)
1761 --with-debug-files=VALUE
1762 Specify number of debug files
(4)
1763 --with-debug-file=VALUE Specify debug
file name
(.pine-debug
)
1764 --with-forwarded-keyword=VALUE
1765 IMAP
(c-client
) keyword to store forwarded status
1767 --with-display-overlap=VALUE
1768 Lines preserved
while paging
(2)
1769 --with-display-margin=VALUE
1770 Lines visible
while scrolling
(0)
1771 --with-default-fcc=VALUE
1772 Default sent
mail folder
(sent-mail
)
1773 --with-default-save-folder=VALUE
1774 Default save folder
(saved-messages
)
1775 --with-default-legacy-postponed-folder=VALUE
1776 Pre Pine
3.90 postponed folder
(postponed-mail
)
1777 --with-default-postponed-folder=VALUE
1778 Default postponed folder
(postponed-msgs
)
1779 --with-default-trash-folder=VALUE
1780 Default Trash folder
for Web Alpine
(Trash
)
1781 --with-default-interrupted-mail=VALUE
1782 Default folder
for interrupted
mail
1783 (.pine-interrupted-mail
)
1784 --with-default-dead-letter-folder=VALUE
1785 Default dead letter folder
(dead.letter
)
1786 --with-default-mail-directory=VALUE
1787 Default
mail directory
(mail)
1788 --with-default-inbox-name=VALUE
1789 Default inbox name
(INBOX
)
1790 --with-default-signature-file=VALUE
1791 Default signature
file (.signature
)
1792 --with-default-elm-style-save=VALUE
1793 Default to Elm style save
(no
)
1794 --with-default-header-in-reply=VALUE
1795 Include header
in reply
(no
)
1796 --with-default-old-style-reply=VALUE
1797 Default to old style reply
(no
)
1798 --with-default-use-only-domain-name=VALUE
1799 Default to using only the domain name
(no
)
1800 --with-default-save-by-sender=VALUE
1801 Default to save by sender
(no
)
1802 --with-default-sort-key=VALUE
1803 Default
sort key
(arrival
)
1804 --with-default-addressbook-sort-rule=VALUE
1805 Default addressbook
sort rule
1806 (fullname-with-lists-last
)
1807 --with-default-folder-sort-rule=VALUE
1808 Default folder
sort rule
(alphabetical
)
1809 --with-default-saved-message-name-rule=VALUE
1810 Default saved message name rule
(default-folder
)
1811 --with-default-fcc-rule=VALUE
1812 Default fcc rule
(default-fcc
)
1813 --with-default-standard-printer=VALUE
1814 Default standard printern
(lpr
)
1815 --with-default-ansi-printer=VALUE
1816 ANSI printer definition
(attached-to-ansi
)
1817 --with-default-addressbook=VALUE
1818 Default addressbook name
(.addressbook
)
1819 --with-default-local-fullname=VALUE
1820 Default
local support fullname
("Local Support")
1821 --with-default-local-address=VALUE
1822 Default
local support address
(postmaster
)
1823 --with-default-keyboard-lock-count=VALUE
1824 Default keyboard lock count
(1)
1825 --with-default-remote-addressbook-history=VALUE
1826 Default address book
history count
(3)
1827 --with-smime-public-cert-directory=VALUE
1828 Default Public Cert Directory
(.alpine-smime
/public
)
1829 --with-smime-private-key-directory=VALUE
1830 Default Private Key Directory
1831 (.alpine-smime
/private
)
1832 --with-smime-cacert-directory=VALUE
1833 Default Cert Authority Directory
(.alpine-smime
/ca
)
1834 --with-default-printer=VALUE
1835 Default printer
(ANSI_PRINTER
)
1836 --with-passfile=FILENAME
1837 Password cache
file (recommended when S
/MIME is
1838 enabled and configured
)
1839 --without-local-password-cache
1840 Disable OS-specific password cache
, if supported
1841 --with-local-password-cache-method
1842 OS-specific credential cache
(OSX
=APPLEKEYCHAIN
,
1844 --with-default-sshpath=FILENAME
1845 set default value of
ssh command path
(defining
1846 should cause
ssh to be preferred to
rsh)
1847 --with-default-sshcmd=PERCENT_S_STRING
1848 set default value of
ssh command string
(usually
"%s
1849 %s -l %s exec /etc/r%sd")
1850 --without-ssl Disable SSL support
(OpenSSL
)
1851 --with-ssl-dir=DIR Root of SSL lib
/include path
1852 --with-ssl-certs-dir=DIR
1853 Path to SSL certificate directory
1854 --with-ssl-include-dir=DIR
1855 SSL include
file path
1856 --with-ssl-lib-dir=DIR SSL library path
1857 --without-krb5 Disable Kerberos support
1858 --with-krb5-dir=DIR Root of Kerberos lib
/include path
1859 --with-krb5-include-dir=DIR
1860 Kerberos include
file path
1861 --with-krb5-lib-dir=DIR Kerberos library path
1862 --without-ldap Disable LDAP query support
1863 --with-ldap-dir=DIR Root of LDAP lib
/include path
1864 --with-ldap-include-dir=DIR
1865 Directory containing LDAP include files
1866 --with-ldap-lib-dir=DIR LDAP library path
1867 --without-smime Disable S
/MIME
1868 --without-tcl Disable TCL
, thus Web Alpine support
1869 --with-tcl-lib=LIBRARY Specific TCL Library
, like
\"tcl8.6
\"
1870 --with-tcl-include=DIR Directory containing TCL include files
1871 --with-supplied-regex Use regex library supplied with alpine
1872 --without-pthread Do NOT
test for nor build with POSIX thread support
1873 --with-system-mail-directory=DIR
1874 Directory where
local mail is delivered
1875 --with-c-client-target=TARGET
1876 IMAP build target
(see imap
/Makefile
)
1877 --without-ipv6 Disable IPv6
, primarily to work around resolver
1880 Some influential environment variables
:
1881 CC C compiler
command
1882 CFLAGS C compiler flags
1883 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1884 nonstandard directory
<lib dir
>
1885 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1886 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1887 you have headers
in a nonstandard directory
<include dir
>
1890 Use these variables to override the choices made by
`configure' or to help
1891 it to find libraries and programs with nonstandard names/locations.
1893 Report bugs to <chappa@washington.edu>.
1898 if test "$ac_init_help" = "recursive"; then
1899 # If there are subdirs, report their specific --help.
1900 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1901 test -d "$ac_dir" ||
1902 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1907 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1909 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1910 # A ".." for each directory in $ac_dir_suffix.
1911 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1912 case $ac_top_builddir_sub in
1913 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1914 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1917 ac_abs_top_builddir=$ac_pwd
1918 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1919 # for backward compatibility:
1920 ac_top_builddir=$ac_top_build_prefix
1923 .) # We are building in place.
1925 ac_top_srcdir=$ac_top_builddir_sub
1926 ac_abs_top_srcdir=$ac_pwd ;;
1927 [\\/]* | ?:[\\/]* ) # Absolute name.
1928 ac_srcdir=$srcdir$ac_dir_suffix;
1929 ac_top_srcdir=$srcdir
1930 ac_abs_top_srcdir=$srcdir ;;
1932 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1933 ac_top_srcdir=$ac_top_build_prefix$srcdir
1934 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1936 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1938 cd "$ac_dir" || { ac_status=$?; continue; }
1939 # Check for guested configure.
1940 if test -f "$ac_srcdir/configure.gnu"; then
1942 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1943 elif test -f "$ac_srcdir/configure"; then
1945 $SHELL "$ac_srcdir/configure" --help=recursive
1947 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1949 cd "$ac_pwd" || { ac_status=$?; break; }
1953 test -n "$ac_init_help" && exit $ac_status
1954 if $ac_init_version; then
1956 alpine configure 2.19.999
1957 generated by GNU Autoconf 2.69
1959 Copyright (C) 2012 Free Software Foundation, Inc.
1960 This configure script is free software; the Free Software Foundation
1961 gives unlimited permission to copy, distribute and modify it.
1966 ## ------------------------ ##
1967 ## Autoconf initialization. ##
1968 ## ------------------------ ##
1970 # ac_fn_c_try_compile LINENO
1971 # --------------------------
1972 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1973 ac_fn_c_try_compile ()
1975 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1976 rm -f conftest.$ac_objext
1977 if { { ac_try="$ac_compile"
1979 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1980 *) ac_try_echo
=$ac_try;;
1982 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1983 $as_echo "$ac_try_echo"; } >&5
1984 (eval "$ac_compile") 2>conftest.err
1986 if test -s conftest.err
; then
1987 grep -v '^ *+' conftest.err
>conftest.er1
1988 cat conftest.er1
>&5
1989 mv -f conftest.er1 conftest.err
1991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1992 test $ac_status = 0; } && {
1993 test -z "$ac_c_werror_flag" ||
1994 test ! -s conftest.err
1995 } && test -s conftest.
$ac_objext; then :
1998 $as_echo "$as_me: failed program was:" >&5
1999 sed 's/^/| /' conftest.
$ac_ext >&5
2003 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004 as_fn_set_status
$ac_retval
2006 } # ac_fn_c_try_compile
2008 # ac_fn_c_try_link LINENO
2009 # -----------------------
2010 # Try to link conftest.$ac_ext, and return whether this succeeded.
2013 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2014 rm -f conftest.
$ac_objext conftest
$ac_exeext
2015 if { { ac_try
="$ac_link"
2017 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2018 *) ac_try_echo=$ac_try;;
2020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2021 $as_echo "$ac_try_echo"; } >&5
2022 (eval "$ac_link") 2>conftest.err
2024 if test -s conftest.err; then
2025 grep -v '^ *+' conftest.err >conftest.er1
2026 cat conftest.er1 >&5
2027 mv -f conftest.er1 conftest.err
2029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2030 test $ac_status = 0; } && {
2031 test -z "$ac_c_werror_flag" ||
2032 test ! -s conftest.err
2033 } && test -s conftest$ac_exeext && {
2034 test "$cross_compiling" = yes ||
2035 test -x conftest$ac_exeext
2039 $as_echo "$as_me: failed program was:" >&5
2040 sed 's/^/| /' conftest.$ac_ext >&5
2044 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2045 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2046 # interfere with the next link command; also delete a directory that is
2047 # left behind by Apple's compiler. We do this before executing the actions.
2048 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2049 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2050 as_fn_set_status $ac_retval
2052 } # ac_fn_c_try_link
2054 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2055 # -------------------------------------------------------
2056 # Tests whether HEADER exists and can be compiled using the include files in
2057 # INCLUDES, setting the cache variable VAR accordingly.
2058 ac_fn_c_check_header_compile ()
2060 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2062 $as_echo_n "checking for $2... " >&6; }
2063 if eval \${$3+:} false; then :
2064 $as_echo_n "(cached) " >&6
2066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2067 /* end confdefs.h. */
2071 if ac_fn_c_try_compile "$LINENO"; then :
2076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2080 $as_echo "$ac_res" >&6; }
2081 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2083 } # ac_fn_c_check_header_compile
2085 # ac_fn_c_try_cpp LINENO
2086 # ----------------------
2087 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2091 if { { ac_try="$ac_cpp conftest.$ac_ext"
2093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2094 *) ac_try_echo
=$ac_try;;
2096 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2097 $as_echo "$ac_try_echo"; } >&5
2098 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2100 if test -s conftest.err
; then
2101 grep -v '^ *+' conftest.err
>conftest.er1
2102 cat conftest.er1
>&5
2103 mv -f conftest.er1 conftest.err
2105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2106 test $ac_status = 0; } > conftest.i
&& {
2107 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2108 test ! -s conftest.err
2112 $as_echo "$as_me: failed program was:" >&5
2113 sed 's/^/| /' conftest.
$ac_ext >&5
2117 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2118 as_fn_set_status
$ac_retval
2122 # ac_fn_c_try_run LINENO
2123 # ----------------------
2124 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2125 # that executables *can* be run.
2128 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2129 if { { ac_try
="$ac_link"
2131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2132 *) ac_try_echo=$ac_try;;
2134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2135 $as_echo "$ac_try_echo"; } >&5
2136 (eval "$ac_link") 2>&5
2138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2139 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2140 { { case "(($ac_try" in
2141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2142 *) ac_try_echo
=$ac_try;;
2144 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2145 $as_echo "$ac_try_echo"; } >&5
2146 (eval "$ac_try") 2>&5
2148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2149 test $ac_status = 0; }; }; then :
2152 $as_echo "$as_me: program exited with status $ac_status" >&5
2153 $as_echo "$as_me: failed program was:" >&5
2154 sed 's/^/| /' conftest.
$ac_ext >&5
2156 ac_retval
=$ac_status
2158 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2159 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2160 as_fn_set_status
$ac_retval
2164 # ac_fn_c_check_func LINENO FUNC VAR
2165 # ----------------------------------
2166 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2167 ac_fn_c_check_func
()
2169 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2171 $as_echo_n "checking for $2... " >&6; }
2172 if eval \
${$3+:} false
; then :
2173 $as_echo_n "(cached) " >&6
2175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2176 /* end confdefs.h. */
2177 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2179 #define $2 innocuous_$2
2181 /* System header to define __stub macros and hopefully few prototypes,
2182 which can conflict with char $2 (); below.
2183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2184 <limits.h> exists even on freestanding compilers. */
2187 # include <limits.h>
2189 # include <assert.h>
2194 /* Override any GCC internal prototype to avoid an error.
2195 Use char because int might match the return type of a GCC
2196 builtin and then its argument prototype would still apply. */
2201 /* The GNU C library defines this for functions which it implements
2202 to always fail with ENOSYS. Some functions are actually named
2203 something starting with __ and the normal name is an alias. */
2204 #if defined __stub_$2 || defined __stub___$2
2216 if ac_fn_c_try_link
"$LINENO"; then :
2221 rm -f core conftest.err conftest.
$ac_objext \
2222 conftest
$ac_exeext conftest.
$ac_ext
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2226 $as_echo "$ac_res" >&6; }
2227 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2229 } # ac_fn_c_check_func
2231 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2232 # -------------------------------------------------------
2233 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2234 # the include files in INCLUDES and setting the cache variable VAR
2236 ac_fn_c_check_header_mongrel
()
2238 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2239 if eval \
${$3+:} false
; then :
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2241 $as_echo_n "checking for $2... " >&6; }
2242 if eval \
${$3+:} false
; then :
2243 $as_echo_n "(cached) " >&6
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2247 $as_echo "$ac_res" >&6; }
2249 # Is the header compilable?
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2251 $as_echo_n "checking $2 usability... " >&6; }
2252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2253 /* end confdefs.h. */
2257 if ac_fn_c_try_compile
"$LINENO"; then :
2258 ac_header_compiler
=yes
2260 ac_header_compiler
=no
2262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2264 $as_echo "$ac_header_compiler" >&6; }
2266 # Is the header present?
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2268 $as_echo_n "checking $2 presence... " >&6; }
2269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2270 /* end confdefs.h. */
2273 if ac_fn_c_try_cpp
"$LINENO"; then :
2274 ac_header_preproc
=yes
2276 ac_header_preproc
=no
2278 rm -f conftest.err conftest.i conftest.
$ac_ext
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2280 $as_echo "$ac_header_preproc" >&6; }
2282 # So? What about this header?
2283 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2286 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2288 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2292 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2294 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2296 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2298 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2300 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2301 ( $as_echo "## ------------------------------------ ##
2302 ## Report this to chappa@washington.edu ##
2303 ## ------------------------------------ ##"
2304 ) |
sed "s/^/$as_me: WARNING: /" >&2
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2308 $as_echo_n "checking for $2... " >&6; }
2309 if eval \
${$3+:} false
; then :
2310 $as_echo_n "(cached) " >&6
2312 eval "$3=\$ac_header_compiler"
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2316 $as_echo "$ac_res" >&6; }
2318 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2320 } # ac_fn_c_check_header_mongrel
2322 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2323 # -------------------------------------------
2324 # Tests whether TYPE exists after having Included INCLUDES, setting cache
2325 # variable VAR accordingly.
2326 ac_fn_c_check_type
()
2328 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2330 $as_echo_n "checking for $2... " >&6; }
2331 if eval \
${$3+:} false
; then :
2332 $as_echo_n "(cached) " >&6
2335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2336 /* end confdefs.h. */
2347 if ac_fn_c_try_compile
"$LINENO"; then :
2348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2349 /* end confdefs.h. */
2360 if ac_fn_c_try_compile
"$LINENO"; then :
2365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2367 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2371 $as_echo "$ac_res" >&6; }
2372 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2374 } # ac_fn_c_check_type
2376 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2377 # --------------------------------------------
2378 # Tries to find the compile-time value of EXPR in a program that includes
2379 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2381 ac_fn_c_compute_int
()
2383 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2384 if test "$cross_compiling" = yes; then
2385 # Depending upon the size, compute the lo and hi bounds.
2386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2387 /* end confdefs.h. */
2392 static int test_array [1 - 2 * !(($2) >= 0)];
2394 return test_array [0];
2400 if ac_fn_c_try_compile
"$LINENO"; then :
2403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2404 /* end confdefs.h. */
2409 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2411 return test_array [0];
2417 if ac_fn_c_try_compile
"$LINENO"; then :
2418 ac_hi
=$ac_mid; break
2420 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2421 if test $ac_lo -le $ac_mid; then
2425 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2431 /* end confdefs.h. */
2436 static int test_array [1 - 2 * !(($2) < 0)];
2438 return test_array [0];
2444 if ac_fn_c_try_compile
"$LINENO"; then :
2447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2448 /* end confdefs.h. */
2453 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2455 return test_array [0];
2461 if ac_fn_c_try_compile
"$LINENO"; then :
2462 ac_lo
=$ac_mid; break
2464 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2465 if test $ac_mid -le $ac_hi; then
2469 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2479 # Binary search between lo and hi bounds.
2480 while test "x$ac_lo" != "x$ac_hi"; do
2481 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2483 /* end confdefs.h. */
2488 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2490 return test_array [0];
2496 if ac_fn_c_try_compile
"$LINENO"; then :
2499 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2504 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2509 /* end confdefs.h. */
2511 static long int longval () { return $2; }
2512 static unsigned long int ulongval () { return $2; }
2519 FILE *f = fopen ("conftest.val", "w");
2524 long int i = longval ();
2527 fprintf (f, "%ld", i);
2531 unsigned long int i = ulongval ();
2534 fprintf (f, "%lu", i);
2536 /* Do not output a trailing newline, as this causes \r\n confusion
2537 on some platforms. */
2538 return ferror (f) || fclose (f) != 0;
2544 if ac_fn_c_try_run
"$LINENO"; then :
2545 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2549 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2550 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2554 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2555 as_fn_set_status
$ac_retval
2557 } # ac_fn_c_compute_int
2558 cat >config.log
<<_ACEOF
2559 This file contains any messages produced by compilers while
2560 running configure, to aid debugging if configure makes a mistake.
2562 It was created by alpine $as_me 2.19.999, which was
2563 generated by GNU Autoconf 2.69. Invocation command line was
2575 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2576 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2577 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2578 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2579 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2581 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2582 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2584 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2585 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2586 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2587 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2588 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2589 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2590 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2598 test -z "$as_dir" && as_dir
=.
2599 $as_echo "PATH: $as_dir"
2615 # Keep a trace of the command line.
2616 # Strip out --no-create and --no-recursion so they do not pile up.
2617 # Strip out --silent because we don't want to record it for future runs.
2618 # Also quote any args containing shell meta-characters.
2619 # Make two passes to allow for proper duplicate-argument suppression.
2623 ac_must_keep_next
=false
2629 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2630 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2631 |
-silent |
--silent |
--silen |
--sile |
--sil)
2634 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2637 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2639 as_fn_append ac_configure_args1
" '$ac_arg'"
2640 if test $ac_must_keep_next = true
; then
2641 ac_must_keep_next
=false
# Got value, back to normal.
2644 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2645 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2646 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2647 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2648 case "$ac_configure_args0 " in
2649 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2652 -* ) ac_must_keep_next
=true
;;
2655 as_fn_append ac_configure_args
" '$ac_arg'"
2660 { ac_configure_args0
=; unset ac_configure_args0
;}
2661 { ac_configure_args1
=; unset ac_configure_args1
;}
2663 # When interrupted or exit'd, cleanup temporary files, and complete
2664 # config.log. We remove comments because anyway the quotes in there
2665 # would cause problems or look ugly.
2666 # WARNING: Use '\'' to represent an apostrophe within the trap.
2667 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2668 trap 'exit_status=$?
2669 # Save into config.log some information that might help in debugging.
2673 $as_echo "## ---------------- ##
2674 ## Cache variables. ##
2675 ## ---------------- ##"
2677 # The following way of writing the cache mishandles newlines in values,
2679 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2680 eval ac_val=\$$ac_var
2684 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2685 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2688 _ | IFS | as_nl) ;; #(
2689 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2690 *) { eval $ac_var=; unset $ac_var;} ;;
2695 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2696 *${as_nl}ac_space=\ *)
2698 "s/'\''/'\''\\\\'\'''\''/g;
2699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2702 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2709 $as_echo "## ----------------- ##
2710 ## Output variables. ##
2711 ## ----------------- ##"
2713 for ac_var in $ac_subst_vars
2715 eval ac_val=\$$ac_var
2717 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2719 $as_echo "$ac_var='\''$ac_val'\''"
2723 if test -n "$ac_subst_files"; then
2724 $as_echo "## ------------------- ##
2725 ## File substitutions. ##
2726 ## ------------------- ##"
2728 for ac_var
in $ac_subst_files
2730 eval ac_val
=\$
$ac_var
2732 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2734 $as_echo "$ac_var='\''$ac_val'\''"
2739 if test -s confdefs.h; then
2740 $as_echo "## ----------- ##
2747 test "$ac_signal" != 0 &&
2748 $as_echo "$as_me: caught signal $ac_signal"
2749 $as_echo "$as_me: exit $exit_status"
2751 rm -f core *.core core.conftest.* &&
2752 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2755 for ac_signal
in 1 2 13 15; do
2756 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2760 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2761 rm -f -r conftest
* confdefs.h
2763 $as_echo "/* confdefs.h */" > confdefs.h
2765 # Predefined preprocessor variables.
2767 cat >>confdefs.h
<<_ACEOF
2768 #define PACKAGE_NAME "$PACKAGE_NAME"
2771 cat >>confdefs.h
<<_ACEOF
2772 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2775 cat >>confdefs.h
<<_ACEOF
2776 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2779 cat >>confdefs.h
<<_ACEOF
2780 #define PACKAGE_STRING "$PACKAGE_STRING"
2783 cat >>confdefs.h
<<_ACEOF
2784 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2787 cat >>confdefs.h
<<_ACEOF
2788 #define PACKAGE_URL "$PACKAGE_URL"
2792 # Let the site file select an alternate cache file if it wants to.
2793 # Prefer an explicitly selected file to automatically selected ones.
2796 if test -n "$CONFIG_SITE"; then
2797 # We do not want a PATH search for config.site.
2798 case $CONFIG_SITE in #((
2799 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2800 */*) ac_site_file1
=$CONFIG_SITE;;
2801 *) ac_site_file1
=.
/$CONFIG_SITE;;
2803 elif test "x$prefix" != xNONE
; then
2804 ac_site_file1
=$prefix/share
/config.site
2805 ac_site_file2
=$prefix/etc
/config.site
2807 ac_site_file1
=$ac_default_prefix/share
/config.site
2808 ac_site_file2
=$ac_default_prefix/etc
/config.site
2810 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2812 test "x$ac_site_file" = xNONE
&& continue
2813 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2815 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2816 sed 's/^/| /' "$ac_site_file" >&5
2818 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2820 as_fn_error $?
"failed to load site script $ac_site_file
2821 See \`config.log' for more details" "$LINENO" 5; }
2825 if test -r "$cache_file"; then
2826 # Some versions of bash will fail to source /dev/null (special files
2827 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2828 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2830 $as_echo "$as_me: loading cache $cache_file" >&6;}
2832 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2833 *) .
"./$cache_file";;
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2838 $as_echo "$as_me: creating cache $cache_file" >&6;}
2842 gt_needs
="$gt_needs "
2843 # Check that the precious variables saved in the cache have kept the same
2845 ac_cache_corrupted
=false
2846 for ac_var
in $ac_precious_vars; do
2847 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2848 eval ac_new_set
=\
$ac_env_${ac_var}_set
2849 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2850 eval ac_new_val
=\
$ac_env_${ac_var}_value
2851 case $ac_old_set,$ac_new_set in
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2854 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2855 ac_cache_corrupted
=: ;;
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2858 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2859 ac_cache_corrupted
=: ;;
2862 if test "x$ac_old_val" != "x$ac_new_val"; then
2863 # differences in whitespace do not lead to failure.
2864 ac_old_val_w
=`echo x $ac_old_val`
2865 ac_new_val_w
=`echo x $ac_new_val`
2866 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2868 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2869 ac_cache_corrupted
=:
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2872 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2873 eval $ac_var=\
$ac_old_val
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2876 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2878 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2881 # Pass precious variables to config.status.
2882 if test "$ac_new_set" = set; then
2884 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2885 *) ac_arg
=$ac_var=$ac_new_val ;;
2887 case " $ac_configure_args " in
2888 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2889 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2893 if $ac_cache_corrupted; then
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2897 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2898 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2900 ## -------------------- ##
2901 ## Main body of script. ##
2902 ## -------------------- ##
2905 ac_cpp
='$CPP $CPPFLAGS'
2906 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2907 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2908 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2913 ac_config_headers
="$ac_config_headers include/config.h"
2916 am__api_version
='1.11'
2919 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2920 if test -f "$ac_dir/install-sh"; then
2922 ac_install_sh
="$ac_aux_dir/install-sh -c"
2924 elif test -f "$ac_dir/install.sh"; then
2926 ac_install_sh
="$ac_aux_dir/install.sh -c"
2928 elif test -f "$ac_dir/shtool"; then
2930 ac_install_sh
="$ac_aux_dir/shtool install -c"
2934 if test -z "$ac_aux_dir"; then
2935 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2938 # These three variables are undocumented and unsupported,
2939 # and are intended to be withdrawn in a future Autoconf release.
2940 # They can cause serious problems if a builder's source tree is in a directory
2941 # whose full name contains unusual characters.
2942 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2943 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2944 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2947 # Find a good install program. We prefer a C program (faster),
2948 # so one script is as good as another. But avoid the broken or
2949 # incompatible versions:
2950 # SysV /etc/install, /usr/sbin/install
2951 # SunOS /usr/etc/install
2952 # IRIX /sbin/install
2954 # AmigaOS /C/install, which installs bootblocks on floppy discs
2955 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2956 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2957 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2958 # OS/2's system install, which has a completely different semantic
2959 # ./install, which can be erroneously created by make from ./install.sh.
2960 # Reject install programs that cannot install multiple files.
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2962 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2963 if test -z "$INSTALL"; then
2964 if ${ac_cv_path_install+:} false
; then :
2965 $as_echo_n "(cached) " >&6
2967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2971 test -z "$as_dir" && as_dir
=.
2972 # Account for people who put trailing slashes in PATH elements.
2973 case $as_dir/ in #((
2974 .
/ | .
// |
/[cC
]/* | \
2975 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2976 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
2979 # OSF1 and SCO ODT 3.0 have their own names for install.
2980 # Don't use installbsd from OSF since it installs stuff as root
2982 for ac_prog
in ginstall scoinst
install; do
2983 for ac_exec_ext
in '' $ac_executable_extensions; do
2984 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
2985 if test $ac_prog = install &&
2986 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2987 # AIX install. It has an incompatible calling convention.
2989 elif test $ac_prog = install &&
2990 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2991 # program-specific install script used by HP pwplus--don't use.
2994 rm -rf conftest.one conftest.two conftest.dir
2995 echo one
> conftest.one
2996 echo two
> conftest.two
2998 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
2999 test -s conftest.one
&& test -s conftest.two
&&
3000 test -s conftest.dir
/conftest.one
&&
3001 test -s conftest.dir
/conftest.two
3003 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3016 rm -rf conftest.one conftest.two conftest.dir
3019 if test "${ac_cv_path_install+set}" = set; then
3020 INSTALL
=$ac_cv_path_install
3022 # As a last resort, use the slow shell script. Don't cache a
3023 # value for INSTALL within a source directory, because that will
3024 # break other packages using the cache if that directory is
3025 # removed, or if the value is a relative name.
3026 INSTALL
=$ac_install_sh
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3030 $as_echo "$INSTALL" >&6; }
3032 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3033 # It thinks the first close brace ends the variable substitution.
3034 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3036 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3038 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3041 $as_echo_n "checking whether build environment is sane... " >&6; }
3044 echo timestamp
> conftest.
file
3045 # Reject unsafe characters in $srcdir or the absolute working directory
3046 # name. Accept space and tab only in the latter.
3050 *[\\\"\
#\$\&\'\`$am_lf]*)
3051 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3054 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3055 as_fn_error $?
"unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3058 # Do `set' in a subshell so we don't clobber the current shell's
3059 # arguments. Must try -L first in case configure is actually a
3060 # symlink; some systems play weird games with the mod time of symlinks
3061 # (eg FreeBSD returns the mod time of the symlink's containing
3064 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3065 if test "$*" = "X"; then
3067 set X
`ls -t "$srcdir/configure" conftest.file`
3070 if test "$*" != "X $srcdir/configure conftest.file" \
3071 && test "$*" != "X conftest.file $srcdir/configure"; then
3073 # If neither matched, then we have a broken ls. This can happen
3074 # if, for instance, CONFIG_SHELL is bash and it inherits a
3075 # broken ls alias from the environment. This has actually
3076 # happened. Such a system could not be considered "sane".
3077 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3078 alias in your environment" "$LINENO" 5
3081 test "$2" = conftest.
file
3087 as_fn_error $?
"newly created file is older than distributed files!
3088 Check your system clock" "$LINENO" 5
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3091 $as_echo "yes" >&6; }
3092 test "$program_prefix" != NONE
&&
3093 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3094 # Use a double $ so make ignores it.
3095 test "$program_suffix" != NONE
&&
3096 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3097 # Double any \ or $.
3098 # By default was `s,x,x', remove it if useless.
3099 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3100 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3102 # expand $ac_aux_dir to an absolute path
3103 am_aux_dir
=`cd $ac_aux_dir && pwd`
3105 if test x
"${MISSING+set}" != xset
; then
3108 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3110 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3113 # Use eval to expand $SHELL
3114 if eval "$MISSING --run true"; then
3115 am_missing_run
="$MISSING --run "
3118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3119 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3122 if test x
"${install_sh}" != xset
; then
3125 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3127 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3131 # Installed binaries are usually stripped using `strip' when the user
3132 # run `make install-strip'. However `strip' might not be the right
3133 # tool to use in cross-compilation environments, therefore Automake
3134 # will honor the `STRIP' environment variable to overrule this program.
3135 if test "$cross_compiling" != no
; then
3136 if test -n "$ac_tool_prefix"; then
3137 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3138 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140 $as_echo_n "checking for $ac_word... " >&6; }
3141 if ${ac_cv_prog_STRIP+:} false
; then :
3142 $as_echo_n "(cached) " >&6
3144 if test -n "$STRIP"; then
3145 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3151 test -z "$as_dir" && as_dir
=.
3152 for ac_exec_ext
in '' $ac_executable_extensions; do
3153 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3154 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3164 STRIP
=$ac_cv_prog_STRIP
3165 if test -n "$STRIP"; then
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3167 $as_echo "$STRIP" >&6; }
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170 $as_echo "no" >&6; }
3175 if test -z "$ac_cv_prog_STRIP"; then
3177 # Extract the first word of "strip", so it can be a program name with args.
3178 set dummy strip
; ac_word
=$2
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3180 $as_echo_n "checking for $ac_word... " >&6; }
3181 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3182 $as_echo_n "(cached) " >&6
3184 if test -n "$ac_ct_STRIP"; then
3185 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3191 test -z "$as_dir" && as_dir
=.
3192 for ac_exec_ext
in '' $ac_executable_extensions; do
3193 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3194 ac_cv_prog_ac_ct_STRIP
="strip"
3195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3204 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3205 if test -n "$ac_ct_STRIP"; then
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3207 $as_echo "$ac_ct_STRIP" >&6; }
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3210 $as_echo "no" >&6; }
3213 if test "x$ac_ct_STRIP" = x
; then
3216 case $cross_compiling:$ac_tool_warned in
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3219 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3220 ac_tool_warned
=yes ;;
3225 STRIP
="$ac_cv_prog_STRIP"
3229 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3232 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3233 if test -z "$MKDIR_P"; then
3234 if ${ac_cv_path_mkdir+:} false
; then :
3235 $as_echo_n "(cached) " >&6
3237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3238 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3241 test -z "$as_dir" && as_dir
=.
3242 for ac_prog
in mkdir gmkdir
; do
3243 for ac_exec_ext
in '' $ac_executable_extensions; do
3244 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3245 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3246 'mkdir (GNU coreutils) '* | \
3247 'mkdir (coreutils) '* | \
3248 'mkdir (fileutils) '4.1*)
3249 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3259 test -d .
/--version && rmdir .
/--version
3260 if test "${ac_cv_path_mkdir+set}" = set; then
3261 MKDIR_P
="$ac_cv_path_mkdir -p"
3263 # As a last resort, use the slow shell script. Don't cache a
3264 # value for MKDIR_P within a source directory, because that will
3265 # break other packages using the cache if that directory is
3266 # removed, or if the value is a relative name.
3267 MKDIR_P
="$ac_install_sh -d"
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3271 $as_echo "$MKDIR_P" >&6; }
3275 [\\/$
]* | ?
:[\\/]*) ;;
3276 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
3279 for ac_prog
in gawk mawk nawk
awk
3281 # Extract the first word of "$ac_prog", so it can be a program name with args.
3282 set dummy
$ac_prog; ac_word
=$2
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3284 $as_echo_n "checking for $ac_word... " >&6; }
3285 if ${ac_cv_prog_AWK+:} false
; then :
3286 $as_echo_n "(cached) " >&6
3288 if test -n "$AWK"; then
3289 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3295 test -z "$as_dir" && as_dir
=.
3296 for ac_exec_ext
in '' $ac_executable_extensions; do
3297 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3298 ac_cv_prog_AWK
="$ac_prog"
3299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3309 if test -n "$AWK"; then
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3311 $as_echo "$AWK" >&6; }
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3314 $as_echo "no" >&6; }
3318 test -n "$AWK" && break
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3322 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3324 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3325 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3326 $as_echo_n "(cached) " >&6
3328 cat >conftest.
make <<\_ACEOF
3331 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3333 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3334 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3336 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3338 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3342 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3344 $as_echo "yes" >&6; }
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3348 $as_echo "no" >&6; }
3349 SET_MAKE
="MAKE=${MAKE-make}"
3352 rm -rf .tst
2>/dev
/null
3353 mkdir .tst
2>/dev
/null
3354 if test -d .tst
; then
3359 rmdir .tst
2>/dev
/null
3361 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3362 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3363 # is not polluted with repeated "-I."
3364 am__isrc
=' -I$(srcdir)'
3365 # test to see if srcdir already configured
3366 if test -f $srcdir/config.status
; then
3367 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3371 # test whether we have cygpath
3372 if test -z "$CYGPATH_W"; then
3373 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3374 CYGPATH_W
='cygpath -w'
3381 # Define the identity of the package.
3386 cat >>confdefs.h
<<_ACEOF
3387 #define PACKAGE "$PACKAGE"
3391 cat >>confdefs.h
<<_ACEOF
3392 #define VERSION "$VERSION"
3395 # Some tools Automake needs.
3397 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3400 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3403 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3406 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3409 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3411 # We need awk for the "check" target. The system "awk" is bad on
3413 # Always define AMTAR for backward compatibility.
3415 AMTAR
=${AMTAR-"${am_missing_run}tar"}
3417 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3426 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3427 # Check whether --enable-maintainer-mode was given.
3428 if test "${enable_maintainer_mode+set}" = set; then :
3429 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3431 USE_MAINTAINER_MODE
=no
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3435 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3436 if test $USE_MAINTAINER_MODE = yes; then
3437 MAINTAINER_MODE_TRUE
=
3438 MAINTAINER_MODE_FALSE
='#'
3440 MAINTAINER_MODE_TRUE
='#'
3441 MAINTAINER_MODE_FALSE
=
3444 MAINT
=$MAINTAINER_MODE_TRUE
3448 # Make sure we can run config.sub.
3449 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3450 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3453 $as_echo_n "checking build system type... " >&6; }
3454 if ${ac_cv_build+:} false
; then :
3455 $as_echo_n "(cached) " >&6
3457 ac_build_alias
=$build_alias
3458 test "x$ac_build_alias" = x
&&
3459 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3460 test "x$ac_build_alias" = x
&&
3461 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3462 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3463 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3467 $as_echo "$ac_cv_build" >&6; }
3468 case $ac_cv_build in
3470 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3473 ac_save_IFS
=$IFS; IFS
='-'
3479 # Remember, the first character of IFS is used to create $*,
3480 # except with old shells:
3483 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3487 $as_echo_n "checking host system type... " >&6; }
3488 if ${ac_cv_host+:} false
; then :
3489 $as_echo_n "(cached) " >&6
3491 if test "x$host_alias" = x
; then
3492 ac_cv_host
=$ac_cv_build
3494 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3495 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3500 $as_echo "$ac_cv_host" >&6; }
3503 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3506 ac_save_IFS
=$IFS; IFS
='-'
3512 # Remember, the first character of IFS is used to create $*,
3513 # except with old shells:
3516 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3521 ac_cpp
='$CPP $CPPFLAGS'
3522 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3523 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3524 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring for $PACKAGE_STRING ($host))" >&5
3528 $as_echo "$as_me: Configuring for $PACKAGE_STRING ($host))" >&6;}
3530 # start out with intent to build Web Alpine
3531 WEB_BUILD
=web
/src
/alpined.d
3535 ac_cpp
='$CPP $CPPFLAGS'
3536 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3537 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3538 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3539 if test -n "$ac_tool_prefix"; then
3540 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3541 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3543 $as_echo_n "checking for $ac_word... " >&6; }
3544 if ${ac_cv_prog_CC+:} false
; then :
3545 $as_echo_n "(cached) " >&6
3547 if test -n "$CC"; then
3548 ac_cv_prog_CC
="$CC" # Let the user override the test.
3550 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3554 test -z "$as_dir" && as_dir
=.
3555 for ac_exec_ext
in '' $ac_executable_extensions; do
3556 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3557 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3568 if test -n "$CC"; then
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3570 $as_echo "$CC" >&6; }
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3573 $as_echo "no" >&6; }
3578 if test -z "$ac_cv_prog_CC"; then
3580 # Extract the first word of "gcc", so it can be a program name with args.
3581 set dummy gcc
; ac_word
=$2
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583 $as_echo_n "checking for $ac_word... " >&6; }
3584 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3585 $as_echo_n "(cached) " >&6
3587 if test -n "$ac_ct_CC"; then
3588 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3594 test -z "$as_dir" && as_dir
=.
3595 for ac_exec_ext
in '' $ac_executable_extensions; do
3596 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3597 ac_cv_prog_ac_ct_CC
="gcc"
3598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3607 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3608 if test -n "$ac_ct_CC"; then
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3610 $as_echo "$ac_ct_CC" >&6; }
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3616 if test "x$ac_ct_CC" = x
; then
3619 case $cross_compiling:$ac_tool_warned in
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3623 ac_tool_warned
=yes ;;
3631 if test -z "$CC"; then
3632 if test -n "$ac_tool_prefix"; then
3633 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3634 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3636 $as_echo_n "checking for $ac_word... " >&6; }
3637 if ${ac_cv_prog_CC+:} false
; then :
3638 $as_echo_n "(cached) " >&6
3640 if test -n "$CC"; then
3641 ac_cv_prog_CC
="$CC" # Let the user override the test.
3643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3647 test -z "$as_dir" && as_dir
=.
3648 for ac_exec_ext
in '' $ac_executable_extensions; do
3649 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3650 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3661 if test -n "$CC"; then
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3663 $as_echo "$CC" >&6; }
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3666 $as_echo "no" >&6; }
3672 if test -z "$CC"; then
3673 # Extract the first word of "cc", so it can be a program name with args.
3674 set dummy cc
; ac_word
=$2
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3676 $as_echo_n "checking for $ac_word... " >&6; }
3677 if ${ac_cv_prog_CC+:} false
; then :
3678 $as_echo_n "(cached) " >&6
3680 if test -n "$CC"; then
3681 ac_cv_prog_CC
="$CC" # Let the user override the test.
3684 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3688 test -z "$as_dir" && as_dir
=.
3689 for ac_exec_ext
in '' $ac_executable_extensions; do
3690 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3691 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3692 ac_prog_rejected
=yes
3696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 if test $ac_prog_rejected = yes; then
3704 # We found a bogon in the path, so make sure we never use it.
3705 set dummy
$ac_cv_prog_CC
3707 if test $# != 0; then
3708 # We chose a different compiler from the bogus one.
3709 # However, it has the same basename, so the bogon will be chosen
3710 # first if we set CC to just the basename; use the full file name.
3712 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3718 if test -n "$CC"; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3720 $as_echo "$CC" >&6; }
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3723 $as_echo "no" >&6; }
3728 if test -z "$CC"; then
3729 if test -n "$ac_tool_prefix"; then
3730 for ac_prog
in cl.exe
3732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3733 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3735 $as_echo_n "checking for $ac_word... " >&6; }
3736 if ${ac_cv_prog_CC+:} false
; then :
3737 $as_echo_n "(cached) " >&6
3739 if test -n "$CC"; then
3740 ac_cv_prog_CC
="$CC" # Let the user override the test.
3742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3746 test -z "$as_dir" && as_dir
=.
3747 for ac_exec_ext
in '' $ac_executable_extensions; do
3748 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3749 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3760 if test -n "$CC"; then
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3762 $as_echo "$CC" >&6; }
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3765 $as_echo "no" >&6; }
3769 test -n "$CC" && break
3772 if test -z "$CC"; then
3774 for ac_prog
in cl.exe
3776 # Extract the first word of "$ac_prog", so it can be a program name with args.
3777 set dummy
$ac_prog; ac_word
=$2
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3779 $as_echo_n "checking for $ac_word... " >&6; }
3780 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3781 $as_echo_n "(cached) " >&6
3783 if test -n "$ac_ct_CC"; then
3784 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3790 test -z "$as_dir" && as_dir
=.
3791 for ac_exec_ext
in '' $ac_executable_extensions; do
3792 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3793 ac_cv_prog_ac_ct_CC
="$ac_prog"
3794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3804 if test -n "$ac_ct_CC"; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3806 $as_echo "$ac_ct_CC" >&6; }
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809 $as_echo "no" >&6; }
3813 test -n "$ac_ct_CC" && break
3816 if test "x$ac_ct_CC" = x
; then
3819 case $cross_compiling:$ac_tool_warned in
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3823 ac_tool_warned
=yes ;;
3832 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3834 as_fn_error $?
"no acceptable C compiler found in \$PATH
3835 See \`config.log' for more details" "$LINENO" 5; }
3837 # Provide some information about the compiler.
3838 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3841 for ac_option
in --version -v -V -qversion; do
3842 { { ac_try
="$ac_compiler $ac_option >&5"
3844 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848 $as_echo "$ac_try_echo"; } >&5
3849 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3851 if test -s conftest.err; then
3853 ... rest of stderr output deleted ...
3854 10q' conftest.err >conftest.er1
3855 cat conftest.er1 >&5
3857 rm -f conftest.er1 conftest.err
3858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3859 test $ac_status = 0; }
3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3863 /* end confdefs.h. */
3873 ac_clean_files_save=$ac_clean_files
3874 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3875 # Try to create an executable without -o first, disregard a.out.
3876 # It will help us diagnose broken compilers, and finding out an intuition
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3879 $as_echo_n "checking whether the C compiler works... " >&6; }
3880 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3882 # The possible output files:
3883 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3886 for ac_file in $ac_files
3889 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3890 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3895 if { { ac_try="$ac_link_default"
3897 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3898 *) ac_try_echo
=$ac_try;;
3900 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3901 $as_echo "$ac_try_echo"; } >&5
3902 (eval "$ac_link_default") 2>&5
3904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3905 test $ac_status = 0; }; then :
3906 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3907 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3908 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3909 # so that the user can short-circuit this test for compilers unknown to
3911 for ac_file
in $ac_files ''
3913 test -f "$ac_file" ||
continue
3915 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3918 # We found the default executable, but exeext='' is most
3922 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3924 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3926 # We set ac_cv_exeext here because the later test for it is not
3927 # safe: cross compilers may not add the suffix if given an `-o'
3928 # argument, so we may need to know it at that point already.
3929 # Even if this section looks crufty: it has the advantage of
3936 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3941 if test -z "$ac_file"; then :
3942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3943 $as_echo "no" >&6; }
3944 $as_echo "$as_me: failed program was:" >&5
3945 sed 's/^/| /' conftest.
$ac_ext >&5
3947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3949 as_fn_error
77 "C compiler cannot create executables
3950 See \`config.log' for more details" "$LINENO" 5; }
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3953 $as_echo "yes" >&6; }
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3956 $as_echo_n "checking for C compiler default output file name... " >&6; }
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3958 $as_echo "$ac_file" >&6; }
3959 ac_exeext
=$ac_cv_exeext
3961 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3962 ac_clean_files
=$ac_clean_files_save
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3964 $as_echo_n "checking for suffix of executables... " >&6; }
3965 if { { ac_try
="$ac_link"
3967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3968 *) ac_try_echo=$ac_try;;
3970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3971 $as_echo "$ac_try_echo"; } >&5
3972 (eval "$ac_link") 2>&5
3974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3975 test $ac_status = 0; }; then :
3976 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3977 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3978 # work properly (i.e., refer to `conftest.exe'), while it won't with
3980 for ac_file
in conftest.exe conftest conftest.
*; do
3981 test -f "$ac_file" ||
continue
3983 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3984 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3990 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3992 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3993 See \`config.log' for more details" "$LINENO" 5; }
3995 rm -f conftest conftest
$ac_cv_exeext
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3997 $as_echo "$ac_cv_exeext" >&6; }
3999 rm -f conftest.
$ac_ext
4000 EXEEXT
=$ac_cv_exeext
4002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4003 /* end confdefs.h. */
4008 FILE *f = fopen ("conftest.out", "w");
4009 return ferror (f) || fclose (f) != 0;
4015 ac_clean_files
="$ac_clean_files conftest.out"
4016 # Check that the compiler produces executables we can run. If not, either
4017 # the compiler is broken, or we cross compile.
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4019 $as_echo_n "checking whether we are cross compiling... " >&6; }
4020 if test "$cross_compiling" != yes; then
4021 { { ac_try
="$ac_link"
4023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4024 *) ac_try_echo=$ac_try;;
4026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4027 $as_echo "$ac_try_echo"; } >&5
4028 (eval "$ac_link") 2>&5
4030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4031 test $ac_status = 0; }
4032 if { ac_try='./conftest$ac_cv_exeext'
4033 { { case "(($ac_try" in
4034 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4035 *) ac_try_echo
=$ac_try;;
4037 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4038 $as_echo "$ac_try_echo"; } >&5
4039 (eval "$ac_try") 2>&5
4041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4042 test $ac_status = 0; }; }; then
4045 if test "$cross_compiling" = maybe
; then
4048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4050 as_fn_error $?
"cannot run C compiled programs.
4051 If you meant to cross compile, use \`--host'.
4052 See \`config.log' for more details" "$LINENO" 5; }
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4057 $as_echo "$cross_compiling" >&6; }
4059 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4060 ac_clean_files
=$ac_clean_files_save
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4062 $as_echo_n "checking for suffix of object files... " >&6; }
4063 if ${ac_cv_objext+:} false
; then :
4064 $as_echo_n "(cached) " >&6
4066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4067 /* end confdefs.h. */
4077 rm -f conftest.o conftest.obj
4078 if { { ac_try
="$ac_compile"
4080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4081 *) ac_try_echo=$ac_try;;
4083 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4084 $as_echo "$ac_try_echo"; } >&5
4085 (eval "$ac_compile") 2>&5
4087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4088 test $ac_status = 0; }; then :
4089 for ac_file in conftest.o conftest.obj conftest.*; do
4090 test -f "$ac_file" || continue;
4092 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4093 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4098 $as_echo "$as_me: failed program was:" >&5
4099 sed 's/^/| /' conftest.$ac_ext >&5
4101 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4102 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4103 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4104 See \
`config.log' for more details" "$LINENO" 5; }
4106 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4109 $as_echo "$ac_cv_objext" >&6; }
4110 OBJEXT=$ac_cv_objext
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4113 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4114 if ${ac_cv_c_compiler_gnu+:} false; then :
4115 $as_echo_n "(cached) " >&6
4117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h. */
4131 if ac_fn_c_try_compile "$LINENO"; then :
4136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4137 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4141 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4142 if test $ac_compiler_gnu = yes; then
4147 ac_test_CFLAGS=${CFLAGS+set}
4148 ac_save_CFLAGS=$CFLAGS
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4150 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4151 if ${ac_cv_prog_cc_g+:} false; then :
4152 $as_echo_n "(cached) " >&6
4154 ac_save_c_werror_flag=$ac_c_werror_flag
4155 ac_c_werror_flag=yes
4158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4159 /* end confdefs.h. */
4169 if ac_fn_c_try_compile "$LINENO"; then :
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4184 if ac_fn_c_try_compile "$LINENO"; then :
4187 ac_c_werror_flag=$ac_save_c_werror_flag
4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4200 if ac_fn_c_try_compile "$LINENO"; then :
4203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4208 ac_c_werror_flag=$ac_save_c_werror_flag
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4211 $as_echo "$ac_cv_prog_cc_g" >&6; }
4212 if test "$ac_test_CFLAGS" = set; then
4213 CFLAGS=$ac_save_CFLAGS
4214 elif test $ac_cv_prog_cc_g = yes; then
4215 if test "$GCC" = yes; then
4221 if test "$GCC" = yes; then
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4228 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4229 if ${ac_cv_prog_cc_c89+:} false; then :
4230 $as_echo_n "(cached) " >&6
4232 ac_cv_prog_cc_c89=no
4234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4235 /* end confdefs.h. */
4239 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4240 struct buf { int x; };
4241 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4242 static char *e (p, i)
4248 static char *f (char * (*g) (char **, int), char **p, ...)
4253 s = g (p, va_arg (v,int));
4258 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4259 function prototypes and stuff, but not '\xHH' hex character constants.
4260 These don't provoke an error unfortunately, instead are silently treated
4261 as 'x'. The following induces an error, until -std is added to get
4262 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4263 array size at least. It's necessary to write '\x00'==0 to get something
4264 that's true only with -std. */
4265 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4267 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4268 inside strings and character constants. */
4270 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4272 int test (int i, double x);
4273 struct s1 {int (*f) (int a);};
4274 struct s2 {int (*f) (double a);};
4275 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4281 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4286 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4287 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4289 CC="$ac_save_CC $ac_arg"
4290 if ac_fn_c_try_compile "$LINENO"; then :
4291 ac_cv_prog_cc_c89=$ac_arg
4293 rm -f core conftest.err conftest.$ac_objext
4294 test "x$ac_cv_prog_cc_c89" != "xno" && break
4296 rm -f conftest.$ac_ext
4301 case "x$ac_cv_prog_cc_c89" in
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4304 $as_echo "none needed" >&6; } ;;
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4307 $as_echo "unsupported" >&6; } ;;
4309 CC="$CC $ac_cv_prog_cc_c89"
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4311 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4313 if test "x$ac_cv_prog_cc_c89" != xno; then :
4318 ac_cpp='$CPP $CPPFLAGS'
4319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4322 DEPDIR="${am__leading_dot}deps"
4324 ac_config_commands="$ac_config_commands depfiles"
4327 am_make=${MAKE-make}
4328 cat > confinc << 'END'
4330 @echo this is the am__doit target
4333 # If we don't find an include directive, just comment out the code.
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4335 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4339 # First try GNU make style include.
4340 echo "include confinc" > confmf
4341 # Ignore all kinds of additional output from `make'.
4342 case `$am_make -s -f confmf 2> /dev/null` in #(
4343 *the\ am__doit\ target*)
4349 # Now try BSD make style include.
4350 if test "$am__include" = "#"; then
4351 echo '.include
"confinc"' > confmf
4352 case `$am_make -s -f confmf 2> /dev/null` in #(
4353 *the\ am__doit\ target*)
4354 am__include=.include
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4363 $as_echo "$_am_result" >&6; }
4364 rm -f confinc confmf
4366 # Check whether --enable-dependency-tracking was given.
4367 if test "${enable_dependency_tracking+set}" = set; then :
4368 enableval=$enable_dependency_tracking;
4371 if test "x$enable_dependency_tracking" != xno; then
4372 am_depcomp="$ac_aux_dir/depcomp"
4375 if test "x$enable_dependency_tracking" != xno
; then
4385 depcc
="$CC" am_compiler_list
=
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4388 $as_echo_n "checking dependency style of $depcc... " >&6; }
4389 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4390 $as_echo_n "(cached) " >&6
4392 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4393 # We make a subdir and do the tests there. Otherwise we can end up
4394 # making bogus files that we don't know about and never remove. For
4395 # instance it was reported that on HP-UX the gcc test will end up
4396 # making a dummy file named `D' -- because `-MD' means `put the output
4399 # Copy depcomp to subdir because otherwise we won't find it if we're
4400 # using a relative directory.
4401 cp "$am_depcomp" conftest.dir
4403 # We will build objects and dependencies in a subdirectory because
4404 # it helps to detect inapplicable dependency modes. For instance
4405 # both Tru64's cc and ICC support -MD to output dependencies as a
4406 # side effect of compilation, but ICC will put the dependencies in
4407 # the current directory while Tru64 will put them in the object
4411 am_cv_CC_dependencies_compiler_type
=none
4412 if test "$am_compiler_list" = ""; then
4413 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4416 case " $depcc " in #(
4417 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4420 for depmode
in $am_compiler_list; do
4421 # Setup a source with many dependencies, because some compilers
4422 # like to wrap large dependency lists on column 80 (with \), and
4423 # we should not choose a depcomp mode which is confused by this.
4425 # We need to recreate these files for each test, as the compiler may
4426 # overwrite some of them when testing with obscure command lines.
4427 # This happens at least with the AIX C compiler.
4429 for i
in 1 2 3 4 5 6; do
4430 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4431 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4432 # Solaris 8's {/usr,}/bin/sh.
4433 touch sub
/conftst
$i.h
4435 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4437 # We check with `-c' and `-o' for the sake of the "dashmstdout"
4438 # mode. It turns out that the SunPro C++ compiler does not properly
4439 # handle `-M -o', and we need to detect this. Also, some Intel
4440 # versions had trouble with output in subdirs
4441 am__obj
=sub
/conftest.
${OBJEXT-o}
4442 am__minus_obj
="-o $am__obj"
4445 # This depmode causes a compiler race in universal mode.
4446 test "$am__universal" = false ||
continue
4449 # after this tag, mechanisms are not by side-effect, so they'll
4450 # only be used when explicitly requested
4451 if test "x$enable_dependency_tracking" = xyes
; then
4457 msvisualcpp | msvcmsys
)
4458 # This compiler won't grok `-c -o', but also, the minuso test has
4459 # not run yet. These depmodes are late enough in the game, and
4460 # so weak that their functioning should not be impacted.
4461 am__obj
=conftest.
${OBJEXT-o}
4466 if depmode
=$depmode \
4467 source=sub
/conftest.c object
=$am__obj \
4468 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4469 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4470 >/dev
/null
2>conftest.err
&&
4471 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4472 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4473 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4474 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4475 # icc doesn't choke on unknown options, it will just issue warnings
4476 # or remarks (even with -Werror). So we grep stderr for any message
4477 # that says an option was ignored or not supported.
4478 # When given -MP, icc 7.0 and 7.1 complain thusly:
4479 # icc: Command line warning: ignoring option '-M'; no argument required
4480 # The diagnosis changed in icc 8.0:
4481 # icc: Command line remark: option '-MP' not supported
4482 if (grep 'ignoring option' conftest.err ||
4483 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4484 am_cv_CC_dependencies_compiler_type
=$depmode
4493 am_cv_CC_dependencies_compiler_type
=none
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4498 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4499 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4502 test "x$enable_dependency_tracking" != xno \
4503 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4505 am__fastdepCC_FALSE
='#'
4507 am__fastdepCC_TRUE
='#'
4508 am__fastdepCC_FALSE
=
4512 case $ac_cv_prog_cc_stdc in #(
4514 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4517 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4518 if ${ac_cv_prog_cc_c99+:} false
; then :
4519 $as_echo_n "(cached) " >&6
4521 ac_cv_prog_cc_c99
=no
4523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4524 /* end confdefs.h. */
4526 #include <stdbool.h>
4531 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4532 #define debug(...) fprintf (stderr, __VA_ARGS__)
4533 #define showlist(...) puts (#__VA_ARGS__)
4534 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4536 test_varargs_macros (void)
4541 debug ("X = %d\n", x);
4542 showlist (The first, second, and third items.);
4543 report (x>y, "x is %d but y is %d", x, y);
4546 // Check long long types.
4547 #define BIG64 18446744073709551615ull
4548 #define BIG32 4294967295ul
4549 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4551 your preprocessor is broken;
4555 your preprocessor is broken;
4557 static long long int bignum = -9223372036854775807LL;
4558 static unsigned long long int ubignum = BIG64;
4560 struct incomplete_array
4568 const wchar_t *name;
4572 typedef const char *ccp;
4575 test_restrict (ccp restrict text)
4577 // See if C++-style comments work.
4578 // Iterate through items via the restricted pointer.
4579 // Also check for declarations in for loops.
4580 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4585 // Check varargs and va_copy.
4587 test_varargs (const char *format, ...)
4590 va_start (args, format);
4592 va_copy (args_copy, args);
4603 str = va_arg (args_copy, const char *);
4606 number = va_arg (args_copy, int);
4609 fnumber = va_arg (args_copy, double);
4624 _Bool success = false;
4627 if (test_restrict ("String literal") == 0)
4629 char *restrict newvar = "Another string";
4632 test_varargs ("s, d' f .", "string", 65, 34.234);
4633 test_varargs_macros ();
4635 // Check flexible array members.
4636 struct incomplete_array *ia =
4637 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4639 for (int i = 0; i < ia->datasize; ++i)
4640 ia->data[i] = i * 1.234;
4642 // Check named initializers.
4643 struct named_init ni = {
4645 .name = L"Test wide string",
4646 .average = 543.34343,
4651 int dynamic_array[ni.number];
4652 dynamic_array[ni.number - 1] = 543;
4654 // work around unused variable warnings
4655 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4656 || dynamic_array[ni.number - 1] != 543);
4662 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4664 CC
="$ac_save_CC $ac_arg"
4665 if ac_fn_c_try_compile
"$LINENO"; then :
4666 ac_cv_prog_cc_c99
=$ac_arg
4668 rm -f core conftest.err conftest.
$ac_objext
4669 test "x$ac_cv_prog_cc_c99" != "xno" && break
4671 rm -f conftest.
$ac_ext
4676 case "x$ac_cv_prog_cc_c99" in
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4679 $as_echo "none needed" >&6; } ;;
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4682 $as_echo "unsupported" >&6; } ;;
4684 CC
="$CC $ac_cv_prog_cc_c99"
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4686 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4688 if test "x$ac_cv_prog_cc_c99" != xno
; then :
4689 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4692 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4693 if ${ac_cv_prog_cc_c89+:} false
; then :
4694 $as_echo_n "(cached) " >&6
4696 ac_cv_prog_cc_c89
=no
4698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4699 /* end confdefs.h. */
4703 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4704 struct buf { int x; };
4705 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4706 static char *e (p, i)
4712 static char *f (char * (*g) (char **, int), char **p, ...)
4717 s = g (p, va_arg (v,int));
4722 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4723 function prototypes and stuff, but not '\xHH' hex character constants.
4724 These don't provoke an error unfortunately, instead are silently treated
4725 as 'x'. The following induces an error, until -std is added to get
4726 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4727 array size at least. It's necessary to write '\x00'==0 to get something
4728 that's true only with -std. */
4729 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4731 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4732 inside strings and character constants. */
4734 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4736 int test (int i, double x);
4737 struct s1 {int (*f) (int a);};
4738 struct s2 {int (*f) (double a);};
4739 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4745 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4750 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4751 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4753 CC
="$ac_save_CC $ac_arg"
4754 if ac_fn_c_try_compile
"$LINENO"; then :
4755 ac_cv_prog_cc_c89
=$ac_arg
4757 rm -f core conftest.err conftest.
$ac_objext
4758 test "x$ac_cv_prog_cc_c89" != "xno" && break
4760 rm -f conftest.
$ac_ext
4765 case "x$ac_cv_prog_cc_c89" in
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4768 $as_echo "none needed" >&6; } ;;
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4771 $as_echo "unsupported" >&6; } ;;
4773 CC
="$CC $ac_cv_prog_cc_c89"
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4775 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4777 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4778 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
4780 ac_cv_prog_cc_stdc
=no
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4787 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4788 if ${ac_cv_prog_cc_stdc+:} false
; then :
4789 $as_echo_n "(cached) " >&6
4792 case $ac_cv_prog_cc_stdc in #(
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4795 $as_echo "unsupported" >&6; } ;; #(
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4798 $as_echo "none needed" >&6; } ;; #(
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4801 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4806 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4808 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4809 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
4810 $as_echo_n "(cached) " >&6
4812 cat >conftest.
make <<\_ACEOF
4815 @
echo '@@@%%%=$(MAKE)=@@@%%%'
4817 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4818 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4820 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
4822 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
4826 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4828 $as_echo "yes" >&6; }
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4832 $as_echo "no" >&6; }
4833 SET_MAKE
="MAKE=${MAKE-make}"
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4837 $as_echo_n "checking whether ln -s works... " >&6; }
4839 if test "$LN_S" = "ln -s"; then
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4841 $as_echo "yes" >&6; }
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4844 $as_echo "no, using $LN_S" >&6; }
4847 for ac_prog
in gawk mawk nawk
awk
4849 # Extract the first word of "$ac_prog", so it can be a program name with args.
4850 set dummy
$ac_prog; ac_word
=$2
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4852 $as_echo_n "checking for $ac_word... " >&6; }
4853 if ${ac_cv_prog_AWK+:} false
; then :
4854 $as_echo_n "(cached) " >&6
4856 if test -n "$AWK"; then
4857 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4863 test -z "$as_dir" && as_dir
=.
4864 for ac_exec_ext
in '' $ac_executable_extensions; do
4865 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4866 ac_cv_prog_AWK
="$ac_prog"
4867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4877 if test -n "$AWK"; then
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4879 $as_echo "$AWK" >&6; }
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4882 $as_echo "no" >&6; }
4886 test -n "$AWK" && break
4889 if test -n "$ac_tool_prefix"; then
4890 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4891 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4893 $as_echo_n "checking for $ac_word... " >&6; }
4894 if ${ac_cv_prog_RANLIB+:} false
; then :
4895 $as_echo_n "(cached) " >&6
4897 if test -n "$RANLIB"; then
4898 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4904 test -z "$as_dir" && as_dir
=.
4905 for ac_exec_ext
in '' $ac_executable_extensions; do
4906 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4907 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4917 RANLIB
=$ac_cv_prog_RANLIB
4918 if test -n "$RANLIB"; then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4920 $as_echo "$RANLIB" >&6; }
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4923 $as_echo "no" >&6; }
4928 if test -z "$ac_cv_prog_RANLIB"; then
4929 ac_ct_RANLIB
=$RANLIB
4930 # Extract the first word of "ranlib", so it can be a program name with args.
4931 set dummy ranlib
; ac_word
=$2
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4933 $as_echo_n "checking for $ac_word... " >&6; }
4934 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4935 $as_echo_n "(cached) " >&6
4937 if test -n "$ac_ct_RANLIB"; then
4938 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4944 test -z "$as_dir" && as_dir
=.
4945 for ac_exec_ext
in '' $ac_executable_extensions; do
4946 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4947 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4957 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4958 if test -n "$ac_ct_RANLIB"; then
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4960 $as_echo "$ac_ct_RANLIB" >&6; }
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4963 $as_echo "no" >&6; }
4966 if test "x$ac_ct_RANLIB" = x
; then
4969 case $cross_compiling:$ac_tool_warned in
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4973 ac_tool_warned
=yes ;;
4975 RANLIB
=$ac_ct_RANLIB
4978 RANLIB
="$ac_cv_prog_RANLIB"
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4984 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4989 macro_version
='2.2.6b'
4990 macro_revision
='1.3018'
5004 ltmain
="$ac_aux_dir/ltmain.sh"
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5007 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5008 if ${ac_cv_path_SED+:} false
; then :
5009 $as_echo_n "(cached) " >&6
5011 ac_script
=s
/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
/
5012 for ac_i
in 1 2 3 4 5 6 7; do
5013 ac_script
="$ac_script$as_nl$ac_script"
5015 echo "$ac_script" 2>/dev
/null |
sed 99q
>conftest.
sed
5016 { ac_script
=; unset ac_script
;}
5017 if test -z "$SED"; then
5018 ac_path_SED_found
=false
5019 # Loop through the user's path and test for each of PROGNAME-LIST
5020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5024 test -z "$as_dir" && as_dir
=.
5025 for ac_prog
in sed gsed
; do
5026 for ac_exec_ext
in '' $ac_executable_extensions; do
5027 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5028 as_fn_executable_p
"$ac_path_SED" ||
continue
5029 # Check for GNU ac_path_SED and select it if it is found.
5030 # Check for GNU $ac_path_SED
5031 case `"$ac_path_SED" --version 2>&1` in
5033 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5036 $as_echo_n 0123456789 >"conftest.in"
5039 cat "conftest.in" "conftest.in" >"conftest.tmp"
5040 mv "conftest.tmp" "conftest.in"
5041 cp "conftest.in" "conftest.nl"
5042 $as_echo '' >> "conftest.nl"
5043 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5044 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5045 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5046 if test $ac_count -gt ${ac_path_SED_max-0}; then
5047 # Best one so far, save it but keep looking for a better one
5048 ac_cv_path_SED
="$ac_path_SED"
5049 ac_path_SED_max
=$ac_count
5051 # 10*(2^10) chars as input seems more than enough
5052 test $ac_count -gt 10 && break
5054 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5057 $ac_path_SED_found && break 3
5062 if test -z "$ac_cv_path_SED"; then
5063 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5071 $as_echo "$ac_cv_path_SED" >&6; }
5072 SED
="$ac_cv_path_SED"
5075 test -z "$SED" && SED
=sed
5076 Xsed
="$SED -e 1s/^X//"
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5089 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5090 if ${ac_cv_path_GREP+:} false
; then :
5091 $as_echo_n "(cached) " >&6
5093 if test -z "$GREP"; then
5094 ac_path_GREP_found
=false
5095 # Loop through the user's path and test for each of PROGNAME-LIST
5096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5097 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5100 test -z "$as_dir" && as_dir
=.
5101 for ac_prog
in grep ggrep
; do
5102 for ac_exec_ext
in '' $ac_executable_extensions; do
5103 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5104 as_fn_executable_p
"$ac_path_GREP" ||
continue
5105 # Check for GNU ac_path_GREP and select it if it is found.
5106 # Check for GNU $ac_path_GREP
5107 case `"$ac_path_GREP" --version 2>&1` in
5109 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5112 $as_echo_n 0123456789 >"conftest.in"
5115 cat "conftest.in" "conftest.in" >"conftest.tmp"
5116 mv "conftest.tmp" "conftest.in"
5117 cp "conftest.in" "conftest.nl"
5118 $as_echo 'GREP' >> "conftest.nl"
5119 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5120 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5121 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5122 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5123 # Best one so far, save it but keep looking for a better one
5124 ac_cv_path_GREP
="$ac_path_GREP"
5125 ac_path_GREP_max
=$ac_count
5127 # 10*(2^10) chars as input seems more than enough
5128 test $ac_count -gt 10 && break
5130 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5133 $ac_path_GREP_found && break 3
5138 if test -z "$ac_cv_path_GREP"; then
5139 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5142 ac_cv_path_GREP
=$GREP
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5147 $as_echo "$ac_cv_path_GREP" >&6; }
5148 GREP
="$ac_cv_path_GREP"
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5152 $as_echo_n "checking for egrep... " >&6; }
5153 if ${ac_cv_path_EGREP+:} false
; then :
5154 $as_echo_n "(cached) " >&6
5156 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5157 then ac_cv_path_EGREP
="$GREP -E"
5159 if test -z "$EGREP"; then
5160 ac_path_EGREP_found
=false
5161 # Loop through the user's path and test for each of PROGNAME-LIST
5162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5163 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5166 test -z "$as_dir" && as_dir
=.
5167 for ac_prog
in egrep; do
5168 for ac_exec_ext
in '' $ac_executable_extensions; do
5169 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5170 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5171 # Check for GNU ac_path_EGREP and select it if it is found.
5172 # Check for GNU $ac_path_EGREP
5173 case `"$ac_path_EGREP" --version 2>&1` in
5175 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5178 $as_echo_n 0123456789 >"conftest.in"
5181 cat "conftest.in" "conftest.in" >"conftest.tmp"
5182 mv "conftest.tmp" "conftest.in"
5183 cp "conftest.in" "conftest.nl"
5184 $as_echo 'EGREP' >> "conftest.nl"
5185 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5186 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5187 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5188 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5189 # Best one so far, save it but keep looking for a better one
5190 ac_cv_path_EGREP
="$ac_path_EGREP"
5191 ac_path_EGREP_max
=$ac_count
5193 # 10*(2^10) chars as input seems more than enough
5194 test $ac_count -gt 10 && break
5196 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5199 $ac_path_EGREP_found && break 3
5204 if test -z "$ac_cv_path_EGREP"; then
5205 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5208 ac_cv_path_EGREP
=$EGREP
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5214 $as_echo "$ac_cv_path_EGREP" >&6; }
5215 EGREP
="$ac_cv_path_EGREP"
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5219 $as_echo_n "checking for fgrep... " >&6; }
5220 if ${ac_cv_path_FGREP+:} false
; then :
5221 $as_echo_n "(cached) " >&6
5223 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
5224 then ac_cv_path_FGREP
="$GREP -F"
5226 if test -z "$FGREP"; then
5227 ac_path_FGREP_found
=false
5228 # Loop through the user's path and test for each of PROGNAME-LIST
5229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5230 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5233 test -z "$as_dir" && as_dir
=.
5234 for ac_prog
in fgrep
; do
5235 for ac_exec_ext
in '' $ac_executable_extensions; do
5236 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
5237 as_fn_executable_p
"$ac_path_FGREP" ||
continue
5238 # Check for GNU ac_path_FGREP and select it if it is found.
5239 # Check for GNU $ac_path_FGREP
5240 case `"$ac_path_FGREP" --version 2>&1` in
5242 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
5245 $as_echo_n 0123456789 >"conftest.in"
5248 cat "conftest.in" "conftest.in" >"conftest.tmp"
5249 mv "conftest.tmp" "conftest.in"
5250 cp "conftest.in" "conftest.nl"
5251 $as_echo 'FGREP' >> "conftest.nl"
5252 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5253 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5254 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5255 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5256 # Best one so far, save it but keep looking for a better one
5257 ac_cv_path_FGREP
="$ac_path_FGREP"
5258 ac_path_FGREP_max
=$ac_count
5260 # 10*(2^10) chars as input seems more than enough
5261 test $ac_count -gt 10 && break
5263 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5266 $ac_path_FGREP_found && break 3
5271 if test -z "$ac_cv_path_FGREP"; then
5272 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5275 ac_cv_path_FGREP
=$FGREP
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5281 $as_echo "$ac_cv_path_FGREP" >&6; }
5282 FGREP
="$ac_cv_path_FGREP"
5285 test -z "$GREP" && GREP
=grep
5305 # Check whether --with-gnu-ld was given.
5306 if test "${with_gnu_ld+set}" = set; then :
5307 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
5313 if test "$GCC" = yes; then
5314 # Check if gcc -print-prog-name=ld gives a path.
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5316 $as_echo_n "checking for ld used by $CC... " >&6; }
5319 # gcc leaves a trailing carriage return which upsets mingw
5320 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5322 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
5325 # Accept absolute paths.
5327 re_direlt
='/[^/][^/]*/\.\./'
5328 # Canonicalize the pathname of ld
5329 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5330 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
5331 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5333 test -z "$LD" && LD
="$ac_prog"
5336 # If it fails, then pretend we aren't using GCC.
5340 # If it is relative, then search for the first ld in PATH.
5344 elif test "$with_gnu_ld" = yes; then
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5346 $as_echo_n "checking for GNU ld... " >&6; }
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5349 $as_echo_n "checking for non-GNU ld... " >&6; }
5351 if ${lt_cv_path_LD+:} false
; then :
5352 $as_echo_n "(cached) " >&6
5354 if test -z "$LD"; then
5355 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5356 for ac_dir
in $PATH; do
5358 test -z "$ac_dir" && ac_dir
=.
5359 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
5360 lt_cv_path_LD
="$ac_dir/$ac_prog"
5361 # Check to see if the program is GNU ld. I'd rather use --version,
5362 # but apparently some variants of GNU ld only accept -v.
5363 # Break only if it was the GNU/non-GNU ld that we prefer.
5364 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5365 *GNU
* |
*'with BFD'*)
5366 test "$with_gnu_ld" != no
&& break
5369 test "$with_gnu_ld" != yes && break
5376 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
5381 if test -n "$LD"; then
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5383 $as_echo "$LD" >&6; }
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5386 $as_echo "no" >&6; }
5388 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5390 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5391 if ${lt_cv_prog_gnu_ld+:} false
; then :
5392 $as_echo_n "(cached) " >&6
5394 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5395 case `$LD -v 2>&1 </dev/null` in
5396 *GNU
* |
*'with BFD'*)
5397 lt_cv_prog_gnu_ld
=yes
5400 lt_cv_prog_gnu_ld
=no
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5405 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5406 with_gnu_ld
=$lt_cv_prog_gnu_ld
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5417 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5418 if ${lt_cv_path_NM+:} false
; then :
5419 $as_echo_n "(cached) " >&6
5421 if test -n "$NM"; then
5422 # Let the user override the test.
5425 lt_nm_to_check
="${ac_tool_prefix}nm"
5426 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5427 lt_nm_to_check
="$lt_nm_to_check nm"
5429 for lt_tmp_nm
in $lt_nm_to_check; do
5430 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
5431 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
5433 test -z "$ac_dir" && ac_dir
=.
5434 tmp_nm
="$ac_dir/$lt_tmp_nm"
5435 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
5436 # Check to see if the nm accepts a BSD-compat flag.
5437 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5438 # nm: unknown option "B" ignored
5439 # Tru64's nm complains that /dev/null is an invalid object file
5440 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5441 */dev
/null
* |
*'Invalid file or object type'*)
5442 lt_cv_path_NM
="$tmp_nm -B"
5446 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5448 lt_cv_path_NM
="$tmp_nm -p"
5452 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5453 continue # so that we can try to find one that supports BSD flags
5462 : ${lt_cv_path_NM=no}
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5466 $as_echo "$lt_cv_path_NM" >&6; }
5467 if test "$lt_cv_path_NM" != "no"; then
5470 # Didn't find any BSD compatible name lister, look for dumpbin.
5471 if test -n "$ac_tool_prefix"; then
5472 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5474 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5475 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477 $as_echo_n "checking for $ac_word... " >&6; }
5478 if ${ac_cv_prog_DUMPBIN+:} false
; then :
5479 $as_echo_n "(cached) " >&6
5481 if test -n "$DUMPBIN"; then
5482 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
5484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5488 test -z "$as_dir" && as_dir
=.
5489 for ac_exec_ext
in '' $ac_executable_extensions; do
5490 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5491 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
5492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5501 DUMPBIN
=$ac_cv_prog_DUMPBIN
5502 if test -n "$DUMPBIN"; then
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5504 $as_echo "$DUMPBIN" >&6; }
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507 $as_echo "no" >&6; }
5511 test -n "$DUMPBIN" && break
5514 if test -z "$DUMPBIN"; then
5515 ac_ct_DUMPBIN
=$DUMPBIN
5516 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
5518 # Extract the first word of "$ac_prog", so it can be a program name with args.
5519 set dummy
$ac_prog; ac_word
=$2
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5521 $as_echo_n "checking for $ac_word... " >&6; }
5522 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
5523 $as_echo_n "(cached) " >&6
5525 if test -n "$ac_ct_DUMPBIN"; then
5526 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
5528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5532 test -z "$as_dir" && as_dir
=.
5533 for ac_exec_ext
in '' $ac_executable_extensions; do
5534 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5535 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
5536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5545 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
5546 if test -n "$ac_ct_DUMPBIN"; then
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5548 $as_echo "$ac_ct_DUMPBIN" >&6; }
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5551 $as_echo "no" >&6; }
5555 test -n "$ac_ct_DUMPBIN" && break
5558 if test "x$ac_ct_DUMPBIN" = x
; then
5561 case $cross_compiling:$ac_tool_warned in
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5564 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5565 ac_tool_warned
=yes ;;
5567 DUMPBIN
=$ac_ct_DUMPBIN
5572 if test "$DUMPBIN" != ":"; then
5576 test -z "$NM" && NM
=nm
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5584 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5585 if ${lt_cv_nm_interface+:} false
; then :
5586 $as_echo_n "(cached) " >&6
5588 lt_cv_nm_interface
="BSD nm"
5589 echo "int some_variable = 0;" > conftest.
$ac_ext
5590 (eval echo "\"\$as_me:5590: $ac_compile\"" >&5)
5591 (eval "$ac_compile" 2>conftest.err
)
5592 cat conftest.err
>&5
5593 (eval echo "\"\$as_me:5593: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5594 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
5595 cat conftest.err
>&5
5596 (eval echo "\"\$as_me:5596: output\"" >&5)
5597 cat conftest.out
>&5
5598 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
5599 lt_cv_nm_interface
="MS dumpbin"
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5604 $as_echo "$lt_cv_nm_interface" >&6; }
5606 # find the maximum length of command line arguments
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5608 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5609 if ${lt_cv_sys_max_cmd_len+:} false
; then :
5610 $as_echo_n "(cached) " >&6
5617 # On DJGPP, this test can blow up pretty badly due to problems in libc
5618 # (any single argument exceeding 2000 bytes causes a buffer overrun
5619 # during glob expansion). Even if it were fixed, the result of this
5620 # check would be larger than it should be.
5621 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
5625 # Under GNU Hurd, this test is not required because there is
5626 # no limit to the length of command line arguments.
5627 # Libtool will interpret -1 as no limit whatsoever
5628 lt_cv_sys_max_cmd_len
=-1;
5631 cygwin
* | mingw
* | cegcc
*)
5632 # On Win9x/ME, this test blows up -- it succeeds, but takes
5633 # about 5 minutes as the teststring grows exponentially.
5634 # Worse, since 9x/ME are not pre-emptively multitasking,
5635 # you end up with a "frozen" computer, even though with patience
5636 # the test eventually succeeds (with a max line length of 256k).
5637 # Instead, let's just punt: use the minimum linelength reported by
5638 # all of the supported platforms: 8192 (on NT/2K/XP).
5639 lt_cv_sys_max_cmd_len
=8192;
5643 # On AmigaOS with pdksh, this test takes hours, literally.
5644 # So we just punt and use a minimum line length of 8192.
5645 lt_cv_sys_max_cmd_len
=8192;
5648 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
5649 # This has been around since 386BSD, at least. Likely further.
5650 if test -x /sbin
/sysctl
; then
5651 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
5652 elif test -x /usr
/sbin
/sysctl
; then
5653 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
5655 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
5657 # And add a safety zone
5658 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5659 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5663 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5664 lt_cv_sys_max_cmd_len
=196608
5668 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5669 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5670 # nice to cause kernel panics so lets avoid the loop below.
5671 # First set a reasonable default.
5672 lt_cv_sys_max_cmd_len
=16384
5674 if test -x /sbin
/sysconfig
; then
5675 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5676 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
5681 lt_cv_sys_max_cmd_len
=102400
5683 sysv5
* | sco5v6
* | sysv4.2uw2
*)
5684 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5685 if test -n "$kargmax"; then
5686 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
5688 lt_cv_sys_max_cmd_len
=32768
5692 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
5693 if test -n "$lt_cv_sys_max_cmd_len"; then
5694 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
5695 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
5697 # Make teststring a little bigger before we do anything with it.
5698 # a 1K string should be a reasonable start.
5699 for i
in 1 2 3 4 5 6 7 8 ; do
5700 teststring
=$teststring$teststring
5702 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
5703 # If test is not a shell built-in, we'll probably end up computing a
5704 # maximum length that is only half of the actual maximum length, but
5706 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5707 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
5708 test $i != 17 # 1/2 MB should be enough
5711 teststring
=$teststring$teststring
5713 # Only check the string length outside the loop.
5714 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
5716 # Add a significant safety factor because C++ compilers can tack on
5717 # massive amounts of additional arguments before passing them to the
5718 # linker. It appears as though 1/2 is a usable value.
5719 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
5726 if test -n $lt_cv_sys_max_cmd_len ; then
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5728 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5731 $as_echo "none" >&6; }
5733 max_cmd_len
=$lt_cv_sys_max_cmd_len
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5745 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5746 # Try some XSI features
5749 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5751 && eval 'test $(( 1 + 1 )) -eq 2 \
5752 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
5755 $as_echo "$xsi_shell" >&6; }
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
5759 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
5761 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
5763 && lt_shell_append=yes
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
5765 $as_echo "$lt_shell_append" >&6; }
5768 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5778 # test EBCDIC or ASCII
5779 case `echo X|tr X '\101'` in
5780 A) # ASCII based system
5781 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5782 lt_SP2NL='tr \040 \012'
5783 lt_NL2SP='tr \015\012 \040\040'
5785 *) # EBCDIC based system
5786 lt_SP2NL='tr \100 \n'
5787 lt_NL2SP='tr \r\n \100\100'
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
5800 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
5801 if ${lt_cv_ld_reload_flag+:} false; then :
5802 $as_echo_n "(cached
) " >&6
5804 lt_cv_ld_reload_flag='-r'
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
5807 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5808 reload_flag=$lt_cv_ld_reload_flag
5809 case $reload_flag in
5811 *) reload_flag=" $reload_flag" ;;
5813 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5816 if test "$GCC" = yes; then
5817 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5819 reload_cmds='$LD$reload_flag -o $output$reload_objs'
5832 if test -n "$ac_tool_prefix"; then
5833 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
5834 set dummy ${ac_tool_prefix}objdump; ac_word=$2
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5836 $as_echo_n "checking
for $ac_word...
" >&6; }
5837 if ${ac_cv_prog_OBJDUMP+:} false; then :
5838 $as_echo_n "(cached
) " >&6
5840 if test -n "$OBJDUMP"; then
5841 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847 test -z "$as_dir" && as_dir=.
5848 for ac_exec_ext in '' $ac_executable_extensions; do
5849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5850 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
5851 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5860 OBJDUMP=$ac_cv_prog_OBJDUMP
5861 if test -n "$OBJDUMP"; then
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
5863 $as_echo "$OBJDUMP" >&6; }
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5866 $as_echo "no
" >&6; }
5871 if test -z "$ac_cv_prog_OBJDUMP"; then
5872 ac_ct_OBJDUMP=$OBJDUMP
5873 # Extract the first word of "objdump
", so it can be a program name with args.
5874 set dummy objdump; ac_word=$2
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5876 $as_echo_n "checking
for $ac_word...
" >&6; }
5877 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5878 $as_echo_n "(cached
) " >&6
5880 if test -n "$ac_ct_OBJDUMP"; then
5881 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5887 test -z "$as_dir" && as_dir=.
5888 for ac_exec_ext in '' $ac_executable_extensions; do
5889 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5890 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
5891 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5900 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5901 if test -n "$ac_ct_OBJDUMP"; then
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
5903 $as_echo "$ac_ct_OBJDUMP" >&6; }
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5906 $as_echo "no
" >&6; }
5909 if test "x
$ac_ct_OBJDUMP" = x; then
5912 case $cross_compiling:$ac_tool_warned in
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5915 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5916 ac_tool_warned=yes ;;
5918 OBJDUMP=$ac_ct_OBJDUMP
5921 OBJDUMP="$ac_cv_prog_OBJDUMP"
5924 test -z "$OBJDUMP" && OBJDUMP=objdump
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
5935 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
5936 if ${lt_cv_deplibs_check_method+:} false; then :
5937 $as_echo_n "(cached
) " >&6
5939 lt_cv_file_magic_cmd='$MAGIC_CMD'
5940 lt_cv_file_magic_test_file=
5941 lt_cv_deplibs_check_method='unknown'
5942 # Need to set the preceding variable on all platforms that support
5943 # interlibrary dependencies.
5944 # 'none' -- dependencies not supported.
5945 # `unknown' -- same as none, but documents that we really don't know.
5946 # 'pass_all' -- all dependencies passed with no checks.
5947 # 'test_compile' -- check by making test program.
5948 # 'file_magic [[regex]]' -- check by looking for files in library path
5949 # which responds to the $file_magic_cmd with a given extended regex.
5950 # If you have `file' or equivalent on your system and you're not sure
5951 # whether `pass_all' will *always* work, you probably want this one.
5955 lt_cv_deplibs_check_method=pass_all
5959 lt_cv_deplibs_check_method=pass_all
5963 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5964 lt_cv_file_magic_cmd='/usr/bin/file -L'
5965 lt_cv_file_magic_test_file=/shlib/libc.so
5969 # func_win32_libid is a shell function defined in ltmain.sh
5970 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5971 lt_cv_file_magic_cmd='func_win32_libid'
5975 # Base MSYS/MinGW do not provide the 'file' command needed by
5976 # func_win32_libid shell function, so use a weaker test based on 'objdump',
5977 # unless we find 'file', for example because we are cross-compiling.
5978 if ( file / ) >/dev/null 2>&1; then
5979 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5980 lt_cv_file_magic_cmd='func_win32_libid'
5982 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5983 lt_cv_file_magic_cmd='$OBJDUMP -f'
5988 # use the weaker test based on 'objdump'. See mingw*.
5989 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5990 lt_cv_file_magic_cmd='$OBJDUMP -f'
5993 darwin* | rhapsody*)
5994 lt_cv_deplibs_check_method=pass_all
5997 freebsd* | dragonfly*)
5998 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6001 # Not sure whether the presence of OpenBSD here was a mistake.
6002 # Let's accept both of them until this is cleared up.
6003 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6004 lt_cv_file_magic_cmd=/usr/bin/file
6005 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6009 lt_cv_deplibs_check_method=pass_all
6014 lt_cv_deplibs_check_method=pass_all
6017 hpux10.20* | hpux11*)
6018 lt_cv_file_magic_cmd=/usr/bin/file
6021 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6022 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6025 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]'
6026 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6029 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
6030 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6036 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6037 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6040 irix5* | irix6* | nonstopux*)
6042 *-32|*"-32 ") libmagic=32-bit;;
6043 *-n32|*"-n32 ") libmagic=N32;;
6044 *-64|*"-64 ") libmagic=64-bit;;
6045 *) libmagic=never-match;;
6047 lt_cv_deplibs_check_method=pass_all
6050 # This must be Linux ELF.
6051 linux* | k*bsd*-gnu)
6052 lt_cv_deplibs_check_method=pass_all
6056 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6057 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6059 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6064 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6065 lt_cv_file_magic_cmd=/usr/bin/file
6066 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6070 lt_cv_deplibs_check_method=pass_all
6074 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
6075 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6077 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6081 osf3* | osf4* | osf5*)
6082 lt_cv_deplibs_check_method=pass_all
6086 lt_cv_deplibs_check_method=pass_all
6090 lt_cv_deplibs_check_method=pass_all
6093 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6094 lt_cv_deplibs_check_method=pass_all
6098 case $host_vendor in
6100 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]'
6101 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6104 lt_cv_deplibs_check_method=pass_all
6107 lt_cv_file_magic_cmd='/bin/file'
6108 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6111 lt_cv_file_magic_cmd='/bin/file'
6112 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
6113 lt_cv_file_magic_test_file=/lib/libc.so
6116 lt_cv_deplibs_check_method=pass_all
6119 lt_cv_deplibs_check_method=pass_all
6125 lt_cv_deplibs_check_method=pass_all
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
6131 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6132 file_magic_cmd=$lt_cv_file_magic_cmd
6133 deplibs_check_method=$lt_cv_deplibs_check_method
6134 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6147 if test -n "$ac_tool_prefix"; then
6148 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6149 set dummy ${ac_tool_prefix}ar; ac_word=$2
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6151 $as_echo_n "checking
for $ac_word...
" >&6; }
6152 if ${ac_cv_prog_AR+:} false; then :
6153 $as_echo_n "(cached
) " >&6
6155 if test -n "$AR"; then
6156 ac_cv_prog_AR="$AR" # Let the user override the test.
6158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6162 test -z "$as_dir" && as_dir=.
6163 for ac_exec_ext in '' $ac_executable_extensions; do
6164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6165 ac_cv_prog_AR="${ac_tool_prefix}ar"
6166 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6176 if test -n "$AR"; then
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
6178 $as_echo "$AR" >&6; }
6180 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6181 $as_echo "no
" >&6; }
6186 if test -z "$ac_cv_prog_AR"; then
6188 # Extract the first word of "ar", so it can be a program name with args.
6189 set dummy ar; ac_word=$2
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6191 $as_echo_n "checking
for $ac_word...
" >&6; }
6192 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6193 $as_echo_n "(cached
) " >&6
6195 if test -n "$ac_ct_AR"; then
6196 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6202 test -z "$as_dir" && as_dir=.
6203 for ac_exec_ext in '' $ac_executable_extensions; do
6204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6205 ac_cv_prog_ac_ct_AR="ar"
6206 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6215 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6216 if test -n "$ac_ct_AR"; then
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
6218 $as_echo "$ac_ct_AR" >&6; }
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6221 $as_echo "no
" >&6; }
6224 if test "x
$ac_ct_AR" = x; then
6227 case $cross_compiling:$ac_tool_warned in
6229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6230 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6231 ac_tool_warned=yes ;;
6239 test -z "$AR" && AR=ar
6240 test -z "$AR_FLAGS" && AR_FLAGS=cru
6252 if test -n "$ac_tool_prefix"; then
6253 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
6254 set dummy ${ac_tool_prefix}strip; ac_word=$2
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6256 $as_echo_n "checking
for $ac_word...
" >&6; }
6257 if ${ac_cv_prog_STRIP+:} false; then :
6258 $as_echo_n "(cached
) " >&6
6260 if test -n "$STRIP"; then
6261 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6267 test -z "$as_dir" && as_dir=.
6268 for ac_exec_ext in '' $ac_executable_extensions; do
6269 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6270 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
6271 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6280 STRIP=$ac_cv_prog_STRIP
6281 if test -n "$STRIP"; then
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
6283 $as_echo "$STRIP" >&6; }
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6286 $as_echo "no
" >&6; }
6291 if test -z "$ac_cv_prog_STRIP"; then
6293 # Extract the first word of "strip
", so it can be a program name with args.
6294 set dummy strip; ac_word=$2
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6296 $as_echo_n "checking
for $ac_word...
" >&6; }
6297 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6298 $as_echo_n "(cached
) " >&6
6300 if test -n "$ac_ct_STRIP"; then
6301 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6307 test -z "$as_dir" && as_dir=.
6308 for ac_exec_ext in '' $ac_executable_extensions; do
6309 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6310 ac_cv_prog_ac_ct_STRIP="strip
"
6311 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6320 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6321 if test -n "$ac_ct_STRIP"; then
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
6323 $as_echo "$ac_ct_STRIP" >&6; }
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6326 $as_echo "no
" >&6; }
6329 if test "x
$ac_ct_STRIP" = x; then
6332 case $cross_compiling:$ac_tool_warned in
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6335 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6336 ac_tool_warned=yes ;;
6341 STRIP="$ac_cv_prog_STRIP"
6344 test -z "$STRIP" && STRIP=:
6351 if test -n "$ac_tool_prefix"; then
6352 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
6353 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6355 $as_echo_n "checking
for $ac_word...
" >&6; }
6356 if ${ac_cv_prog_RANLIB+:} false; then :
6357 $as_echo_n "(cached
) " >&6
6359 if test -n "$RANLIB"; then
6360 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6366 test -z "$as_dir" && as_dir=.
6367 for ac_exec_ext in '' $ac_executable_extensions; do
6368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6369 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
6370 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6379 RANLIB=$ac_cv_prog_RANLIB
6380 if test -n "$RANLIB"; then
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
6382 $as_echo "$RANLIB" >&6; }
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6385 $as_echo "no
" >&6; }
6390 if test -z "$ac_cv_prog_RANLIB"; then
6391 ac_ct_RANLIB=$RANLIB
6392 # Extract the first word of "ranlib
", so it can be a program name with args.
6393 set dummy ranlib; ac_word=$2
6394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6395 $as_echo_n "checking
for $ac_word...
" >&6; }
6396 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6397 $as_echo_n "(cached
) " >&6
6399 if test -n "$ac_ct_RANLIB"; then
6400 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6406 test -z "$as_dir" && as_dir=.
6407 for ac_exec_ext in '' $ac_executable_extensions; do
6408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6409 ac_cv_prog_ac_ct_RANLIB="ranlib
"
6410 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6419 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6420 if test -n "$ac_ct_RANLIB"; then
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
6422 $as_echo "$ac_ct_RANLIB" >&6; }
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6425 $as_echo "no
" >&6; }
6428 if test "x
$ac_ct_RANLIB" = x; then
6431 case $cross_compiling:$ac_tool_warned in
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6434 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6435 ac_tool_warned=yes ;;
6437 RANLIB=$ac_ct_RANLIB
6440 RANLIB="$ac_cv_prog_RANLIB"
6443 test -z "$RANLIB" && RANLIB=:
6450 # Determine commands to create old-style static archives.
6451 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6452 old_postinstall_cmds='chmod 644 $oldlib'
6453 old_postuninstall_cmds=
6455 if test -n "$RANLIB"; then
6458 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
6461 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
6464 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
6500 # If no C compiler was specified, use CC.
6503 # If no C compiler flags were specified, use CFLAGS.
6504 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6506 # Allow CC to be a program name with arguments.
6510 # Check for command to grab the raw symbol name followed by C symbol from nm.
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
6512 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
6513 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6514 $as_echo_n "(cached
) " >&6
6517 # These are sane defaults that work on at least a few old systems.
6518 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6520 # Character class describing NM global symbol codes.
6521 symcode='[BCDEGRST]'
6523 # Regexp to match symbols that can be accessed directly from C.
6524 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6526 # Define system-specific variables.
6531 cygwin* | mingw* | pw32* | cegcc*)
6532 symcode='[ABCDGISTW]'
6535 if test "$host_cpu" = ia64; then
6536 symcode='[ABCDEGRST]'
6540 symcode='[BCDEGRST]'
6543 symcode='[BCDEGQRST]'
6554 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6562 # If we're using GNU nm, then use its standard symbol codes.
6563 case `$NM -V 2>&1` in
6564 *GNU* | *'with BFD'*)
6565 symcode='[ABCDGIRSTW]' ;;
6568 # Transform an extracted symbol line into a proper C declaration.
6569 # Some systems (esp. on ia64) link data and code symbols differently,
6570 # so use this general approach.
6571 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6573 # Transform an extracted symbol line into symbol name and symbol address
6574 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6575 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'"
6577 # Handle CRLF in mingw tool chain
6581 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6585 # Try without a prefix underscore, then with it.
6586 for ac_symprfx in "" "_
"; do
6588 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6589 symxfrm="\\1 $ac_symprfx\\2 \\2"
6591 # Write the raw and C identifiers.
6592 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
6593 # Fake it for dumpbin and say T for any non-static function
6594 # and D for any global variable.
6595 # Also find C++ and __fastcall symbols from MSVC++,
6596 # which start with @ or ?.
6597 lt_cv_sys_global_symbol_pipe="$AWK '"\
6598 " {last_section=section; section=\$ 3};"\
6599 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6600 " \$ 0!~/External *\|/{next};"\
6601 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6602 " {if(hide[section]) next};"\
6603 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6604 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6605 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6606 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6607 " ' prfx
=^
$ac_symprfx"
6609 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6612 # Check to see that the pipe works correctly.
6616 cat > conftest.$ac_ext <<_LT_EOF
6621 void nm_test_func(void);
6622 void nm_test_func(void){}
6626 int main(){nm_test_var='a';nm_test_func();return(0);}
6629 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6630 (eval $ac_compile) 2>&5
6632 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6633 test $ac_status = 0; }; then
6634 # Now try to grab the symbols.
6636 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\""; } >&5
6637 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6639 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6640 test $ac_status = 0; } && test -s "$nlist"; then
6641 # Try sorting and uniquifying the output.
6642 if sort "$nlist" | uniq > "$nlist"T; then
6643 mv -f "$nlist"T "$nlist"
6648 # Make sure that we snagged all the symbols we need.
6649 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6650 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6651 cat <<_LT_EOF > conftest.$ac_ext
6657 # Now generate the symbol file.
6658 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6660 cat <<_LT_EOF >> conftest.$ac_ext
6662 /* The mapping between symbol names and symbols. */
6667 lt__PROGRAM__LTX_preloaded_symbols[] =
6669 { "@PROGRAM@
", (void *) 0 },
6671 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6672 cat <<\_LT_EOF >> conftest.$ac_ext
6676 /* This works around a problem in FreeBSD linker */
6677 #ifdef FREEBSD_WORKAROUND
6678 static const void *lt_preloaded_setup() {
6679 return lt__PROGRAM__LTX_preloaded_symbols;
6687 # Now try linking the two files.
6688 mv conftest.$ac_objext conftstm.$ac_objext
6689 lt_save_LIBS="$LIBS"
6690 lt_save_CFLAGS="$CFLAGS"
6691 LIBS="conftstm.
$ac_objext"
6692 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6693 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6694 (eval $ac_link) 2>&5
6696 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6697 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6700 LIBS="$lt_save_LIBS"
6701 CFLAGS="$lt_save_CFLAGS"
6703 echo "cannot
find nm_test_func
in $nlist" >&5
6706 echo "cannot
find nm_test_var
in $nlist" >&5
6709 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
6712 echo "$progname: failed program was
:" >&5
6713 cat conftest.$ac_ext >&5
6715 rm -rf conftest* conftst*
6717 # Do not use the global_symbol_pipe unless it works.
6718 if test "$pipe_works" = yes; then
6721 lt_cv_sys_global_symbol_pipe=
6727 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6728 lt_cv_sys_global_symbol_to_cdecl=
6730 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
6732 $as_echo "failed
" >&6; }
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
6735 $as_echo "ok
" >&6; }
6760 # Check whether --enable-libtool-lock was given.
6761 if test "${enable_libtool_lock+set}" = set; then :
6762 enableval=$enable_libtool_lock;
6765 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
6767 # Some flags need to be propagated to the compiler or linker for good
6771 # Find out which ABI we are using.
6772 echo 'int i;' > conftest.$ac_ext
6773 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6774 (eval $ac_compile) 2>&5
6776 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6777 test $ac_status = 0; }; then
6778 case `/usr/bin/file conftest.$ac_objext` in
6790 # Find out which ABI we are using.
6791 echo '#line 6791 "configure
"' > conftest.$ac_ext
6792 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6793 (eval $ac_compile) 2>&5
6795 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6796 test $ac_status = 0; }; then
6797 if test "$lt_cv_prog_gnu_ld" = yes; then
6798 case `/usr/bin/file conftest.$ac_objext` in
6800 LD="${LD-ld} -melf32bsmip"
6803 LD="${LD-ld} -melf32bmipn32"
6806 LD="${LD-ld} -melf64bmip"
6810 case `/usr/bin/file conftest.$ac_objext` in
6826 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6827 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6828 # Find out which ABI we are using.
6829 echo 'int i;' > conftest.$ac_ext
6830 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6831 (eval $ac_compile) 2>&5
6833 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6834 test $ac_status = 0; }; then
6835 case `/usr/bin/file conftest.o` in
6838 x86_64-*kfreebsd*-gnu)
6839 LD="${LD-ld} -m elf_i386_fbsd
"
6842 LD="${LD-ld} -m elf_i386
"
6844 ppc64-*linux*|powerpc64-*linux*)
6845 LD="${LD-ld} -m elf32ppclinux
"
6848 LD="${LD-ld} -m elf_s390
"
6851 LD="${LD-ld} -m elf32_sparc
"
6857 x86_64-*kfreebsd*-gnu)
6858 LD="${LD-ld} -m elf_x86_64_fbsd
"
6861 LD="${LD-ld} -m elf_x86_64
"
6863 ppc*-*linux*|powerpc*-*linux*)
6864 LD="${LD-ld} -m elf64ppc
"
6866 s390*-*linux*|s390*-*tpf*)
6867 LD="${LD-ld} -m elf64_s390
"
6870 LD="${LD-ld} -m elf64_sparc
"
6880 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6881 SAVE_CFLAGS="$CFLAGS"
6882 CFLAGS="$CFLAGS -belf"
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
6884 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
6885 if ${lt_cv_cc_needs_belf+:} false; then :
6886 $as_echo_n "(cached
) " >&6
6889 ac_cpp='$CPP $CPPFLAGS'
6890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6895 /* end confdefs.h. */
6905 if ac_fn_c_try_link "$LINENO"; then :
6906 lt_cv_cc_needs_belf=yes
6908 lt_cv_cc_needs_belf=no
6910 rm -f core conftest.err conftest.$ac_objext \
6911 conftest$ac_exeext conftest.$ac_ext
6913 ac_cpp='$CPP $CPPFLAGS'
6914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
6920 $as_echo "$lt_cv_cc_needs_belf" >&6; }
6921 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6922 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6923 CFLAGS="$SAVE_CFLAGS"
6927 # Find out which ABI we are using.
6928 echo 'int i;' > conftest.$ac_ext
6929 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6930 (eval $ac_compile) 2>&5
6932 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
6933 test $ac_status = 0; }; then
6934 case `/usr/bin/file conftest.o` in
6936 case $lt_cv_prog_gnu_ld in
6937 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
6939 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6951 need_locks="$enable_libtool_lock"
6955 rhapsody* | darwin*)
6956 if test -n "$ac_tool_prefix"; then
6957 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
6958 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6960 $as_echo_n "checking
for $ac_word...
" >&6; }
6961 if ${ac_cv_prog_DSYMUTIL+:} false; then :
6962 $as_echo_n "(cached
) " >&6
6964 if test -n "$DSYMUTIL"; then
6965 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6971 test -z "$as_dir" && as_dir=.
6972 for ac_exec_ext in '' $ac_executable_extensions; do
6973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6974 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
6975 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6984 DSYMUTIL=$ac_cv_prog_DSYMUTIL
6985 if test -n "$DSYMUTIL"; then
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
6987 $as_echo "$DSYMUTIL" >&6; }
6989 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6990 $as_echo "no
" >&6; }
6995 if test -z "$ac_cv_prog_DSYMUTIL"; then
6996 ac_ct_DSYMUTIL=$DSYMUTIL
6997 # Extract the first word of "dsymutil
", so it can be a program name with args.
6998 set dummy dsymutil; ac_word=$2
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7000 $as_echo_n "checking
for $ac_word...
" >&6; }
7001 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7002 $as_echo_n "(cached
) " >&6
7004 if test -n "$ac_ct_DSYMUTIL"; then
7005 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7011 test -z "$as_dir" && as_dir=.
7012 for ac_exec_ext in '' $ac_executable_extensions; do
7013 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7014 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
7015 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7024 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7025 if test -n "$ac_ct_DSYMUTIL"; then
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
7027 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7030 $as_echo "no
" >&6; }
7033 if test "x
$ac_ct_DSYMUTIL" = x; then
7036 case $cross_compiling:$ac_tool_warned in
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7039 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7040 ac_tool_warned=yes ;;
7042 DSYMUTIL=$ac_ct_DSYMUTIL
7045 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7048 if test -n "$ac_tool_prefix"; then
7049 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
7050 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7052 $as_echo_n "checking
for $ac_word...
" >&6; }
7053 if ${ac_cv_prog_NMEDIT+:} false; then :
7054 $as_echo_n "(cached
) " >&6
7056 if test -n "$NMEDIT"; then
7057 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7063 test -z "$as_dir" && as_dir=.
7064 for ac_exec_ext in '' $ac_executable_extensions; do
7065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7066 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
7067 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7076 NMEDIT=$ac_cv_prog_NMEDIT
7077 if test -n "$NMEDIT"; then
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
7079 $as_echo "$NMEDIT" >&6; }
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7082 $as_echo "no
" >&6; }
7087 if test -z "$ac_cv_prog_NMEDIT"; then
7088 ac_ct_NMEDIT=$NMEDIT
7089 # Extract the first word of "nmedit
", so it can be a program name with args.
7090 set dummy nmedit; ac_word=$2
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7092 $as_echo_n "checking
for $ac_word...
" >&6; }
7093 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7094 $as_echo_n "(cached
) " >&6
7096 if test -n "$ac_ct_NMEDIT"; then
7097 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7103 test -z "$as_dir" && as_dir=.
7104 for ac_exec_ext in '' $ac_executable_extensions; do
7105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7106 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
7107 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7116 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7117 if test -n "$ac_ct_NMEDIT"; then
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
7119 $as_echo "$ac_ct_NMEDIT" >&6; }
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7122 $as_echo "no
" >&6; }
7125 if test "x
$ac_ct_NMEDIT" = x; then
7128 case $cross_compiling:$ac_tool_warned in
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7131 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7132 ac_tool_warned=yes ;;
7134 NMEDIT=$ac_ct_NMEDIT
7137 NMEDIT="$ac_cv_prog_NMEDIT"
7140 if test -n "$ac_tool_prefix"; then
7141 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
7142 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7144 $as_echo_n "checking
for $ac_word...
" >&6; }
7145 if ${ac_cv_prog_LIPO+:} false; then :
7146 $as_echo_n "(cached
) " >&6
7148 if test -n "$LIPO"; then
7149 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7155 test -z "$as_dir" && as_dir=.
7156 for ac_exec_ext in '' $ac_executable_extensions; do
7157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7158 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
7159 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7168 LIPO=$ac_cv_prog_LIPO
7169 if test -n "$LIPO"; then
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
7171 $as_echo "$LIPO" >&6; }
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7174 $as_echo "no
" >&6; }
7179 if test -z "$ac_cv_prog_LIPO"; then
7181 # Extract the first word of "lipo
", so it can be a program name with args.
7182 set dummy lipo; ac_word=$2
7183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7184 $as_echo_n "checking
for $ac_word...
" >&6; }
7185 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7186 $as_echo_n "(cached
) " >&6
7188 if test -n "$ac_ct_LIPO"; then
7189 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7195 test -z "$as_dir" && as_dir=.
7196 for ac_exec_ext in '' $ac_executable_extensions; do
7197 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7198 ac_cv_prog_ac_ct_LIPO="lipo
"
7199 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7208 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7209 if test -n "$ac_ct_LIPO"; then
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
7211 $as_echo "$ac_ct_LIPO" >&6; }
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7214 $as_echo "no
" >&6; }
7217 if test "x
$ac_ct_LIPO" = x; then
7220 case $cross_compiling:$ac_tool_warned in
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7223 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7224 ac_tool_warned=yes ;;
7229 LIPO="$ac_cv_prog_LIPO"
7232 if test -n "$ac_tool_prefix"; then
7233 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
7234 set dummy ${ac_tool_prefix}otool; ac_word=$2
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7236 $as_echo_n "checking
for $ac_word...
" >&6; }
7237 if ${ac_cv_prog_OTOOL+:} false; then :
7238 $as_echo_n "(cached
) " >&6
7240 if test -n "$OTOOL"; then
7241 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7247 test -z "$as_dir" && as_dir=.
7248 for ac_exec_ext in '' $ac_executable_extensions; do
7249 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7250 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
7251 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7260 OTOOL=$ac_cv_prog_OTOOL
7261 if test -n "$OTOOL"; then
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
7263 $as_echo "$OTOOL" >&6; }
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7266 $as_echo "no
" >&6; }
7271 if test -z "$ac_cv_prog_OTOOL"; then
7273 # Extract the first word of "otool
", so it can be a program name with args.
7274 set dummy otool; ac_word=$2
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7276 $as_echo_n "checking
for $ac_word...
" >&6; }
7277 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7278 $as_echo_n "(cached
) " >&6
7280 if test -n "$ac_ct_OTOOL"; then
7281 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7287 test -z "$as_dir" && as_dir=.
7288 for ac_exec_ext in '' $ac_executable_extensions; do
7289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7290 ac_cv_prog_ac_ct_OTOOL="otool
"
7291 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7300 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7301 if test -n "$ac_ct_OTOOL"; then
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
7303 $as_echo "$ac_ct_OTOOL" >&6; }
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7306 $as_echo "no
" >&6; }
7309 if test "x
$ac_ct_OTOOL" = x; then
7312 case $cross_compiling:$ac_tool_warned in
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7315 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7316 ac_tool_warned=yes ;;
7321 OTOOL="$ac_cv_prog_OTOOL"
7324 if test -n "$ac_tool_prefix"; then
7325 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
7326 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7328 $as_echo_n "checking
for $ac_word...
" >&6; }
7329 if ${ac_cv_prog_OTOOL64+:} false; then :
7330 $as_echo_n "(cached
) " >&6
7332 if test -n "$OTOOL64"; then
7333 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7339 test -z "$as_dir" && as_dir=.
7340 for ac_exec_ext in '' $ac_executable_extensions; do
7341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7342 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
7343 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7352 OTOOL64=$ac_cv_prog_OTOOL64
7353 if test -n "$OTOOL64"; then
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
7355 $as_echo "$OTOOL64" >&6; }
7357 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7358 $as_echo "no
" >&6; }
7363 if test -z "$ac_cv_prog_OTOOL64"; then
7364 ac_ct_OTOOL64=$OTOOL64
7365 # Extract the first word of "otool64
", so it can be a program name with args.
7366 set dummy otool64; ac_word=$2
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7368 $as_echo_n "checking
for $ac_word...
" >&6; }
7369 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7370 $as_echo_n "(cached
) " >&6
7372 if test -n "$ac_ct_OTOOL64"; then
7373 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7379 test -z "$as_dir" && as_dir=.
7380 for ac_exec_ext in '' $ac_executable_extensions; do
7381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7382 ac_cv_prog_ac_ct_OTOOL64="otool64
"
7383 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7392 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7393 if test -n "$ac_ct_OTOOL64"; then
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
7395 $as_echo "$ac_ct_OTOOL64" >&6; }
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7398 $as_echo "no
" >&6; }
7401 if test "x
$ac_ct_OTOOL64" = x; then
7404 case $cross_compiling:$ac_tool_warned in
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7407 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7408 ac_tool_warned=yes ;;
7410 OTOOL64=$ac_ct_OTOOL64
7413 OTOOL64="$ac_cv_prog_OTOOL64"
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
7443 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
7444 if ${lt_cv_apple_cc_single_mod+:} false; then :
7445 $as_echo_n "(cached
) " >&6
7447 lt_cv_apple_cc_single_mod=no
7448 if test -z "${LT_MULTI_MODULE}"; then
7449 # By default we will add the -single_module flag. You can override
7450 # by either setting the environment variable LT_MULTI_MODULE
7451 # non-empty at configure time, or by adding -multi_module to the
7453 rm -rf libconftest.dylib*
7454 echo "int foo
(void
){return 1;}" > conftest.c
7455 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7456 -dynamiclib -Wl,-single_module conftest.c
" >&5
7457 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7458 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7460 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7461 lt_cv_apple_cc_single_mod=yes
7463 cat conftest.err >&5
7465 rm -rf libconftest.dylib*
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
7470 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
7472 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
7473 if ${lt_cv_ld_exported_symbols_list+:} false; then :
7474 $as_echo_n "(cached
) " >&6
7476 lt_cv_ld_exported_symbols_list=no
7477 save_LDFLAGS=$LDFLAGS
7478 echo "_main
" > conftest.sym
7479 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
7480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7481 /* end confdefs.h. */
7491 if ac_fn_c_try_link "$LINENO"; then :
7492 lt_cv_ld_exported_symbols_list=yes
7494 lt_cv_ld_exported_symbols_list=no
7496 rm -f core conftest.err conftest.$ac_objext \
7497 conftest$ac_exeext conftest.$ac_ext
7498 LDFLAGS="$save_LDFLAGS"
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
7502 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7504 rhapsody* | darwin1.[012])
7505 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7507 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7508 darwin*) # darwin 5.x on
7509 # if running on 10.5 or later, the deployment target defaults
7510 # to the OS version, if on x86, and 10.4, the deployment
7511 # target defaults to 10.4. Don't you love it?
7512 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7513 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7514 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7516 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7518 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7522 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7523 _lt_dar_single_mod='$single_module'
7525 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7526 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7528 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7530 if test "$DSYMUTIL" != ":"; then
7531 _lt_dsymutil='~$DSYMUTIL $lib || :'
7539 ac_cpp='$CPP $CPPFLAGS'
7540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor
" >&5
7544 $as_echo_n "checking how to run the C preprocessor...
" >&6; }
7545 # On Suns, sometimes $CPP names a directory.
7546 if test -n "$CPP" && test -d "$CPP"; then
7549 if test -z "$CPP"; then
7550 if ${ac_cv_prog_CPP+:} false; then :
7551 $as_echo_n "(cached
) " >&6
7553 # Double quotes because CPP needs to be expanded
7554 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
7557 for ac_c_preproc_warn_flag in '' yes
7559 # Use a header file that comes with gcc, so configuring glibc
7560 # with a fresh cross-compiler works.
7561 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7562 # <limits.h> exists even on freestanding compilers.
7563 # On the NeXT, cc -E runs the code through the compiler's parser,
7564 # not just through cpp. "Syntax error
" is here to catch this case.
7565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7566 /* end confdefs.h. */
7568 # include <limits.h>
7570 # include <assert.h>
7574 if ac_fn_c_try_cpp "$LINENO"; then :
7577 # Broken: fails on valid input.
7580 rm -f conftest.err conftest.i conftest.$ac_ext
7582 # OK, works on sane cases. Now check whether nonexistent headers
7583 # can be detected and how.
7584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7585 /* end confdefs.h. */
7586 #include <ac_nonexistent.h>
7588 if ac_fn_c_try_cpp "$LINENO"; then :
7589 # Broken: success on invalid input.
7592 # Passes both tests.
7596 rm -f conftest.err conftest.i conftest.$ac_ext
7599 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7600 rm -f conftest.i conftest.err conftest.$ac_ext
7601 if $ac_preproc_ok; then :
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $CPP" >&5
7614 $as_echo "$CPP" >&6; }
7616 for ac_c_preproc_warn_flag in '' yes
7618 # Use a header file that comes with gcc, so configuring glibc
7619 # with a fresh cross-compiler works.
7620 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7621 # <limits.h> exists even on freestanding compilers.
7622 # On the NeXT, cc -E runs the code through the compiler's parser,
7623 # not just through cpp. "Syntax error
" is here to catch this case.
7624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7625 /* end confdefs.h. */
7627 # include <limits.h>
7629 # include <assert.h>
7633 if ac_fn_c_try_cpp "$LINENO"; then :
7636 # Broken: fails on valid input.
7639 rm -f conftest.err conftest.i conftest.$ac_ext
7641 # OK, works on sane cases. Now check whether nonexistent headers
7642 # can be detected and how.
7643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7644 /* end confdefs.h. */
7645 #include <ac_nonexistent.h>
7647 if ac_fn_c_try_cpp "$LINENO"; then :
7648 # Broken: success on invalid input.
7651 # Passes both tests.
7655 rm -f conftest.err conftest.i conftest.$ac_ext
7658 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7659 rm -f conftest.i conftest.err conftest.$ac_ext
7660 if $ac_preproc_ok; then :
7663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
7664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7665 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7666 See \`config.log' for more details
" "$LINENO" 5; }
7670 ac_cpp='$CPP $CPPFLAGS'
7671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
7677 $as_echo_n "checking
for ANSI C header files...
" >&6; }
7678 if ${ac_cv_header_stdc+:} false; then :
7679 $as_echo_n "(cached
) " >&6
7681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7682 /* end confdefs.h. */
7696 if ac_fn_c_try_compile "$LINENO"; then :
7697 ac_cv_header_stdc=yes
7699 ac_cv_header_stdc=no
7701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7703 if test $ac_cv_header_stdc = yes; then
7704 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7706 /* end confdefs.h. */
7710 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7711 $EGREP "memchr
" >/dev/null 2>&1; then :
7714 ac_cv_header_stdc=no
7720 if test $ac_cv_header_stdc = yes; then
7721 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7723 /* end confdefs.h. */
7727 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
7728 $EGREP "free
" >/dev/null 2>&1; then :
7731 ac_cv_header_stdc=no
7737 if test $ac_cv_header_stdc = yes; then
7738 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7739 if test "$cross_compiling" = yes; then :
7742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7743 /* end confdefs.h. */
7746 #if ((' ' & 0x0FF) == 0x020)
7747 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7748 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7750 # define ISLOWER(c) \
7751 (('a' <= (c) && (c) <= 'i') \
7752 || ('j' <= (c) && (c) <= 'r') \
7753 || ('s' <= (c) && (c) <= 'z'))
7754 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7757 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7762 for (i = 0; i < 256; i++)
7763 if (XOR (islower (i), ISLOWER (i))
7764 || toupper (i) != TOUPPER (i))
7769 if ac_fn_c_try_run "$LINENO"; then :
7772 ac_cv_header_stdc=no
7774 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7775 conftest.$ac_objext conftest.beam conftest.$ac_ext
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
7781 $as_echo "$ac_cv_header_stdc" >&6; }
7782 if test $ac_cv_header_stdc = yes; then
7784 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7788 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7789 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7790 inttypes.h stdint.h unistd.h
7792 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7793 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7795 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7796 cat >>confdefs.h
<<_ACEOF
7797 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7805 for ac_header
in dlfcn.h
7807 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7809 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
7810 cat >>confdefs.h
<<_ACEOF
7811 #define HAVE_DLFCN_H 1
7830 # Check whether --enable-shared was given.
7831 if test "${enable_shared+set}" = set; then :
7832 enableval
=$enable_shared; p
=${PACKAGE-default}
7834 yes) enable_shared
=yes ;;
7835 no
) enable_shared
=no
;;
7838 # Look at the argument we got. We use all the common list separators.
7839 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7840 for pkg
in $enableval; do
7842 if test "X$pkg" = "X$p"; then
7861 # Check whether --enable-static was given.
7862 if test "${enable_static+set}" = set; then :
7863 enableval
=$enable_static; p
=${PACKAGE-default}
7865 yes) enable_static
=yes ;;
7866 no
) enable_static
=no
;;
7869 # Look at the argument we got. We use all the common list separators.
7870 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7871 for pkg
in $enableval; do
7873 if test "X$pkg" = "X$p"; then
7893 # Check whether --with-pic was given.
7894 if test "${with_pic+set}" = set; then :
7895 withval
=$with_pic; pic_mode
="$withval"
7901 test -z "$pic_mode" && pic_mode
=default
7909 # Check whether --enable-fast-install was given.
7910 if test "${enable_fast_install+set}" = set; then :
7911 enableval
=$enable_fast_install; p
=${PACKAGE-default}
7913 yes) enable_fast_install
=yes ;;
7914 no
) enable_fast_install
=no
;;
7916 enable_fast_install
=no
7917 # Look at the argument we got. We use all the common list separators.
7918 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
7919 for pkg
in $enableval; do
7921 if test "X$pkg" = "X$p"; then
7922 enable_fast_install
=yes
7929 enable_fast_install
=yes
7942 # This can be used to rebuild libtool when needed
7943 LIBTOOL_DEPS
="$ltmain"
7945 # Always use our own libtool.
7946 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
7972 test -z "$LN_S" && LN_S
="ln -s"
7987 if test -n "${ZSH_VERSION+set}" ; then
7988 setopt NO_GLOB_SUBST
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7992 $as_echo_n "checking for objdir... " >&6; }
7993 if ${lt_cv_objdir+:} false
; then :
7994 $as_echo_n "(cached) " >&6
7996 rm -f .libs
2>/dev
/null
7997 mkdir .libs
2>/dev
/null
7998 if test -d .libs
; then
8001 # MS-DOS does not allow filenames that begin with a dot.
8004 rmdir .libs
2>/dev
/null
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8007 $as_echo "$lt_cv_objdir" >&6; }
8008 objdir
=$lt_cv_objdir
8014 cat >>confdefs.h
<<_ACEOF
8015 #define LT_OBJDIR "$lt_cv_objdir/"
8036 # AIX sometimes has problems with the GCC collect2 program. For some
8037 # reason, if we set the COLLECT_NAMES environment variable, the problems
8038 # vanish in a puff of smoke.
8039 if test "X${COLLECT_NAMES+set}" != Xset
; then
8041 export COLLECT_NAMES
8046 # Sed substitution that helps us do robust quoting. It backslashifies
8047 # metacharacters that are still active within double-quoted strings.
8048 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
8050 # Same as above, but do not quote variable references.
8051 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
8053 # Sed substitution to delay expansion of an escaped shell variable in a
8054 # double_quote_subst'ed string.
8055 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
8057 # Sed substitution to delay expansion of an escaped single quote.
8058 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
8060 # Sed substitution to avoid accidental globbing in evaled expressions
8061 no_glob_subst
='s/\*/\\\*/g'
8065 can_build_shared
=yes
8067 # All known linkers require a `.a' archive for static linking (except MSVC,
8068 # which needs '.lib').
8071 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8074 old_CFLAGS
="$CFLAGS"
8076 # Set sane defaults for various variables
8077 test -z "$CC" && CC
=cc
8078 test -z "$LTCC" && LTCC
=$CC
8079 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8080 test -z "$LD" && LD
=ld
8081 test -z "$ac_objext" && ac_objext
=o
8083 for cc_temp
in $compiler""; do
8085 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8086 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8091 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
8094 # Only perform the check for file, if the check method requires it
8095 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8096 case $deplibs_check_method in
8098 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8100 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8101 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8102 $as_echo_n "(cached) " >&6
8106 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8109 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8110 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8111 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8112 for ac_dir
in $ac_dummy; do
8114 test -z "$ac_dir" && ac_dir
=.
8115 if test -f $ac_dir/${ac_tool_prefix}file; then
8116 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8117 if test -n "$file_magic_test_file"; then
8118 case $deplibs_check_method in
8120 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8121 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8122 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8123 $EGREP "$file_magic_regex" > /dev
/null
; then
8128 *** Warning: the command libtool uses to detect shared libraries,
8129 *** $file_magic_cmd, produces output that libtool cannot recognize.
8130 *** The result is that libtool may fail to recognize shared libraries
8131 *** as such. This will affect the creation of libtool libraries that
8132 *** depend on shared libraries, but programs linked with such libtool
8133 *** libraries will work regardless of this problem. Nevertheless, you
8134 *** may want to report the problem to your system manager and/or to
8135 *** bug-libtool@gnu.org
8145 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8150 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8151 if test -n "$MAGIC_CMD"; then
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8153 $as_echo "$MAGIC_CMD" >&6; }
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8156 $as_echo "no" >&6; }
8163 if test -z "$lt_cv_path_MAGIC_CMD"; then
8164 if test -n "$ac_tool_prefix"; then
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8166 $as_echo_n "checking for file... " >&6; }
8167 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8168 $as_echo_n "(cached) " >&6
8172 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8175 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8176 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8177 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8178 for ac_dir
in $ac_dummy; do
8180 test -z "$ac_dir" && ac_dir
=.
8181 if test -f $ac_dir/file; then
8182 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8183 if test -n "$file_magic_test_file"; then
8184 case $deplibs_check_method in
8186 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8187 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8188 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8189 $EGREP "$file_magic_regex" > /dev
/null
; then
8194 *** Warning: the command libtool uses to detect shared libraries,
8195 *** $file_magic_cmd, produces output that libtool cannot recognize.
8196 *** The result is that libtool may fail to recognize shared libraries
8197 *** as such. This will affect the creation of libtool libraries that
8198 *** depend on shared libraries, but programs linked with such libtool
8199 *** libraries will work regardless of this problem. Nevertheless, you
8200 *** may want to report the problem to your system manager and/or to
8201 *** bug-libtool@gnu.org
8211 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8216 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8217 if test -n "$MAGIC_CMD"; then
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8219 $as_echo "$MAGIC_CMD" >&6; }
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8222 $as_echo "no" >&6; }
8235 # Use C for the default configuration in the libtool script
8239 ac_cpp
='$CPP $CPPFLAGS'
8240 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8241 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8242 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8245 # Source file extension for C test sources.
8248 # Object file extension for compiled C test sources.
8252 # Code to be used in simple compile tests
8253 lt_simple_compile_test_code
="int some_variable = 0;"
8255 # Code to be used in simple link tests
8256 lt_simple_link_test_code
='int main(){return(0);}'
8264 # If no C compiler was specified, use CC.
8267 # If no C compiler flags were specified, use CFLAGS.
8268 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8270 # Allow CC to be a program name with arguments.
8273 # Save the default compiler, since it gets overwritten when the other
8274 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8275 compiler_DEFAULT
=$CC
8277 # save warnings/boilerplate of simple test code
8278 ac_outfile
=conftest.
$ac_objext
8279 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8280 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8281 _lt_compiler_boilerplate
=`cat conftest.err`
8284 ac_outfile
=conftest.
$ac_objext
8285 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8286 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8287 _lt_linker_boilerplate
=`cat conftest.err`
8292 ## There is no encapsulation within the following macros, do not change
8293 ## the running order or otherwise move them around unless you know exactly
8294 ## what you are doing...
8295 if test -n "$compiler"; then
8297 lt_prog_compiler_no_builtin_flag
=
8299 if test "$GCC" = yes; then
8300 lt_prog_compiler_no_builtin_flag
=' -fno-builtin'
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8303 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8304 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8305 $as_echo_n "(cached) " >&6
8307 lt_cv_prog_compiler_rtti_exceptions
=no
8308 ac_outfile
=conftest.
$ac_objext
8309 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8310 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8311 # Insert the option either (1) after the last *FLAGS variable, or
8312 # (2) before a word containing "conftest.", or (3) at the end.
8313 # Note that $ac_compile itself does not contain backslashes and begins
8314 # with a dollar sign (not a hyphen), so the echo should work correctly.
8315 # The option is referenced via a variable to avoid confusing sed.
8316 lt_compile
=`echo "$ac_compile" | $SED \
8317 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8318 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8319 -e 's:$: $lt_compiler_flag:'`
8320 (eval echo "\"\$as_me:8320: $lt_compile\"" >&5)
8321 (eval "$lt_compile" 2>conftest.err
)
8323 cat conftest.err
>&5
8324 echo "$as_me:8324: \$? = $ac_status" >&5
8325 if (exit $ac_status) && test -s "$ac_outfile"; then
8326 # The compiler can only warn and ignore the option if not recognized
8327 # So say no if there are warnings other than the usual output.
8328 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8329 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8330 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8331 lt_cv_prog_compiler_rtti_exceptions
=yes
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8338 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8340 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8341 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8353 lt_prog_compiler_wl
=
8354 lt_prog_compiler_pic
=
8355 lt_prog_compiler_static
=
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8358 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8360 if test "$GCC" = yes; then
8361 lt_prog_compiler_wl
='-Wl,'
8362 lt_prog_compiler_static
='-static'
8366 # All AIX code is PIC.
8367 if test "$host_cpu" = ia64
; then
8368 # AIX 5 now supports IA64 processor
8369 lt_prog_compiler_static
='-Bstatic'
8376 # see comment about AmigaOS4 .so support
8377 lt_prog_compiler_pic
='-fPIC'
8380 # FIXME: we need at least 68020 code to build shared libraries, but
8381 # adding the `-m68020' flag to GCC prevents building anything better,
8383 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8388 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8389 # PIC is the default for these OSes.
8392 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8393 # This hack is so that the source file can tell whether it is being
8394 # built for inclusion in a dll (and should export symbols for example).
8395 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8396 # (--disable-auto-import) libraries
8397 lt_prog_compiler_pic
='-DDLL_EXPORT'
8400 darwin
* | rhapsody
*)
8401 # PIC is the default on this platform
8402 # Common symbols not allowed in MH_DYLIB files
8403 lt_prog_compiler_pic
='-fno-common'
8407 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8408 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8409 # sets the default TLS model and affects inlining.
8415 lt_prog_compiler_pic
='-fPIC'
8421 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8422 # Instead, we relocate shared libraries at runtime.
8426 # Just because we use GCC doesn't mean we suddenly get shared libraries
8427 # on systems that don't support them.
8428 lt_prog_compiler_can_build_shared
=no
8433 # QNX uses GNU C++, but need to define -shared option too, otherwise
8435 lt_prog_compiler_pic
='-fPIC -shared'
8439 if test -d /usr
/nec
; then
8440 lt_prog_compiler_pic
=-Kconform_pic
8445 lt_prog_compiler_pic
='-fPIC'
8449 # PORTME Check for flag to pass linker flags through the system compiler.
8452 lt_prog_compiler_wl
='-Wl,'
8453 if test "$host_cpu" = ia64
; then
8454 # AIX 5 now supports IA64 processor
8455 lt_prog_compiler_static
='-Bstatic'
8457 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8461 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8462 # This hack is so that the source file can tell whether it is being
8463 # built for inclusion in a dll (and should export symbols for example).
8464 lt_prog_compiler_pic
='-DDLL_EXPORT'
8467 hpux9
* | hpux10
* | hpux11
*)
8468 lt_prog_compiler_wl
='-Wl,'
8469 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8476 lt_prog_compiler_pic
='+Z'
8479 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8480 lt_prog_compiler_static
='${wl}-a ${wl}archive'
8483 irix5
* | irix6
* | nonstopux
*)
8484 lt_prog_compiler_wl
='-Wl,'
8485 # PIC (with -KPIC) is the default.
8486 lt_prog_compiler_static
='-non_shared'
8489 linux
* | k
*bsd
*-gnu)
8490 case $cc_basename in
8491 # old Intel for x86_64 which still supported -KPIC.
8493 lt_prog_compiler_wl
='-Wl,'
8494 lt_prog_compiler_pic
='-KPIC'
8495 lt_prog_compiler_static
='-static'
8497 # icc used to be incompatible with GCC.
8498 # ICC 10 doesn't accept -KPIC any more.
8500 lt_prog_compiler_wl
='-Wl,'
8501 lt_prog_compiler_pic
='-fPIC'
8502 lt_prog_compiler_static
='-static'
8504 # Lahey Fortran 8.1.
8506 lt_prog_compiler_wl
='-Wl,'
8507 lt_prog_compiler_pic
='--shared'
8508 lt_prog_compiler_static
='--static'
8510 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
8511 # Portland Group compilers (*not* the Pentium gcc compiler,
8512 # which looks to be a dead project)
8513 lt_prog_compiler_wl
='-Wl,'
8514 lt_prog_compiler_pic
='-fpic'
8515 lt_prog_compiler_static
='-Bstatic'
8518 lt_prog_compiler_wl
='-Wl,'
8519 # All Alpha code is PIC.
8520 lt_prog_compiler_static
='-non_shared'
8523 # IBM XL C 8.0/Fortran 10.1 on PPC
8524 lt_prog_compiler_wl
='-Wl,'
8525 lt_prog_compiler_pic
='-qpic'
8526 lt_prog_compiler_static
='-qstaticlink'
8529 case `$CC -V 2>&1 | sed 5q` in
8532 lt_prog_compiler_pic
='-KPIC'
8533 lt_prog_compiler_static
='-Bstatic'
8534 lt_prog_compiler_wl
='-Wl,'
8537 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8538 lt_prog_compiler_pic
='-KPIC'
8539 lt_prog_compiler_static
='-Bstatic'
8540 lt_prog_compiler_wl
=''
8548 lt_prog_compiler_pic
='-KPIC'
8549 lt_prog_compiler_static
='-Bstatic'
8553 # QNX uses GNU C++, but need to define -shared option too, otherwise
8555 lt_prog_compiler_pic
='-fPIC -shared'
8558 osf3
* | osf4
* | osf5
*)
8559 lt_prog_compiler_wl
='-Wl,'
8560 # All OSF/1 code is PIC.
8561 lt_prog_compiler_static
='-non_shared'
8565 lt_prog_compiler_static
='-non_shared'
8569 lt_prog_compiler_pic
='-KPIC'
8570 lt_prog_compiler_static
='-Bstatic'
8571 case $cc_basename in
8573 lt_prog_compiler_wl
='-Qoption ld ';;
8575 lt_prog_compiler_wl
='-Wl,';;
8580 lt_prog_compiler_wl
='-Qoption ld '
8581 lt_prog_compiler_pic
='-PIC'
8582 lt_prog_compiler_static
='-Bstatic'
8585 sysv4 | sysv4.2uw2
* | sysv4.3
*)
8586 lt_prog_compiler_wl
='-Wl,'
8587 lt_prog_compiler_pic
='-KPIC'
8588 lt_prog_compiler_static
='-Bstatic'
8592 if test -d /usr
/nec
;then
8593 lt_prog_compiler_pic
='-Kconform_pic'
8594 lt_prog_compiler_static
='-Bstatic'
8598 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
8599 lt_prog_compiler_wl
='-Wl,'
8600 lt_prog_compiler_pic
='-KPIC'
8601 lt_prog_compiler_static
='-Bstatic'
8605 lt_prog_compiler_wl
='-Wl,'
8606 lt_prog_compiler_can_build_shared
=no
8610 lt_prog_compiler_pic
='-pic'
8611 lt_prog_compiler_static
='-Bstatic'
8615 lt_prog_compiler_can_build_shared
=no
8621 # For platforms which do not support PIC, -DPIC is meaningless:
8623 lt_prog_compiler_pic
=
8626 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8630 $as_echo "$lt_prog_compiler_pic" >&6; }
8638 # Check to make sure the PIC flag actually works.
8640 if test -n "$lt_prog_compiler_pic"; then
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8642 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8643 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
8644 $as_echo_n "(cached) " >&6
8646 lt_cv_prog_compiler_pic_works
=no
8647 ac_outfile
=conftest.
$ac_objext
8648 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8649 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
8650 # Insert the option either (1) after the last *FLAGS variable, or
8651 # (2) before a word containing "conftest.", or (3) at the end.
8652 # Note that $ac_compile itself does not contain backslashes and begins
8653 # with a dollar sign (not a hyphen), so the echo should work correctly.
8654 # The option is referenced via a variable to avoid confusing sed.
8655 lt_compile
=`echo "$ac_compile" | $SED \
8656 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8657 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8658 -e 's:$: $lt_compiler_flag:'`
8659 (eval echo "\"\$as_me:8659: $lt_compile\"" >&5)
8660 (eval "$lt_compile" 2>conftest.err
)
8662 cat conftest.err
>&5
8663 echo "$as_me:8663: \$? = $ac_status" >&5
8664 if (exit $ac_status) && test -s "$ac_outfile"; then
8665 # The compiler can only warn and ignore the option if not recognized
8666 # So say no if there are warnings other than the usual output.
8667 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
8668 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8669 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8670 lt_cv_prog_compiler_pic_works
=yes
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8677 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8679 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
8680 case $lt_prog_compiler_pic in
8682 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
8685 lt_prog_compiler_pic
=
8686 lt_prog_compiler_can_build_shared
=no
8697 # Check to make sure the static flag actually works.
8699 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8701 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8702 if ${lt_cv_prog_compiler_static_works+:} false
; then :
8703 $as_echo_n "(cached) " >&6
8705 lt_cv_prog_compiler_static_works
=no
8706 save_LDFLAGS
="$LDFLAGS"
8707 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
8708 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
8709 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
8710 # The linker can only warn and ignore the option if not recognized
8711 # So say no if there are warnings
8712 if test -s conftest.err
; then
8713 # Append any errors to the config.log.
8714 cat conftest.err
1>&5
8715 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
8716 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8717 if diff conftest.exp conftest.er2
>/dev
/null
; then
8718 lt_cv_prog_compiler_static_works
=yes
8721 lt_cv_prog_compiler_static_works
=yes
8725 LDFLAGS
="$save_LDFLAGS"
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8729 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8731 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
8734 lt_prog_compiler_static
=
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8744 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8745 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8746 $as_echo_n "(cached) " >&6
8748 lt_cv_prog_compiler_c_o
=no
8749 $RM -r conftest
2>/dev
/null
8753 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8755 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8756 # Insert the option either (1) after the last *FLAGS variable, or
8757 # (2) before a word containing "conftest.", or (3) at the end.
8758 # Note that $ac_compile itself does not contain backslashes and begins
8759 # with a dollar sign (not a hyphen), so the echo should work correctly.
8760 lt_compile
=`echo "$ac_compile" | $SED \
8761 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8762 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8763 -e 's:$: $lt_compiler_flag:'`
8764 (eval echo "\"\$as_me:8764: $lt_compile\"" >&5)
8765 (eval "$lt_compile" 2>out
/conftest.err
)
8767 cat out
/conftest.err
>&5
8768 echo "$as_me:8768: \$? = $ac_status" >&5
8769 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8771 # The compiler can only warn and ignore the option if not recognized
8772 # So say no if there are warnings
8773 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8774 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8775 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8776 lt_cv_prog_compiler_c_o
=yes
8781 # SGI C++ compiler will create directory out/ii_files/ for
8782 # template instantiation
8783 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8784 $RM out
/* && rmdir out
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8791 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8799 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8800 if ${lt_cv_prog_compiler_c_o+:} false
; then :
8801 $as_echo_n "(cached) " >&6
8803 lt_cv_prog_compiler_c_o
=no
8804 $RM -r conftest
2>/dev
/null
8808 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8810 lt_compiler_flag
="-o out/conftest2.$ac_objext"
8811 # Insert the option either (1) after the last *FLAGS variable, or
8812 # (2) before a word containing "conftest.", or (3) at the end.
8813 # Note that $ac_compile itself does not contain backslashes and begins
8814 # with a dollar sign (not a hyphen), so the echo should work correctly.
8815 lt_compile
=`echo "$ac_compile" | $SED \
8816 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8817 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8818 -e 's:$: $lt_compiler_flag:'`
8819 (eval echo "\"\$as_me:8819: $lt_compile\"" >&5)
8820 (eval "$lt_compile" 2>out
/conftest.err
)
8822 cat out
/conftest.err
>&5
8823 echo "$as_me:8823: \$? = $ac_status" >&5
8824 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
8826 # The compiler can only warn and ignore the option if not recognized
8827 # So say no if there are warnings
8828 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
8829 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
8830 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
8831 lt_cv_prog_compiler_c_o
=yes
8836 # SGI C++ compiler will create directory out/ii_files/ for
8837 # template instantiation
8838 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
8839 $RM out
/* && rmdir out
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8846 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8851 hard_links
="nottested"
8852 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
8853 # do not overwrite the value of need_locks provided by the user
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8855 $as_echo_n "checking if we can lock with hard links... " >&6; }
8858 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8860 ln conftest.a conftest.b
2>&5 || hard_links
=no
8861 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8863 $as_echo "$hard_links" >&6; }
8864 if test "$hard_links" = no
; then
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8866 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8879 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8882 allow_undefined_flag
=
8883 always_export_symbols
=no
8885 archive_expsym_cmds
=
8886 compiler_needs_object
=no
8887 enable_shared_with_static_runtimes
=no
8888 export_dynamic_flag_spec
=
8889 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8890 hardcode_automatic
=no
8892 hardcode_direct_absolute
=no
8893 hardcode_libdir_flag_spec
=
8894 hardcode_libdir_flag_spec_ld
=
8895 hardcode_libdir_separator
=
8897 hardcode_shlibpath_var
=unsupported
8899 link_all_deplibs
=unknown
8902 old_archive_from_new_cmds
=
8903 old_archive_from_expsyms_cmds
=
8904 thread_safe_flag_spec
=
8905 whole_archive_flag_spec
=
8906 # include_expsyms should be a list of space-separated symbols to be *always*
8907 # included in the symbol list
8909 # exclude_expsyms can be an extended regexp of symbols to exclude
8910 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8911 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8912 # as well as any symbol that contains `d'.
8913 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8914 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8915 # platforms (ab)use it in PIC code, but their linkers get confused if
8916 # the symbol is explicitly referenced. Since portable code cannot
8917 # rely on this symbol name, it's probably fine to never include it in
8918 # preloaded symbol tables.
8919 # Exclude shared library initialization/finalization symbols.
8920 extract_expsyms_cmds
=
8923 cygwin
* | mingw
* | pw32
* | cegcc
*)
8924 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8925 # When not using gcc, we currently assume that we are using
8926 # Microsoft Visual C++.
8927 if test "$GCC" != yes; then
8932 # we just hope/assume this is gcc and not c89 (= MSVC++)
8941 if test "$with_gnu_ld" = yes; then
8942 # If archive_cmds runs LD, not CC, wlarc should be empty
8945 # Set some defaults for GNU ld with shared library support. These
8946 # are reset later if shared libraries are not supported. Putting them
8947 # here allows them to be overridden if necessary.
8948 runpath_var
=LD_RUN_PATH
8949 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8950 export_dynamic_flag_spec
='${wl}--export-dynamic'
8951 # ancient GNU ld didn't support --whole-archive et. al.
8952 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
8953 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8955 whole_archive_flag_spec
=
8957 supports_anon_versioning
=no
8958 case `$LD -v 2>&1` in
8959 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
8960 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
8961 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
8962 *\
2.11.
*) ;; # other 2.11 versions
8963 *) supports_anon_versioning
=yes ;;
8966 # See if GNU ld supports shared libraries.
8969 # On AIX/PPC, the GNU linker is very broken
8970 if test "$host_cpu" != ia64
; then
8974 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8975 *** to be unable to reliably create shared libraries on AIX.
8976 *** Therefore, libtool is disabling shared libraries support. If you
8977 *** really care for shared libraries, you may want to modify your PATH
8978 *** so that a non-GNU linker is found, and then restart.
8987 # see comment about AmigaOS4 .so support
8988 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8989 archive_expsym_cmds
=''
8992 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)'
8993 hardcode_libdir_flag_spec
='-L$libdir'
8994 hardcode_minus_L
=yes
9000 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9001 allow_undefined_flag
=unsupported
9002 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9003 # support --undefined. This deserves some investigation. FIXME
9004 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9010 cygwin
* | mingw
* | pw32
* | cegcc
*)
9011 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9012 # as there is no search path for DLLs.
9013 hardcode_libdir_flag_spec
='-L$libdir'
9014 allow_undefined_flag
=unsupported
9015 always_export_symbols
=no
9016 enable_shared_with_static_runtimes
=yes
9017 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9019 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9020 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9021 # If the export-symbols file already is a .def file (1st line
9022 # is EXPORTS), use it as is; otherwise, prepend...
9023 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9024 cp $export_symbols $output_objdir/$soname.def;
9026 echo EXPORTS > $output_objdir/$soname.def;
9027 cat $export_symbols >> $output_objdir/$soname.def;
9029 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9037 hardcode_shlibpath_var
=no
9038 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9039 export_dynamic_flag_spec
='${wl}-E'
9040 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9041 # Instead, shared libraries are loaded at an image base (0x10000000 by
9042 # default) and relocated if they conflict, which is a slow very memory
9043 # consuming and fragmenting process. To avoid this, we pick a random,
9044 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9045 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9046 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9047 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'
9050 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
9052 if test "$host_os" = linux-dietlibc
; then
9053 case $cc_basename in
9054 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9057 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9058 && test "$tmp_diet" = no
9061 tmp_sharedflag
='-shared'
9062 case $cc_basename,$host_cpu in
9063 pgcc
*) # Portland Group C compiler
9064 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'
9065 tmp_addflag
=' $pic_flag'
9067 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
9068 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'
9069 tmp_addflag
=' $pic_flag -Mnomain' ;;
9070 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9071 tmp_addflag
=' -i_dynamic' ;;
9072 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9073 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9074 ifc
* | ifort
*) # Intel Fortran compiler
9075 tmp_addflag
=' -nofor_main' ;;
9076 lf95
*) # Lahey Fortran 8.1
9077 whole_archive_flag_spec
=
9078 tmp_sharedflag
='--shared' ;;
9079 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9080 tmp_sharedflag
='-qmkshrobj'
9083 case `$CC -V 2>&1 | sed 5q` in
9084 *Sun\ C
*) # Sun C 5.9
9085 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'
9086 compiler_needs_object
=yes
9087 tmp_sharedflag
='-G' ;;
9088 *Sun\ F
*) # Sun Fortran 8.3
9089 tmp_sharedflag
='-G' ;;
9091 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9093 if test "x$supports_anon_versioning" = xyes
; then
9094 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9095 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9096 echo "local: *; };" >> $output_objdir/$libname.ver~
9097 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9100 case $cc_basename in
9102 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9103 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9104 hardcode_libdir_flag_spec
=
9105 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
9106 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9107 if test "x$supports_anon_versioning" = xyes
; then
9108 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9109 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9110 echo "local: *; };" >> $output_objdir/$libname.ver~
9111 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9121 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9122 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9125 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9126 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9131 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9135 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9136 *** create shared libraries on Solaris systems. Therefore, libtool
9137 *** is disabling shared libraries support. We urge you to upgrade GNU
9138 *** binutils to release 2.9.1 or newer. Another option is to modify
9139 *** your PATH or compiler configuration so that the native linker is
9140 *** used, and then restart.
9143 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9144 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9145 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9151 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9152 case `$LD -v 2>&1` in
9153 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9157 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9158 *** reliably create shared libraries on SCO systems. Therefore, libtool
9159 *** is disabling shared libraries support. We urge you to upgrade GNU
9160 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9161 *** your PATH or compiler configuration so that the native linker is
9162 *** used, and then restart.
9167 # For security reasons, it is highly recommended that you always
9168 # use absolute paths for naming shared libraries, and exclude the
9169 # DT_RUNPATH tag from executables and libraries. But doing so
9170 # requires that you compile everything twice, which is a pain.
9171 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9172 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9173 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9174 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9183 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9186 hardcode_shlibpath_var
=no
9190 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9191 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9192 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9199 if test "$ld_shlibs" = no
; then
9201 hardcode_libdir_flag_spec
=
9202 export_dynamic_flag_spec
=
9203 whole_archive_flag_spec
=
9206 # PORTME fill in a description of your system's linker (not GNU ld)
9209 allow_undefined_flag
=unsupported
9210 always_export_symbols
=yes
9211 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'
9212 # Note: this linker hardcodes the directories in LIBPATH if there
9213 # are no directories specified by -L.
9214 hardcode_minus_L
=yes
9215 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9216 # Neither direct hardcoding nor static linking is supported with a
9218 hardcode_direct
=unsupported
9223 if test "$host_cpu" = ia64
; then
9224 # On IA64, the linker does run time linking by default, so we don't
9225 # have to do anything special.
9226 aix_use_runtimelinking
=no
9227 exp_sym_flag
='-Bexport'
9230 # If we're using GNU nm, then we don't want the "-C" option.
9231 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9232 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9233 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'
9235 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'
9237 aix_use_runtimelinking
=no
9239 # Test if we are trying to use run time linking or normal
9240 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9241 # need to do runtime linking.
9242 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9243 for ld_flag
in $LDFLAGS; do
9244 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9245 aix_use_runtimelinking
=yes
9252 exp_sym_flag
='-bexport'
9253 no_entry_flag
='-bnoentry'
9256 # When large executables or shared objects are built, AIX ld can
9257 # have problems creating the table of contents. If linking a library
9258 # or program results in "error TOC overflow" add -mminimal-toc to
9259 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9260 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9264 hardcode_direct_absolute
=yes
9265 hardcode_libdir_separator
=':'
9266 link_all_deplibs
=yes
9267 file_list_spec
='${wl}-f,'
9269 if test "$GCC" = yes; then
9270 case $host_os in aix4.
[012]|aix4.
[012].
*)
9271 # We only want to do this on AIX 4.2 and lower, the check
9272 # below for broken collect2 doesn't work under 4.3+
9273 collect2name
=`${CC} -print-prog-name=collect2`
9274 if test -f "$collect2name" &&
9275 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9277 # We have reworked collect2
9280 # We have old collect2
9281 hardcode_direct
=unsupported
9282 # It fails to find uninstalled libraries when the uninstalled
9283 # path is not listed in the libpath. Setting hardcode_minus_L
9284 # to unsupported forces relinking
9285 hardcode_minus_L
=yes
9286 hardcode_libdir_flag_spec
='-L$libdir'
9287 hardcode_libdir_separator
=
9291 shared_flag
='-shared'
9292 if test "$aix_use_runtimelinking" = yes; then
9293 shared_flag
="$shared_flag "'${wl}-G'
9297 if test "$host_cpu" = ia64
; then
9298 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9299 # chokes on -Wl,-G. The following line is correct:
9302 if test "$aix_use_runtimelinking" = yes; then
9303 shared_flag
='${wl}-G'
9305 shared_flag
='${wl}-bM:SRE'
9310 export_dynamic_flag_spec
='${wl}-bexpall'
9311 # It seems that -bexpall does not export symbols beginning with
9312 # underscore (_), so it is better to generate a list of symbols to export.
9313 always_export_symbols
=yes
9314 if test "$aix_use_runtimelinking" = yes; then
9315 # Warning - without using the other runtime loading flags (-brtl),
9316 # -berok will link without error, but may produce a broken library.
9317 allow_undefined_flag
='-berok'
9318 # Determine the default libpath from the value encoded in an
9320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9321 /* end confdefs.h. */
9331 if ac_fn_c_try_link
"$LINENO"; then :
9333 lt_aix_libpath_sed
='
9334 /Import File Strings/,/^$/ {
9340 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9341 # Check for a 64-bit object if we didn't find anything.
9342 if test -z "$aix_libpath"; then
9343 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9346 rm -f core conftest.err conftest.
$ac_objext \
9347 conftest
$ac_exeext conftest.
$ac_ext
9348 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9350 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9351 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"
9353 if test "$host_cpu" = ia64
; then
9354 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9355 allow_undefined_flag
="-z nodefs"
9356 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"
9358 # Determine the default libpath from the value encoded in an
9360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9361 /* end confdefs.h. */
9371 if ac_fn_c_try_link
"$LINENO"; then :
9373 lt_aix_libpath_sed
='
9374 /Import File Strings/,/^$/ {
9380 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9381 # Check for a 64-bit object if we didn't find anything.
9382 if test -z "$aix_libpath"; then
9383 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9386 rm -f core conftest.err conftest.
$ac_objext \
9387 conftest
$ac_exeext conftest.
$ac_ext
9388 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
9390 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9391 # Warning - without using the other run time loading flags,
9392 # -berok will link without error, but may produce a broken library.
9393 no_undefined_flag
=' ${wl}-bernotok'
9394 allow_undefined_flag
=' ${wl}-berok'
9395 # Exported symbols can be pulled into shared objects from archives
9396 whole_archive_flag_spec
='$convenience'
9397 archive_cmds_need_lc
=yes
9398 # This is similar to how AIX traditionally builds its shared libraries.
9399 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'
9407 # see comment about AmigaOS4 .so support
9408 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9409 archive_expsym_cmds
=''
9412 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)'
9413 hardcode_libdir_flag_spec
='-L$libdir'
9414 hardcode_minus_L
=yes
9420 export_dynamic_flag_spec
=-rdynamic
9423 cygwin
* | mingw
* | pw32
* | cegcc
*)
9424 # When not using gcc, we currently assume that we are using
9425 # Microsoft Visual C++.
9426 # hardcode_libdir_flag_spec is actually meaningless, as there is
9427 # no search path for DLLs.
9428 hardcode_libdir_flag_spec
=' '
9429 allow_undefined_flag
=unsupported
9430 # Tell ltmain to make .lib files, not .a files.
9432 # Tell ltmain to make .dll files, not .so files.
9434 # FIXME: Setting linknames here is a bad hack.
9435 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9436 # The linker will automatically build a .lib file if we build a DLL.
9437 old_archive_from_new_cmds
='true'
9438 # FIXME: Should let the user specify the lib program.
9439 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
9440 fix_srcfile_path
='`cygpath -w "$srcfile"`'
9441 enable_shared_with_static_runtimes
=yes
9444 darwin
* | rhapsody
*)
9447 archive_cmds_need_lc
=no
9449 hardcode_automatic
=yes
9450 hardcode_shlibpath_var
=unsupported
9451 whole_archive_flag_spec
=''
9452 link_all_deplibs
=yes
9453 allow_undefined_flag
="$_lt_dar_allow_undefined"
9454 case $cc_basename in
9455 ifort
*) _lt_dar_can_shared
=yes ;;
9456 *) _lt_dar_can_shared
=$GCC ;;
9458 if test "$_lt_dar_can_shared" = "yes"; then
9459 output_verbose_link_cmd
=echo
9460 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9461 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9462 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}"
9463 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}"
9472 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9473 hardcode_libdir_flag_spec
='-L$libdir'
9474 hardcode_shlibpath_var
=no
9481 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9482 # support. Future versions do this automatically, but an explicit c++rt0.o
9483 # does not break anything, and helps significantly (at the cost of a little
9486 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9487 hardcode_libdir_flag_spec
='-R$libdir'
9489 hardcode_shlibpath_var
=no
9492 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9494 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9496 hardcode_minus_L
=yes
9497 hardcode_shlibpath_var
=no
9500 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9501 freebsd
* | dragonfly
*)
9502 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9503 hardcode_libdir_flag_spec
='-R$libdir'
9505 hardcode_shlibpath_var
=no
9509 if test "$GCC" = yes; then
9510 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'
9512 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'
9514 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9515 hardcode_libdir_separator
=:
9518 # hardcode_minus_L: Not really in the search PATH,
9519 # but as the default location of the library.
9520 hardcode_minus_L
=yes
9521 export_dynamic_flag_spec
='${wl}-E'
9525 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9526 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9528 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9530 if test "$with_gnu_ld" = no
; then
9531 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9532 hardcode_libdir_flag_spec_ld
='+b $libdir'
9533 hardcode_libdir_separator
=:
9535 hardcode_direct_absolute
=yes
9536 export_dynamic_flag_spec
='${wl}-E'
9537 # hardcode_minus_L: Not really in the search PATH,
9538 # but as the default location of the library.
9539 hardcode_minus_L
=yes
9544 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
9547 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9550 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9553 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9559 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9562 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9565 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9569 if test "$with_gnu_ld" = no
; then
9570 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
9571 hardcode_libdir_separator
=:
9576 hardcode_shlibpath_var
=no
9580 hardcode_direct_absolute
=yes
9581 export_dynamic_flag_spec
='${wl}-E'
9583 # hardcode_minus_L: Not really in the search PATH,
9584 # but as the default location of the library.
9585 hardcode_minus_L
=yes
9591 irix5
* | irix6
* | nonstopux
*)
9592 if test "$GCC" = yes; then
9593 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'
9594 # Try to use the -exported_symbol ld option, if it does not
9595 # work, assume that -exports_file does not work either and
9596 # implicitly export all symbols.
9597 save_LDFLAGS
="$LDFLAGS"
9598 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9600 /* end confdefs.h. */
9601 int foo (void) { return 0; }
9603 if ac_fn_c_try_link
"$LINENO"; then :
9605 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'
9608 rm -f core conftest.err conftest.
$ac_objext \
9609 conftest
$ac_exeext conftest.
$ac_ext
9610 LDFLAGS
="$save_LDFLAGS"
9612 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'
9613 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'
9615 archive_cmds_need_lc
='no'
9616 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9617 hardcode_libdir_separator
=:
9619 link_all_deplibs
=yes
9623 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9624 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9626 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9628 hardcode_libdir_flag_spec
='-R$libdir'
9630 hardcode_shlibpath_var
=no
9634 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9636 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9637 hardcode_libdir_separator
=:
9638 hardcode_shlibpath_var
=no
9645 if test -f /usr
/libexec
/ld.so
; then
9647 hardcode_shlibpath_var
=no
9648 hardcode_direct_absolute
=yes
9649 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9650 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9651 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9652 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9653 export_dynamic_flag_spec
='${wl}-E'
9656 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
9657 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9658 hardcode_libdir_flag_spec
='-R$libdir'
9661 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9662 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9672 hardcode_libdir_flag_spec
='-L$libdir'
9673 hardcode_minus_L
=yes
9674 allow_undefined_flag
=unsupported
9675 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'
9676 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9680 if test "$GCC" = yes; then
9681 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9682 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'
9684 allow_undefined_flag
=' -expect_unresolved \*'
9685 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'
9687 archive_cmds_need_lc
='no'
9688 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9689 hardcode_libdir_separator
=:
9692 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
9693 if test "$GCC" = yes; then
9694 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
9695 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'
9696 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9698 allow_undefined_flag
=' -expect_unresolved \*'
9699 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'
9700 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~
9701 $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'
9703 # Both c and cxx compiler support -rpath directly
9704 hardcode_libdir_flag_spec
='-rpath $libdir'
9706 archive_cmds_need_lc
='no'
9707 hardcode_libdir_separator
=:
9711 no_undefined_flag
=' -z defs'
9712 if test "$GCC" = yes; then
9714 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9715 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9716 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9718 case `$CC -V 2>&1` in
9721 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9722 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9723 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9727 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9728 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9729 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9733 hardcode_libdir_flag_spec
='-R$libdir'
9734 hardcode_shlibpath_var
=no
9736 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
9738 # The compiler driver will combine and reorder linker options,
9739 # but understands `-z linker_flag'. GCC discards it without `$wl',
9740 # but is careful enough not to reorder.
9741 # Supported since Solaris 2.6 (maybe 2.5.1?)
9742 if test "$GCC" = yes; then
9743 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9745 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
9749 link_all_deplibs
=yes
9753 if test "x$host_vendor" = xsequent
; then
9754 # Use $CC to link under sequent, because it throws in some extra .o
9755 # files that make .init and .fini sections work.
9756 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9758 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9760 hardcode_libdir_flag_spec
='-L$libdir'
9762 hardcode_minus_L
=yes
9763 hardcode_shlibpath_var
=no
9767 case $host_vendor in
9769 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9770 hardcode_direct
=yes # is this really true???
9773 ## LD is ld it makes a PLAMLIB
9774 ## CC just makes a GrossModule.
9775 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9776 reload_cmds
='$CC -r -o $output$reload_objs'
9780 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9781 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
9784 runpath_var
='LD_RUN_PATH'
9785 hardcode_shlibpath_var
=no
9789 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9790 hardcode_shlibpath_var
=no
9791 export_dynamic_flag_spec
='-Bexport'
9795 if test -d /usr
/nec
; then
9796 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9797 hardcode_shlibpath_var
=no
9798 runpath_var
=LD_RUN_PATH
9799 hardcode_runpath_var
=yes
9804 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
9805 no_undefined_flag
='${wl}-z,text'
9806 archive_cmds_need_lc
=no
9807 hardcode_shlibpath_var
=no
9808 runpath_var
='LD_RUN_PATH'
9810 if test "$GCC" = yes; then
9811 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9812 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9814 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9815 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9819 sysv5
* | sco3.2v5
* | sco5v6
*)
9820 # Note: We can NOT use -z defs as we might desire, because we do not
9821 # link with -lc, and that would cause any symbols used from libc to
9822 # always be unresolved, which means just about no library would
9823 # ever link correctly. If we're not using GNU ld we use -z text
9824 # though, which does catch some bad symbols but isn't as heavy-handed
9826 no_undefined_flag
='${wl}-z,text'
9827 allow_undefined_flag
='${wl}-z,nodefs'
9828 archive_cmds_need_lc
=no
9829 hardcode_shlibpath_var
=no
9830 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
9831 hardcode_libdir_separator
=':'
9832 link_all_deplibs
=yes
9833 export_dynamic_flag_spec
='${wl}-Bexport'
9834 runpath_var
='LD_RUN_PATH'
9836 if test "$GCC" = yes; then
9837 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9838 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9840 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9841 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9846 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9847 hardcode_libdir_flag_spec
='-L$libdir'
9848 hardcode_shlibpath_var
=no
9856 if test x
$host_vendor = xsni
; then
9858 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
9859 export_dynamic_flag_spec
='${wl}-Blargedynsym'
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9866 $as_echo "$ld_shlibs" >&6; }
9867 test "$ld_shlibs" = no
&& can_build_shared
=no
9869 with_gnu_ld
=$with_gnu_ld
9886 # Do we need to explicitly link libc?
9888 case "x$archive_cmds_need_lc" in
9890 # Assume -lc should be added
9891 archive_cmds_need_lc
=yes
9893 if test "$enable_shared" = yes && test "$GCC" = yes; then
9894 case $archive_cmds in
9896 # FIXME: we may have to deal with multi-command sequences.
9899 # Test whether the compiler implicitly links with -lc since on some
9900 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9901 # to ld, don't add -lc before -lgcc.
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9903 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9905 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9907 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9908 (eval $ac_compile) 2>&5
9910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9911 test $ac_status = 0; } 2>conftest.err
; then
9914 libobjs
=conftest.
$ac_objext
9916 wl
=$lt_prog_compiler_wl
9917 pic_flag
=$lt_prog_compiler_pic
9923 lt_save_allow_undefined_flag
=$allow_undefined_flag
9924 allow_undefined_flag
=
9925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9926 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
9928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9929 test $ac_status = 0; }
9931 archive_cmds_need_lc
=no
9933 archive_cmds_need_lc
=yes
9935 allow_undefined_flag
=$lt_save_allow_undefined_flag
9937 cat conftest.err
1>&5
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
9941 $as_echo "$archive_cmds_need_lc" >&6; }
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10105 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10107 if test "$GCC" = yes; then
10109 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10110 *) lt_awk_arg
="/^libraries:/" ;;
10112 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10113 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
10114 # if the path contains ";" then we assume it to be the separator
10115 # otherwise default to the standard path separator (i.e. ":") - it is
10116 # assumed that no part of a normal pathname contains ";" but that should
10117 # okay in the real world where ";" in dirpaths is itself problematic.
10118 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
10120 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10122 # Ok, now we have the path, separated by spaces, we can step through it
10123 # and add multilib dir if necessary.
10124 lt_tmp_lt_search_path_spec
=
10125 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10126 for lt_sys_path
in $lt_search_path_spec; do
10127 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10128 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10130 test -d "$lt_sys_path" && \
10131 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10134 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
10135 BEGIN {RS=" "; FS="/|\n";} {
10138 for (lt_i = NF; lt_i > 0; lt_i--) {
10139 if ($lt_i != "" && $lt_i != ".") {
10140 if ($lt_i == "..") {
10143 if (lt_count == 0) {
10144 lt_foo="/" $lt_i lt_foo;
10151 if (lt_foo != "") { lt_freq[lt_foo]++; }
10152 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10154 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
10156 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10158 library_names_spec
=
10159 libname_spec
='lib$name'
10163 postuninstall_cmds
=
10167 shlibpath_overrides_runpath
=unknown
10169 dynamic_linker
="$host_os ld.so"
10170 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10171 need_lib_prefix
=unknown
10172 hardcode_into_libs
=no
10174 # when you set need_version to no, make sure it does not cause -set_version
10175 # flags to be left without arguments
10176 need_version
=unknown
10181 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10182 shlibpath_var
=LIBPATH
10184 # AIX 3 has no versioning support, so we append a major version to the name.
10185 soname_spec
='${libname}${release}${shared_ext}$major'
10192 hardcode_into_libs
=yes
10193 if test "$host_cpu" = ia64
; then
10194 # AIX 5 supports IA64
10195 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10196 shlibpath_var
=LD_LIBRARY_PATH
10198 # With GCC up to 2.95.x, collect2 would create an import file
10199 # for dependence libraries. The import file would start with
10200 # the line `#! .'. This would cause the generated library to
10201 # depend on `.', always an invalid library. This was fixed in
10202 # development snapshots of GCC prior to 3.0.
10204 aix4 | aix4.
[01] | aix4.
[01].
*)
10205 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10207 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10210 can_build_shared
=no
10214 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10215 # soname into executable. Probably we can add versioning support to
10216 # collect2, so additional links can be useful in future.
10217 if test "$aix_use_runtimelinking" = yes; then
10218 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10219 # instead of lib<name>.a to let people know that these are not
10220 # typical AIX shared libraries.
10221 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10223 # We preserve .a as extension for shared libraries through AIX4.2
10224 # and later when we are not doing run time linking.
10225 library_names_spec
='${libname}${release}.a $libname.a'
10226 soname_spec
='${libname}${release}${shared_ext}$major'
10228 shlibpath_var
=LIBPATH
10235 # Since July 2007 AmigaOS4 officially supports .so libraries.
10236 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10240 library_names_spec
='$libname.ixlibrary $libname.a'
10241 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10242 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'
10248 library_names_spec
='${libname}${shared_ext}'
10249 dynamic_linker
="$host_os ld.so"
10250 shlibpath_var
=LIBRARY_PATH
10256 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10257 soname_spec
='${libname}${release}${shared_ext}$major'
10258 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10259 shlibpath_var
=LD_LIBRARY_PATH
10260 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10261 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
10262 # the default ld.so.conf also contains /usr/contrib/lib and
10263 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10264 # libtool to hard-code these into programs
10267 cygwin
* | mingw
* | pw32
* | cegcc
*)
10268 version_type
=windows
10273 case $GCC,$host_os in
10274 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
10275 library_names_spec
='$libname.dll.a'
10276 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10277 postinstall_cmds
='base_file=`basename \${file}`~
10278 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10279 dldir=$destdir/`dirname \$dlpath`~
10280 test -d \$dldir || mkdir -p \$dldir~
10281 $install_prog $dir/$dlname \$dldir/$dlname~
10282 chmod a+x \$dldir/$dlname~
10283 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10284 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10286 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10287 dlpath=$dir/\$dldll~
10289 shlibpath_overrides_runpath
=yes
10293 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10294 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10295 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
10298 # MinGW DLLs use traditional 'lib' prefix
10299 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10300 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
10301 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
10302 # It is most probably a Windows format PATH printed by
10303 # mingw gcc, but we are running on Cygwin. Gcc prints its search
10304 # path with ; separators, and with drive letters. We can handle the
10305 # drive letters (cygwin fileutils understands them), so leave them,
10306 # especially as we might pass files found there to a mingw objdump,
10307 # which wouldn't understand a cygwinified path. Ahh.
10308 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10310 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10314 # pw32 DLLs use 'pw' prefix rather than 'lib'
10315 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10321 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10324 dynamic_linker
='Win32 ld.exe'
10325 # FIXME: first we should search . and the directory the executable is in
10329 darwin
* | rhapsody
*)
10330 dynamic_linker
="$host_os dyld"
10331 version_type
=darwin
10334 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10335 soname_spec
='${libname}${release}${major}$shared_ext'
10336 shlibpath_overrides_runpath
=yes
10337 shlibpath_var
=DYLD_LIBRARY_PATH
10338 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
10340 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
10341 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
10348 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10349 soname_spec
='${libname}${release}${shared_ext}$major'
10350 shlibpath_var
=LD_LIBRARY_PATH
10357 freebsd
* | dragonfly
*)
10358 # DragonFly does not have aout. When/if they implement a new
10359 # versioning mechanism, adjust this.
10360 if test -x /usr
/bin
/objformat
; then
10361 objformat
=`/usr/bin/objformat`
10364 freebsd
[123]*) objformat
=aout
;;
10365 *) objformat
=elf
;;
10368 version_type
=freebsd-
$objformat
10369 case $version_type in
10371 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10376 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10380 shlibpath_var
=LD_LIBRARY_PATH
10383 shlibpath_overrides_runpath
=yes
10385 freebsd3.
[01]* | freebsdelf3.
[01]*)
10386 shlibpath_overrides_runpath
=yes
10387 hardcode_into_libs
=yes
10389 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
10390 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
10391 shlibpath_overrides_runpath
=no
10392 hardcode_into_libs
=yes
10394 *) # from 4.6 on, and DragonFly
10395 shlibpath_overrides_runpath
=yes
10396 hardcode_into_libs
=yes
10405 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10406 soname_spec
='${libname}${release}${shared_ext}$major'
10407 shlibpath_var
=LD_LIBRARY_PATH
10408 hardcode_into_libs
=yes
10411 hpux9
* | hpux10
* | hpux11
*)
10412 # Give a soname corresponding to the major version so that dld.sl refuses to
10413 # link against other versions.
10420 hardcode_into_libs
=yes
10421 dynamic_linker
="$host_os dld.so"
10422 shlibpath_var
=LD_LIBRARY_PATH
10423 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10424 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10425 soname_spec
='${libname}${release}${shared_ext}$major'
10426 if test "X$HPUX_IA64_MODE" = X32
; then
10427 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10429 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
10431 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10435 hardcode_into_libs
=yes
10436 dynamic_linker
="$host_os dld.sl"
10437 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
10438 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
10439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10440 soname_spec
='${libname}${release}${shared_ext}$major'
10441 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10442 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
10446 dynamic_linker
="$host_os dld.sl"
10447 shlibpath_var
=SHLIB_PATH
10448 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
10449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10450 soname_spec
='${libname}${release}${shared_ext}$major'
10453 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10454 postinstall_cmds
='chmod 555 $lib'
10461 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10462 soname_spec
='${libname}${release}${shared_ext}$major'
10463 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
10464 shlibpath_var
=LD_LIBRARY_PATH
10465 shlibpath_overrides_runpath
=no
10466 hardcode_into_libs
=yes
10469 irix5
* | irix6
* | nonstopux
*)
10471 nonstopux
*) version_type
=nonstopux
;;
10473 if test "$lt_cv_prog_gnu_ld" = yes; then
10481 soname_spec
='${libname}${release}${shared_ext}$major'
10482 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10484 irix5
* | nonstopux
*)
10485 libsuff
= shlibsuff
=
10488 case $LD in # libtool.m4 will add one of these switches to LD
10489 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
10490 libsuff
= shlibsuff
= libmagic
=32-bit;;
10491 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
10492 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
10493 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
10494 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
10495 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
10499 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
10500 shlibpath_overrides_runpath
=no
10501 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10502 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
10503 hardcode_into_libs
=yes
10506 # No shared lib support for Linux oldld, aout, or coff.
10507 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
10511 # This must be Linux ELF.
10512 linux
* | k
*bsd
*-gnu)
10516 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10517 soname_spec
='${libname}${release}${shared_ext}$major'
10518 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10519 shlibpath_var
=LD_LIBRARY_PATH
10520 shlibpath_overrides_runpath
=no
10521 # Some binutils ld are patched to set DT_RUNPATH
10522 save_LDFLAGS
=$LDFLAGS
10523 save_libdir
=$libdir
10524 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10525 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10527 /* end confdefs.h. */
10537 if ac_fn_c_try_link
"$LINENO"; then :
10538 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
10539 shlibpath_overrides_runpath
=yes
10542 rm -f core conftest.err conftest.
$ac_objext \
10543 conftest
$ac_exeext conftest.
$ac_ext
10544 LDFLAGS
=$save_LDFLAGS
10545 libdir
=$save_libdir
10547 # This implies no fast_install, which is unacceptable.
10548 # Some rework will be needed to allow for fast_install
10549 # before this can be enabled.
10550 hardcode_into_libs
=yes
10552 # Append ld.so.conf contents to the search path
10553 if test -f /etc
/ld.so.conf
; then
10554 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' ' '`
10555 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
10558 # We used to test for /lib/ld.so.1 and disable shared libraries on
10559 # powerpc, because MkLinux only supported shared libraries with the
10560 # GNU dynamic linker. Since this was broken with cross compilers,
10561 # most powerpc-linux boxes support dynamic linking these days and
10562 # people can always --disable-shared, the test was removed, and we
10563 # assume the GNU/Linux dynamic linker is in use.
10564 dynamic_linker
='GNU/Linux ld.so'
10571 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10572 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10573 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10574 dynamic_linker
='NetBSD (a.out) ld.so'
10576 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10577 soname_spec
='${libname}${release}${shared_ext}$major'
10578 dynamic_linker
='NetBSD ld.elf_so'
10580 shlibpath_var
=LD_LIBRARY_PATH
10581 shlibpath_overrides_runpath
=yes
10582 hardcode_into_libs
=yes
10587 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10588 shlibpath_var
=LD_LIBRARY_PATH
10589 shlibpath_overrides_runpath
=yes
10596 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10597 soname_spec
='${libname}${release}${shared_ext}$major'
10598 shlibpath_var
=LD_LIBRARY_PATH
10599 shlibpath_overrides_runpath
=no
10600 hardcode_into_libs
=yes
10601 dynamic_linker
='ldqnx.so'
10606 sys_lib_dlsearch_path_spec
="/usr/lib"
10608 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10610 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
10611 *) need_version
=no
;;
10613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10614 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10615 shlibpath_var
=LD_LIBRARY_PATH
10616 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10618 openbsd2.
[89] | openbsd2.
[89].
*)
10619 shlibpath_overrides_runpath
=no
10622 shlibpath_overrides_runpath
=yes
10626 shlibpath_overrides_runpath
=yes
10631 libname_spec
='$name'
10634 library_names_spec
='$libname${shared_ext} $libname.a'
10635 dynamic_linker
='OS/2 ld.exe'
10636 shlibpath_var
=LIBPATH
10639 osf3
* | osf4
* | osf5
*)
10643 soname_spec
='${libname}${release}${shared_ext}$major'
10644 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10645 shlibpath_var
=LD_LIBRARY_PATH
10646 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10647 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
10658 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10659 soname_spec
='${libname}${release}${shared_ext}$major'
10660 shlibpath_var
=LD_LIBRARY_PATH
10661 shlibpath_overrides_runpath
=yes
10662 hardcode_into_libs
=yes
10663 # ldd complains unless libraries are executable
10664 postinstall_cmds
='chmod +x $lib'
10669 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10670 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10671 shlibpath_var
=LD_LIBRARY_PATH
10672 shlibpath_overrides_runpath
=yes
10673 if test "$with_gnu_ld" = yes; then
10681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10682 soname_spec
='${libname}${release}${shared_ext}$major'
10683 shlibpath_var
=LD_LIBRARY_PATH
10684 case $host_vendor in
10686 shlibpath_overrides_runpath
=no
10688 runpath_var
=LD_RUN_PATH
10696 shlibpath_overrides_runpath
=no
10697 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
10703 if test -d /usr
/nec
;then
10705 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10706 soname_spec
='$libname${shared_ext}.$major'
10707 shlibpath_var
=LD_LIBRARY_PATH
10711 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
10712 version_type
=freebsd-elf
10715 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10716 soname_spec
='${libname}${release}${shared_ext}$major'
10717 shlibpath_var
=LD_LIBRARY_PATH
10718 shlibpath_overrides_runpath
=yes
10719 hardcode_into_libs
=yes
10720 if test "$with_gnu_ld" = yes; then
10721 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10723 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
10726 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
10730 sys_lib_dlsearch_path_spec
='/usr/lib'
10734 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10738 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10739 shlibpath_var
=LD_LIBRARY_PATH
10740 shlibpath_overrides_runpath
=no
10741 hardcode_into_libs
=yes
10746 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10747 soname_spec
='${libname}${release}${shared_ext}$major'
10748 shlibpath_var
=LD_LIBRARY_PATH
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10756 $as_echo "$dynamic_linker" >&6; }
10757 test "$dynamic_linker" = no
&& can_build_shared
=no
10759 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
10760 if test "$GCC" = yes; then
10761 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10764 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10765 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
10767 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10768 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
10857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10858 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10860 if test -n "$hardcode_libdir_flag_spec" ||
10861 test -n "$runpath_var" ||
10862 test "X$hardcode_automatic" = "Xyes" ; then
10864 # We can hardcode non-existent directories.
10865 if test "$hardcode_direct" != no
&&
10866 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10867 # have to relink, otherwise we might link with an installed library
10868 # when we should be linking with a yet-to-be-installed one
10869 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10870 test "$hardcode_minus_L" != no
; then
10871 # Linking always hardcodes the temporary library directory.
10872 hardcode_action
=relink
10874 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10875 hardcode_action
=immediate
10878 # We cannot hardcode anything, or else we can only hardcode existing
10880 hardcode_action
=unsupported
10882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10883 $as_echo "$hardcode_action" >&6; }
10885 if test "$hardcode_action" = relink ||
10886 test "$inherit_rpath" = yes; then
10887 # Fast installation is not supported
10888 enable_fast_install
=no
10889 elif test "$shlibpath_overrides_runpath" = yes ||
10890 test "$enable_shared" = no
; then
10891 # Fast installation is not necessary
10892 enable_fast_install
=needless
10900 if test "x$enable_dlopen" != xyes
; then
10901 enable_dlopen
=unknown
10902 enable_dlopen_self
=unknown
10903 enable_dlopen_self_static
=unknown
10910 lt_cv_dlopen
="load_add_on"
10912 lt_cv_dlopen_self
=yes
10915 mingw
* | pw32
* | cegcc
*)
10916 lt_cv_dlopen
="LoadLibrary"
10921 lt_cv_dlopen
="dlopen"
10926 # if libdl is installed we need to link against it
10927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10928 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10929 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10930 $as_echo_n "(cached) " >&6
10932 ac_check_lib_save_LIBS
=$LIBS
10934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h. */
10937 /* Override any GCC internal prototype to avoid an error.
10938 Use char because int might match the return type of a GCC
10939 builtin and then its argument prototype would still apply. */
10952 if ac_fn_c_try_link
"$LINENO"; then :
10953 ac_cv_lib_dl_dlopen
=yes
10955 ac_cv_lib_dl_dlopen
=no
10957 rm -f core conftest.err conftest.
$ac_objext \
10958 conftest
$ac_exeext conftest.
$ac_ext
10959 LIBS
=$ac_check_lib_save_LIBS
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10962 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10963 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10964 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10967 lt_cv_dlopen
="dyld"
10969 lt_cv_dlopen_self
=yes
10976 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
10977 if test "x$ac_cv_func_shl_load" = xyes
; then :
10978 lt_cv_dlopen
="shl_load"
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10981 $as_echo_n "checking for shl_load in -ldld... " >&6; }
10982 if ${ac_cv_lib_dld_shl_load+:} false
; then :
10983 $as_echo_n "(cached) " >&6
10985 ac_check_lib_save_LIBS
=$LIBS
10987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10988 /* end confdefs.h. */
10990 /* Override any GCC internal prototype to avoid an error.
10991 Use char because int might match the return type of a GCC
10992 builtin and then its argument prototype would still apply. */
11000 return shl_load ();
11005 if ac_fn_c_try_link
"$LINENO"; then :
11006 ac_cv_lib_dld_shl_load
=yes
11008 ac_cv_lib_dld_shl_load
=no
11010 rm -f core conftest.err conftest.
$ac_objext \
11011 conftest
$ac_exeext conftest.
$ac_ext
11012 LIBS
=$ac_check_lib_save_LIBS
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11015 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11016 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11017 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11019 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11020 if test "x$ac_cv_func_dlopen" = xyes
; then :
11021 lt_cv_dlopen
="dlopen"
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11024 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11025 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11026 $as_echo_n "(cached) " >&6
11028 ac_check_lib_save_LIBS
=$LIBS
11030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11033 /* Override any GCC internal prototype to avoid an error.
11034 Use char because int might match the return type of a GCC
11035 builtin and then its argument prototype would still apply. */
11048 if ac_fn_c_try_link
"$LINENO"; then :
11049 ac_cv_lib_dl_dlopen
=yes
11051 ac_cv_lib_dl_dlopen
=no
11053 rm -f core conftest.err conftest.
$ac_objext \
11054 conftest
$ac_exeext conftest.
$ac_ext
11055 LIBS
=$ac_check_lib_save_LIBS
11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11058 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11059 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11060 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11063 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11064 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11065 $as_echo_n "(cached) " >&6
11067 ac_check_lib_save_LIBS
=$LIBS
11068 LIBS
="-lsvld $LIBS"
11069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11072 /* Override any GCC internal prototype to avoid an error.
11073 Use char because int might match the return type of a GCC
11074 builtin and then its argument prototype would still apply. */
11087 if ac_fn_c_try_link
"$LINENO"; then :
11088 ac_cv_lib_svld_dlopen
=yes
11090 ac_cv_lib_svld_dlopen
=no
11092 rm -f core conftest.err conftest.
$ac_objext \
11093 conftest
$ac_exeext conftest.
$ac_ext
11094 LIBS
=$ac_check_lib_save_LIBS
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11097 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11098 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11099 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11102 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11103 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11104 $as_echo_n "(cached) " >&6
11106 ac_check_lib_save_LIBS
=$LIBS
11108 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11109 /* end confdefs.h. */
11111 /* Override any GCC internal prototype to avoid an error.
11112 Use char because int might match the return type of a GCC
11113 builtin and then its argument prototype would still apply. */
11121 return dld_link ();
11126 if ac_fn_c_try_link
"$LINENO"; then :
11127 ac_cv_lib_dld_dld_link
=yes
11129 ac_cv_lib_dld_dld_link
=no
11131 rm -f core conftest.err conftest.
$ac_objext \
11132 conftest
$ac_exeext conftest.
$ac_ext
11133 LIBS
=$ac_check_lib_save_LIBS
11135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11136 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11137 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11138 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11159 if test "x$lt_cv_dlopen" != xno
; then
11165 case $lt_cv_dlopen in
11167 save_CPPFLAGS
="$CPPFLAGS"
11168 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11170 save_LDFLAGS
="$LDFLAGS"
11171 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11174 LIBS
="$lt_cv_dlopen_libs $LIBS"
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11177 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11178 if ${lt_cv_dlopen_self+:} false
; then :
11179 $as_echo_n "(cached) " >&6
11181 if test "$cross_compiling" = yes; then :
11182 lt_cv_dlopen_self
=cross
11184 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11185 lt_status
=$lt_dlunknown
11186 cat > conftest.
$ac_ext <<_LT_EOF
11187 #line 11187 "configure"
11188 #include "confdefs.h"
11197 # define LT_DLGLOBAL RTLD_GLOBAL
11200 # define LT_DLGLOBAL DL_GLOBAL
11202 # define LT_DLGLOBAL 0
11206 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11207 find out it does not work in some platform. */
11208 #ifndef LT_DLLAZY_OR_NOW
11210 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11213 # define LT_DLLAZY_OR_NOW DL_LAZY
11216 # define LT_DLLAZY_OR_NOW RTLD_NOW
11219 # define LT_DLLAZY_OR_NOW DL_NOW
11221 # define LT_DLLAZY_OR_NOW 0
11228 void fnord() { int i=42;}
11231 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11232 int status = $lt_dlunknown;
11236 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11237 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11238 /* dlclose (self); */
11246 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11247 (eval $ac_link) 2>&5
11249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11250 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11251 (.
/conftest
; exit; ) >&5 2>/dev
/null
11253 case x
$lt_status in
11254 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
11255 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
11256 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
11259 # compilation failed
11260 lt_cv_dlopen_self
=no
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11268 $as_echo "$lt_cv_dlopen_self" >&6; }
11270 if test "x$lt_cv_dlopen_self" = xyes
; then
11271 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11273 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11274 if ${lt_cv_dlopen_self_static+:} false
; then :
11275 $as_echo_n "(cached) " >&6
11277 if test "$cross_compiling" = yes; then :
11278 lt_cv_dlopen_self_static
=cross
11280 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11281 lt_status
=$lt_dlunknown
11282 cat > conftest.
$ac_ext <<_LT_EOF
11283 #line 11283 "configure"
11284 #include "confdefs.h"
11293 # define LT_DLGLOBAL RTLD_GLOBAL
11296 # define LT_DLGLOBAL DL_GLOBAL
11298 # define LT_DLGLOBAL 0
11302 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11303 find out it does not work in some platform. */
11304 #ifndef LT_DLLAZY_OR_NOW
11306 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11309 # define LT_DLLAZY_OR_NOW DL_LAZY
11312 # define LT_DLLAZY_OR_NOW RTLD_NOW
11315 # define LT_DLLAZY_OR_NOW DL_NOW
11317 # define LT_DLLAZY_OR_NOW 0
11324 void fnord() { int i=42;}
11327 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11328 int status = $lt_dlunknown;
11332 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11333 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11334 /* dlclose (self); */
11342 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11343 (eval $ac_link) 2>&5
11345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11346 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
11347 (.
/conftest
; exit; ) >&5 2>/dev
/null
11349 case x
$lt_status in
11350 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
11351 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
11352 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
11355 # compilation failed
11356 lt_cv_dlopen_self_static
=no
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11364 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11367 CPPFLAGS
="$save_CPPFLAGS"
11368 LDFLAGS
="$save_LDFLAGS"
11373 case $lt_cv_dlopen_self in
11374 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
11375 *) enable_dlopen_self
=unknown
;;
11378 case $lt_cv_dlopen_self_static in
11379 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
11380 *) enable_dlopen_self_static
=unknown
;;
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11403 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11404 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
11405 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
11406 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
11407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11408 $as_echo "yes" >&6; }
11410 # FIXME - insert some real tests, host_os isn't really good enough
11413 if test -n "$STRIP" ; then
11414 striplib
="$STRIP -x"
11415 old_striplib
="$STRIP -S"
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11417 $as_echo "yes" >&6; }
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11420 $as_echo "no" >&6; }
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11425 $as_echo "no" >&6; }
11441 # Report which library types will actually be built
11442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11443 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11445 $as_echo "$can_build_shared" >&6; }
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11448 $as_echo_n "checking whether to build shared libraries... " >&6; }
11449 test "$can_build_shared" = "no" && enable_shared
=no
11451 # On AIX, shared libraries and static libraries use the same namespace, and
11452 # are all built from PIC.
11455 test "$enable_shared" = yes && enable_static
=no
11456 if test -n "$RANLIB"; then
11457 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11458 postinstall_cmds
='$RANLIB $lib'
11463 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11464 test "$enable_shared" = yes && enable_static
=no
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11469 $as_echo "$enable_shared" >&6; }
11471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11472 $as_echo_n "checking whether to build static libraries... " >&6; }
11473 # Make sure either enable_shared or enable_static is yes.
11474 test "$enable_shared" = yes || enable_static
=yes
11475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11476 $as_echo "$enable_static" >&6; }
11483 ac_cpp
='$CPP $CPPFLAGS'
11484 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11485 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11486 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11502 ac_config_commands
="$ac_config_commands libtool"
11507 # Only expand once:
11512 # Extract the first word of "ar", so it can be a program name with args.
11513 set dummy
ar; ac_word
=$2
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11515 $as_echo_n "checking for $ac_word... " >&6; }
11516 if ${ac_cv_path_AR+:} false
; then :
11517 $as_echo_n "(cached) " >&6
11521 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
11524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11525 for as_dir
in $PATH
11528 test -z "$as_dir" && as_dir
=.
11529 for ac_exec_ext
in '' $ac_executable_extensions; do
11530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11531 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
11532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11539 test -z "$ac_cv_path_AR" && ac_cv_path_AR
="ar"
11544 if test -n "$AR"; then
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
11546 $as_echo "$AR" >&6; }
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11549 $as_echo "no" >&6; }
11553 # Extract the first word of "rm", so it can be a program name with args.
11554 set dummy
rm; ac_word
=$2
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11556 $as_echo_n "checking for $ac_word... " >&6; }
11557 if ${ac_cv_path_RM+:} false
; then :
11558 $as_echo_n "(cached) " >&6
11562 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
11565 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11566 for as_dir
in $PATH
11569 test -z "$as_dir" && as_dir
=.
11570 for ac_exec_ext
in '' $ac_executable_extensions; do
11571 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11572 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
11573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11580 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
11585 if test -n "$RM"; then
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
11587 $as_echo "$RM" >&6; }
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11590 $as_echo "no" >&6; }
11594 # Extract the first word of "cp", so it can be a program name with args.
11595 set dummy
cp; ac_word
=$2
11596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11597 $as_echo_n "checking for $ac_word... " >&6; }
11598 if ${ac_cv_path_CP+:} false
; then :
11599 $as_echo_n "(cached) " >&6
11603 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
11606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11607 for as_dir
in $PATH
11610 test -z "$as_dir" && as_dir
=.
11611 for ac_exec_ext
in '' $ac_executable_extensions; do
11612 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11613 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
11614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11621 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
11626 if test -n "$CP"; then
11627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
11628 $as_echo "$CP" >&6; }
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11631 $as_echo "no" >&6; }
11635 # Extract the first word of "ln", so it can be a program name with args.
11636 set dummy
ln; ac_word
=$2
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11638 $as_echo_n "checking for $ac_word... " >&6; }
11639 if ${ac_cv_path_LN+:} false
; then :
11640 $as_echo_n "(cached) " >&6
11644 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
11647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11648 for as_dir
in $PATH
11651 test -z "$as_dir" && as_dir
=.
11652 for ac_exec_ext
in '' $ac_executable_extensions; do
11653 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11654 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
11655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11662 test -z "$ac_cv_path_LN" && ac_cv_path_LN
="ln"
11667 if test -n "$LN"; then
11668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
11669 $as_echo "$LN" >&6; }
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11672 $as_echo "no" >&6; }
11676 # Extract the first word of "ls", so it can be a program name with args.
11677 set dummy
ls; ac_word
=$2
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11679 $as_echo_n "checking for $ac_word... " >&6; }
11680 if ${ac_cv_path_LS+:} false
; then :
11681 $as_echo_n "(cached) " >&6
11685 ac_cv_path_LS
="$LS" # Let the user override the test with a path.
11688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11689 for as_dir
in $PATH
11692 test -z "$as_dir" && as_dir
=.
11693 for ac_exec_ext
in '' $ac_executable_extensions; do
11694 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11695 ac_cv_path_LS
="$as_dir/$ac_word$ac_exec_ext"
11696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11703 test -z "$ac_cv_path_LS" && ac_cv_path_LS
="ls"
11708 if test -n "$LS"; then
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LS" >&5
11710 $as_echo "$LS" >&6; }
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11713 $as_echo "no" >&6; }
11717 # Extract the first word of "sed", so it can be a program name with args.
11718 set dummy
sed; ac_word
=$2
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11720 $as_echo_n "checking for $ac_word... " >&6; }
11721 if ${ac_cv_path_SED+:} false
; then :
11722 $as_echo_n "(cached) " >&6
11726 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
11729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11730 for as_dir
in $PATH
11733 test -z "$as_dir" && as_dir
=.
11734 for ac_exec_ext
in '' $ac_executable_extensions; do
11735 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11736 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
11737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11744 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
11748 SED
=$ac_cv_path_SED
11749 if test -n "$SED"; then
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
11751 $as_echo "$SED" >&6; }
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11754 $as_echo "no" >&6; }
11758 # Extract the first word of "make", so it can be a program name with args.
11759 set dummy
make; ac_word
=$2
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11761 $as_echo_n "checking for $ac_word... " >&6; }
11762 if ${ac_cv_path_MAKE+:} false
; then :
11763 $as_echo_n "(cached) " >&6
11767 ac_cv_path_MAKE
="$MAKE" # Let the user override the test with a path.
11770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11771 for as_dir
in $PATH
11774 test -z "$as_dir" && as_dir
=.
11775 for ac_exec_ext
in '' $ac_executable_extensions; do
11776 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11777 ac_cv_path_MAKE
="$as_dir/$ac_word$ac_exec_ext"
11778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11788 MAKE
=$ac_cv_path_MAKE
11789 if test -n "$MAKE"; then
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
11791 $as_echo "$MAKE" >&6; }
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11794 $as_echo "no" >&6; }
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11803 $as_echo_n "checking whether NLS is requested... " >&6; }
11804 # Check whether --enable-nls was given.
11805 if test "${enable_nls+set}" = set; then :
11806 enableval
=$enable_nls; USE_NLS
=$enableval
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11812 $as_echo "$USE_NLS" >&6; }
11819 # Prepare PATH_SEPARATOR.
11820 # The user is always right.
11821 if test "${PATH_SEPARATOR+set}" != set; then
11822 echo "#! /bin/sh" >conf$$.sh
11823 echo "exit 0" >>conf$$.sh
11825 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11833 # Find out how to test for executable files. Don't use a zero-byte file,
11834 # as systems may use methods other than mode bits to determine executability.
11835 cat >conf$$.
file <<_ASEOF
11839 chmod +x conf$$.
file
11840 if test -x conf$$.
file >/dev
/null
2>&1; then
11841 ac_executable_p
="test -x"
11843 ac_executable_p
="test -f"
11847 # Extract the first word of "msgfmt", so it can be a program name with args.
11848 set dummy msgfmt
; ac_word
=$2
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11850 $as_echo_n "checking for $ac_word... " >&6; }
11851 if ${ac_cv_path_MSGFMT+:} false
; then :
11852 $as_echo_n "(cached) " >&6
11856 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
11859 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11860 for ac_dir
in $PATH; do
11862 test -z "$ac_dir" && ac_dir
=.
11863 for ac_exec_ext
in '' $ac_executable_extensions; do
11864 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11865 echo "$as_me: trying $ac_dir/$ac_word..." >&5
11866 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
11867 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11868 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
11875 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
11879 MSGFMT
="$ac_cv_path_MSGFMT"
11880 if test "$MSGFMT" != ":"; then
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11882 $as_echo "$MSGFMT" >&6; }
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11885 $as_echo "no" >&6; }
11888 # Extract the first word of "gmsgfmt", so it can be a program name with args.
11889 set dummy gmsgfmt
; ac_word
=$2
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11891 $as_echo_n "checking for $ac_word... " >&6; }
11892 if ${ac_cv_path_GMSGFMT+:} false
; then :
11893 $as_echo_n "(cached) " >&6
11897 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
11900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11901 for as_dir
in $PATH
11904 test -z "$as_dir" && as_dir
=.
11905 for ac_exec_ext
in '' $ac_executable_extensions; do
11906 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
11907 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
11908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11915 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
11919 GMSGFMT
=$ac_cv_path_GMSGFMT
11920 if test -n "$GMSGFMT"; then
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11922 $as_echo "$GMSGFMT" >&6; }
11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11925 $as_echo "no" >&6; }
11930 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11931 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
11932 *) MSGFMT_015
=$MSGFMT ;;
11935 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
11936 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
11937 *) GMSGFMT_015
=$GMSGFMT ;;
11942 # Prepare PATH_SEPARATOR.
11943 # The user is always right.
11944 if test "${PATH_SEPARATOR+set}" != set; then
11945 echo "#! /bin/sh" >conf$$.sh
11946 echo "exit 0" >>conf$$.sh
11948 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11956 # Find out how to test for executable files. Don't use a zero-byte file,
11957 # as systems may use methods other than mode bits to determine executability.
11958 cat >conf$$.
file <<_ASEOF
11962 chmod +x conf$$.
file
11963 if test -x conf$$.
file >/dev
/null
2>&1; then
11964 ac_executable_p
="test -x"
11966 ac_executable_p
="test -f"
11970 # Extract the first word of "xgettext", so it can be a program name with args.
11971 set dummy xgettext
; ac_word
=$2
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11973 $as_echo_n "checking for $ac_word... " >&6; }
11974 if ${ac_cv_path_XGETTEXT+:} false
; then :
11975 $as_echo_n "(cached) " >&6
11977 case "$XGETTEXT" in
11979 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
11982 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
11983 for ac_dir
in $PATH; do
11985 test -z "$ac_dir" && ac_dir
=.
11986 for ac_exec_ext
in '' $ac_executable_extensions; do
11987 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11988 echo "$as_me: trying $ac_dir/$ac_word..." >&5
11989 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
11990 (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
11991 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
11998 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
12002 XGETTEXT
="$ac_cv_path_XGETTEXT"
12003 if test "$XGETTEXT" != ":"; then
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12005 $as_echo "$XGETTEXT" >&6; }
12007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12008 $as_echo "no" >&6; }
12013 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12014 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
12015 *) XGETTEXT_015
=$XGETTEXT ;;
12020 # Prepare PATH_SEPARATOR.
12021 # The user is always right.
12022 if test "${PATH_SEPARATOR+set}" != set; then
12023 echo "#! /bin/sh" >conf$$.sh
12024 echo "exit 0" >>conf$$.sh
12026 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12034 # Find out how to test for executable files. Don't use a zero-byte file,
12035 # as systems may use methods other than mode bits to determine executability.
12036 cat >conf$$.
file <<_ASEOF
12040 chmod +x conf$$.
file
12041 if test -x conf$$.
file >/dev
/null
2>&1; then
12042 ac_executable_p
="test -x"
12044 ac_executable_p
="test -f"
12048 # Extract the first word of "msgmerge", so it can be a program name with args.
12049 set dummy msgmerge
; ac_word
=$2
12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12051 $as_echo_n "checking for $ac_word... " >&6; }
12052 if ${ac_cv_path_MSGMERGE+:} false
; then :
12053 $as_echo_n "(cached) " >&6
12055 case "$MSGMERGE" in
12057 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
12060 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12061 for ac_dir
in $PATH; do
12063 test -z "$ac_dir" && ac_dir
=.
12064 for ac_exec_ext
in '' $ac_executable_extensions; do
12065 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12066 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12067 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
12068 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
12075 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
12079 MSGMERGE
="$ac_cv_path_MSGMERGE"
12080 if test "$MSGMERGE" != ":"; then
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12082 $as_echo "$MSGMERGE" >&6; }
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12085 $as_echo "no" >&6; }
12089 test -n "$localedir" || localedir
='${datadir}/locale'
12092 ac_config_commands
="$ac_config_commands po-directories"
12096 if test "X$prefix" = "XNONE"; then
12097 acl_final_prefix
="$ac_default_prefix"
12099 acl_final_prefix
="$prefix"
12101 if test "X$exec_prefix" = "XNONE"; then
12102 acl_final_exec_prefix
='${prefix}'
12104 acl_final_exec_prefix
="$exec_prefix"
12106 acl_save_prefix
="$prefix"
12107 prefix
="$acl_final_prefix"
12108 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
12109 prefix
="$acl_save_prefix"
12112 # Check whether --with-gnu-ld was given.
12113 if test "${with_gnu_ld+set}" = set; then :
12114 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12119 # Prepare PATH_SEPARATOR.
12120 # The user is always right.
12121 if test "${PATH_SEPARATOR+set}" != set; then
12122 echo "#! /bin/sh" >conf$$.sh
12123 echo "exit 0" >>conf$$.sh
12125 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12133 if test "$GCC" = yes; then
12134 # Check if gcc -print-prog-name=ld gives a path.
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12136 $as_echo_n "checking for ld used by GCC... " >&6; }
12139 # gcc leaves a trailing carriage return which upsets mingw
12140 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12142 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12145 # Accept absolute paths.
12146 [\\/]* |
[A-Za-z
]:[\\/]*)
12147 re_direlt
='/[^/][^/]*/\.\./'
12148 # Canonicalize the path of ld
12149 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
12150 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
12151 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
12153 test -z "$LD" && LD
="$ac_prog"
12156 # If it fails, then pretend we aren't using GCC.
12160 # If it is relative, then search for the first ld in PATH.
12161 with_gnu_ld
=unknown
12164 elif test "$with_gnu_ld" = yes; then
12165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12166 $as_echo_n "checking for GNU ld... " >&6; }
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12169 $as_echo_n "checking for non-GNU ld... " >&6; }
12171 if ${acl_cv_path_LD+:} false
; then :
12172 $as_echo_n "(cached) " >&6
12174 if test -z "$LD"; then
12175 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
12176 for ac_dir
in $PATH; do
12177 test -z "$ac_dir" && ac_dir
=.
12178 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12179 acl_cv_path_LD
="$ac_dir/$ac_prog"
12180 # Check to see if the program is GNU ld. I'd rather use --version,
12181 # but apparently some GNU ld's only accept -v.
12182 # Break only if it was the GNU/non-GNU ld that we prefer.
12183 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
12184 *GNU
* |
*'with BFD'*)
12185 test "$with_gnu_ld" != no
&& break ;;
12187 test "$with_gnu_ld" != yes && break ;;
12193 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
12197 LD
="$acl_cv_path_LD"
12198 if test -n "$LD"; then
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12200 $as_echo "$LD" >&6; }
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12203 $as_echo "no" >&6; }
12205 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12207 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12208 if ${acl_cv_prog_gnu_ld+:} false
; then :
12209 $as_echo_n "(cached) " >&6
12211 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
12212 case `$LD -v 2>&1 </dev/null` in
12213 *GNU
* |
*'with BFD'*)
12214 acl_cv_prog_gnu_ld
=yes ;;
12216 acl_cv_prog_gnu_ld
=no
;;
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
12220 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
12221 with_gnu_ld
=$acl_cv_prog_gnu_ld
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
12227 $as_echo_n "checking for shared library run path origin... " >&6; }
12228 if ${acl_cv_rpath+:} false
; then :
12229 $as_echo_n "(cached) " >&6
12232 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
12233 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
12235 rm -f .
/conftest.sh
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
12240 $as_echo "$acl_cv_rpath" >&6; }
12242 libext
="$acl_cv_libext"
12243 shlibext
="$acl_cv_shlibext"
12244 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
12245 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
12246 hardcode_direct
="$acl_cv_hardcode_direct"
12247 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
12248 # Check whether --enable-rpath was given.
12249 if test "${enable_rpath+set}" = set; then :
12250 enableval
=$enable_rpath; :
12258 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
12259 if test -n "$searchpath"; then
12260 acl_save_IFS
="${IFS= }"; IFS
=":"
12261 for searchdir
in $searchpath; do
12262 if test -d "$searchdir"; then
12263 case "$searchdir" in
12264 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
12265 *) searchdir
=`cd "$searchdir" && pwd`
12266 case "$searchdir" in
12267 */lib64
) acl_libdirstem
=lib64
;;
12272 IFS
="$acl_save_IFS"
12284 acl_save_prefix
="$prefix"
12285 prefix
="$acl_final_prefix"
12286 acl_save_exec_prefix
="$exec_prefix"
12287 exec_prefix
="$acl_final_exec_prefix"
12289 eval additional_includedir
=\"$includedir\"
12290 eval additional_libdir
=\"$libdir\"
12292 exec_prefix
="$acl_save_exec_prefix"
12293 prefix
="$acl_save_prefix"
12296 # Check whether --with-libiconv-prefix was given.
12297 if test "${with_libiconv_prefix+set}" = set; then :
12298 withval
=$with_libiconv_prefix;
12299 if test "X$withval" = "Xno"; then
12302 if test "X$withval" = "X"; then
12304 acl_save_prefix
="$prefix"
12305 prefix
="$acl_final_prefix"
12306 acl_save_exec_prefix
="$exec_prefix"
12307 exec_prefix
="$acl_final_exec_prefix"
12309 eval additional_includedir
=\"$includedir\"
12310 eval additional_libdir
=\"$libdir\"
12312 exec_prefix
="$acl_save_exec_prefix"
12313 prefix
="$acl_save_prefix"
12316 additional_includedir
="$withval/include"
12317 additional_libdir
="$withval/$acl_libdirstem"
12328 names_already_handled
=
12329 names_next_round
='iconv '
12330 while test -n "$names_next_round"; do
12331 names_this_round
="$names_next_round"
12333 for name
in $names_this_round; do
12335 for n
in $names_already_handled; do
12336 if test "$n" = "$name"; then
12337 already_handled
=yes
12341 if test -z "$already_handled"; then
12342 names_already_handled
="$names_already_handled $name"
12343 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12344 eval value
=\"\
$HAVE_LIB$uppername\"
12345 if test -n "$value"; then
12346 if test "$value" = yes; then
12347 eval value
=\"\
$LIB$uppername\"
12348 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
12349 eval value
=\"\
$LTLIB$uppername\"
12350 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
12359 if test $use_additional = yes; then
12360 if test -n "$shlibext" \
12361 && { test -f "$additional_libdir/lib$name.$shlibext" \
12362 ||
{ test "$shlibext" = dll \
12363 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
12364 found_dir
="$additional_libdir"
12365 if test -f "$additional_libdir/lib$name.$shlibext"; then
12366 found_so
="$additional_libdir/lib$name.$shlibext"
12368 found_so
="$additional_libdir/lib$name.dll.a"
12370 if test -f "$additional_libdir/lib$name.la"; then
12371 found_la
="$additional_libdir/lib$name.la"
12374 if test -f "$additional_libdir/lib$name.$libext"; then
12375 found_dir
="$additional_libdir"
12376 found_a
="$additional_libdir/lib$name.$libext"
12377 if test -f "$additional_libdir/lib$name.la"; then
12378 found_la
="$additional_libdir/lib$name.la"
12383 if test "X$found_dir" = "X"; then
12384 for x
in $LDFLAGS $LTLIBICONV; do
12386 acl_save_prefix
="$prefix"
12387 prefix
="$acl_final_prefix"
12388 acl_save_exec_prefix
="$exec_prefix"
12389 exec_prefix
="$acl_final_exec_prefix"
12391 exec_prefix
="$acl_save_exec_prefix"
12392 prefix
="$acl_save_prefix"
12396 dir
=`echo "X$x" | sed -e 's/^X-L//'`
12397 if test -n "$shlibext" \
12398 && { test -f "$dir/lib$name.$shlibext" \
12399 ||
{ test "$shlibext" = dll \
12400 && test -f "$dir/lib$name.dll.a"; }; }; then
12402 if test -f "$dir/lib$name.$shlibext"; then
12403 found_so
="$dir/lib$name.$shlibext"
12405 found_so
="$dir/lib$name.dll.a"
12407 if test -f "$dir/lib$name.la"; then
12408 found_la
="$dir/lib$name.la"
12411 if test -f "$dir/lib$name.$libext"; then
12413 found_a
="$dir/lib$name.$libext"
12414 if test -f "$dir/lib$name.la"; then
12415 found_la
="$dir/lib$name.la"
12421 if test "X$found_dir" != "X"; then
12426 if test "X$found_dir" != "X"; then
12427 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
12428 if test "X$found_so" != "X"; then
12429 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
12430 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12433 for x
in $ltrpathdirs; do
12434 if test "X$x" = "X$found_dir"; then
12439 if test -z "$haveit"; then
12440 ltrpathdirs
="$ltrpathdirs $found_dir"
12442 if test "$hardcode_direct" = yes; then
12443 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12445 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
12446 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12448 for x
in $rpathdirs; do
12449 if test "X$x" = "X$found_dir"; then
12454 if test -z "$haveit"; then
12455 rpathdirs
="$rpathdirs $found_dir"
12459 for x
in $LDFLAGS $LIBICONV; do
12461 acl_save_prefix
="$prefix"
12462 prefix
="$acl_final_prefix"
12463 acl_save_exec_prefix
="$exec_prefix"
12464 exec_prefix
="$acl_final_exec_prefix"
12466 exec_prefix
="$acl_save_exec_prefix"
12467 prefix
="$acl_save_prefix"
12469 if test "X$x" = "X-L$found_dir"; then
12474 if test -z "$haveit"; then
12475 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
12477 if test "$hardcode_minus_L" != no
; then
12478 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
12480 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12486 if test "X$found_a" != "X"; then
12487 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
12489 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
12492 additional_includedir
=
12493 case "$found_dir" in
12494 */$acl_libdirstem |
*/$acl_libdirstem/)
12495 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
12496 additional_includedir
="$basedir/include"
12499 if test "X$additional_includedir" != "X"; then
12500 if test "X$additional_includedir" != "X/usr/include"; then
12502 if test "X$additional_includedir" = "X/usr/local/include"; then
12503 if test -n "$GCC"; then
12505 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
12509 if test -z "$haveit"; then
12510 for x
in $CPPFLAGS $INCICONV; do
12512 acl_save_prefix
="$prefix"
12513 prefix
="$acl_final_prefix"
12514 acl_save_exec_prefix
="$exec_prefix"
12515 exec_prefix
="$acl_final_exec_prefix"
12517 exec_prefix
="$acl_save_exec_prefix"
12518 prefix
="$acl_save_prefix"
12520 if test "X$x" = "X-I$additional_includedir"; then
12525 if test -z "$haveit"; then
12526 if test -d "$additional_includedir"; then
12527 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
12533 if test -n "$found_la"; then
12534 save_libdir
="$libdir"
12535 case "$found_la" in
12536 */* |
*\\*) .
"$found_la" ;;
12537 *) .
"./$found_la" ;;
12539 libdir
="$save_libdir"
12540 for dep
in $dependency_libs; do
12543 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
12544 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
12546 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
12547 if test -n "$GCC"; then
12549 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
12553 if test -z "$haveit"; then
12555 for x
in $LDFLAGS $LIBICONV; do
12557 acl_save_prefix
="$prefix"
12558 prefix
="$acl_final_prefix"
12559 acl_save_exec_prefix
="$exec_prefix"
12560 exec_prefix
="$acl_final_exec_prefix"
12562 exec_prefix
="$acl_save_exec_prefix"
12563 prefix
="$acl_save_prefix"
12565 if test "X$x" = "X-L$additional_libdir"; then
12570 if test -z "$haveit"; then
12571 if test -d "$additional_libdir"; then
12572 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
12576 for x
in $LDFLAGS $LTLIBICONV; do
12578 acl_save_prefix
="$prefix"
12579 prefix
="$acl_final_prefix"
12580 acl_save_exec_prefix
="$exec_prefix"
12581 exec_prefix
="$acl_final_exec_prefix"
12583 exec_prefix
="$acl_save_exec_prefix"
12584 prefix
="$acl_save_prefix"
12586 if test "X$x" = "X-L$additional_libdir"; then
12591 if test -z "$haveit"; then
12592 if test -d "$additional_libdir"; then
12593 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
12600 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
12601 if test "$enable_rpath" != no
; then
12603 for x
in $rpathdirs; do
12604 if test "X$x" = "X$dir"; then
12609 if test -z "$haveit"; then
12610 rpathdirs
="$rpathdirs $dir"
12613 for x
in $ltrpathdirs; do
12614 if test "X$x" = "X$dir"; then
12619 if test -z "$haveit"; then
12620 ltrpathdirs
="$ltrpathdirs $dir"
12625 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12628 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12631 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
12632 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
12638 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
12639 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
12645 if test "X$rpathdirs" != "X"; then
12646 if test -n "$hardcode_libdir_separator"; then
12648 for found_dir
in $rpathdirs; do
12649 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
12651 acl_save_libdir
="$libdir"
12653 eval flag
=\"$hardcode_libdir_flag_spec\"
12654 libdir
="$acl_save_libdir"
12655 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12657 for found_dir
in $rpathdirs; do
12658 acl_save_libdir
="$libdir"
12659 libdir
="$found_dir"
12660 eval flag
=\"$hardcode_libdir_flag_spec\"
12661 libdir
="$acl_save_libdir"
12662 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
12666 if test "X$ltrpathdirs" != "X"; then
12667 for found_dir
in $ltrpathdirs; do
12668 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
12697 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
12698 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
12699 $as_echo_n "(cached) " >&6
12701 gt_save_LIBS
="$LIBS"
12702 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
12703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12704 /* end confdefs.h. */
12705 #include <CoreFoundation/CFPreferences.h>
12709 CFPreferencesCopyAppValue(NULL, NULL)
12714 if ac_fn_c_try_link
"$LINENO"; then :
12715 gt_cv_func_CFPreferencesCopyAppValue
=yes
12717 gt_cv_func_CFPreferencesCopyAppValue
=no
12719 rm -f core conftest.err conftest.
$ac_objext \
12720 conftest
$ac_exeext conftest.
$ac_ext
12721 LIBS
="$gt_save_LIBS"
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
12724 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
12725 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
12727 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
12731 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
12732 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
12733 $as_echo_n "(cached) " >&6
12735 gt_save_LIBS
="$LIBS"
12736 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
12737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12738 /* end confdefs.h. */
12739 #include <CoreFoundation/CFLocale.h>
12743 CFLocaleCopyCurrent();
12748 if ac_fn_c_try_link
"$LINENO"; then :
12749 gt_cv_func_CFLocaleCopyCurrent
=yes
12751 gt_cv_func_CFLocaleCopyCurrent
=no
12753 rm -f core conftest.err conftest.
$ac_objext \
12754 conftest
$ac_exeext conftest.
$ac_ext
12755 LIBS
="$gt_save_LIBS"
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
12758 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
12759 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12761 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
12765 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
12766 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
12778 case " $gt_needs " in
12779 *" need-formatstring-macros "*) gt_api_version
=3 ;;
12780 *" need-ngettext "*) gt_api_version
=2 ;;
12781 *) gt_api_version
=1 ;;
12783 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
12784 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
12786 if test "$USE_NLS" = "yes"; then
12787 gt_use_preinstalled_gnugettext
=no
12790 if test $gt_api_version -ge 3; then
12791 gt_revision_test_code
='
12792 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
12793 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
12795 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
12798 gt_revision_test_code
=
12800 if test $gt_api_version -ge 2; then
12801 gt_expression_test_code
=' + * ngettext ("", "", 0)'
12803 gt_expression_test_code
=
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
12807 $as_echo_n "checking for GNU gettext in libc... " >&6; }
12808 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
12809 $as_echo_n "(cached) " >&6
12811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12812 /* end confdefs.h. */
12813 #include <libintl.h>
12814 $gt_revision_test_code
12815 extern int _nl_msg_cat_cntr;
12816 extern int *_nl_domain_bindings;
12820 bindtextdomain ("", "");
12821 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
12826 if ac_fn_c_try_link
"$LINENO"; then :
12827 eval "$gt_func_gnugettext_libc=yes"
12829 eval "$gt_func_gnugettext_libc=no"
12831 rm -f core conftest.err conftest.
$ac_objext \
12832 conftest
$ac_exeext conftest.
$ac_ext
12834 eval ac_res
=\$
$gt_func_gnugettext_libc
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12836 $as_echo "$ac_res" >&6; }
12838 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
12844 am_save_CPPFLAGS
="$CPPFLAGS"
12846 for element
in $INCICONV; do
12848 for x
in $CPPFLAGS; do
12850 acl_save_prefix
="$prefix"
12851 prefix
="$acl_final_prefix"
12852 acl_save_exec_prefix
="$exec_prefix"
12853 exec_prefix
="$acl_final_exec_prefix"
12855 exec_prefix
="$acl_save_exec_prefix"
12856 prefix
="$acl_save_prefix"
12858 if test "X$x" = "X$element"; then
12863 if test -z "$haveit"; then
12864 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
12870 $as_echo_n "checking for iconv... " >&6; }
12871 if ${am_cv_func_iconv+:} false
; then :
12872 $as_echo_n "(cached) " >&6
12875 am_cv_func_iconv
="no, consider installing GNU libiconv"
12877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12878 /* end confdefs.h. */
12879 #include <stdlib.h>
12884 iconv_t cd = iconv_open("","");
12885 iconv(cd,NULL,NULL,NULL,NULL);
12891 if ac_fn_c_try_link
"$LINENO"; then :
12892 am_cv_func_iconv
=yes
12894 rm -f core conftest.err conftest.
$ac_objext \
12895 conftest
$ac_exeext conftest.
$ac_ext
12896 if test "$am_cv_func_iconv" != yes; then
12897 am_save_LIBS
="$LIBS"
12898 LIBS
="$LIBS $LIBICONV"
12899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12900 /* end confdefs.h. */
12901 #include <stdlib.h>
12906 iconv_t cd = iconv_open("","");
12907 iconv(cd,NULL,NULL,NULL,NULL);
12913 if ac_fn_c_try_link
"$LINENO"; then :
12914 am_cv_lib_iconv
=yes
12915 am_cv_func_iconv
=yes
12917 rm -f core conftest.err conftest.
$ac_objext \
12918 conftest
$ac_exeext conftest.
$ac_ext
12919 LIBS
="$am_save_LIBS"
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
12924 $as_echo "$am_cv_func_iconv" >&6; }
12925 if test "$am_cv_func_iconv" = yes; then
12927 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
12930 if test "$am_cv_lib_iconv" = yes; then
12931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
12932 $as_echo_n "checking how to link with libiconv... " >&6; }
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
12934 $as_echo "$LIBICONV" >&6; }
12936 CPPFLAGS
="$am_save_CPPFLAGS"
12949 acl_save_prefix
="$prefix"
12950 prefix
="$acl_final_prefix"
12951 acl_save_exec_prefix
="$exec_prefix"
12952 exec_prefix
="$acl_final_exec_prefix"
12954 eval additional_includedir
=\"$includedir\"
12955 eval additional_libdir
=\"$libdir\"
12957 exec_prefix
="$acl_save_exec_prefix"
12958 prefix
="$acl_save_prefix"
12961 # Check whether --with-libintl-prefix was given.
12962 if test "${with_libintl_prefix+set}" = set; then :
12963 withval
=$with_libintl_prefix;
12964 if test "X$withval" = "Xno"; then
12967 if test "X$withval" = "X"; then
12969 acl_save_prefix
="$prefix"
12970 prefix
="$acl_final_prefix"
12971 acl_save_exec_prefix
="$exec_prefix"
12972 exec_prefix
="$acl_final_exec_prefix"
12974 eval additional_includedir
=\"$includedir\"
12975 eval additional_libdir
=\"$libdir\"
12977 exec_prefix
="$acl_save_exec_prefix"
12978 prefix
="$acl_save_prefix"
12981 additional_includedir
="$withval/include"
12982 additional_libdir
="$withval/$acl_libdirstem"
12993 names_already_handled
=
12994 names_next_round
='intl '
12995 while test -n "$names_next_round"; do
12996 names_this_round
="$names_next_round"
12998 for name
in $names_this_round; do
13000 for n
in $names_already_handled; do
13001 if test "$n" = "$name"; then
13002 already_handled
=yes
13006 if test -z "$already_handled"; then
13007 names_already_handled
="$names_already_handled $name"
13008 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13009 eval value
=\"\
$HAVE_LIB$uppername\"
13010 if test -n "$value"; then
13011 if test "$value" = yes; then
13012 eval value
=\"\
$LIB$uppername\"
13013 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
13014 eval value
=\"\
$LTLIB$uppername\"
13015 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
13024 if test $use_additional = yes; then
13025 if test -n "$shlibext" \
13026 && { test -f "$additional_libdir/lib$name.$shlibext" \
13027 ||
{ test "$shlibext" = dll \
13028 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
13029 found_dir
="$additional_libdir"
13030 if test -f "$additional_libdir/lib$name.$shlibext"; then
13031 found_so
="$additional_libdir/lib$name.$shlibext"
13033 found_so
="$additional_libdir/lib$name.dll.a"
13035 if test -f "$additional_libdir/lib$name.la"; then
13036 found_la
="$additional_libdir/lib$name.la"
13039 if test -f "$additional_libdir/lib$name.$libext"; then
13040 found_dir
="$additional_libdir"
13041 found_a
="$additional_libdir/lib$name.$libext"
13042 if test -f "$additional_libdir/lib$name.la"; then
13043 found_la
="$additional_libdir/lib$name.la"
13048 if test "X$found_dir" = "X"; then
13049 for x
in $LDFLAGS $LTLIBINTL; do
13051 acl_save_prefix
="$prefix"
13052 prefix
="$acl_final_prefix"
13053 acl_save_exec_prefix
="$exec_prefix"
13054 exec_prefix
="$acl_final_exec_prefix"
13056 exec_prefix
="$acl_save_exec_prefix"
13057 prefix
="$acl_save_prefix"
13061 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13062 if test -n "$shlibext" \
13063 && { test -f "$dir/lib$name.$shlibext" \
13064 ||
{ test "$shlibext" = dll \
13065 && test -f "$dir/lib$name.dll.a"; }; }; then
13067 if test -f "$dir/lib$name.$shlibext"; then
13068 found_so
="$dir/lib$name.$shlibext"
13070 found_so
="$dir/lib$name.dll.a"
13072 if test -f "$dir/lib$name.la"; then
13073 found_la
="$dir/lib$name.la"
13076 if test -f "$dir/lib$name.$libext"; then
13078 found_a
="$dir/lib$name.$libext"
13079 if test -f "$dir/lib$name.la"; then
13080 found_la
="$dir/lib$name.la"
13086 if test "X$found_dir" != "X"; then
13091 if test "X$found_dir" != "X"; then
13092 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13093 if test "X$found_so" != "X"; then
13094 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13095 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13098 for x
in $ltrpathdirs; do
13099 if test "X$x" = "X$found_dir"; then
13104 if test -z "$haveit"; then
13105 ltrpathdirs
="$ltrpathdirs $found_dir"
13107 if test "$hardcode_direct" = yes; then
13108 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13110 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13111 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13113 for x
in $rpathdirs; do
13114 if test "X$x" = "X$found_dir"; then
13119 if test -z "$haveit"; then
13120 rpathdirs
="$rpathdirs $found_dir"
13124 for x
in $LDFLAGS $LIBINTL; do
13126 acl_save_prefix
="$prefix"
13127 prefix
="$acl_final_prefix"
13128 acl_save_exec_prefix
="$exec_prefix"
13129 exec_prefix
="$acl_final_exec_prefix"
13131 exec_prefix
="$acl_save_exec_prefix"
13132 prefix
="$acl_save_prefix"
13134 if test "X$x" = "X-L$found_dir"; then
13139 if test -z "$haveit"; then
13140 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13142 if test "$hardcode_minus_L" != no
; then
13143 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13145 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13151 if test "X$found_a" != "X"; then
13152 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
13154 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13157 additional_includedir
=
13158 case "$found_dir" in
13159 */$acl_libdirstem |
*/$acl_libdirstem/)
13160 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13161 additional_includedir
="$basedir/include"
13164 if test "X$additional_includedir" != "X"; then
13165 if test "X$additional_includedir" != "X/usr/include"; then
13167 if test "X$additional_includedir" = "X/usr/local/include"; then
13168 if test -n "$GCC"; then
13170 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
13174 if test -z "$haveit"; then
13175 for x
in $CPPFLAGS $INCINTL; do
13177 acl_save_prefix
="$prefix"
13178 prefix
="$acl_final_prefix"
13179 acl_save_exec_prefix
="$exec_prefix"
13180 exec_prefix
="$acl_final_exec_prefix"
13182 exec_prefix
="$acl_save_exec_prefix"
13183 prefix
="$acl_save_prefix"
13185 if test "X$x" = "X-I$additional_includedir"; then
13190 if test -z "$haveit"; then
13191 if test -d "$additional_includedir"; then
13192 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
13198 if test -n "$found_la"; then
13199 save_libdir
="$libdir"
13200 case "$found_la" in
13201 */* |
*\\*) .
"$found_la" ;;
13202 *) .
"./$found_la" ;;
13204 libdir
="$save_libdir"
13205 for dep
in $dependency_libs; do
13208 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
13209 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13211 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13212 if test -n "$GCC"; then
13214 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
13218 if test -z "$haveit"; then
13220 for x
in $LDFLAGS $LIBINTL; do
13222 acl_save_prefix
="$prefix"
13223 prefix
="$acl_final_prefix"
13224 acl_save_exec_prefix
="$exec_prefix"
13225 exec_prefix
="$acl_final_exec_prefix"
13227 exec_prefix
="$acl_save_exec_prefix"
13228 prefix
="$acl_save_prefix"
13230 if test "X$x" = "X-L$additional_libdir"; then
13235 if test -z "$haveit"; then
13236 if test -d "$additional_libdir"; then
13237 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
13241 for x
in $LDFLAGS $LTLIBINTL; do
13243 acl_save_prefix
="$prefix"
13244 prefix
="$acl_final_prefix"
13245 acl_save_exec_prefix
="$exec_prefix"
13246 exec_prefix
="$acl_final_exec_prefix"
13248 exec_prefix
="$acl_save_exec_prefix"
13249 prefix
="$acl_save_prefix"
13251 if test "X$x" = "X-L$additional_libdir"; then
13256 if test -z "$haveit"; then
13257 if test -d "$additional_libdir"; then
13258 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
13265 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
13266 if test "$enable_rpath" != no
; then
13268 for x
in $rpathdirs; do
13269 if test "X$x" = "X$dir"; then
13274 if test -z "$haveit"; then
13275 rpathdirs
="$rpathdirs $dir"
13278 for x
in $ltrpathdirs; do
13279 if test "X$x" = "X$dir"; then
13284 if test -z "$haveit"; then
13285 ltrpathdirs
="$ltrpathdirs $dir"
13290 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13293 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13296 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
13297 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
13303 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13304 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
13310 if test "X$rpathdirs" != "X"; then
13311 if test -n "$hardcode_libdir_separator"; then
13313 for found_dir
in $rpathdirs; do
13314 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13316 acl_save_libdir
="$libdir"
13318 eval flag
=\"$hardcode_libdir_flag_spec\"
13319 libdir
="$acl_save_libdir"
13320 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13322 for found_dir
in $rpathdirs; do
13323 acl_save_libdir
="$libdir"
13324 libdir
="$found_dir"
13325 eval flag
=\"$hardcode_libdir_flag_spec\"
13326 libdir
="$acl_save_libdir"
13327 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
13331 if test "X$ltrpathdirs" != "X"; then
13332 for found_dir
in $ltrpathdirs; do
13333 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
13337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
13338 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
13339 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
13340 $as_echo_n "(cached) " >&6
13342 gt_save_CPPFLAGS
="$CPPFLAGS"
13343 CPPFLAGS
="$CPPFLAGS $INCINTL"
13344 gt_save_LIBS
="$LIBS"
13345 LIBS
="$LIBS $LIBINTL"
13346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13347 /* end confdefs.h. */
13348 #include <libintl.h>
13349 $gt_revision_test_code
13350 extern int _nl_msg_cat_cntr;
13355 const char *_nl_expand_alias (const char *);
13359 bindtextdomain ("", "");
13360 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13365 if ac_fn_c_try_link
"$LINENO"; then :
13366 eval "$gt_func_gnugettext_libintl=yes"
13368 eval "$gt_func_gnugettext_libintl=no"
13370 rm -f core conftest.err conftest.
$ac_objext \
13371 conftest
$ac_exeext conftest.
$ac_ext
13372 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
13373 LIBS
="$LIBS $LIBICONV"
13374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13375 /* end confdefs.h. */
13376 #include <libintl.h>
13377 $gt_revision_test_code
13378 extern int _nl_msg_cat_cntr;
13383 const char *_nl_expand_alias (const char *);
13387 bindtextdomain ("", "");
13388 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
13393 if ac_fn_c_try_link
"$LINENO"; then :
13394 LIBINTL
="$LIBINTL $LIBICONV"
13395 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
13396 eval "$gt_func_gnugettext_libintl=yes"
13399 rm -f core conftest.err conftest.
$ac_objext \
13400 conftest
$ac_exeext conftest.
$ac_ext
13402 CPPFLAGS
="$gt_save_CPPFLAGS"
13403 LIBS
="$gt_save_LIBS"
13405 eval ac_res
=\$
$gt_func_gnugettext_libintl
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13407 $as_echo "$ac_res" >&6; }
13410 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
13411 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
13412 && test "$PACKAGE" != gettext-runtime \
13413 && test "$PACKAGE" != gettext-tools
; }; then
13414 gt_use_preinstalled_gnugettext
=yes
13423 if test -n "$INTL_MACOSX_LIBS"; then
13424 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13425 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13426 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
13427 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
13431 if test "$gt_use_preinstalled_gnugettext" = "yes" \
13432 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
13434 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
13441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
13442 $as_echo_n "checking whether to use NLS... " >&6; }
13443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13444 $as_echo "$USE_NLS" >&6; }
13445 if test "$USE_NLS" = "yes"; then
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
13447 $as_echo_n "checking where the gettext function comes from... " >&6; }
13448 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13449 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13450 gt_source
="external libintl"
13455 gt_source
="included intl directory"
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
13458 $as_echo "$gt_source" >&6; }
13461 if test "$USE_NLS" = "yes"; then
13463 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13464 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
13466 $as_echo_n "checking how to link with libintl... " >&6; }
13467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
13468 $as_echo "$LIBINTL" >&6; }
13470 for element
in $INCINTL; do
13472 for x
in $CPPFLAGS; do
13474 acl_save_prefix
="$prefix"
13475 prefix
="$acl_final_prefix"
13476 acl_save_exec_prefix
="$exec_prefix"
13477 exec_prefix
="$acl_final_exec_prefix"
13479 exec_prefix
="$acl_save_exec_prefix"
13480 prefix
="$acl_save_prefix"
13482 if test "X$x" = "X$element"; then
13487 if test -z "$haveit"; then
13488 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
13495 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13498 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
13507 INTLLIBS
="$LIBINTL"
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: dmalloc enabled" >&5
13516 $as_echo_n "checking option: dmalloc enabled... " >&6; }
13517 # Check whether --enable-dmalloc was given.
13518 if test "${enable_dmalloc+set}" = set; then :
13519 enableval
=$enable_dmalloc;
13522 if test x
$enable_dmalloc = "xyes" ; then
13523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13524 $as_echo "yes" >&6; }
13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13527 $as_echo "no" >&6; }
13531 # Check whether --with-dmalloc-dir was given.
13532 if test "${with_dmalloc_dir+set}" = set; then :
13533 withval
=$with_dmalloc_dir;
13534 if test "x$withval" != "xno" ; then
13535 enable_dmalloc
= "yes"
13536 CPPFLAGS
="$CPPFLAGS -I${withval}"
13537 LDFLAGS
="$LDFLAGS -L${withval}"
13543 if test x
$enable_dmalloc = "xyes" ; then
13545 $as_echo "#define ENABLE_DMALLOC 1" >>confdefs.h
13549 ALPINE_psefcmd
="/bin/ps auxww"
13550 ALPINE_psfailed
="0"
13553 # Check whether --with-ps-cmd was given.
13554 if test "${with_ps_cmd+set}" = set; then :
13555 withval
=$with_ps_cmd;
13556 if test "x$withval" = "xno" -o "x$withval" = "xyes" -o "x$withval" = "x" ; then
13557 withval
=$ALPINE_psefcmd
13559 ALPINE_PSTEST
=`$withval | $EGREP "$withval" | $EGREP -v $EGREP`
13560 if test -n "$ALPINE_PSTEST" ; then
13561 ALPINE_psefcmd
="$withval"
13563 ALPINE_psfailed
="1"
13564 if test "x$ALPINE_psefcmd" != "x$withval" ; then
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed command $withval. Trying $ALPINE_psefcmd" >&5
13566 $as_echo "$as_me: WARNING: failed command $withval. Trying $ALPINE_psefcmd" >&2;}
13572 if test "$ALPINE_psfailed" = "1" -o "$ALPINE_PSTEST" = "-" ; then
13573 withval
="$ALPINE_psefcmd"
13574 ALPINE_PSTEST
=`$withval | $EGREP "$withval" | $EGREP -v $EGREP`
13575 if test -z "$ALPINE_PSTEST" ; then
13576 ALPINE_psfailed
="1"
13578 ALPINE_psfailed
="0"
13581 if test "$ALPINE_psfailed" = "0" ; then
13583 cat >>confdefs.h
<<_ACEOF
13584 #define PSEFCMD "$ALPINE_psefcmd"
13591 if test -d /opt
/local ; then
13592 localedir
="/opt/local/share/locale"
13594 localedir
="\${datadir}/locale"
13598 localedir
="/usr/share"
13601 localedir
="\${datadir}/locale"
13605 # Check whether --with-localedir was given.
13606 if test "${with_localedir+set}" = set; then :
13607 withval
=$with_localedir;
13620 localedir
="$localedir"
13623 # Setup OS-Specific features
13626 # Check whether --enable-osx-universal-binaries was given.
13627 if test "${enable_osx_universal_binaries+set}" = set; then :
13628 enableval
=$enable_osx_universal_binaries;
13631 if test "x$enable_osx_universal_binaries" = "xyes" ; then
13632 if test "x$enable_dependency_tracking" != xno
; then
13633 as_fn_error $?
"--enable-osx-universal-binary requires --disable-dependency-tracking.
13634 Please re-run configure with these options:
13635 --disable-dependency-tracking --enable-osx-universal-binary" "$LINENO" 5
13637 if test -d /Developer
/SDKs
/MacOSX10.5.sdk
; then
13638 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.5.sdk
13639 elif test -d /Developer
/SDKs
/MacOSX10.4u.sdk
; then
13640 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.4u.sdk
13642 as_fn_error $?
"No suitable MacOSX SDK found. Make sure Xcode tools are installed" "$LINENO" 5
13644 ub_cflags
="-isysroot $alpine_sysroot -arch ppc -arch i386"
13645 ub_ldflags
="-Wl,-syslibroot,$alpine_sysroot -arch ppc -arch i386"
13646 AM_CFLAGS
="$AM_CFLAGS $ub_cflags"
13647 AM_LDFLAGS
="$AM_LDFLAGS $ub_ldflags"
13648 alpine_c_client_cflags
="$alpine_c_client_cflags $ub_cflags"
13649 alpine_c_client_ldflags
="$alpine_c_client_ldflags $ub_ldflags"
13655 # Check whether --with-include-path was given.
13656 if test "${with_include_path+set}" = set; then :
13657 withval
=$with_include_path;
13664 new_cppflags
="-I`echo ${withval} | ${SED} 's/:/ -I/g'`"
13665 CPPFLAGS
="$CPPFLAGS ${new_cppflags}"
13666 alpine_c_client_cflags
="$alpine_c_client_cflags ${new_cppflags}"
13674 # Check whether --with-lib-path was given.
13675 if test "${with_lib_path+set}" = set; then :
13676 withval
=$with_lib_path;
13683 new_ldflags
="-L`echo ${withval} | ${SED} 's/:/ -L/g'`"
13684 LDFLAGS
="$LDFLAGS $new_ldflags"
13685 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${new_ldflags}"
13693 # Check whether --with-pubcookie was given.
13694 if test "${with_pubcookie+set}" = set; then :
13695 withval
=$with_pubcookie;
13696 if test "x$withval" != "xno" ; then
13697 WEB_PUBCOOKIE_BUILD
=web
/src
/pubcookie
13705 # Check whether --with-web-bin was given.
13706 if test "${with_web_bin+set}" = set; then :
13707 withval
=$with_web_bin;
13714 WEB_BINDIR
=$withval
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: debugging is enabled" >&5
13722 $as_echo_n "checking option: debugging is enabled... " >&6; }
13723 # Check whether --enable-debug was given.
13724 if test "${enable_debug+set}" = set; then :
13725 enableval
=$enable_debug;
13728 if test x
$enable_debug != "xno" ; then
13729 AM_CFLAGS
="$AM_CFLAGS -g"
13731 $as_echo "#define DEBUG 1" >>confdefs.h
13734 $as_echo "#define DEBUGJOURNAL 1" >>confdefs.h
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13737 $as_echo "yes" >&6; }
13739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13740 $as_echo "no" >&6; }
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: optimization is enabled" >&5
13744 $as_echo_n "checking option: optimization is enabled... " >&6; }
13745 # Check whether --enable-optimization was given.
13746 if test "${enable_optimization+set}" = set; then :
13747 enableval
=$enable_optimization;
13750 if test x
$enable_optimization != "xno" ; then
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13752 $as_echo "yes" >&6; }
13754 CFLAGS
="`echo $AM_CFLAGS | ${SED} 's/-O2//'`"
13755 alpine_c_client_gccoptlevel
="-O0"
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13757 $as_echo "no" >&6; }
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: mouse support enabled" >&5
13761 $as_echo_n "checking option: mouse support enabled... " >&6; }
13762 # Check whether --enable-mouse was given.
13763 if test "${enable_mouse+set}" = set; then :
13764 enableval
=$enable_mouse;
13767 if test x
$enable_mouse != "xno" ; then
13769 $as_echo "#define MOUSE /**/" >>confdefs.h
13771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13772 $as_echo "yes" >&6; }
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13775 $as_echo "no" >&6; }
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: quotas enabled" >&5
13779 $as_echo_n "checking option: quotas enabled... " >&6; }
13780 # Check whether --enable-quotas was given.
13781 if test "${enable_quotas+set}" = set; then :
13782 enableval
=$enable_quotas;
13785 if test x
$enable_quotas = "xyes" ; then
13787 $as_echo "#define USE_QUOTAS /**/" >>confdefs.h
13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13790 $as_echo "yes" >&6; }
13792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13793 $as_echo "no" >&6; }
13796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: From changing enabled" >&5
13797 $as_echo_n "checking option: From changing enabled... " >&6; }
13798 # Check whether --enable-from_changing was given.
13799 if test "${enable_from_changing+set}" = set; then :
13800 enableval
=$enable_from_changing;
13803 if test x
$enable_from_changing != "xno" ; then
13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13805 $as_echo "yes" >&6; }
13808 $as_echo "#define NEVER_ALLOW_CHANGING_FROM /**/" >>confdefs.h
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13811 $as_echo "no" >&6; }
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: background post enabled" >&5
13815 $as_echo_n "checking option: background post enabled... " >&6; }
13816 # Check whether --enable-background-post was given.
13817 if test "${enable_background_post+set}" = set; then :
13818 enableval
=$enable_background_post;
13821 if test x
$enable_background_post != "xno" ; then
13823 $as_echo "#define BACKGROUND_POST /**/" >>confdefs.h
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13826 $as_echo "yes" >&6; }
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13829 $as_echo "no" >&6; }
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: keyboard lock enabled" >&5
13833 $as_echo_n "checking option: keyboard lock enabled... " >&6; }
13834 # Check whether --enable-keyboard-lock was given.
13835 if test "${enable_keyboard_lock+set}" = set; then :
13836 enableval
=$enable_keyboard_lock;
13839 if test x
$enable_keyboard_lock != "xno" ; then
13841 $as_echo "#define KEYBOARD_LOCK /**/" >>confdefs.h
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13844 $as_echo "yes" >&6; }
13846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13847 $as_echo "no" >&6; }
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: from encoding enabled" >&5
13851 $as_echo_n "checking option: from encoding enabled... " >&6; }
13852 # Check whether --enable-from-encoding was given.
13853 if test "${enable_from_encoding+set}" = set; then :
13854 enableval
=$enable_from_encoding;
13857 if test x
$enable_from_encoding = "xyes" ; then
13859 $as_echo "#define ENCODE_FROMS /**/" >>confdefs.h
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13862 $as_echo "yes" >&6; }
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13865 $as_echo "no" >&6; }
13869 # Check whether --with-smtp-msa was given.
13870 if test "${with_smtp_msa+set}" = set; then :
13871 withval
=$with_smtp_msa;
13876 # Extract the first word of "sendmail", so it can be a program name with args.
13877 set dummy sendmail
; ac_word
=$2
13878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13879 $as_echo_n "checking for $ac_word... " >&6; }
13880 if ${ac_cv_path_SENDMAIL+:} false
; then :
13881 $as_echo_n "(cached) " >&6
13885 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
13888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13889 as_dummy
="$PATH:/usr/sbin:/usr/lib"
13890 for as_dir
in $as_dummy
13893 test -z "$as_dir" && as_dir
=.
13894 for ac_exec_ext
in '' $ac_executable_extensions; do
13895 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13896 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
13897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13904 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
13908 SENDMAIL
=$ac_cv_path_SENDMAIL
13909 if test -n "$SENDMAIL"; then
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
13911 $as_echo "$SENDMAIL" >&6; }
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13914 $as_echo "no" >&6; }
13926 # Extract the first word of "sendmail", so it can be a program name with args.
13927 set dummy sendmail
; ac_word
=$2
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13929 $as_echo_n "checking for $ac_word... " >&6; }
13930 if ${ac_cv_path_SENDMAIL+:} false
; then :
13931 $as_echo_n "(cached) " >&6
13935 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
13938 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13939 as_dummy
="$PATH:/usr/sbin:/usr/lib"
13940 for as_dir
in $as_dummy
13943 test -z "$as_dir" && as_dir
=.
13944 for ac_exec_ext
in '' $ac_executable_extensions; do
13945 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13946 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
13947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13954 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
13958 SENDMAIL
=$ac_cv_path_SENDMAIL
13959 if test -n "$SENDMAIL"; then
13960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
13961 $as_echo "$SENDMAIL" >&6; }
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13964 $as_echo "no" >&6; }
13971 if test -n "$SENDMAIL" ; then
13973 cat >>confdefs.h
<<_ACEOF
13974 #define SENDMAIL "$SENDMAIL"
13979 smtp_msa_flags
="-bs -odb -oem"
13981 # Check whether --with-smtp-msa-flags was given.
13982 if test "${with_smtp_msa_flags+set}" = set; then :
13983 withval
=$with_smtp_msa_flags;
13984 if test "x$withval" != "xno" ; then
13985 smtp_msa_flags
=$withval
13991 cat >>confdefs.h
<<_ACEOF
13992 #define SENDMAILFLAGS "$smtp_msa_flags"
13998 # Check whether --with-npa was given.
13999 if test "${with_npa+set}" = set; then :
14005 # Extract the first word of "inews", so it can be a program name with args.
14006 set dummy inews
; ac_word
=$2
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14008 $as_echo_n "checking for $ac_word... " >&6; }
14009 if ${ac_cv_path_NPA_PROG+:} false
; then :
14010 $as_echo_n "(cached) " >&6
14014 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
14017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14018 as_dummy
="$PATH:/usr/sbin:/usr/lib"
14019 for as_dir
in $as_dummy
14022 test -z "$as_dir" && as_dir
=.
14023 for ac_exec_ext
in '' $ac_executable_extensions; do
14024 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14025 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
14026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14033 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
14037 NPA_PROG
=$ac_cv_path_NPA_PROG
14038 if test -n "$NPA_PROG"; then
14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
14040 $as_echo "$NPA_PROG" >&6; }
14042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14043 $as_echo "no" >&6; }
14055 # Extract the first word of "inews", so it can be a program name with args.
14056 set dummy inews
; ac_word
=$2
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14058 $as_echo_n "checking for $ac_word... " >&6; }
14059 if ${ac_cv_path_NPA_PROG+:} false
; then :
14060 $as_echo_n "(cached) " >&6
14064 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
14067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14068 as_dummy
="$PATH:/usr/sbin:/usr/lib"
14069 for as_dir
in $as_dummy
14072 test -z "$as_dir" && as_dir
=.
14073 for ac_exec_ext
in '' $ac_executable_extensions; do
14074 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14075 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
14076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14083 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
14087 NPA_PROG
=$ac_cv_path_NPA_PROG
14088 if test -n "$NPA_PROG"; then
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
14090 $as_echo "$NPA_PROG" >&6; }
14092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14093 $as_echo "no" >&6; }
14103 # Check whether --with-npa-flags was given.
14104 if test "${with_npa_flags+set}" = set; then :
14105 withval
=$with_npa_flags;
14106 if test "x$withval" != "xno" ; then
14112 if test -n "$NPA_PROG" ; then
14114 cat >>confdefs.h
<<_ACEOF
14115 #define SENDNEWS "$NPA_PROG $npa_flags"
14121 # Check whether --with-password-prog was given.
14122 if test "${with_password_prog+set}" = set; then :
14123 withval
=$with_password_prog;
14128 # Extract the first word of "passwd", so it can be a program name with args.
14129 set dummy passwd
; ac_word
=$2
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14131 $as_echo_n "checking for $ac_word... " >&6; }
14132 if ${ac_cv_path_PWPROG+:} false
; then :
14133 $as_echo_n "(cached) " >&6
14137 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
14140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14141 as_dummy
="$PATH:/usr/sbin:/usr/lib"
14142 for as_dir
in $as_dummy
14145 test -z "$as_dir" && as_dir
=.
14146 for ac_exec_ext
in '' $ac_executable_extensions; do
14147 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14148 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
14149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14156 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
14160 PWPROG
=$ac_cv_path_PWPROG
14161 if test -n "$PWPROG"; then
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
14163 $as_echo "$PWPROG" >&6; }
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14166 $as_echo "no" >&6; }
14172 # Extract the first word of "$withval", so it can be a program name with args.
14173 set dummy
$withval; ac_word
=$2
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14175 $as_echo_n "checking for $ac_word... " >&6; }
14176 if ${ac_cv_path_PWPROG+:} false
; then :
14177 $as_echo_n "(cached) " >&6
14181 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
14184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14185 as_dummy
="$PATH:/usr/sbin:/usr/lib"
14186 for as_dir
in $as_dummy
14189 test -z "$as_dir" && as_dir
=.
14190 for ac_exec_ext
in '' $ac_executable_extensions; do
14191 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14192 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
14193 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14200 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
14204 PWPROG
=$ac_cv_path_PWPROG
14205 if test -n "$PWPROG"; then
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
14207 $as_echo "$PWPROG" >&6; }
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14210 $as_echo "no" >&6; }
14219 # Extract the first word of "passwd", so it can be a program name with args.
14220 set dummy passwd
; ac_word
=$2
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14222 $as_echo_n "checking for $ac_word... " >&6; }
14223 if ${ac_cv_path_PWPROG+:} false
; then :
14224 $as_echo_n "(cached) " >&6
14228 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
14231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14232 as_dummy
="$PATH:/usr/sbin:/usr/lib"
14233 for as_dir
in $as_dummy
14236 test -z "$as_dir" && as_dir
=.
14237 for ac_exec_ext
in '' $ac_executable_extensions; do
14238 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14239 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
14240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14247 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
14251 PWPROG
=$ac_cv_path_PWPROG
14252 if test -n "$PWPROG"; then
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
14254 $as_echo "$PWPROG" >&6; }
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14257 $as_echo "no" >&6; }
14264 if test -n "$PWPROG" ; then
14266 cat >>confdefs.h
<<_ACEOF
14267 #define PASSWD_PROG "$PWPROG"
14273 # Check whether --with-simple-spellcheck was given.
14274 if test "${with_simple_spellcheck+set}" = set; then :
14275 withval
=$with_simple_spellcheck;
14276 if test "x$withval" != "xno" ; then
14282 # Extract the first word of "hunspell", so it can be a program name with args.
14283 set dummy hunspell
; ac_word
=$2
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14285 $as_echo_n "checking for $ac_word... " >&6; }
14286 if ${ac_cv_prog_SPELLPROG+:} false
; then :
14287 $as_echo_n "(cached) " >&6
14289 if test -n "$SPELLPROG"; then
14290 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
14292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14293 for as_dir
in $PATH
14296 test -z "$as_dir" && as_dir
=.
14297 for ac_exec_ext
in '' $ac_executable_extensions; do
14298 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14299 ac_cv_prog_SPELLPROG
="hunspell"
14300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14309 SPELLPROG
=$ac_cv_prog_SPELLPROG
14310 if test -n "$SPELLPROG"; then
14311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
14312 $as_echo "$SPELLPROG" >&6; }
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14315 $as_echo "no" >&6; }
14319 if test -z "$SPELLPROG" ; then
14320 # Extract the first word of "aspell", so it can be a program name with args.
14321 set dummy aspell
; ac_word
=$2
14322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14323 $as_echo_n "checking for $ac_word... " >&6; }
14324 if ${ac_cv_prog_SPELLPROG+:} false
; then :
14325 $as_echo_n "(cached) " >&6
14327 if test -n "$SPELLPROG"; then
14328 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
14330 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14331 for as_dir
in $PATH
14334 test -z "$as_dir" && as_dir
=.
14335 for ac_exec_ext
in '' $ac_executable_extensions; do
14336 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14337 ac_cv_prog_SPELLPROG
="aspell"
14338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14347 SPELLPROG
=$ac_cv_prog_SPELLPROG
14348 if test -n "$SPELLPROG"; then
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
14350 $as_echo "$SPELLPROG" >&6; }
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14353 $as_echo "no" >&6; }
14357 if test -z "$SPELLPROG" ; then
14358 # Extract the first word of "ispell", so it can be a program name with args.
14359 set dummy ispell
; ac_word
=$2
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14361 $as_echo_n "checking for $ac_word... " >&6; }
14362 if ${ac_cv_prog_SPELLPROG+:} false
; then :
14363 $as_echo_n "(cached) " >&6
14365 if test -n "$SPELLPROG"; then
14366 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
14368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14369 for as_dir
in $PATH
14372 test -z "$as_dir" && as_dir
=.
14373 for ac_exec_ext
in '' $ac_executable_extensions; do
14374 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14375 ac_cv_prog_SPELLPROG
="ispell"
14376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14385 SPELLPROG
=$ac_cv_prog_SPELLPROG
14386 if test -n "$SPELLPROG"; then
14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
14388 $as_echo "$SPELLPROG" >&6; }
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14391 $as_echo "no" >&6; }
14395 if test -z "$SPELLPROG" ; then
14404 if test "x$SPELLPROG" != "xno" ; then
14405 # Extract the first word of "$SPELLPROG", so it can be a program name with args.
14406 set dummy
$SPELLPROG; ac_word
=$2
14407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14408 $as_echo_n "checking for $ac_word... " >&6; }
14409 if ${ac_cv_path_alpine_simple_spellcheck+:} false
; then :
14410 $as_echo_n "(cached) " >&6
14412 case $alpine_simple_spellcheck in
14414 ac_cv_path_alpine_simple_spellcheck
="$alpine_simple_spellcheck" # Let the user override the test with a path.
14417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14418 for as_dir
in $PATH
14421 test -z "$as_dir" && as_dir
=.
14422 for ac_exec_ext
in '' $ac_executable_extensions; do
14423 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14424 ac_cv_path_alpine_simple_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
14425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14435 alpine_simple_spellcheck
=$ac_cv_path_alpine_simple_spellcheck
14436 if test -n "$alpine_simple_spellcheck"; then
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_simple_spellcheck" >&5
14438 $as_echo "$alpine_simple_spellcheck" >&6; }
14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14441 $as_echo "no" >&6; }
14445 if test -n "$alpine_simple_spellcheck" ; then
14446 case "$SPELLPROG" in
14448 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
14451 alpine_simple_spellcheck
="$alpine_simple_spellcheck --dont-backup --mode=email list"
14454 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
14463 # Check whether --with-interactive-spellcheck was given.
14464 if test "${with_interactive_spellcheck+set}" = set; then :
14465 withval
=$with_interactive_spellcheck;
14466 if test "x$withval" != "xno" ; then
14467 ISPELLPROG
=$withval
14472 # Extract the first word of "hunspell", so it can be a program name with args.
14473 set dummy hunspell
; ac_word
=$2
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14475 $as_echo_n "checking for $ac_word... " >&6; }
14476 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
14477 $as_echo_n "(cached) " >&6
14479 if test -n "$ISPELLPROG"; then
14480 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
14482 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14483 for as_dir
in $PATH
14486 test -z "$as_dir" && as_dir
=.
14487 for ac_exec_ext
in '' $ac_executable_extensions; do
14488 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14489 ac_cv_prog_ISPELLPROG
="hunspell"
14490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14499 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
14500 if test -n "$ISPELLPROG"; then
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
14502 $as_echo "$ISPELLPROG" >&6; }
14504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14505 $as_echo "no" >&6; }
14509 if test -z "$ISPELLPROG" ; then
14510 # Extract the first word of "aspell", so it can be a program name with args.
14511 set dummy aspell
; ac_word
=$2
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14513 $as_echo_n "checking for $ac_word... " >&6; }
14514 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
14515 $as_echo_n "(cached) " >&6
14517 if test -n "$ISPELLPROG"; then
14518 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
14520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14521 for as_dir
in $PATH
14524 test -z "$as_dir" && as_dir
=.
14525 for ac_exec_ext
in '' $ac_executable_extensions; do
14526 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14527 ac_cv_prog_ISPELLPROG
="aspell"
14528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14537 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
14538 if test -n "$ISPELLPROG"; then
14539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
14540 $as_echo "$ISPELLPROG" >&6; }
14542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14543 $as_echo "no" >&6; }
14547 if test -z "$SPELLPROG" ; then
14548 ISPELLPROG
="ispell"
14555 if test "x$ISPELLPROG" != "xno" ; then
14556 # Extract the first word of "$ISPELLPROG", so it can be a program name with args.
14557 set dummy
$ISPELLPROG; ac_word
=$2
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14559 $as_echo_n "checking for $ac_word... " >&6; }
14560 if ${ac_cv_path_alpine_interactive_spellcheck+:} false
; then :
14561 $as_echo_n "(cached) " >&6
14563 case $alpine_interactive_spellcheck in
14565 ac_cv_path_alpine_interactive_spellcheck
="$alpine_interactive_spellcheck" # Let the user override the test with a path.
14568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14569 for as_dir
in $PATH
14572 test -z "$as_dir" && as_dir
=.
14573 for ac_exec_ext
in '' $ac_executable_extensions; do
14574 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14575 ac_cv_path_alpine_interactive_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
14576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14586 alpine_interactive_spellcheck
=$ac_cv_path_alpine_interactive_spellcheck
14587 if test -n "$alpine_interactive_spellcheck"; then
14588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_interactive_spellcheck" >&5
14589 $as_echo "$alpine_interactive_spellcheck" >&6; }
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14592 $as_echo "no" >&6; }
14596 if test -n "$alpine_interactive_spellcheck" ; then
14597 case "$ISPELLPROG" in
14599 alpine_interactive_spellcheck
="$alpine_interactive_spellcheck --dont-backup --mode=email check"
14607 if test -n "$alpine_interactive_spellcheck" ; then
14609 cat >>confdefs.h
<<_ACEOF
14610 #define DF_VAR_SPELLER "$alpine_interactive_spellcheck"
14615 if test -z "$alpine_simple_spellcheck" -a -n "$alpine_interactive_spellcheck" ; then
14616 alpine_simple_spellcheck
=test
14619 cat >>confdefs.h
<<_ACEOF
14620 #define SPELLER "$alpine_simple_spellcheck"
14625 NONE
) dpv
=/usr
/local
/lib
/pine.conf
;;
14626 *) dpv
=${prefix}/lib
/pine.conf
;;
14629 # Check whether --with-system-pinerc was given.
14630 if test "${with_system_pinerc+set}" = set; then :
14631 withval
=$with_system_pinerc;
14645 cat >>confdefs.h
<<_ACEOF
14646 #define SYSTEM_PINERC "$dpv"
14651 NONE
) dpv
=/usr
/local
/lib
/pine.conf.fixed
;;
14652 *) dpv
=${prefix}/lib
/pine.conf.fixed
;;
14655 # Check whether --with-system-fixed-pinerc was given.
14656 if test "${with_system_fixed_pinerc+set}" = set; then :
14657 withval
=$with_system_fixed_pinerc;
14671 cat >>confdefs.h
<<_ACEOF
14672 #define SYSTEM_PINERC_FIXED "$dpv"
14677 NONE
) dpv
=/usr
/local
/lib
/pine.info
;;
14678 *) dpv
=${prefix}/lib
/pine.info
;;
14681 # Check whether --with-local-support-info was given.
14682 if test "${with_local_support_info+set}" = set; then :
14683 withval
=$with_local_support_info;
14697 cat >>confdefs.h
<<_ACEOF
14698 #define SYSTEM_PINE_INFO_PATH "$dpv"
14709 # Check whether --with-mailcheck-interval was given.
14710 if test "${with_mailcheck_interval+set}" = set; then :
14711 withval
=$with_mailcheck_interval;
14712 if test "x$withval" != "xno" ; then
14719 cat >>confdefs.h
<<_ACEOF
14720 #define DF_MAILCHECK "$dpv"
14727 # Check whether --with-checkpoint-interval was given.
14728 if test "${with_checkpoint_interval+set}" = set; then :
14729 withval
=$with_checkpoint_interval;
14730 if test "x$withval" != "xno" ; then
14737 cat >>confdefs.h
<<_ACEOF
14738 #define CHECK_POINT_TIME $dpv
14745 # Check whether --with-checkpoint-frequency was given.
14746 if test "${with_checkpoint_frequency+set}" = set; then :
14747 withval
=$with_checkpoint_frequency;
14748 if test "x$withval" != "xno" ; then
14755 cat >>confdefs.h
<<_ACEOF
14756 #define CHECK_POINT_FREQ $dpv
14763 # Check whether --with-display-rows was given.
14764 if test "${with_display_rows+set}" = set; then :
14765 withval
=$with_display_rows;
14766 if test "x$withval" != "xno" ; then
14773 cat >>confdefs.h
<<_ACEOF
14774 #define DEFAULT_LINES_ON_TERMINAL $dpv
14781 # Check whether --with-display-columns was given.
14782 if test "${with_display_columns+set}" = set; then :
14783 withval
=$with_display_columns;
14784 if test "x$withval" != "xno" ; then
14791 cat >>confdefs.h
<<_ACEOF
14792 #define DEFAULT_COLUMNS_ON_TERMINAL $dpv
14799 # Check whether --with-max-display-rows was given.
14800 if test "${with_max_display_rows+set}" = set; then :
14801 withval
=$with_max_display_rows;
14802 if test "x$withval" != "xno" ; then
14809 cat >>confdefs.h
<<_ACEOF
14810 #define MAX_SCREEN_ROWS $dpv
14817 # Check whether --with-max-display-columns was given.
14818 if test "${with_max_display_columns+set}" = set; then :
14819 withval
=$with_max_display_columns;
14820 if test "x$withval" != "xno" ; then
14827 cat >>confdefs.h
<<_ACEOF
14828 #define MAX_SCREEN_COLS $dpv
14835 # Check whether --with-fill-column was given.
14836 if test "${with_fill_column+set}" = set; then :
14837 withval
=$with_fill_column;
14838 if test "x$withval" != "xno" ; then
14845 cat >>confdefs.h
<<_ACEOF
14846 #define DF_FILLCOL "$dpv"
14853 # Check whether --with-max_fill-column was given.
14854 if test "${with_max_fill_column+set}" = set; then :
14855 withval
=$with_max_fill_column;
14856 if test "x$withval" != "xno" ; then
14863 cat >>confdefs.h
<<_ACEOF
14864 #define MAX_FILLCOL $dpv
14871 # Check whether --with-debug-level was given.
14872 if test "${with_debug_level+set}" = set; then :
14873 withval
=$with_debug_level;
14874 if test "x$withval" != "xno" ; then
14881 cat >>confdefs.h
<<_ACEOF
14882 #define DEFAULT_DEBUG $dpv
14889 # Check whether --with-debug-files was given.
14890 if test "${with_debug_files+set}" = set; then :
14891 withval
=$with_debug_files;
14892 if test "x$withval" != "xno" ; then
14899 cat >>confdefs.h
<<_ACEOF
14900 #define NUMDEBUGFILES $dpv
14907 # Check whether --with-debug-file was given.
14908 if test "${with_debug_file+set}" = set; then :
14909 withval
=$with_debug_file;
14910 if test "x$withval" != "xno" ; then
14917 cat >>confdefs.h
<<_ACEOF
14918 #define DEBUGFILE "$dpv"
14925 # Check whether --with-forwarded-keyword was given.
14926 if test "${with_forwarded_keyword+set}" = set; then :
14927 withval
=$with_forwarded_keyword;
14928 if test "x$withval" != "xno" ; then
14935 cat >>confdefs.h
<<_ACEOF
14936 #define FORWARDED_FLAG "$dpv"
14943 # Check whether --with-display-overlap was given.
14944 if test "${with_display_overlap+set}" = set; then :
14945 withval
=$with_display_overlap;
14946 if test "x$withval" != "xno" ; then
14953 cat >>confdefs.h
<<_ACEOF
14954 #define DF_OVERLAP "$dpv"
14961 # Check whether --with-display-margin was given.
14962 if test "${with_display_margin+set}" = set; then :
14963 withval
=$with_display_margin;
14964 if test "x$withval" != "xno" ; then
14971 cat >>confdefs.h
<<_ACEOF
14972 #define DF_MARGIN "$dpv"
14979 # Check whether --with-default-fcc was given.
14980 if test "${with_default_fcc+set}" = set; then :
14981 withval
=$with_default_fcc;
14982 if test "x$withval" != "xno" ; then
14989 cat >>confdefs.h
<<_ACEOF
14990 #define DF_DEFAULT_FCC "$dpv"
14997 # Check whether --with-default-save-folder was given.
14998 if test "${with_default_save_folder+set}" = set; then :
14999 withval
=$with_default_save_folder;
15000 if test "x$withval" != "xno" ; then
15007 cat >>confdefs.h
<<_ACEOF
15008 #define DEFAULT_SAVE "$dpv"
15015 # Check whether --with-default-legacy-postponed-folder was given.
15016 if test "${with_default_legacy_postponed_folder+set}" = set; then :
15017 withval
=$with_default_legacy_postponed_folder;
15018 if test "x$withval" != "xno" ; then
15025 cat >>confdefs.h
<<_ACEOF
15026 #define POSTPONED_MAIL "$dpv"
15033 # Check whether --with-default-postponed-folder was given.
15034 if test "${with_default_postponed_folder+set}" = set; then :
15035 withval
=$with_default_postponed_folder;
15036 if test "x$withval" != "xno" ; then
15043 cat >>confdefs.h
<<_ACEOF
15044 #define POSTPONED_MSGS "$dpv"
15051 # Check whether --with-default-trash-folder was given.
15052 if test "${with_default_trash_folder+set}" = set; then :
15053 withval
=$with_default_trash_folder;
15054 if test "x$withval" != "xno" ; then
15061 cat >>confdefs.h
<<_ACEOF
15062 #define TRASH_FOLDER "$dpv"
15067 dpv
=.pine-interrupted-mail
15069 # Check whether --with-default-interrupted-mail was given.
15070 if test "${with_default_interrupted_mail+set}" = set; then :
15071 withval
=$with_default_interrupted_mail;
15072 if test "x$withval" != "xno" ; then
15079 cat >>confdefs.h
<<_ACEOF
15080 #define INTERRUPTED_MAIL "$dpv"
15087 # Check whether --with-default-dead-letter-folder was given.
15088 if test "${with_default_dead_letter_folder+set}" = set; then :
15089 withval
=$with_default_dead_letter_folder;
15090 if test "x$withval" != "xno" ; then
15097 cat >>confdefs.h
<<_ACEOF
15098 #define DEADLETTER "$dpv"
15105 # Check whether --with-default-mail-directory was given.
15106 if test "${with_default_mail_directory+set}" = set; then :
15107 withval
=$with_default_mail_directory;
15108 if test "x$withval" != "xno" ; then
15115 cat >>confdefs.h
<<_ACEOF
15116 #define DF_MAIL_DIRECTORY "$dpv"
15123 # Check whether --with-default-inbox-name was given.
15124 if test "${with_default_inbox_name+set}" = set; then :
15125 withval
=$with_default_inbox_name;
15126 if test "x$withval" != "xno" ; then
15133 cat >>confdefs.h
<<_ACEOF
15134 #define INBOX_NAME "$dpv"
15141 # Check whether --with-default-signature-file was given.
15142 if test "${with_default_signature_file+set}" = set; then :
15143 withval
=$with_default_signature_file;
15144 if test "x$withval" != "xno" ; then
15151 cat >>confdefs.h
<<_ACEOF
15152 #define DF_SIGNATURE_FILE "$dpv"
15159 # Check whether --with-default-elm-style-save was given.
15160 if test "${with_default_elm_style_save+set}" = set; then :
15161 withval
=$with_default_elm_style_save;
15162 if test "x$withval" != "xno" ; then
15169 cat >>confdefs.h
<<_ACEOF
15170 #define DF_ELM_STYLE_SAVE "$dpv"
15177 # Check whether --with-default-header-in-reply was given.
15178 if test "${with_default_header_in_reply+set}" = set; then :
15179 withval
=$with_default_header_in_reply;
15180 if test "x$withval" != "xno" ; then
15187 cat >>confdefs.h
<<_ACEOF
15188 #define DF_HEADER_IN_REPLY "$dpv"
15195 # Check whether --with-default-old-style-reply was given.
15196 if test "${with_default_old_style_reply+set}" = set; then :
15197 withval
=$with_default_old_style_reply;
15198 if test "x$withval" != "xno" ; then
15205 cat >>confdefs.h
<<_ACEOF
15206 #define DF_OLD_STYLE_REPLY "$dpv"
15213 # Check whether --with-default-use-only-domain-name was given.
15214 if test "${with_default_use_only_domain_name+set}" = set; then :
15215 withval
=$with_default_use_only_domain_name;
15216 if test "x$withval" != "xno" ; then
15223 cat >>confdefs.h
<<_ACEOF
15224 #define DF_USE_ONLY_DOMAIN_NAME "$dpv"
15231 # Check whether --with-default-save-by-sender was given.
15232 if test "${with_default_save_by_sender+set}" = set; then :
15233 withval
=$with_default_save_by_sender;
15234 if test "x$withval" != "xno" ; then
15241 cat >>confdefs.h
<<_ACEOF
15242 #define DF_SAVE_BY_SENDER "$dpv"
15249 # Check whether --with-default-sort-key was given.
15250 if test "${with_default_sort_key+set}" = set; then :
15251 withval
=$with_default_sort_key;
15252 if test "x$withval" != "xno" ; then
15259 cat >>confdefs.h
<<_ACEOF
15260 #define DF_SORT_KEY "$dpv"
15265 dpv
=fullname-with-lists-last
15267 # Check whether --with-default-addressbook-sort-rule was given.
15268 if test "${with_default_addressbook_sort_rule+set}" = set; then :
15269 withval
=$with_default_addressbook_sort_rule;
15270 if test "x$withval" != "xno" ; then
15277 cat >>confdefs.h
<<_ACEOF
15278 #define DF_AB_SORT_RULE "$dpv"
15285 # Check whether --with-default-folder-sort-rule was given.
15286 if test "${with_default_folder_sort_rule+set}" = set; then :
15287 withval
=$with_default_folder_sort_rule;
15288 if test "x$withval" != "xno" ; then
15295 cat >>confdefs.h
<<_ACEOF
15296 #define DF_FLD_SORT_RULE "$dpv"
15303 # Check whether --with-default-saved-message-name-rule was given.
15304 if test "${with_default_saved_message_name_rule+set}" = set; then :
15305 withval
=$with_default_saved_message_name_rule;
15306 if test "x$withval" != "xno" ; then
15313 cat >>confdefs.h
<<_ACEOF
15314 #define DF_SAVED_MSG_NAME_RULE "$dpv"
15321 # Check whether --with-default-fcc-rule was given.
15322 if test "${with_default_fcc_rule+set}" = set; then :
15323 withval
=$with_default_fcc_rule;
15324 if test "x$withval" != "xno" ; then
15331 cat >>confdefs.h
<<_ACEOF
15332 #define DF_FCC_RULE "$dpv"
15339 # Check whether --with-default-standard-printer was given.
15340 if test "${with_default_standard_printer+set}" = set; then :
15341 withval
=$with_default_standard_printer;
15342 if test "x$withval" != "xno" ; then
15349 cat >>confdefs.h
<<_ACEOF
15350 #define DF_STANDARD_PRINTER "$dpv"
15355 dpv
=attached-to-ansi
15357 # Check whether --with-default-ansi-printer was given.
15358 if test "${with_default_ansi_printer+set}" = set; then :
15359 withval
=$with_default_ansi_printer;
15360 if test "x$withval" != "xno" ; then
15367 cat >>confdefs.h
<<_ACEOF
15368 #define ANSI_PRINTER "$dpv"
15375 # Check whether --with-default-addressbook was given.
15376 if test "${with_default_addressbook+set}" = set; then :
15377 withval
=$with_default_addressbook;
15378 if test "x$withval" != "xno" ; then
15385 cat >>confdefs.h
<<_ACEOF
15386 #define DF_ADDRESSBOOK "$dpv"
15391 dpv
="Local Support"
15393 # Check whether --with-default-local-fullname was given.
15394 if test "${with_default_local_fullname+set}" = set; then :
15395 withval
=$with_default_local_fullname;
15396 if test "x$withval" != "xno" ; then
15403 cat >>confdefs.h
<<_ACEOF
15404 #define DF_LOCAL_FULLNAME "$dpv"
15411 # Check whether --with-default-local-address was given.
15412 if test "${with_default_local_address+set}" = set; then :
15413 withval
=$with_default_local_address;
15414 if test "x$withval" != "xno" ; then
15421 cat >>confdefs.h
<<_ACEOF
15422 #define DF_LOCAL_ADDRESS "$dpv"
15429 # Check whether --with-default-keyboard-lock-count was given.
15430 if test "${with_default_keyboard_lock_count+set}" = set; then :
15431 withval
=$with_default_keyboard_lock_count;
15432 if test "x$withval" != "xno" ; then
15439 cat >>confdefs.h
<<_ACEOF
15440 #define DF_KBLOCK_PASSWD_COUNT "$dpv"
15447 # Check whether --with-default-remote-addressbook-history was given.
15448 if test "${with_default_remote_addressbook_history+set}" = set; then :
15449 withval
=$with_default_remote_addressbook_history;
15450 if test "x$withval" != "xno" ; then
15457 cat >>confdefs.h
<<_ACEOF
15458 #define DF_REMOTE_ABOOK_HISTORY "$dpv"
15463 dpv
=.alpine-smime
/public
15465 # Check whether --with-smime-public-cert-directory was given.
15466 if test "${with_smime_public_cert_directory+set}" = set; then :
15467 withval
=$with_smime_public_cert_directory;
15468 if test "x$withval" != "xno" ; then
15475 cat >>confdefs.h
<<_ACEOF
15476 #define DF_PUBLICCERT_DIR "$dpv"
15481 dpv
=.alpine-smime
/private
15483 # Check whether --with-smime-private-key-directory was given.
15484 if test "${with_smime_private_key_directory+set}" = set; then :
15485 withval
=$with_smime_private_key_directory;
15486 if test "x$withval" != "xno" ; then
15493 cat >>confdefs.h
<<_ACEOF
15494 #define DF_PRIVATEKEY_DIR "$dpv"
15499 dpv
=.alpine-smime
/ca
15501 # Check whether --with-smime-cacert-directory was given.
15502 if test "${with_smime_cacert_directory+set}" = set; then :
15503 withval
=$with_smime_cacert_directory;
15504 if test "x$withval" != "xno" ; then
15511 cat >>confdefs.h
<<_ACEOF
15512 #define DF_CACERT_DIR "$dpv"
15519 # Check whether --with-default-printer was given.
15520 if test "${with_default_printer+set}" = set; then :
15521 withval
=$with_default_printer;
15522 if test "x$withval" != "xno" ; then
15529 cat >>confdefs.h
<<_ACEOF
15530 #define DF_DEFAULT_PRINTER $dpv
15536 cat >>confdefs.h
<<_ACEOF
15537 #define DF_PUBLIC_CONTAINER "PublicContainer"
15541 cat >>confdefs.h
<<_ACEOF
15542 #define DF_PRIVATE_CONTAINER "PrivateContainer"
15546 cat >>confdefs.h
<<_ACEOF
15547 #define DF_CA_CONTAINER "CAContainer"
15552 # Check whether --with-passfile was given.
15553 if test "${with_passfile+set}" = set; then :
15554 withval
=$with_passfile;
15561 alpine_PASSFILE
=$withval
15570 # Check whether --with-local-password-cache was given.
15571 if test "${with_local_password_cache+set}" = set; then :
15572 withval
=$with_local_password_cache;
15573 alpine_os_credential_cache
=$withval
15579 # Check whether --with-local-password-cache-method was given.
15580 if test "${with_local_password_cache_method+set}" = set; then :
15581 withval
=$with_local_password_cache_method;
15582 alpine_os_credential_cache_method
=$withval
15587 if test -n "$alpine_PASSFILE" ; then
15588 case $alpine_os_credential_cache in
15592 alpine_os_credential_cache
="no"
15593 { $as_echo "$as_me:${as_lineno-$LINENO}: --with-passfile definition overrides OS-Specific password caching" >&5
15594 $as_echo "$as_me: --with-passfile definition overrides OS-Specific password caching" >&6;}
15598 cat >>confdefs.h
<<_ACEOF
15599 #define PASSFILE "$alpine_PASSFILE"
15605 # Check whether --with-default-sshpath was given.
15606 if test "${with_default_sshpath+set}" = set; then :
15607 withval
=$with_default_sshpath;
15615 cat >>confdefs.h
<<_ACEOF
15616 #define DF_SSHPATH "$withval"
15626 # Check whether --with-default-sshcmd was given.
15627 if test "${with_default_sshcmd+set}" = set; then :
15628 withval
=$with_default_sshcmd;
15636 cat >>confdefs.h
<<_ACEOF
15637 #define DF_SSHCMD "$withval"
15647 # Check whether --with-ssl was given.
15648 if test "${with_ssl+set}" = set; then :
15649 withval
=$with_ssl; with_ssl
=$withval
15653 if test "x$with_ssl" = "xno" ; then
15654 alpine_SSLTYPE
="none"
15658 if test -f /etc
/fedora-release
-o -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
15659 alpine_SSLTYPE
="nopwd"
15660 if test -d /etc
/pki
/tls
; then
15661 alpine_SSLDIR
="/etc/pki/tls"
15663 alpine_SSLDIR
="/usr/share/ssl"
15665 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
15666 alpine_SSLKEYS
="$alpine_SSLDIR/private"
15667 alpine_SSLINCLUDE
="/usr/include/openssl"
15668 alpine_SSLLIB
="/usr/lib"
15669 elif test -f /etc
/mandrake-release
; then
15670 alpine_SSLDIR
="/usr/lib/ssl"
15671 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
15672 alpine_SSLKEYS
="$alpine_SSLDIR/private"
15673 alpine_SSLINCLUDE
="/usr/include/openssl"
15674 alpine_SSLLIB
="/usr/lib"
15675 elif test -f /etc
/SuSE-release
; then
15676 alpine_SSLTYPE
="nopwd"
15677 alpine_SSLDIR
="/etc/ssl"
15678 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
15679 alpine_SSLKEYS
="$alpine_SSLDIR/private"
15680 alpine_SSLINCLUDE
="/usr/include/openssl"
15681 alpine_SSLLIB
="/usr/lib"
15682 elif test -d /etc
/osso-af-init
; then
15683 alpine_SSLTYPE
="nopwd"
15684 alpine_SSLDIR
="/usr"
15685 alpine_SSLCERTS
="/usr/share/certs"
15686 alpine_SSLINCLUDE
="/usr/include/openssl"
15687 alpine_SSLLIB
="/usr/lib"
15688 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
15689 if test ! -d /etc
/osso-af-init
; then
15690 alpine_SSLDIR
="/etc/ssl"
15691 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
15692 alpine_SSLKEYS
="$alpine_SSLDIR/private"
15693 alpine_SSLINCLUDE
="/usr/include/openssl"
15694 alpine_SSLLIB
="/usr/lib"
15697 alpine_SSLTYPE
="nopwd"
15698 alpine_SSLDIR
="/usr"
15699 alpine_SSLCERTS
="/etc/ssl/certs"
15703 alpine_SSLTYPE
="nopwd"
15704 alpine_SSLCERTS_ORIG
="/System/Library/OpenSSL/certs"
15705 if test -d /usr
/local
/opt
/openssl
; then
15706 alpine_SSLDIR
="/usr/local/opt/openssl"
15707 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
15708 alpine_SSLLIB
="$alpine_SSLDIR/lib"
15709 alpine_SSLCERTS
="/usr/local/etc/openssl"
15710 alpine_SSLKEYS
="$alpine_SSLDIR/private"
15711 elif test -d /opt
/local
/etc
/openssl
; then
15712 alpine_SSLDIR
="/opt/local"
15713 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
15714 alpine_SSLLIB
="$alpine_SSLDIR/lib"
15715 alpine_SSLCERTS
="/opt/local/etc/openssl/certs"
15716 alpine_SSLKEYS
="/opt/local/etc/openssl/private"
15717 elif test -d /sw
/etc
/ssl
; then
15718 alpine_SSLDIR
="/sw/etc/ssl"
15719 alpine_SSLINCLUDE
="/sw/include"
15720 alpine_SSLLIB
="/sw/lib"
15721 alpine_SSLCERTS
="/sw/etc/ssl/certs"
15722 alpine_SSLKEYS
="/sw/etc/ssl/private"
15723 elif test -d /System
/Library
/OpenSSL
; then
15724 alpine_SSLDIR
="/System/Library/OpenSSL"
15725 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
15726 alpine_SSLKEYS
="$alpine_SSLDIR/private"
15727 alpine_SSLLIB
="/usr/lib"
15728 alpine_SSLINCLUDE
="/usr/include/openssl"
15732 alpine_SSLDIR
="/etc/openssl"
15733 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
15734 alpine_SSLKEYS
="$alpine_SSLDIR/private"
15735 alpine_SSLINCLUDE
="/usr/include/openssl"
15736 alpine_SSLLIB
="/usr/lib"
15739 alpine_SSLDIR
="/etc/openssl"
15740 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
15741 alpine_SSLKEYS
="$alpine_SSLDIR/private"
15742 alpine_SSLINCLUDE
="/usr/include/openssl"
15743 alpine_SSLLIB
="/usr/lib"
15746 alpine_SSLTYPE
="nopwd"
15747 alpine_SSLDIR
="/usr"
15748 alpine_SSLCERTS
="/etc/ssl/certs"
15751 alpine_SSLDIR
="/etc/ssl"
15752 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
15753 alpine_SSLKEYS
="$alpine_SSLDIR/private"
15754 alpine_SSLINCLUDE
="/usr/include/openssl"
15755 alpine_SSLLIB
="/usr/lib"
15758 alpine_SSLDIR
="/etc/ssl"
15759 alpine_SSLINCLUDE
="/usr/include/openssl"
15760 alpine_SSLLIB
="/usr/lib"
15761 alpine_SSLCERTS
="/etc/ssl"
15762 alpine_SSLKEYS
="/etc/ssl/private"
15765 alpine_SSLDIR
="/usr/ssl"
15766 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
15767 alpine_SSLKEYS
="$alpine_SSLDIR/certs"
15768 alpine_SSLINCLUDE
="/usr/include/openssl"
15769 alpine_SSLLIB
="/usr/lib"
15771 *-sco-sysv* |
*-sysv*UnixWare |
*-sysv*OpenUNIX
)
15772 alpine_SSLTYPE
="sco.nopwd"
15773 alpine_SSLDIR
="/usr/local/ssl"
15776 if test -d /usr
/sfw
/include
/openssl
; then
15777 alpine_SSLDIR
="/usr/sfw"
15778 elif test -d /opt
/csw
/include
/openssl
; then
15779 alpine_SSLDIR
="/opt/csw"
15780 if test -d /opt
/csw
/ssl
/certs
; then
15781 alpine_SSLCERTS
="/opt/csw/ssl/certs"
15784 if test -z "$alpine_SSLCERTS" -a -d /etc
/certs
; then
15785 alpine_SSLCERTS
="/etc/certs"
15789 alpine_SSLTYPE
="nopwd"
15790 alpine_SSLDIR
="/usr/local/ssl"
15795 # Check whether --with-ssl-dir was given.
15796 if test "${with_ssl_dir+set}" = set; then :
15797 withval
=$with_ssl_dir;
15798 if test "x$withval" != "xno" ; then
15799 alpine_SSLDIR
=$withval
15800 alpine_SSLINCLUDE
=$alpine_SSLDIR/include
15801 alpine_SSLLIB
=$alpine_SSLDIR/lib
15808 # Check whether --with-ssl-certs-dir was given.
15809 if test "${with_ssl_certs_dir+set}" = set; then :
15810 withval
=$with_ssl_certs_dir;
15811 if test "x$withval" != "xno" ; then
15812 alpine_SSLCERTS
=$withval
15819 # Check whether --with-ssl-include-dir was given.
15820 if test "${with_ssl_include_dir+set}" = set; then :
15821 withval
=$with_ssl_include_dir;
15822 if test "x$withval" != "xno" ; then
15823 alpine_SSLINCLUDE
=$withval
15830 # Check whether --with-ssl-lib-dir was given.
15831 if test "${with_ssl_lib_dir+set}" = set; then :
15832 withval
=$with_ssl_lib_dir;
15833 if test "x$withval" != "xno" ; then
15834 alpine_SSLLIB
=$withval
15839 if test -n "$alpine_SSLINCLUDE" ; then
15840 CPPFLAGS
="-I$alpine_SSLINCLUDE $CPPFLAGS"
15841 elif test -n "$alpine_SSLDIR" ; then
15842 CPPFLAGS
="-I${alpine_SSLDIR}/include $CPPFLAGS"
15844 if test -n "$alpine_SSLLIB" ; then
15845 LDFLAGS
="-L$alpine_SSLLIB $LDFLAGS"
15846 elif test -n "$alpine_SSLDIR" ; then
15847 LDFLAGS
="-L${alpine_SSLDIR}/lib $LDFLAGS"
15852 # Check whether --with-krb5 was given.
15853 if test "${with_krb5+set}" = set; then :
15854 withval
=$with_krb5; with_krb5
=$withval
15858 if test "x$with_krb5" = "xno" ; then
15859 alpine_GSSTYPE
="none"
15864 # Check whether --with-krb5-dir was given.
15865 if test "${with_krb5_dir+set}" = set; then :
15866 withval
=$with_krb5_dir;
15867 if test "x$withval" != "xno" ; then
15868 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
15869 LDFLAGS
="$LDFLAGS -L${withval}/lib"
15876 # Check whether --with-krb5-include-dir was given.
15877 if test "${with_krb5_include_dir+set}" = set; then :
15878 withval
=$with_krb5_include_dir;
15879 if test "x$withval" != "xno" ; then
15880 CPPFLAGS
="$CPPFLAGS -I$withval"
15887 # Check whether --with-krb5-lib-dir was given.
15888 if test "${with_krb5_lib_dir+set}" = set; then :
15889 withval
=$with_krb5_lib_dir;
15890 if test "x$withval" != "xno" ; then
15891 LDFLAGS
="$LDFLAGS -L$withval"
15899 # Check whether --with-ldap was given.
15900 if test "${with_ldap+set}" = set; then :
15901 withval
=$with_ldap; with_ldap
=$withval
15905 if test "x$with_ldap" = "xno" ; then
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding LDAP Support" >&5
15908 $as_echo "$as_me: Excluding LDAP Support" >&6;}
15911 alpine_with_ldap
=yes
15913 # Check whether --with-ldap-dir was given.
15914 if test "${with_ldap_dir+set}" = set; then :
15915 withval
=$with_ldap_dir;
15916 if test "x$withval" != "xno" ; then
15917 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
15918 LDFLAGS
="$LDFLAGS -L${withval}/lib"
15925 # Check whether --with-ldap-include-dir was given.
15926 if test "${with_ldap_include_dir+set}" = set; then :
15927 withval
=$with_ldap_include_dir;
15928 if test "x$withval" != "xno" ; then
15929 CPPFLAGS
="$CPPFLAGS -I$withval"
15936 # Check whether --with-ldap-lib-dir was given.
15937 if test "${with_ldap_lib_dir+set}" = set; then :
15938 withval
=$with_ldap_lib_dir;
15939 if test "x$withval" != "xno" ; then
15940 LDFLAGS
="$LDFLAGS -L$withval"
15948 # Check whether --with-smime was given.
15949 if test "${with_smime+set}" = set; then :
15950 withval
=$with_smime; with_smime
=$withval
15955 # Check whether --with-tcl was given.
15956 if test "${with_tcl+set}" = set; then :
15957 withval
=$with_tcl; with_tcl
=$withval
15961 if test "x$with_tcl" = "xno" ; then
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding TCL Support, and thus Web Alpine Support" >&5
15964 $as_echo "$as_me: Excluding TCL Support, and thus Web Alpine Support" >&6;}
15967 # Check whether --with-tcl-lib was given.
15968 if test "${with_tcl_lib+set}" = set; then :
15969 withval
=$with_tcl_lib;
15970 if test "x$withval" != "xno" ; then
15971 alpine_TCLLIB
=$withval
15977 # Check whether --with-tcl-include was given.
15978 if test "${with_tcl_include+set}" = set; then :
15979 withval
=$with_tcl_include;
15980 if test "x$withval" != "xno" ; then
15981 CPPFLAGS
="$CPPFLAGS -I$withval"
15982 alpine_TCLINC
=$withval
15990 # Check whether --with-supplied-regex was given.
15991 if test "${with_supplied_regex+set}" = set; then :
15992 withval
=$with_supplied_regex; alpine_REGEX
=$withval
15997 # Check whether --with-pthread was given.
15998 if test "${with_pthread+set}" = set; then :
15999 withval
=$with_pthread; with_pthread
=$withval
16004 # Check whether --with-system-mail-directory was given.
16005 if test "${with_system_mail_directory+set}" = set; then :
16006 withval
=$with_system_mail_directory;
16007 if test "x$withval" != "xno" ; then
16008 alpine_with_local_maildir
="$withval"
16015 # Check whether --with-c-client-target was given.
16016 if test "${with_c_client_target+set}" = set; then :
16017 withval
=$with_c_client_target;
16018 if test "x$withval" != "xno" ;then
16019 alpine_with_c_client_target
="$withval"
16029 *-linux-gnu*|
*-k*bsd
*-gnu*)
16030 alpine_path_delim
="/"
16031 alpine_mode_readonly
="(0600)"
16032 if test -f /etc
/fedora-release
; then
16035 if test -d /etc
/pki
/tls
; then
16036 alpine_c_client_target
="lfd"
16038 alpine_c_client_target
="lrh"
16040 elif test -f /etc
/mandrake-release
; then
16042 alpine_c_client_target
="lmd"
16044 elif test -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
16047 if test -d /etc
/pki
/tls
; then
16048 alpine_c_client_target
="lr5"
16050 alpine_c_client_target
="lrh"
16052 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
16053 if test -d /etc
/osso-af-init
; then
16055 alpine_c_client_target
="ln8"
16058 alpine_c_client_target
="ldb"
16061 elif test -f /etc
/SuSE-release
; then
16063 alpine_c_client_target
="lsu"
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
16068 $as_echo_n "checking for pam_start in -lpam... " >&6; }
16069 if ${ac_cv_lib_pam_pam_start+:} false
; then :
16070 $as_echo_n "(cached) " >&6
16072 ac_check_lib_save_LIBS
=$LIBS
16074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16075 /* end confdefs.h. */
16077 /* Override any GCC internal prototype to avoid an error.
16078 Use char because int might match the return type of a GCC
16079 builtin and then its argument prototype would still apply. */
16087 return pam_start ();
16092 if ac_fn_c_try_link
"$LINENO"; then :
16093 ac_cv_lib_pam_pam_start
=yes
16095 ac_cv_lib_pam_pam_start
=no
16097 rm -f core conftest.err conftest.
$ac_objext \
16098 conftest
$ac_exeext conftest.
$ac_ext
16099 LIBS
=$ac_check_lib_save_LIBS
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
16102 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
16103 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
16105 alpine_c_client_target
="lnp"
16110 if test -f /etc
/shadow
; then
16111 alpine_c_client_target
="slx"
16113 alpine_c_client_target
="lnx"
16122 alpine_path_delim
="/"
16123 alpine_mode_readonly
="(0600)"
16124 LIBS
="$LIBS -framework Carbon -framework ApplicationServices -framework Security"
16125 AM_CFLAGS
="$AM_CFLAGS -Dbsd"
16127 $as_echo "#define OSX_TARGET 1" >>confdefs.h
16129 case "$alpine_os_credential_cache" in
16134 $as_echo "#define APPLEKEYCHAIN 1" >>confdefs.h
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
16139 $as_echo_n "checking for pam_start in -lpam... " >&6; }
16140 if ${ac_cv_lib_pam_pam_start+:} false
; then :
16141 $as_echo_n "(cached) " >&6
16143 ac_check_lib_save_LIBS
=$LIBS
16145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16146 /* end confdefs.h. */
16148 /* Override any GCC internal prototype to avoid an error.
16149 Use char because int might match the return type of a GCC
16150 builtin and then its argument prototype would still apply. */
16158 return pam_start ();
16163 if ac_fn_c_try_link
"$LINENO"; then :
16164 ac_cv_lib_pam_pam_start
=yes
16166 ac_cv_lib_pam_pam_start
=no
16168 rm -f core conftest.err conftest.
$ac_objext \
16169 conftest
$ac_exeext conftest.
$ac_ext
16170 LIBS
=$ac_check_lib_save_LIBS
16172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
16173 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
16174 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
16176 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
16177 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
16180 alpine_c_client_target
="oxs"
16183 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
16184 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
16187 alpine_c_client_target
="oxp"
16192 alpine_pam_none_reason
="header files not found"
16204 alpine_c_client_target
="osx"
16210 if test x
$GCC = "xyes" ; then
16212 alpine_c_client_target
="gso"
16215 alpine_c_client_target
="soc"
16217 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
16220 alpine_path_delim
="/"
16221 alpine_mode_readonly
="(0600)"
16225 alpine_path_delim
="/"
16226 alpine_mode_readonly
="(0600)"
16227 alpine_c_client_target
="s40"
16230 if test x
$GCC = "xyes" ; then
16232 alpine_c_client_target
="go5"
16235 alpine_c_client_target
="sc5"
16237 alpine_path_delim
="/"
16238 alpine_mode_readonly
="(0600)"
16242 alpine_path_delim
="/"
16243 alpine_mode_readonly
="(0600)"
16244 alpine_c_client_target
="nx3"
16248 alpine_path_delim
="/"
16249 alpine_mode_readonly
="(0600)"
16250 alpine_c_client_target
="neb"
16254 alpine_path_delim
="/"
16255 alpine_mode_readonly
="(0600)"
16256 alpine_c_client_target
="neb"
16260 alpine_path_delim
="/"
16261 alpine_mode_readonly
="(0600)"
16262 alpine_c_client_target
="bsi"
16266 alpine_path_delim
="/"
16267 alpine_mode_readonly
="(0600)"
16268 alpine_c_client_target
="bsf"
16269 LIBS
="$LIBS $LIBINTL"
16273 alpine_path_delim
="/"
16274 alpine_mode_readonly
="(0600)"
16275 alpine_c_client_target
="bso"
16276 LIBS
="$LIBS $LIBINTL"
16280 alpine_path_delim
="/"
16281 alpine_mode_readonly
="(0600)"
16282 alpine_c_client_target
="a52"
16286 alpine_path_delim
="/"
16287 alpine_mode_readonly
="(0600)"
16288 alpine_c_client_target
="a41"
16292 alpine_path_delim
="/"
16293 alpine_mode_readonly
="(0600)"
16294 alpine_c_client_target
="a32"
16296 *-*UNIX_SV |
*-*-sysv5UnixWare7* |
*-*OpenUNIX
*)
16298 alpine_path_delim
="/"
16299 alpine_mode_readonly
="(0600)"
16300 alpine_c_client_target
="uw2"
16304 alpine_path_delim
="/"
16305 alpine_mode_readonly
="(0600)"
16306 alpine_c_client_target
="osf"
16310 alpine_path_delim
="/"
16311 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
16312 alpine_c_client_target
="cyg"
16313 LIBS
="$LIBS $LIBINTL"
16315 windows
* |
*-*-pw32*)
16317 alpine_path_delim
="\\"
16318 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
16319 alpine_c_client_target
="wnt"
16321 $as_echo "#define _WINDOWS 1" >>confdefs.h
16325 as_fn_error $?
"Unrecognized system: $host" "$LINENO" 5
16330 # Check whether --with-ipv6 was given.
16331 if test "${with_ipv6+set}" = set; then :
16332 withval
=$with_ipv6; with_ipv6
=$withval
16336 if test "x$with_ipv6" = "xno" ; then
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding IPv6 Support" >&5
16338 $as_echo "$as_me: Excluding IPv6 Support" >&6;}
16339 c_client_specials
="${c_client_specials}IP6=4 "
16340 c_client_ip6
="true"
16342 c_client_ip6
="touch imap/ip6"
16347 if test x
$enable_dmalloc = "xyes" ; then
16348 if test "x$with_pthread" = "xyes" ; then
16349 dmalloc_lib
=dmallocth
16351 dmalloc_lib
=dmalloc
16354 as_ac_Lib
=`$as_echo "ac_cv_lib_$dmalloc_lib''_dmalloc_shutdown" | $as_tr_sh`
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmalloc_shutdown in -l$dmalloc_lib" >&5
16356 $as_echo_n "checking for dmalloc_shutdown in -l$dmalloc_lib... " >&6; }
16357 if eval \
${$as_ac_Lib+:} false
; then :
16358 $as_echo_n "(cached) " >&6
16360 ac_check_lib_save_LIBS
=$LIBS
16361 LIBS
="-l$dmalloc_lib $LIBS"
16362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16363 /* end confdefs.h. */
16365 /* Override any GCC internal prototype to avoid an error.
16366 Use char because int might match the return type of a GCC
16367 builtin and then its argument prototype would still apply. */
16371 char dmalloc_shutdown ();
16375 return dmalloc_shutdown ();
16380 if ac_fn_c_try_link
"$LINENO"; then :
16381 eval "$as_ac_Lib=yes"
16383 eval "$as_ac_Lib=no"
16385 rm -f core conftest.err conftest.
$ac_objext \
16386 conftest
$ac_exeext conftest.
$ac_ext
16387 LIBS
=$ac_check_lib_save_LIBS
16389 eval ac_res
=\$
$as_ac_Lib
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
16391 $as_echo "$ac_res" >&6; }
16392 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
16393 cat >>confdefs.h
<<_ACEOF
16394 #define `$as_echo "HAVE_LIB$dmalloc_lib" | $as_tr_cpp` 1
16397 LIBS
="-l$dmalloc_lib $LIBS"
16401 as_fn_error but
-ldmalloc not found
"$dmalloc_lib requested" "$LINENO" 5
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -ltinfo" >&5
16408 $as_echo_n "checking for setupterm in -ltinfo... " >&6; }
16409 if ${ac_cv_lib_tinfo_setupterm+:} false
; then :
16410 $as_echo_n "(cached) " >&6
16412 ac_check_lib_save_LIBS
=$LIBS
16413 LIBS
="-ltinfo $LIBS"
16414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16415 /* end confdefs.h. */
16417 /* Override any GCC internal prototype to avoid an error.
16418 Use char because int might match the return type of a GCC
16419 builtin and then its argument prototype would still apply. */
16427 return setupterm ();
16432 if ac_fn_c_try_link
"$LINENO"; then :
16433 ac_cv_lib_tinfo_setupterm
=yes
16435 ac_cv_lib_tinfo_setupterm
=no
16437 rm -f core conftest.err conftest.
$ac_objext \
16438 conftest
$ac_exeext conftest.
$ac_ext
16439 LIBS
=$ac_check_lib_save_LIBS
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_setupterm" >&5
16442 $as_echo "$ac_cv_lib_tinfo_setupterm" >&6; }
16443 if test "x$ac_cv_lib_tinfo_setupterm" = xyes
; then :
16445 alpine_termdata
=info
16446 LIBS
="$LIBS -ltinfo"
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncurses" >&5
16451 $as_echo_n "checking for setupterm in -lncurses... " >&6; }
16452 if ${ac_cv_lib_ncurses_setupterm+:} false
; then :
16453 $as_echo_n "(cached) " >&6
16455 ac_check_lib_save_LIBS
=$LIBS
16456 LIBS
="-lncurses $LIBS"
16457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16458 /* end confdefs.h. */
16460 /* Override any GCC internal prototype to avoid an error.
16461 Use char because int might match the return type of a GCC
16462 builtin and then its argument prototype would still apply. */
16470 return setupterm ();
16475 if ac_fn_c_try_link
"$LINENO"; then :
16476 ac_cv_lib_ncurses_setupterm
=yes
16478 ac_cv_lib_ncurses_setupterm
=no
16480 rm -f core conftest.err conftest.
$ac_objext \
16481 conftest
$ac_exeext conftest.
$ac_ext
16482 LIBS
=$ac_check_lib_save_LIBS
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_setupterm" >&5
16485 $as_echo "$ac_cv_lib_ncurses_setupterm" >&6; }
16486 if test "x$ac_cv_lib_ncurses_setupterm" = xyes
; then :
16488 alpine_termdata
=info
16489 LIBS
="$LIBS -lncurses"
16493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5
16494 $as_echo_n "checking for setupterm in -lcurses... " >&6; }
16495 if ${ac_cv_lib_curses_setupterm+:} false
; then :
16496 $as_echo_n "(cached) " >&6
16498 ac_check_lib_save_LIBS
=$LIBS
16499 LIBS
="-lcurses $LIBS"
16500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16501 /* end confdefs.h. */
16503 /* Override any GCC internal prototype to avoid an error.
16504 Use char because int might match the return type of a GCC
16505 builtin and then its argument prototype would still apply. */
16513 return setupterm ();
16518 if ac_fn_c_try_link
"$LINENO"; then :
16519 ac_cv_lib_curses_setupterm
=yes
16521 ac_cv_lib_curses_setupterm
=no
16523 rm -f core conftest.err conftest.
$ac_objext \
16524 conftest
$ac_exeext conftest.
$ac_ext
16525 LIBS
=$ac_check_lib_save_LIBS
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_setupterm" >&5
16528 $as_echo "$ac_cv_lib_curses_setupterm" >&6; }
16529 if test "x$ac_cv_lib_curses_setupterm" = xyes
; then :
16531 alpine_termdata
=info
16532 LIBS
="$LIBS -lcurses"
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermlib" >&5
16537 $as_echo_n "checking for tgetent in -ltermlib... " >&6; }
16538 if ${ac_cv_lib_termlib_tgetent+:} false
; then :
16539 $as_echo_n "(cached) " >&6
16541 ac_check_lib_save_LIBS
=$LIBS
16542 LIBS
="-ltermlib $LIBS"
16543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16544 /* end confdefs.h. */
16546 /* Override any GCC internal prototype to avoid an error.
16547 Use char because int might match the return type of a GCC
16548 builtin and then its argument prototype would still apply. */
16561 if ac_fn_c_try_link
"$LINENO"; then :
16562 ac_cv_lib_termlib_tgetent
=yes
16564 ac_cv_lib_termlib_tgetent
=no
16566 rm -f core conftest.err conftest.
$ac_objext \
16567 conftest
$ac_exeext conftest.
$ac_ext
16568 LIBS
=$ac_check_lib_save_LIBS
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termlib_tgetent" >&5
16571 $as_echo "$ac_cv_lib_termlib_tgetent" >&6; }
16572 if test "x$ac_cv_lib_termlib_tgetent" = xyes
; then :
16574 alpine_termdata
=cap
16575 LIBS
="$LIBS -ltermlib"
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
16580 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
16581 if ${ac_cv_lib_termcap_tgetent+:} false
; then :
16582 $as_echo_n "(cached) " >&6
16584 ac_check_lib_save_LIBS
=$LIBS
16585 LIBS
="-ltermcap $LIBS"
16586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16587 /* end confdefs.h. */
16589 /* Override any GCC internal prototype to avoid an error.
16590 Use char because int might match the return type of a GCC
16591 builtin and then its argument prototype would still apply. */
16604 if ac_fn_c_try_link
"$LINENO"; then :
16605 ac_cv_lib_termcap_tgetent
=yes
16607 ac_cv_lib_termcap_tgetent
=no
16609 rm -f core conftest.err conftest.
$ac_objext \
16610 conftest
$ac_exeext conftest.
$ac_ext
16611 LIBS
=$ac_check_lib_save_LIBS
16613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
16614 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
16615 if test "x$ac_cv_lib_termcap_tgetent" = xyes
; then :
16617 alpine_termdata
=cap
16618 LIBS
="$LIBS -ltermcap"
16622 as_fn_error $?
"Terminfo/termcap not found" "$LINENO" 5
16638 case $alpine_termdata in
16641 $as_echo "#define HAS_TERMINFO 1" >>confdefs.h
16646 $as_echo "#define HAS_TERMCAP 1" >>confdefs.h
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
16652 $as_echo_n "checking for library containing dlopen... " >&6; }
16653 if ${ac_cv_search_dlopen+:} false
; then :
16654 $as_echo_n "(cached) " >&6
16656 ac_func_search_save_LIBS
=$LIBS
16657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16658 /* end confdefs.h. */
16660 /* Override any GCC internal prototype to avoid an error.
16661 Use char because int might match the return type of a GCC
16662 builtin and then its argument prototype would still apply. */
16675 for ac_lib
in '' dl dld
; do
16676 if test -z "$ac_lib"; then
16677 ac_res
="none required"
16680 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16682 if ac_fn_c_try_link
"$LINENO"; then :
16683 ac_cv_search_dlopen
=$ac_res
16685 rm -f core conftest.err conftest.
$ac_objext \
16687 if ${ac_cv_search_dlopen+:} false
; then :
16691 if ${ac_cv_search_dlopen+:} false
; then :
16694 ac_cv_search_dlopen
=no
16696 rm conftest.
$ac_ext
16697 LIBS
=$ac_func_search_save_LIBS
16699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
16700 $as_echo "$ac_cv_search_dlopen" >&6; }
16701 ac_res
=$ac_cv_search_dlopen
16702 if test "$ac_res" != no
; then :
16703 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16709 if test "x$alpine_DL" = "xnone" ; then
16710 as_fn_error $?
"No library containing dlopen found" "$LINENO" 5
16714 if test "x$alpine_SSLTYPE" != "xnone" ; then
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSLeay" >&5
16716 $as_echo_n "checking for library containing SSLeay... " >&6; }
16717 if ${ac_cv_search_SSLeay+:} false
; then :
16718 $as_echo_n "(cached) " >&6
16720 ac_func_search_save_LIBS
=$LIBS
16721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16722 /* end confdefs.h. */
16724 /* Override any GCC internal prototype to avoid an error.
16725 Use char because int might match the return type of a GCC
16726 builtin and then its argument prototype would still apply. */
16739 for ac_lib
in '' crypto
; do
16740 if test -z "$ac_lib"; then
16741 ac_res
="none required"
16744 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16746 if ac_fn_c_try_link
"$LINENO"; then :
16747 ac_cv_search_SSLeay
=$ac_res
16749 rm -f core conftest.err conftest.
$ac_objext \
16751 if ${ac_cv_search_SSLeay+:} false
; then :
16755 if ${ac_cv_search_SSLeay+:} false
; then :
16758 ac_cv_search_SSLeay
=no
16760 rm conftest.
$ac_ext
16761 LIBS
=$ac_func_search_save_LIBS
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSLeay" >&5
16764 $as_echo "$ac_cv_search_SSLeay" >&6; }
16765 ac_res
=$ac_cv_search_SSLeay
16766 if test "$ac_res" != no
; then :
16767 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16770 alpine_CRYPTO
="none"
16773 if test "x$alpine_CRYPTO" = "xnone" ; then
16774 as_fn_error $?
"crypto library NOT found" "$LINENO" 5
16779 if test "x$alpine_SSLTYPE" != "xnone" ; then
16780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_library_init" >&5
16781 $as_echo_n "checking for library containing SSL_library_init... " >&6; }
16782 if ${ac_cv_search_SSL_library_init+:} false
; then :
16783 $as_echo_n "(cached) " >&6
16785 ac_func_search_save_LIBS
=$LIBS
16786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16787 /* end confdefs.h. */
16789 /* Override any GCC internal prototype to avoid an error.
16790 Use char because int might match the return type of a GCC
16791 builtin and then its argument prototype would still apply. */
16795 char SSL_library_init ();
16799 return SSL_library_init ();
16804 for ac_lib
in '' ssl
; do
16805 if test -z "$ac_lib"; then
16806 ac_res
="none required"
16809 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16811 if ac_fn_c_try_link
"$LINENO"; then :
16812 ac_cv_search_SSL_library_init
=$ac_res
16814 rm -f core conftest.err conftest.
$ac_objext \
16816 if ${ac_cv_search_SSL_library_init+:} false
; then :
16820 if ${ac_cv_search_SSL_library_init+:} false
; then :
16823 ac_cv_search_SSL_library_init
=no
16825 rm conftest.
$ac_ext
16826 LIBS
=$ac_func_search_save_LIBS
16828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_library_init" >&5
16829 $as_echo "$ac_cv_search_SSL_library_init" >&6; }
16830 ac_res
=$ac_cv_search_SSL_library_init
16831 if test "$ac_res" != no
; then :
16832 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16835 alpine_SSLTYPE
="none"
16839 if test "x$alpine_SSLTYPE" = "xnone" ; then
16840 as_fn_error $?
"No library containing SSL_library_init found in your path" "$LINENO" 5
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.0.0c" >&5
16845 $as_echo_n "checking Openssl library version >= 1.0.0c... " >&6; }
16846 if test "$cross_compiling" = yes; then :
16847 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16849 as_fn_error $?
"cannot run test program while cross compiling
16850 See \`config.log' for more details" "$LINENO" 5; }
16852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16853 /* end confdefs.h. */
16856 #include <stdlib.h>
16857 #include <openssl/ssl.h>
16860 if (OPENSSL_VERSION_NUMBER >= 0x1000003f)
16867 if ac_fn_c_try_run
"$LINENO"; then :
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16869 $as_echo "yes" >&6; }
16871 alpine_SSLTYPE
="none"
16873 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
16874 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
16878 if test "x$alpine_SSLTYPE" = "xnone" ; then
16879 as_fn_error $?
"Install openssl version >= 1.0.0c" "$LINENO" 5
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLSv1_2_client_method" >&5
16883 $as_echo_n "checking for library containing TLSv1_2_client_method... " >&6; }
16884 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
16885 $as_echo_n "(cached) " >&6
16887 ac_func_search_save_LIBS
=$LIBS
16888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16889 /* end confdefs.h. */
16891 /* Override any GCC internal prototype to avoid an error.
16892 Use char because int might match the return type of a GCC
16893 builtin and then its argument prototype would still apply. */
16897 char TLSv1_2_client_method ();
16901 return TLSv1_2_client_method ();
16906 for ac_lib
in '' ssl
; do
16907 if test -z "$ac_lib"; then
16908 ac_res
="none required"
16911 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
16913 if ac_fn_c_try_link
"$LINENO"; then :
16914 ac_cv_search_TLSv1_2_client_method
=$ac_res
16916 rm -f core conftest.err conftest.
$ac_objext \
16918 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
16922 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
16925 ac_cv_search_TLSv1_2_client_method
=no
16927 rm conftest.
$ac_ext
16928 LIBS
=$ac_func_search_save_LIBS
16930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLSv1_2_client_method" >&5
16931 $as_echo "$ac_cv_search_TLSv1_2_client_method" >&6; }
16932 ac_res
=$ac_cv_search_TLSv1_2_client_method
16933 if test "$ac_res" != no
; then :
16934 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
16935 alpine_c_client_cflags
="$alpine_c_client_cflags -DTLSV1_2"
16937 $as_echo "#define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h
16944 if test "$alpine_with_ldap" = "yes" ; then
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_alloc in -llber" >&5
16947 $as_echo_n "checking for ber_alloc in -llber... " >&6; }
16948 if ${ac_cv_lib_lber_ber_alloc+:} false
; then :
16949 $as_echo_n "(cached) " >&6
16951 ac_check_lib_save_LIBS
=$LIBS
16952 LIBS
="-llber $LIBS"
16953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16954 /* end confdefs.h. */
16956 /* Override any GCC internal prototype to avoid an error.
16957 Use char because int might match the return type of a GCC
16958 builtin and then its argument prototype would still apply. */
16966 return ber_alloc ();
16971 if ac_fn_c_try_link
"$LINENO"; then :
16972 ac_cv_lib_lber_ber_alloc
=yes
16974 ac_cv_lib_lber_ber_alloc
=no
16976 rm -f core conftest.err conftest.
$ac_objext \
16977 conftest
$ac_exeext conftest.
$ac_ext
16978 LIBS
=$ac_check_lib_save_LIBS
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_alloc" >&5
16981 $as_echo "$ac_cv_lib_lber_ber_alloc" >&6; }
16982 if test "x$ac_cv_lib_lber_ber_alloc" = xyes
; then :
16984 LIBS
="$LIBS -llber"
16988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_init" >&5
16989 $as_echo_n "checking for library containing ldap_init... " >&6; }
16990 if ${ac_cv_search_ldap_init+:} false
; then :
16991 $as_echo_n "(cached) " >&6
16993 ac_func_search_save_LIBS
=$LIBS
16994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16995 /* end confdefs.h. */
16997 /* Override any GCC internal prototype to avoid an error.
16998 Use char because int might match the return type of a GCC
16999 builtin and then its argument prototype would still apply. */
17007 return ldap_init ();
17012 for ac_lib
in '' ldap
; do
17013 if test -z "$ac_lib"; then
17014 ac_res
="none required"
17017 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17019 if ac_fn_c_try_link
"$LINENO"; then :
17020 ac_cv_search_ldap_init
=$ac_res
17022 rm -f core conftest.err conftest.
$ac_objext \
17024 if ${ac_cv_search_ldap_init+:} false
; then :
17028 if ${ac_cv_search_ldap_init+:} false
; then :
17031 ac_cv_search_ldap_init
=no
17033 rm conftest.
$ac_ext
17034 LIBS
=$ac_func_search_save_LIBS
17036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_init" >&5
17037 $as_echo "$ac_cv_search_ldap_init" >&6; }
17038 ac_res
=$ac_cv_search_ldap_init
17039 if test "$ac_res" != no
; then :
17040 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17042 alpine_has_ldap
=yes
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_open" >&5
17047 $as_echo_n "checking for library containing ldap_open... " >&6; }
17048 if ${ac_cv_search_ldap_open+:} false
; then :
17049 $as_echo_n "(cached) " >&6
17051 ac_func_search_save_LIBS
=$LIBS
17052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17053 /* end confdefs.h. */
17055 /* Override any GCC internal prototype to avoid an error.
17056 Use char because int might match the return type of a GCC
17057 builtin and then its argument prototype would still apply. */
17065 return ldap_open ();
17070 for ac_lib
in '' ldap
; do
17071 if test -z "$ac_lib"; then
17072 ac_res
="none required"
17075 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17077 if ac_fn_c_try_link
"$LINENO"; then :
17078 ac_cv_search_ldap_open
=$ac_res
17080 rm -f core conftest.err conftest.
$ac_objext \
17082 if ${ac_cv_search_ldap_open+:} false
; then :
17086 if ${ac_cv_search_ldap_open+:} false
; then :
17089 ac_cv_search_ldap_open
=no
17091 rm conftest.
$ac_ext
17092 LIBS
=$ac_func_search_save_LIBS
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_open" >&5
17095 $as_echo "$ac_cv_search_ldap_open" >&6; }
17096 ac_res
=$ac_cv_search_ldap_open
17097 if test "$ac_res" != no
; then :
17098 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17100 alpine_has_ldap
=yes
17108 if test "$alpine_has_ldap" = "yes" ; then
17109 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including LDAP Support" >&5
17110 $as_echo "$as_me: * * * Including LDAP Support" >&6;}
17112 $as_echo "#define ENABLE_LDAP /**/" >>confdefs.h
17115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we should define LDAP_DEPRECATED" >&5
17116 $as_echo_n "checking if we should define LDAP_DEPRECATED... " >&6; }
17117 if test "$cross_compiling" = yes; then :
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: not checking" >&5
17120 $as_echo "$as_me: WARNING: cross compiling: not checking" >&2;}
17124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17125 /* end confdefs.h. */
17128 #include <stdlib.h>
17132 if (LDAP_VENDOR_VERSION >= 20300)
17139 if ac_fn_c_try_run
"$LINENO"; then :
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17142 $as_echo "yes" >&6; }
17144 $as_echo "#define LDAP_DEPRECATED 1" >>confdefs.h
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17151 $as_echo "no" >&6; }
17154 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
17155 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: Cannot find LDAP functions! Excluding LDAP support." >&5
17161 $as_echo "$as_me: Cannot find LDAP functions! Excluding LDAP support." >&6;}
17165 if test "x$alpine_PAM" != "xnone" ; then
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pam_start" >&5
17167 $as_echo_n "checking for library containing pam_start... " >&6; }
17168 if ${ac_cv_search_pam_start+:} false
; then :
17169 $as_echo_n "(cached) " >&6
17171 ac_func_search_save_LIBS
=$LIBS
17172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17173 /* end confdefs.h. */
17175 /* Override any GCC internal prototype to avoid an error.
17176 Use char because int might match the return type of a GCC
17177 builtin and then its argument prototype would still apply. */
17185 return pam_start ();
17190 for ac_lib
in '' pam
; do
17191 if test -z "$ac_lib"; then
17192 ac_res
="none required"
17195 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17197 if ac_fn_c_try_link
"$LINENO"; then :
17198 ac_cv_search_pam_start
=$ac_res
17200 rm -f core conftest.err conftest.
$ac_objext \
17202 if ${ac_cv_search_pam_start+:} false
; then :
17206 if ${ac_cv_search_pam_start+:} false
; then :
17209 ac_cv_search_pam_start
=no
17211 rm conftest.
$ac_ext
17212 LIBS
=$ac_func_search_save_LIBS
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
17215 $as_echo "$ac_cv_search_pam_start" >&6; }
17216 ac_res
=$ac_cv_search_pam_start
17217 if test "$ac_res" != no
; then :
17218 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17221 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
17222 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
17227 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
17228 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
17231 if test "x$alpine_c_client_target" != "xoxp" ; then
17233 alpine_pam_none_reason
="header files not in security/ directory"
17239 alpine_pam_none_reason
="header files not found"
17252 alpine_pam_none_reason
="library files not found"
17256 if test -n "$alpine_pam_none_reason" ; then
17257 as_fn_error $?
"No PAM support: $alpine_pam_none_reason" "$LINENO" 5
17262 if test "x$alpine_GSSTYPE" != "xnone" ; then
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
17264 $as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
17265 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
17266 $as_echo_n "(cached) " >&6
17268 ac_func_search_save_LIBS
=$LIBS
17269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17270 /* end confdefs.h. */
17272 /* Override any GCC internal prototype to avoid an error.
17273 Use char because int might match the return type of a GCC
17274 builtin and then its argument prototype would still apply. */
17278 char gss_init_sec_context ();
17282 return gss_init_sec_context ();
17287 for ac_lib
in '' gss gssapi gssapi_krb5
; do
17288 if test -z "$ac_lib"; then
17289 ac_res
="none required"
17292 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17294 if ac_fn_c_try_link
"$LINENO"; then :
17295 ac_cv_search_gss_init_sec_context
=$ac_res
17297 rm -f core conftest.err conftest.
$ac_objext \
17299 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
17303 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
17306 ac_cv_search_gss_init_sec_context
=no
17308 rm conftest.
$ac_ext
17309 LIBS
=$ac_func_search_save_LIBS
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
17312 $as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
17313 ac_res
=$ac_cv_search_gss_init_sec_context
17314 if test "$ac_res" != no
; then :
17315 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17317 LIBS
="$LIBS -lkrb5"
17318 ac_fn_c_check_header_mongrel
"$LINENO" "gssapi/gssapi_generic.h" "ac_cv_header_gssapi_gssapi_generic_h" "$ac_includes_default"
17319 if test "x$ac_cv_header_gssapi_gssapi_generic_h" = xyes
; then :
17323 if test ! -d /usr
/kerberos
/include
; then
17324 alpine_GSSTYPE
="none"
17325 alpine_gss_none_reason
="header files not found"
17334 alpine_GSSTYPE
="none"
17335 alpine_gss_none_reason
="libraries not found"
17339 if test -n "$alpine_gss_none_reason" ; then
17340 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including Kerberos Support: $alpine_gss_none_reason" >&5
17341 $as_echo "$as_me: NOT including Kerberos Support: $alpine_gss_none_reason" >&6;}
17345 if test -n "$WEB_BUILD" ; then
17346 TCL_VERSIONS_DOT
="tcl8.6 tcl8.5 tcl8.4 tcl8.3"
17347 TCL_VERSIONS_NODOT
="`echo ${TCL_VERSIONS_DOT} | ${SED} 's/\.//g'`"
17348 TCL_VERSIONS
="${TCL_VERSIONS_DOT} ${TCL_VERSIONS_NODOT} tcl"
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing Tcl_Eval" >&5
17350 $as_echo_n "checking for library containing Tcl_Eval... " >&6; }
17351 if ${ac_cv_search_Tcl_Eval+:} false
; then :
17352 $as_echo_n "(cached) " >&6
17354 ac_func_search_save_LIBS
=$LIBS
17355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17356 /* end confdefs.h. */
17358 /* Override any GCC internal prototype to avoid an error.
17359 Use char because int might match the return type of a GCC
17360 builtin and then its argument prototype would still apply. */
17368 return Tcl_Eval ();
17373 for ac_lib
in '' $alpine_TCLLIB ${TCL_VERSIONS}; do
17374 if test -z "$ac_lib"; then
17375 ac_res
="none required"
17378 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17380 if ac_fn_c_try_link
"$LINENO"; then :
17381 ac_cv_search_Tcl_Eval
=$ac_res
17383 rm -f core conftest.err conftest.
$ac_objext \
17385 if ${ac_cv_search_Tcl_Eval+:} false
; then :
17389 if ${ac_cv_search_Tcl_Eval+:} false
; then :
17392 ac_cv_search_Tcl_Eval
=no
17394 rm conftest.
$ac_ext
17395 LIBS
=$ac_func_search_save_LIBS
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_Tcl_Eval" >&5
17398 $as_echo "$ac_cv_search_Tcl_Eval" >&6; }
17399 ac_res
=$ac_cv_search_Tcl_Eval
17400 if test "$ac_res" != no
; then :
17401 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17410 if test -n "$alpine_TCLINC" ; then
17411 as_ac_Header
=`$as_echo "ac_cv_header_$alpine_TCLINC/tcl.h" | $as_tr_sh`
17412 ac_fn_c_check_header_mongrel
"$LINENO" "$alpine_TCLINC/tcl.h" "$as_ac_Header" "$ac_includes_default"
17413 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
17422 if test -z "$WEB_BUILD" ; then
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: Tcl Include file NOT found" >&5
17424 $as_echo "$as_me: Tcl Include file NOT found" >&6;}
17427 ac_fn_c_check_header_mongrel
"$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
17428 if test "x$ac_cv_header_tcl_h" = xyes
; then :
17432 for base
in /usr
/usr
/local ; do
17433 for dir
in ${TCL_VERSIONS} ; do
17434 as_ac_File
=`$as_echo "ac_cv_file_$base/include/$dir/tcl.h" | $as_tr_sh`
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $base/include/$dir/tcl.h" >&5
17436 $as_echo_n "checking for $base/include/$dir/tcl.h... " >&6; }
17437 if eval \
${$as_ac_File+:} false
; then :
17438 $as_echo_n "(cached) " >&6
17440 test "$cross_compiling" = yes &&
17441 as_fn_error $?
"cannot check for file existence when cross compiling" "$LINENO" 5
17442 if test -r "$base/include/$dir/tcl.h"; then
17443 eval "$as_ac_File=yes"
17445 eval "$as_ac_File=no"
17448 eval ac_res
=\$
$as_ac_File
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17450 $as_echo "$ac_res" >&6; }
17451 if eval test \"x\$
"$as_ac_File"\" = x
"yes"; then :
17457 if test "$found" = "yes" ; then
17458 CPPFLAGS
="$CPPFLAGS -I$base/include/$dir"
17462 if test "$found" = "yes" ; then
17466 if test "$found" != "yes" ; then
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: header file tcl.h NOT found: Web Alpine will not be built" >&5
17469 $as_echo "$as_me: header file tcl.h NOT found: Web Alpine will not be built" >&6;}
17478 if test "x$alpine_REGEX" != "xyes" ; then
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
17480 $as_echo_n "checking for library containing regcomp... " >&6; }
17481 if ${ac_cv_search_regcomp+:} false
; then :
17482 $as_echo_n "(cached) " >&6
17484 ac_func_search_save_LIBS
=$LIBS
17485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17486 /* end confdefs.h. */
17488 /* Override any GCC internal prototype to avoid an error.
17489 Use char because int might match the return type of a GCC
17490 builtin and then its argument prototype would still apply. */
17503 for ac_lib
in '' posix regexp regex re
; do
17504 if test -z "$ac_lib"; then
17505 ac_res
="none required"
17508 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17510 if ac_fn_c_try_link
"$LINENO"; then :
17511 ac_cv_search_regcomp
=$ac_res
17513 rm -f core conftest.err conftest.
$ac_objext \
17515 if ${ac_cv_search_regcomp+:} false
; then :
17519 if ${ac_cv_search_regcomp+:} false
; then :
17522 ac_cv_search_regcomp
=no
17524 rm conftest.
$ac_ext
17525 LIBS
=$ac_func_search_save_LIBS
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
17528 $as_echo "$ac_cv_search_regcomp" >&6; }
17529 ac_res
=$ac_cv_search_regcomp
17530 if test "$ac_res" != no
; then :
17531 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17535 if test x
$alpine_REGEX = "xno" ; then
17536 as_fn_error $?
"Unable to find system regex library" "$LINENO" 5
17544 if test "x$alpine_REGEX" != "xyes" ; then
17545 ac_fn_c_check_header_mongrel
"$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
17546 if test "x$ac_cv_header_regex_h" = xyes
; then :
17550 if test x
$alpine_REGEX = "xno" ; then
17551 as_fn_error $?
"Unable to find system regex include file" "$LINENO" 5
17561 $as_echo "#define HAVE_REGEX_H 1" >>confdefs.h
17563 if test "x$alpine_REGEX" = "xyes" ; then
17564 CPPFLAGS
="$CPPFLAGS -I${top_builddir}/regex"
17565 LDFLAGS
="$LDFLAGS -L${top_builddir}/regex"
17567 REGEX_MAKEFILE
="$REGEX_BUILD/Makefile"
17570 if test "x$with_pthread" != "xno" ; then
17571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread support" >&5
17572 $as_echo_n "checking for pthread support... " >&6; }
17577 ac_cpp
='$CPP $CPPFLAGS'
17578 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17579 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17580 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17584 # We used to check for pthread.h first, but this fails if pthread.h
17585 # requires special compiler flags (e.g. on True64 or Sequent).
17586 # It gets checked for in the link test anyway.
17588 # First of all, check if the user has set any of the PTHREAD_LIBS,
17589 # etcetera environment variables, and if threads linking works using
17591 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
17592 save_CFLAGS
="$CFLAGS"
17593 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
17595 LIBS
="$PTHREAD_LIBS $LIBS"
17596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
17597 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
17598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17599 /* end confdefs.h. */
17601 /* Override any GCC internal prototype to avoid an error.
17602 Use char because int might match the return type of a GCC
17603 builtin and then its argument prototype would still apply. */
17607 char pthread_join ();
17611 return pthread_join ();
17616 if ac_fn_c_try_link
"$LINENO"; then :
17619 rm -f core conftest.err conftest.
$ac_objext \
17620 conftest
$ac_exeext conftest.
$ac_ext
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17622 $as_echo "$acx_pthread_ok" >&6; }
17623 if test x
"$acx_pthread_ok" = xno
; then
17628 CFLAGS
="$save_CFLAGS"
17631 # We must check for the threads library under a number of different
17632 # names; the ordering is very important because some systems
17633 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
17634 # libraries is broken (non-POSIX).
17636 # Create a list of thread flags to try. Items starting with a "-" are
17637 # C compiler flags, and other items are library names, except for "none"
17638 # which indicates that we try without any flags at all, and "pthread-config"
17639 # which is a program returning the flags for the Pth emulation library.
17641 acx_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
17643 # The ordering *is* (sometimes) important. Some notes on the
17644 # individual items follow:
17646 # pthreads: AIX (must check this before -lpthread)
17647 # none: in case threads are in libc; should be tried before -Kthread and
17648 # other compiler flags to prevent continual compiler warnings
17649 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
17650 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
17651 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
17652 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
17653 # -pthreads: Solaris/gcc
17654 # -mthreads: Mingw32/gcc, Lynx/gcc
17655 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
17656 # doesn't hurt to check since this sometimes defines pthreads too;
17657 # also defines -D_REENTRANT)
17658 # ... -mt is also the pthreads flag for HP/aCC
17659 # pthread: Linux, etcetera
17660 # --thread-safe: KAI C++
17661 # pthread-config: use pthread-config program (for GNU Pth library)
17663 case "${host_cpu}-${host_os}" in
17666 # On Solaris (at least, for some versions), libc contains stubbed
17667 # (non-functional) versions of the pthreads routines, so link-based
17668 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
17669 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
17670 # a function called by this macro, so we could check for that, but
17671 # who knows whether they'll stub that too in a future libc.) So,
17672 # we'll just look for -pthreads and -lpthread first:
17674 acx_pthread_flags
="-pthreads pthread -mt -pthread $acx_pthread_flags"
17678 if test x
"$acx_pthread_ok" = xno
; then
17679 for flag
in $acx_pthread_flags; do
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
17684 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
17689 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
17690 PTHREAD_CFLAGS
="$flag"
17694 # Extract the first word of "pthread-config", so it can be a program name with args.
17695 set dummy pthread-config
; ac_word
=$2
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17697 $as_echo_n "checking for $ac_word... " >&6; }
17698 if ${ac_cv_prog_acx_pthread_config+:} false
; then :
17699 $as_echo_n "(cached) " >&6
17701 if test -n "$acx_pthread_config"; then
17702 ac_cv_prog_acx_pthread_config
="$acx_pthread_config" # Let the user override the test.
17704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17705 for as_dir
in $PATH
17708 test -z "$as_dir" && as_dir
=.
17709 for ac_exec_ext
in '' $ac_executable_extensions; do
17710 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17711 ac_cv_prog_acx_pthread_config
="yes"
17712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17719 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config
="no"
17722 acx_pthread_config
=$ac_cv_prog_acx_pthread_config
17723 if test -n "$acx_pthread_config"; then
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
17725 $as_echo "$acx_pthread_config" >&6; }
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17728 $as_echo "no" >&6; }
17732 if test x
"$acx_pthread_config" = xno
; then continue; fi
17733 PTHREAD_CFLAGS
="`pthread-config --cflags`"
17734 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
17739 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
17740 PTHREAD_LIBS
="-l$flag"
17745 save_CFLAGS
="$CFLAGS"
17746 LIBS
="$PTHREAD_LIBS $LIBS"
17747 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
17749 # Check for various functions. We must include pthread.h,
17750 # since some functions may be macros. (On the Sequent, we
17751 # need a special flag -Kthread to make this header compile.)
17752 # We check for pthread_join because it is in -lpthread on IRIX
17753 # while pthread_create is in libc. We check for pthread_attr_init
17754 # due to DEC craziness with -lpthreads. We check for
17755 # pthread_cleanup_push because it is one of the few pthread
17756 # functions on Solaris that doesn't have a non-functional libc stub.
17757 # We try pthread_create on general principles.
17758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17759 /* end confdefs.h. */
17760 #include <pthread.h>
17764 pthread_t th; pthread_join(th, 0);
17765 pthread_attr_init(0); pthread_cleanup_push(0, 0);
17766 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
17771 if ac_fn_c_try_link
"$LINENO"; then :
17774 rm -f core conftest.err conftest.
$ac_objext \
17775 conftest
$ac_exeext conftest.
$ac_ext
17778 CFLAGS
="$save_CFLAGS"
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
17781 $as_echo "$acx_pthread_ok" >&6; }
17782 if test "x$acx_pthread_ok" = xyes
; then
17791 # Various other checks:
17792 if test "x$acx_pthread_ok" = xyes
; then
17794 LIBS
="$PTHREAD_LIBS $LIBS"
17795 save_CFLAGS
="$CFLAGS"
17796 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
17798 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
17799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
17800 $as_echo_n "checking for joinable pthread attribute... " >&6; }
17802 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
17803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17804 /* end confdefs.h. */
17805 #include <pthread.h>
17809 int attr=$attr; return attr;
17814 if ac_fn_c_try_link
"$LINENO"; then :
17815 attr_name
=$attr; break
17817 rm -f core conftest.err conftest.
$ac_objext \
17818 conftest
$ac_exeext conftest.
$ac_ext
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
17821 $as_echo "$attr_name" >&6; }
17822 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
17824 cat >>confdefs.h
<<_ACEOF
17825 #define PTHREAD_CREATE_JOINABLE $attr_name
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
17831 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
17833 case "${host_cpu}-${host_os}" in
17834 *-aix* |
*-freebsd* |
*-darwin*) flag
="-D_THREAD_SAFE";;
17835 *solaris
* |
*-osf* |
*-hpux*) flag
="-D_REENTRANT";;
17837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
17838 $as_echo "${flag}" >&6; }
17839 if test "x$flag" != xno
; then
17840 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
17844 CFLAGS
="$save_CFLAGS"
17846 # More AIX lossage: must compile with xlc_r or cc_r
17847 if test x
"$GCC" != xyes
; then
17848 for ac_prog
in xlc_r cc_r
17850 # Extract the first word of "$ac_prog", so it can be a program name with args.
17851 set dummy
$ac_prog; ac_word
=$2
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17853 $as_echo_n "checking for $ac_word... " >&6; }
17854 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
17855 $as_echo_n "(cached) " >&6
17857 if test -n "$PTHREAD_CC"; then
17858 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
17860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17861 for as_dir
in $PATH
17864 test -z "$as_dir" && as_dir
=.
17865 for ac_exec_ext
in '' $ac_executable_extensions; do
17866 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
17867 ac_cv_prog_PTHREAD_CC
="$ac_prog"
17868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17877 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
17878 if test -n "$PTHREAD_CC"; then
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
17880 $as_echo "$PTHREAD_CC" >&6; }
17882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17883 $as_echo "no" >&6; }
17887 test -n "$PTHREAD_CC" && break
17889 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
17902 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
17903 if test x
"$acx_pthread_ok" = xyes
; then
17905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17906 $as_echo "yes" >&6; }
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pthread support on OpenBSD is unstable!" >&5
17910 $as_echo "$as_me: WARNING: pthread support on OpenBSD is unstable!" >&6;}
17911 AM_CFLAGS
="$AM_CFLAGS -pthread"
17914 LIBS
="$PTHREAD_LIBS $LIBS"
17915 AM_CFLAGS
="$AM_CFLAGS $PTHREAD_CFLAGS"
17918 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17926 $as_echo "no" >&6; }
17930 ac_cpp
='$CPP $CPPFLAGS'
17931 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17932 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17933 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
17938 $as_echo_n "checking for library containing nanosleep... " >&6; }
17939 if ${ac_cv_search_nanosleep+:} false
; then :
17940 $as_echo_n "(cached) " >&6
17942 ac_func_search_save_LIBS
=$LIBS
17943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17944 /* end confdefs.h. */
17946 /* Override any GCC internal prototype to avoid an error.
17947 Use char because int might match the return type of a GCC
17948 builtin and then its argument prototype would still apply. */
17956 return nanosleep ();
17961 for ac_lib
in '' rt posix4
; do
17962 if test -z "$ac_lib"; then
17963 ac_res
="none required"
17966 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17968 if ac_fn_c_try_link
"$LINENO"; then :
17969 ac_cv_search_nanosleep
=$ac_res
17971 rm -f core conftest.err conftest.
$ac_objext \
17973 if ${ac_cv_search_nanosleep+:} false
; then :
17977 if ${ac_cv_search_nanosleep+:} false
; then :
17980 ac_cv_search_nanosleep
=no
17982 rm conftest.
$ac_ext
17983 LIBS
=$ac_func_search_save_LIBS
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
17986 $as_echo "$ac_cv_search_nanosleep" >&6; }
17987 ac_res
=$ac_cv_search_nanosleep
17988 if test "$ac_res" != no
; then :
17989 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17992 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
18003 $as_echo_n "checking for ANSI C header files... " >&6; }
18004 if ${ac_cv_header_stdc+:} false
; then :
18005 $as_echo_n "(cached) " >&6
18007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18008 /* end confdefs.h. */
18009 #include <stdlib.h>
18010 #include <stdarg.h>
18011 #include <string.h>
18022 if ac_fn_c_try_compile
"$LINENO"; then :
18023 ac_cv_header_stdc
=yes
18025 ac_cv_header_stdc
=no
18027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18029 if test $ac_cv_header_stdc = yes; then
18030 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18032 /* end confdefs.h. */
18033 #include <string.h>
18036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18037 $EGREP "memchr" >/dev
/null
2>&1; then :
18040 ac_cv_header_stdc
=no
18046 if test $ac_cv_header_stdc = yes; then
18047 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18049 /* end confdefs.h. */
18050 #include <stdlib.h>
18053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18054 $EGREP "free" >/dev
/null
2>&1; then :
18057 ac_cv_header_stdc
=no
18063 if test $ac_cv_header_stdc = yes; then
18064 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18065 if test "$cross_compiling" = yes; then :
18068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18069 /* end confdefs.h. */
18071 #include <stdlib.h>
18072 #if ((' ' & 0x0FF) == 0x020)
18073 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18074 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18076 # define ISLOWER(c) \
18077 (('a' <= (c) && (c) <= 'i') \
18078 || ('j' <= (c) && (c) <= 'r') \
18079 || ('s' <= (c) && (c) <= 'z'))
18080 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18083 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18088 for (i = 0; i < 256; i++)
18089 if (XOR (islower (i), ISLOWER (i))
18090 || toupper (i) != TOUPPER (i))
18095 if ac_fn_c_try_run
"$LINENO"; then :
18098 ac_cv_header_stdc
=no
18100 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
18101 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
18107 $as_echo "$ac_cv_header_stdc" >&6; }
18108 if test $ac_cv_header_stdc = yes; then
18110 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
18114 ac_header_dirent
=no
18115 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
18116 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
18118 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
18119 if eval \
${$as_ac_Header+:} false
; then :
18120 $as_echo_n "(cached) " >&6
18122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18123 /* end confdefs.h. */
18124 #include <sys/types.h>
18136 if ac_fn_c_try_compile
"$LINENO"; then :
18137 eval "$as_ac_Header=yes"
18139 eval "$as_ac_Header=no"
18141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18143 eval ac_res
=\$
$as_ac_Header
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18145 $as_echo "$ac_res" >&6; }
18146 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
18147 cat >>confdefs.h
<<_ACEOF
18148 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
18151 ac_header_dirent
=$ac_hdr; break
18155 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
18156 if test $ac_header_dirent = dirent.h
; then
18157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
18158 $as_echo_n "checking for library containing opendir... " >&6; }
18159 if ${ac_cv_search_opendir+:} false
; then :
18160 $as_echo_n "(cached) " >&6
18162 ac_func_search_save_LIBS
=$LIBS
18163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18164 /* end confdefs.h. */
18166 /* Override any GCC internal prototype to avoid an error.
18167 Use char because int might match the return type of a GCC
18168 builtin and then its argument prototype would still apply. */
18181 for ac_lib
in '' dir
; do
18182 if test -z "$ac_lib"; then
18183 ac_res
="none required"
18186 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18188 if ac_fn_c_try_link
"$LINENO"; then :
18189 ac_cv_search_opendir
=$ac_res
18191 rm -f core conftest.err conftest.
$ac_objext \
18193 if ${ac_cv_search_opendir+:} false
; then :
18197 if ${ac_cv_search_opendir+:} false
; then :
18200 ac_cv_search_opendir
=no
18202 rm conftest.
$ac_ext
18203 LIBS
=$ac_func_search_save_LIBS
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
18206 $as_echo "$ac_cv_search_opendir" >&6; }
18207 ac_res
=$ac_cv_search_opendir
18208 if test "$ac_res" != no
; then :
18209 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
18215 $as_echo_n "checking for library containing opendir... " >&6; }
18216 if ${ac_cv_search_opendir+:} false
; then :
18217 $as_echo_n "(cached) " >&6
18219 ac_func_search_save_LIBS
=$LIBS
18220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18221 /* end confdefs.h. */
18223 /* Override any GCC internal prototype to avoid an error.
18224 Use char because int might match the return type of a GCC
18225 builtin and then its argument prototype would still apply. */
18238 for ac_lib
in '' x
; do
18239 if test -z "$ac_lib"; then
18240 ac_res
="none required"
18243 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18245 if ac_fn_c_try_link
"$LINENO"; then :
18246 ac_cv_search_opendir
=$ac_res
18248 rm -f core conftest.err conftest.
$ac_objext \
18250 if ${ac_cv_search_opendir+:} false
; then :
18254 if ${ac_cv_search_opendir+:} false
; then :
18257 ac_cv_search_opendir
=no
18259 rm conftest.
$ac_ext
18260 LIBS
=$ac_func_search_save_LIBS
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
18263 $as_echo "$ac_cv_search_opendir" >&6; }
18264 ac_res
=$ac_cv_search_opendir
18265 if test "$ac_res" != no
; then :
18266 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
18273 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
18274 if ${ac_cv_header_stat_broken+:} false
; then :
18275 $as_echo_n "(cached) " >&6
18277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18278 /* end confdefs.h. */
18279 #include <sys/types.h>
18280 #include <sys/stat.h>
18282 #if defined S_ISBLK && defined S_IFDIR
18283 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
18286 #if defined S_ISBLK && defined S_IFCHR
18287 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
18290 #if defined S_ISLNK && defined S_IFREG
18291 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
18294 #if defined S_ISSOCK && defined S_IFREG
18295 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
18299 if ac_fn_c_try_compile
"$LINENO"; then :
18300 ac_cv_header_stat_broken
=no
18302 ac_cv_header_stat_broken
=yes
18304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
18307 $as_echo "$ac_cv_header_stat_broken" >&6; }
18308 if test $ac_cv_header_stat_broken = yes; then
18310 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
18314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
18315 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
18316 if ${ac_cv_header_sys_wait_h+:} false
; then :
18317 $as_echo_n "(cached) " >&6
18319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18320 /* end confdefs.h. */
18321 #include <sys/types.h>
18322 #include <sys/wait.h>
18323 #ifndef WEXITSTATUS
18324 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
18327 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
18335 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
18340 if ac_fn_c_try_compile
"$LINENO"; then :
18341 ac_cv_header_sys_wait_h
=yes
18343 ac_cv_header_sys_wait_h
=no
18345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
18348 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
18349 if test $ac_cv_header_sys_wait_h = yes; then
18351 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
18355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be Included" >&5
18356 $as_echo_n "checking whether time.h and sys/time.h may both be Included... " >&6; }
18357 if ${ac_cv_header_time+:} false
; then :
18358 $as_echo_n "(cached) " >&6
18360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18361 /* end confdefs.h. */
18362 #include <sys/types.h>
18363 #include <sys/time.h>
18369 if ((struct tm *) 0)
18375 if ac_fn_c_try_compile
"$LINENO"; then :
18376 ac_cv_header_time
=yes
18378 ac_cv_header_time
=no
18380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
18383 $as_echo "$ac_cv_header_time" >&6; }
18384 if test $ac_cv_header_time = yes; then
18386 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
18390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
18391 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
18392 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false
; then :
18393 $as_echo_n "(cached) " >&6
18395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18396 /* end confdefs.h. */
18397 #include <sys/types.h>
18398 #include <termios.h>
18404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18405 $EGREP "yes" >/dev
/null
2>&1; then :
18406 ac_cv_sys_tiocgwinsz_in_termios_h
=yes
18408 ac_cv_sys_tiocgwinsz_in_termios_h
=no
18413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
18414 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
18416 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
18417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
18418 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
18419 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false
; then :
18420 $as_echo_n "(cached) " >&6
18422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18423 /* end confdefs.h. */
18424 #include <sys/types.h>
18425 #include <sys/ioctl.h>
18431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18432 $EGREP "yes" >/dev
/null
2>&1; then :
18433 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=yes
18435 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=no
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
18441 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
18443 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
18445 $as_echo "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
18451 for ac_header
in unistd.h
18453 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
18454 if test "x$ac_cv_header_unistd_h" = xyes
; then :
18455 cat >>confdefs.h
<<_ACEOF
18456 #define HAVE_UNISTD_H 1
18464 for ac_header
in errno.h \
18489 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18490 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18491 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
18492 cat >>confdefs.h
<<_ACEOF
18493 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18501 ac_fn_c_check_header_mongrel
"$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
18502 if test "x$ac_cv_header_termios_h" = xyes
; then :
18504 $as_echo "#define HAS_TERMIOS 1" >>confdefs.h
18508 ac_fn_c_check_header_mongrel
"$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
18509 if test "x$ac_cv_header_termio_h" = xyes
; then :
18511 $as_echo "#define HAS_TERMIO 1" >>confdefs.h
18515 ac_fn_c_check_header_mongrel
"$LINENO" "sgtty.h" "ac_cv_header_sgtty_h" "$ac_includes_default"
18516 if test "x$ac_cv_header_sgtty_h" = xyes
; then :
18518 $as_echo "#define HAS_SGTTY 1" >>confdefs.h
18522 as_fn_error $?
"Unable to figure out terminal control method" "$LINENO" 5
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
18539 $as_echo_n "checking return type of signal handlers... " >&6; }
18540 if ${ac_cv_type_signal+:} false
; then :
18541 $as_echo_n "(cached) " >&6
18543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18544 /* end confdefs.h. */
18545 #include <sys/types.h>
18546 #include <signal.h>
18551 return *(signal (0, 0)) (0) == 1;
18556 if ac_fn_c_try_compile
"$LINENO"; then :
18557 ac_cv_type_signal
=int
18559 ac_cv_type_signal
=void
18561 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
18564 $as_echo "$ac_cv_type_signal" >&6; }
18566 cat >>confdefs.h
<<_ACEOF
18567 #define RETSIGTYPE $ac_cv_type_signal
18571 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18572 if test "x$ac_cv_type_size_t" = xyes
; then :
18576 cat >>confdefs.h
<<_ACEOF
18577 #define size_t unsigned int
18582 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
18583 if test "x$ac_cv_type_mode_t" = xyes
; then :
18587 cat >>confdefs.h
<<_ACEOF
18593 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
18594 if test "x$ac_cv_type_pid_t" = xyes
; then :
18598 cat >>confdefs.h
<<_ACEOF
18604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
18605 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
18606 if ${ac_cv_type_uid_t+:} false
; then :
18607 $as_echo_n "(cached) " >&6
18609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18610 /* end confdefs.h. */
18611 #include <sys/types.h>
18614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18615 $EGREP "uid_t" >/dev
/null
2>&1; then :
18616 ac_cv_type_uid_t
=yes
18618 ac_cv_type_uid_t
=no
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
18624 $as_echo "$ac_cv_type_uid_t" >&6; }
18625 if test $ac_cv_type_uid_t = no
; then
18627 $as_echo "#define uid_t int" >>confdefs.h
18630 $as_echo "#define gid_t int" >>confdefs.h
18634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
18635 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
18636 if ${ac_cv_struct_tm+:} false
; then :
18637 $as_echo_n "(cached) " >&6
18639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18640 /* end confdefs.h. */
18641 #include <sys/types.h>
18648 int *p = &tm.tm_sec;
18654 if ac_fn_c_try_compile
"$LINENO"; then :
18655 ac_cv_struct_tm
=time.h
18657 ac_cv_struct_tm
=sys
/time.h
18659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
18662 $as_echo "$ac_cv_struct_tm" >&6; }
18663 if test $ac_cv_struct_tm = sys
/time.h
; then
18665 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
18670 ac_fn_c_check_type
"$LINENO" "union wait" "ac_cv_type_union_wait" "$ac_includes_default"
18671 if test "x$ac_cv_type_union_wait" = xyes
; then :
18673 cat >>confdefs.h
<<_ACEOF
18674 #define HAVE_UNION_WAIT 1
18681 for ac_header
in stdint.h
18683 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
18684 if test "x$ac_cv_header_stdint_h" = xyes
; then :
18685 cat >>confdefs.h
<<_ACEOF
18686 #define HAVE_STDINT_H 1
18691 for ac_header
in inttypes.h
18693 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
18694 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
18695 cat >>confdefs.h
<<_ACEOF
18696 #define HAVE_INTTYPES_H 1
18701 for ac_header
in sys
/types.h
18703 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
18704 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
18705 cat >>confdefs.h
<<_ACEOF
18706 #define HAVE_SYS_TYPES_H 1
18711 # The cast to long int works around a bug in the HP C Compiler
18712 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18713 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18714 # This bug is HP SR number 8606223364.
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
18716 $as_echo_n "checking size of unsigned short... " >&6; }
18717 if ${ac_cv_sizeof_unsigned_short+:} false
; then :
18718 $as_echo_n "(cached) " >&6
18720 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
18723 if test "$ac_cv_type_unsigned_short" = yes; then
18724 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18726 as_fn_error
77 "cannot compute sizeof (unsigned short)
18727 See \`config.log' for more details" "$LINENO" 5; }
18729 ac_cv_sizeof_unsigned_short
=0
18734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
18735 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
18739 cat >>confdefs.h
<<_ACEOF
18740 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
18744 if test $ac_cv_sizeof_unsigned_short -eq 2 ; then
18745 uint16
="unsigned short"
18747 # The cast to long int works around a bug in the HP C Compiler
18748 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18749 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18750 # This bug is HP SR number 8606223364.
18751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
18752 $as_echo_n "checking size of unsigned int... " >&6; }
18753 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
18754 $as_echo_n "(cached) " >&6
18756 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
18759 if test "$ac_cv_type_unsigned_int" = yes; then
18760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18761 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18762 as_fn_error
77 "cannot compute sizeof (unsigned int)
18763 See \`config.log' for more details" "$LINENO" 5; }
18765 ac_cv_sizeof_unsigned_int
=0
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
18771 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
18775 cat >>confdefs.h
<<_ACEOF
18776 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
18780 if $ac_cv_sizeof_unsigned_int -eq 2 ; then
18781 uint16
="unsigned int"
18783 as_fn_error $?
"Unable to determine 16 bit integer type" "$LINENO" 5
18802 cat >>confdefs.h
<<_ACEOF
18803 #define UINT16 $uint16
18807 for ac_header
in stdint.h
18809 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
18810 if test "x$ac_cv_header_stdint_h" = xyes
; then :
18811 cat >>confdefs.h
<<_ACEOF
18812 #define HAVE_STDINT_H 1
18817 for ac_header
in inttypes.h
18819 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
18820 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
18821 cat >>confdefs.h
<<_ACEOF
18822 #define HAVE_INTTYPES_H 1
18827 for ac_header
in sys
/types.h
18829 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
18830 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
18831 cat >>confdefs.h
<<_ACEOF
18832 #define HAVE_SYS_TYPES_H 1
18837 # The cast to long int works around a bug in the HP C Compiler
18838 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18839 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18840 # This bug is HP SR number 8606223364.
18841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
18842 $as_echo_n "checking size of unsigned int... " >&6; }
18843 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
18844 $as_echo_n "(cached) " >&6
18846 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
18849 if test "$ac_cv_type_unsigned_int" = yes; then
18850 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18852 as_fn_error
77 "cannot compute sizeof (unsigned int)
18853 See \`config.log' for more details" "$LINENO" 5; }
18855 ac_cv_sizeof_unsigned_int
=0
18860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
18861 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
18865 cat >>confdefs.h
<<_ACEOF
18866 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
18870 if test $ac_cv_sizeof_unsigned_int -eq 4 ; then
18871 uint32
="unsigned int"
18873 # The cast to long int works around a bug in the HP C Compiler
18874 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18875 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18876 # This bug is HP SR number 8606223364.
18877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
18878 $as_echo_n "checking size of unsigned long... " >&6; }
18879 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
18880 $as_echo_n "(cached) " >&6
18882 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
18885 if test "$ac_cv_type_unsigned_long" = yes; then
18886 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18887 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18888 as_fn_error
77 "cannot compute sizeof (unsigned long)
18889 See \`config.log' for more details" "$LINENO" 5; }
18891 ac_cv_sizeof_unsigned_long
=0
18896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
18897 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
18901 cat >>confdefs.h
<<_ACEOF
18902 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
18906 if $ac_cv_sizeof_unsigned_long -eq 4 ; then
18907 uint32
="unsigned long"
18909 as_fn_error $?
"Unable to determine 32 bit integer type" "$LINENO" 5
18928 cat >>confdefs.h
<<_ACEOF
18929 #define UINT32 $uint32
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking argument pointer type of qsort compare function and base" >&5
18934 $as_echo_n "checking argument pointer type of qsort compare function and base... " >&6; }
18935 if ${ac_cv_func_qsort_argtype+:} false
; then :
18936 $as_echo_n "(cached) " >&6
18938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18939 /* end confdefs.h. */
18942 #include "stdlib.h"
18946 extern sortf(const void *, const void *);
18949 const void *b; { return 0; }
18955 qsort(base, 2, sizeof(char *), sortf);
18961 if ac_fn_c_try_compile
"$LINENO"; then :
18962 ac_cv_func_qsort_argtype
=void
18964 ac_cv_func_qsort_argtype
=char
18966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_qsort_argtype" >&5
18970 $as_echo "$ac_cv_func_qsort_argtype" >&6; }
18972 cat >>confdefs.h
<<_ACEOF
18973 #define qsort_t $ac_cv_func_qsort_argtype
18978 for ac_header
in sys
/select.h sys
/socket.h
18980 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18981 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18982 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
18983 cat >>confdefs.h
<<_ACEOF
18984 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
18992 $as_echo_n "checking types of arguments for select... " >&6; }
18993 if ${ac_cv_func_select_args+:} false
; then :
18994 $as_echo_n "(cached) " >&6
18996 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
18997 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
18998 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
18999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19000 /* end confdefs.h. */
19001 $ac_includes_default
19002 #ifdef HAVE_SYS_SELECT_H
19003 # include <sys/select.h>
19005 #ifdef HAVE_SYS_SOCKET_H
19006 # include <sys/socket.h>
19012 extern int select ($ac_arg1,
19013 $ac_arg234, $ac_arg234, $ac_arg234,
19019 if ac_fn_c_try_compile
"$LINENO"; then :
19020 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
19022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19026 # Provide a safe default value.
19027 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
19031 $as_echo "$ac_cv_func_select_args" >&6; }
19032 ac_save_IFS
=$IFS; IFS
=','
19033 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
19037 cat >>confdefs.h
<<_ACEOF
19038 #define SELECT_TYPE_ARG1 $1
19042 cat >>confdefs.h
<<_ACEOF
19043 #define SELECT_TYPE_ARG234 ($2)
19047 cat >>confdefs.h
<<_ACEOF
19048 #define SELECT_TYPE_ARG5 ($3)
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
19055 $as_echo_n "checking for working strcoll... " >&6; }
19056 if ${ac_cv_func_strcoll_works+:} false
; then :
19057 $as_echo_n "(cached) " >&6
19059 if test "$cross_compiling" = yes; then :
19060 ac_cv_func_strcoll_works
=no
19062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19063 /* end confdefs.h. */
19064 $ac_includes_default
19068 return (strcoll ("abc", "def") >= 0 ||
19069 strcoll ("ABC", "DEF") >= 0 ||
19070 strcoll ("123", "456") >= 0)
19075 if ac_fn_c_try_run
"$LINENO"; then :
19076 ac_cv_func_strcoll_works
=yes
19078 ac_cv_func_strcoll_works
=no
19080 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
19081 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
19086 $as_echo "$ac_cv_func_strcoll_works" >&6; }
19087 if test $ac_cv_func_strcoll_works = yes; then
19089 $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
19095 for ac_header
in vfork.h
19097 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
19098 if test "x$ac_cv_header_vfork_h" = xyes
; then :
19099 cat >>confdefs.h
<<_ACEOF
19100 #define HAVE_VFORK_H 1
19107 for ac_func
in fork vfork
19109 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19110 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
19111 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
19112 cat >>confdefs.h
<<_ACEOF
19113 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19119 if test "x$ac_cv_func_fork" = xyes
; then
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
19121 $as_echo_n "checking for working fork... " >&6; }
19122 if ${ac_cv_func_fork_works+:} false
; then :
19123 $as_echo_n "(cached) " >&6
19125 if test "$cross_compiling" = yes; then :
19126 ac_cv_func_fork_works
=cross
19128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19129 /* end confdefs.h. */
19130 $ac_includes_default
19135 /* By Ruediger Kuhlmann. */
19136 return fork () < 0;
19142 if ac_fn_c_try_run
"$LINENO"; then :
19143 ac_cv_func_fork_works
=yes
19145 ac_cv_func_fork_works
=no
19147 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
19148 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
19153 $as_echo "$ac_cv_func_fork_works" >&6; }
19156 ac_cv_func_fork_works
=$ac_cv_func_fork
19158 if test "x$ac_cv_func_fork_works" = xcross
; then
19160 *-*-amigaos* |
*-*-msdosdjgpp*)
19161 # Override, as these systems have only a dummy fork() stub
19162 ac_cv_func_fork_works
=no
19165 ac_cv_func_fork_works
=yes
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
19169 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
19171 ac_cv_func_vfork_works
=$ac_cv_func_vfork
19172 if test "x$ac_cv_func_vfork" = xyes
; then
19173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
19174 $as_echo_n "checking for working vfork... " >&6; }
19175 if ${ac_cv_func_vfork_works+:} false
; then :
19176 $as_echo_n "(cached) " >&6
19178 if test "$cross_compiling" = yes; then :
19179 ac_cv_func_vfork_works
=cross
19181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19182 /* end confdefs.h. */
19183 /* Thanks to Paul Eggert for this test. */
19184 $ac_includes_default
19185 #include <sys/wait.h>
19186 #ifdef HAVE_VFORK_H
19187 # include <vfork.h>
19189 /* On some sparc systems, changes by the child to local and incoming
19190 argument registers are propagated back to the parent. The compiler
19191 is told about this with #include <vfork.h>, but some compilers
19192 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
19193 static variable whose address is put into a register that is
19194 clobbered by the vfork. */
19197 sparc_address_test (int arg)
19199 sparc_address_test (arg) int arg;
19202 static pid_t child;
19220 pid_t parent = getpid ();
19223 sparc_address_test (0);
19228 /* Here is another test for sparc vfork register problems. This
19229 test uses lots of local variables, at least as many local
19230 variables as main has allocated so far including compiler
19231 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
19232 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
19233 reuse the register of parent for one of the local variables,
19234 since it will think that parent can't possibly be used any more
19235 in this routine. Assigning to the local variable will thus
19236 munge parent in the parent process. */
19238 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
19239 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
19240 /* Convince the compiler that p..p7 are live; otherwise, it might
19241 use the same hardware register for all 8 local variables. */
19242 if (p != p1 || p != p2 || p != p3 || p != p4
19243 || p != p5 || p != p6 || p != p7)
19246 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
19247 from child file descriptors. If the child closes a descriptor
19248 before it execs or exits, this munges the parent's descriptor
19249 as well. Test for this by closing stdout in the child. */
19250 _exit(close(fileno(stdout)) != 0);
19255 while (wait(&status) != child)
19258 /* Was there some problem with vforking? */
19261 /* Did the child fail? (This shouldn't happen.) */
19264 /* Did the vfork/compiler bug occur? */
19265 || parent != getpid()
19267 /* Did the file descriptor bug occur? */
19268 || fstat(fileno(stdout), &st) != 0
19273 if ac_fn_c_try_run
"$LINENO"; then :
19274 ac_cv_func_vfork_works
=yes
19276 ac_cv_func_vfork_works
=no
19278 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
19279 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
19284 $as_echo "$ac_cv_func_vfork_works" >&6; }
19287 if test "x$ac_cv_func_fork_works" = xcross
; then
19288 ac_cv_func_vfork_works
=$ac_cv_func_vfork
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
19290 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
19293 if test "x$ac_cv_func_vfork_works" = xyes
; then
19295 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
19299 $as_echo "#define vfork fork" >>confdefs.h
19302 if test "x$ac_cv_func_fork_works" = xyes
; then
19304 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
19308 for ac_func
in strchr \
19341 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19342 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
19343 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
19344 cat >>confdefs.h
<<_ACEOF
19345 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostname" >&5
19353 $as_echo_n "checking for library containing gethostname... " >&6; }
19354 if ${ac_cv_search_gethostname+:} false
; then :
19355 $as_echo_n "(cached) " >&6
19357 ac_func_search_save_LIBS
=$LIBS
19358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19359 /* end confdefs.h. */
19361 /* Override any GCC internal prototype to avoid an error.
19362 Use char because int might match the return type of a GCC
19363 builtin and then its argument prototype would still apply. */
19367 char gethostname ();
19371 return gethostname ();
19376 for ac_lib
in '' nsl
; do
19377 if test -z "$ac_lib"; then
19378 ac_res
="none required"
19381 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19383 if ac_fn_c_try_link
"$LINENO"; then :
19384 ac_cv_search_gethostname
=$ac_res
19386 rm -f core conftest.err conftest.
$ac_objext \
19388 if ${ac_cv_search_gethostname+:} false
; then :
19392 if ${ac_cv_search_gethostname+:} false
; then :
19395 ac_cv_search_gethostname
=no
19397 rm conftest.
$ac_ext
19398 LIBS
=$ac_func_search_save_LIBS
19400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostname" >&5
19401 $as_echo "$ac_cv_search_gethostname" >&6; }
19402 ac_res
=$ac_cv_search_gethostname
19403 if test "$ac_res" != no
; then :
19404 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
19410 $as_echo_n "checking for library containing socket... " >&6; }
19411 if ${ac_cv_search_socket+:} false
; then :
19412 $as_echo_n "(cached) " >&6
19414 ac_func_search_save_LIBS
=$LIBS
19415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19416 /* end confdefs.h. */
19418 /* Override any GCC internal prototype to avoid an error.
19419 Use char because int might match the return type of a GCC
19420 builtin and then its argument prototype would still apply. */
19433 for ac_lib
in '' socket
; do
19434 if test -z "$ac_lib"; then
19435 ac_res
="none required"
19438 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19440 if ac_fn_c_try_link
"$LINENO"; then :
19441 ac_cv_search_socket
=$ac_res
19443 rm -f core conftest.err conftest.
$ac_objext \
19445 if ${ac_cv_search_socket+:} false
; then :
19449 if ${ac_cv_search_socket+:} false
; then :
19452 ac_cv_search_socket
=no
19454 rm conftest.
$ac_ext
19455 LIBS
=$ac_func_search_save_LIBS
19457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
19458 $as_echo "$ac_cv_search_socket" >&6; }
19459 ac_res
=$ac_cv_search_socket
19460 if test "$ac_res" != no
; then :
19461 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bind" >&5
19471 $as_echo_n "checking for library containing bind... " >&6; }
19472 if ${ac_cv_search_bind+:} false
; then :
19473 $as_echo_n "(cached) " >&6
19475 ac_func_search_save_LIBS
=$LIBS
19476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19477 /* end confdefs.h. */
19479 /* Override any GCC internal prototype to avoid an error.
19480 Use char because int might match the return type of a GCC
19481 builtin and then its argument prototype would still apply. */
19494 for ac_lib
in '' bind; do
19495 if test -z "$ac_lib"; then
19496 ac_res
="none required"
19499 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19501 if ac_fn_c_try_link
"$LINENO"; then :
19502 ac_cv_search_bind
=$ac_res
19504 rm -f core conftest.err conftest.
$ac_objext \
19506 if ${ac_cv_search_bind+:} false
; then :
19510 if ${ac_cv_search_bind+:} false
; then :
19513 ac_cv_search_bind
=no
19515 rm conftest.
$ac_ext
19516 LIBS
=$ac_func_search_save_LIBS
19518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind" >&5
19519 $as_echo "$ac_cv_search_bind" >&6; }
19520 ac_res
=$ac_cv_search_bind
19521 if test "$ac_res" != no
; then :
19522 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19531 for ac_func
in sigaction sigemptyset sigaddset sigprocmask
19533 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19534 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
19535 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
19536 cat >>confdefs.h
<<_ACEOF
19537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19541 $as_echo "#define POSIX_SIGNALS /**/" >>confdefs.h
19546 for ac_func
in sigset sigrelse
19548 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19549 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
19550 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
19551 cat >>confdefs.h
<<_ACEOF
19552 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19556 $as_echo "#define SYSV_SIGNALS /**/" >>confdefs.h
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing syslog" >&5
19568 $as_echo_n "checking for library containing syslog... " >&6; }
19569 if ${ac_cv_search_syslog+:} false
; then :
19570 $as_echo_n "(cached) " >&6
19572 ac_func_search_save_LIBS
=$LIBS
19573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19574 /* end confdefs.h. */
19576 /* Override any GCC internal prototype to avoid an error.
19577 Use char because int might match the return type of a GCC
19578 builtin and then its argument prototype would still apply. */
19591 for ac_lib
in '' bsd socket inet
; do
19592 if test -z "$ac_lib"; then
19593 ac_res
="none required"
19596 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19598 if ac_fn_c_try_link
"$LINENO"; then :
19599 ac_cv_search_syslog
=$ac_res
19601 rm -f core conftest.err conftest.
$ac_objext \
19603 if ${ac_cv_search_syslog+:} false
; then :
19607 if ${ac_cv_search_syslog+:} false
; then :
19610 ac_cv_search_syslog
=no
19612 rm conftest.
$ac_ext
19613 LIBS
=$ac_func_search_save_LIBS
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_syslog" >&5
19616 $as_echo "$ac_cv_search_syslog" >&6; }
19617 ac_res
=$ac_cv_search_syslog
19618 if test "$ac_res" != no
; then :
19619 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19622 $as_echo "#define HAVE_SYSLOG 1" >>confdefs.h
19629 if test -n "$alpine_with_local_maildir" ; then
19630 alpine_local_maildir
=$alpine_with_local_maildir
19631 elif test -d /var
/spool
/mail ; then
19632 alpine_local_maildir
="/var/spool/mail"
19633 elif test -d /var
/mail ; then
19634 alpine_local_maildir
="/var/mail"
19636 alpine_local_maildir
="/usr/spool/mail"
19639 if test -n "$alpine_with_c_client_target" ; then
19640 alpine_c_client_target
=$alpine_with_c_client_target
19644 cat >>confdefs.h
<<_ACEOF
19645 #define SYSTYPE "$systype"
19649 cat >>confdefs.h
<<_ACEOF
19650 #define C_FILESEP '$alpine_path_delim'
19654 cat >>confdefs.h
<<_ACEOF
19655 #define S_FILESEP "$alpine_path_delim"
19659 cat >>confdefs.h
<<_ACEOF
19660 #define MAILDIR "$alpine_local_maildir"
19664 cat >>confdefs.h
<<_ACEOF
19665 #define MODE_READONLY $alpine_mode_readonly
19669 C_CLIENT_TARGET
=$alpine_c_client_target
19671 C_CLIENT_WITH_IPV6
=$c_client_ip6
19673 if test "x$alpine_SSLTYPE" = "xnone" ; then
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * NOT Including SSL Support" >&5
19675 $as_echo "$as_me: * * * NOT Including SSL Support" >&6;}
19676 c_client_specials
="${c_client_specials}SSLTYPE=none "
19679 if test -n "$alpine_SSLCERTS" -a -d "$alpine_SSLCERTS" ; then
19680 certdir
="$alpine_SSLCERTS"
19681 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/certs" ; then
19682 certdir
="${alpine_SSLDIR}/certs"
19683 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/ssl/certs" ; then
19684 certdir
="${alpine_SSLDIR}/ssl/certs"
19685 elif test -n "$alpine_SSLCERTS_ORIG" -a -d "$alpine_SSLCERTS_ORIG" ; then
19686 certdir
="$alpine_SSLCERTS_ORIG"
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: SSL Problem: certificate directory not found" >&5
19689 $as_echo "$as_me: SSL Problem: certificate directory not found" >&6;}
19692 if test "x$with_smime" != "xno" ; then
19693 if test -n "$certdir" ; then
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * S/MIME support enabled" >&5
19695 $as_echo "$as_me: * * * S/MIME support enabled" >&6;}
19697 $as_echo "#define SMIME /**/" >>confdefs.h
19700 cat >>confdefs.h
<<_ACEOF
19701 #define SMIME_SSLCERTS "$certdir"
19707 if test ! -f ${certdir}/factory.pem
; then
19708 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * SSL file \"${certdir}/factory.pem\" is missing." >&5
19709 $as_echo "$as_me: * * * SSL file \"${certdir}/factory.pem\" is missing." >&6;}
19710 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * This might indicate that CA certs did not get properly" >&5
19711 $as_echo "$as_me: * * * This might indicate that CA certs did not get properly" >&6;}
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * installed. If you get certificate validation failures" >&5
19713 $as_echo "$as_me: * * * installed. If you get certificate validation failures" >&6;}
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * in Alpine, this might be the reason for them." >&5
19715 $as_echo "$as_me: * * * in Alpine, this might be the reason for them." >&6;}
19718 if test -z "`ls ${certdir} | $EGREP '^[0-9A-Fa-f]{8}\.[0-9]'`" ; then
19719 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * No 8-hexdigit symlinks in certificate directory \"${certdir}\"." >&5
19720 $as_echo "$as_me: * * * No 8-hexdigit symlinks in certificate directory \"${certdir}\"." >&6;}
19721 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * This might indicate that CA certs did not get properly" >&5
19722 $as_echo "$as_me: * * * This might indicate that CA certs did not get properly" >&6;}
19723 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * installed. If you get certificate validation failures" >&5
19724 $as_echo "$as_me: * * * installed. If you get certificate validation failures" >&6;}
19725 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * in Alpine, this might be the reason for them." >&5
19726 $as_echo "$as_me: * * * in Alpine, this might be the reason for them." >&6;}
19729 if test -n "$alpine_SSLINCLUDE" ; then
19730 c_client_specials
="${c_client_specials}SSLINCLUDE=$alpine_SSLINCLUDE "
19733 if test -n "$alpine_SSLLIB" ; then
19734 c_client_specials
="${c_client_specials}SSLLIB=$alpine_SSLLIB "
19737 if test -n "$alpine_SSLDIR" ; then
19738 c_client_specials
="${c_client_specials}SSLDIR=$alpine_SSLDIR "
19741 if test -n "$certdir" ; then
19742 c_client_specials
="${c_client_specials}SSLCERTS=$certdir "
19745 if test -n "$alpine_SSLKEYS" ; then
19746 c_client_specials
="${c_client_specials}SSLKEYS=$alpine_SSLKEYS "
19750 if test "x$alpine_GSSTYPE" != "xnone" ; then
19751 c_client_specials
="${c_client_specials}EXTRAAUTHENTICATORS=gss "
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including Kerberos5 functionality" >&5
19753 $as_echo "$as_me: * * * Including Kerberos5 functionality" >&6;}
19756 if test -n "$CPPFLAGS" ; then
19757 alpine_c_client_cflags
="$alpine_c_client_cflags ${CPPFLAGS}"
19759 if test -n "$CFLAGS" ; then
19760 alpine_c_client_cflags
="$alpine_c_client_cflags ${CFLAGS}"
19763 if test -n "$alpine_c_client_cflags" ; then
19764 C_CLIENT_CFLAGS
=EXTRACFLAGS
=\"$alpine_c_client_cflags\"
19768 if test -n "$LDFLAGS" ; then
19769 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LDFLAGS}"
19771 if test -n "$LIBS" ; then
19772 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LIBS}"
19775 if test -n "$alpine_c_client_ldflags" ; then
19776 C_CLIENT_LDFLAGS
=EXTRALDFLAGS
=\"$alpine_c_client_ldflags\"
19780 if test -n "$alpine_c_client_gccoptlevel" ; then
19781 C_CLIENT_GCCOPTLEVEL
=GCCOPTLEVEL
=\"$alpine_c_client_gccoptlevel\"
19785 C_CLIENT_SPECIALS
=$c_client_specials
19788 if test -z "$WEB_BUILD" ; then
19789 WEB_PUBCOOKIE_BUILD
=
19790 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * TCL libraries could not be found." >&5
19791 $as_echo "$as_me: * * * TCL libraries could not be found." >&6;}
19792 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&5
19793 $as_echo "$as_me: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&6;}
19795 if test -n "$WEB_PUBCOOKIE_BUILD" ; then
19796 if test "x$alpine_GSSTYPE" = "xnone" ; then
19797 WEB_PUBCOOKIE_BUILD
=
19798 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Kerberos5 support not found." >&5
19799 $as_echo "$as_me: * * * Kerberos5 support not found." >&6;}
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&5
19801 $as_echo "$as_me: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&6;}
19802 elif test -z "$WEB_BINDIR" ; then
19803 WEB_PUBCOOKIE_BUILD
=
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Web Alpine binary directory not provided." >&5
19805 $as_echo "$as_me: * * * Web Alpine binary directory not provided." >&6;}
19806 as_fn_error $?
"* * * --with-pubcookie requires --with-web-bin=PATH.
19807 Please re-run configure with these options:
19808 --with-pubcookie --with-web-bin=/usr/local/libexec/alpine/bin" "$LINENO" 5
19811 $as_echo "#define PUBCOOKIE 1" >>confdefs.h
19813 WEB_PUBCOOKIE_LIB
=..
/pubcookie
/libauthgssproxy.a
19814 WEB_PUBCOOKIE_LINK
=gssapi_proxy.l
19830 ac_config_files
="$ac_config_files m4/Makefile po/Makefile.in $REGEX_MAKEFILE pith/osdep/Makefile pith/charconv/Makefile pith/Makefile pico/osdep/Makefile pico/Makefile alpine/osdep/Makefile alpine/Makefile web/src/Makefile web/src/pubcookie/Makefile web/src/alpined.d/Makefile Makefile"
19832 cat >confcache
<<\_ACEOF
19833 # This file is a shell script that caches the results of configure
19834 # tests run on this system so they can be shared between configure
19835 # scripts and configure runs, see configure's option --config-cache.
19836 # It is not useful on other systems. If it contains results you don't
19837 # want to keep, you may remove or edit it.
19839 # config.status only pays attention to the cache file if you give it
19840 # the --recheck option to rerun configure.
19842 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19843 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19844 # following values.
19848 # The following way of writing the cache mishandles newlines in values,
19849 # but we know of no workaround that is simple, portable, and efficient.
19850 # So, we kill variables containing newlines.
19851 # Ultrix sh set writes to stderr and can't be redirected directly,
19852 # and sets the high bit in the cache file unless we assign to the vars.
19854 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19855 eval ac_val
=\$
$ac_var
19859 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19860 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19863 _ | IFS | as_nl
) ;; #(
19864 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
19865 *) { eval $ac_var=; unset $ac_var;} ;;
19871 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19872 *${as_nl}ac_space
=\
*)
19873 # `set' does not quote correctly, so add quotes: double-quote
19874 # substitution turns \\\\ into \\, and sed turns \\ into \.
19877 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19880 # `set' quotes correctly as required by POSIX, so do not add quotes.
19881 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19890 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19892 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19894 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
19895 if test -w "$cache_file"; then
19896 if test "x$cache_file" != "x/dev/null"; then
19897 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19898 $as_echo "$as_me: updating cache $cache_file" >&6;}
19899 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
19900 cat confcache
>"$cache_file"
19902 case $cache_file in #(
19904 mv -f confcache
"$cache_file"$$
&&
19905 mv -f "$cache_file"$$
"$cache_file" ;; #(
19907 mv -f confcache
"$cache_file" ;;
19912 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19913 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19918 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19919 # Let make expand exec_prefix.
19920 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19922 DEFS
=-DHAVE_CONFIG_H
19927 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
19928 # 1. Remove the extension, and $U if already installed.
19929 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
19930 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
19931 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19932 # will be set to the directory where LIBOBJS objects are built.
19933 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19934 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
19936 LIBOBJS
=$ac_libobjs
19938 LTLIBOBJS
=$ac_ltlibobjs
19941 if test -n "$EXEEXT"; then
19943 am__EXEEXT_FALSE
='#'
19945 am__EXEEXT_TRUE
='#'
19949 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19950 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
19951 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19953 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19954 as_fn_error $?
"conditional \"AMDEP\" was never defined.
19955 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19957 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19958 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
19959 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19962 : "${CONFIG_STATUS=./config.status}"
19964 ac_clean_files_save
=$ac_clean_files
19965 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
19966 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19967 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19969 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19971 # Generated by $as_me.
19972 # Run this file to recreate the current configuration.
19973 # Compiler output produced by configure, useful for debugging
19974 # configure, is in config.log if it exists.
19977 ac_cs_recheck=false
19980 SHELL=\${CONFIG_SHELL-$SHELL}
19983 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
19984 ## -------------------- ##
19985 ## M4sh Initialization. ##
19986 ## -------------------- ##
19988 # Be more Bourne compatible
19989 DUALCASE
=1; export DUALCASE
# for MKS sh
19990 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
19993 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19994 # is contrary to our usage. Disable this feature.
19995 alias -g '${1+"$@"}'='"$@"'
19996 setopt NO_GLOB_SUBST
19998 case `(set -o) 2>/dev/null` in #(
20010 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20011 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20012 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20013 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20014 # Prefer a ksh shell builtin over an external printf program on Solaris,
20015 # but without wasting forks for bash or zsh.
20016 if test -z "$BASH_VERSION$ZSH_VERSION" \
20017 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20018 as_echo='print
-r --'
20019 as_echo_n='print
-rn --'
20020 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20021 as_echo='printf %s
\n'
20022 as_echo_n='printf %s
'
20024 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20025 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
20026 as_echo_n='/usr
/ucb
/echo -n'
20028 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20029 as_echo_n_body='eval
20033 expr "X$arg" : "X\\(.*\\)$as_nl";
20034 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20036 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
20038 export as_echo_n_body
20039 as_echo_n='sh
-c $as_echo_n_body as_echo
'
20041 export as_echo_body
20042 as_echo='sh
-c $as_echo_body as_echo
'
20045 # The user is always right.
20046 if test "${PATH_SEPARATOR+set}" != set; then
20048 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20049 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20056 # We need space, tab and new line, in precisely that order. Quoting is
20057 # there to prevent editors from complaining about space-tab.
20058 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20059 # splitting by setting IFS to empty value.)
20062 # Find who we are. Look in the path if we contain no directory separator.
20065 *[\\/]* ) as_myself=$0 ;;
20066 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20067 for as_dir in $PATH
20070 test -z "$as_dir" && as_dir=.
20071 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20077 # We did not find ourselves, most probably we were run as `sh COMMAND'
20078 # in which case we are not to be found in the path.
20079 if test "x$as_myself" = x
; then
20082 if test ! -f "$as_myself"; then
20083 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20087 # Unset variables that we do not need and which cause bugs (e.g. in
20088 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20089 # suppresses any "Segmentation fault" message there. '((' could
20090 # trigger a bug in pdksh 5.2.14.
20091 for as_var
in BASH_ENV ENV MAIL MAILPATH
20092 do eval test x\
${$as_var+set} = xset \
20093 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
20106 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
20109 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20110 # ----------------------------------------
20111 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20112 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20113 # script with STATUS, using 1 if that was 0.
20116 as_status
=$1; test $as_status -eq 0 && as_status
=1
20118 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
20119 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20121 $as_echo "$as_me: error: $2" >&2
20122 as_fn_exit
$as_status
20126 # as_fn_set_status STATUS
20127 # -----------------------
20128 # Set $? to STATUS, without forking.
20129 as_fn_set_status
()
20132 } # as_fn_set_status
20134 # as_fn_exit STATUS
20135 # -----------------
20136 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20140 as_fn_set_status
$1
20146 # Portably unset VAR.
20149 { eval $1=; unset $1;}
20151 as_unset
=as_fn_unset
20152 # as_fn_append VAR VALUE
20153 # ----------------------
20154 # Append the text in VALUE to the end of the definition contained in VAR. Take
20155 # advantage of any shell optimizations that allow amortized linear growth over
20156 # repeated appends, instead of the typical quadratic growth present in naive
20158 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
20159 eval 'as_fn_append ()
20170 # as_fn_arith ARG...
20171 # ------------------
20172 # Perform arithmetic evaluation on the ARGs, and store the result in the
20173 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20174 # must be portable across $(()) and expr.
20175 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
20176 eval 'as_fn_arith ()
20183 as_val
=`expr "$@" || test $? -eq 1`
20188 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
20189 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
20195 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20196 as_basename
=basename
20201 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
20207 as_me
=`$as_basename -- "$0" ||
20208 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20209 X"$0" : 'X\(//\)$' \| \
20210 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20212 sed '/^.*\/\([^/][^/]*\)\/*$/{
20226 # Avoid depending upon Character Ranges.
20227 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20228 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20229 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20230 as_cr_digits
='0123456789'
20231 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20233 ECHO_C
= ECHO_N
= ECHO_T
=
20234 case `echo -n x` in #(((((
20236 case `echo 'xy\c'` in
20237 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
20239 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
20246 rm -f conf$$ conf$$.exe conf$$.
file
20247 if test -d conf$$.dir
; then
20248 rm -f conf$$.dir
/conf$$.
file
20251 mkdir conf$$.dir
2>/dev
/null
20253 if (echo >conf$$.
file) 2>/dev
/null
; then
20254 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20256 # ... but there are two gotchas:
20257 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20258 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20259 # In both cases, we have to default to `cp -pR'.
20260 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
20262 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20270 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
20271 rmdir conf$$.dir
2>/dev
/null
20276 # Create "$as_dir" as a directory, including parents if necessary.
20281 -*) as_dir
=.
/$as_dir;;
20283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
20287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20288 *) as_qdir
=$as_dir;;
20290 as_dirs
="'$as_qdir' $as_dirs"
20291 as_dir
=`$as_dirname -- "$as_dir" ||
20292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20293 X"$as_dir" : 'X\(//\)[^/]' \| \
20294 X"$as_dir" : 'X\(//\)$' \| \
20295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20296 $as_echo X"$as_dir" |
20297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20301 /^X\(\/\/\)[^/].*/{
20314 test -d "$as_dir" && break
20316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
20317 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
20321 if mkdir
-p .
2>/dev
/null
; then
20322 as_mkdir_p
='mkdir -p "$as_dir"'
20324 test -d .
/-p && rmdir .
/-p
20329 # as_fn_executable_p FILE
20330 # -----------------------
20331 # Test if FILE is an executable regular file.
20332 as_fn_executable_p
()
20334 test -f "$1" && test -x "$1"
20335 } # as_fn_executable_p
20336 as_test_x
='test -x'
20337 as_executable_p
=as_fn_executable_p
20339 # Sed expression to map a string onto a valid CPP name.
20340 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20342 # Sed expression to map a string onto a valid variable name.
20343 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20347 ## ----------------------------------- ##
20348 ## Main body of $CONFIG_STATUS script. ##
20349 ## ----------------------------------- ##
20351 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
20353 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20354 # Save the log message, to keep $0 and so on meaningful, and to
20355 # report actual input values of CONFIG_FILES etc. instead of their
20356 # values after options handling.
20358 This file was extended by alpine $as_me 2.19.999, which was
20359 generated by GNU Autoconf 2.69. Invocation command line was
20361 CONFIG_FILES = $CONFIG_FILES
20362 CONFIG_HEADERS = $CONFIG_HEADERS
20363 CONFIG_LINKS = $CONFIG_LINKS
20364 CONFIG_COMMANDS = $CONFIG_COMMANDS
20367 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20372 case $ac_config_files in *"
20373 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
20376 case $ac_config_headers in *"
20377 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
20381 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20382 # Files that config.status was made for.
20383 config_files="$ac_config_files"
20384 config_headers="$ac_config_headers"
20385 config_commands="$ac_config_commands"
20389 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20391 \`$as_me' instantiates files and other configuration actions
20392 from templates according to the current configuration. Unless the files
20393 and actions are specified as TAGs, all are instantiated by default.
20395 Usage: $0 [OPTION]... [TAG]...
20397 -h, --help print this help, then exit
20398 -V, --version print version number and configuration settings, then exit
20399 --config print configuration, then exit
20400 -q, --quiet, --silent
20401 do not print progress messages
20402 -d, --debug don't remove temporary files
20403 --recheck update $as_me by reconfiguring in the same conditions
20404 --file=FILE[:TEMPLATE]
20405 instantiate the configuration file FILE
20406 --header=FILE[:TEMPLATE]
20407 instantiate the configuration header FILE
20409 Configuration files:
20412 Configuration headers:
20415 Configuration commands:
20418 Report bugs to <chappa@washington.edu>."
20421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20422 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20424 alpine config.status 2.19.999
20425 configured by $0, generated by GNU Autoconf 2.69,
20426 with options \\"\$ac_cs_config\\"
20428 Copyright (C) 2012 Free Software Foundation, Inc.
20429 This config.status script is free software; the Free Software Foundation
20430 gives unlimited permission to copy, distribute and modify it."
20437 test -n "\$AWK" || AWK=awk
20440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20441 # The default lists apply if the user does not specify any file.
20447 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20448 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
20452 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
20464 # Handling of the options.
20465 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20467 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
20468 $as_echo "$ac_cs_version"; exit ;;
20469 --config |
--confi |
--conf |
--con |
--co |
--c )
20470 $as_echo "$ac_cs_config"; exit ;;
20471 --debug |
--debu |
--deb |
--de |
--d |
-d )
20473 --file |
--fil |
--fi |
--f )
20476 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20477 '') as_fn_error $?
"missing file argument" ;;
20479 as_fn_append CONFIG_FILES
" '$ac_optarg'"
20480 ac_need_defaults
=false
;;
20481 --header |
--heade |
--head |
--hea )
20484 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20486 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
20487 ac_need_defaults
=false
;;
20489 # Conflict between --help and --header
20490 as_fn_error $?
"ambiguous option: \`$1'
20491 Try \`$0 --help' for more information.";;
20492 --help |
--hel |
-h )
20493 $as_echo "$ac_cs_usage"; exit ;;
20494 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20495 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20498 # This is an error.
20499 -*) as_fn_error $?
"unrecognized option: \`$1'
20500 Try \`$0 --help' for more information." ;;
20502 *) as_fn_append ac_config_targets
" $1"
20503 ac_need_defaults
=false
;;
20509 ac_configure_extra_args
=
20511 if $ac_cs_silent; then
20513 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20518 if \$ac_cs_recheck; then
20519 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20521 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20522 CONFIG_SHELL='$SHELL'
20523 export CONFIG_SHELL
20528 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20532 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20533 ## Running $as_me. ##
20539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20543 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20546 # The HP-UX ksh and POSIX shell print the target directory to stdout
20547 # if CDPATH is set.
20548 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20550 sed_quote_subst='$sed_quote_subst'
20551 double_quote_subst='$double_quote_subst'
20552 delay_variable_subst='$delay_variable_subst'
20553 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
20554 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
20555 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
20556 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
20557 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
20558 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
20559 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
20560 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
20561 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
20562 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
20563 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
20564 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
20565 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
20566 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
20567 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
20568 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
20569 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
20570 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
20571 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
20572 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
20573 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
20574 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
20575 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
20576 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
20577 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
20578 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
20579 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
20580 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20581 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
20582 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
20583 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
20584 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
20585 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20586 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
20587 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
20588 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20589 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20590 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20591 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
20592 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
20593 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
20594 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
20595 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
20596 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
20597 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"`'
20598 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"`'
20599 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
20600 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
20601 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
20602 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
20603 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
20604 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
20605 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
20606 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
20607 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
20608 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
20609 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
20610 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
20611 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
20612 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
20613 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
20614 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
20615 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20616 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20617 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
20618 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
20619 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20620 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20621 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
20622 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20623 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20624 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20625 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20626 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20627 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20628 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
20629 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20630 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
20631 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
20632 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
20633 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
20634 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
20635 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
20636 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
20637 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20638 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
20639 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
20640 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
20641 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
20642 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
20643 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20644 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20645 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
20646 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20647 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
20648 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
20649 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
20650 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
20651 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
20652 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20653 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
20654 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
20655 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20656 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
20657 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
20658 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20659 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20660 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
20661 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
20662 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
20663 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20664 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
20665 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
20666 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
20667 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
20668 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
20669 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
20670 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
20673 LTCFLAGS='$LTCFLAGS'
20674 compiler='$compiler_DEFAULT'
20676 # Quote evaled strings.
20688 deplibs_check_method \
20697 lt_cv_sys_global_symbol_pipe \
20698 lt_cv_sys_global_symbol_to_cdecl \
20699 lt_cv_sys_global_symbol_to_c_name_address \
20700 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20703 lt_prog_compiler_no_builtin_flag \
20704 lt_prog_compiler_wl \
20705 lt_prog_compiler_pic \
20706 lt_prog_compiler_static \
20707 lt_cv_prog_compiler_c_o \
20715 export_dynamic_flag_spec \
20716 whole_archive_flag_spec \
20717 compiler_needs_object \
20719 allow_undefined_flag \
20720 no_undefined_flag \
20721 hardcode_libdir_flag_spec \
20722 hardcode_libdir_flag_spec_ld \
20723 hardcode_libdir_separator \
20728 variables_saved_for_relink \
20730 library_names_spec \
20735 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20736 *[\\\\\\\`\\"\\\$]*)
20737 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
20740 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20745 # Double-quote double-evaled strings.
20746 for var in reload_cmds \
20747 old_postinstall_cmds \
20748 old_postuninstall_cmds \
20750 extract_expsyms_cmds \
20751 old_archive_from_new_cmds \
20752 old_archive_from_expsyms_cmds \
20754 archive_expsym_cmds \
20756 module_expsym_cmds \
20757 export_symbols_cmds \
20760 postuninstall_cmds \
20762 sys_lib_search_path_spec \
20763 sys_lib_dlsearch_path_spec; do
20764 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
20765 *[\\\\\\\`\\"\\\$]*)
20766 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
20769 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20774 # Fix-up fallback echo if it was mangled by the above quoting rules.
20776 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
20780 ac_aux_dir='$ac_aux_dir'
20781 xsi_shell='$xsi_shell'
20782 lt_shell_append='$lt_shell_append'
20784 # See if we are running on zsh, and set the options which allow our
20785 # commands through without removal of \ escapes INIT.
20786 if test -n "\${ZSH_VERSION+set}" ; then
20787 setopt NO_GLOB_SUBST
20793 TIMESTAMP='$TIMESTAMP'
20799 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
20800 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
20801 # from automake < 1.5.
20802 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
20803 # Capture the value of LINGUAS because we need it to compute CATALOGS.
20804 LINGUAS="${LINGUAS-%UNSET%}"
20809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
20811 # Handling of arguments.
20812 for ac_config_target
in $ac_config_targets
20814 case $ac_config_target in
20815 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20816 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
20817 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
20818 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
20819 "m4/Makefile") CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
20820 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
20821 "$REGEX_MAKEFILE") CONFIG_FILES
="$CONFIG_FILES $REGEX_MAKEFILE" ;;
20822 "pith/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/osdep/Makefile" ;;
20823 "pith/charconv/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/charconv/Makefile" ;;
20824 "pith/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/Makefile" ;;
20825 "pico/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/osdep/Makefile" ;;
20826 "pico/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/Makefile" ;;
20827 "alpine/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/osdep/Makefile" ;;
20828 "alpine/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/Makefile" ;;
20829 "web/src/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/Makefile" ;;
20830 "web/src/pubcookie/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/pubcookie/Makefile" ;;
20831 "web/src/alpined.d/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/alpined.d/Makefile" ;;
20832 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20834 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20839 # If the user did not use the arguments to specify the items to instantiate,
20840 # then the envvar interface is used. Set only those that are not.
20841 # We use the long form for the default assignment because of an extremely
20842 # bizarre bug on SunOS 4.1.3.
20843 if $ac_need_defaults; then
20844 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20845 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20846 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20849 # Have a temporary directory for convenience. Make it in the build tree
20850 # simply because there is no reason against having it here, and in addition,
20851 # creating and moving files from /tmp can sometimes cause problems.
20852 # Hook for its removal unless debugging.
20853 # Note that there is a small window in which the directory will not be cleaned:
20854 # after its creation but before its name has been assigned to `$tmp'.
20858 trap 'exit_status=$?
20859 : "${ac_tmp:=$tmp}"
20860 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20862 trap 'as_fn_exit 1' 1 2 13 15
20864 # Create a (secure) tmp directory for tmp files.
20867 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20871 tmp
=.
/conf$$
-$RANDOM
20872 (umask 077 && mkdir
"$tmp")
20873 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
20876 # Set up the scripts for CONFIG_FILES section.
20877 # No need to generate them if there are no CONFIG_FILES.
20878 # This happens for instance with `./config.status config.h'.
20879 if test -n "$CONFIG_FILES"; then
20882 ac_cr
=`echo X | tr X '\015'`
20883 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20884 # But we know of no other shell where ac_cr would be empty at this
20885 # point, so we can use a bashism as a fallback.
20886 if test "x$ac_cr" = x
; then
20887 eval ac_cr
=\$
\'\\r
\'
20889 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20890 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20893 ac_cs_awk_cr
=$ac_cr
20896 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20901 echo "cat >conf$$subs.awk <<_ACEOF" &&
20902 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20904 } >conf$$subs.sh ||
20905 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20906 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20908 for ac_last_try in false false false false false :; do
20909 . ./conf$$subs.sh ||
20910 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20912 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
20913 if test $ac_delim_n = $ac_delim_num; then
20915 elif $ac_last_try; then
20916 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
20918 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
20921 rm -f conf$$subs.sh
20923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20924 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
20928 s/^/S["/; s
/!.
*/"]=/
20938 s/\(.\{148\}\)..*/\1/
20940 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
20945 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20952 s/\(.\{148\}\)..*/\1/
20954 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
20958 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
20963 ' <conf$$subs.awk | sed '
20968 ' >>$CONFIG_STATUS || ac_write_fail=1
20969 rm -f conf$$subs.awk
20970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20972 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
20973 for (key in S) S_is_set[key] = 1
20979 nfields = split(line, field, "@
")
20981 len = length(field[1])
20982 for (i = 2; i < nfields; i++) {
20984 keylen = length(key)
20985 if (S_is_set[key]) {
20987 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20988 len += length(value) + length(field[++i])
20999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21000 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21001 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
21004 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
21005 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
21008 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21009 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
21010 # trailing colons and then remove the whole line if VPATH becomes empty
21011 # (actually we leave an empty line to preserve line numbers).
21012 if test "x
$srcdir" = x.; then
21013 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21031 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21032 fi # test -n "$CONFIG_FILES"
21034 # Set up the scripts for CONFIG_HEADERS section.
21035 # No need to generate them if there are no CONFIG_HEADERS.
21036 # This happens for instance with `./config.status Makefile'.
21037 if test -n "$CONFIG_HEADERS"; then
21038 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
21042 # Transform confdefs.h into an awk script `defines.awk', embedded as
21043 # here-document in config.status, that substitutes the proper values into
21044 # config.h.in to produce config.h.
21046 # Create a delimiter string that does not exist in confdefs.h, to ease
21047 # handling of long lines.
21049 for ac_last_try in false false :; do
21050 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
21051 if test -z "$ac_tt"; then
21053 elif $ac_last_try; then
21054 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
21056 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
21060 # For the awk script, D is an array of macro values keyed by name,
21061 # likewise P contains macro parameters if any. Preserve backslash
21062 # newline sequences.
21064 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21066 s/.\{148\}/&'"$ac_delim"'/g
21069 s/^[ ]*#[ ]*define[ ][ ]*/ /
21076 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
21078 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
21082 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
21083 D["\
1"]=" \
3\\\\\\n
"\\/p
21085 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
21090 s/.\{148\}/&'"$ac_delim"'/g
21095 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
21098 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
21100 ' <confdefs.h | sed '
21101 s/'"$ac_delim"'/"\\\
21102 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21105 for (key in D) D_is_set[key] = 1
21108 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21110 split(line, arg, " ")
21111 if (arg[1] == "#") {
21115 defundef
= substr
(arg
[1], 2)
21118 split(mac1
, mac2
, "(") #)
21120 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
21121 if (D_is_set
[macro
]) {
21122 # Preserve the white space surrounding the "#".
21123 print prefix
"define", macro P
[macro
] D
[macro
]
21126 # Replace #undef with comments. This is necessary, for example,
21127 # in the case of _POSIX_SOURCE, which is predefined and required
21128 # on some systems where configure will not decide to define it.
21129 if (defundef
== "undef") {
21130 print
"/*", prefix defundef
, macro
, "*/"
21138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21139 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
21140 fi # test -n "$CONFIG_HEADERS"
21143 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21148 :[FHLC
]) ac_mode
=$ac_tag; continue;;
21150 case $ac_mode$ac_tag in
21152 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
21153 :[FH
]-) ac_tag
=-:-;;
21154 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
21171 -) ac_f
="$ac_tmp/stdin";;
21172 *) # Look for the file first in the build tree, then in the source tree
21173 # (if the path is not absolute). The absolute path cannot be DOS-style,
21174 # because $ac_f cannot contain `:'.
21178 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
21180 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21182 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21183 as_fn_append ac_file_inputs
" '$ac_f'"
21186 # Let's still pretend it is `configure' which instantiates (i.e., don't
21187 # use $as_me), people would be surprised to read:
21188 # /* config.h. Generated by config.status. */
21189 configure_input
='Generated from '`
21190 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21192 if test x
"$ac_file" != x-
; then
21193 configure_input
="$ac_file. $configure_input"
21194 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21195 $as_echo "$as_me: creating $ac_file" >&6;}
21197 # Neutralize special characters interpreted by sed in replacement strings.
21198 case $configure_input in #(
21199 *\
&* |
*\|
* |
*\\* )
21200 ac_sed_conf_input
=`$as_echo "$configure_input" |
21201 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21202 *) ac_sed_conf_input
=$configure_input;;
21206 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
21207 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
21212 ac_dir
=`$as_dirname -- "$ac_file" ||
21213 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21214 X"$ac_file" : 'X\(//\)[^/]' \| \
21215 X"$ac_file" : 'X\(//\)$' \| \
21216 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21217 $as_echo X"$ac_file" |
21218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21222 /^X\(\/\/\)[^/].*/{
21235 as_dir
="$ac_dir"; as_fn_mkdir_p
21239 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21241 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21242 # A ".." for each directory in $ac_dir_suffix.
21243 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21244 case $ac_top_builddir_sub in
21245 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
21246 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
21249 ac_abs_top_builddir
=$ac_pwd
21250 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
21251 # for backward compatibility:
21252 ac_top_builddir
=$ac_top_build_prefix
21255 .
) # We are building in place.
21257 ac_top_srcdir
=$ac_top_builddir_sub
21258 ac_abs_top_srcdir
=$ac_pwd ;;
21259 [\\/]* | ?
:[\\/]* ) # Absolute name.
21260 ac_srcdir
=$srcdir$ac_dir_suffix;
21261 ac_top_srcdir
=$srcdir
21262 ac_abs_top_srcdir
=$srcdir ;;
21263 *) # Relative name.
21264 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
21265 ac_top_srcdir
=$ac_top_build_prefix$srcdir
21266 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
21268 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
21278 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21279 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
21281 ac_MKDIR_P
=$MKDIR_P
21283 [\\/$
]* | ?
:[\\/]* ) ;;
21284 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
21288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21289 # If the template does not know about datarootdir, expand it.
21290 # FIXME: This hack should be removed a few years after 2.60.
21291 ac_datarootdir_hack
=; ac_datarootdir_seen
=
21302 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21303 *datarootdir
*) ac_datarootdir_seen
=yes;;
21304 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
21305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21306 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21308 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21309 ac_datarootdir_hack='
21310 s&@datadir@&$datadir&g
21311 s&@docdir@&$docdir&g
21312 s&@infodir@&$infodir&g
21313 s&@localedir@&$localedir&g
21314 s&@mandir@&$mandir&g
21315 s&\\\${datarootdir}&$datarootdir&g' ;;
21319 # Neutralize VPATH when `$srcdir' = `.'.
21320 # Shell code in configure.ac might set extrasub.
21321 # FIXME: do we really want to maintain this feature?
21322 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21323 ac_sed_extra="$ac_vpsub
21326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21328 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21329 s|@configure_input@|
$ac_sed_conf_input|
;t t
21330 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
21331 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
21332 s
&@srcdir@
&$ac_srcdir&;t t
21333 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
21334 s
&@top_srcdir@
&$ac_top_srcdir&;t t
21335 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
21336 s
&@builddir@
&$ac_builddir&;t t
21337 s
&@abs_builddir@
&$ac_abs_builddir&;t t
21338 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
21339 s
&@INSTALL@
&$ac_INSTALL&;t t
21340 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
21341 $ac_datarootdir_hack
21343 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
21344 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
21346 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21347 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
21348 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21349 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
21350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
21351 which seems to be undefined. Please make sure it is defined" >&5
21352 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
21353 which seems to be undefined. Please make sure it is defined" >&2;}
21355 rm -f "$ac_tmp/stdin"
21357 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21358 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21360 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21366 if test x"$ac_file" != x-; then
21368 $as_echo "/* $configure_input */" \
21369 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21370 } >"$ac_tmp/config.h" \
21371 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21372 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21373 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21374 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21377 mv "$ac_tmp/config.h" "$ac_file" \
21378 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21381 $as_echo "/* $configure_input */" \
21382 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21383 || as_fn_error $? "could not create -" "$LINENO" 5
21385 # Compute "$ac_file"'s index
in $config_headers.
21388 for _am_header
in $config_headers :; do
21389 case $_am_header in
21390 $_am_arg |
$_am_arg:* )
21393 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
21396 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21397 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21398 X"$_am_arg" : 'X\(//\)[^/]' \| \
21399 X"$_am_arg" : 'X\(//\)$' \| \
21400 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21401 $as_echo X"$_am_arg" |
21402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21406 /^X\(\/\/\)[^/].*/{
21418 s/.*/./; q'`/stamp-h
$_am_stamp_count
21421 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21422 $as_echo "$as_me: executing $ac_file commands" >&6;}
21427 case $ac_file$ac_mode in
21428 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
21429 # Autoconf 2.62 quotes --file arguments for eval, but not when files
21430 # are listed without --file. Let's play safe and only enable the eval
21431 # if we detect the quoting.
21432 case $CONFIG_FILES in
21433 *\'*) eval set x
"$CONFIG_FILES" ;;
21434 *) set x
$CONFIG_FILES ;;
21439 # Strip MF so we end up with the name of the file.
21440 mf
=`echo "$mf" | sed -e 's/:.*$//'`
21441 # Check whether this is an Automake generated Makefile or not.
21442 # We used to match only the files named `Makefile.in', but
21443 # some people rename them; so instead we look at the file content.
21444 # Grep'ing the first line is not enough: some people post-process
21445 # each Makefile.in and add a new line on top of each file to say so.
21446 # Grep'ing the whole file is not good either: AIX grep has a line
21447 # limit of 2048, but all sed's we know have understand at least 4000.
21448 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
21449 dirpart
=`$as_dirname -- "$mf" ||
21450 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21451 X"$mf" : 'X\(//\)[^/]' \| \
21452 X"$mf" : 'X\(//\)$' \| \
21453 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21459 /^X\(\/\/\)[^/].*/{
21475 # Extract the definition of DEPDIR, am__include, and am__quote
21476 # from the Makefile without running `make'.
21477 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
21478 test -z "$DEPDIR" && continue
21479 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
21480 test -z "am__include" && continue
21481 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
21482 # When using ansi2knr, U may be empty or an underscore; expand it
21483 U
=`sed -n 's/^U = //p' < "$mf"`
21484 # Find all dependency output files, they are included files with
21485 # $(DEPDIR) in their names. We invoke sed twice because it is the
21486 # simplest approach to changing $(DEPDIR) to its actual value in the
21488 for file in `sed -n "
21489 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21490 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
21491 # Make sure the directory exists.
21492 test -f "$dirpart/$file" && continue
21493 fdir
=`$as_dirname -- "$file" ||
21494 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21495 X"$file" : 'X\(//\)[^/]' \| \
21496 X"$file" : 'X\(//\)$' \| \
21497 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21498 $as_echo X"$file" |
21499 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21503 /^X\(\/\/\)[^/].*/{
21516 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
21517 # echo "creating $dirpart/$file"
21518 echo '# dummy' > "$dirpart/$file"
21525 # See if we are running on zsh, and set the options which allow our
21526 # commands through without removal of \ escapes.
21527 if test -n "${ZSH_VERSION+set}" ; then
21528 setopt NO_GLOB_SUBST
21531 cfgfile
="${ofile}T"
21532 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21535 cat <<_LT_EOF >> "$cfgfile"
21538 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
21539 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
21540 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21542 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
21543 # 2006, 2007, 2008 Free Software Foundation, Inc.
21544 # Written by Gordon Matzigkeit, 1996
21546 # This file is part of GNU Libtool.
21548 # GNU Libtool is free software; you can redistribute it and/or
21549 # modify it under the terms of the GNU General Public License as
21550 # published by the Free Software Foundation; either version 2 of
21551 # the License, or (at your option) any later version.
21553 # As a special exception to the GNU General Public License,
21554 # if you distribute this file as part of a program or library that
21555 # is built using GNU Libtool, you may include this file under the
21556 # same distribution terms that you use for the rest of that program.
21558 # GNU Libtool is distributed in the hope that it will be useful,
21559 # but WITHOUT ANY WARRANTY; without even the implied warranty of
21560 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21561 # GNU General Public License for more details.
21563 # You should have received a copy of the GNU General Public License
21564 # along with GNU Libtool; see the file COPYING. If not, a copy
21565 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
21566 # obtained by writing to the Free Software Foundation, Inc.,
21567 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21570 # The names of the tagged configurations supported by this script.
21573 # ### BEGIN LIBTOOL CONFIG
21575 # Which release of libtool.m4 was used?
21576 macro_version=$macro_version
21577 macro_revision=$macro_revision
21579 # Whether or not to build shared libraries.
21580 build_libtool_libs=$enable_shared
21582 # Whether or not to build static libraries.
21583 build_old_libs=$enable_static
21585 # What type of objects to build.
21588 # Whether or not to optimize for fast installation.
21589 fast_install=$enable_fast_install
21592 host_alias=$host_alias
21596 # The build system.
21597 build_alias=$build_alias
21601 # A sed program that does not truncate output.
21604 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21605 Xsed="\$SED -e 1s/^X//"
21607 # A grep program that handles long lines.
21613 # A literal string matcher.
21616 # A BSD- or MS-compatible name lister.
21619 # Whether we need soft or hard links.
21622 # What is the maximum length of a command?
21623 max_cmd_len=$max_cmd_len
21625 # Object file suffix (normally "o").
21628 # Executable file suffix (normally "").
21631 # whether the shell understands "unset".
21634 # turn spaces into newlines.
21637 # turn newlines into spaces.
21640 # How to create reloadable object files.
21641 reload_flag=$lt_reload_flag
21642 reload_cmds=$lt_reload_cmds
21644 # An object symbol dumper.
21645 OBJDUMP=$lt_OBJDUMP
21647 # Method to check whether dependent libraries are shared objects.
21648 deplibs_check_method=$lt_deplibs_check_method
21650 # Command to use when deplibs_check_method == "file_magic".
21651 file_magic_cmd=$lt_file_magic_cmd
21655 AR_FLAGS=$lt_AR_FLAGS
21657 # A symbol stripping program.
21660 # Commands used to install an old-style archive.
21662 old_postinstall_cmds=$lt_old_postinstall_cmds
21663 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21668 # LTCC compiler flags.
21669 LTCFLAGS=$lt_CFLAGS
21671 # Take the output of nm and produce a listing of raw symbols and C names.
21672 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21674 # Transform the output of nm in a proper C declaration.
21675 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21677 # Transform the output of nm in a C name address pair.
21678 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21680 # Transform the output of nm in a C name address pair when lib prefix is needed.
21681 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21683 # The name of the directory that contains temporary libtool files.
21686 # Shell to use when invoking shell scripts.
21689 # An echo program that does not interpret backslashes.
21692 # Used to examine libraries when file_magic_cmd begins with "file".
21693 MAGIC_CMD=$MAGIC_CMD
21695 # Must we lock files when doing compilation?
21696 need_locks=$lt_need_locks
21698 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21699 DSYMUTIL=$lt_DSYMUTIL
21701 # Tool to change global to local symbols on Mac OS X.
21704 # Tool to manipulate fat objects and archives on Mac OS X.
21707 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21710 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21711 OTOOL64=$lt_OTOOL64
21713 # Old archive suffix (normally "a").
21716 # Shared library suffix (normally ".so").
21717 shrext_cmds=$lt_shrext_cmds
21719 # The commands to extract the exported symbol list from a shared archive.
21720 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21722 # Variables whose values should be saved in libtool wrapper scripts and
21723 # restored at link time.
21724 variables_saved_for_relink=$lt_variables_saved_for_relink
21726 # Do we need the "lib" prefix for modules?
21727 need_lib_prefix=$need_lib_prefix
21729 # Do we need a version for libraries?
21730 need_version=$need_version
21732 # Library versioning type.
21733 version_type=$version_type
21735 # Shared library runtime path variable.
21736 runpath_var=$runpath_var
21738 # Shared library path variable.
21739 shlibpath_var=$shlibpath_var
21741 # Is shlibpath searched before the hard-coded library search path?
21742 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21744 # Format of library name prefix.
21745 libname_spec=$lt_libname_spec
21747 # List of archive names. First name is the real one, the rest are links.
21748 # The last name is the one that the linker finds with -lNAME
21749 library_names_spec=$lt_library_names_spec
21751 # The coded name of the library, if different from the real name.
21752 soname_spec=$lt_soname_spec
21754 # Command to use after installation of a shared archive.
21755 postinstall_cmds=$lt_postinstall_cmds
21757 # Command to use after uninstallation of a shared archive.
21758 postuninstall_cmds=$lt_postuninstall_cmds
21760 # Commands used to finish a libtool library installation in a directory.
21761 finish_cmds=$lt_finish_cmds
21763 # As "finish_cmds", except a single script fragment to be evaled but
21765 finish_eval=$lt_finish_eval
21767 # Whether we should hardcode library paths into libraries.
21768 hardcode_into_libs=$hardcode_into_libs
21770 # Compile-time system search path for libraries.
21771 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21773 # Run-time system search path for libraries.
21774 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21776 # Whether dlopen is supported.
21777 dlopen_support=$enable_dlopen
21779 # Whether dlopen of programs is supported.
21780 dlopen_self=$enable_dlopen_self
21782 # Whether dlopen of statically linked programs is supported.
21783 dlopen_self_static=$enable_dlopen_self_static
21785 # Commands to strip libraries.
21786 old_striplib=$lt_old_striplib
21787 striplib=$lt_striplib
21790 # The linker used to build libraries.
21793 # Commands used to build an old-style archive.
21794 old_archive_cmds=$lt_old_archive_cmds
21796 # A language specific compiler.
21799 # Is the compiler the GNU compiler?
21802 # Compiler flag to turn off builtin functions.
21803 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21805 # How to pass a linker flag through the compiler.
21806 wl=$lt_lt_prog_compiler_wl
21808 # Additional compiler flags for building library objects.
21809 pic_flag=$lt_lt_prog_compiler_pic
21811 # Compiler flag to prevent dynamic linking.
21812 link_static_flag=$lt_lt_prog_compiler_static
21814 # Does compiler simultaneously support -c and -o options?
21815 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21817 # Whether or not to add -lc for building shared libraries.
21818 build_libtool_need_lc=$archive_cmds_need_lc
21820 # Whether or not to disallow shared libs when runtime libs are static.
21821 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21823 # Compiler flag to allow reflexive dlopens.
21824 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21826 # Compiler flag to generate shared objects directly from archives.
21827 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21829 # Whether the compiler copes with passing no objects directly.
21830 compiler_needs_object=$lt_compiler_needs_object
21832 # Create an old-style archive from a shared archive.
21833 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21835 # Create a temporary old-style archive to link instead of a shared archive.
21836 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21838 # Commands used to build a shared archive.
21839 archive_cmds=$lt_archive_cmds
21840 archive_expsym_cmds=$lt_archive_expsym_cmds
21842 # Commands used to build a loadable module if different from building
21843 # a shared archive.
21844 module_cmds=$lt_module_cmds
21845 module_expsym_cmds=$lt_module_expsym_cmds
21847 # Whether we are building with GNU ld or not.
21848 with_gnu_ld=$lt_with_gnu_ld
21850 # Flag that allows shared libraries with undefined symbols to be built.
21851 allow_undefined_flag=$lt_allow_undefined_flag
21853 # Flag that enforces no undefined symbols.
21854 no_undefined_flag=$lt_no_undefined_flag
21856 # Flag to hardcode \$libdir into a binary during linking.
21857 # This must work even if \$libdir does not exist
21858 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21860 # If ld is used when linking, flag to hardcode \$libdir into a binary
21861 # during linking. This must work even if \$libdir does not exist.
21862 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
21864 # Whether we need a single "-rpath" flag with a separated argument.
21865 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21867 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21868 # DIR into the resulting binary.
21869 hardcode_direct=$hardcode_direct
21871 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21872 # DIR into the resulting binary and the resulting library dependency is
21873 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21874 # library is relocated.
21875 hardcode_direct_absolute=$hardcode_direct_absolute
21877 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21878 # into the resulting binary.
21879 hardcode_minus_L=$hardcode_minus_L
21881 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21882 # into the resulting binary.
21883 hardcode_shlibpath_var=$hardcode_shlibpath_var
21885 # Set to "yes" if building a shared library automatically hardcodes DIR
21886 # into the library and all subsequent libraries and executables linked
21888 hardcode_automatic=$hardcode_automatic
21890 # Set to yes if linker adds runtime paths of dependent libraries
21891 # to runtime path list.
21892 inherit_rpath=$inherit_rpath
21894 # Whether libtool must link a program against all its dependency libraries.
21895 link_all_deplibs=$link_all_deplibs
21897 # Fix the shell variable \$srcfile for the compiler.
21898 fix_srcfile_path=$lt_fix_srcfile_path
21900 # Set to "yes" if exported symbols are required.
21901 always_export_symbols=$always_export_symbols
21903 # The commands to list exported symbols.
21904 export_symbols_cmds=$lt_export_symbols_cmds
21906 # Symbols that should not be listed in the preloaded symbols.
21907 exclude_expsyms=$lt_exclude_expsyms
21909 # Symbols that must always be exported.
21910 include_expsyms=$lt_include_expsyms
21912 # Commands necessary for linking programs (against libraries) with templates.
21913 prelink_cmds=$lt_prelink_cmds
21915 # Specify filename containing input files.
21916 file_list_spec=$lt_file_list_spec
21918 # How to hardcode a shared library path into an executable.
21919 hardcode_action=$hardcode_action
21921 # ### END LIBTOOL CONFIG
21927 cat <<\_LT_EOF
>> "$cfgfile"
21928 # AIX sometimes has problems with the GCC collect2 program. For some
21929 # reason, if we set the COLLECT_NAMES environment variable, the problems
21930 # vanish in a puff of smoke.
21931 if test "X${COLLECT_NAMES+set}" != Xset
; then
21933 export COLLECT_NAMES
21940 ltmain
="$ac_aux_dir/ltmain.sh"
21943 # We use sed instead of cat because bash on DJGPP gets confused if
21944 # if finds mixed CR/LF and LF-only lines. Since sed operates in
21945 # text mode, it properly converts lines to CR/LF. This bash problem
21946 # is reportedly fixed, but why not run on old versions too?
21947 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
21948 ||
(rm -f "$cfgfile"; exit 1)
21952 cat << \_LT_EOF
>> "$cfgfile"
21954 # func_dirname file append nondir_replacement
21955 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
21956 # otherwise set result to NONDIR_REPLACEMENT.
21960 */*) func_dirname_result
="${1%/*}${2}" ;;
21961 * ) func_dirname_result
="${3}" ;;
21965 # func_basename file
21968 func_basename_result
="${1##*/}"
21971 # func_dirname_and_basename file append nondir_replacement
21972 # perform func_basename and func_dirname in a single function
21974 # dirname: Compute the dirname of FILE. If nonempty,
21975 # add APPEND to the result, otherwise set result
21976 # to NONDIR_REPLACEMENT.
21977 # value returned in "$func_dirname_result"
21978 # basename: Compute filename of FILE.
21979 # value retuned in "$func_basename_result"
21980 # Implementation must be kept synchronized with func_dirname
21981 # and func_basename. For efficiency, we do not delegate to
21982 # those functions but instead duplicate the functionality here.
21983 func_dirname_and_basename
()
21986 */*) func_dirname_result
="${1%/*}${2}" ;;
21987 * ) func_dirname_result
="${3}" ;;
21989 func_basename_result
="${1##*/}"
21992 # func_stripname prefix suffix name
21993 # strip PREFIX and SUFFIX off of NAME.
21994 # PREFIX and SUFFIX must not contain globbing or regex special
21995 # characters, hashes, percent signs, but SUFFIX may contain a leading
21996 # dot (in which case that matches only a dot).
21999 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
22000 # positional parameters, so assign one to ordinary parameter first.
22001 func_stripname_result
=${3}
22002 func_stripname_result
=${func_stripname_result#"${1}"}
22003 func_stripname_result
=${func_stripname_result%"${2}"}
22009 func_opt_split_opt
=${1%%=*}
22010 func_opt_split_arg
=${1#*=}
22017 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
22018 *) func_lo2o_result
=${1} ;;
22022 # func_xform libobj-or-source
22025 func_xform_result
=${1%.*}.lo
22028 # func_arith arithmetic-term...
22031 func_arith_result
=$
(( $
* ))
22035 # STRING may not start with a hyphen.
22038 func_len_result
=${#1}
22043 *) # Bourne compatible functions.
22044 cat << \_LT_EOF
>> "$cfgfile"
22046 # func_dirname file append nondir_replacement
22047 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
22048 # otherwise set result to NONDIR_REPLACEMENT.
22051 # Extract subdirectory from the argument.
22052 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
22053 if test "X$func_dirname_result" = "X${1}"; then
22054 func_dirname_result
="${3}"
22056 func_dirname_result
="$func_dirname_result${2}"
22060 # func_basename file
22063 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
22067 # func_stripname prefix suffix name
22068 # strip PREFIX and SUFFIX off of NAME.
22069 # PREFIX and SUFFIX must not contain globbing or regex special
22070 # characters, hashes, percent signs, but SUFFIX may contain a leading
22071 # dot (in which case that matches only a dot).
22072 # func_strip_suffix prefix name
22076 .
*) func_stripname_result
=`$ECHO "X${3}" \
22077 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
22078 *) func_stripname_result
=`$ECHO "X${3}" \
22079 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
22084 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
22085 my_sed_long_arg
='1s/^-[^=]*=//'
22090 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
22091 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
22097 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
22100 # func_xform libobj-or-source
22103 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
22106 # func_arith arithmetic-term...
22109 func_arith_result
=`expr "$@"`
22113 # STRING may not start with a hyphen.
22116 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
22122 case $lt_shell_append in
22124 cat << \_LT_EOF
>> "$cfgfile"
22126 # func_append var value
22127 # Append VALUE to the end of shell variable VAR.
22135 cat << \_LT_EOF
>> "$cfgfile"
22137 # func_append var value
22138 # Append VALUE to the end of shell variable VAR.
22149 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
22150 ||
(rm -f "$cfgfile"; exit 1)
22152 mv -f "$cfgfile" "$ofile" ||
22153 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22157 "po-directories":C
)
22158 for ac_file
in $CONFIG_FILES; do
22159 # Support "outfile[:infile[:infile...]]"
22161 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
22163 # PO directories have a Makefile.in generated from Makefile.in.in.
22164 case "$ac_file" in */Makefile.
in)
22165 # Adjust a relative srcdir.
22166 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
22167 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
22168 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
22169 # In autoconf-2.13 it is called $ac_given_srcdir.
22170 # In autoconf-2.50 it is called $srcdir.
22171 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
22172 case "$ac_given_srcdir" in
22173 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
22174 /*) top_srcdir
="$ac_given_srcdir" ;;
22175 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
22177 # Treat a directory as a PO directory if and only if it has a
22178 # POTFILES.in file. This allows packages to have multiple PO
22179 # directories under different names or in different locations.
22180 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
22181 rm -f "$ac_dir/POTFILES"
22182 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
22183 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
22184 POMAKEFILEDEPS
="POTFILES.in"
22185 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
22186 # on $ac_dir but don't depend on user-specified configuration
22188 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
22189 # The LINGUAS file contains the set of available languages.
22190 if test -n "$OBSOLETE_ALL_LINGUAS"; then
22191 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
22193 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
22194 # Hide the ALL_LINGUAS assigment from automake < 1.5.
22195 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
22196 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
22198 # The set of available languages was given in configure.in.
22199 # Hide the ALL_LINGUAS assigment from automake < 1.5.
22200 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
22203 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
22204 # Compute UPDATEPOFILES
22205 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
22206 # Compute DUMMYPOFILES
22207 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
22209 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
22210 case "$ac_given_srcdir" in
22212 *) srcdirpre
='$(srcdir)/' ;;
22218 for lang
in $ALL_LINGUAS; do
22219 POFILES
="$POFILES $srcdirpre$lang.po"
22220 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
22221 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
22222 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
22224 # CATALOGS depends on both $ac_dir and the user's LINGUAS
22225 # environment variable.
22227 if test -n "$ALL_LINGUAS"; then
22228 for presentlang
in $ALL_LINGUAS; do
22230 if test "%UNSET%" != "$LINGUAS"; then
22231 desiredlanguages
="$LINGUAS"
22233 desiredlanguages
="$ALL_LINGUAS"
22235 for desiredlang
in $desiredlanguages; do
22236 # Use the presentlang catalog if desiredlang is
22237 # a. equal to presentlang, or
22238 # b. a variant of presentlang (because in this case,
22239 # presentlang can be used as a fallback for messages
22240 # which are not translated in the desiredlang catalog).
22241 case "$desiredlang" in
22242 "$presentlang"*) useit
=yes;;
22245 if test $useit = yes; then
22246 INST_LINGUAS
="$INST_LINGUAS $presentlang"
22251 if test -n "$INST_LINGUAS"; then
22252 for lang
in $INST_LINGUAS; do
22253 CATALOGS
="$CATALOGS $lang.gmo"
22256 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
22257 sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
22258 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
22259 if test -f "$f"; then
22261 *.orig |
*.bak |
*~
) ;;
22262 *) cat "$f" >> "$ac_dir/Makefile" ;;
22277 ac_clean_files
=$ac_clean_files_save
22279 test $ac_write_fail = 0 ||
22280 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
22283 # configure is writing to config.log, and then calls config.status.
22284 # config.status does its own redirection, appending to config.log.
22285 # Unfortunately, on DOS this fails, as config.log is still kept open
22286 # by configure, so config.status won't be able to write to it; its
22287 # output is simply discarded. So we exec the FD to /dev/null,
22288 # effectively closing config.log, so it can be properly (re)opened and
22289 # appended to by config.status. When coming back to configure, we
22290 # need to make the FD available again.
22291 if test "$no_create" != yes; then
22293 ac_config_status_args
=
22294 test "$silent" = yes &&
22295 ac_config_status_args
="$ac_config_status_args --quiet"
22297 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
22299 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22300 # would make configure fail if this is the last instruction.
22301 $ac_cs_success || as_fn_exit
1
22303 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
22304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22305 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}