2 # From configure.ac Rev:27 by chappa@washington.edu.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69 for alpine 2.21.99999.
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
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
210 test \$(( 1 + 1 )) = 2 || exit 1"
211 if (eval "$as_required") 2>/dev
/null
; then :
216 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
221 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
224 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 # Try only shells that exist, to save several forks.
230 as_shell
=$as_dir/$as_base
231 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 CONFIG_SHELL
=$as_shell as_have_required
=yes
234 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
242 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
243 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
244 CONFIG_SHELL
=$SHELL as_have_required
=yes
249 if test "x$CONFIG_SHELL" != x
; then :
251 # We cannot yet assume a decent shell, so we have to provide a
252 # neutralization value for shells without unset; and this also
253 # works around shells that cannot unset nonexistent variables.
254 # Preserve -v and -x to the replacement shell.
257 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
259 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
264 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
265 # Admittedly, this is quite paranoid, since all the known shells bail
266 # out after a failed `exec'.
267 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
271 if test x
$as_have_required = xno
; then :
272 $as_echo "$0: This script requires a shell more modern than all"
273 $as_echo "$0: the shells that I found on your system."
274 if test x
${ZSH_VERSION+set} = xset
; then
275 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
276 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
278 $as_echo "$0: Please tell bug-autoconf@gnu.org and
279 $0: chappa@washington.edu about your system, including any
280 $0: error possibly output before this message. Then install
281 $0: a modern shell, or manually run the script under such a
282 $0: shell if you do have one."
288 SHELL
=${CONFIG_SHELL-/bin/sh}
290 # Unset more variables known to interfere with behavior of common tools.
291 CLICOLOR_FORCE
= GREP_OPTIONS
=
292 unset CLICOLOR_FORCE GREP_OPTIONS
294 ## --------------------- ##
295 ## M4sh Shell Functions. ##
296 ## --------------------- ##
299 # Portably unset VAR.
302 { eval $1=; unset $1;}
306 # as_fn_set_status STATUS
307 # -----------------------
308 # Set $? to STATUS, without forking.
316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326 # Create "$as_dir" as a directory, including parents if necessary.
331 -*) as_dir
=.
/$as_dir;;
333 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
337 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340 as_dirs
="'$as_qdir' $as_dirs"
341 as_dir
=`$as_dirname -- "$as_dir" ||
342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343 X"$as_dir" : 'X\(//\)[^/]' \| \
344 X"$as_dir" : 'X\(//\)$' \| \
345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346 $as_echo X"$as_dir" |
347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364 test -d "$as_dir" && break
366 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
367 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
372 # as_fn_executable_p FILE
373 # -----------------------
374 # Test if FILE is an executable regular file.
375 as_fn_executable_p
()
377 test -f "$1" && test -x "$1"
378 } # as_fn_executable_p
379 # as_fn_append VAR VALUE
380 # ----------------------
381 # Append the text in VALUE to the end of the definition contained in VAR. Take
382 # advantage of any shell optimizations that allow amortized linear growth over
383 # repeated appends, instead of the typical quadratic growth present in naive
385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
386 eval 'as_fn_append ()
399 # Perform arithmetic evaluation on the ARGs, and store the result in the
400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
401 # must be portable across $(()) and expr.
402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
410 as_val
=`expr "$@" || test $? -eq 1`
415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
416 # ----------------------------------------
417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419 # script with STATUS, using 1 if that was 0.
422 as_status
=$1; test $as_status -eq 0 && as_status
=1
424 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427 $as_echo "$as_me: error: $2" >&2
428 as_fn_exit
$as_status
431 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
432 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
438 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
450 as_me
=`$as_basename -- "$0" ||
451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452 X"$0" : 'X\(//\)$' \| \
453 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 sed '/^.*\/\([^/][^/]*\)\/*$/{
469 # Avoid depending upon Character Ranges.
470 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
471 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
473 as_cr_digits
='0123456789'
474 as_cr_alnum
=$as_cr_Letters$as_cr_digits
477 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
478 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 chmod +x
"$as_me.lineno" ||
498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501 # already done that, so ensure we don't try to do so again and fall
502 # in an infinite loop. This has already happened in practice.
503 _as_can_reexec
=no
; export _as_can_reexec
504 # Don't try to exec as it changes $[0], causing all sort of problems
505 # (the dirname of $[0] is not the place where we might find the
506 # original and so on. Autoconf is especially sensitive to this).
508 # Exit status is that of the last command.
512 ECHO_C
= ECHO_N
= ECHO_T
=
513 case `echo -n x` in #(((((
515 case `echo 'xy\c'` in
516 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
518 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
525 rm -f conf$$ conf$$.exe conf$$.
file
526 if test -d conf$$.dir
; then
527 rm -f conf$$.dir
/conf$$.
file
530 mkdir conf$$.dir
2>/dev
/null
532 if (echo >conf$$.
file) 2>/dev
/null
; then
533 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
535 # ... but there are two gotchas:
536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538 # In both cases, we have to default to `cp -pR'.
539 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
541 elif ln conf$$.
file conf$$
2>/dev
/null
; then
549 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
550 rmdir conf$$.dir
2>/dev
/null
552 if mkdir
-p .
2>/dev
/null
; then
553 as_mkdir_p
='mkdir -p "$as_dir"'
555 test -d .
/-p && rmdir .
/-p
560 as_executable_p
=as_fn_executable_p
562 # Sed expression to map a string onto a valid CPP name.
563 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565 # Sed expression to map a string onto a valid variable name.
566 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568 SHELL
=${CONFIG_SHELL-/bin/sh}
571 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
576 # so uname gets run too.
577 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
582 ac_default_prefix
=/usr
/local
584 ac_config_libobj_dir
=.
591 # Identity of this package.
592 PACKAGE_NAME
='alpine'
593 PACKAGE_TARNAME
='alpine'
594 PACKAGE_VERSION
='2.21.99999'
595 PACKAGE_STRING
='alpine 2.21.99999'
596 PACKAGE_BUGREPORT
='chappa@washington.edu'
599 ac_unique_file
="include/system.h"
600 # Factoring default headers for most tests.
601 ac_includes_default
="\
603 #ifdef HAVE_SYS_TYPES_H
604 # include <sys/types.h>
606 #ifdef HAVE_SYS_STAT_H
607 # include <sys/stat.h>
613 # ifdef HAVE_STDLIB_H
618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
623 #ifdef HAVE_STRINGS_H
624 # include <strings.h>
626 #ifdef HAVE_INTTYPES_H
627 # include <inttypes.h>
637 ac_subst_vars
='am__EXEEXT_FALSE
660 alpine_interactive_spellcheck
662 alpine_simple_spellcheck
746 MAINTAINER_MODE_FALSE
760 INSTALL_STRIP_PROGRAM
802 program_transform_name
815 enable_option_checking
817 enable_maintainer_mode
818 enable_dependency_tracking
836 enable_osx_universal_binaries
846 enable_background_post
854 with_simple_spellcheck
855 with_interactive_spellcheck
857 with_system_fixed_pinerc
858 with_local_support_info
859 with_mailcheck_interval
860 with_checkpoint_interval
861 with_checkpoint_frequency
864 with_max_display_rows
865 with_max_display_columns
871 with_forwarded_keyword
875 with_default_save_folder
876 with_default_legacy_postponed_folder
877 with_default_postponed_folder
878 with_default_trash_folder
879 with_default_interrupted_mail
880 with_default_dead_letter_folder
881 with_default_mail_directory
882 with_default_inbox_name
883 with_default_signature_file
884 with_default_elm_style_save
885 with_default_header_in_reply
886 with_default_old_style_reply
887 with_default_use_only_domain_name
888 with_default_save_by_sender
889 with_default_sort_key
890 with_default_addressbook_sort_rule
891 with_default_folder_sort_rule
892 with_default_saved_message_name_rule
893 with_default_fcc_rule
894 with_default_standard_printer
895 with_default_ansi_printer
896 with_default_addressbook
897 with_default_local_fullname
898 with_default_local_address
899 with_default_keyboard_lock_count
900 with_default_remote_addressbook_history
901 with_smime_public_cert_directory
902 with_smime_private_key_directory
903 with_smime_cacert_directory
906 with_local_password_cache
907 with_local_password_cache_method
915 with_encryption_minimum_version
916 with_encryption_maximum_version
917 with_encryption_range
920 with_krb5_include_dir
924 with_ldap_include_dir
933 with_system_mail_directory
938 ac_precious_vars
='build_alias
949 # Initialize some variables set by options.
951 ac_init_version
=false
952 ac_unrecognized_opts
=
954 # The variables have the same names as the options, with
955 # dashes changed to underlines.
963 program_transform_name
=s
,x
,x
,
971 # Installation directory options.
972 # These are left unexpanded so users can "make install exec_prefix=/foo"
973 # and all the variables that are supposed to be based on exec_prefix
974 # by default will actually change.
975 # Use braces instead of parens because sh, perl, etc. also accept them.
976 # (The list follows the same order as the GNU Coding Standards.)
977 bindir
='${exec_prefix}/bin'
978 sbindir
='${exec_prefix}/sbin'
979 libexecdir
='${exec_prefix}/libexec'
980 datarootdir
='${prefix}/share'
981 datadir
='${datarootdir}'
982 sysconfdir
='${prefix}/etc'
983 sharedstatedir
='${prefix}/com'
984 localstatedir
='${prefix}/var'
985 includedir
='${prefix}/include'
986 oldincludedir
='/usr/include'
987 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
988 infodir
='${datarootdir}/info'
993 libdir
='${exec_prefix}/lib'
994 localedir
='${datarootdir}/locale'
995 mandir
='${datarootdir}/man'
1001 # If the previous option needs an argument, assign it.
1002 if test -n "$ac_prev"; then
1003 eval $ac_prev=\
$ac_option
1009 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1014 # Accept the important Cygnus configure options, so we can diagnose typos.
1016 case $ac_dashdash$ac_option in
1020 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1022 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1023 bindir
=$ac_optarg ;;
1025 -build |
--build |
--buil |
--bui |
--bu)
1026 ac_prev
=build_alias
;;
1027 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1028 build_alias
=$ac_optarg ;;
1030 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1031 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1032 ac_prev
=cache_file
;;
1033 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1034 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1035 cache_file
=$ac_optarg ;;
1037 --config-cache |
-C)
1038 cache_file
=config.cache
;;
1040 -datadir |
--datadir |
--datadi |
--datad)
1042 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1043 datadir
=$ac_optarg ;;
1045 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1046 |
--dataroo |
--dataro |
--datar)
1047 ac_prev
=datarootdir
;;
1048 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1049 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1050 datarootdir
=$ac_optarg ;;
1052 -disable-* |
--disable-*)
1053 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1056 as_fn_error $?
"invalid feature name: $ac_useropt"
1057 ac_useropt_orig
=$ac_useropt
1058 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1059 case $ac_user_opts in
1061 "enable_
$ac_useropt"
1063 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1064 ac_unrecognized_sep
=', ';;
1066 eval enable_
$ac_useropt=no
;;
1068 -docdir |
--docdir |
--docdi |
--doc |
--do)
1070 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1071 docdir
=$ac_optarg ;;
1073 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1075 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1076 dvidir
=$ac_optarg ;;
1078 -enable-* |
--enable-*)
1079 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1082 as_fn_error $?
"invalid feature name: $ac_useropt"
1083 ac_useropt_orig
=$ac_useropt
1084 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1085 case $ac_user_opts in
1087 "enable_
$ac_useropt"
1089 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1090 ac_unrecognized_sep
=', ';;
1092 eval enable_
$ac_useropt=\
$ac_optarg ;;
1094 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1095 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1096 |
--exec |
--exe |
--ex)
1097 ac_prev
=exec_prefix
;;
1098 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1099 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1100 |
--exec=* |
--exe=* |
--ex=*)
1101 exec_prefix
=$ac_optarg ;;
1103 -gas |
--gas |
--ga |
--g)
1104 # Obsolete; use --with-gas.
1107 -help |
--help |
--hel |
--he |
-h)
1108 ac_init_help
=long
;;
1109 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1110 ac_init_help
=recursive
;;
1111 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1112 ac_init_help
=short
;;
1114 -host |
--host |
--hos |
--ho)
1115 ac_prev
=host_alias
;;
1116 -host=* |
--host=* |
--hos=* |
--ho=*)
1117 host_alias
=$ac_optarg ;;
1119 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1121 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1123 htmldir
=$ac_optarg ;;
1125 -includedir |
--includedir |
--includedi |
--included |
--include \
1126 |
--includ |
--inclu |
--incl |
--inc)
1127 ac_prev
=includedir
;;
1128 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1129 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1130 includedir
=$ac_optarg ;;
1132 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1134 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1135 infodir
=$ac_optarg ;;
1137 -libdir |
--libdir |
--libdi |
--libd)
1139 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1140 libdir
=$ac_optarg ;;
1142 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1143 |
--libexe |
--libex |
--libe)
1144 ac_prev
=libexecdir
;;
1145 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1146 |
--libexe=* |
--libex=* |
--libe=*)
1147 libexecdir
=$ac_optarg ;;
1149 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1150 ac_prev
=localedir
;;
1151 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1152 localedir
=$ac_optarg ;;
1154 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1155 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1156 ac_prev
=localstatedir
;;
1157 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1158 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1159 localstatedir
=$ac_optarg ;;
1161 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1163 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1164 mandir
=$ac_optarg ;;
1166 -nfp |
--nfp |
--nf)
1167 # Obsolete; use --without-fp.
1170 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1171 |
--no-cr |
--no-c |
-n)
1174 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1175 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1178 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1179 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1180 |
--oldin |
--oldi |
--old |
--ol |
--o)
1181 ac_prev
=oldincludedir
;;
1182 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1183 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1184 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1185 oldincludedir
=$ac_optarg ;;
1187 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1189 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1190 prefix
=$ac_optarg ;;
1192 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1193 |
--program-pre |
--program-pr |
--program-p)
1194 ac_prev
=program_prefix
;;
1195 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1196 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1197 program_prefix
=$ac_optarg ;;
1199 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1200 |
--program-suf |
--program-su |
--program-s)
1201 ac_prev
=program_suffix
;;
1202 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1203 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1204 program_suffix
=$ac_optarg ;;
1206 -program-transform-name |
--program-transform-name \
1207 |
--program-transform-nam |
--program-transform-na \
1208 |
--program-transform-n |
--program-transform- \
1209 |
--program-transform |
--program-transfor \
1210 |
--program-transfo |
--program-transf \
1211 |
--program-trans |
--program-tran \
1212 |
--progr-tra |
--program-tr |
--program-t)
1213 ac_prev
=program_transform_name
;;
1214 -program-transform-name=* |
--program-transform-name=* \
1215 |
--program-transform-nam=* |
--program-transform-na=* \
1216 |
--program-transform-n=* |
--program-transform-=* \
1217 |
--program-transform=* |
--program-transfor=* \
1218 |
--program-transfo=* |
--program-transf=* \
1219 |
--program-trans=* |
--program-tran=* \
1220 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1221 program_transform_name
=$ac_optarg ;;
1223 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1225 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1226 pdfdir
=$ac_optarg ;;
1228 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1230 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1233 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1234 |
-silent |
--silent |
--silen |
--sile |
--sil)
1237 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1239 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1241 sbindir
=$ac_optarg ;;
1243 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1244 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1245 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1247 ac_prev
=sharedstatedir
;;
1248 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1249 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1250 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1252 sharedstatedir
=$ac_optarg ;;
1254 -site |
--site |
--sit)
1256 -site=* |
--site=* |
--sit=*)
1259 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1261 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1262 srcdir
=$ac_optarg ;;
1264 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1265 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1266 ac_prev
=sysconfdir
;;
1267 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1268 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1269 sysconfdir
=$ac_optarg ;;
1271 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1272 ac_prev
=target_alias
;;
1273 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1274 target_alias
=$ac_optarg ;;
1276 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1279 -version |
--version |
--versio |
--versi |
--vers |
-V)
1280 ac_init_version
=: ;;
1283 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1284 # Reject names that are not valid shell variable names.
1285 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1286 as_fn_error $?
"invalid package name: $ac_useropt"
1287 ac_useropt_orig
=$ac_useropt
1288 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1289 case $ac_user_opts in
1293 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1294 ac_unrecognized_sep
=', ';;
1296 eval with_
$ac_useropt=\
$ac_optarg ;;
1298 -without-* |
--without-*)
1299 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1300 # Reject names that are not valid shell variable names.
1301 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1302 as_fn_error $?
"invalid package name: $ac_useropt"
1303 ac_useropt_orig
=$ac_useropt
1304 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1305 case $ac_user_opts in
1309 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1310 ac_unrecognized_sep
=', ';;
1312 eval with_
$ac_useropt=no
;;
1315 # Obsolete; use --with-x.
1318 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1319 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1320 ac_prev
=x_includes
;;
1321 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1322 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1323 x_includes
=$ac_optarg ;;
1325 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1326 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1327 ac_prev
=x_libraries
;;
1328 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1329 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1330 x_libraries
=$ac_optarg ;;
1332 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1333 Try \`$0 --help' for more information"
1337 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1338 # Reject names that are not valid shell variable names.
1339 case $ac_envvar in #(
1340 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1341 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1343 eval $ac_envvar=\
$ac_optarg
1344 export $ac_envvar ;;
1347 # FIXME: should be removed in autoconf 3.0.
1348 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1349 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1350 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1351 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1357 if test -n "$ac_prev"; then
1358 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1359 as_fn_error $?
"missing argument to $ac_option"
1362 if test -n "$ac_unrecognized_opts"; then
1363 case $enable_option_checking in
1365 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1366 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1370 # Check all directory arguments for consistency.
1371 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1372 datadir sysconfdir sharedstatedir localstatedir includedir \
1373 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1374 libdir localedir mandir
1376 eval ac_val
=\$
$ac_var
1377 # Remove trailing slashes.
1380 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1381 eval $ac_var=\
$ac_val;;
1383 # Be sure to have absolute directory names.
1385 [\\/$
]* | ?
:[\\/]* ) continue;;
1386 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1388 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1391 # There might be people who depend on the old broken behavior: `$host'
1392 # used to hold the argument of --host etc.
1393 # FIXME: To remove some day.
1396 target
=$target_alias
1398 # FIXME: To remove some day.
1399 if test "x$host_alias" != x
; then
1400 if test "x$build_alias" = x
; then
1401 cross_compiling
=maybe
1402 elif test "x$build_alias" != "x$host_alias"; then
1408 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1410 test "$silent" = yes && exec 6>/dev
/null
1413 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1414 ac_ls_di
=`ls -di .` &&
1415 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1416 as_fn_error $?
"working directory cannot be determined"
1417 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1418 as_fn_error $?
"pwd does not report name of working directory"
1421 # Find the source files, if location was not specified.
1422 if test -z "$srcdir"; then
1423 ac_srcdir_defaulted
=yes
1424 # Try the directory containing this script, then the parent directory.
1425 ac_confdir
=`$as_dirname -- "$as_myself" ||
1426 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1427 X"$as_myself" : 'X\(//\)[^/]' \| \
1428 X"$as_myself" : 'X\(//\)$' \| \
1429 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1430 $as_echo X"$as_myself" |
1431 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1449 if test ! -r "$srcdir/$ac_unique_file"; then
1453 ac_srcdir_defaulted
=no
1455 if test ! -r "$srcdir/$ac_unique_file"; then
1456 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1457 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1459 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1461 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1463 # When building in place, set srcdir=.
1464 if test "$ac_abs_confdir" = "$ac_pwd"; then
1467 # Remove unnecessary trailing slashes from srcdir.
1468 # Double slashes in file names in object file debugging info
1469 # mess up M-x gdb in Emacs.
1471 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1473 for ac_var
in $ac_precious_vars; do
1474 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1475 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1476 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1477 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1481 # Report the --help message.
1483 if test "$ac_init_help" = "long"; then
1484 # Omit some internal or obsolete options to make the list less imposing.
1485 # This message is too long to be a string in the A/UX 3.1 sh.
1487 \`configure' configures alpine 2.21.99999 to adapt to many kinds of systems.
1489 Usage: $0 [OPTION]... [VAR=VALUE]...
1491 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1492 VAR=VALUE. See below for descriptions of some of the useful variables.
1494 Defaults for the options are specified in brackets.
1497 -h, --help display this help and exit
1498 --help=short display options specific to this package
1499 --help=recursive display the short help of all the included packages
1500 -V, --version display version information and exit
1501 -q, --quiet, --silent do not print \`checking ...' messages
1502 --cache-file=FILE cache test results in FILE [disabled]
1503 -C, --config-cache alias for \`--cache-file=config.cache'
1504 -n, --no-create do not create output files
1505 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1507 Installation directories:
1508 --prefix=PREFIX install architecture-independent files in PREFIX
1509 [$ac_default_prefix]
1510 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1513 By default, \`make install' will install all the files in
1514 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1515 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1516 for instance \`--prefix=\$HOME'.
1518 For better control, use the options below.
1520 Fine tuning of the installation directories:
1521 --bindir=DIR user executables [EPREFIX/bin]
1522 --sbindir=DIR system admin executables [EPREFIX/sbin]
1523 --libexecdir=DIR program executables [EPREFIX/libexec]
1524 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1525 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1526 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1527 --libdir=DIR object code libraries [EPREFIX/lib]
1528 --includedir=DIR C header files [PREFIX/include]
1529 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1530 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1531 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1532 --infodir=DIR info documentation [DATAROOTDIR/info]
1533 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1534 --mandir=DIR man documentation [DATAROOTDIR/man]
1535 --docdir=DIR documentation root [DATAROOTDIR/doc/alpine]
1536 --htmldir=DIR html documentation [DOCDIR]
1537 --dvidir=DIR dvi documentation [DOCDIR]
1538 --pdfdir=DIR pdf documentation [DOCDIR]
1539 --psdir=DIR ps documentation [DOCDIR]
1545 --program-prefix=PREFIX prepend PREFIX to installed program names
1546 --program-suffix=SUFFIX append SUFFIX to installed program names
1547 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1550 --build=BUILD configure
for building on BUILD
[guessed
]
1551 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1555 if test -n "$ac_init_help"; then
1556 case $ac_init_help in
1557 short | recursive
) echo "Configuration of alpine 2.21.99999:";;
1562 --disable-option-checking ignore unrecognized
--enable/--with options
1563 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1564 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1565 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1566 --disable-silent-rules verbose build output
(undo
: "make V=0")
1567 --enable-maintainer-mode
1568 enable make rules and dependencies not useful
(and
1569 sometimes confusing
) to the casual installer
1570 --enable-dependency-tracking
1571 do not reject slow dependency extractors
1572 --disable-dependency-tracking
1573 speeds up one-time build
1574 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1575 --enable-static[=PKGS
] build static libraries
[default
=yes]
1576 --enable-fast-install[=PKGS
]
1577 optimize
for fast installation
[default
=yes]
1578 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1579 --disable-nls do not use Native Language Support
1580 --disable-rpath do not hardcode runtime library paths
1581 --enable-dmalloc Enable dmalloc debugging
1582 --enable-osx-universal-binaries
1583 Produce universal binaries under OS X
[[default
=no
]]
1584 --disable-debug Exclude debug messages from
source
1585 --disable-optimization Exclude optimizing compiler flags
1586 --disable-mouse Disable mouse support
1587 --enable-quotas Enable disk quota checking on startup
1588 --disable-from-changing Disallow users changing From addresss
1589 --disable-background-post
1590 Disable background posting
1591 --disable-keyboard-lock Disable keyboard locking
1592 --enable-from-encoding Enable From encoding
in sent messages
1595 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1596 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1597 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1599 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1600 --with-sysroot=DIR Search
for dependent libraries within DIR
1601 (or the compiler
's sysroot if not specified).
1602 --with-gnu-ld assume the C compiler uses GNU ld default=no
1603 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1604 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1605 --with-libintl-prefix[=DIR
] search
for libintl
in DIR
/include and DIR
/lib
1606 --without-libintl-prefix don
't search for libintl in includedir and libdir
1607 --with-dmalloc-dir=DIR Root of dmalloc lib/include path
1608 --with-date-stamp=DATE Set this as the date this program was built.
1609 Default: output of `date`
1610 --with-host-stamp=HOST Set name of computer for compilation. Default:
1611 output of `hostname`
1612 --with-ps-cmd="CMD" Use this command to check running commands. Default:
1614 --with-localedir=DIR Name of gettext locale directory
1615 --with-include-path=PATHS
1616 Colon-separated list of directories used for include
1618 --with-lib-path=PATHS Colon-separated list of directories used for library
1620 --with-pubcookie Include support for UW-Pubcookie Web Authentication
1621 --with-web-bin=PATH Directory to hold Web Alpine component binary files
1622 --with-smtp-msa=PATH Local Mail Submission Agent (sendmail)
1623 --with-smtp-msa-flags=FLAGS
1624 MSA flags for SMTP on stdin/stdout (-bs -odb -oem)
1625 --with-npa=PATH Posting agent when no nntp-servers defined (inews)
1626 --with-npa-flags=FLAGS Flags to allow posting via local agent (-h)
1627 --with-password-prog=PATH
1628 Password change program (/bin/passwd)
1629 --with-simple-spellcheck=PROG
1630 Spellcheck program reads stdin, emits misspellings
1632 --with-interactive-spellcheck=PROG
1633 Interactive, filewise spell checker
1634 --with-system-pinerc=VALUE
1635 System pinerc (/usr/local/lib/pine.conf)
1636 --with-system-fixed-pinerc=VALUE
1637 System fixed pinerc (/usr/local/lib/pine.conf.fixed)
1638 --with-local-support-info=VALUE
1639 Local Support Info File (/usr/local/lib/pine.info)
1640 --with-mailcheck-interval=VALUE
1641 Specify default mail-check-interval (150)
1642 --with-checkpoint-interval=VALUE
1643 Specify default checkpoint-interval (420)
1644 --with-checkpoint-frequency=VALUE
1645 State change count before checkpoint (12)
1646 --with-display-rows=VALUE
1647 Initial rows on display (24)
1648 --with-display-columns=VALUE
1649 Initial columns on display (80)
1650 --with-max-display-rows=VALUE
1651 Maximum display rows (200)
1652 --with-max-display-columns=VALUE
1653 Maximum display columns (500)
1654 --with-fill-column=VALUE
1655 Default fill column (74)
1656 --with-max_fill-column=VALUE
1657 Maximum fill column (80)
1658 --with-debug-level=VALUE
1659 Specify default debug verbosity level (2)
1660 --with-debug-files=VALUE
1661 Specify number of debug files (4)
1662 --with-debug-file=VALUE Specify debug file name (.pine-debug)
1663 --with-forwarded-keyword=VALUE
1664 IMAP (c-client) keyword to store forwarded status
1666 --with-display-overlap=VALUE
1667 Lines preserved while paging (2)
1668 --with-display-margin=VALUE
1669 Lines visible while scrolling (0)
1670 --with-default-fcc=VALUE
1671 Default sent mail folder (sent-mail)
1672 --with-default-save-folder=VALUE
1673 Default save folder (saved-messages)
1674 --with-default-legacy-postponed-folder=VALUE
1675 Pre Pine 3.90 postponed folder (postponed-mail)
1676 --with-default-postponed-folder=VALUE
1677 Default postponed folder (postponed-msgs)
1678 --with-default-trash-folder=VALUE
1679 Default Trash folder for Web Alpine (Trash)
1680 --with-default-interrupted-mail=VALUE
1681 Default folder for interrupted mail
1682 (.pine-interrupted-mail)
1683 --with-default-dead-letter-folder=VALUE
1684 Default dead letter folder (dead.letter)
1685 --with-default-mail-directory=VALUE
1686 Default mail directory (mail)
1687 --with-default-inbox-name=VALUE
1688 Default inbox name (INBOX)
1689 --with-default-signature-file=VALUE
1690 Default signature file (.signature)
1691 --with-default-elm-style-save=VALUE
1692 Default to Elm style save (no)
1693 --with-default-header-in-reply=VALUE
1694 Include header in reply (no)
1695 --with-default-old-style-reply=VALUE
1696 Default to old style reply (no)
1697 --with-default-use-only-domain-name=VALUE
1698 Default to using only the domain name (no)
1699 --with-default-save-by-sender=VALUE
1700 Default to save by sender (no)
1701 --with-default-sort-key=VALUE
1702 Default sort key (arrival)
1703 --with-default-addressbook-sort-rule=VALUE
1704 Default addressbook sort rule
1705 (fullname-with-lists-last)
1706 --with-default-folder-sort-rule=VALUE
1707 Default folder sort rule (alphabetical)
1708 --with-default-saved-message-name-rule=VALUE
1709 Default saved message name rule (default-folder)
1710 --with-default-fcc-rule=VALUE
1711 Default fcc rule (default-fcc)
1712 --with-default-standard-printer=VALUE
1713 Default standard printern (lpr)
1714 --with-default-ansi-printer=VALUE
1715 ANSI printer definition (attached-to-ansi)
1716 --with-default-addressbook=VALUE
1717 Default addressbook name (.addressbook)
1718 --with-default-local-fullname=VALUE
1719 Default local support fullname ("Local Support")
1720 --with-default-local-address=VALUE
1721 Default local support address (postmaster)
1722 --with-default-keyboard-lock-count=VALUE
1723 Default keyboard lock count (1)
1724 --with-default-remote-addressbook-history=VALUE
1725 Default address book history count (3)
1726 --with-smime-public-cert-directory=VALUE
1727 Default Public Cert Directory (.alpine-smime/public)
1728 --with-smime-private-key-directory=VALUE
1729 Default Private Key Directory
1730 (.alpine-smime/private)
1731 --with-smime-cacert-directory=VALUE
1732 Default Cert Authority Directory (.alpine-smime/ca)
1733 --with-default-printer=VALUE
1734 Default printer (ANSI_PRINTER)
1735 --with-passfile=FILENAME
1736 Password cache file (recommended when S/MIME is
1737 enabled and configured)
1738 --without-local-password-cache
1739 Disable OS-specific password cache, if supported
1740 --with-local-password-cache-method
1741 OS-specific credential cache (OSX=APPLEKEYCHAIN,
1743 --with-default-sshpath=FILENAME
1744 set default value of ssh command path (defining
1745 should cause ssh to be preferred to rsh)
1746 --with-default-sshcmd=PERCENT_S_STRING
1747 set default value of ssh command string (usually "%s
1748 %s -l %s exec /etc/r%sd")
1749 --without-ssl Disable SSL support (OpenSSL)
1750 --with-ssl-dir=DIR Root of SSL lib/include path
1751 --with-ssl-certs-dir=DIR
1752 Path to SSL certificate directory
1753 --with-ssl-include-dir=DIR
1754 SSL include file path
1755 --with-ssl-lib-dir=DIR SSL library path
1756 --encryption-minimum-version=VERSION
1757 Minimum SSL encryption version. Default: no_min
1758 --encryption-maximum-version=VERSION
1759 Maximum SSL encryption version. Default: no_max
1760 --with-encryption-range=VALUE
1761 Default Encryption Range ($alpine_RANGE )
1762 --without-krb5 Disable Kerberos support
1763 --with-krb5-dir=DIR Root of Kerberos lib/include path
1764 --with-krb5-include-dir=DIR
1765 Kerberos include file path
1766 --with-krb5-lib-dir=DIR Kerberos library path
1767 --without-ldap Disable LDAP query support
1768 --with-ldap-dir=DIR Root of LDAP lib/include path
1769 --with-ldap-include-dir=DIR
1770 Directory containing LDAP include files
1771 --with-ldap-lib-dir=DIR LDAP library path
1772 --without-smime Disable S/MIME
1773 --without-tcl Disable TCL, thus Web Alpine support
1774 --with-tcl-lib-dir=PATH Specific TCL Librar dir, like \"/usr/opt/tcl86/lib\"
1775 --with-tcl-lib=LIBRARY Specific TCL Library, like \"tcl8.6\"
1776 --with-tcl-include=DIR Directory containing TCL include files
1777 --with-supplied-regex Use regex library supplied with alpine
1778 --without-pthread Do NOT test for nor build with POSIX thread support
1779 --with-system-mail-directory=DIR
1780 Directory where local mail is delivered
1781 --with-c-client-target=TARGET
1782 IMAP build target (see imap/Makefile)
1783 --without-ipv6 Disable IPv6, primarily to work around resolver
1785 --without-ntlm Disable NTLM client support
1787 Some influential environment variables:
1788 CC C compiler command
1789 CFLAGS C compiler flags
1790 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1791 nonstandard directory <lib dir>
1792 LIBS libraries to pass to the linker, e.g. -l<library>
1793 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1794 you have headers in a nonstandard directory <include dir>
1797 Use these variables to override the choices made by `configure' or to
help
1798 it to
find libraries and programs with nonstandard names
/locations.
1800 Report bugs to
<chappa@washington.edu
>.
1805 if test "$ac_init_help" = "recursive"; then
1806 # If there are subdirs, report their specific --help.
1807 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1808 test -d "$ac_dir" ||
1809 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1814 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1816 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1817 # A ".." for each directory in $ac_dir_suffix.
1818 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1819 case $ac_top_builddir_sub in
1820 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1821 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1824 ac_abs_top_builddir
=$ac_pwd
1825 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1826 # for backward compatibility:
1827 ac_top_builddir
=$ac_top_build_prefix
1830 .
) # We are building in place.
1832 ac_top_srcdir
=$ac_top_builddir_sub
1833 ac_abs_top_srcdir
=$ac_pwd ;;
1834 [\\/]* | ?
:[\\/]* ) # Absolute name.
1835 ac_srcdir
=$srcdir$ac_dir_suffix;
1836 ac_top_srcdir
=$srcdir
1837 ac_abs_top_srcdir
=$srcdir ;;
1839 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1840 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1841 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1843 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1845 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1846 # Check for guested configure.
1847 if test -f "$ac_srcdir/configure.gnu"; then
1849 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1850 elif test -f "$ac_srcdir/configure"; then
1852 $SHELL "$ac_srcdir/configure" --help=recursive
1854 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1856 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1860 test -n "$ac_init_help" && exit $ac_status
1861 if $ac_init_version; then
1863 alpine configure
2.21.99999
1864 generated by GNU Autoconf
2.69
1866 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1867 This configure
script is free software
; the Free Software Foundation
1868 gives unlimited permission to copy
, distribute and modify it.
1873 ## ------------------------ ##
1874 ## Autoconf initialization. ##
1875 ## ------------------------ ##
1877 # ac_fn_c_try_compile LINENO
1878 # --------------------------
1879 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1880 ac_fn_c_try_compile
()
1882 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1883 rm -f conftest.
$ac_objext
1884 if { { ac_try
="$ac_compile"
1886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1887 *) ac_try_echo=$ac_try;;
1889 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1890 $as_echo "$ac_try_echo"; } >&5
1891 (eval "$ac_compile") 2>conftest.err
1893 if test -s conftest.err; then
1894 grep -v '^ *+' conftest.err >conftest.er1
1895 cat conftest.er1 >&5
1896 mv -f conftest.er1 conftest.err
1898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1899 test $ac_status = 0; } && {
1900 test -z "$ac_c_werror_flag" ||
1901 test ! -s conftest.err
1902 } && test -s conftest.$ac_objext; then :
1905 $as_echo "$as_me: failed program was:" >&5
1906 sed 's/^/| /' conftest.$ac_ext >&5
1910 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1911 as_fn_set_status $ac_retval
1913 } # ac_fn_c_try_compile
1915 # ac_fn_c_try_cpp LINENO
1916 # ----------------------
1917 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1920 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1921 if { { ac_try="$ac_cpp conftest.$ac_ext"
1923 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1924 *) ac_try_echo
=$ac_try;;
1926 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1927 $as_echo "$ac_try_echo"; } >&5
1928 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1930 if test -s conftest.err
; then
1931 grep -v '^ *+' conftest.err
>conftest.er1
1932 cat conftest.er1
>&5
1933 mv -f conftest.er1 conftest.err
1935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1936 test $ac_status = 0; } > conftest.i
&& {
1937 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1938 test ! -s conftest.err
1942 $as_echo "$as_me: failed program was:" >&5
1943 sed 's/^/| /' conftest.
$ac_ext >&5
1947 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1948 as_fn_set_status
$ac_retval
1952 # ac_fn_c_try_link LINENO
1953 # -----------------------
1954 # Try to link conftest.$ac_ext, and return whether this succeeded.
1957 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1958 rm -f conftest.
$ac_objext conftest
$ac_exeext
1959 if { { ac_try
="$ac_link"
1961 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1962 *) ac_try_echo=$ac_try;;
1964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1965 $as_echo "$ac_try_echo"; } >&5
1966 (eval "$ac_link") 2>conftest.err
1968 if test -s conftest.err; then
1969 grep -v '^ *+' conftest.err >conftest.er1
1970 cat conftest.er1 >&5
1971 mv -f conftest.er1 conftest.err
1973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1974 test $ac_status = 0; } && {
1975 test -z "$ac_c_werror_flag" ||
1976 test ! -s conftest.err
1977 } && test -s conftest$ac_exeext && {
1978 test "$cross_compiling" = yes ||
1979 test -x conftest$ac_exeext
1983 $as_echo "$as_me: failed program was:" >&5
1984 sed 's/^/| /' conftest.$ac_ext >&5
1988 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1989 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1990 # interfere with the next link command; also delete a directory that is
1991 # left behind by Apple's compiler. We do this before executing the actions.
1992 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1993 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1994 as_fn_set_status $ac_retval
1996 } # ac_fn_c_try_link
1998 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1999 # -------------------------------------------------------
2000 # Tests whether HEADER exists and can be compiled using the include files in
2001 # INCLUDES, setting the cache variable VAR accordingly.
2002 ac_fn_c_check_header_compile ()
2004 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2006 $as_echo_n "checking for $2... " >&6; }
2007 if eval \${$3+:} false; then :
2008 $as_echo_n "(cached) " >&6
2010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2011 /* end confdefs.h. */
2015 if ac_fn_c_try_compile "$LINENO"; then :
2020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2024 $as_echo "$ac_res" >&6; }
2025 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2027 } # ac_fn_c_check_header_compile
2029 # ac_fn_c_try_run LINENO
2030 # ----------------------
2031 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2032 # that executables *can* be run.
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 if { { ac_try="$ac_link"
2038 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2039 *) ac_try_echo
=$ac_try;;
2041 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2042 $as_echo "$ac_try_echo"; } >&5
2043 (eval "$ac_link") 2>&5
2045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2046 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2047 { { case "(($ac_try" in
2048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2049 *) ac_try_echo=$ac_try;;
2051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2052 $as_echo "$ac_try_echo"; } >&5
2053 (eval "$ac_try") 2>&5
2055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2056 test $ac_status = 0; }; }; then :
2059 $as_echo "$as_me: program exited with status $ac_status" >&5
2060 $as_echo "$as_me: failed program was:" >&5
2061 sed 's/^/| /' conftest.$ac_ext >&5
2063 ac_retval=$ac_status
2065 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2066 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2067 as_fn_set_status $ac_retval
2071 # ac_fn_c_check_func LINENO FUNC VAR
2072 # ----------------------------------
2073 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2074 ac_fn_c_check_func ()
2076 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2078 $as_echo_n "checking for $2... " >&6; }
2079 if eval \${$3+:} false; then :
2080 $as_echo_n "(cached) " >&6
2082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2083 /* end confdefs.h. */
2084 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2086 #define $2 innocuous_$2
2088 /* System header to define __stub macros and hopefully few prototypes,
2089 which can conflict with char $2 (); below.
2090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2091 <limits.h> exists even on freestanding compilers. */
2094 # include <limits.h>
2096 # include <assert.h>
2101 /* Override any GCC internal prototype to avoid an error.
2102 Use char because int might match the return type of a GCC
2103 builtin and then its argument prototype would still apply. */
2108 /* The GNU C library defines this for functions which it implements
2109 to always fail with ENOSYS. Some functions are actually named
2110 something starting with __ and the normal name is an alias. */
2111 #if defined __stub_$2 || defined __stub___$2
2123 if ac_fn_c_try_link "$LINENO"; then :
2128 rm -f core conftest.err conftest.$ac_objext \
2129 conftest$ac_exeext conftest.$ac_ext
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2133 $as_echo "$ac_res" >&6; }
2134 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2136 } # ac_fn_c_check_func
2138 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2139 # -------------------------------------------------------
2140 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2141 # the include files in INCLUDES and setting the cache variable VAR
2143 ac_fn_c_check_header_mongrel ()
2145 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2146 if eval \${$3+:} false; then :
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2148 $as_echo_n "checking for $2... " >&6; }
2149 if eval \${$3+:} false; then :
2150 $as_echo_n "(cached) " >&6
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2154 $as_echo "$ac_res" >&6; }
2156 # Is the header compilable?
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2158 $as_echo_n "checking $2 usability... " >&6; }
2159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2160 /* end confdefs.h. */
2164 if ac_fn_c_try_compile "$LINENO"; then :
2165 ac_header_compiler=yes
2167 ac_header_compiler=no
2169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2171 $as_echo "$ac_header_compiler" >&6; }
2173 # Is the header present?
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2175 $as_echo_n "checking $2 presence... " >&6; }
2176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2177 /* end confdefs.h. */
2180 if ac_fn_c_try_cpp "$LINENO"; then :
2181 ac_header_preproc=yes
2183 ac_header_preproc=no
2185 rm -f conftest.err conftest.i conftest.$ac_ext
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2187 $as_echo "$ac_header_preproc" >&6; }
2189 # So? What about this header?
2190 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2193 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2195 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2199 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2201 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2203 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2205 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2207 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2208 ( $as_echo "## ------------------------------------ ##
2209 ## Report this to chappa@washington.edu ##
2210 ## ------------------------------------ ##"
2211 ) | sed "s/^/$as_me: WARNING: /" >&2
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2215 $as_echo_n "checking for $2... " >&6; }
2216 if eval \${$3+:} false; then :
2217 $as_echo_n "(cached) " >&6
2219 eval "$3=\$ac_header_compiler"
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2223 $as_echo "$ac_res" >&6; }
2225 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2227 } # ac_fn_c_check_header_mongrel
2229 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2230 # -------------------------------------------
2231 # Tests whether TYPE exists after having included INCLUDES, setting cache
2232 # variable VAR accordingly.
2233 ac_fn_c_check_type ()
2235 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2237 $as_echo_n "checking for $2... " >&6; }
2238 if eval \${$3+:} false; then :
2239 $as_echo_n "(cached) " >&6
2242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2243 /* end confdefs.h. */
2254 if ac_fn_c_try_compile "$LINENO"; then :
2255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2256 /* end confdefs.h. */
2267 if ac_fn_c_try_compile "$LINENO"; then :
2272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2278 $as_echo "$ac_res" >&6; }
2279 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2281 } # ac_fn_c_check_type
2283 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2284 # --------------------------------------------
2285 # Tries to find the compile-time value of EXPR in a program that includes
2286 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2288 ac_fn_c_compute_int ()
2290 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2291 if test "$cross_compiling" = yes; then
2292 # Depending upon the size, compute the lo and hi bounds.
2293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2294 /* end confdefs.h. */
2299 static int test_array [1 - 2 * !(($2) >= 0)];
2301 return test_array [0];
2307 if ac_fn_c_try_compile "$LINENO"; then :
2310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2311 /* end confdefs.h. */
2316 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2318 return test_array [0];
2324 if ac_fn_c_try_compile "$LINENO"; then :
2325 ac_hi=$ac_mid; break
2327 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2328 if test $ac_lo -le $ac_mid; then
2332 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2338 /* end confdefs.h. */
2343 static int test_array [1 - 2 * !(($2) < 0)];
2345 return test_array [0];
2351 if ac_fn_c_try_compile "$LINENO"; then :
2354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2355 /* end confdefs.h. */
2360 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2362 return test_array [0];
2368 if ac_fn_c_try_compile "$LINENO"; then :
2369 ac_lo=$ac_mid; break
2371 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2372 if test $ac_mid -le $ac_hi; then
2376 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2386 # Binary search between lo and hi bounds.
2387 while test "x$ac_lo" != "x$ac_hi"; do
2388 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2390 /* end confdefs.h. */
2395 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2397 return test_array [0];
2403 if ac_fn_c_try_compile "$LINENO"; then :
2406 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2411 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2416 /* end confdefs.h. */
2418 static long int longval () { return $2; }
2419 static unsigned long int ulongval () { return $2; }
2426 FILE *f = fopen ("conftest.val", "w");
2431 long int i = longval ();
2434 fprintf (f, "%ld", i);
2438 unsigned long int i = ulongval ();
2441 fprintf (f, "%lu", i);
2443 /* Do not output a trailing newline, as this causes \r\n confusion
2444 on some platforms. */
2445 return ferror (f) || fclose (f) != 0;
2451 if ac_fn_c_try_run "$LINENO"; then :
2452 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2456 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2457 conftest.$ac_objext conftest.beam conftest.$ac_ext
2461 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2462 as_fn_set_status $ac_retval
2464 } # ac_fn_c_compute_int
2465 cat >config.log <<_ACEOF
2466 This file contains any messages produced by compilers while
2467 running configure, to aid debugging if configure makes a mistake.
2469 It was created by alpine $as_me 2.21.99999, which was
2470 generated by GNU Autoconf 2.69. Invocation command line was
2482 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2483 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2484 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2485 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2486 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2488 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2489 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2491 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2492 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2493 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2494 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2495 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2496 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2497 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2505 test -z "$as_dir" && as_dir=.
2506 $as_echo "PATH: $as_dir"
2522 # Keep a trace of the command line.
2523 # Strip out --no-create and --no-recursion so they do not pile up.
2524 # Strip out --silent because we don't want to record it for future runs.
2525 # Also quote any args containing shell meta-characters.
2526 # Make two passes to allow for proper duplicate-argument suppression.
2530 ac_must_keep_next=false
2536 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2538 | -silent | --silent | --silen | --sile | --sil)
2541 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2544 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2546 as_fn_append ac_configure_args1 " '$ac_arg'"
2547 if test $ac_must_keep_next = true; then
2548 ac_must_keep_next=false # Got value, back to normal.
2551 *=* | --config-cache | -C | -disable-* | --disable-* \
2552 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2553 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2554 | -with-* | --with-* | -without-* | --without-* | --x)
2555 case "$ac_configure_args0 " in
2556 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2559 -* ) ac_must_keep_next=true ;;
2562 as_fn_append ac_configure_args " '$ac_arg'"
2567 { ac_configure_args0=; unset ac_configure_args0;}
2568 { ac_configure_args1=; unset ac_configure_args1;}
2570 # When interrupted or exit'd, cleanup temporary files, and complete
2571 # config.log. We remove comments because anyway the quotes in there
2572 # would cause problems or look ugly.
2573 # WARNING: Use '\'' to represent an apostrophe within the trap.
2574 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2575 trap 'exit_status=$?
2576 # Save into config.log some information that might help in debugging.
2580 $as_echo "## ---------------- ##
2581 ## Cache variables. ##
2582 ## ---------------- ##"
2584 # The following way of writing the cache mishandles newlines in values,
2586 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2587 eval ac_val=\$$ac_var
2591 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2592 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2595 _ | IFS | as_nl) ;; #(
2596 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2597 *) { eval $ac_var=; unset $ac_var;} ;;
2602 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2603 *${as_nl}ac_space=\ *)
2605 "s/'\''/'\''\\\\'\'''\''/g;
2606 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2609 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2616 $as_echo "## ----------------- ##
2617 ## Output variables. ##
2618 ## ----------------- ##"
2620 for ac_var in $ac_subst_vars
2622 eval ac_val=\$$ac_var
2624 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2626 $as_echo "$ac_var='\''$ac_val'\''"
2630 if test -n "$ac_subst_files"; then
2631 $as_echo "## ------------------- ##
2632 ## File substitutions. ##
2633 ## ------------------- ##"
2635 for ac_var in $ac_subst_files
2637 eval ac_val=\$$ac_var
2639 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2641 $as_echo "$ac_var='\''$ac_val'\''"
2646 if test -s confdefs.h; then
2647 $as_echo "## ----------- ##
2654 test "$ac_signal" != 0 &&
2655 $as_echo "$as_me: caught signal $ac_signal"
2656 $as_echo "$as_me: exit $exit_status"
2658 rm -f core *.core core.conftest.* &&
2659 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2662 for ac_signal in 1 2 13 15; do
2663 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2667 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2668 rm -f -r conftest* confdefs.h
2670 $as_echo "/* confdefs.h */" > confdefs.h
2672 # Predefined preprocessor variables.
2674 cat >>confdefs.h <<_ACEOF
2675 #define PACKAGE_NAME "$PACKAGE_NAME"
2678 cat >>confdefs.h <<_ACEOF
2679 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2682 cat >>confdefs.h <<_ACEOF
2683 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2686 cat >>confdefs.h <<_ACEOF
2687 #define PACKAGE_STRING "$PACKAGE_STRING"
2690 cat >>confdefs.h <<_ACEOF
2691 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2694 cat >>confdefs.h <<_ACEOF
2695 #define PACKAGE_URL "$PACKAGE_URL"
2699 # Let the site file select an alternate cache file if it wants to.
2700 # Prefer an explicitly selected file to automatically selected ones.
2703 if test -n "$CONFIG_SITE"; then
2704 # We do not want a PATH search for config.site.
2705 case $CONFIG_SITE in #((
2706 -*) ac_site_file1=./$CONFIG_SITE;;
2707 */*) ac_site_file1=$CONFIG_SITE;;
2708 *) ac_site_file1=./$CONFIG_SITE;;
2710 elif test "x$prefix" != xNONE; then
2711 ac_site_file1=$prefix/share/config.site
2712 ac_site_file2=$prefix/etc/config.site
2714 ac_site_file1=$ac_default_prefix/share/config.site
2715 ac_site_file2=$ac_default_prefix/etc/config.site
2717 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2719 test "x$ac_site_file" = xNONE && continue
2720 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2722 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2723 sed 's/^/| /' "$ac_site_file" >&5
2725 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2726 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2727 as_fn_error $? "failed to load site
script $ac_site_file
2728 See \
`config.log' for more details" "$LINENO" 5; }
2732 if test -r "$cache_file"; then
2733 # Some versions of bash will fail to source /dev/null (special files
2734 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2735 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2737 $as_echo "$as_me: loading cache $cache_file" >&6;}
2739 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2740 *) . "./$cache_file";;
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2745 $as_echo "$as_me: creating cache $cache_file" >&6;}
2749 gt_needs="$gt_needs "
2750 # Check that the precious variables saved in the cache have kept the same
2752 ac_cache_corrupted=false
2753 for ac_var in $ac_precious_vars; do
2754 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2755 eval ac_new_set=\$ac_env_${ac_var}_set
2756 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2757 eval ac_new_val=\$ac_env_${ac_var}_value
2758 case $ac_old_set,$ac_new_set in
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2761 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2762 ac_cache_corrupted=: ;;
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2765 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2766 ac_cache_corrupted=: ;;
2769 if test "x$ac_old_val" != "x$ac_new_val"; then
2770 # differences in whitespace do not lead to failure.
2771 ac_old_val_w=`echo x
$ac_old_val`
2772 ac_new_val_w=`echo x
$ac_new_val`
2773 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2775 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2776 ac_cache_corrupted=:
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2779 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2780 eval $ac_var=\$ac_old_val
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2783 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2785 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2788 # Pass precious variables to config.status.
2789 if test "$ac_new_set" = set; then
2791 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2792 *) ac_arg=$ac_var=$ac_new_val ;;
2794 case " $ac_configure_args " in
2795 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2796 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2800 if $ac_cache_corrupted; then
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2804 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2805 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2807 ## -------------------- ##
2808 ## Main body of script. ##
2809 ## -------------------- ##
2812 ac_cpp='$CPP $CPPFLAGS'
2813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2820 ac_config_headers="$ac_config_headers include/config.h"
2823 am__api_version='1.13'
2826 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2827 if test -f "$ac_dir/install-sh"; then
2829 ac_install_sh="$ac_aux_dir/install-sh -c"
2831 elif test -f "$ac_dir/install.sh"; then
2833 ac_install_sh="$ac_aux_dir/install.sh -c"
2835 elif test -f "$ac_dir/shtool"; then
2837 ac_install_sh="$ac_aux_dir/shtool install -c"
2841 if test -z "$ac_aux_dir"; then
2842 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2845 # These three variables are undocumented and unsupported,
2846 # and are intended to be withdrawn in a future Autoconf release.
2847 # They can cause serious problems if a builder's source tree is in a directory
2848 # whose full name contains unusual characters.
2849 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2850 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2851 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2854 # Find a good install program. We prefer a C program (faster),
2855 # so one script is as good as another. But avoid the broken or
2856 # incompatible versions:
2857 # SysV /etc/install, /usr/sbin/install
2858 # SunOS /usr/etc/install
2859 # IRIX /sbin/install
2861 # AmigaOS /C/install, which installs bootblocks on floppy discs
2862 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2863 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2864 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2865 # OS/2's system install, which has a completely different semantic
2866 # ./install, which can be erroneously created by make from ./install.sh.
2867 # Reject install programs that cannot install multiple files.
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2869 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2870 if test -z "$INSTALL"; then
2871 if ${ac_cv_path_install+:} false; then :
2872 $as_echo_n "(cached) " >&6
2874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2878 test -z "$as_dir" && as_dir=.
2879 # Account for people who put trailing slashes in PATH elements.
2880 case $as_dir/ in #((
2881 ./ | .// | /[cC]/* | \
2882 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2883 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2886 # OSF1 and SCO ODT 3.0 have their own names for install.
2887 # Don't use installbsd from OSF since it installs stuff as root
2889 for ac_prog in ginstall scoinst install; do
2890 for ac_exec_ext in '' $ac_executable_extensions; do
2891 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2892 if test $ac_prog = install &&
2893 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2894 # AIX install. It has an incompatible calling convention.
2896 elif test $ac_prog = install &&
2897 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2898 # program-specific install script used by HP pwplus--don't use.
2901 rm -rf conftest.one conftest.two conftest.dir
2902 echo one > conftest.one
2903 echo two > conftest.two
2905 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2906 test -s conftest.one && test -s conftest.two &&
2907 test -s conftest.dir/conftest.one &&
2908 test -s conftest.dir/conftest.two
2910 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2923 rm -rf conftest.one conftest.two conftest.dir
2926 if test "${ac_cv_path_install+set}" = set; then
2927 INSTALL=$ac_cv_path_install
2929 # As a last resort, use the slow shell script. Don't cache a
2930 # value for INSTALL within a source directory, because that will
2931 # break other packages using the cache if that directory is
2932 # removed, or if the value is a relative name.
2933 INSTALL=$ac_install_sh
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2937 $as_echo "$INSTALL" >&6; }
2939 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2940 # It thinks the first close brace ends the variable substitution.
2941 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2943 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2945 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2948 $as_echo_n "checking whether build environment is sane... " >&6; }
2949 # Reject unsafe characters in $srcdir or the absolute working directory
2950 # name. Accept space and tab only in the latter.
2954 *[\\\"\#\$\&\'\`$am_lf]*)
2955 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2958 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2959 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2962 # Do 'set' in a subshell so we don't clobber the current shell's
2963 # arguments. Must try -L first in case configure is actually a
2964 # symlink; some systems play weird games with the mod time of symlinks
2965 # (eg FreeBSD returns the mod time of the symlink's containing
2969 for am_try
in 1 2; do
2970 echo "timestamp, slept: $am_has_slept" > conftest.
file
2971 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2972 if test "$*" = "X"; then
2974 set X
`ls -t "$srcdir/configure" conftest.file`
2976 if test "$*" != "X $srcdir/configure conftest.file" \
2977 && test "$*" != "X conftest.file $srcdir/configure"; then
2979 # If neither matched, then we have a broken ls. This can happen
2980 # if, for instance, CONFIG_SHELL is bash and it inherits a
2981 # broken ls alias from the environment. This has actually
2982 # happened. Such a system could not be considered "sane".
2983 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2984 alias in your environment" "$LINENO" 5
2986 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2993 test "$2" = conftest.
file
2999 as_fn_error $?
"newly created file is older than distributed files!
3000 Check your system clock" "$LINENO" 5
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3003 $as_echo "yes" >&6; }
3004 # If we didn't sleep, we still need to ensure time stamps of config.status and
3005 # generated files are strictly newer.
3007 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3014 test "$program_prefix" != NONE
&&
3015 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3016 # Use a double $ so make ignores it.
3017 test "$program_suffix" != NONE
&&
3018 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3019 # Double any \ or $.
3020 # By default was `s,x,x', remove it if useless.
3021 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3022 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3024 # expand $ac_aux_dir to an absolute path
3025 am_aux_dir
=`cd $ac_aux_dir && pwd`
3027 if test x
"${MISSING+set}" != xset
; then
3030 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3032 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3035 # Use eval to expand $SHELL
3036 if eval "$MISSING --is-lightweight"; then
3037 am_missing_run
="$MISSING "
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3041 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3044 if test x
"${install_sh}" != xset
; then
3047 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3049 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3053 # Installed binaries are usually stripped using 'strip' when the user
3054 # run "make install-strip". However 'strip' might not be the right
3055 # tool to use in cross-compilation environments, therefore Automake
3056 # will honor the 'STRIP' environment variable to overrule this program.
3057 if test "$cross_compiling" != no
; then
3058 if test -n "$ac_tool_prefix"; then
3059 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3060 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062 $as_echo_n "checking for $ac_word... " >&6; }
3063 if ${ac_cv_prog_STRIP+:} false
; then :
3064 $as_echo_n "(cached) " >&6
3066 if test -n "$STRIP"; then
3067 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3073 test -z "$as_dir" && as_dir
=.
3074 for ac_exec_ext
in '' $ac_executable_extensions; do
3075 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3076 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3086 STRIP
=$ac_cv_prog_STRIP
3087 if test -n "$STRIP"; then
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3089 $as_echo "$STRIP" >&6; }
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3092 $as_echo "no" >&6; }
3097 if test -z "$ac_cv_prog_STRIP"; then
3099 # Extract the first word of "strip", so it can be a program name with args.
3100 set dummy strip
; ac_word
=$2
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3102 $as_echo_n "checking for $ac_word... " >&6; }
3103 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3104 $as_echo_n "(cached) " >&6
3106 if test -n "$ac_ct_STRIP"; then
3107 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3113 test -z "$as_dir" && as_dir
=.
3114 for ac_exec_ext
in '' $ac_executable_extensions; do
3115 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3116 ac_cv_prog_ac_ct_STRIP
="strip"
3117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3126 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3127 if test -n "$ac_ct_STRIP"; then
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3129 $as_echo "$ac_ct_STRIP" >&6; }
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3132 $as_echo "no" >&6; }
3135 if test "x$ac_ct_STRIP" = x
; then
3138 case $cross_compiling:$ac_tool_warned in
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3141 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3142 ac_tool_warned
=yes ;;
3147 STRIP
="$ac_cv_prog_STRIP"
3151 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3154 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3155 if test -z "$MKDIR_P"; then
3156 if ${ac_cv_path_mkdir+:} false
; then :
3157 $as_echo_n "(cached) " >&6
3159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3160 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3163 test -z "$as_dir" && as_dir
=.
3164 for ac_prog
in mkdir gmkdir
; do
3165 for ac_exec_ext
in '' $ac_executable_extensions; do
3166 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3167 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3168 'mkdir (GNU coreutils) '* | \
3169 'mkdir (coreutils) '* | \
3170 'mkdir (fileutils) '4.1*)
3171 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3181 test -d .
/--version && rmdir .
/--version
3182 if test "${ac_cv_path_mkdir+set}" = set; then
3183 MKDIR_P
="$ac_cv_path_mkdir -p"
3185 # As a last resort, use the slow shell script. Don't cache a
3186 # value for MKDIR_P within a source directory, because that will
3187 # break other packages using the cache if that directory is
3188 # removed, or if the value is a relative name.
3189 MKDIR_P
="$ac_install_sh -d"
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3193 $as_echo "$MKDIR_P" >&6; }
3195 for ac_prog
in gawk mawk nawk
awk
3197 # Extract the first word of "$ac_prog", so it can be a program name with args.
3198 set dummy
$ac_prog; ac_word
=$2
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3200 $as_echo_n "checking for $ac_word... " >&6; }
3201 if ${ac_cv_prog_AWK+:} false
; then :
3202 $as_echo_n "(cached) " >&6
3204 if test -n "$AWK"; then
3205 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3211 test -z "$as_dir" && as_dir
=.
3212 for ac_exec_ext
in '' $ac_executable_extensions; do
3213 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3214 ac_cv_prog_AWK
="$ac_prog"
3215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3225 if test -n "$AWK"; then
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3227 $as_echo "$AWK" >&6; }
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3230 $as_echo "no" >&6; }
3234 test -n "$AWK" && break
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3238 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3240 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3241 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3242 $as_echo_n "(cached) " >&6
3244 cat >conftest.
make <<\_ACEOF
3247 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3249 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3250 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3252 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3254 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3258 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3260 $as_echo "yes" >&6; }
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3264 $as_echo "no" >&6; }
3265 SET_MAKE
="MAKE=${MAKE-make}"
3268 rm -rf .tst
2>/dev
/null
3269 mkdir .tst
2>/dev
/null
3270 if test -d .tst
; then
3275 rmdir .tst
2>/dev
/null
3277 # Check whether --enable-silent-rules was given.
3278 if test "${enable_silent_rules+set}" = set; then :
3279 enableval
=$enable_silent_rules;
3282 case $enable_silent_rules in # (((
3283 yes) AM_DEFAULT_VERBOSITY
=0;;
3284 no
) AM_DEFAULT_VERBOSITY
=1;;
3285 *) AM_DEFAULT_VERBOSITY
=1;;
3287 am_make
=${MAKE-make}
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3289 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3290 if ${am_cv_make_support_nested_variables+:} false
; then :
3291 $as_echo_n "(cached) " >&6
3293 if $as_echo 'TRUE=$(BAR$(V))
3299 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3300 am_cv_make_support_nested_variables
=yes
3302 am_cv_make_support_nested_variables
=no
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3306 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3307 if test $am_cv_make_support_nested_variables = yes; then
3309 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3311 AM_V
=$AM_DEFAULT_VERBOSITY
3312 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3316 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3317 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3318 # is not polluted with repeated "-I."
3319 am__isrc
=' -I$(srcdir)'
3320 # test to see if srcdir already configured
3321 if test -f $srcdir/config.status
; then
3322 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3326 # test whether we have cygpath
3327 if test -z "$CYGPATH_W"; then
3328 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3329 CYGPATH_W
='cygpath -w'
3336 # Define the identity of the package.
3338 VERSION
='2.21.99999'
3341 cat >>confdefs.h
<<_ACEOF
3342 #define PACKAGE "$PACKAGE"
3346 cat >>confdefs.h
<<_ACEOF
3347 #define VERSION "$VERSION"
3350 # Some tools Automake needs.
3352 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3355 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3358 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3361 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3364 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3366 # For better backward compatibility. To be removed once Automake 1.9.x
3367 # dies out for good. For more background, see:
3368 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3369 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3370 mkdir_p
='$(MKDIR_P)'
3372 # We need awk for the "check" target. The system "awk" is bad on
3374 # Always define AMTAR for backward compatibility. Yes, it's still used
3375 # in the wild :-( We should find a proper way to deprecate it ...
3379 # We'll loop over all known methods to create a tar archive until one works.
3380 _am_tools
='gnutar pax cpio none'
3382 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3392 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3393 # Check whether --enable-maintainer-mode was given.
3394 if test "${enable_maintainer_mode+set}" = set; then :
3395 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3397 USE_MAINTAINER_MODE
=no
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3401 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3402 if test $USE_MAINTAINER_MODE = yes; then
3403 MAINTAINER_MODE_TRUE
=
3404 MAINTAINER_MODE_FALSE
='#'
3406 MAINTAINER_MODE_TRUE
='#'
3407 MAINTAINER_MODE_FALSE
=
3410 MAINT
=$MAINTAINER_MODE_TRUE
3414 # Make sure we can run config.sub.
3415 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3416 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3419 $as_echo_n "checking build system type... " >&6; }
3420 if ${ac_cv_build+:} false
; then :
3421 $as_echo_n "(cached) " >&6
3423 ac_build_alias
=$build_alias
3424 test "x$ac_build_alias" = x
&&
3425 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3426 test "x$ac_build_alias" = x
&&
3427 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3428 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3429 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3433 $as_echo "$ac_cv_build" >&6; }
3434 case $ac_cv_build in
3436 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3439 ac_save_IFS
=$IFS; IFS
='-'
3445 # Remember, the first character of IFS is used to create $*,
3446 # except with old shells:
3449 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3453 $as_echo_n "checking host system type... " >&6; }
3454 if ${ac_cv_host+:} false
; then :
3455 $as_echo_n "(cached) " >&6
3457 if test "x$host_alias" = x
; then
3458 ac_cv_host
=$ac_cv_build
3460 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3461 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3466 $as_echo "$ac_cv_host" >&6; }
3469 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3472 ac_save_IFS
=$IFS; IFS
='-'
3478 # Remember, the first character of IFS is used to create $*,
3479 # except with old shells:
3482 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3487 ac_cpp
='$CPP $CPPFLAGS'
3488 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3489 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3490 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring for $PACKAGE_STRING ($host)" >&5
3494 $as_echo "$as_me: Configuring for $PACKAGE_STRING ($host)" >&6;}
3496 # start out with intent to build Web Alpine
3497 WEB_BUILD
=web
/src
/alpined.d
3501 ac_cpp
='$CPP $CPPFLAGS'
3502 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3503 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3504 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3505 if test -n "$ac_tool_prefix"; then
3506 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3507 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3509 $as_echo_n "checking for $ac_word... " >&6; }
3510 if ${ac_cv_prog_CC+:} false
; then :
3511 $as_echo_n "(cached) " >&6
3513 if test -n "$CC"; then
3514 ac_cv_prog_CC
="$CC" # Let the user override the test.
3516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3520 test -z "$as_dir" && as_dir
=.
3521 for ac_exec_ext
in '' $ac_executable_extensions; do
3522 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3523 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3534 if test -n "$CC"; then
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3536 $as_echo "$CC" >&6; }
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3539 $as_echo "no" >&6; }
3544 if test -z "$ac_cv_prog_CC"; then
3546 # Extract the first word of "gcc", so it can be a program name with args.
3547 set dummy gcc
; ac_word
=$2
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3549 $as_echo_n "checking for $ac_word... " >&6; }
3550 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3551 $as_echo_n "(cached) " >&6
3553 if test -n "$ac_ct_CC"; then
3554 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3560 test -z "$as_dir" && as_dir
=.
3561 for ac_exec_ext
in '' $ac_executable_extensions; do
3562 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3563 ac_cv_prog_ac_ct_CC
="gcc"
3564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3573 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3574 if test -n "$ac_ct_CC"; then
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3576 $as_echo "$ac_ct_CC" >&6; }
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3579 $as_echo "no" >&6; }
3582 if test "x$ac_ct_CC" = x
; then
3585 case $cross_compiling:$ac_tool_warned in
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3589 ac_tool_warned
=yes ;;
3597 if test -z "$CC"; then
3598 if test -n "$ac_tool_prefix"; then
3599 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3600 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3602 $as_echo_n "checking for $ac_word... " >&6; }
3603 if ${ac_cv_prog_CC+:} false
; then :
3604 $as_echo_n "(cached) " >&6
3606 if test -n "$CC"; then
3607 ac_cv_prog_CC
="$CC" # Let the user override the test.
3609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3613 test -z "$as_dir" && as_dir
=.
3614 for ac_exec_ext
in '' $ac_executable_extensions; do
3615 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3616 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3627 if test -n "$CC"; then
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3629 $as_echo "$CC" >&6; }
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3632 $as_echo "no" >&6; }
3638 if test -z "$CC"; then
3639 # Extract the first word of "cc", so it can be a program name with args.
3640 set dummy cc
; ac_word
=$2
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3642 $as_echo_n "checking for $ac_word... " >&6; }
3643 if ${ac_cv_prog_CC+:} false
; then :
3644 $as_echo_n "(cached) " >&6
3646 if test -n "$CC"; then
3647 ac_cv_prog_CC
="$CC" # Let the user override the test.
3650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3654 test -z "$as_dir" && as_dir
=.
3655 for ac_exec_ext
in '' $ac_executable_extensions; do
3656 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3657 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3658 ac_prog_rejected
=yes
3662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669 if test $ac_prog_rejected = yes; then
3670 # We found a bogon in the path, so make sure we never use it.
3671 set dummy
$ac_cv_prog_CC
3673 if test $# != 0; then
3674 # We chose a different compiler from the bogus one.
3675 # However, it has the same basename, so the bogon will be chosen
3676 # first if we set CC to just the basename; use the full file name.
3678 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3684 if test -n "$CC"; then
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3686 $as_echo "$CC" >&6; }
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689 $as_echo "no" >&6; }
3694 if test -z "$CC"; then
3695 if test -n "$ac_tool_prefix"; then
3696 for ac_prog
in cl.exe
3698 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3699 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701 $as_echo_n "checking for $ac_word... " >&6; }
3702 if ${ac_cv_prog_CC+:} false
; then :
3703 $as_echo_n "(cached) " >&6
3705 if test -n "$CC"; then
3706 ac_cv_prog_CC
="$CC" # Let the user override the test.
3708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3712 test -z "$as_dir" && as_dir
=.
3713 for ac_exec_ext
in '' $ac_executable_extensions; do
3714 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3715 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 if test -n "$CC"; then
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3728 $as_echo "$CC" >&6; }
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 $as_echo "no" >&6; }
3735 test -n "$CC" && break
3738 if test -z "$CC"; then
3740 for ac_prog
in cl.exe
3742 # Extract the first word of "$ac_prog", so it can be a program name with args.
3743 set dummy
$ac_prog; ac_word
=$2
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3747 $as_echo_n "(cached) " >&6
3749 if test -n "$ac_ct_CC"; then
3750 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3756 test -z "$as_dir" && as_dir
=.
3757 for ac_exec_ext
in '' $ac_executable_extensions; do
3758 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3759 ac_cv_prog_ac_ct_CC
="$ac_prog"
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3769 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3770 if test -n "$ac_ct_CC"; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3772 $as_echo "$ac_ct_CC" >&6; }
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3779 test -n "$ac_ct_CC" && break
3782 if test "x$ac_ct_CC" = x
; then
3785 case $cross_compiling:$ac_tool_warned in
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3789 ac_tool_warned
=yes ;;
3798 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3800 as_fn_error $?
"no acceptable C compiler found in \$PATH
3801 See \`config.log' for more details" "$LINENO" 5; }
3803 # Provide some information about the compiler.
3804 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3807 for ac_option
in --version -v -V -qversion; do
3808 { { ac_try
="$ac_compiler $ac_option >&5"
3810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3811 *) ac_try_echo=$ac_try;;
3813 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3814 $as_echo "$ac_try_echo"; } >&5
3815 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3817 if test -s conftest.err; then
3819 ... rest of stderr output deleted ...
3820 10q' conftest.err >conftest.er1
3821 cat conftest.er1 >&5
3823 rm -f conftest.er1 conftest.err
3824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3825 test $ac_status = 0; }
3828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h. */
3839 ac_clean_files_save=$ac_clean_files
3840 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3841 # Try to create an executable without -o first, disregard a.out.
3842 # It will help us diagnose broken compilers, and finding out an intuition
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3845 $as_echo_n "checking whether the C compiler works... " >&6; }
3846 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3848 # The possible output files:
3849 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3852 for ac_file in $ac_files
3855 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3856 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3861 if { { ac_try="$ac_link_default"
3863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3864 *) ac_try_echo
=$ac_try;;
3866 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3867 $as_echo "$ac_try_echo"; } >&5
3868 (eval "$ac_link_default") 2>&5
3870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3871 test $ac_status = 0; }; then :
3872 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3873 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3874 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3875 # so that the user can short-circuit this test for compilers unknown to
3877 for ac_file
in $ac_files ''
3879 test -f "$ac_file" ||
continue
3881 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3884 # We found the default executable, but exeext='' is most
3888 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3890 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3892 # We set ac_cv_exeext here because the later test for it is not
3893 # safe: cross compilers may not add the suffix if given an `-o'
3894 # argument, so we may need to know it at that point already.
3895 # Even if this section looks crufty: it has the advantage of
3902 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3907 if test -z "$ac_file"; then :
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3909 $as_echo "no" >&6; }
3910 $as_echo "$as_me: failed program was:" >&5
3911 sed 's/^/| /' conftest.
$ac_ext >&5
3913 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3915 as_fn_error
77 "C compiler cannot create executables
3916 See \`config.log' for more details" "$LINENO" 5; }
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3919 $as_echo "yes" >&6; }
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3922 $as_echo_n "checking for C compiler default output file name... " >&6; }
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3924 $as_echo "$ac_file" >&6; }
3925 ac_exeext
=$ac_cv_exeext
3927 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3928 ac_clean_files
=$ac_clean_files_save
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3930 $as_echo_n "checking for suffix of executables... " >&6; }
3931 if { { ac_try
="$ac_link"
3933 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3934 *) ac_try_echo=$ac_try;;
3936 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3937 $as_echo "$ac_try_echo"; } >&5
3938 (eval "$ac_link") 2>&5
3940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3941 test $ac_status = 0; }; then :
3942 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3943 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3944 # work properly (i.e., refer to `conftest.exe'), while it won't with
3946 for ac_file
in conftest.exe conftest conftest.
*; do
3947 test -f "$ac_file" ||
continue
3949 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3950 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3956 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3957 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3958 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3959 See \`config.log' for more details" "$LINENO" 5; }
3961 rm -f conftest conftest
$ac_cv_exeext
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3963 $as_echo "$ac_cv_exeext" >&6; }
3965 rm -f conftest.
$ac_ext
3966 EXEEXT
=$ac_cv_exeext
3968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3969 /* end confdefs.h. */
3974 FILE *f = fopen ("conftest.out", "w");
3975 return ferror (f) || fclose (f) != 0;
3981 ac_clean_files
="$ac_clean_files conftest.out"
3982 # Check that the compiler produces executables we can run. If not, either
3983 # the compiler is broken, or we cross compile.
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3985 $as_echo_n "checking whether we are cross compiling... " >&6; }
3986 if test "$cross_compiling" != yes; then
3987 { { ac_try
="$ac_link"
3989 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3990 *) ac_try_echo=$ac_try;;
3992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3993 $as_echo "$ac_try_echo"; } >&5
3994 (eval "$ac_link") 2>&5
3996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3997 test $ac_status = 0; }
3998 if { ac_try='./conftest$ac_cv_exeext'
3999 { { case "(($ac_try" in
4000 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4001 *) ac_try_echo
=$ac_try;;
4003 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4004 $as_echo "$ac_try_echo"; } >&5
4005 (eval "$ac_try") 2>&5
4007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4008 test $ac_status = 0; }; }; then
4011 if test "$cross_compiling" = maybe
; then
4014 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4016 as_fn_error $?
"cannot run C compiled programs.
4017 If you meant to cross compile, use \`--host'.
4018 See \`config.log' for more details" "$LINENO" 5; }
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4023 $as_echo "$cross_compiling" >&6; }
4025 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4026 ac_clean_files
=$ac_clean_files_save
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4028 $as_echo_n "checking for suffix of object files... " >&6; }
4029 if ${ac_cv_objext+:} false
; then :
4030 $as_echo_n "(cached) " >&6
4032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4033 /* end confdefs.h. */
4043 rm -f conftest.o conftest.obj
4044 if { { ac_try
="$ac_compile"
4046 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4047 *) ac_try_echo=$ac_try;;
4049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4050 $as_echo "$ac_try_echo"; } >&5
4051 (eval "$ac_compile") 2>&5
4053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4054 test $ac_status = 0; }; then :
4055 for ac_file in conftest.o conftest.obj conftest.*; do
4056 test -f "$ac_file" || continue;
4058 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4059 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4064 $as_echo "$as_me: failed program was:" >&5
4065 sed 's/^/| /' conftest.$ac_ext >&5
4067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4069 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4070 See \
`config.log' for more details" "$LINENO" 5; }
4072 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4075 $as_echo "$ac_cv_objext" >&6; }
4076 OBJEXT=$ac_cv_objext
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4079 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4080 if ${ac_cv_c_compiler_gnu+:} false; then :
4081 $as_echo_n "(cached) " >&6
4083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4084 /* end confdefs.h. */
4097 if ac_fn_c_try_compile "$LINENO"; then :
4102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4103 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4107 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4108 if test $ac_compiler_gnu = yes; then
4113 ac_test_CFLAGS=${CFLAGS+set}
4114 ac_save_CFLAGS=$CFLAGS
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4116 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4117 if ${ac_cv_prog_cc_g+:} false; then :
4118 $as_echo_n "(cached) " >&6
4120 ac_save_c_werror_flag=$ac_c_werror_flag
4121 ac_c_werror_flag=yes
4124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4125 /* end confdefs.h. */
4135 if ac_fn_c_try_compile "$LINENO"; then :
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4150 if ac_fn_c_try_compile "$LINENO"; then :
4153 ac_c_werror_flag=$ac_save_c_werror_flag
4155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4156 /* end confdefs.h. */
4166 if ac_fn_c_try_compile "$LINENO"; then :
4169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4174 ac_c_werror_flag=$ac_save_c_werror_flag
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4177 $as_echo "$ac_cv_prog_cc_g" >&6; }
4178 if test "$ac_test_CFLAGS" = set; then
4179 CFLAGS=$ac_save_CFLAGS
4180 elif test $ac_cv_prog_cc_g = yes; then
4181 if test "$GCC" = yes; then
4187 if test "$GCC" = yes; then
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4194 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4195 if ${ac_cv_prog_cc_c89+:} false; then :
4196 $as_echo_n "(cached) " >&6
4198 ac_cv_prog_cc_c89=no
4200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4201 /* end confdefs.h. */
4205 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4206 struct buf { int x; };
4207 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4208 static char *e (p, i)
4214 static char *f (char * (*g) (char **, int), char **p, ...)
4219 s = g (p, va_arg (v,int));
4224 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4225 function prototypes and stuff, but not '\xHH' hex character constants.
4226 These don't provoke an error unfortunately, instead are silently treated
4227 as 'x'. The following induces an error, until -std is added to get
4228 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4229 array size at least. It's necessary to write '\x00'==0 to get something
4230 that's true only with -std. */
4231 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4233 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4234 inside strings and character constants. */
4236 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4238 int test (int i, double x);
4239 struct s1 {int (*f) (int a);};
4240 struct s2 {int (*f) (double a);};
4241 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4247 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4252 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4253 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4255 CC="$ac_save_CC $ac_arg"
4256 if ac_fn_c_try_compile "$LINENO"; then :
4257 ac_cv_prog_cc_c89=$ac_arg
4259 rm -f core conftest.err conftest.$ac_objext
4260 test "x$ac_cv_prog_cc_c89" != "xno" && break
4262 rm -f conftest.$ac_ext
4267 case "x$ac_cv_prog_cc_c89" in
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4270 $as_echo "none needed" >&6; } ;;
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4273 $as_echo "unsupported" >&6; } ;;
4275 CC="$CC $ac_cv_prog_cc_c89"
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4277 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4279 if test "x$ac_cv_prog_cc_c89" != xno; then :
4284 ac_cpp='$CPP $CPPFLAGS'
4285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4288 DEPDIR="${am__leading_dot}deps"
4290 ac_config_commands="$ac_config_commands depfiles"
4293 am_make=${MAKE-make}
4294 cat > confinc << 'END'
4296 @echo this is the am__doit target
4299 # If we don't find an include directive, just comment out the code.
4300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4301 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4305 # First try GNU make style include.
4306 echo "include confinc" > confmf
4307 # Ignore all kinds of additional output from 'make'.
4308 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4309 *the\ am__doit\ target*)
4315 # Now try BSD make style include.
4316 if test "$am__include" = "#"; then
4317 echo '.include "confinc"' > confmf
4318 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4319 *the\ am__doit\ target*)
4320 am__include=.include
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4329 $as_echo "$_am_result" >&6; }
4330 rm -f confinc confmf
4332 # Check whether --enable-dependency-tracking was given.
4333 if test "${enable_dependency_tracking+set}" = set; then :
4334 enableval=$enable_dependency_tracking;
4337 if test "x$enable_dependency_tracking" != xno; then
4338 am_depcomp="$ac_aux_dir/depcomp"
4342 if test "x$enable_dependency_tracking" != xno; then
4352 depcc="$CC" am_compiler_list=
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4355 $as_echo_n "checking dependency style of $depcc... " >&6; }
4356 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4357 $as_echo_n "(cached) " >&6
4359 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4360 # We make a subdir and do the tests there. Otherwise we can end up
4361 # making bogus files that we don't know about and never remove. For
4362 # instance it was reported that on HP-UX the gcc test will end up
4363 # making a dummy file named 'D' -- because '-MD' means "put the output
4367 # Copy depcomp to subdir because otherwise we won't find it if we're
4368 # using a relative directory.
4369 cp "$am_depcomp" conftest.dir
4371 # We will build objects and dependencies in a subdirectory because
4372 # it helps to detect inapplicable dependency modes. For instance
4373 # both Tru64's cc and ICC support -MD to output dependencies as a
4374 # side effect of compilation, but ICC will put the dependencies in
4375 # the current directory while Tru64 will put them in the object
4379 am_cv_CC_dependencies_compiler_type=none
4380 if test "$am_compiler_list" = ""; then
4381 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4384 case " $depcc " in #(
4385 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4388 for depmode in $am_compiler_list; do
4389 # Setup a source with many dependencies, because some compilers
4390 # like to wrap large dependency lists on column 80 (with \), and
4391 # we should not choose a depcomp mode which is confused by this.
4393 # We need to recreate these files for each test, as the compiler may
4394 # overwrite some of them when testing with obscure command lines.
4395 # This happens at least with the AIX C compiler.
4397 for i in 1 2 3 4 5 6; do
4398 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4399 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4400 # Solaris 10 /bin/sh.
4401 echo '/* dummy */' > sub/conftst$i.h
4403 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4405 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4406 # mode. It turns out that the SunPro C++ compiler does not properly
4407 # handle '-M -o', and we need to detect this. Also, some Intel
4408 # versions had trouble with output in subdirs.
4409 am__obj=sub/conftest.${OBJEXT-o}
4410 am__minus_obj="-o $am__obj"
4413 # This depmode causes a compiler race in universal mode.
4414 test "$am__universal" = false || continue
4417 # After this tag, mechanisms are not by side-effect, so they'll
4418 # only be used when explicitly requested.
4419 if test "x$enable_dependency_tracking" = xyes; then
4425 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4426 # This compiler won't grok '-c -o', but also, the minuso test has
4427 # not run yet. These depmodes are late enough in the game, and
4428 # so weak that their functioning should not be impacted.
4429 am__obj=conftest.${OBJEXT-o}
4434 if depmode=$depmode \
4435 source=sub/conftest.c object=$am__obj \
4436 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4437 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4438 >/dev/null 2>conftest.err &&
4439 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4440 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4441 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4442 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4443 # icc doesn't choke on unknown options, it will just issue warnings
4444 # or remarks (even with -Werror). So we grep stderr for any message
4445 # that says an option was ignored or not supported.
4446 # When given -MP, icc 7.0 and 7.1 complain thusly:
4447 # icc: Command line warning: ignoring option '-M'; no argument required
4448 # The diagnosis changed in icc 8.0:
4449 # icc: Command line remark: option '-MP' not supported
4450 if (grep 'ignoring option' conftest.err ||
4451 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4452 am_cv_CC_dependencies_compiler_type=$depmode
4461 am_cv_CC_dependencies_compiler_type=none
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4466 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4467 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4470 test "x$enable_dependency_tracking" != xno \
4471 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4473 am__fastdepCC_FALSE='#'
4475 am__fastdepCC_TRUE='#'
4476 am__fastdepCC_FALSE=
4481 ac_cpp='$CPP $CPPFLAGS'
4482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4486 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4487 # On Suns, sometimes $CPP names a directory.
4488 if test -n "$CPP" && test -d "$CPP"; then
4491 if test -z "$CPP"; then
4492 if ${ac_cv_prog_CPP+:} false; then :
4493 $as_echo_n "(cached) " >&6
4495 # Double quotes because CPP needs to be expanded
4496 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4499 for ac_c_preproc_warn_flag in '' yes
4501 # Use a header file that comes with gcc, so configuring glibc
4502 # with a fresh cross-compiler works.
4503 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4504 # <limits.h> exists even on freestanding compilers.
4505 # On the NeXT, cc -E runs the code through the compiler's parser,
4506 # not just through cpp. "Syntax error" is here to catch this case.
4507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508 /* end confdefs.h. */
4510 # include <limits.h>
4512 # include <assert.h>
4516 if ac_fn_c_try_cpp "$LINENO"; then :
4519 # Broken: fails on valid input.
4522 rm -f conftest.err conftest.i conftest.$ac_ext
4524 # OK, works on sane cases. Now check whether nonexistent headers
4525 # can be detected and how.
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4528 #include <ac_nonexistent.h>
4530 if ac_fn_c_try_cpp "$LINENO"; then :
4531 # Broken: success on invalid input.
4534 # Passes both tests.
4538 rm -f conftest.err conftest.i conftest.$ac_ext
4541 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4542 rm -f conftest.i conftest.err conftest.
$ac_ext
4543 if $ac_preproc_ok; then :
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4556 $as_echo "$CPP" >&6; }
4558 for ac_c_preproc_warn_flag
in '' yes
4560 # Use a header file that comes with gcc, so configuring glibc
4561 # with a fresh cross-compiler works.
4562 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4563 # <limits.h> exists even on freestanding compilers.
4564 # On the NeXT, cc -E runs the code through the compiler's parser,
4565 # not just through cpp. "Syntax error" is here to catch this case.
4566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4569 # include <limits.h>
4571 # include <assert.h>
4575 if ac_fn_c_try_cpp
"$LINENO"; then :
4578 # Broken: fails on valid input.
4581 rm -f conftest.err conftest.i conftest.
$ac_ext
4583 # OK, works on sane cases. Now check whether nonexistent headers
4584 # can be detected and how.
4585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4586 /* end confdefs.h. */
4587 #include <ac_nonexistent.h>
4589 if ac_fn_c_try_cpp
"$LINENO"; then :
4590 # Broken: success on invalid input.
4593 # Passes both tests.
4597 rm -f conftest.err conftest.i conftest.
$ac_ext
4600 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4601 rm -f conftest.i conftest.err conftest.
$ac_ext
4602 if $ac_preproc_ok; then :
4605 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4606 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4607 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4608 See \`config.log' for more details" "$LINENO" 5; }
4612 ac_cpp
='$CPP $CPPFLAGS'
4613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4620 save_cross_compiling
=$cross_compiling
4621 save_ac_tool_prefix
=$ac_tool_prefix
4626 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
4627 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
4628 ac_build_link
='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
4629 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4630 if test -n "$ac_tool_prefix"; then
4631 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4632 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4634 $as_echo_n "checking for $ac_word... " >&6; }
4635 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4636 $as_echo_n "(cached) " >&6
4638 if test -n "$CC_FOR_BUILD"; then
4639 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4645 test -z "$as_dir" && as_dir
=.
4646 for ac_exec_ext
in '' $ac_executable_extensions; do
4647 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4648 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}gcc"
4649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4658 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4659 if test -n "$CC_FOR_BUILD"; then
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4661 $as_echo "$CC_FOR_BUILD" >&6; }
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4664 $as_echo "no" >&6; }
4669 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
4670 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
4671 # Extract the first word of "gcc", so it can be a program name with args.
4672 set dummy gcc
; ac_word
=$2
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4674 $as_echo_n "checking for $ac_word... " >&6; }
4675 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
4676 $as_echo_n "(cached) " >&6
4678 if test -n "$ac_ct_CC_FOR_BUILD"; then
4679 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
4681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4685 test -z "$as_dir" && as_dir
=.
4686 for ac_exec_ext
in '' $ac_executable_extensions; do
4687 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4688 ac_cv_prog_ac_ct_CC_FOR_BUILD
="gcc"
4689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4698 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
4699 if test -n "$ac_ct_CC_FOR_BUILD"; then
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
4701 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4704 $as_echo "no" >&6; }
4707 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
4710 case $cross_compiling:$ac_tool_warned in
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
4713 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
4714 ac_tool_warned
=yes ;;
4716 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
4719 CC_FOR_BUILD
="$ac_cv_prog_CC_FOR_BUILD"
4722 if test -z "$CC_FOR_BUILD"; then
4723 if test -n "$ac_tool_prefix"; then
4724 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4725 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4727 $as_echo_n "checking for $ac_word... " >&6; }
4728 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4729 $as_echo_n "(cached) " >&6
4731 if test -n "$CC_FOR_BUILD"; then
4732 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4738 test -z "$as_dir" && as_dir
=.
4739 for ac_exec_ext
in '' $ac_executable_extensions; do
4740 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4741 ac_cv_prog_CC_FOR_BUILD
="${ac_tool_prefix}cc"
4742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4751 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4752 if test -n "$CC_FOR_BUILD"; then
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4754 $as_echo "$CC_FOR_BUILD" >&6; }
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4757 $as_echo "no" >&6; }
4763 if test -z "$CC_FOR_BUILD"; then
4764 # Extract the first word of "cc", so it can be a program name with args.
4765 set dummy cc
; ac_word
=$2
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4767 $as_echo_n "checking for $ac_word... " >&6; }
4768 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4769 $as_echo_n "(cached) " >&6
4771 if test -n "$CC_FOR_BUILD"; then
4772 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4779 test -z "$as_dir" && as_dir
=.
4780 for ac_exec_ext
in '' $ac_executable_extensions; do
4781 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4782 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4783 ac_prog_rejected
=yes
4786 ac_cv_prog_CC_FOR_BUILD
="cc"
4787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4794 if test $ac_prog_rejected = yes; then
4795 # We found a bogon in the path, so make sure we never use it.
4796 set dummy
$ac_cv_prog_CC_FOR_BUILD
4798 if test $# != 0; then
4799 # We chose a different compiler from the bogus one.
4800 # However, it has the same basename, so the bogon will be chosen
4801 # first if we set CC_FOR_BUILD to just the basename; use the full file name.
4803 ac_cv_prog_CC_FOR_BUILD
="$as_dir/$ac_word${1+' '}$@"
4808 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4809 if test -n "$CC_FOR_BUILD"; then
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4811 $as_echo "$CC_FOR_BUILD" >&6; }
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4814 $as_echo "no" >&6; }
4819 if test -z "$CC_FOR_BUILD"; then
4820 if test -n "$ac_tool_prefix"; then
4821 for ac_prog
in cl.exe
4823 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4824 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4826 $as_echo_n "checking for $ac_word... " >&6; }
4827 if ${ac_cv_prog_CC_FOR_BUILD+:} false
; then :
4828 $as_echo_n "(cached) " >&6
4830 if test -n "$CC_FOR_BUILD"; then
4831 ac_cv_prog_CC_FOR_BUILD
="$CC_FOR_BUILD" # Let the user override the test.
4833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4837 test -z "$as_dir" && as_dir
=.
4838 for ac_exec_ext
in '' $ac_executable_extensions; do
4839 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4840 ac_cv_prog_CC_FOR_BUILD
="$ac_tool_prefix$ac_prog"
4841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4850 CC_FOR_BUILD
=$ac_cv_prog_CC_FOR_BUILD
4851 if test -n "$CC_FOR_BUILD"; then
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
4853 $as_echo "$CC_FOR_BUILD" >&6; }
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856 $as_echo "no" >&6; }
4860 test -n "$CC_FOR_BUILD" && break
4863 if test -z "$CC_FOR_BUILD"; then
4864 ac_ct_CC_FOR_BUILD
=$CC_FOR_BUILD
4865 for ac_prog
in cl.exe
4867 # Extract the first word of "$ac_prog", so it can be a program name with args.
4868 set dummy
$ac_prog; ac_word
=$2
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4870 $as_echo_n "checking for $ac_word... " >&6; }
4871 if ${ac_cv_prog_ac_ct_CC_FOR_BUILD+:} false
; then :
4872 $as_echo_n "(cached) " >&6
4874 if test -n "$ac_ct_CC_FOR_BUILD"; then
4875 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
4877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4881 test -z "$as_dir" && as_dir
=.
4882 for ac_exec_ext
in '' $ac_executable_extensions; do
4883 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4884 ac_cv_prog_ac_ct_CC_FOR_BUILD
="$ac_prog"
4885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4894 ac_ct_CC_FOR_BUILD
=$ac_cv_prog_ac_ct_CC_FOR_BUILD
4895 if test -n "$ac_ct_CC_FOR_BUILD"; then
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC_FOR_BUILD" >&5
4897 $as_echo "$ac_ct_CC_FOR_BUILD" >&6; }
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4900 $as_echo "no" >&6; }
4904 test -n "$ac_ct_CC_FOR_BUILD" && break
4907 if test "x$ac_ct_CC_FOR_BUILD" = x
; then
4910 case $cross_compiling:$ac_tool_warned in
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with build triplet" >&5
4913 $as_echo "$as_me: WARNING: using cross tools not prefixed with build triplet" >&2;}
4914 ac_tool_warned
=yes ;;
4916 CC_FOR_BUILD
=$ac_ct_CC_FOR_BUILD
4923 test -z "$CC_FOR_BUILD" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4925 as_fn_error $?
"no acceptable C compiler found in \$PATH
4926 See \`config.log' for more details" "$LINENO" 5; }
4928 # Provide some information about the compiler.
4929 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4930 set X
$ac_build_compile
4932 for ac_option
in --version -v -V -qversion; do
4933 { { ac_try
="$ac_compiler $ac_option >&5"
4935 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4936 *) ac_try_echo=$ac_try;;
4938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4939 $as_echo "$ac_try_echo"; } >&5
4940 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4942 if test -s conftest.err; then
4944 ... rest of stderr output deleted ...
4945 10q' conftest.err >conftest.er1
4946 cat conftest.er1 >&5
4948 rm -f conftest.er1 conftest.err
4949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4950 test $ac_status = 0; }
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4954 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4955 if ${ac_cv_c_compiler_gnu+:} false; then :
4956 $as_echo_n "(cached) " >&6
4958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4959 /* end confdefs.h. */
4972 if ac_fn_c_try_compile "$LINENO"; then :
4977 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
4978 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4982 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4983 if test $ac_compiler_gnu = yes; then
4988 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
4989 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC_FOR_BUILD accepts -g" >&5
4991 $as_echo_n "checking whether $CC_FOR_BUILD accepts -g... " >&6; }
4992 if ${ac_cv_build_prog_cc_g+:} false; then :
4993 $as_echo_n "(cached) " >&6
4995 ac_save_c_werror_flag=$ac_c_werror_flag
4996 ac_c_werror_flag=yes
4997 ac_cv_build_prog_cc_g=no
4998 CFLAGS_FOR_BUILD="-g"
4999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5000 /* end confdefs.h. */
5010 if ac_fn_c_try_compile "$LINENO"; then :
5011 ac_cv_build_prog_cc_g=yes
5014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5015 /* end confdefs.h. */
5025 if ac_fn_c_try_compile "$LINENO"; then :
5028 ac_c_werror_flag=$ac_save_c_werror_flag
5029 CFLAGS_FOR_BUILD="-g"
5030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5031 /* end confdefs.h. */
5041 if ac_fn_c_try_compile "$LINENO"; then :
5042 ac_cv_build_prog_cc_g=yes
5044 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5046 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5048 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
5049 ac_c_werror_flag=$ac_save_c_werror_flag
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build_prog_cc_g" >&5
5052 $as_echo "$ac_cv_build_prog_cc_g" >&6; }
5053 if test "$ac_test_CFLAGS" = set; then
5054 CFLAGS_FOR_BUILD=$ac_save_CFLAGS
5055 elif test $ac_cv_build_prog_cc_g = yes; then
5056 if test "$GCC" = yes; then
5057 CFLAGS_FOR_BUILD="-g -O2"
5059 CFLAGS_FOR_BUILD="-g"
5062 if test "$GCC" = yes; then
5063 CFLAGS_FOR_BUILD="-O2"
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
5069 $as_echo_n "checking for $CC_FOR_BUILD option to accept ISO C89... " >&6; }
5070 if ${ac_cv_prog_cc_c89+:} false; then :
5071 $as_echo_n "(cached) " >&6
5073 ac_cv_prog_cc_c89=no
5074 ac_save_CC=$CC_FOR_BUILD
5075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5076 /* end confdefs.h. */
5080 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5081 struct buf { int x; };
5082 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5083 static char *e (p, i)
5089 static char *f (char * (*g) (char **, int), char **p, ...)
5094 s = g (p, va_arg (v,int));
5099 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5100 function prototypes and stuff, but not '\xHH' hex character constants.
5101 These don't provoke an error unfortunately, instead are silently treated
5102 as 'x'. The following induces an error, until -std is added to get
5103 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5104 array size at least. It's necessary to write '\x00'==0 to get something
5105 that's true only with -std. */
5106 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5108 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5109 inside strings and character constants. */
5111 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5113 int test (int i, double x);
5114 struct s1 {int (*f) (int a);};
5115 struct s2 {int (*f) (double a);};
5116 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5122 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5127 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5128 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5130 CC_FOR_BUILD="$ac_save_CC $ac_arg"
5131 if ac_fn_c_try_compile "$LINENO"; then :
5132 ac_cv_prog_cc_c89=$ac_arg
5134 rm -f core conftest.err conftest.$ac_build_objext
5135 test "x$ac_cv_prog_cc_c89" != "xno" && break
5137 rm -f conftest.$ac_ext
5138 CC_FOR_BUILD=$ac_save_CC
5142 case "x$ac_cv_prog_cc_c89" in
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5145 $as_echo "none needed" >&6; } ;;
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5148 $as_echo "unsupported" >&6; } ;;
5150 CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_prog_cc_c89"
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5152 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5154 if test "x$ac_cv_prog_cc_c89" != xno; then :
5159 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5160 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5161 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5164 depcc="$CC_FOR_BUILD" am_compiler_list=
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5167 $as_echo_n "checking dependency style of $depcc... " >&6; }
5168 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5169 $as_echo_n "(cached) " >&6
5171 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5172 # We make a subdir and do the tests there. Otherwise we can end up
5173 # making bogus files that we don't know about and never remove. For
5174 # instance it was reported that on HP-UX the gcc test will end up
5175 # making a dummy file named 'D' -- because '-MD' means "put the output
5179 # Copy depcomp to subdir because otherwise we won't find it if we're
5180 # using a relative directory.
5181 cp "$am_depcomp" conftest.dir
5183 # We will build objects and dependencies in a subdirectory because
5184 # it helps to detect inapplicable dependency modes. For instance
5185 # both Tru64's cc and ICC support -MD to output dependencies as a
5186 # side effect of compilation, but ICC will put the dependencies in
5187 # the current directory while Tru64 will put them in the object
5191 am_cv_CC_dependencies_compiler_type=none
5192 if test "$am_compiler_list" = ""; then
5193 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5196 case " $depcc " in #(
5197 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5200 for depmode in $am_compiler_list; do
5201 # Setup a source with many dependencies, because some compilers
5202 # like to wrap large dependency lists on column 80 (with \), and
5203 # we should not choose a depcomp mode which is confused by this.
5205 # We need to recreate these files for each test, as the compiler may
5206 # overwrite some of them when testing with obscure command lines.
5207 # This happens at least with the AIX C compiler.
5209 for i in 1 2 3 4 5 6; do
5210 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5211 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5212 # Solaris 10 /bin/sh.
5213 echo '/* dummy */' > sub/conftst$i.h
5215 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5217 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5218 # mode. It turns out that the SunPro C++ compiler does not properly
5219 # handle '-M -o', and we need to detect this. Also, some Intel
5220 # versions had trouble with output in subdirs.
5221 am__obj=sub/conftest.${OBJEXT-o}
5222 am__minus_obj="-o $am__obj"
5225 # This depmode causes a compiler race in universal mode.
5226 test "$am__universal" = false || continue
5229 # After this tag, mechanisms are not by side-effect, so they'll
5230 # only be used when explicitly requested.
5231 if test "x$enable_dependency_tracking" = xyes; then
5237 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5238 # This compiler won't grok '-c -o', but also, the minuso test has
5239 # not run yet. These depmodes are late enough in the game, and
5240 # so weak that their functioning should not be impacted.
5241 am__obj=conftest.${OBJEXT-o}
5246 if depmode=$depmode \
5247 source=sub/conftest.c object=$am__obj \
5248 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5249 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5250 >/dev/null 2>conftest.err &&
5251 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5252 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5253 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5254 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5255 # icc doesn't choke on unknown options, it will just issue warnings
5256 # or remarks (even with -Werror). So we grep stderr for any message
5257 # that says an option was ignored or not supported.
5258 # When given -MP, icc 7.0 and 7.1 complain thusly:
5259 # icc: Command line warning: ignoring option '-M'; no argument required
5260 # The diagnosis changed in icc 8.0:
5261 # icc: Command line remark: option '-MP' not supported
5262 if (grep 'ignoring option' conftest.err ||
5263 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5264 am_cv_CC_dependencies_compiler_type=$depmode
5273 am_cv_CC_dependencies_compiler_type=none
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5278 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5279 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5282 test "x$enable_dependency_tracking" != xno \
5283 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5285 am__fastdepCC_FALSE='#'
5287 am__fastdepCC_TRUE='#'
5288 am__fastdepCC_FALSE=
5293 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5294 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5295 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5298 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5299 # On Suns, sometimes $CPP names a directory.
5300 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
5303 if test -z "$CPP_FOR_BUILD"; then
5304 if ${ac_cv_build_prog_CPP+:} false; then :
5305 $as_echo_n "(cached) " >&6
5307 # Double quotes because CPP needs to be expanded
5308 for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
5311 for ac_c_preproc_warn_flag in '' yes
5313 # Use a header file that comes with gcc, so configuring glibc
5314 # with a fresh cross-compiler works.
5315 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5316 # <limits.h> exists even on freestanding compilers.
5317 # On the NeXT, cc -E runs the code through the compiler's parser,
5318 # not just through cpp. "Syntax error" is here to catch this case.
5319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5320 /* end confdefs.h. */
5322 # include <limits.h>
5324 # include <assert.h>
5328 if ac_fn_c_try_cpp "$LINENO"; then :
5331 # Broken: fails on valid input.
5334 rm -f conftest.err conftest.i conftest.$ac_ext
5336 # OK, works on sane cases. Now check whether nonexistent headers
5337 # can be detected and how.
5338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5339 /* end confdefs.h. */
5340 #include <ac_nonexistent.h>
5342 if ac_fn_c_try_cpp "$LINENO"; then :
5343 # Broken: success on invalid input.
5346 # Passes both tests.
5350 rm -f conftest.err conftest.i conftest.$ac_ext
5353 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5354 rm -f conftest.i conftest.err conftest.
$ac_ext
5355 if $ac_preproc_ok; then :
5360 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
5363 CPP_FOR_BUILD
=$ac_cv_build_prog_CPP
5365 ac_cv_build_prog_CPP
=$CPP_FOR_BUILD
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP_FOR_BUILD" >&5
5368 $as_echo "$CPP_FOR_BUILD" >&6; }
5370 for ac_c_preproc_warn_flag
in '' yes
5372 # Use a header file that comes with gcc, so configuring glibc
5373 # with a fresh cross-compiler works.
5374 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5375 # <limits.h> exists even on freestanding compilers.
5376 # On the NeXT, cc -E runs the code through the compiler's parser,
5377 # not just through cpp. "Syntax error" is here to catch this case.
5378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5379 /* end confdefs.h. */
5381 # include <limits.h>
5383 # include <assert.h>
5387 if ac_fn_c_try_cpp
"$LINENO"; then :
5390 # Broken: fails on valid input.
5393 rm -f conftest.err conftest.i conftest.
$ac_ext
5395 # OK, works on sane cases. Now check whether nonexistent headers
5396 # can be detected and how.
5397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5398 /* end confdefs.h. */
5399 #include <ac_nonexistent.h>
5401 if ac_fn_c_try_cpp
"$LINENO"; then :
5402 # Broken: success on invalid input.
5405 # Passes both tests.
5409 rm -f conftest.err conftest.i conftest.
$ac_ext
5412 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5413 rm -f conftest.i conftest.err conftest.
$ac_ext
5414 if $ac_preproc_ok; then :
5417 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5419 as_fn_error $?
"C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
5420 See \`config.log' for more details" "$LINENO" 5; }
5424 ac_build_cpp
='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
5425 ac_build_compile
='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
5426 ac_build_link
='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS_FOR_BUILD conftest.$ac_ext $LIBS >&5'
5427 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5431 ac_tool_prefix
=$save_ac_tool_prefix
5432 cross_compiling
=$save_cross_compiling
5435 BUILD_EXEEXT
=$ac_build_exeext
5436 BUILD_OBJEXT
=$ac_build_objext
5438 case $ac_cv_prog_cc_stdc in #(
5440 ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;; #(
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5443 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5444 if ${ac_cv_prog_cc_c99+:} false
; then :
5445 $as_echo_n "(cached) " >&6
5447 ac_cv_prog_cc_c99
=no
5449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5450 /* end confdefs.h. */
5452 #include <stdbool.h>
5457 // Check varargs macros. These examples are taken from C99 6.10.3.5.
5458 #define debug(...) fprintf (stderr, __VA_ARGS__)
5459 #define showlist(...) puts (#__VA_ARGS__)
5460 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
5462 test_varargs_macros (void)
5467 debug ("X = %d\n", x);
5468 showlist (The first, second, and third items.);
5469 report (x>y, "x is %d but y is %d", x, y);
5472 // Check long long types.
5473 #define BIG64 18446744073709551615ull
5474 #define BIG32 4294967295ul
5475 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
5477 your preprocessor is broken;
5481 your preprocessor is broken;
5483 static long long int bignum = -9223372036854775807LL;
5484 static unsigned long long int ubignum = BIG64;
5486 struct incomplete_array
5494 const wchar_t *name;
5498 typedef const char *ccp;
5501 test_restrict (ccp restrict text)
5503 // See if C++-style comments work.
5504 // Iterate through items via the restricted pointer.
5505 // Also check for declarations in for loops.
5506 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
5511 // Check varargs and va_copy.
5513 test_varargs (const char *format, ...)
5516 va_start (args, format);
5518 va_copy (args_copy, args);
5529 str = va_arg (args_copy, const char *);
5532 number = va_arg (args_copy, int);
5535 fnumber = va_arg (args_copy, double);
5550 _Bool success = false;
5553 if (test_restrict ("String literal") == 0)
5555 char *restrict newvar = "Another string";
5558 test_varargs ("s, d' f .", "string", 65, 34.234);
5559 test_varargs_macros ();
5561 // Check flexible array members.
5562 struct incomplete_array *ia =
5563 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
5565 for (int i = 0; i < ia->datasize; ++i)
5566 ia->data[i] = i * 1.234;
5568 // Check named initializers.
5569 struct named_init ni = {
5571 .name = L"Test wide string",
5572 .average = 543.34343,
5577 int dynamic_array[ni.number];
5578 dynamic_array[ni.number - 1] = 543;
5580 // work around unused variable warnings
5581 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
5582 || dynamic_array[ni.number - 1] != 543);
5588 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
5590 CC
="$ac_save_CC $ac_arg"
5591 if ac_fn_c_try_compile
"$LINENO"; then :
5592 ac_cv_prog_cc_c99
=$ac_arg
5594 rm -f core conftest.err conftest.
$ac_objext
5595 test "x$ac_cv_prog_cc_c99" != "xno" && break
5597 rm -f conftest.
$ac_ext
5602 case "x$ac_cv_prog_cc_c99" in
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5605 $as_echo "none needed" >&6; } ;;
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5608 $as_echo "unsupported" >&6; } ;;
5610 CC
="$CC $ac_cv_prog_cc_c99"
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5612 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
5614 if test "x$ac_cv_prog_cc_c99" != xno
; then :
5615 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5618 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5619 if ${ac_cv_prog_cc_c89+:} false
; then :
5620 $as_echo_n "(cached) " >&6
5622 ac_cv_prog_cc_c89
=no
5624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5625 /* end confdefs.h. */
5629 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5630 struct buf { int x; };
5631 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5632 static char *e (p, i)
5638 static char *f (char * (*g) (char **, int), char **p, ...)
5643 s = g (p, va_arg (v,int));
5648 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5649 function prototypes and stuff, but not '\xHH' hex character constants.
5650 These don't provoke an error unfortunately, instead are silently treated
5651 as 'x'. The following induces an error, until -std is added to get
5652 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5653 array size at least. It's necessary to write '\x00'==0 to get something
5654 that's true only with -std. */
5655 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5657 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5658 inside strings and character constants. */
5660 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5662 int test (int i, double x);
5663 struct s1 {int (*f) (int a);};
5664 struct s2 {int (*f) (double a);};
5665 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5671 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5676 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
5677 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5679 CC
="$ac_save_CC $ac_arg"
5680 if ac_fn_c_try_compile
"$LINENO"; then :
5681 ac_cv_prog_cc_c89
=$ac_arg
5683 rm -f core conftest.err conftest.
$ac_objext
5684 test "x$ac_cv_prog_cc_c89" != "xno" && break
5686 rm -f conftest.
$ac_ext
5691 case "x$ac_cv_prog_cc_c89" in
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5694 $as_echo "none needed" >&6; } ;;
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5697 $as_echo "unsupported" >&6; } ;;
5699 CC
="$CC $ac_cv_prog_cc_c89"
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5701 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5703 if test "x$ac_cv_prog_cc_c89" != xno
; then :
5704 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
5706 ac_cv_prog_cc_stdc
=no
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
5713 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
5714 if ${ac_cv_prog_cc_stdc+:} false
; then :
5715 $as_echo_n "(cached) " >&6
5718 case $ac_cv_prog_cc_stdc in #(
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5721 $as_echo "unsupported" >&6; } ;; #(
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5724 $as_echo "none needed" >&6; } ;; #(
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
5727 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5732 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5734 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5735 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
5736 $as_echo_n "(cached) " >&6
5738 cat >conftest.
make <<\_ACEOF
5741 @
echo '@@@%%%=$(MAKE)=@@@%%%'
5743 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5744 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5746 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
5748 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
5752 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5754 $as_echo "yes" >&6; }
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5758 $as_echo "no" >&6; }
5759 SET_MAKE
="MAKE=${MAKE-make}"
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5763 $as_echo_n "checking whether ln -s works... " >&6; }
5765 if test "$LN_S" = "ln -s"; then
5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5767 $as_echo "yes" >&6; }
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5770 $as_echo "no, using $LN_S" >&6; }
5773 for ac_prog
in gawk mawk nawk
awk
5775 # Extract the first word of "$ac_prog", so it can be a program name with args.
5776 set dummy
$ac_prog; ac_word
=$2
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5778 $as_echo_n "checking for $ac_word... " >&6; }
5779 if ${ac_cv_prog_AWK+:} false
; then :
5780 $as_echo_n "(cached) " >&6
5782 if test -n "$AWK"; then
5783 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5789 test -z "$as_dir" && as_dir
=.
5790 for ac_exec_ext
in '' $ac_executable_extensions; do
5791 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5792 ac_cv_prog_AWK
="$ac_prog"
5793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5803 if test -n "$AWK"; then
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
5805 $as_echo "$AWK" >&6; }
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5808 $as_echo "no" >&6; }
5812 test -n "$AWK" && break
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5818 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5823 macro_version
='2.4.2'
5824 macro_revision
='1.3337'
5838 ltmain
="$ac_aux_dir/ltmain.sh"
5840 # Backslashify metacharacters that are still active within
5841 # double-quoted strings.
5842 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5844 # Same as above, but do not quote variable references.
5845 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5847 # Sed substitution to delay expansion of an escaped shell variable in a
5848 # double_quote_subst'ed string.
5849 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5851 # Sed substitution to delay expansion of an escaped single quote.
5852 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5854 # Sed substitution to avoid accidental globbing in evaled expressions
5855 no_glob_subst
='s/\*/\\\*/g'
5857 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5858 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5859 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5862 $as_echo_n "checking how to print strings... " >&6; }
5863 # Test print first, because it will be a builtin if present.
5864 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5865 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5867 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5870 # Use this function as a fallback that always works.
5871 func_fallback_echo ()
5873 eval 'cat <<_LTECHO_EOF
5877 ECHO='func_fallback_echo
'
5880 # func_echo_all arg...
5881 # Invoke $ECHO with all args, space-separated.
5888 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5889 $as_echo "printf" >&6; } ;;
5890 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5891 $as_echo "print -r" >&6; } ;;
5892 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5893 $as_echo "cat" >&6; } ;;
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5910 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5911 if ${ac_cv_path_SED+:} false; then :
5912 $as_echo_n "(cached) " >&6
5914 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5915 for ac_i in 1 2 3 4 5 6 7; do
5916 ac_script="$ac_script$as_nl$ac_script"
5918 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5919 { ac_script=; unset ac_script;}
5920 if test -z "$SED"; then
5921 ac_path_SED_found=false
5922 # Loop through the user's path and
test for each of PROGNAME-LIST
5923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5927 test -z "$as_dir" && as_dir
=.
5928 for ac_prog
in sed gsed
; do
5929 for ac_exec_ext
in '' $ac_executable_extensions; do
5930 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
5931 as_fn_executable_p
"$ac_path_SED" ||
continue
5932 # Check for GNU ac_path_SED and select it if it is found.
5933 # Check for GNU $ac_path_SED
5934 case `"$ac_path_SED" --version 2>&1` in
5936 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
5939 $as_echo_n 0123456789 >"conftest.in"
5942 cat "conftest.in" "conftest.in" >"conftest.tmp"
5943 mv "conftest.tmp" "conftest.in"
5944 cp "conftest.in" "conftest.nl"
5945 $as_echo '' >> "conftest.nl"
5946 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5947 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5948 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5949 if test $ac_count -gt ${ac_path_SED_max-0}; then
5950 # Best one so far, save it but keep looking for a better one
5951 ac_cv_path_SED
="$ac_path_SED"
5952 ac_path_SED_max
=$ac_count
5954 # 10*(2^10) chars as input seems more than enough
5955 test $ac_count -gt 10 && break
5957 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5960 $ac_path_SED_found && break 3
5965 if test -z "$ac_cv_path_SED"; then
5966 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5974 $as_echo "$ac_cv_path_SED" >&6; }
5975 SED
="$ac_cv_path_SED"
5978 test -z "$SED" && SED
=sed
5979 Xsed
="$SED -e 1s/^X//"
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5992 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5993 if ${ac_cv_path_GREP+:} false
; then :
5994 $as_echo_n "(cached) " >&6
5996 if test -z "$GREP"; then
5997 ac_path_GREP_found
=false
5998 # Loop through the user's path and test for each of PROGNAME-LIST
5999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6000 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6003 test -z "$as_dir" && as_dir
=.
6004 for ac_prog
in grep ggrep
; do
6005 for ac_exec_ext
in '' $ac_executable_extensions; do
6006 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
6007 as_fn_executable_p
"$ac_path_GREP" ||
continue
6008 # Check for GNU ac_path_GREP and select it if it is found.
6009 # Check for GNU $ac_path_GREP
6010 case `"$ac_path_GREP" --version 2>&1` in
6012 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
6015 $as_echo_n 0123456789 >"conftest.in"
6018 cat "conftest.in" "conftest.in" >"conftest.tmp"
6019 mv "conftest.tmp" "conftest.in"
6020 cp "conftest.in" "conftest.nl"
6021 $as_echo 'GREP' >> "conftest.nl"
6022 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6023 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6024 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6025 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6026 # Best one so far, save it but keep looking for a better one
6027 ac_cv_path_GREP
="$ac_path_GREP"
6028 ac_path_GREP_max
=$ac_count
6030 # 10*(2^10) chars as input seems more than enough
6031 test $ac_count -gt 10 && break
6033 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6036 $ac_path_GREP_found && break 3
6041 if test -z "$ac_cv_path_GREP"; then
6042 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6045 ac_cv_path_GREP
=$GREP
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6050 $as_echo "$ac_cv_path_GREP" >&6; }
6051 GREP
="$ac_cv_path_GREP"
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6055 $as_echo_n "checking for egrep... " >&6; }
6056 if ${ac_cv_path_EGREP+:} false
; then :
6057 $as_echo_n "(cached) " >&6
6059 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
6060 then ac_cv_path_EGREP
="$GREP -E"
6062 if test -z "$EGREP"; then
6063 ac_path_EGREP_found
=false
6064 # Loop through the user's path and test for each of PROGNAME-LIST
6065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6066 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6069 test -z "$as_dir" && as_dir
=.
6070 for ac_prog
in egrep; do
6071 for ac_exec_ext
in '' $ac_executable_extensions; do
6072 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
6073 as_fn_executable_p
"$ac_path_EGREP" ||
continue
6074 # Check for GNU ac_path_EGREP and select it if it is found.
6075 # Check for GNU $ac_path_EGREP
6076 case `"$ac_path_EGREP" --version 2>&1` in
6078 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
6081 $as_echo_n 0123456789 >"conftest.in"
6084 cat "conftest.in" "conftest.in" >"conftest.tmp"
6085 mv "conftest.tmp" "conftest.in"
6086 cp "conftest.in" "conftest.nl"
6087 $as_echo 'EGREP' >> "conftest.nl"
6088 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6089 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6090 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6091 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6092 # Best one so far, save it but keep looking for a better one
6093 ac_cv_path_EGREP
="$ac_path_EGREP"
6094 ac_path_EGREP_max
=$ac_count
6096 # 10*(2^10) chars as input seems more than enough
6097 test $ac_count -gt 10 && break
6099 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6102 $ac_path_EGREP_found && break 3
6107 if test -z "$ac_cv_path_EGREP"; then
6108 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6111 ac_cv_path_EGREP
=$EGREP
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6117 $as_echo "$ac_cv_path_EGREP" >&6; }
6118 EGREP
="$ac_cv_path_EGREP"
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6122 $as_echo_n "checking for fgrep... " >&6; }
6123 if ${ac_cv_path_FGREP+:} false
; then :
6124 $as_echo_n "(cached) " >&6
6126 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6127 then ac_cv_path_FGREP
="$GREP -F"
6129 if test -z "$FGREP"; then
6130 ac_path_FGREP_found
=false
6131 # Loop through the user's path and test for each of PROGNAME-LIST
6132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6133 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6136 test -z "$as_dir" && as_dir
=.
6137 for ac_prog
in fgrep
; do
6138 for ac_exec_ext
in '' $ac_executable_extensions; do
6139 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6140 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6141 # Check for GNU ac_path_FGREP and select it if it is found.
6142 # Check for GNU $ac_path_FGREP
6143 case `"$ac_path_FGREP" --version 2>&1` in
6145 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6148 $as_echo_n 0123456789 >"conftest.in"
6151 cat "conftest.in" "conftest.in" >"conftest.tmp"
6152 mv "conftest.tmp" "conftest.in"
6153 cp "conftest.in" "conftest.nl"
6154 $as_echo 'FGREP' >> "conftest.nl"
6155 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6156 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6157 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6158 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6159 # Best one so far, save it but keep looking for a better one
6160 ac_cv_path_FGREP
="$ac_path_FGREP"
6161 ac_path_FGREP_max
=$ac_count
6163 # 10*(2^10) chars as input seems more than enough
6164 test $ac_count -gt 10 && break
6166 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6169 $ac_path_FGREP_found && break 3
6174 if test -z "$ac_cv_path_FGREP"; then
6175 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6178 ac_cv_path_FGREP
=$FGREP
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6184 $as_echo "$ac_cv_path_FGREP" >&6; }
6185 FGREP
="$ac_cv_path_FGREP"
6188 test -z "$GREP" && GREP
=grep
6208 # Check whether --with-gnu-ld was given.
6209 if test "${with_gnu_ld+set}" = set; then :
6210 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6216 if test "$GCC" = yes; then
6217 # Check if gcc -print-prog-name=ld gives a path.
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6219 $as_echo_n "checking for ld used by $CC... " >&6; }
6222 # gcc leaves a trailing carriage return which upsets mingw
6223 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6225 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6228 # Accept absolute paths.
6230 re_direlt
='/[^/][^/]*/\.\./'
6231 # Canonicalize the pathname of ld
6232 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6233 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6234 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6236 test -z "$LD" && LD
="$ac_prog"
6239 # If it fails, then pretend we aren't using GCC.
6243 # If it is relative, then search for the first ld in PATH.
6247 elif test "$with_gnu_ld" = yes; then
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6249 $as_echo_n "checking for GNU ld... " >&6; }
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6252 $as_echo_n "checking for non-GNU ld... " >&6; }
6254 if ${lt_cv_path_LD+:} false
; then :
6255 $as_echo_n "(cached) " >&6
6257 if test -z "$LD"; then
6258 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6259 for ac_dir
in $PATH; do
6261 test -z "$ac_dir" && ac_dir
=.
6262 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6263 lt_cv_path_LD
="$ac_dir/$ac_prog"
6264 # Check to see if the program is GNU ld. I'd rather use --version,
6265 # but apparently some variants of GNU ld only accept -v.
6266 # Break only if it was the GNU/non-GNU ld that we prefer.
6267 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6268 *GNU
* |
*'with BFD'*)
6269 test "$with_gnu_ld" != no
&& break
6272 test "$with_gnu_ld" != yes && break
6279 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6284 if test -n "$LD"; then
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6286 $as_echo "$LD" >&6; }
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289 $as_echo "no" >&6; }
6291 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6293 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6294 if ${lt_cv_prog_gnu_ld+:} false
; then :
6295 $as_echo_n "(cached) " >&6
6297 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6298 case `$LD -v 2>&1 </dev/null` in
6299 *GNU
* |
*'with BFD'*)
6300 lt_cv_prog_gnu_ld
=yes
6303 lt_cv_prog_gnu_ld
=no
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6308 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6309 with_gnu_ld
=$lt_cv_prog_gnu_ld
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6320 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6321 if ${lt_cv_path_NM+:} false
; then :
6322 $as_echo_n "(cached) " >&6
6324 if test -n "$NM"; then
6325 # Let the user override the test.
6328 lt_nm_to_check
="${ac_tool_prefix}nm"
6329 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6330 lt_nm_to_check
="$lt_nm_to_check nm"
6332 for lt_tmp_nm
in $lt_nm_to_check; do
6333 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6334 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6336 test -z "$ac_dir" && ac_dir
=.
6337 tmp_nm
="$ac_dir/$lt_tmp_nm"
6338 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
6339 # Check to see if the nm accepts a BSD-compat flag.
6340 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6341 # nm: unknown option "B" ignored
6342 # Tru64's nm complains that /dev/null is an invalid object file
6343 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6344 */dev
/null
* |
*'Invalid file or object type'*)
6345 lt_cv_path_NM
="$tmp_nm -B"
6349 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6351 lt_cv_path_NM
="$tmp_nm -p"
6355 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6356 continue # so that we can try to find one that supports BSD flags
6365 : ${lt_cv_path_NM=no}
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6369 $as_echo "$lt_cv_path_NM" >&6; }
6370 if test "$lt_cv_path_NM" != "no"; then
6373 # Didn't find any BSD compatible name lister, look for dumpbin.
6374 if test -n "$DUMPBIN"; then :
6375 # Let the user override the test.
6377 if test -n "$ac_tool_prefix"; then
6378 for ac_prog
in dumpbin
"link -dump"
6380 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6381 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6383 $as_echo_n "checking for $ac_word... " >&6; }
6384 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6385 $as_echo_n "(cached) " >&6
6387 if test -n "$DUMPBIN"; then
6388 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6394 test -z "$as_dir" && as_dir
=.
6395 for ac_exec_ext
in '' $ac_executable_extensions; do
6396 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6397 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6407 DUMPBIN
=$ac_cv_prog_DUMPBIN
6408 if test -n "$DUMPBIN"; then
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6410 $as_echo "$DUMPBIN" >&6; }
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6413 $as_echo "no" >&6; }
6417 test -n "$DUMPBIN" && break
6420 if test -z "$DUMPBIN"; then
6421 ac_ct_DUMPBIN
=$DUMPBIN
6422 for ac_prog
in dumpbin
"link -dump"
6424 # Extract the first word of "$ac_prog", so it can be a program name with args.
6425 set dummy
$ac_prog; ac_word
=$2
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427 $as_echo_n "checking for $ac_word... " >&6; }
6428 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6429 $as_echo_n "(cached) " >&6
6431 if test -n "$ac_ct_DUMPBIN"; then
6432 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6438 test -z "$as_dir" && as_dir
=.
6439 for ac_exec_ext
in '' $ac_executable_extensions; do
6440 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6441 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6451 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6452 if test -n "$ac_ct_DUMPBIN"; then
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6454 $as_echo "$ac_ct_DUMPBIN" >&6; }
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6457 $as_echo "no" >&6; }
6461 test -n "$ac_ct_DUMPBIN" && break
6464 if test "x$ac_ct_DUMPBIN" = x
; then
6467 case $cross_compiling:$ac_tool_warned in
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6471 ac_tool_warned
=yes ;;
6473 DUMPBIN
=$ac_ct_DUMPBIN
6477 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6479 DUMPBIN
="$DUMPBIN -symbols"
6487 if test "$DUMPBIN" != ":"; then
6491 test -z "$NM" && NM
=nm
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6499 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6500 if ${lt_cv_nm_interface+:} false
; then :
6501 $as_echo_n "(cached) " >&6
6503 lt_cv_nm_interface
="BSD nm"
6504 echo "int some_variable = 0;" > conftest.
$ac_ext
6505 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6506 (eval "$ac_compile" 2>conftest.err
)
6507 cat conftest.err
>&5
6508 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6509 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6510 cat conftest.err
>&5
6511 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6512 cat conftest.out
>&5
6513 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6514 lt_cv_nm_interface
="MS dumpbin"
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6519 $as_echo "$lt_cv_nm_interface" >&6; }
6521 # find the maximum length of command line arguments
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6523 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6524 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6525 $as_echo_n "(cached) " >&6
6532 # On DJGPP, this test can blow up pretty badly due to problems in libc
6533 # (any single argument exceeding 2000 bytes causes a buffer overrun
6534 # during glob expansion). Even if it were fixed, the result of this
6535 # check would be larger than it should be.
6536 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6540 # Under GNU Hurd, this test is not required because there is
6541 # no limit to the length of command line arguments.
6542 # Libtool will interpret -1 as no limit whatsoever
6543 lt_cv_sys_max_cmd_len
=-1;
6546 cygwin
* | mingw
* | cegcc
*)
6547 # On Win9x/ME, this test blows up -- it succeeds, but takes
6548 # about 5 minutes as the teststring grows exponentially.
6549 # Worse, since 9x/ME are not pre-emptively multitasking,
6550 # you end up with a "frozen" computer, even though with patience
6551 # the test eventually succeeds (with a max line length of 256k).
6552 # Instead, let's just punt: use the minimum linelength reported by
6553 # all of the supported platforms: 8192 (on NT/2K/XP).
6554 lt_cv_sys_max_cmd_len
=8192;
6558 # On MiNT this can take a long time and run out of memory.
6559 lt_cv_sys_max_cmd_len
=8192;
6563 # On AmigaOS with pdksh, this test takes hours, literally.
6564 # So we just punt and use a minimum line length of 8192.
6565 lt_cv_sys_max_cmd_len
=8192;
6568 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6569 # This has been around since 386BSD, at least. Likely further.
6570 if test -x /sbin
/sysctl
; then
6571 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6572 elif test -x /usr
/sbin
/sysctl
; then
6573 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6575 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6577 # And add a safety zone
6578 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6579 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6583 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6584 lt_cv_sys_max_cmd_len
=196608
6588 # The test takes a long time on OS/2.
6589 lt_cv_sys_max_cmd_len
=8192
6593 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6594 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6595 # nice to cause kernel panics so lets avoid the loop below.
6596 # First set a reasonable default.
6597 lt_cv_sys_max_cmd_len
=16384
6599 if test -x /sbin
/sysconfig
; then
6600 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6601 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6606 lt_cv_sys_max_cmd_len
=102400
6608 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6609 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6610 if test -n "$kargmax"; then
6611 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6613 lt_cv_sys_max_cmd_len
=32768
6617 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6618 if test -n "$lt_cv_sys_max_cmd_len"; then
6619 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6620 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6622 # Make teststring a little bigger before we do anything with it.
6623 # a 1K string should be a reasonable start.
6624 for i
in 1 2 3 4 5 6 7 8 ; do
6625 teststring
=$teststring$teststring
6627 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6628 # If test is not a shell built-in, we'll probably end up computing a
6629 # maximum length that is only half of the actual maximum length, but
6631 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6632 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6633 test $i != 17 # 1/2 MB should be enough
6636 teststring
=$teststring$teststring
6638 # Only check the string length outside the loop.
6639 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6641 # Add a significant safety factor because C++ compilers can tack on
6642 # massive amounts of additional arguments before passing them to the
6643 # linker. It appears as though 1/2 is a usable value.
6644 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6651 if test -n $lt_cv_sys_max_cmd_len ; then
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6653 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6656 $as_echo "none" >&6; }
6658 max_cmd_len
=$lt_cv_sys_max_cmd_len
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6670 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6671 # Try some XSI features
6674 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6676 && eval 'test $(( 1 + 1 )) -eq 2 \
6677 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6680 $as_echo "$xsi_shell" >&6; }
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6684 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6686 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6688 && lt_shell_append=yes
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6690 $as_echo "$lt_shell_append" >&6; }
6693 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6703 # test EBCDIC or ASCII
6704 case `echo X|tr X '\101'` in
6705 A) # ASCII based system
6706 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6707 lt_SP2NL='tr \040 \012'
6708 lt_NL2SP='tr \015\012 \040\040'
6710 *) # EBCDIC based system
6711 lt_SP2NL='tr \100 \n'
6712 lt_NL2SP='tr \r\n \100\100'
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to
$host format
" >&5
6725 $as_echo_n "checking how to convert
$build file names to
$host format...
" >&6; }
6726 if ${lt_cv_to_host_file_cmd+:} false; then :
6727 $as_echo_n "(cached
) " >&6
6732 *-*-mingw* ) # actually msys
6733 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6736 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6738 * ) # otherwise, assume *nix
6739 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6745 *-*-mingw* ) # actually msys
6746 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6749 lt_cv_to_host_file_cmd=func_convert_file_noop
6751 * ) # otherwise, assume *nix
6752 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6756 * ) # unhandled hosts (and "normal
" native builds)
6757 lt_cv_to_host_file_cmd=func_convert_file_noop
6763 to_host_file_cmd=$lt_cv_to_host_file_cmd
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_host_file_cmd" >&5
6765 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert
$build file names to toolchain format
" >&5
6772 $as_echo_n "checking how to convert
$build file names to toolchain format...
" >&6; }
6773 if ${lt_cv_to_tool_file_cmd+:} false; then :
6774 $as_echo_n "(cached
) " >&6
6776 #assume ordinary cross tools, or native build.
6777 lt_cv_to_tool_file_cmd=func_convert_file_noop
6781 *-*-mingw* ) # actually msys
6782 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6790 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_to_tool_file_cmd" >&5
6792 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6799 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6800 if ${lt_cv_ld_reload_flag+:} false; then :
6801 $as_echo_n "(cached
) " >&6
6803 lt_cv_ld_reload_flag='-r'
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6806 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6807 reload_flag=$lt_cv_ld_reload_flag
6808 case $reload_flag in
6810 *) reload_flag=" $reload_flag" ;;
6812 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6814 cygwin* | mingw* | pw32* | cegcc*)
6815 if test "$GCC" != yes; then
6820 if test "$GCC" = yes; then
6821 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6823 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6836 if test -n "$ac_tool_prefix"; then
6837 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6838 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6840 $as_echo_n "checking
for $ac_word...
" >&6; }
6841 if ${ac_cv_prog_OBJDUMP+:} false; then :
6842 $as_echo_n "(cached
) " >&6
6844 if test -n "$OBJDUMP"; then
6845 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6851 test -z "$as_dir" && as_dir=.
6852 for ac_exec_ext in '' $ac_executable_extensions; do
6853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6854 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6855 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6864 OBJDUMP=$ac_cv_prog_OBJDUMP
6865 if test -n "$OBJDUMP"; then
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6867 $as_echo "$OBJDUMP" >&6; }
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6870 $as_echo "no
" >&6; }
6875 if test -z "$ac_cv_prog_OBJDUMP"; then
6876 ac_ct_OBJDUMP=$OBJDUMP
6877 # Extract the first word of "objdump
", so it can be a program name with args.
6878 set dummy objdump; ac_word=$2
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6880 $as_echo_n "checking
for $ac_word...
" >&6; }
6881 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6882 $as_echo_n "(cached
) " >&6
6884 if test -n "$ac_ct_OBJDUMP"; then
6885 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6891 test -z "$as_dir" && as_dir=.
6892 for ac_exec_ext in '' $ac_executable_extensions; do
6893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6894 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6895 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6904 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6905 if test -n "$ac_ct_OBJDUMP"; then
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6907 $as_echo "$ac_ct_OBJDUMP" >&6; }
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6910 $as_echo "no
" >&6; }
6913 if test "x
$ac_ct_OBJDUMP" = x; then
6916 case $cross_compiling:$ac_tool_warned in
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6919 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6920 ac_tool_warned=yes ;;
6922 OBJDUMP=$ac_ct_OBJDUMP
6925 OBJDUMP="$ac_cv_prog_OBJDUMP"
6928 test -z "$OBJDUMP" && OBJDUMP=objdump
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6939 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6940 if ${lt_cv_deplibs_check_method+:} false; then :
6941 $as_echo_n "(cached
) " >&6
6943 lt_cv_file_magic_cmd='$MAGIC_CMD'
6944 lt_cv_file_magic_test_file=
6945 lt_cv_deplibs_check_method='unknown'
6946 # Need to set the preceding variable on all platforms that support
6947 # interlibrary dependencies.
6948 # 'none' -- dependencies not supported.
6949 # `unknown' -- same as none, but documents that we really don't know.
6950 # 'pass_all' -- all dependencies passed with no checks.
6951 # 'test_compile' -- check by making test program.
6952 # 'file_magic [[regex]]' -- check by looking for files in library path
6953 # which responds to the $file_magic_cmd with a given extended regex.
6954 # If you have `file' or equivalent on your system and you're not sure
6955 # whether `pass_all' will *always* work, you probably want this one.
6959 lt_cv_deplibs_check_method=pass_all
6963 lt_cv_deplibs_check_method=pass_all
6967 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6968 lt_cv_file_magic_cmd='/usr/bin/file -L'
6969 lt_cv_file_magic_test_file=/shlib/libc.so
6973 # func_win32_libid is a shell function defined in ltmain.sh
6974 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6975 lt_cv_file_magic_cmd='func_win32_libid'
6979 # Base MSYS/MinGW do not provide the 'file' command needed by
6980 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6981 # unless we find 'file', for example because we are cross-compiling.
6982 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6983 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6984 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6985 lt_cv_file_magic_cmd='func_win32_libid'
6987 # Keep this pattern in sync with the one in func_win32_libid.
6988 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6989 lt_cv_file_magic_cmd='$OBJDUMP -f'
6994 # use the weaker test based on 'objdump'. See mingw*.
6995 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6996 lt_cv_file_magic_cmd='$OBJDUMP -f'
6999 darwin* | rhapsody*)
7000 lt_cv_deplibs_check_method=pass_all
7003 freebsd* | dragonfly*)
7004 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7007 # Not sure whether the presence of OpenBSD here was a mistake.
7008 # Let's accept both of them until this is cleared up.
7009 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7010 lt_cv_file_magic_cmd=/usr/bin/file
7011 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7015 lt_cv_deplibs_check_method=pass_all
7020 lt_cv_deplibs_check_method=pass_all
7024 lt_cv_deplibs_check_method=pass_all
7027 hpux10.20* | hpux11*)
7028 lt_cv_file_magic_cmd=/usr/bin/file
7031 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7032 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7035 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
7036 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7039 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7040 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7046 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7047 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7050 irix5* | irix6* | nonstopux*)
7052 *-32|*"-32 ") libmagic=32-bit;;
7053 *-n32|*"-n32 ") libmagic=N32;;
7054 *-64|*"-64 ") libmagic=64-bit;;
7055 *) libmagic=never-match;;
7057 lt_cv_deplibs_check_method=pass_all
7060 # This must be glibc/ELF.
7061 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7062 lt_cv_deplibs_check_method=pass_all
7066 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7067 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7069 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7074 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7075 lt_cv_file_magic_cmd=/usr/bin/file
7076 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7080 lt_cv_deplibs_check_method=pass_all
7084 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7085 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7087 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7091 osf3* | osf4* | osf5*)
7092 lt_cv_deplibs_check_method=pass_all
7096 lt_cv_deplibs_check_method=pass_all
7100 lt_cv_deplibs_check_method=pass_all
7103 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7104 lt_cv_deplibs_check_method=pass_all
7108 case $host_vendor in
7110 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]'
7111 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7114 lt_cv_deplibs_check_method=pass_all
7117 lt_cv_file_magic_cmd='/bin/file'
7118 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7121 lt_cv_file_magic_cmd='/bin/file'
7122 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7123 lt_cv_file_magic_test_file=/lib/libc.so
7126 lt_cv_deplibs_check_method=pass_all
7129 lt_cv_deplibs_check_method=pass_all
7135 lt_cv_deplibs_check_method=pass_all
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7141 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7145 if test "$build" = "$host"; then
7148 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7151 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s
/\
(..\
)/s\
/[\
1]\
/[\
1]\
/g
;/g
"`
7157 file_magic_cmd=$lt_cv_file_magic_cmd
7158 deplibs_check_method=$lt_cv_deplibs_check_method
7159 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7182 if test -n "$ac_tool_prefix"; then
7183 # Extract the first word of "${ac_tool_prefix}dlltool
", so it can be a program name with args.
7184 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7186 $as_echo_n "checking
for $ac_word...
" >&6; }
7187 if ${ac_cv_prog_DLLTOOL+:} false; then :
7188 $as_echo_n "(cached
) " >&6
7190 if test -n "$DLLTOOL"; then
7191 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197 test -z "$as_dir" && as_dir=.
7198 for ac_exec_ext in '' $ac_executable_extensions; do
7199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7200 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool
"
7201 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7210 DLLTOOL=$ac_cv_prog_DLLTOOL
7211 if test -n "$DLLTOOL"; then
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DLLTOOL" >&5
7213 $as_echo "$DLLTOOL" >&6; }
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7216 $as_echo "no
" >&6; }
7221 if test -z "$ac_cv_prog_DLLTOOL"; then
7222 ac_ct_DLLTOOL=$DLLTOOL
7223 # Extract the first word of "dlltool
", so it can be a program name with args.
7224 set dummy dlltool; ac_word=$2
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7226 $as_echo_n "checking
for $ac_word...
" >&6; }
7227 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7228 $as_echo_n "(cached
) " >&6
7230 if test -n "$ac_ct_DLLTOOL"; then
7231 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7237 test -z "$as_dir" && as_dir=.
7238 for ac_exec_ext in '' $ac_executable_extensions; do
7239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7240 ac_cv_prog_ac_ct_DLLTOOL="dlltool
"
7241 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7250 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7251 if test -n "$ac_ct_DLLTOOL"; then
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DLLTOOL" >&5
7253 $as_echo "$ac_ct_DLLTOOL" >&6; }
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7256 $as_echo "no
" >&6; }
7259 if test "x
$ac_ct_DLLTOOL" = x; then
7262 case $cross_compiling:$ac_tool_warned in
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7265 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7266 ac_tool_warned=yes ;;
7268 DLLTOOL=$ac_ct_DLLTOOL
7271 DLLTOOL="$ac_cv_prog_DLLTOOL"
7274 test -z "$DLLTOOL" && DLLTOOL=dlltool
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries
" >&5
7286 $as_echo_n "checking how to associate runtime and link libraries...
" >&6; }
7287 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7288 $as_echo_n "(cached
) " >&6
7290 lt_cv_sharedlib_from_linklib_cmd='unknown'
7293 cygwin* | mingw* | pw32* | cegcc*)
7294 # two different shell functions defined in ltmain.sh
7295 # decide which to use based on capabilities of $DLLTOOL
7296 case `$DLLTOOL --help 2>&1` in
7297 *--identify-strict*)
7298 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7301 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7306 # fallback: assume linklib IS sharedlib
7307 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sharedlib_from_linklib_cmd" >&5
7313 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7314 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7315 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7324 if test -n "$ac_tool_prefix"; then
7327 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7328 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7330 $as_echo_n "checking
for $ac_word...
" >&6; }
7331 if ${ac_cv_prog_AR+:} false; then :
7332 $as_echo_n "(cached
) " >&6
7334 if test -n "$AR"; then
7335 ac_cv_prog_AR="$AR" # Let the user override the test.
7337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7341 test -z "$as_dir" && as_dir=.
7342 for ac_exec_ext in '' $ac_executable_extensions; do
7343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7344 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7345 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7355 if test -n "$AR"; then
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7357 $as_echo "$AR" >&6; }
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7360 $as_echo "no
" >&6; }
7364 test -n "$AR" && break
7367 if test -z "$AR"; then
7371 # Extract the first word of "$ac_prog", so it can be a program name with args.
7372 set dummy $ac_prog; ac_word=$2
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7374 $as_echo_n "checking
for $ac_word...
" >&6; }
7375 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7376 $as_echo_n "(cached
) " >&6
7378 if test -n "$ac_ct_AR"; then
7379 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7385 test -z "$as_dir" && as_dir=.
7386 for ac_exec_ext in '' $ac_executable_extensions; do
7387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7388 ac_cv_prog_ac_ct_AR="$ac_prog"
7389 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7398 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7399 if test -n "$ac_ct_AR"; then
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7401 $as_echo "$ac_ct_AR" >&6; }
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7404 $as_echo "no
" >&6; }
7408 test -n "$ac_ct_AR" && break
7411 if test "x
$ac_ct_AR" = x; then
7414 case $cross_compiling:$ac_tool_warned in
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7417 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7418 ac_tool_warned=yes ;;
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for archiver @FILE support
" >&5
7438 $as_echo_n "checking
for archiver @FILE support...
" >&6; }
7439 if ${lt_cv_ar_at_file+:} false; then :
7440 $as_echo_n "(cached
) " >&6
7443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7444 /* end confdefs.h. */
7454 if ac_fn_c_try_compile "$LINENO"; then :
7455 echo conftest.$ac_objext > conftest.lst
7456 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7457 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7458 (eval $lt_ar_try) 2>&5
7460 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7461 test $ac_status = 0; }
7462 if test "$ac_status" -eq 0; then
7463 # Ensure the archiver fails upon bogus file names.
7464 rm -f conftest.$ac_objext libconftest.a
7465 { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7466 (eval $lt_ar_try) 2>&5
7468 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7469 test $ac_status = 0; }
7470 if test "$ac_status" -ne 0; then
7474 rm -f conftest.* libconftest.a
7477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ar_at_file" >&5
7481 $as_echo "$lt_cv_ar_at_file" >&6; }
7483 if test "x
$lt_cv_ar_at_file" = xno; then
7486 archiver_list_spec=$lt_cv_ar_at_file
7495 if test -n "$ac_tool_prefix"; then
7496 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7497 set dummy ${ac_tool_prefix}strip; ac_word=$2
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7499 $as_echo_n "checking
for $ac_word...
" >&6; }
7500 if ${ac_cv_prog_STRIP+:} false; then :
7501 $as_echo_n "(cached
) " >&6
7503 if test -n "$STRIP"; then
7504 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7510 test -z "$as_dir" && as_dir=.
7511 for ac_exec_ext in '' $ac_executable_extensions; do
7512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7513 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7514 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7523 STRIP=$ac_cv_prog_STRIP
7524 if test -n "$STRIP"; then
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7526 $as_echo "$STRIP" >&6; }
7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7529 $as_echo "no
" >&6; }
7534 if test -z "$ac_cv_prog_STRIP"; then
7536 # Extract the first word of "strip
", so it can be a program name with args.
7537 set dummy strip; ac_word=$2
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7539 $as_echo_n "checking
for $ac_word...
" >&6; }
7540 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7541 $as_echo_n "(cached
) " >&6
7543 if test -n "$ac_ct_STRIP"; then
7544 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7550 test -z "$as_dir" && as_dir=.
7551 for ac_exec_ext in '' $ac_executable_extensions; do
7552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7553 ac_cv_prog_ac_ct_STRIP="strip
"
7554 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7563 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7564 if test -n "$ac_ct_STRIP"; then
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7566 $as_echo "$ac_ct_STRIP" >&6; }
7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7569 $as_echo "no
" >&6; }
7572 if test "x
$ac_ct_STRIP" = x; then
7575 case $cross_compiling:$ac_tool_warned in
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7578 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7579 ac_tool_warned=yes ;;
7584 STRIP="$ac_cv_prog_STRIP"
7587 test -z "$STRIP" && STRIP=:
7594 if test -n "$ac_tool_prefix"; then
7595 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7596 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7598 $as_echo_n "checking
for $ac_word...
" >&6; }
7599 if ${ac_cv_prog_RANLIB+:} false; then :
7600 $as_echo_n "(cached
) " >&6
7602 if test -n "$RANLIB"; then
7603 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7609 test -z "$as_dir" && as_dir=.
7610 for ac_exec_ext in '' $ac_executable_extensions; do
7611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7612 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7613 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7622 RANLIB=$ac_cv_prog_RANLIB
7623 if test -n "$RANLIB"; then
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7625 $as_echo "$RANLIB" >&6; }
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7628 $as_echo "no
" >&6; }
7633 if test -z "$ac_cv_prog_RANLIB"; then
7634 ac_ct_RANLIB=$RANLIB
7635 # Extract the first word of "ranlib
", so it can be a program name with args.
7636 set dummy ranlib; ac_word=$2
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7638 $as_echo_n "checking
for $ac_word...
" >&6; }
7639 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7640 $as_echo_n "(cached
) " >&6
7642 if test -n "$ac_ct_RANLIB"; then
7643 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7649 test -z "$as_dir" && as_dir=.
7650 for ac_exec_ext in '' $ac_executable_extensions; do
7651 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7652 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7653 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7662 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7663 if test -n "$ac_ct_RANLIB"; then
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7665 $as_echo "$ac_ct_RANLIB" >&6; }
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7668 $as_echo "no
" >&6; }
7671 if test "x
$ac_ct_RANLIB" = x; then
7674 case $cross_compiling:$ac_tool_warned in
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7677 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7678 ac_tool_warned=yes ;;
7680 RANLIB=$ac_ct_RANLIB
7683 RANLIB="$ac_cv_prog_RANLIB"
7686 test -z "$RANLIB" && RANLIB=:
7693 # Determine commands to create old-style static archives.
7694 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7695 old_postinstall_cmds='chmod 644 $oldlib'
7696 old_postuninstall_cmds=
7698 if test -n "$RANLIB"; then
7701 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$tool_oldlib"
7704 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$tool_oldlib"
7707 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$tool_oldlib"
7712 lock_old_archive_extraction=yes ;;
7714 lock_old_archive_extraction=no ;;
7755 # If no C compiler was specified, use CC.
7758 # If no C compiler flags were specified, use CFLAGS.
7759 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7761 # Allow CC to be a program name with arguments.
7765 # Check for command to grab the raw symbol name followed by C symbol from nm.
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7767 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7768 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7769 $as_echo_n "(cached
) " >&6
7772 # These are sane defaults that work on at least a few old systems.
7773 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7775 # Character class describing NM global symbol codes.
7776 symcode='[BCDEGRST]'
7778 # Regexp to match symbols that can be accessed directly from C.
7779 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7781 # Define system-specific variables.
7786 cygwin* | mingw* | pw32* | cegcc*)
7787 symcode='[ABCDGISTW]'
7790 if test "$host_cpu" = ia64; then
7791 symcode='[ABCDEGRST]'
7795 symcode='[BCDEGRST]'
7798 symcode='[BCDEGQRST]'
7809 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7817 # If we're using GNU nm, then use its standard symbol codes.
7818 case `$NM -V 2>&1` in
7819 *GNU* | *'with BFD'*)
7820 symcode='[ABCDGIRSTW]' ;;
7823 # Transform an extracted symbol line into a proper C declaration.
7824 # Some systems (esp. on ia64) link data and code symbols differently,
7825 # so use this general approach.
7826 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7828 # Transform an extracted symbol line into symbol name and symbol address
7829 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7830 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'"
7832 # Handle CRLF in mingw tool chain
7836 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7840 # Try without a prefix underscore, then with it.
7841 for ac_symprfx in "" "_
"; do
7843 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7844 symxfrm="\\1 $ac_symprfx\\2 \\2"
7846 # Write the raw and C identifiers.
7847 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7848 # Fake it for dumpbin and say T for any non-static function
7849 # and D for any global variable.
7850 # Also find C++ and __fastcall symbols from MSVC++,
7851 # which start with @ or ?.
7852 lt_cv_sys_global_symbol_pipe="$AWK '"\
7853 " {last_section=section; section=\$ 3};"\
7854 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7855 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7856 " \$ 0!~/External *\|/{next};"\
7857 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7858 " {if(hide[section]) next};"\
7859 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7860 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7861 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7862 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7863 " ' prfx
=^
$ac_symprfx"
7865 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7867 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe |
sed '/ __gnu_lto/d'"
7869 # Check to see that the pipe works correctly.
7873 cat > conftest.$ac_ext <<_LT_EOF
7878 void nm_test_func(void);
7879 void nm_test_func(void){}
7883 int main(){nm_test_var='a';nm_test_func();return(0);}
7886 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7887 (eval $ac_compile) 2>&5
7889 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7890 test $ac_status = 0; }; then
7891 # Now try to grab the symbols.
7893 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7894 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7896 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7897 test $ac_status = 0; } && test -s "$nlist"; then
7898 # Try sorting and uniquifying the output.
7899 if sort "$nlist" | uniq > "$nlist"T; then
7900 mv -f "$nlist"T "$nlist"
7905 # Make sure that we snagged all the symbols we need.
7906 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7907 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7908 cat <<_LT_EOF > conftest.$ac_ext
7909 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7910 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7911 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7912 relocations are performed -- see ld's documentation on pseudo-relocs. */
7913 # define LT_DLSYM_CONST
7914 #elif defined(__osf__)
7915 /* This system does not cope well with relocations in const data. */
7916 # define LT_DLSYM_CONST
7918 # define LT_DLSYM_CONST const
7926 # Now generate the symbol file.
7927 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7929 cat <<_LT_EOF >> conftest.$ac_ext
7931 /* The mapping between symbol names and symbols. */
7932 LT_DLSYM_CONST struct {
7936 lt__PROGRAM__LTX_preloaded_symbols[] =
7938 { "@PROGRAM@
", (void *) 0 },
7940 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7941 cat <<\_LT_EOF >> conftest.$ac_ext
7945 /* This works around a problem in FreeBSD linker */
7946 #ifdef FREEBSD_WORKAROUND
7947 static const void *lt_preloaded_setup() {
7948 return lt__PROGRAM__LTX_preloaded_symbols;
7956 # Now try linking the two files.
7957 mv conftest.$ac_objext conftstm.$ac_objext
7958 lt_globsym_save_LIBS=$LIBS
7959 lt_globsym_save_CFLAGS=$CFLAGS
7960 LIBS="conftstm.
$ac_objext"
7961 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7962 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7963 (eval $ac_link) 2>&5
7965 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7966 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7969 LIBS=$lt_globsym_save_LIBS
7970 CFLAGS=$lt_globsym_save_CFLAGS
7972 echo "cannot
find nm_test_func
in $nlist" >&5
7975 echo "cannot
find nm_test_var
in $nlist" >&5
7978 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7981 echo "$progname: failed program was
:" >&5
7982 cat conftest.$ac_ext >&5
7984 rm -rf conftest* conftst*
7986 # Do not use the global_symbol_pipe unless it works.
7987 if test "$pipe_works" = yes; then
7990 lt_cv_sys_global_symbol_pipe=
7996 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7997 lt_cv_sys_global_symbol_to_cdecl=
7999 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
8001 $as_echo "failed
" >&6; }
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
8004 $as_echo "ok
" >&6; }
8007 # Response file support.
8008 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
8009 nm_file_list_spec='@'
8010 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8011 nm_file_list_spec='@'
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for sysroot
" >&5
8041 $as_echo_n "checking
for sysroot...
" >&6; }
8043 # Check whether --with-sysroot was given.
8044 if test "${with_sysroot+set}" = set; then :
8045 withval=$with_sysroot;
8052 case ${with_sysroot} in #(
8054 if test "$GCC" = yes; then
8055 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8059 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${with_sysroot}" >&5
8065 $as_echo "${with_sysroot}" >&6; }
8066 as_fn_error $? "The sysroot must be an absolute path.
" "$LINENO" 5
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ${lt_sysroot:-no}" >&5
8071 $as_echo "${lt_sysroot:-no}" >&6; }
8077 # Check whether --enable-libtool-lock was given.
8078 if test "${enable_libtool_lock+set}" = set; then :
8079 enableval=$enable_libtool_lock;
8082 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
8084 # Some flags need to be propagated to the compiler or linker for good
8088 # Find out which ABI we are using.
8089 echo 'int i;' > conftest.$ac_ext
8090 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8091 (eval $ac_compile) 2>&5
8093 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8094 test $ac_status = 0; }; then
8095 case `/usr/bin/file conftest.$ac_objext` in
8107 # Find out which ABI we are using.
8108 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
8109 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8110 (eval $ac_compile) 2>&5
8112 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8113 test $ac_status = 0; }; then
8114 if test "$lt_cv_prog_gnu_ld" = yes; then
8115 case `/usr/bin/file conftest.$ac_objext` in
8117 LD="${LD-ld} -melf32bsmip"
8120 LD="${LD-ld} -melf32bmipn32"
8123 LD="${LD-ld} -melf64bmip"
8127 case `/usr/bin/file conftest.$ac_objext` in
8143 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8144 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8145 # Find out which ABI we are using.
8146 echo 'int i;' > conftest.$ac_ext
8147 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8148 (eval $ac_compile) 2>&5
8150 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8151 test $ac_status = 0; }; then
8152 case `/usr/bin/file conftest.o` in
8155 x86_64-*kfreebsd*-gnu)
8156 LD="${LD-ld} -m elf_i386_fbsd
"
8159 LD="${LD-ld} -m elf_i386
"
8161 ppc64-*linux*|powerpc64-*linux*)
8162 LD="${LD-ld} -m elf32ppclinux
"
8165 LD="${LD-ld} -m elf_s390
"
8168 LD="${LD-ld} -m elf32_sparc
"
8174 x86_64-*kfreebsd*-gnu)
8175 LD="${LD-ld} -m elf_x86_64_fbsd
"
8178 LD="${LD-ld} -m elf_x86_64
"
8180 ppc*-*linux*|powerpc*-*linux*)
8181 LD="${LD-ld} -m elf64ppc
"
8183 s390*-*linux*|s390*-*tpf*)
8184 LD="${LD-ld} -m elf64_s390
"
8187 LD="${LD-ld} -m elf64_sparc
"
8197 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8198 SAVE_CFLAGS="$CFLAGS"
8199 CFLAGS="$CFLAGS -belf"
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
8201 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
8202 if ${lt_cv_cc_needs_belf+:} false; then :
8203 $as_echo_n "(cached
) " >&6
8206 ac_cpp='$CPP $CPPFLAGS'
8207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8212 /* end confdefs.h. */
8222 if ac_fn_c_try_link "$LINENO"; then :
8223 lt_cv_cc_needs_belf=yes
8225 lt_cv_cc_needs_belf=no
8227 rm -f core conftest.err conftest.$ac_objext \
8228 conftest$ac_exeext conftest.$ac_ext
8230 ac_cpp='$CPP $CPPFLAGS'
8231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
8237 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8238 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8239 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8240 CFLAGS="$SAVE_CFLAGS"
8244 # Find out which ABI we are using.
8245 echo 'int i;' > conftest.$ac_ext
8246 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8247 (eval $ac_compile) 2>&5
8249 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
8250 test $ac_status = 0; }; then
8251 case `/usr/bin/file conftest.o` in
8253 case $lt_cv_prog_gnu_ld in
8257 LD="${LD-ld} -m elf_x86_64
"
8260 LD="${LD-ld} -m elf64_sparc
"
8263 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8264 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8269 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8281 need_locks="$enable_libtool_lock"
8283 if test -n "$ac_tool_prefix"; then
8284 # Extract the first word of "${ac_tool_prefix}mt
", so it can be a program name with args.
8285 set dummy ${ac_tool_prefix}mt; ac_word=$2
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8287 $as_echo_n "checking
for $ac_word...
" >&6; }
8288 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8289 $as_echo_n "(cached
) " >&6
8291 if test -n "$MANIFEST_TOOL"; then
8292 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8298 test -z "$as_dir" && as_dir=.
8299 for ac_exec_ext in '' $ac_executable_extensions; do
8300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8301 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt
"
8302 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8311 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8312 if test -n "$MANIFEST_TOOL"; then
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $MANIFEST_TOOL" >&5
8314 $as_echo "$MANIFEST_TOOL" >&6; }
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8317 $as_echo "no
" >&6; }
8322 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8323 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8324 # Extract the first word of "mt
", so it can be a program name with args.
8325 set dummy mt; ac_word=$2
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8327 $as_echo_n "checking
for $ac_word...
" >&6; }
8328 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8329 $as_echo_n "(cached
) " >&6
8331 if test -n "$ac_ct_MANIFEST_TOOL"; then
8332 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8338 test -z "$as_dir" && as_dir=.
8339 for ac_exec_ext in '' $ac_executable_extensions; do
8340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8341 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt
"
8342 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8351 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8352 if test -n "$ac_ct_MANIFEST_TOOL"; then
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_MANIFEST_TOOL" >&5
8354 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8356 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8357 $as_echo "no
" >&6; }
8360 if test "x
$ac_ct_MANIFEST_TOOL" = x; then
8363 case $cross_compiling:$ac_tool_warned in
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8366 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8367 ac_tool_warned=yes ;;
8369 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
8372 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
8375 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if $MANIFEST_TOOL is a manifest tool
" >&5
8377 $as_echo_n "checking
if $MANIFEST_TOOL is a manifest tool...
" >&6; }
8378 if ${lt_cv_path_mainfest_tool+:} false; then :
8379 $as_echo_n "(cached
) " >&6
8381 lt_cv_path_mainfest_tool=no
8382 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
8383 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
8384 cat conftest.err >&5
8385 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
8386 lt_cv_path_mainfest_tool=yes
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_mainfest_tool" >&5
8391 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
8392 if test "x
$lt_cv_path_mainfest_tool" != xyes; then
8402 rhapsody* | darwin*)
8403 if test -n "$ac_tool_prefix"; then
8404 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
8405 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8407 $as_echo_n "checking
for $ac_word...
" >&6; }
8408 if ${ac_cv_prog_DSYMUTIL+:} false; then :
8409 $as_echo_n "(cached
) " >&6
8411 if test -n "$DSYMUTIL"; then
8412 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
8414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8418 test -z "$as_dir" && as_dir=.
8419 for ac_exec_ext in '' $ac_executable_extensions; do
8420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8421 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
8422 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8431 DSYMUTIL=$ac_cv_prog_DSYMUTIL
8432 if test -n "$DSYMUTIL"; then
8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
8434 $as_echo "$DSYMUTIL" >&6; }
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8437 $as_echo "no
" >&6; }
8442 if test -z "$ac_cv_prog_DSYMUTIL"; then
8443 ac_ct_DSYMUTIL=$DSYMUTIL
8444 # Extract the first word of "dsymutil
", so it can be a program name with args.
8445 set dummy dsymutil; ac_word=$2
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8447 $as_echo_n "checking
for $ac_word...
" >&6; }
8448 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8449 $as_echo_n "(cached
) " >&6
8451 if test -n "$ac_ct_DSYMUTIL"; then
8452 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8458 test -z "$as_dir" && as_dir=.
8459 for ac_exec_ext in '' $ac_executable_extensions; do
8460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8461 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8462 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8471 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8472 if test -n "$ac_ct_DSYMUTIL"; then
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8474 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8477 $as_echo "no
" >&6; }
8480 if test "x
$ac_ct_DSYMUTIL" = x; then
8483 case $cross_compiling:$ac_tool_warned in
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8486 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8487 ac_tool_warned=yes ;;
8489 DSYMUTIL=$ac_ct_DSYMUTIL
8492 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8495 if test -n "$ac_tool_prefix"; then
8496 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8497 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8499 $as_echo_n "checking
for $ac_word...
" >&6; }
8500 if ${ac_cv_prog_NMEDIT+:} false; then :
8501 $as_echo_n "(cached
) " >&6
8503 if test -n "$NMEDIT"; then
8504 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8510 test -z "$as_dir" && as_dir=.
8511 for ac_exec_ext in '' $ac_executable_extensions; do
8512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8513 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8514 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8523 NMEDIT=$ac_cv_prog_NMEDIT
8524 if test -n "$NMEDIT"; then
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8526 $as_echo "$NMEDIT" >&6; }
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8529 $as_echo "no
" >&6; }
8534 if test -z "$ac_cv_prog_NMEDIT"; then
8535 ac_ct_NMEDIT=$NMEDIT
8536 # Extract the first word of "nmedit
", so it can be a program name with args.
8537 set dummy nmedit; ac_word=$2
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8539 $as_echo_n "checking
for $ac_word...
" >&6; }
8540 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8541 $as_echo_n "(cached
) " >&6
8543 if test -n "$ac_ct_NMEDIT"; then
8544 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8550 test -z "$as_dir" && as_dir=.
8551 for ac_exec_ext in '' $ac_executable_extensions; do
8552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8553 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8554 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8563 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8564 if test -n "$ac_ct_NMEDIT"; then
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8566 $as_echo "$ac_ct_NMEDIT" >&6; }
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8569 $as_echo "no
" >&6; }
8572 if test "x
$ac_ct_NMEDIT" = x; then
8575 case $cross_compiling:$ac_tool_warned in
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8578 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8579 ac_tool_warned=yes ;;
8581 NMEDIT=$ac_ct_NMEDIT
8584 NMEDIT="$ac_cv_prog_NMEDIT"
8587 if test -n "$ac_tool_prefix"; then
8588 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8589 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8591 $as_echo_n "checking
for $ac_word...
" >&6; }
8592 if ${ac_cv_prog_LIPO+:} false; then :
8593 $as_echo_n "(cached
) " >&6
8595 if test -n "$LIPO"; then
8596 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8602 test -z "$as_dir" && as_dir=.
8603 for ac_exec_ext in '' $ac_executable_extensions; do
8604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8605 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8606 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8615 LIPO=$ac_cv_prog_LIPO
8616 if test -n "$LIPO"; then
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8618 $as_echo "$LIPO" >&6; }
8620 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8621 $as_echo "no
" >&6; }
8626 if test -z "$ac_cv_prog_LIPO"; then
8628 # Extract the first word of "lipo
", so it can be a program name with args.
8629 set dummy lipo; ac_word=$2
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8631 $as_echo_n "checking
for $ac_word...
" >&6; }
8632 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8633 $as_echo_n "(cached
) " >&6
8635 if test -n "$ac_ct_LIPO"; then
8636 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8642 test -z "$as_dir" && as_dir=.
8643 for ac_exec_ext in '' $ac_executable_extensions; do
8644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8645 ac_cv_prog_ac_ct_LIPO="lipo
"
8646 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8655 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8656 if test -n "$ac_ct_LIPO"; then
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8658 $as_echo "$ac_ct_LIPO" >&6; }
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8661 $as_echo "no
" >&6; }
8664 if test "x
$ac_ct_LIPO" = x; then
8667 case $cross_compiling:$ac_tool_warned in
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8670 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8671 ac_tool_warned=yes ;;
8676 LIPO="$ac_cv_prog_LIPO"
8679 if test -n "$ac_tool_prefix"; then
8680 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8681 set dummy ${ac_tool_prefix}otool; ac_word=$2
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8683 $as_echo_n "checking
for $ac_word...
" >&6; }
8684 if ${ac_cv_prog_OTOOL+:} false; then :
8685 $as_echo_n "(cached
) " >&6
8687 if test -n "$OTOOL"; then
8688 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8694 test -z "$as_dir" && as_dir=.
8695 for ac_exec_ext in '' $ac_executable_extensions; do
8696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8697 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8698 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8707 OTOOL=$ac_cv_prog_OTOOL
8708 if test -n "$OTOOL"; then
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8710 $as_echo "$OTOOL" >&6; }
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8713 $as_echo "no
" >&6; }
8718 if test -z "$ac_cv_prog_OTOOL"; then
8720 # Extract the first word of "otool
", so it can be a program name with args.
8721 set dummy otool; ac_word=$2
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8723 $as_echo_n "checking
for $ac_word...
" >&6; }
8724 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8725 $as_echo_n "(cached
) " >&6
8727 if test -n "$ac_ct_OTOOL"; then
8728 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8734 test -z "$as_dir" && as_dir=.
8735 for ac_exec_ext in '' $ac_executable_extensions; do
8736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8737 ac_cv_prog_ac_ct_OTOOL="otool
"
8738 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8747 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8748 if test -n "$ac_ct_OTOOL"; then
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8750 $as_echo "$ac_ct_OTOOL" >&6; }
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8753 $as_echo "no
" >&6; }
8756 if test "x
$ac_ct_OTOOL" = x; then
8759 case $cross_compiling:$ac_tool_warned in
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8762 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8763 ac_tool_warned=yes ;;
8768 OTOOL="$ac_cv_prog_OTOOL"
8771 if test -n "$ac_tool_prefix"; then
8772 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8773 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8775 $as_echo_n "checking
for $ac_word...
" >&6; }
8776 if ${ac_cv_prog_OTOOL64+:} false; then :
8777 $as_echo_n "(cached
) " >&6
8779 if test -n "$OTOOL64"; then
8780 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8786 test -z "$as_dir" && as_dir=.
8787 for ac_exec_ext in '' $ac_executable_extensions; do
8788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8789 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8790 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8799 OTOOL64=$ac_cv_prog_OTOOL64
8800 if test -n "$OTOOL64"; then
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8802 $as_echo "$OTOOL64" >&6; }
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8805 $as_echo "no
" >&6; }
8810 if test -z "$ac_cv_prog_OTOOL64"; then
8811 ac_ct_OTOOL64=$OTOOL64
8812 # Extract the first word of "otool64
", so it can be a program name with args.
8813 set dummy otool64; ac_word=$2
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8815 $as_echo_n "checking
for $ac_word...
" >&6; }
8816 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8817 $as_echo_n "(cached
) " >&6
8819 if test -n "$ac_ct_OTOOL64"; then
8820 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8826 test -z "$as_dir" && as_dir=.
8827 for ac_exec_ext in '' $ac_executable_extensions; do
8828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8829 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8830 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8839 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8840 if test -n "$ac_ct_OTOOL64"; then
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8842 $as_echo "$ac_ct_OTOOL64" >&6; }
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8845 $as_echo "no
" >&6; }
8848 if test "x
$ac_ct_OTOOL64" = x; then
8851 case $cross_compiling:$ac_tool_warned in
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8854 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8855 ac_tool_warned=yes ;;
8857 OTOOL64=$ac_ct_OTOOL64
8860 OTOOL64="$ac_cv_prog_OTOOL64"
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8890 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8891 if ${lt_cv_apple_cc_single_mod+:} false; then :
8892 $as_echo_n "(cached
) " >&6
8894 lt_cv_apple_cc_single_mod=no
8895 if test -z "${LT_MULTI_MODULE}"; then
8896 # By default we will add the -single_module flag. You can override
8897 # by either setting the environment variable LT_MULTI_MODULE
8898 # non-empty at configure time, or by adding -multi_module to the
8900 rm -rf libconftest.dylib*
8901 echo "int foo
(void
){return 1;}" > conftest.c
8902 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8903 -dynamiclib -Wl,-single_module conftest.c
" >&5
8904 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8905 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8907 # If there is a non-empty error log, and "single_module
"
8908 # appears in it, assume the flag caused a linker warning
8909 if test -s conftest.err && $GREP single_module conftest.err; then
8910 cat conftest.err >&5
8911 # Otherwise, if the output was created with a 0 exit code from
8912 # the compiler, it worked.
8913 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8914 lt_cv_apple_cc_single_mod=yes
8916 cat conftest.err >&5
8918 rm -rf libconftest.dylib*
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8923 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8926 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8927 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8928 $as_echo_n "(cached
) " >&6
8930 lt_cv_ld_exported_symbols_list=no
8931 save_LDFLAGS=$LDFLAGS
8932 echo "_main
" > conftest.sym
8933 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8935 /* end confdefs.h. */
8945 if ac_fn_c_try_link "$LINENO"; then :
8946 lt_cv_ld_exported_symbols_list=yes
8948 lt_cv_ld_exported_symbols_list=no
8950 rm -f core conftest.err conftest.$ac_objext \
8951 conftest$ac_exeext conftest.$ac_ext
8952 LDFLAGS="$save_LDFLAGS"
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8956 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8959 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8960 if ${lt_cv_ld_force_load+:} false; then :
8961 $as_echo_n "(cached
) " >&6
8963 lt_cv_ld_force_load=no
8964 cat > conftest.c << _LT_EOF
8965 int forced_loaded() { return 2;}
8967 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8968 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8969 echo "$AR cru libconftest.a conftest.o
" >&5
8970 $AR cru libconftest.a conftest.o 2>&5
8971 echo "$RANLIB libconftest.a
" >&5
8972 $RANLIB libconftest.a 2>&5
8973 cat > conftest.c << _LT_EOF
8974 int main() { return 0;}
8976 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8977 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8979 if test -s conftest.err && $GREP force_load conftest.err; then
8980 cat conftest.err >&5
8981 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8982 lt_cv_ld_force_load=yes
8984 cat conftest.err >&5
8986 rm -f conftest.err libconftest.a conftest conftest.c
8987 rm -rf conftest.dSYM
8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8991 $as_echo "$lt_cv_ld_force_load" >&6; }
8993 rhapsody* | darwin1.[012])
8994 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8996 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8997 darwin*) # darwin 5.x on
8998 # if running on 10.5 or later, the deployment target defaults
8999 # to the OS version, if on x86, and 10.4, the deployment
9000 # target defaults to 10.4. Don't you love it?
9001 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9002 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9003 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9005 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9007 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9011 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9012 _lt_dar_single_mod='$single_module'
9014 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9015 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9017 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9019 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
9020 _lt_dsymutil='~$DSYMUTIL $lib || :'
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
9029 $as_echo_n "checking
for ANSI C header files...
" >&6; }
9030 if ${ac_cv_header_stdc+:} false; then :
9031 $as_echo_n "(cached
) " >&6
9033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9034 /* end confdefs.h. */
9048 if ac_fn_c_try_compile "$LINENO"; then :
9049 ac_cv_header_stdc=yes
9051 ac_cv_header_stdc=no
9053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9055 if test $ac_cv_header_stdc = yes; then
9056 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9058 /* end confdefs.h. */
9062 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9063 $EGREP "memchr
" >/dev/null 2>&1; then :
9066 ac_cv_header_stdc=no
9072 if test $ac_cv_header_stdc = yes; then
9073 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9075 /* end confdefs.h. */
9079 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
9080 $EGREP "free
" >/dev/null 2>&1; then :
9083 ac_cv_header_stdc=no
9089 if test $ac_cv_header_stdc = yes; then
9090 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9091 if test "$cross_compiling" = yes; then :
9094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9095 /* end confdefs.h. */
9098 #if ((' ' & 0x0FF) == 0x020)
9099 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9100 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9102 # define ISLOWER(c) \
9103 (('a' <= (c) && (c) <= 'i') \
9104 || ('j' <= (c) && (c) <= 'r') \
9105 || ('s' <= (c) && (c) <= 'z'))
9106 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
9109 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9114 for (i = 0; i < 256; i++)
9115 if (XOR (islower (i), ISLOWER (i))
9116 || toupper (i) != TOUPPER (i))
9121 if ac_fn_c_try_run "$LINENO"; then :
9124 ac_cv_header_stdc=no
9126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9127 conftest.$ac_objext conftest.beam conftest.$ac_ext
9132 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
9133 $as_echo "$ac_cv_header_stdc" >&6; }
9134 if test $ac_cv_header_stdc = yes; then
9136 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
9140 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
9141 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
9142 inttypes.h stdint.h unistd.h
9144 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9145 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9147 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9148 cat >>confdefs.h
<<_ACEOF
9149 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9157 for ac_header
in dlfcn.h
9159 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9161 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9162 cat >>confdefs.h
<<_ACEOF
9163 #define HAVE_DLFCN_H 1
9184 # Check whether --enable-shared was given.
9185 if test "${enable_shared+set}" = set; then :
9186 enableval
=$enable_shared; p
=${PACKAGE-default}
9188 yes) enable_shared
=yes ;;
9189 no
) enable_shared
=no
;;
9192 # Look at the argument we got. We use all the common list separators.
9193 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9194 for pkg
in $enableval; do
9196 if test "X$pkg" = "X$p"; then
9215 # Check whether --enable-static was given.
9216 if test "${enable_static+set}" = set; then :
9217 enableval
=$enable_static; p
=${PACKAGE-default}
9219 yes) enable_static
=yes ;;
9220 no
) enable_static
=no
;;
9223 # Look at the argument we got. We use all the common list separators.
9224 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9225 for pkg
in $enableval; do
9227 if test "X$pkg" = "X$p"; then
9247 # Check whether --with-pic was given.
9248 if test "${with_pic+set}" = set; then :
9249 withval
=$with_pic; lt_p
=${PACKAGE-default}
9251 yes|no
) pic_mode
=$withval ;;
9254 # Look at the argument we got. We use all the common list separators.
9255 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9256 for lt_pkg
in $withval; do
9258 if test "X$lt_pkg" = "X$lt_p"; then
9270 test -z "$pic_mode" && pic_mode
=default
9278 # Check whether --enable-fast-install was given.
9279 if test "${enable_fast_install+set}" = set; then :
9280 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9282 yes) enable_fast_install
=yes ;;
9283 no
) enable_fast_install
=no
;;
9285 enable_fast_install
=no
9286 # Look at the argument we got. We use all the common list separators.
9287 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9288 for pkg
in $enableval; do
9290 if test "X$pkg" = "X$p"; then
9291 enable_fast_install
=yes
9298 enable_fast_install
=yes
9311 # This can be used to rebuild libtool when needed
9312 LIBTOOL_DEPS
="$ltmain"
9314 # Always use our own libtool.
9315 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9346 test -z "$LN_S" && LN_S
="ln -s"
9361 if test -n "${ZSH_VERSION+set}" ; then
9362 setopt NO_GLOB_SUBST
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9366 $as_echo_n "checking for objdir... " >&6; }
9367 if ${lt_cv_objdir+:} false
; then :
9368 $as_echo_n "(cached) " >&6
9370 rm -f .libs
2>/dev
/null
9371 mkdir .libs
2>/dev
/null
9372 if test -d .libs
; then
9375 # MS-DOS does not allow filenames that begin with a dot.
9378 rmdir .libs
2>/dev
/null
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9381 $as_echo "$lt_cv_objdir" >&6; }
9382 objdir
=$lt_cv_objdir
9388 cat >>confdefs.h
<<_ACEOF
9389 #define LT_OBJDIR "$lt_cv_objdir/"
9397 # AIX sometimes has problems with the GCC collect2 program. For some
9398 # reason, if we set the COLLECT_NAMES environment variable, the problems
9399 # vanish in a puff of smoke.
9400 if test "X${COLLECT_NAMES+set}" != Xset
; then
9402 export COLLECT_NAMES
9409 can_build_shared
=yes
9411 # All known linkers require a `.a' archive for static linking (except MSVC,
9412 # which needs '.lib').
9415 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9418 old_CFLAGS
="$CFLAGS"
9420 # Set sane defaults for various variables
9421 test -z "$CC" && CC
=cc
9422 test -z "$LTCC" && LTCC
=$CC
9423 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9424 test -z "$LD" && LD
=ld
9425 test -z "$ac_objext" && ac_objext
=o
9427 for cc_temp
in $compiler""; do
9429 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9430 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9435 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9438 # Only perform the check for file, if the check method requires it
9439 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9440 case $deplibs_check_method in
9442 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9444 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9445 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9446 $as_echo_n "(cached) " >&6
9450 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9453 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9454 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9455 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9456 for ac_dir
in $ac_dummy; do
9458 test -z "$ac_dir" && ac_dir
=.
9459 if test -f $ac_dir/${ac_tool_prefix}file; then
9460 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9461 if test -n "$file_magic_test_file"; then
9462 case $deplibs_check_method in
9464 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9465 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9466 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9467 $EGREP "$file_magic_regex" > /dev
/null
; then
9472 *** Warning: the command libtool uses to detect shared libraries,
9473 *** $file_magic_cmd, produces output that libtool cannot recognize.
9474 *** The result is that libtool may fail to recognize shared libraries
9475 *** as such. This will affect the creation of libtool libraries that
9476 *** depend on shared libraries, but programs linked with such libtool
9477 *** libraries will work regardless of this problem. Nevertheless, you
9478 *** may want to report the problem to your system manager and/or to
9479 *** bug-libtool@gnu.org
9489 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9494 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9495 if test -n "$MAGIC_CMD"; then
9496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9497 $as_echo "$MAGIC_CMD" >&6; }
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9500 $as_echo "no" >&6; }
9507 if test -z "$lt_cv_path_MAGIC_CMD"; then
9508 if test -n "$ac_tool_prefix"; then
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9510 $as_echo_n "checking for file... " >&6; }
9511 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9512 $as_echo_n "(cached) " >&6
9516 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9519 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9520 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9521 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9522 for ac_dir
in $ac_dummy; do
9524 test -z "$ac_dir" && ac_dir
=.
9525 if test -f $ac_dir/file; then
9526 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9527 if test -n "$file_magic_test_file"; then
9528 case $deplibs_check_method in
9530 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9531 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9532 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9533 $EGREP "$file_magic_regex" > /dev
/null
; then
9538 *** Warning: the command libtool uses to detect shared libraries,
9539 *** $file_magic_cmd, produces output that libtool cannot recognize.
9540 *** The result is that libtool may fail to recognize shared libraries
9541 *** as such. This will affect the creation of libtool libraries that
9542 *** depend on shared libraries, but programs linked with such libtool
9543 *** libraries will work regardless of this problem. Nevertheless, you
9544 *** may want to report the problem to your system manager and/or to
9545 *** bug-libtool@gnu.org
9555 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9560 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9561 if test -n "$MAGIC_CMD"; then
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9563 $as_echo "$MAGIC_CMD" >&6; }
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9566 $as_echo "no" >&6; }
9579 # Use C for the default configuration in the libtool script
9583 ac_cpp
='$CPP $CPPFLAGS'
9584 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9585 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9586 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9589 # Source file extension for C test sources.
9592 # Object file extension for compiled C test sources.
9596 # Code to be used in simple compile tests
9597 lt_simple_compile_test_code
="int some_variable = 0;"
9599 # Code to be used in simple link tests
9600 lt_simple_link_test_code
='int main(){return(0);}'
9608 # If no C compiler was specified, use CC.
9611 # If no C compiler flags were specified, use CFLAGS.
9612 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9614 # Allow CC to be a program name with arguments.
9617 # Save the default compiler, since it gets overwritten when the other
9618 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9619 compiler_DEFAULT
=$CC
9621 # save warnings/boilerplate of simple test code
9622 ac_outfile
=conftest.
$ac_objext
9623 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9624 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9625 _lt_compiler_boilerplate
=`cat conftest.err`
9628 ac_outfile
=conftest.
$ac_objext
9629 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9630 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9631 _lt_linker_boilerplate
=`cat conftest.err`
9636 ## There is no encapsulation within the following macros, do not change
9637 ## the running order or otherwise move them around unless you know exactly
9638 ## what you are doing...
9639 if test -n "$compiler"; then
9641 lt_prog_compiler_no_builtin_flag
=
9643 if test "$GCC" = yes; then
9644 case $cc_basename in
9646 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9648 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9652 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9653 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9654 $as_echo_n "(cached) " >&6
9656 lt_cv_prog_compiler_rtti_exceptions
=no
9657 ac_outfile
=conftest.
$ac_objext
9658 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9659 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9660 # Insert the option either (1) after the last *FLAGS variable, or
9661 # (2) before a word containing "conftest.", or (3) at the end.
9662 # Note that $ac_compile itself does not contain backslashes and begins
9663 # with a dollar sign (not a hyphen), so the echo should work correctly.
9664 # The option is referenced via a variable to avoid confusing sed.
9665 lt_compile
=`echo "$ac_compile" | $SED \
9666 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9667 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9668 -e 's:$: $lt_compiler_flag:'`
9669 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9670 (eval "$lt_compile" 2>conftest.err
)
9672 cat conftest.err
>&5
9673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9674 if (exit $ac_status) && test -s "$ac_outfile"; then
9675 # The compiler can only warn and ignore the option if not recognized
9676 # So say no if there are warnings other than the usual output.
9677 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9678 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9679 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9680 lt_cv_prog_compiler_rtti_exceptions
=yes
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9687 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9689 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9690 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9702 lt_prog_compiler_wl
=
9703 lt_prog_compiler_pic
=
9704 lt_prog_compiler_static
=
9707 if test "$GCC" = yes; then
9708 lt_prog_compiler_wl
='-Wl,'
9709 lt_prog_compiler_static
='-static'
9713 # All AIX code is PIC.
9714 if test "$host_cpu" = ia64
; then
9715 # AIX 5 now supports IA64 processor
9716 lt_prog_compiler_static
='-Bstatic'
9723 # see comment about AmigaOS4 .so support
9724 lt_prog_compiler_pic
='-fPIC'
9727 # FIXME: we need at least 68020 code to build shared libraries, but
9728 # adding the `-m68020' flag to GCC prevents building anything better,
9730 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9735 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9736 # PIC is the default for these OSes.
9739 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9740 # This hack is so that the source file can tell whether it is being
9741 # built for inclusion in a dll (and should export symbols for example).
9742 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9743 # (--disable-auto-import) libraries
9744 lt_prog_compiler_pic
='-DDLL_EXPORT'
9747 darwin
* | rhapsody
*)
9748 # PIC is the default on this platform
9749 # Common symbols not allowed in MH_DYLIB files
9750 lt_prog_compiler_pic
='-fno-common'
9754 # PIC is the default for Haiku.
9755 # The "-static" flag exists, but is broken.
9756 lt_prog_compiler_static
=
9760 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9761 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9762 # sets the default TLS model and affects inlining.
9768 lt_prog_compiler_pic
='-fPIC'
9774 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9775 # Instead, we relocate shared libraries at runtime.
9779 # Just because we use GCC doesn't mean we suddenly get shared libraries
9780 # on systems that don't support them.
9781 lt_prog_compiler_can_build_shared
=no
9786 # QNX uses GNU C++, but need to define -shared option too, otherwise
9788 lt_prog_compiler_pic
='-fPIC -shared'
9792 if test -d /usr
/nec
; then
9793 lt_prog_compiler_pic
=-Kconform_pic
9798 lt_prog_compiler_pic
='-fPIC'
9802 case $cc_basename in
9803 nvcc
*) # Cuda Compiler Driver 2.2
9804 lt_prog_compiler_wl
='-Xlinker '
9805 if test -n "$lt_prog_compiler_pic"; then
9806 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
9811 # PORTME Check for flag to pass linker flags through the system compiler.
9814 lt_prog_compiler_wl
='-Wl,'
9815 if test "$host_cpu" = ia64
; then
9816 # AIX 5 now supports IA64 processor
9817 lt_prog_compiler_static
='-Bstatic'
9819 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9823 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9824 # This hack is so that the source file can tell whether it is being
9825 # built for inclusion in a dll (and should export symbols for example).
9826 lt_prog_compiler_pic
='-DDLL_EXPORT'
9829 hpux9
* | hpux10
* | hpux11
*)
9830 lt_prog_compiler_wl
='-Wl,'
9831 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9838 lt_prog_compiler_pic
='+Z'
9841 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9842 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9845 irix5
* | irix6
* | nonstopux
*)
9846 lt_prog_compiler_wl
='-Wl,'
9847 # PIC (with -KPIC) is the default.
9848 lt_prog_compiler_static
='-non_shared'
9851 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9852 case $cc_basename in
9853 # old Intel for x86_64 which still supported -KPIC.
9855 lt_prog_compiler_wl
='-Wl,'
9856 lt_prog_compiler_pic
='-KPIC'
9857 lt_prog_compiler_static
='-static'
9859 # icc used to be incompatible with GCC.
9860 # ICC 10 doesn't accept -KPIC any more.
9862 lt_prog_compiler_wl
='-Wl,'
9863 lt_prog_compiler_pic
='-fPIC'
9864 lt_prog_compiler_static
='-static'
9866 # Lahey Fortran 8.1.
9868 lt_prog_compiler_wl
='-Wl,'
9869 lt_prog_compiler_pic
='--shared'
9870 lt_prog_compiler_static
='--static'
9873 # NAG Fortran compiler
9874 lt_prog_compiler_wl
='-Wl,-Wl,,'
9875 lt_prog_compiler_pic
='-PIC'
9876 lt_prog_compiler_static
='-Bstatic'
9878 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9879 # Portland Group compilers (*not* the Pentium gcc compiler,
9880 # which looks to be a dead project)
9881 lt_prog_compiler_wl
='-Wl,'
9882 lt_prog_compiler_pic
='-fpic'
9883 lt_prog_compiler_static
='-Bstatic'
9886 lt_prog_compiler_wl
='-Wl,'
9887 # All Alpha code is PIC.
9888 lt_prog_compiler_static
='-non_shared'
9890 xl
* | bgxl
* | bgf
* | mpixl
*)
9891 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9892 lt_prog_compiler_wl
='-Wl,'
9893 lt_prog_compiler_pic
='-qpic'
9894 lt_prog_compiler_static
='-qstaticlink'
9897 case `$CC -V 2>&1 | sed 5q` in
9898 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
9899 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9900 lt_prog_compiler_pic
='-KPIC'
9901 lt_prog_compiler_static
='-Bstatic'
9902 lt_prog_compiler_wl
=''
9904 *Sun\ F
* |
*Sun
*Fortran
*)
9905 lt_prog_compiler_pic
='-KPIC'
9906 lt_prog_compiler_static
='-Bstatic'
9907 lt_prog_compiler_wl
='-Qoption ld '
9911 lt_prog_compiler_pic
='-KPIC'
9912 lt_prog_compiler_static
='-Bstatic'
9913 lt_prog_compiler_wl
='-Wl,'
9915 *Intel
*\
[CF
]*Compiler
*)
9916 lt_prog_compiler_wl
='-Wl,'
9917 lt_prog_compiler_pic
='-fPIC'
9918 lt_prog_compiler_static
='-static'
9921 lt_prog_compiler_wl
='-Wl,'
9922 lt_prog_compiler_pic
='-fpic'
9923 lt_prog_compiler_static
='-Bstatic'
9931 lt_prog_compiler_pic
='-KPIC'
9932 lt_prog_compiler_static
='-Bstatic'
9936 # QNX uses GNU C++, but need to define -shared option too, otherwise
9938 lt_prog_compiler_pic
='-fPIC -shared'
9941 osf3
* | osf4
* | osf5
*)
9942 lt_prog_compiler_wl
='-Wl,'
9943 # All OSF/1 code is PIC.
9944 lt_prog_compiler_static
='-non_shared'
9948 lt_prog_compiler_static
='-non_shared'
9952 lt_prog_compiler_pic
='-KPIC'
9953 lt_prog_compiler_static
='-Bstatic'
9954 case $cc_basename in
9955 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9956 lt_prog_compiler_wl
='-Qoption ld ';;
9958 lt_prog_compiler_wl
='-Wl,';;
9963 lt_prog_compiler_wl
='-Qoption ld '
9964 lt_prog_compiler_pic
='-PIC'
9965 lt_prog_compiler_static
='-Bstatic'
9968 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9969 lt_prog_compiler_wl
='-Wl,'
9970 lt_prog_compiler_pic
='-KPIC'
9971 lt_prog_compiler_static
='-Bstatic'
9975 if test -d /usr
/nec
;then
9976 lt_prog_compiler_pic
='-Kconform_pic'
9977 lt_prog_compiler_static
='-Bstatic'
9981 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9982 lt_prog_compiler_wl
='-Wl,'
9983 lt_prog_compiler_pic
='-KPIC'
9984 lt_prog_compiler_static
='-Bstatic'
9988 lt_prog_compiler_wl
='-Wl,'
9989 lt_prog_compiler_can_build_shared
=no
9993 lt_prog_compiler_pic
='-pic'
9994 lt_prog_compiler_static
='-Bstatic'
9998 lt_prog_compiler_can_build_shared
=no
10004 # For platforms which do not support PIC, -DPIC is meaningless:
10006 lt_prog_compiler_pic
=
10009 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10014 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10015 if ${lt_cv_prog_compiler_pic+:} false
; then :
10016 $as_echo_n "(cached) " >&6
10018 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10021 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10022 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
10025 # Check to make sure the PIC flag actually works.
10027 if test -n "$lt_prog_compiler_pic"; then
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10029 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10030 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10031 $as_echo_n "(cached) " >&6
10033 lt_cv_prog_compiler_pic_works
=no
10034 ac_outfile
=conftest.
$ac_objext
10035 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10036 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10037 # Insert the option either (1) after the last *FLAGS variable, or
10038 # (2) before a word containing "conftest.", or (3) at the end.
10039 # Note that $ac_compile itself does not contain backslashes and begins
10040 # with a dollar sign (not a hyphen), so the echo should work correctly.
10041 # The option is referenced via a variable to avoid confusing sed.
10042 lt_compile
=`echo "$ac_compile" | $SED \
10043 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10044 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10045 -e 's:$: $lt_compiler_flag:'`
10046 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10047 (eval "$lt_compile" 2>conftest.err
)
10049 cat conftest.err
>&5
10050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051 if (exit $ac_status) && test -s "$ac_outfile"; then
10052 # The compiler can only warn and ignore the option if not recognized
10053 # So say no if there are warnings other than the usual output.
10054 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10055 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10056 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10057 lt_cv_prog_compiler_pic_works
=yes
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10064 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10066 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10067 case $lt_prog_compiler_pic in
10069 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10072 lt_prog_compiler_pic
=
10073 lt_prog_compiler_can_build_shared
=no
10089 # Check to make sure the static flag actually works.
10091 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10093 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10094 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10095 $as_echo_n "(cached) " >&6
10097 lt_cv_prog_compiler_static_works
=no
10098 save_LDFLAGS
="$LDFLAGS"
10099 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10100 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10101 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10102 # The linker can only warn and ignore the option if not recognized
10103 # So say no if there are warnings
10104 if test -s conftest.err
; then
10105 # Append any errors to the config.log.
10106 cat conftest.err
1>&5
10107 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10108 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10109 if diff conftest.exp conftest.er2
>/dev
/null
; then
10110 lt_cv_prog_compiler_static_works
=yes
10113 lt_cv_prog_compiler_static_works
=yes
10117 LDFLAGS
="$save_LDFLAGS"
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10121 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10123 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10126 lt_prog_compiler_static
=
10135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10136 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10137 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10138 $as_echo_n "(cached) " >&6
10140 lt_cv_prog_compiler_c_o
=no
10141 $RM -r conftest
2>/dev
/null
10145 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10147 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10148 # Insert the option either (1) after the last *FLAGS variable, or
10149 # (2) before a word containing "conftest.", or (3) at the end.
10150 # Note that $ac_compile itself does not contain backslashes and begins
10151 # with a dollar sign (not a hyphen), so the echo should work correctly.
10152 lt_compile
=`echo "$ac_compile" | $SED \
10153 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10154 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10155 -e 's:$: $lt_compiler_flag:'`
10156 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10157 (eval "$lt_compile" 2>out
/conftest.err
)
10159 cat out
/conftest.err
>&5
10160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10161 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10163 # The compiler can only warn and ignore the option if not recognized
10164 # So say no if there are warnings
10165 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10166 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10167 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10168 lt_cv_prog_compiler_c_o
=yes
10173 # SGI C++ compiler will create directory out/ii_files/ for
10174 # template instantiation
10175 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10176 $RM out
/* && rmdir out
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10183 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10191 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10192 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10193 $as_echo_n "(cached) " >&6
10195 lt_cv_prog_compiler_c_o
=no
10196 $RM -r conftest
2>/dev
/null
10200 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10202 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10203 # Insert the option either (1) after the last *FLAGS variable, or
10204 # (2) before a word containing "conftest.", or (3) at the end.
10205 # Note that $ac_compile itself does not contain backslashes and begins
10206 # with a dollar sign (not a hyphen), so the echo should work correctly.
10207 lt_compile
=`echo "$ac_compile" | $SED \
10208 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10209 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10210 -e 's:$: $lt_compiler_flag:'`
10211 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10212 (eval "$lt_compile" 2>out
/conftest.err
)
10214 cat out
/conftest.err
>&5
10215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10216 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10218 # The compiler can only warn and ignore the option if not recognized
10219 # So say no if there are warnings
10220 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10221 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10222 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10223 lt_cv_prog_compiler_c_o
=yes
10228 # SGI C++ compiler will create directory out/ii_files/ for
10229 # template instantiation
10230 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10231 $RM out
/* && rmdir out
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10238 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10243 hard_links
="nottested"
10244 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10245 # do not overwrite the value of need_locks provided by the user
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10247 $as_echo_n "checking if we can lock with hard links... " >&6; }
10250 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10252 ln conftest.a conftest.b
2>&5 || hard_links
=no
10253 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10255 $as_echo "$hard_links" >&6; }
10256 if test "$hard_links" = no
; then
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10258 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10271 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10274 allow_undefined_flag
=
10275 always_export_symbols
=no
10277 archive_expsym_cmds
=
10278 compiler_needs_object
=no
10279 enable_shared_with_static_runtimes
=no
10280 export_dynamic_flag_spec
=
10281 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10282 hardcode_automatic
=no
10284 hardcode_direct_absolute
=no
10285 hardcode_libdir_flag_spec
=
10286 hardcode_libdir_separator
=
10287 hardcode_minus_L
=no
10288 hardcode_shlibpath_var
=unsupported
10290 link_all_deplibs
=unknown
10292 module_expsym_cmds
=
10293 old_archive_from_new_cmds
=
10294 old_archive_from_expsyms_cmds
=
10295 thread_safe_flag_spec
=
10296 whole_archive_flag_spec
=
10297 # include_expsyms should be a list of space-separated symbols to be *always*
10298 # included in the symbol list
10300 # exclude_expsyms can be an extended regexp of symbols to exclude
10301 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10302 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10303 # as well as any symbol that contains `d'.
10304 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10305 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10306 # platforms (ab)use it in PIC code, but their linkers get confused if
10307 # the symbol is explicitly referenced. Since portable code cannot
10308 # rely on this symbol name, it's probably fine to never include it in
10309 # preloaded symbol tables.
10310 # Exclude shared library initialization/finalization symbols.
10311 extract_expsyms_cmds
=
10314 cygwin
* | mingw
* | pw32
* | cegcc
*)
10315 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10316 # When not using gcc, we currently assume that we are using
10317 # Microsoft Visual C++.
10318 if test "$GCC" != yes; then
10323 # we just hope/assume this is gcc and not c89 (= MSVC++)
10333 # On some targets, GNU ld is compatible enough with the native linker
10334 # that we're better off using the native interface for both.
10335 lt_use_gnu_ld_interface
=no
10336 if test "$with_gnu_ld" = yes; then
10339 # The AIX port of GNU ld has always aspired to compatibility
10340 # with the native linker. However, as the warning in the GNU ld
10341 # block says, versions before 2.19.5* couldn't really create working
10342 # shared libraries, regardless of the interface used.
10343 case `$LD -v 2>&1` in
10344 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10345 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10346 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10348 lt_use_gnu_ld_interface
=yes
10353 lt_use_gnu_ld_interface
=yes
10358 if test "$lt_use_gnu_ld_interface" = yes; then
10359 # If archive_cmds runs LD, not CC, wlarc should be empty
10362 # Set some defaults for GNU ld with shared library support. These
10363 # are reset later if shared libraries are not supported. Putting them
10364 # here allows them to be overridden if necessary.
10365 runpath_var
=LD_RUN_PATH
10366 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10367 export_dynamic_flag_spec
='${wl}--export-dynamic'
10368 # ancient GNU ld didn't support --whole-archive et. al.
10369 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10370 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10372 whole_archive_flag_spec
=
10374 supports_anon_versioning
=no
10375 case `$LD -v 2>&1` in
10376 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10377 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10378 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10379 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10380 *\
2.11.
*) ;; # other 2.11 versions
10381 *) supports_anon_versioning
=yes ;;
10384 # See if GNU ld supports shared libraries.
10387 # On AIX/PPC, the GNU linker is very broken
10388 if test "$host_cpu" != ia64
; then
10392 *** Warning: the GNU linker, at least up to release 2.19, is reported
10393 *** to be unable to reliably create shared libraries on AIX.
10394 *** Therefore, libtool is disabling shared libraries support. If you
10395 *** really care for shared libraries, you may want to install binutils
10396 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10397 *** You will then need to restart the configuration process.
10406 # see comment about AmigaOS4 .so support
10407 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10408 archive_expsym_cmds
=''
10411 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)'
10412 hardcode_libdir_flag_spec
='-L$libdir'
10413 hardcode_minus_L
=yes
10419 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10420 allow_undefined_flag
=unsupported
10421 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10422 # support --undefined. This deserves some investigation. FIXME
10423 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10429 cygwin
* | mingw
* | pw32
* | cegcc
*)
10430 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10431 # as there is no search path for DLLs.
10432 hardcode_libdir_flag_spec
='-L$libdir'
10433 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10434 allow_undefined_flag
=unsupported
10435 always_export_symbols
=no
10436 enable_shared_with_static_runtimes
=yes
10437 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10438 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10440 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10441 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10442 # If the export-symbols file already is a .def file (1st line
10443 # is EXPORTS), use it as is; otherwise, prepend...
10444 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10445 cp $export_symbols $output_objdir/$soname.def;
10447 echo EXPORTS > $output_objdir/$soname.def;
10448 cat $export_symbols >> $output_objdir/$soname.def;
10450 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10457 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10458 link_all_deplibs
=yes
10463 hardcode_shlibpath_var
=no
10464 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10465 export_dynamic_flag_spec
='${wl}-E'
10466 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10467 # Instead, shared libraries are loaded at an image base (0x10000000 by
10468 # default) and relocated if they conflict, which is a slow very memory
10469 # consuming and fragmenting process. To avoid this, we pick a random,
10470 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10471 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10472 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10473 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'
10476 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
10478 if test "$host_os" = linux-dietlibc
; then
10479 case $cc_basename in
10480 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10483 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10484 && test "$tmp_diet" = no
10486 tmp_addflag
=' $pic_flag'
10487 tmp_sharedflag
='-shared'
10488 case $cc_basename,$host_cpu in
10489 pgcc
*) # Portland Group C compiler
10490 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10491 tmp_addflag
=' $pic_flag'
10493 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10494 # Portland Group f77 and f90 compilers
10495 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10496 tmp_addflag
=' $pic_flag -Mnomain' ;;
10497 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10498 tmp_addflag
=' -i_dynamic' ;;
10499 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10500 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10501 ifc
* | ifort
*) # Intel Fortran compiler
10502 tmp_addflag
=' -nofor_main' ;;
10503 lf95
*) # Lahey Fortran 8.1
10504 whole_archive_flag_spec
=
10505 tmp_sharedflag
='--shared' ;;
10506 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10507 tmp_sharedflag
='-qmkshrobj'
10509 nvcc
*) # Cuda Compiler Driver 2.2
10510 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10511 compiler_needs_object
=yes
10514 case `$CC -V 2>&1 | sed 5q` in
10515 *Sun\ C
*) # Sun C 5.9
10516 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10517 compiler_needs_object
=yes
10518 tmp_sharedflag
='-G' ;;
10519 *Sun\ F
*) # Sun Fortran 8.3
10520 tmp_sharedflag
='-G' ;;
10522 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10524 if test "x$supports_anon_versioning" = xyes
; then
10525 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10526 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10527 echo "local: *; };" >> $output_objdir/$libname.ver~
10528 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10531 case $cc_basename in
10532 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10533 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10534 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10535 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10536 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10537 if test "x$supports_anon_versioning" = xyes
; then
10538 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10539 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10540 echo "local: *; };" >> $output_objdir/$libname.ver~
10541 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10551 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10552 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10555 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10556 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10561 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10565 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10566 *** create shared libraries on Solaris systems. Therefore, libtool
10567 *** is disabling shared libraries support. We urge you to upgrade GNU
10568 *** binutils to release 2.9.1 or newer. Another option is to modify
10569 *** your PATH or compiler configuration so that the native linker is
10570 *** used, and then restart.
10573 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10574 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10575 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10581 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10582 case `$LD -v 2>&1` in
10583 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10587 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10588 *** reliably create shared libraries on SCO systems. Therefore, libtool
10589 *** is disabling shared libraries support. We urge you to upgrade GNU
10590 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10591 *** your PATH or compiler configuration so that the native linker is
10592 *** used, and then restart.
10597 # For security reasons, it is highly recommended that you always
10598 # use absolute paths for naming shared libraries, and exclude the
10599 # DT_RUNPATH tag from executables and libraries. But doing so
10600 # requires that you compile everything twice, which is a pain.
10601 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10602 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10603 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10604 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10613 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10615 hardcode_direct
=yes
10616 hardcode_shlibpath_var
=no
10620 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10621 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10622 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10629 if test "$ld_shlibs" = no
; then
10631 hardcode_libdir_flag_spec
=
10632 export_dynamic_flag_spec
=
10633 whole_archive_flag_spec
=
10636 # PORTME fill in a description of your system's linker (not GNU ld)
10639 allow_undefined_flag
=unsupported
10640 always_export_symbols
=yes
10641 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'
10642 # Note: this linker hardcodes the directories in LIBPATH if there
10643 # are no directories specified by -L.
10644 hardcode_minus_L
=yes
10645 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10646 # Neither direct hardcoding nor static linking is supported with a
10648 hardcode_direct
=unsupported
10653 if test "$host_cpu" = ia64
; then
10654 # On IA64, the linker does run time linking by default, so we don't
10655 # have to do anything special.
10656 aix_use_runtimelinking
=no
10657 exp_sym_flag
='-Bexport'
10660 # If we're using GNU nm, then we don't want the "-C" option.
10661 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10662 # Also, AIX nm treats weak defined symbols like other global
10663 # defined symbols, whereas GNU nm marks them as "W".
10664 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10665 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10667 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'
10669 aix_use_runtimelinking
=no
10671 # Test if we are trying to use run time linking or normal
10672 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10673 # need to do runtime linking.
10674 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10675 for ld_flag
in $LDFLAGS; do
10676 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10677 aix_use_runtimelinking
=yes
10684 exp_sym_flag
='-bexport'
10685 no_entry_flag
='-bnoentry'
10688 # When large executables or shared objects are built, AIX ld can
10689 # have problems creating the table of contents. If linking a library
10690 # or program results in "error TOC overflow" add -mminimal-toc to
10691 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10692 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10695 hardcode_direct
=yes
10696 hardcode_direct_absolute
=yes
10697 hardcode_libdir_separator
=':'
10698 link_all_deplibs
=yes
10699 file_list_spec
='${wl}-f,'
10701 if test "$GCC" = yes; then
10702 case $host_os in aix4.
[012]|aix4.
[012].
*)
10703 # We only want to do this on AIX 4.2 and lower, the check
10704 # below for broken collect2 doesn't work under 4.3+
10705 collect2name
=`${CC} -print-prog-name=collect2`
10706 if test -f "$collect2name" &&
10707 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10709 # We have reworked collect2
10712 # We have old collect2
10713 hardcode_direct
=unsupported
10714 # It fails to find uninstalled libraries when the uninstalled
10715 # path is not listed in the libpath. Setting hardcode_minus_L
10716 # to unsupported forces relinking
10717 hardcode_minus_L
=yes
10718 hardcode_libdir_flag_spec
='-L$libdir'
10719 hardcode_libdir_separator
=
10723 shared_flag
='-shared'
10724 if test "$aix_use_runtimelinking" = yes; then
10725 shared_flag
="$shared_flag "'${wl}-G'
10729 if test "$host_cpu" = ia64
; then
10730 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10731 # chokes on -Wl,-G. The following line is correct:
10734 if test "$aix_use_runtimelinking" = yes; then
10735 shared_flag
='${wl}-G'
10737 shared_flag
='${wl}-bM:SRE'
10742 export_dynamic_flag_spec
='${wl}-bexpall'
10743 # It seems that -bexpall does not export symbols beginning with
10744 # underscore (_), so it is better to generate a list of symbols to export.
10745 always_export_symbols
=yes
10746 if test "$aix_use_runtimelinking" = yes; then
10747 # Warning - without using the other runtime loading flags (-brtl),
10748 # -berok will link without error, but may produce a broken library.
10749 allow_undefined_flag
='-berok'
10750 # Determine the default libpath from the value encoded in an
10751 # empty executable.
10752 if test "${lt_cv_aix_libpath+set}" = set; then
10753 aix_libpath
=$lt_cv_aix_libpath
10755 if ${lt_cv_aix_libpath_+:} false
; then :
10756 $as_echo_n "(cached) " >&6
10758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10759 /* end confdefs.h. */
10769 if ac_fn_c_try_link
"$LINENO"; then :
10771 lt_aix_libpath_sed
='
10772 /Import File Strings/,/^$/ {
10774 s/^0 *\([^ ]*\) *$/\1/
10778 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10779 # Check for a 64-bit object if we didn't find anything.
10780 if test -z "$lt_cv_aix_libpath_"; then
10781 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10784 rm -f core conftest.err conftest.
$ac_objext \
10785 conftest
$ac_exeext conftest.
$ac_ext
10786 if test -z "$lt_cv_aix_libpath_"; then
10787 lt_cv_aix_libpath_
="/usr/lib:/lib"
10792 aix_libpath
=$lt_cv_aix_libpath_
10795 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10796 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10798 if test "$host_cpu" = ia64
; then
10799 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10800 allow_undefined_flag
="-z nodefs"
10801 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"
10803 # Determine the default libpath from the value encoded in an
10804 # empty executable.
10805 if test "${lt_cv_aix_libpath+set}" = set; then
10806 aix_libpath
=$lt_cv_aix_libpath
10808 if ${lt_cv_aix_libpath_+:} false
; then :
10809 $as_echo_n "(cached) " >&6
10811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10812 /* end confdefs.h. */
10822 if ac_fn_c_try_link
"$LINENO"; then :
10824 lt_aix_libpath_sed
='
10825 /Import File Strings/,/^$/ {
10827 s/^0 *\([^ ]*\) *$/\1/
10831 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10832 # Check for a 64-bit object if we didn't find anything.
10833 if test -z "$lt_cv_aix_libpath_"; then
10834 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10837 rm -f core conftest.err conftest.
$ac_objext \
10838 conftest
$ac_exeext conftest.
$ac_ext
10839 if test -z "$lt_cv_aix_libpath_"; then
10840 lt_cv_aix_libpath_
="/usr/lib:/lib"
10845 aix_libpath
=$lt_cv_aix_libpath_
10848 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10849 # Warning - without using the other run time loading flags,
10850 # -berok will link without error, but may produce a broken library.
10851 no_undefined_flag
=' ${wl}-bernotok'
10852 allow_undefined_flag
=' ${wl}-berok'
10853 if test "$with_gnu_ld" = yes; then
10854 # We only use this code for GNU lds that support --whole-archive.
10855 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10857 # Exported symbols can be pulled into shared objects from archives
10858 whole_archive_flag_spec
='$convenience'
10860 archive_cmds_need_lc
=yes
10861 # This is similar to how AIX traditionally builds its shared libraries.
10862 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'
10870 # see comment about AmigaOS4 .so support
10871 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10872 archive_expsym_cmds
=''
10875 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)'
10876 hardcode_libdir_flag_spec
='-L$libdir'
10877 hardcode_minus_L
=yes
10883 export_dynamic_flag_spec
=-rdynamic
10886 cygwin
* | mingw
* | pw32
* | cegcc
*)
10887 # When not using gcc, we currently assume that we are using
10888 # Microsoft Visual C++.
10889 # hardcode_libdir_flag_spec is actually meaningless, as there is
10890 # no search path for DLLs.
10891 case $cc_basename in
10894 hardcode_libdir_flag_spec
=' '
10895 allow_undefined_flag
=unsupported
10896 always_export_symbols
=yes
10898 # Tell ltmain to make .lib files, not .a files.
10900 # Tell ltmain to make .dll files, not .so files.
10902 # FIXME: Setting linknames here is a bad hack.
10903 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10904 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10905 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10907 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10909 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10911 # The linker will not automatically build a static lib if we build a DLL.
10912 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10913 enable_shared_with_static_runtimes
=yes
10914 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10915 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10917 old_postinstall_cmds
='chmod 644 $oldlib'
10918 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10919 lt_tool_outputfile="@TOOL_OUTPUT@"~
10920 case $lt_outputfile in
10923 lt_outputfile="$lt_outputfile.exe"
10924 lt_tool_outputfile="$lt_tool_outputfile.exe"
10927 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10928 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10929 $RM "$lt_outputfile.manifest";
10933 # Assume MSVC wrapper
10934 hardcode_libdir_flag_spec
=' '
10935 allow_undefined_flag
=unsupported
10936 # Tell ltmain to make .lib files, not .a files.
10938 # Tell ltmain to make .dll files, not .so files.
10940 # FIXME: Setting linknames here is a bad hack.
10941 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10942 # The linker will automatically build a .lib file if we build a DLL.
10943 old_archive_from_new_cmds
='true'
10944 # FIXME: Should let the user specify the lib program.
10945 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10946 enable_shared_with_static_runtimes
=yes
10951 darwin
* | rhapsody
*)
10954 archive_cmds_need_lc
=no
10956 hardcode_automatic
=yes
10957 hardcode_shlibpath_var
=unsupported
10958 if test "$lt_cv_ld_force_load" = "yes"; then
10959 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10962 whole_archive_flag_spec
=''
10964 link_all_deplibs
=yes
10965 allow_undefined_flag
="$_lt_dar_allow_undefined"
10966 case $cc_basename in
10967 ifort
*) _lt_dar_can_shared
=yes ;;
10968 *) _lt_dar_can_shared
=$GCC ;;
10970 if test "$_lt_dar_can_shared" = "yes"; then
10971 output_verbose_link_cmd
=func_echo_all
10972 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10973 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10974 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}"
10975 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}"
10984 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10985 hardcode_libdir_flag_spec
='-L$libdir'
10986 hardcode_shlibpath_var
=no
10989 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10990 # support. Future versions do this automatically, but an explicit c++rt0.o
10991 # does not break anything, and helps significantly (at the cost of a little
10994 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10995 hardcode_libdir_flag_spec
='-R$libdir'
10996 hardcode_direct
=yes
10997 hardcode_shlibpath_var
=no
11000 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11002 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11003 hardcode_direct
=yes
11004 hardcode_minus_L
=yes
11005 hardcode_shlibpath_var
=no
11008 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11009 freebsd
* | dragonfly
*)
11010 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11011 hardcode_libdir_flag_spec
='-R$libdir'
11012 hardcode_direct
=yes
11013 hardcode_shlibpath_var
=no
11017 if test "$GCC" = yes; then
11018 archive_cmds
='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11020 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'
11022 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11023 hardcode_libdir_separator
=:
11024 hardcode_direct
=yes
11026 # hardcode_minus_L: Not really in the search PATH,
11027 # but as the default location of the library.
11028 hardcode_minus_L
=yes
11029 export_dynamic_flag_spec
='${wl}-E'
11033 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11034 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11036 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11038 if test "$with_gnu_ld" = no
; then
11039 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11040 hardcode_libdir_separator
=:
11041 hardcode_direct
=yes
11042 hardcode_direct_absolute
=yes
11043 export_dynamic_flag_spec
='${wl}-E'
11044 # hardcode_minus_L: Not really in the search PATH,
11045 # but as the default location of the library.
11046 hardcode_minus_L
=yes
11051 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11054 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11057 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11060 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11066 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11069 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11073 # Older versions of the 11.00 compiler do not understand -b yet
11074 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11076 $as_echo_n "checking if $CC understands -b... " >&6; }
11077 if ${lt_cv_prog_compiler__b+:} false
; then :
11078 $as_echo_n "(cached) " >&6
11080 lt_cv_prog_compiler__b
=no
11081 save_LDFLAGS
="$LDFLAGS"
11082 LDFLAGS
="$LDFLAGS -b"
11083 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11084 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11085 # The linker can only warn and ignore the option if not recognized
11086 # So say no if there are warnings
11087 if test -s conftest.err
; then
11088 # Append any errors to the config.log.
11089 cat conftest.err
1>&5
11090 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11091 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11092 if diff conftest.exp conftest.er2
>/dev
/null
; then
11093 lt_cv_prog_compiler__b
=yes
11096 lt_cv_prog_compiler__b
=yes
11100 LDFLAGS
="$save_LDFLAGS"
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11104 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11106 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11107 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11109 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11115 if test "$with_gnu_ld" = no
; then
11116 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11117 hardcode_libdir_separator
=:
11122 hardcode_shlibpath_var
=no
11125 hardcode_direct
=yes
11126 hardcode_direct_absolute
=yes
11127 export_dynamic_flag_spec
='${wl}-E'
11129 # hardcode_minus_L: Not really in the search PATH,
11130 # but as the default location of the library.
11131 hardcode_minus_L
=yes
11137 irix5
* | irix6
* | nonstopux
*)
11138 if test "$GCC" = yes; then
11139 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11140 # Try to use the -exported_symbol ld option, if it does not
11141 # work, assume that -exports_file does not work either and
11142 # implicitly export all symbols.
11143 # This should be the same for all languages, so no per-tag cache variable.
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11145 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11146 if ${lt_cv_irix_exported_symbol+:} false
; then :
11147 $as_echo_n "(cached) " >&6
11149 save_LDFLAGS
="$LDFLAGS"
11150 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11152 /* end confdefs.h. */
11153 int foo (void) { return 0; }
11155 if ac_fn_c_try_link
"$LINENO"; then :
11156 lt_cv_irix_exported_symbol
=yes
11158 lt_cv_irix_exported_symbol
=no
11160 rm -f core conftest.err conftest.
$ac_objext \
11161 conftest
$ac_exeext conftest.
$ac_ext
11162 LDFLAGS
="$save_LDFLAGS"
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11165 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
11166 if test "$lt_cv_irix_exported_symbol" = yes; then
11167 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
11170 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11171 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
11173 archive_cmds_need_lc
='no'
11174 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11175 hardcode_libdir_separator
=:
11177 link_all_deplibs
=yes
11181 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11182 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11184 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11186 hardcode_libdir_flag_spec
='-R$libdir'
11187 hardcode_direct
=yes
11188 hardcode_shlibpath_var
=no
11192 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11193 hardcode_direct
=yes
11194 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11195 hardcode_libdir_separator
=:
11196 hardcode_shlibpath_var
=no
11203 if test -f /usr
/libexec
/ld.so
; then
11204 hardcode_direct
=yes
11205 hardcode_shlibpath_var
=no
11206 hardcode_direct_absolute
=yes
11207 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11208 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11209 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11210 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11211 export_dynamic_flag_spec
='${wl}-E'
11214 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11215 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11216 hardcode_libdir_flag_spec
='-R$libdir'
11219 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11220 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11230 hardcode_libdir_flag_spec
='-L$libdir'
11231 hardcode_minus_L
=yes
11232 allow_undefined_flag
=unsupported
11233 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'
11234 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11238 if test "$GCC" = yes; then
11239 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11240 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11242 allow_undefined_flag
=' -expect_unresolved \*'
11243 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11245 archive_cmds_need_lc
='no'
11246 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11247 hardcode_libdir_separator
=:
11250 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11251 if test "$GCC" = yes; then
11252 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11253 archive_cmds
='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11254 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11256 allow_undefined_flag
=' -expect_unresolved \*'
11257 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11258 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~
11259 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
11261 # Both c and cxx compiler support -rpath directly
11262 hardcode_libdir_flag_spec
='-rpath $libdir'
11264 archive_cmds_need_lc
='no'
11265 hardcode_libdir_separator
=:
11269 no_undefined_flag
=' -z defs'
11270 if test "$GCC" = yes; then
11272 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11273 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11274 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11276 case `$CC -V 2>&1` in
11279 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11280 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11281 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11285 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11286 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11287 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11291 hardcode_libdir_flag_spec
='-R$libdir'
11292 hardcode_shlibpath_var
=no
11294 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11296 # The compiler driver will combine and reorder linker options,
11297 # but understands `-z linker_flag'. GCC discards it without `$wl',
11298 # but is careful enough not to reorder.
11299 # Supported since Solaris 2.6 (maybe 2.5.1?)
11300 if test "$GCC" = yes; then
11301 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11303 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11307 link_all_deplibs
=yes
11311 if test "x$host_vendor" = xsequent
; then
11312 # Use $CC to link under sequent, because it throws in some extra .o
11313 # files that make .init and .fini sections work.
11314 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11316 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11318 hardcode_libdir_flag_spec
='-L$libdir'
11319 hardcode_direct
=yes
11320 hardcode_minus_L
=yes
11321 hardcode_shlibpath_var
=no
11325 case $host_vendor in
11327 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11328 hardcode_direct
=yes # is this really true???
11331 ## LD is ld it makes a PLAMLIB
11332 ## CC just makes a GrossModule.
11333 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11334 reload_cmds
='$CC -r -o $output$reload_objs'
11338 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11339 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11342 runpath_var
='LD_RUN_PATH'
11343 hardcode_shlibpath_var
=no
11347 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11348 hardcode_shlibpath_var
=no
11349 export_dynamic_flag_spec
='-Bexport'
11353 if test -d /usr
/nec
; then
11354 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11355 hardcode_shlibpath_var
=no
11356 runpath_var
=LD_RUN_PATH
11357 hardcode_runpath_var
=yes
11362 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11363 no_undefined_flag
='${wl}-z,text'
11364 archive_cmds_need_lc
=no
11365 hardcode_shlibpath_var
=no
11366 runpath_var
='LD_RUN_PATH'
11368 if test "$GCC" = yes; then
11369 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11370 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11372 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11373 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11377 sysv5
* | sco3.2v5
* | sco5v6
*)
11378 # Note: We can NOT use -z defs as we might desire, because we do not
11379 # link with -lc, and that would cause any symbols used from libc to
11380 # always be unresolved, which means just about no library would
11381 # ever link correctly. If we're not using GNU ld we use -z text
11382 # though, which does catch some bad symbols but isn't as heavy-handed
11384 no_undefined_flag
='${wl}-z,text'
11385 allow_undefined_flag
='${wl}-z,nodefs'
11386 archive_cmds_need_lc
=no
11387 hardcode_shlibpath_var
=no
11388 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11389 hardcode_libdir_separator
=':'
11390 link_all_deplibs
=yes
11391 export_dynamic_flag_spec
='${wl}-Bexport'
11392 runpath_var
='LD_RUN_PATH'
11394 if test "$GCC" = yes; then
11395 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11396 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11398 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11399 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11404 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11405 hardcode_libdir_flag_spec
='-L$libdir'
11406 hardcode_shlibpath_var
=no
11414 if test x
$host_vendor = xsni
; then
11416 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11417 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11424 $as_echo "$ld_shlibs" >&6; }
11425 test "$ld_shlibs" = no
&& can_build_shared
=no
11427 with_gnu_ld
=$with_gnu_ld
11444 # Do we need to explicitly link libc?
11446 case "x$archive_cmds_need_lc" in
11448 # Assume -lc should be added
11449 archive_cmds_need_lc
=yes
11451 if test "$enable_shared" = yes && test "$GCC" = yes; then
11452 case $archive_cmds in
11454 # FIXME: we may have to deal with multi-command sequences.
11457 # Test whether the compiler implicitly links with -lc since on some
11458 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11459 # to ld, don't add -lc before -lgcc.
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11461 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11462 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11463 $as_echo_n "(cached) " >&6
11466 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11468 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11469 (eval $ac_compile) 2>&5
11471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11472 test $ac_status = 0; } 2>conftest.err
; then
11475 libobjs
=conftest.
$ac_objext
11477 wl
=$lt_prog_compiler_wl
11478 pic_flag
=$lt_prog_compiler_pic
11484 lt_save_allow_undefined_flag
=$allow_undefined_flag
11485 allow_undefined_flag
=
11486 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11487 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11490 test $ac_status = 0; }
11492 lt_cv_archive_cmds_need_lc
=no
11494 lt_cv_archive_cmds_need_lc
=yes
11496 allow_undefined_flag
=$lt_save_allow_undefined_flag
11498 cat conftest.err
1>&5
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11504 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11505 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11664 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11666 if test "$GCC" = yes; then
11668 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11669 *) lt_awk_arg
="/^libraries:/" ;;
11672 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11673 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11675 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11676 case $lt_search_path_spec in
11678 # if the path contains ";" then we assume it to be the separator
11679 # otherwise default to the standard path separator (i.e. ":") - it is
11680 # assumed that no part of a normal pathname contains ";" but that should
11681 # okay in the real world where ";" in dirpaths is itself problematic.
11682 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11685 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11688 # Ok, now we have the path, separated by spaces, we can step through it
11689 # and add multilib dir if necessary.
11690 lt_tmp_lt_search_path_spec
=
11691 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11692 for lt_sys_path
in $lt_search_path_spec; do
11693 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11694 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11696 test -d "$lt_sys_path" && \
11697 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11700 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11701 BEGIN {RS=" "; FS="/|\n";} {
11704 for (lt_i = NF; lt_i > 0; lt_i--) {
11705 if ($lt_i != "" && $lt_i != ".") {
11706 if ($lt_i == "..") {
11709 if (lt_count == 0) {
11710 lt_foo="/" $lt_i lt_foo;
11717 if (lt_foo != "") { lt_freq[lt_foo]++; }
11718 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11720 # AWK program above erroneously prepends '/' to C:/dos/paths
11723 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11724 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11726 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11728 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11730 library_names_spec
=
11731 libname_spec
='lib$name'
11735 postuninstall_cmds
=
11739 shlibpath_overrides_runpath
=unknown
11741 dynamic_linker
="$host_os ld.so"
11742 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11743 need_lib_prefix
=unknown
11744 hardcode_into_libs
=no
11746 # when you set need_version to no, make sure it does not cause -set_version
11747 # flags to be left without arguments
11748 need_version
=unknown
11752 version_type
=linux
# correct to gnu/linux during the next big refactor
11753 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11754 shlibpath_var
=LIBPATH
11756 # AIX 3 has no versioning support, so we append a major version to the name.
11757 soname_spec
='${libname}${release}${shared_ext}$major'
11761 version_type
=linux
# correct to gnu/linux during the next big refactor
11764 hardcode_into_libs
=yes
11765 if test "$host_cpu" = ia64
; then
11766 # AIX 5 supports IA64
11767 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11768 shlibpath_var
=LD_LIBRARY_PATH
11770 # With GCC up to 2.95.x, collect2 would create an import file
11771 # for dependence libraries. The import file would start with
11772 # the line `#! .'. This would cause the generated library to
11773 # depend on `.', always an invalid library. This was fixed in
11774 # development snapshots of GCC prior to 3.0.
11776 aix4 | aix4.
[01] | aix4.
[01].
*)
11777 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11779 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11782 can_build_shared
=no
11786 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11787 # soname into executable. Probably we can add versioning support to
11788 # collect2, so additional links can be useful in future.
11789 if test "$aix_use_runtimelinking" = yes; then
11790 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11791 # instead of lib<name>.a to let people know that these are not
11792 # typical AIX shared libraries.
11793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11795 # We preserve .a as extension for shared libraries through AIX4.2
11796 # and later when we are not doing run time linking.
11797 library_names_spec
='${libname}${release}.a $libname.a'
11798 soname_spec
='${libname}${release}${shared_ext}$major'
11800 shlibpath_var
=LIBPATH
11807 # Since July 2007 AmigaOS4 officially supports .so libraries.
11808 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11812 library_names_spec
='$libname.ixlibrary $libname.a'
11813 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11814 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11820 library_names_spec
='${libname}${shared_ext}'
11821 dynamic_linker
="$host_os ld.so"
11822 shlibpath_var
=LIBRARY_PATH
11826 version_type
=linux
# correct to gnu/linux during the next big refactor
11828 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11829 soname_spec
='${libname}${release}${shared_ext}$major'
11830 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11831 shlibpath_var
=LD_LIBRARY_PATH
11832 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11833 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11834 # the default ld.so.conf also contains /usr/contrib/lib and
11835 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11836 # libtool to hard-code these into programs
11839 cygwin
* | mingw
* | pw32
* | cegcc
*)
11840 version_type
=windows
11845 case $GCC,$cc_basename in
11848 library_names_spec
='$libname.dll.a'
11849 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11850 postinstall_cmds
='base_file=`basename \${file}`~
11851 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11852 dldir=$destdir/`dirname \$dlpath`~
11853 test -d \$dldir || mkdir -p \$dldir~
11854 $install_prog $dir/$dlname \$dldir/$dlname~
11855 chmod a+x \$dldir/$dlname~
11856 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11857 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11859 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11860 dlpath=$dir/\$dldll~
11862 shlibpath_overrides_runpath
=yes
11866 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11867 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11869 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11872 # MinGW DLLs use traditional 'lib' prefix
11873 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11876 # pw32 DLLs use 'pw' prefix rather than 'lib'
11877 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11880 dynamic_linker
='Win32 ld.exe'
11885 libname_spec
='$name'
11886 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11887 library_names_spec
='${libname}.dll.lib'
11891 sys_lib_search_path_spec
=
11894 for lt_path
in $LIB
11897 # Let DOS variable expansion print the short 8.3 style file name.
11898 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11899 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11902 # Convert to MSYS style.
11903 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11906 # Convert to unix form, then to dos form, then back to unix form
11907 # but this time dos style (no spaces!) so that the unix form looks
11908 # like /cygdrive/c/PROGRA~1:/cygdr...
11909 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11910 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11911 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11914 sys_lib_search_path_spec
="$LIB"
11915 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11916 # It is most probably a Windows format PATH.
11917 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11919 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11921 # FIXME: find the short name or the path components, as spaces are
11922 # common. (e.g. "Program Files" -> "PROGRA~1")
11926 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11927 postinstall_cmds
='base_file=`basename \${file}`~
11928 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11929 dldir=$destdir/`dirname \$dlpath`~
11930 test -d \$dldir || mkdir -p \$dldir~
11931 $install_prog $dir/$dlname \$dldir/$dlname'
11932 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11933 dlpath=$dir/\$dldll~
11935 shlibpath_overrides_runpath
=yes
11936 dynamic_linker
='Win32 link.exe'
11940 # Assume MSVC wrapper
11941 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11942 dynamic_linker
='Win32 ld.exe'
11945 # FIXME: first we should search . and the directory the executable is in
11949 darwin
* | rhapsody
*)
11950 dynamic_linker
="$host_os dyld"
11951 version_type
=darwin
11954 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11955 soname_spec
='${libname}${release}${major}$shared_ext'
11956 shlibpath_overrides_runpath
=yes
11957 shlibpath_var
=DYLD_LIBRARY_PATH
11958 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11960 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11961 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11965 version_type
=linux
# correct to gnu/linux during the next big refactor
11968 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11969 soname_spec
='${libname}${release}${shared_ext}$major'
11970 shlibpath_var
=LD_LIBRARY_PATH
11973 freebsd
* | dragonfly
*)
11974 # DragonFly does not have aout. When/if they implement a new
11975 # versioning mechanism, adjust this.
11976 if test -x /usr
/bin
/objformat
; then
11977 objformat
=`/usr/bin/objformat`
11980 freebsd
[23].
*) objformat
=aout
;;
11981 *) objformat
=elf
;;
11984 version_type
=freebsd-
$objformat
11985 case $version_type in
11987 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11992 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11996 shlibpath_var
=LD_LIBRARY_PATH
11999 shlibpath_overrides_runpath
=yes
12001 freebsd3.
[01]* | freebsdelf3.
[01]*)
12002 shlibpath_overrides_runpath
=yes
12003 hardcode_into_libs
=yes
12005 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
12006 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
12007 shlibpath_overrides_runpath
=no
12008 hardcode_into_libs
=yes
12010 *) # from 4.6 on, and DragonFly
12011 shlibpath_overrides_runpath
=yes
12012 hardcode_into_libs
=yes
12018 version_type
=linux
# correct to gnu/linux during the next big refactor
12021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12022 soname_spec
='${libname}${release}${shared_ext}$major'
12023 shlibpath_var
=LD_LIBRARY_PATH
12024 shlibpath_overrides_runpath
=no
12025 hardcode_into_libs
=yes
12029 version_type
=linux
# correct to gnu/linux during the next big refactor
12032 dynamic_linker
="$host_os runtime_loader"
12033 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12034 soname_spec
='${libname}${release}${shared_ext}$major'
12035 shlibpath_var
=LIBRARY_PATH
12036 shlibpath_overrides_runpath
=yes
12037 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12038 hardcode_into_libs
=yes
12041 hpux9
* | hpux10
* | hpux11
*)
12042 # Give a soname corresponding to the major version so that dld.sl refuses to
12043 # link against other versions.
12050 hardcode_into_libs
=yes
12051 dynamic_linker
="$host_os dld.so"
12052 shlibpath_var
=LD_LIBRARY_PATH
12053 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12054 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12055 soname_spec
='${libname}${release}${shared_ext}$major'
12056 if test "X$HPUX_IA64_MODE" = X32
; then
12057 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12059 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
12061 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12065 hardcode_into_libs
=yes
12066 dynamic_linker
="$host_os dld.sl"
12067 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
12068 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
12069 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12070 soname_spec
='${libname}${release}${shared_ext}$major'
12071 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12072 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12076 dynamic_linker
="$host_os dld.sl"
12077 shlibpath_var
=SHLIB_PATH
12078 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12079 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12080 soname_spec
='${libname}${release}${shared_ext}$major'
12083 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12084 postinstall_cmds
='chmod 555 $lib'
12085 # or fails outright, so override atomically:
12086 install_override_mode
=555
12090 version_type
=linux
# correct to gnu/linux during the next big refactor
12093 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12094 soname_spec
='${libname}${release}${shared_ext}$major'
12095 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12096 shlibpath_var
=LD_LIBRARY_PATH
12097 shlibpath_overrides_runpath
=no
12098 hardcode_into_libs
=yes
12101 irix5
* | irix6
* | nonstopux
*)
12103 nonstopux
*) version_type
=nonstopux
;;
12105 if test "$lt_cv_prog_gnu_ld" = yes; then
12106 version_type
=linux
# correct to gnu/linux during the next big refactor
12113 soname_spec
='${libname}${release}${shared_ext}$major'
12114 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12116 irix5
* | nonstopux
*)
12117 libsuff
= shlibsuff
=
12120 case $LD in # libtool.m4 will add one of these switches to LD
12121 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12122 libsuff
= shlibsuff
= libmagic
=32-bit;;
12123 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12124 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12125 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12126 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12127 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12131 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12132 shlibpath_overrides_runpath
=no
12133 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12134 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12135 hardcode_into_libs
=yes
12138 # No shared lib support for Linux oldld, aout, or coff.
12139 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12143 # This must be glibc/ELF.
12144 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
12145 version_type
=linux
# correct to gnu/linux during the next big refactor
12148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12149 soname_spec
='${libname}${release}${shared_ext}$major'
12150 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12151 shlibpath_var
=LD_LIBRARY_PATH
12152 shlibpath_overrides_runpath
=no
12154 # Some binutils ld are patched to set DT_RUNPATH
12155 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12156 $as_echo_n "(cached) " >&6
12158 lt_cv_shlibpath_overrides_runpath
=no
12159 save_LDFLAGS
=$LDFLAGS
12160 save_libdir
=$libdir
12161 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12162 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12164 /* end confdefs.h. */
12174 if ac_fn_c_try_link
"$LINENO"; then :
12175 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12176 lt_cv_shlibpath_overrides_runpath
=yes
12179 rm -f core conftest.err conftest.
$ac_objext \
12180 conftest
$ac_exeext conftest.
$ac_ext
12181 LDFLAGS
=$save_LDFLAGS
12182 libdir
=$save_libdir
12186 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12188 # This implies no fast_install, which is unacceptable.
12189 # Some rework will be needed to allow for fast_install
12190 # before this can be enabled.
12191 hardcode_into_libs
=yes
12193 # Append ld.so.conf contents to the search path
12194 if test -f /etc
/ld.so.conf
; then
12195 lt_ld_extra
=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
12196 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12199 # We used to test for /lib/ld.so.1 and disable shared libraries on
12200 # powerpc, because MkLinux only supported shared libraries with the
12201 # GNU dynamic linker. Since this was broken with cross compilers,
12202 # most powerpc-linux boxes support dynamic linking these days and
12203 # people can always --disable-shared, the test was removed, and we
12204 # assume the GNU/Linux dynamic linker is in use.
12205 dynamic_linker
='GNU/Linux ld.so'
12212 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12213 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12214 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12215 dynamic_linker
='NetBSD (a.out) ld.so'
12217 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12218 soname_spec
='${libname}${release}${shared_ext}$major'
12219 dynamic_linker
='NetBSD ld.elf_so'
12221 shlibpath_var
=LD_LIBRARY_PATH
12222 shlibpath_overrides_runpath
=yes
12223 hardcode_into_libs
=yes
12227 version_type
=linux
# correct to gnu/linux during the next big refactor
12228 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12229 shlibpath_var
=LD_LIBRARY_PATH
12230 shlibpath_overrides_runpath
=yes
12237 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12238 soname_spec
='${libname}${release}${shared_ext}$major'
12239 shlibpath_var
=LD_LIBRARY_PATH
12240 shlibpath_overrides_runpath
=no
12241 hardcode_into_libs
=yes
12242 dynamic_linker
='ldqnx.so'
12247 sys_lib_dlsearch_path_spec
="/usr/lib"
12249 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12251 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12252 *) need_version
=no
;;
12254 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12255 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12256 shlibpath_var
=LD_LIBRARY_PATH
12257 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12259 openbsd2.
[89] | openbsd2.
[89].
*)
12260 shlibpath_overrides_runpath
=no
12263 shlibpath_overrides_runpath
=yes
12267 shlibpath_overrides_runpath
=yes
12272 libname_spec
='$name'
12275 library_names_spec
='$libname${shared_ext} $libname.a'
12276 dynamic_linker
='OS/2 ld.exe'
12277 shlibpath_var
=LIBPATH
12280 osf3
* | osf4
* | osf5
*)
12284 soname_spec
='${libname}${release}${shared_ext}$major'
12285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12286 shlibpath_var
=LD_LIBRARY_PATH
12287 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12288 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12296 version_type
=linux
# correct to gnu/linux during the next big refactor
12299 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12300 soname_spec
='${libname}${release}${shared_ext}$major'
12301 shlibpath_var
=LD_LIBRARY_PATH
12302 shlibpath_overrides_runpath
=yes
12303 hardcode_into_libs
=yes
12304 # ldd complains unless libraries are executable
12305 postinstall_cmds
='chmod +x $lib'
12310 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12311 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12312 shlibpath_var
=LD_LIBRARY_PATH
12313 shlibpath_overrides_runpath
=yes
12314 if test "$with_gnu_ld" = yes; then
12321 version_type
=linux
# correct to gnu/linux during the next big refactor
12322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12323 soname_spec
='${libname}${release}${shared_ext}$major'
12324 shlibpath_var
=LD_LIBRARY_PATH
12325 case $host_vendor in
12327 shlibpath_overrides_runpath
=no
12329 runpath_var
=LD_RUN_PATH
12337 shlibpath_overrides_runpath
=no
12338 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12344 if test -d /usr
/nec
;then
12345 version_type
=linux
# correct to gnu/linux during the next big refactor
12346 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12347 soname_spec
='$libname${shared_ext}.$major'
12348 shlibpath_var
=LD_LIBRARY_PATH
12352 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12353 version_type
=freebsd-elf
12356 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12357 soname_spec
='${libname}${release}${shared_ext}$major'
12358 shlibpath_var
=LD_LIBRARY_PATH
12359 shlibpath_overrides_runpath
=yes
12360 hardcode_into_libs
=yes
12361 if test "$with_gnu_ld" = yes; then
12362 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12364 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12367 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12371 sys_lib_dlsearch_path_spec
='/usr/lib'
12375 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12376 version_type
=linux
# correct to gnu/linux during the next big refactor
12379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12380 shlibpath_var
=LD_LIBRARY_PATH
12381 shlibpath_overrides_runpath
=no
12382 hardcode_into_libs
=yes
12386 version_type
=linux
# correct to gnu/linux during the next big refactor
12387 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12388 soname_spec
='${libname}${release}${shared_ext}$major'
12389 shlibpath_var
=LD_LIBRARY_PATH
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12397 $as_echo "$dynamic_linker" >&6; }
12398 test "$dynamic_linker" = no
&& can_build_shared
=no
12400 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12401 if test "$GCC" = yes; then
12402 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12405 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12406 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12408 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12409 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12504 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12506 if test -n "$hardcode_libdir_flag_spec" ||
12507 test -n "$runpath_var" ||
12508 test "X$hardcode_automatic" = "Xyes" ; then
12510 # We can hardcode non-existent directories.
12511 if test "$hardcode_direct" != no
&&
12512 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12513 # have to relink, otherwise we might link with an installed library
12514 # when we should be linking with a yet-to-be-installed one
12515 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12516 test "$hardcode_minus_L" != no
; then
12517 # Linking always hardcodes the temporary library directory.
12518 hardcode_action
=relink
12520 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12521 hardcode_action
=immediate
12524 # We cannot hardcode anything, or else we can only hardcode existing
12526 hardcode_action
=unsupported
12528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12529 $as_echo "$hardcode_action" >&6; }
12531 if test "$hardcode_action" = relink ||
12532 test "$inherit_rpath" = yes; then
12533 # Fast installation is not supported
12534 enable_fast_install
=no
12535 elif test "$shlibpath_overrides_runpath" = yes ||
12536 test "$enable_shared" = no
; then
12537 # Fast installation is not necessary
12538 enable_fast_install
=needless
12546 if test "x$enable_dlopen" != xyes
; then
12547 enable_dlopen
=unknown
12548 enable_dlopen_self
=unknown
12549 enable_dlopen_self_static
=unknown
12556 lt_cv_dlopen
="load_add_on"
12558 lt_cv_dlopen_self
=yes
12561 mingw
* | pw32
* | cegcc
*)
12562 lt_cv_dlopen
="LoadLibrary"
12567 lt_cv_dlopen
="dlopen"
12572 # if libdl is installed we need to link against it
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12574 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12575 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12576 $as_echo_n "(cached) " >&6
12578 ac_check_lib_save_LIBS
=$LIBS
12580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12581 /* end confdefs.h. */
12583 /* Override any GCC internal prototype to avoid an error.
12584 Use char because int might match the return type of a GCC
12585 builtin and then its argument prototype would still apply. */
12598 if ac_fn_c_try_link
"$LINENO"; then :
12599 ac_cv_lib_dl_dlopen
=yes
12601 ac_cv_lib_dl_dlopen
=no
12603 rm -f core conftest.err conftest.
$ac_objext \
12604 conftest
$ac_exeext conftest.
$ac_ext
12605 LIBS
=$ac_check_lib_save_LIBS
12607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12608 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12609 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12610 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12613 lt_cv_dlopen
="dyld"
12615 lt_cv_dlopen_self
=yes
12622 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12623 if test "x$ac_cv_func_shl_load" = xyes
; then :
12624 lt_cv_dlopen
="shl_load"
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12627 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12628 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12629 $as_echo_n "(cached) " >&6
12631 ac_check_lib_save_LIBS
=$LIBS
12633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12634 /* end confdefs.h. */
12636 /* Override any GCC internal prototype to avoid an error.
12637 Use char because int might match the return type of a GCC
12638 builtin and then its argument prototype would still apply. */
12646 return shl_load ();
12651 if ac_fn_c_try_link
"$LINENO"; then :
12652 ac_cv_lib_dld_shl_load
=yes
12654 ac_cv_lib_dld_shl_load
=no
12656 rm -f core conftest.err conftest.
$ac_objext \
12657 conftest
$ac_exeext conftest.
$ac_ext
12658 LIBS
=$ac_check_lib_save_LIBS
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12661 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12662 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12663 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12665 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12666 if test "x$ac_cv_func_dlopen" = xyes
; then :
12667 lt_cv_dlopen
="dlopen"
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12670 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12671 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12672 $as_echo_n "(cached) " >&6
12674 ac_check_lib_save_LIBS
=$LIBS
12676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12677 /* end confdefs.h. */
12679 /* Override any GCC internal prototype to avoid an error.
12680 Use char because int might match the return type of a GCC
12681 builtin and then its argument prototype would still apply. */
12694 if ac_fn_c_try_link
"$LINENO"; then :
12695 ac_cv_lib_dl_dlopen
=yes
12697 ac_cv_lib_dl_dlopen
=no
12699 rm -f core conftest.err conftest.
$ac_objext \
12700 conftest
$ac_exeext conftest.
$ac_ext
12701 LIBS
=$ac_check_lib_save_LIBS
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12704 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12705 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12706 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12709 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12710 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12711 $as_echo_n "(cached) " >&6
12713 ac_check_lib_save_LIBS
=$LIBS
12714 LIBS
="-lsvld $LIBS"
12715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12716 /* end confdefs.h. */
12718 /* Override any GCC internal prototype to avoid an error.
12719 Use char because int might match the return type of a GCC
12720 builtin and then its argument prototype would still apply. */
12733 if ac_fn_c_try_link
"$LINENO"; then :
12734 ac_cv_lib_svld_dlopen
=yes
12736 ac_cv_lib_svld_dlopen
=no
12738 rm -f core conftest.err conftest.
$ac_objext \
12739 conftest
$ac_exeext conftest.
$ac_ext
12740 LIBS
=$ac_check_lib_save_LIBS
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12743 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12744 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12745 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12748 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12749 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12750 $as_echo_n "(cached) " >&6
12752 ac_check_lib_save_LIBS
=$LIBS
12754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12755 /* end confdefs.h. */
12757 /* Override any GCC internal prototype to avoid an error.
12758 Use char because int might match the return type of a GCC
12759 builtin and then its argument prototype would still apply. */
12767 return dld_link ();
12772 if ac_fn_c_try_link
"$LINENO"; then :
12773 ac_cv_lib_dld_dld_link
=yes
12775 ac_cv_lib_dld_dld_link
=no
12777 rm -f core conftest.err conftest.
$ac_objext \
12778 conftest
$ac_exeext conftest.
$ac_ext
12779 LIBS
=$ac_check_lib_save_LIBS
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12782 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12783 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12784 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12805 if test "x$lt_cv_dlopen" != xno
; then
12811 case $lt_cv_dlopen in
12813 save_CPPFLAGS
="$CPPFLAGS"
12814 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12816 save_LDFLAGS
="$LDFLAGS"
12817 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12820 LIBS
="$lt_cv_dlopen_libs $LIBS"
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12823 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12824 if ${lt_cv_dlopen_self+:} false
; then :
12825 $as_echo_n "(cached) " >&6
12827 if test "$cross_compiling" = yes; then :
12828 lt_cv_dlopen_self
=cross
12830 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12831 lt_status
=$lt_dlunknown
12832 cat > conftest.
$ac_ext <<_LT_EOF
12833 #line $LINENO "configure"
12834 #include "confdefs.h"
12843 # define LT_DLGLOBAL RTLD_GLOBAL
12846 # define LT_DLGLOBAL DL_GLOBAL
12848 # define LT_DLGLOBAL 0
12852 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12853 find out it does not work in some platform. */
12854 #ifndef LT_DLLAZY_OR_NOW
12856 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12859 # define LT_DLLAZY_OR_NOW DL_LAZY
12862 # define LT_DLLAZY_OR_NOW RTLD_NOW
12865 # define LT_DLLAZY_OR_NOW DL_NOW
12867 # define LT_DLLAZY_OR_NOW 0
12874 /* When -fvisbility=hidden is used, assume the code has been annotated
12875 correspondingly for the symbols needed. */
12876 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12877 int fnord () __attribute__((visibility("default")));
12880 int fnord () { return 42; }
12883 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12884 int status = $lt_dlunknown;
12888 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12891 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12892 else puts (dlerror ());
12894 /* dlclose (self); */
12902 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12903 (eval $ac_link) 2>&5
12905 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12906 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12907 (.
/conftest
; exit; ) >&5 2>/dev
/null
12909 case x
$lt_status in
12910 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12911 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12912 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12915 # compilation failed
12916 lt_cv_dlopen_self
=no
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12924 $as_echo "$lt_cv_dlopen_self" >&6; }
12926 if test "x$lt_cv_dlopen_self" = xyes
; then
12927 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12929 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12930 if ${lt_cv_dlopen_self_static+:} false
; then :
12931 $as_echo_n "(cached) " >&6
12933 if test "$cross_compiling" = yes; then :
12934 lt_cv_dlopen_self_static
=cross
12936 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12937 lt_status
=$lt_dlunknown
12938 cat > conftest.
$ac_ext <<_LT_EOF
12939 #line $LINENO "configure"
12940 #include "confdefs.h"
12949 # define LT_DLGLOBAL RTLD_GLOBAL
12952 # define LT_DLGLOBAL DL_GLOBAL
12954 # define LT_DLGLOBAL 0
12958 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12959 find out it does not work in some platform. */
12960 #ifndef LT_DLLAZY_OR_NOW
12962 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12965 # define LT_DLLAZY_OR_NOW DL_LAZY
12968 # define LT_DLLAZY_OR_NOW RTLD_NOW
12971 # define LT_DLLAZY_OR_NOW DL_NOW
12973 # define LT_DLLAZY_OR_NOW 0
12980 /* When -fvisbility=hidden is used, assume the code has been annotated
12981 correspondingly for the symbols needed. */
12982 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12983 int fnord () __attribute__((visibility("default")));
12986 int fnord () { return 42; }
12989 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12990 int status = $lt_dlunknown;
12994 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12997 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12998 else puts (dlerror ());
13000 /* dlclose (self); */
13008 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13009 (eval $ac_link) 2>&5
13011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13012 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
13013 (.
/conftest
; exit; ) >&5 2>/dev
/null
13015 case x
$lt_status in
13016 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
13017 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
13018 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
13021 # compilation failed
13022 lt_cv_dlopen_self_static
=no
13029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13030 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13033 CPPFLAGS
="$save_CPPFLAGS"
13034 LDFLAGS
="$save_LDFLAGS"
13039 case $lt_cv_dlopen_self in
13040 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13041 *) enable_dlopen_self
=unknown
;;
13044 case $lt_cv_dlopen_self_static in
13045 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13046 *) enable_dlopen_self_static
=unknown
;;
13068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13069 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13070 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13071 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13072 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13074 $as_echo "yes" >&6; }
13076 # FIXME - insert some real tests, host_os isn't really good enough
13079 if test -n "$STRIP" ; then
13080 striplib
="$STRIP -x"
13081 old_striplib
="$STRIP -S"
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13083 $as_echo "yes" >&6; }
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13086 $as_echo "no" >&6; }
13090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13091 $as_echo "no" >&6; }
13107 # Report which library types will actually be built
13108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13109 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13111 $as_echo "$can_build_shared" >&6; }
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13114 $as_echo_n "checking whether to build shared libraries... " >&6; }
13115 test "$can_build_shared" = "no" && enable_shared
=no
13117 # On AIX, shared libraries and static libraries use the same namespace, and
13118 # are all built from PIC.
13121 test "$enable_shared" = yes && enable_static
=no
13122 if test -n "$RANLIB"; then
13123 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13124 postinstall_cmds
='$RANLIB $lib'
13129 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13130 test "$enable_shared" = yes && enable_static
=no
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13135 $as_echo "$enable_shared" >&6; }
13137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13138 $as_echo_n "checking whether to build static libraries... " >&6; }
13139 # Make sure either enable_shared or enable_static is yes.
13140 test "$enable_shared" = yes || enable_static
=yes
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13142 $as_echo "$enable_static" >&6; }
13149 ac_cpp
='$CPP $CPPFLAGS'
13150 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13151 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13152 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13170 ac_config_commands
="$ac_config_commands libtool"
13175 # Only expand once:
13180 # Extract the first word of "ar", so it can be a program name with args.
13181 set dummy
ar; ac_word
=$2
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13183 $as_echo_n "checking for $ac_word... " >&6; }
13184 if ${ac_cv_path_AR+:} false
; then :
13185 $as_echo_n "(cached) " >&6
13189 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
13192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13193 for as_dir
in $PATH
13196 test -z "$as_dir" && as_dir
=.
13197 for ac_exec_ext
in '' $ac_executable_extensions; do
13198 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13199 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
13200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13207 test -z "$ac_cv_path_AR" && ac_cv_path_AR
="ar"
13212 if test -n "$AR"; then
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
13214 $as_echo "$AR" >&6; }
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13217 $as_echo "no" >&6; }
13221 # Extract the first word of "rm", so it can be a program name with args.
13222 set dummy
rm; ac_word
=$2
13223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13224 $as_echo_n "checking for $ac_word... " >&6; }
13225 if ${ac_cv_path_RM+:} false
; then :
13226 $as_echo_n "(cached) " >&6
13230 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
13233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13234 for as_dir
in $PATH
13237 test -z "$as_dir" && as_dir
=.
13238 for ac_exec_ext
in '' $ac_executable_extensions; do
13239 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13240 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
13241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13248 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
13253 if test -n "$RM"; then
13254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
13255 $as_echo "$RM" >&6; }
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13258 $as_echo "no" >&6; }
13262 # Extract the first word of "cp", so it can be a program name with args.
13263 set dummy
cp; ac_word
=$2
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13265 $as_echo_n "checking for $ac_word... " >&6; }
13266 if ${ac_cv_path_CP+:} false
; then :
13267 $as_echo_n "(cached) " >&6
13271 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
13274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13275 for as_dir
in $PATH
13278 test -z "$as_dir" && as_dir
=.
13279 for ac_exec_ext
in '' $ac_executable_extensions; do
13280 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13281 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
13282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13289 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
13294 if test -n "$CP"; then
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
13296 $as_echo "$CP" >&6; }
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13299 $as_echo "no" >&6; }
13303 # Extract the first word of "ln", so it can be a program name with args.
13304 set dummy
ln; ac_word
=$2
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13306 $as_echo_n "checking for $ac_word... " >&6; }
13307 if ${ac_cv_path_LN+:} false
; then :
13308 $as_echo_n "(cached) " >&6
13312 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
13315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13316 for as_dir
in $PATH
13319 test -z "$as_dir" && as_dir
=.
13320 for ac_exec_ext
in '' $ac_executable_extensions; do
13321 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13322 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
13323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13330 test -z "$ac_cv_path_LN" && ac_cv_path_LN
="ln"
13335 if test -n "$LN"; then
13336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
13337 $as_echo "$LN" >&6; }
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13340 $as_echo "no" >&6; }
13344 # Extract the first word of "ls", so it can be a program name with args.
13345 set dummy
ls; ac_word
=$2
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13347 $as_echo_n "checking for $ac_word... " >&6; }
13348 if ${ac_cv_path_LS+:} false
; then :
13349 $as_echo_n "(cached) " >&6
13353 ac_cv_path_LS
="$LS" # Let the user override the test with a path.
13356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13357 for as_dir
in $PATH
13360 test -z "$as_dir" && as_dir
=.
13361 for ac_exec_ext
in '' $ac_executable_extensions; do
13362 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13363 ac_cv_path_LS
="$as_dir/$ac_word$ac_exec_ext"
13364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13371 test -z "$ac_cv_path_LS" && ac_cv_path_LS
="ls"
13376 if test -n "$LS"; then
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LS" >&5
13378 $as_echo "$LS" >&6; }
13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13381 $as_echo "no" >&6; }
13385 # Extract the first word of "sed", so it can be a program name with args.
13386 set dummy
sed; ac_word
=$2
13387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13388 $as_echo_n "checking for $ac_word... " >&6; }
13389 if ${ac_cv_path_SED+:} false
; then :
13390 $as_echo_n "(cached) " >&6
13394 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
13397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13398 for as_dir
in $PATH
13401 test -z "$as_dir" && as_dir
=.
13402 for ac_exec_ext
in '' $ac_executable_extensions; do
13403 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13404 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
13405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13412 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
13416 SED
=$ac_cv_path_SED
13417 if test -n "$SED"; then
13418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
13419 $as_echo "$SED" >&6; }
13421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13422 $as_echo "no" >&6; }
13426 # Extract the first word of "make", so it can be a program name with args.
13427 set dummy
make; ac_word
=$2
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13429 $as_echo_n "checking for $ac_word... " >&6; }
13430 if ${ac_cv_path_MAKE+:} false
; then :
13431 $as_echo_n "(cached) " >&6
13435 ac_cv_path_MAKE
="$MAKE" # Let the user override the test with a path.
13438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13439 for as_dir
in $PATH
13442 test -z "$as_dir" && as_dir
=.
13443 for ac_exec_ext
in '' $ac_executable_extensions; do
13444 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13445 ac_cv_path_MAKE
="$as_dir/$ac_word$ac_exec_ext"
13446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13456 MAKE
=$ac_cv_path_MAKE
13457 if test -n "$MAKE"; then
13458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
13459 $as_echo "$MAKE" >&6; }
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13462 $as_echo "no" >&6; }
13470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13471 $as_echo_n "checking whether NLS is requested... " >&6; }
13472 # Check whether --enable-nls was given.
13473 if test "${enable_nls+set}" = set; then :
13474 enableval
=$enable_nls; USE_NLS
=$enableval
13479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13480 $as_echo "$USE_NLS" >&6; }
13487 # Prepare PATH_SEPARATOR.
13488 # The user is always right.
13489 if test "${PATH_SEPARATOR+set}" != set; then
13490 echo "#! /bin/sh" >conf$$.sh
13491 echo "exit 0" >>conf$$.sh
13493 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13501 # Find out how to test for executable files. Don't use a zero-byte file,
13502 # as systems may use methods other than mode bits to determine executability.
13503 cat >conf$$.
file <<_ASEOF
13507 chmod +x conf$$.
file
13508 if test -x conf$$.
file >/dev
/null
2>&1; then
13509 ac_executable_p
="test -x"
13511 ac_executable_p
="test -f"
13515 # Extract the first word of "msgfmt", so it can be a program name with args.
13516 set dummy msgfmt
; ac_word
=$2
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13518 $as_echo_n "checking for $ac_word... " >&6; }
13519 if ${ac_cv_path_MSGFMT+:} false
; then :
13520 $as_echo_n "(cached) " >&6
13524 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
13527 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
13528 for ac_dir
in $PATH; do
13530 test -z "$ac_dir" && ac_dir
=.
13531 for ac_exec_ext
in '' $ac_executable_extensions; do
13532 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13533 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13534 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
13535 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
13536 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
13543 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
13547 MSGFMT
="$ac_cv_path_MSGFMT"
13548 if test "$MSGFMT" != ":"; then
13549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13550 $as_echo "$MSGFMT" >&6; }
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13553 $as_echo "no" >&6; }
13556 # Extract the first word of "gmsgfmt", so it can be a program name with args.
13557 set dummy gmsgfmt
; ac_word
=$2
13558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13559 $as_echo_n "checking for $ac_word... " >&6; }
13560 if ${ac_cv_path_GMSGFMT+:} false
; then :
13561 $as_echo_n "(cached) " >&6
13565 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
13568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13569 for as_dir
in $PATH
13572 test -z "$as_dir" && as_dir
=.
13573 for ac_exec_ext
in '' $ac_executable_extensions; do
13574 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13575 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
13576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13583 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
13587 GMSGFMT
=$ac_cv_path_GMSGFMT
13588 if test -n "$GMSGFMT"; then
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13590 $as_echo "$GMSGFMT" >&6; }
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13593 $as_echo "no" >&6; }
13598 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13599 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
13600 *) MSGFMT_015
=$MSGFMT ;;
13603 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13604 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
13605 *) GMSGFMT_015
=$GMSGFMT ;;
13610 # Prepare PATH_SEPARATOR.
13611 # The user is always right.
13612 if test "${PATH_SEPARATOR+set}" != set; then
13613 echo "#! /bin/sh" >conf$$.sh
13614 echo "exit 0" >>conf$$.sh
13616 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13624 # Find out how to test for executable files. Don't use a zero-byte file,
13625 # as systems may use methods other than mode bits to determine executability.
13626 cat >conf$$.
file <<_ASEOF
13630 chmod +x conf$$.
file
13631 if test -x conf$$.
file >/dev
/null
2>&1; then
13632 ac_executable_p
="test -x"
13634 ac_executable_p
="test -f"
13638 # Extract the first word of "xgettext", so it can be a program name with args.
13639 set dummy xgettext
; ac_word
=$2
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13641 $as_echo_n "checking for $ac_word... " >&6; }
13642 if ${ac_cv_path_XGETTEXT+:} false
; then :
13643 $as_echo_n "(cached) " >&6
13645 case "$XGETTEXT" in
13647 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
13650 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
13651 for ac_dir
in $PATH; do
13653 test -z "$ac_dir" && ac_dir
=.
13654 for ac_exec_ext
in '' $ac_executable_extensions; do
13655 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13656 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13657 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
13658 (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
13659 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
13666 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
13670 XGETTEXT
="$ac_cv_path_XGETTEXT"
13671 if test "$XGETTEXT" != ":"; then
13672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13673 $as_echo "$XGETTEXT" >&6; }
13675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13676 $as_echo "no" >&6; }
13681 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
13682 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
13683 *) XGETTEXT_015
=$XGETTEXT ;;
13688 # Prepare PATH_SEPARATOR.
13689 # The user is always right.
13690 if test "${PATH_SEPARATOR+set}" != set; then
13691 echo "#! /bin/sh" >conf$$.sh
13692 echo "exit 0" >>conf$$.sh
13694 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13702 # Find out how to test for executable files. Don't use a zero-byte file,
13703 # as systems may use methods other than mode bits to determine executability.
13704 cat >conf$$.
file <<_ASEOF
13708 chmod +x conf$$.
file
13709 if test -x conf$$.
file >/dev
/null
2>&1; then
13710 ac_executable_p
="test -x"
13712 ac_executable_p
="test -f"
13716 # Extract the first word of "msgmerge", so it can be a program name with args.
13717 set dummy msgmerge
; ac_word
=$2
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13719 $as_echo_n "checking for $ac_word... " >&6; }
13720 if ${ac_cv_path_MSGMERGE+:} false
; then :
13721 $as_echo_n "(cached) " >&6
13723 case "$MSGMERGE" in
13725 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
13728 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
13729 for ac_dir
in $PATH; do
13731 test -z "$ac_dir" && ac_dir
=.
13732 for ac_exec_ext
in '' $ac_executable_extensions; do
13733 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
13734 echo "$as_me: trying $ac_dir/$ac_word..." >&5
13735 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
13736 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
13743 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
13747 MSGMERGE
="$ac_cv_path_MSGMERGE"
13748 if test "$MSGMERGE" != ":"; then
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13750 $as_echo "$MSGMERGE" >&6; }
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13753 $as_echo "no" >&6; }
13757 test -n "$localedir" || localedir
='${datadir}/locale'
13760 ac_config_commands
="$ac_config_commands po-directories"
13764 if test "X$prefix" = "XNONE"; then
13765 acl_final_prefix
="$ac_default_prefix"
13767 acl_final_prefix
="$prefix"
13769 if test "X$exec_prefix" = "XNONE"; then
13770 acl_final_exec_prefix
='${prefix}'
13772 acl_final_exec_prefix
="$exec_prefix"
13774 acl_save_prefix
="$prefix"
13775 prefix
="$acl_final_prefix"
13776 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
13777 prefix
="$acl_save_prefix"
13780 # Check whether --with-gnu-ld was given.
13781 if test "${with_gnu_ld+set}" = set; then :
13782 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
13787 # Prepare PATH_SEPARATOR.
13788 # The user is always right.
13789 if test "${PATH_SEPARATOR+set}" != set; then
13790 echo "#! /bin/sh" >conf$$.sh
13791 echo "exit 0" >>conf$$.sh
13793 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13801 if test "$GCC" = yes; then
13802 # Check if gcc -print-prog-name=ld gives a path.
13803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
13804 $as_echo_n "checking for ld used by GCC... " >&6; }
13807 # gcc leaves a trailing carriage return which upsets mingw
13808 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
13810 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
13813 # Accept absolute paths.
13814 [\\/]* |
[A-Za-z
]:[\\/]*)
13815 re_direlt
='/[^/][^/]*/\.\./'
13816 # Canonicalize the path of ld
13817 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
13818 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
13819 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
13821 test -z "$LD" && LD
="$ac_prog"
13824 # If it fails, then pretend we aren't using GCC.
13828 # If it is relative, then search for the first ld in PATH.
13829 with_gnu_ld
=unknown
13832 elif test "$with_gnu_ld" = yes; then
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13834 $as_echo_n "checking for GNU ld... " >&6; }
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13837 $as_echo_n "checking for non-GNU ld... " >&6; }
13839 if ${acl_cv_path_LD+:} false
; then :
13840 $as_echo_n "(cached) " >&6
13842 if test -z "$LD"; then
13843 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13844 for ac_dir
in $PATH; do
13845 test -z "$ac_dir" && ac_dir
=.
13846 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13847 acl_cv_path_LD
="$ac_dir/$ac_prog"
13848 # Check to see if the program is GNU ld. I'd rather use --version,
13849 # but apparently some GNU ld's only accept -v.
13850 # Break only if it was the GNU/non-GNU ld that we prefer.
13851 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13852 *GNU
* |
*'with BFD'*)
13853 test "$with_gnu_ld" != no
&& break ;;
13855 test "$with_gnu_ld" != yes && break ;;
13861 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
13865 LD
="$acl_cv_path_LD"
13866 if test -n "$LD"; then
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13868 $as_echo "$LD" >&6; }
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13871 $as_echo "no" >&6; }
13873 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13875 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13876 if ${acl_cv_prog_gnu_ld+:} false
; then :
13877 $as_echo_n "(cached) " >&6
13879 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13880 case `$LD -v 2>&1 </dev/null` in
13881 *GNU
* |
*'with BFD'*)
13882 acl_cv_prog_gnu_ld
=yes ;;
13884 acl_cv_prog_gnu_ld
=no
;;
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13888 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13889 with_gnu_ld
=$acl_cv_prog_gnu_ld
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13895 $as_echo_n "checking for shared library run path origin... " >&6; }
13896 if ${acl_cv_rpath+:} false
; then :
13897 $as_echo_n "(cached) " >&6
13900 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
13901 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13903 rm -f .
/conftest.sh
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13908 $as_echo "$acl_cv_rpath" >&6; }
13910 libext
="$acl_cv_libext"
13911 shlibext
="$acl_cv_shlibext"
13912 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
13913 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
13914 hardcode_direct
="$acl_cv_hardcode_direct"
13915 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
13916 # Check whether --enable-rpath was given.
13917 if test "${enable_rpath+set}" = set; then :
13918 enableval
=$enable_rpath; :
13926 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13927 if test -n "$searchpath"; then
13928 acl_save_IFS
="${IFS= }"; IFS
=":"
13929 for searchdir
in $searchpath; do
13930 if test -d "$searchdir"; then
13931 case "$searchdir" in
13932 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
13933 *) searchdir
=`cd "$searchdir" && pwd`
13934 case "$searchdir" in
13935 */lib64
) acl_libdirstem
=lib64
;;
13940 IFS
="$acl_save_IFS"
13952 acl_save_prefix
="$prefix"
13953 prefix
="$acl_final_prefix"
13954 acl_save_exec_prefix
="$exec_prefix"
13955 exec_prefix
="$acl_final_exec_prefix"
13957 eval additional_includedir
=\"$includedir\"
13958 eval additional_libdir
=\"$libdir\"
13960 exec_prefix
="$acl_save_exec_prefix"
13961 prefix
="$acl_save_prefix"
13964 # Check whether --with-libiconv-prefix was given.
13965 if test "${with_libiconv_prefix+set}" = set; then :
13966 withval
=$with_libiconv_prefix;
13967 if test "X$withval" = "Xno"; then
13970 if test "X$withval" = "X"; then
13972 acl_save_prefix
="$prefix"
13973 prefix
="$acl_final_prefix"
13974 acl_save_exec_prefix
="$exec_prefix"
13975 exec_prefix
="$acl_final_exec_prefix"
13977 eval additional_includedir
=\"$includedir\"
13978 eval additional_libdir
=\"$libdir\"
13980 exec_prefix
="$acl_save_exec_prefix"
13981 prefix
="$acl_save_prefix"
13984 additional_includedir
="$withval/include"
13985 additional_libdir
="$withval/$acl_libdirstem"
13996 names_already_handled
=
13997 names_next_round
='iconv '
13998 while test -n "$names_next_round"; do
13999 names_this_round
="$names_next_round"
14001 for name
in $names_this_round; do
14003 for n
in $names_already_handled; do
14004 if test "$n" = "$name"; then
14005 already_handled
=yes
14009 if test -z "$already_handled"; then
14010 names_already_handled
="$names_already_handled $name"
14011 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14012 eval value
=\"\
$HAVE_LIB$uppername\"
14013 if test -n "$value"; then
14014 if test "$value" = yes; then
14015 eval value
=\"\
$LIB$uppername\"
14016 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
14017 eval value
=\"\
$LTLIB$uppername\"
14018 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
14027 if test $use_additional = yes; then
14028 if test -n "$shlibext" \
14029 && { test -f "$additional_libdir/lib$name.$shlibext" \
14030 ||
{ test "$shlibext" = dll \
14031 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
14032 found_dir
="$additional_libdir"
14033 if test -f "$additional_libdir/lib$name.$shlibext"; then
14034 found_so
="$additional_libdir/lib$name.$shlibext"
14036 found_so
="$additional_libdir/lib$name.dll.a"
14038 if test -f "$additional_libdir/lib$name.la"; then
14039 found_la
="$additional_libdir/lib$name.la"
14042 if test -f "$additional_libdir/lib$name.$libext"; then
14043 found_dir
="$additional_libdir"
14044 found_a
="$additional_libdir/lib$name.$libext"
14045 if test -f "$additional_libdir/lib$name.la"; then
14046 found_la
="$additional_libdir/lib$name.la"
14051 if test "X$found_dir" = "X"; then
14052 for x
in $LDFLAGS $LTLIBICONV; do
14054 acl_save_prefix
="$prefix"
14055 prefix
="$acl_final_prefix"
14056 acl_save_exec_prefix
="$exec_prefix"
14057 exec_prefix
="$acl_final_exec_prefix"
14059 exec_prefix
="$acl_save_exec_prefix"
14060 prefix
="$acl_save_prefix"
14064 dir
=`echo "X$x" | sed -e 's/^X-L//'`
14065 if test -n "$shlibext" \
14066 && { test -f "$dir/lib$name.$shlibext" \
14067 ||
{ test "$shlibext" = dll \
14068 && test -f "$dir/lib$name.dll.a"; }; }; then
14070 if test -f "$dir/lib$name.$shlibext"; then
14071 found_so
="$dir/lib$name.$shlibext"
14073 found_so
="$dir/lib$name.dll.a"
14075 if test -f "$dir/lib$name.la"; then
14076 found_la
="$dir/lib$name.la"
14079 if test -f "$dir/lib$name.$libext"; then
14081 found_a
="$dir/lib$name.$libext"
14082 if test -f "$dir/lib$name.la"; then
14083 found_la
="$dir/lib$name.la"
14089 if test "X$found_dir" != "X"; then
14094 if test "X$found_dir" != "X"; then
14095 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14096 if test "X$found_so" != "X"; then
14097 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14098 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14101 for x
in $ltrpathdirs; do
14102 if test "X$x" = "X$found_dir"; then
14107 if test -z "$haveit"; then
14108 ltrpathdirs
="$ltrpathdirs $found_dir"
14110 if test "$hardcode_direct" = yes; then
14111 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14113 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
14114 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14116 for x
in $rpathdirs; do
14117 if test "X$x" = "X$found_dir"; then
14122 if test -z "$haveit"; then
14123 rpathdirs
="$rpathdirs $found_dir"
14127 for x
in $LDFLAGS $LIBICONV; do
14129 acl_save_prefix
="$prefix"
14130 prefix
="$acl_final_prefix"
14131 acl_save_exec_prefix
="$exec_prefix"
14132 exec_prefix
="$acl_final_exec_prefix"
14134 exec_prefix
="$acl_save_exec_prefix"
14135 prefix
="$acl_save_prefix"
14137 if test "X$x" = "X-L$found_dir"; then
14142 if test -z "$haveit"; then
14143 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14145 if test "$hardcode_minus_L" != no
; then
14146 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
14148 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14154 if test "X$found_a" != "X"; then
14155 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
14157 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14160 additional_includedir
=
14161 case "$found_dir" in
14162 */$acl_libdirstem |
*/$acl_libdirstem/)
14163 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14164 additional_includedir
="$basedir/include"
14167 if test "X$additional_includedir" != "X"; then
14168 if test "X$additional_includedir" != "X/usr/include"; then
14170 if test "X$additional_includedir" = "X/usr/local/include"; then
14171 if test -n "$GCC"; then
14173 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14177 if test -z "$haveit"; then
14178 for x
in $CPPFLAGS $INCICONV; do
14180 acl_save_prefix
="$prefix"
14181 prefix
="$acl_final_prefix"
14182 acl_save_exec_prefix
="$exec_prefix"
14183 exec_prefix
="$acl_final_exec_prefix"
14185 exec_prefix
="$acl_save_exec_prefix"
14186 prefix
="$acl_save_prefix"
14188 if test "X$x" = "X-I$additional_includedir"; then
14193 if test -z "$haveit"; then
14194 if test -d "$additional_includedir"; then
14195 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14201 if test -n "$found_la"; then
14202 save_libdir
="$libdir"
14203 case "$found_la" in
14204 */* |
*\\*) .
"$found_la" ;;
14205 *) .
"./$found_la" ;;
14207 libdir
="$save_libdir"
14208 for dep
in $dependency_libs; do
14211 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14212 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14214 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14215 if test -n "$GCC"; then
14217 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14221 if test -z "$haveit"; then
14223 for x
in $LDFLAGS $LIBICONV; do
14225 acl_save_prefix
="$prefix"
14226 prefix
="$acl_final_prefix"
14227 acl_save_exec_prefix
="$exec_prefix"
14228 exec_prefix
="$acl_final_exec_prefix"
14230 exec_prefix
="$acl_save_exec_prefix"
14231 prefix
="$acl_save_prefix"
14233 if test "X$x" = "X-L$additional_libdir"; then
14238 if test -z "$haveit"; then
14239 if test -d "$additional_libdir"; then
14240 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14244 for x
in $LDFLAGS $LTLIBICONV; do
14246 acl_save_prefix
="$prefix"
14247 prefix
="$acl_final_prefix"
14248 acl_save_exec_prefix
="$exec_prefix"
14249 exec_prefix
="$acl_final_exec_prefix"
14251 exec_prefix
="$acl_save_exec_prefix"
14252 prefix
="$acl_save_prefix"
14254 if test "X$x" = "X-L$additional_libdir"; then
14259 if test -z "$haveit"; then
14260 if test -d "$additional_libdir"; then
14261 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14268 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14269 if test "$enable_rpath" != no
; then
14271 for x
in $rpathdirs; do
14272 if test "X$x" = "X$dir"; then
14277 if test -z "$haveit"; then
14278 rpathdirs
="$rpathdirs $dir"
14281 for x
in $ltrpathdirs; do
14282 if test "X$x" = "X$dir"; then
14287 if test -z "$haveit"; then
14288 ltrpathdirs
="$ltrpathdirs $dir"
14293 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14296 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14299 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
14300 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14306 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
14307 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14313 if test "X$rpathdirs" != "X"; then
14314 if test -n "$hardcode_libdir_separator"; then
14316 for found_dir
in $rpathdirs; do
14317 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14319 acl_save_libdir
="$libdir"
14321 eval flag
=\"$hardcode_libdir_flag_spec\"
14322 libdir
="$acl_save_libdir"
14323 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14325 for found_dir
in $rpathdirs; do
14326 acl_save_libdir
="$libdir"
14327 libdir
="$found_dir"
14328 eval flag
=\"$hardcode_libdir_flag_spec\"
14329 libdir
="$acl_save_libdir"
14330 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
14334 if test "X$ltrpathdirs" != "X"; then
14335 for found_dir
in $ltrpathdirs; do
14336 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14365 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14366 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
14367 $as_echo_n "(cached) " >&6
14369 gt_save_LIBS
="$LIBS"
14370 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
14371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14372 /* end confdefs.h. */
14373 #include <CoreFoundation/CFPreferences.h>
14377 CFPreferencesCopyAppValue(NULL, NULL)
14382 if ac_fn_c_try_link
"$LINENO"; then :
14383 gt_cv_func_CFPreferencesCopyAppValue
=yes
14385 gt_cv_func_CFPreferencesCopyAppValue
=no
14387 rm -f core conftest.err conftest.
$ac_objext \
14388 conftest
$ac_exeext conftest.
$ac_ext
14389 LIBS
="$gt_save_LIBS"
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
14392 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
14393 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
14395 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
14399 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
14400 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
14401 $as_echo_n "(cached) " >&6
14403 gt_save_LIBS
="$LIBS"
14404 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
14405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14406 /* end confdefs.h. */
14407 #include <CoreFoundation/CFLocale.h>
14411 CFLocaleCopyCurrent();
14416 if ac_fn_c_try_link
"$LINENO"; then :
14417 gt_cv_func_CFLocaleCopyCurrent
=yes
14419 gt_cv_func_CFLocaleCopyCurrent
=no
14421 rm -f core conftest.err conftest.
$ac_objext \
14422 conftest
$ac_exeext conftest.
$ac_ext
14423 LIBS
="$gt_save_LIBS"
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
14426 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
14427 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14429 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
14433 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
14434 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
14446 case " $gt_needs " in
14447 *" need-formatstring-macros "*) gt_api_version
=3 ;;
14448 *" need-ngettext "*) gt_api_version
=2 ;;
14449 *) gt_api_version
=1 ;;
14451 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
14452 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
14454 if test "$USE_NLS" = "yes"; then
14455 gt_use_preinstalled_gnugettext
=no
14458 if test $gt_api_version -ge 3; then
14459 gt_revision_test_code
='
14460 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
14461 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
14463 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
14466 gt_revision_test_code
=
14468 if test $gt_api_version -ge 2; then
14469 gt_expression_test_code
=' + * ngettext ("", "", 0)'
14471 gt_expression_test_code
=
14474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
14475 $as_echo_n "checking for GNU gettext in libc... " >&6; }
14476 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
14477 $as_echo_n "(cached) " >&6
14479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14480 /* end confdefs.h. */
14481 #include <libintl.h>
14482 $gt_revision_test_code
14483 extern int _nl_msg_cat_cntr;
14484 extern int *_nl_domain_bindings;
14488 bindtextdomain ("", "");
14489 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
14494 if ac_fn_c_try_link
"$LINENO"; then :
14495 eval "$gt_func_gnugettext_libc=yes"
14497 eval "$gt_func_gnugettext_libc=no"
14499 rm -f core conftest.err conftest.
$ac_objext \
14500 conftest
$ac_exeext conftest.
$ac_ext
14502 eval ac_res
=\$
$gt_func_gnugettext_libc
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14504 $as_echo "$ac_res" >&6; }
14506 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
14512 am_save_CPPFLAGS
="$CPPFLAGS"
14514 for element
in $INCICONV; do
14516 for x
in $CPPFLAGS; do
14518 acl_save_prefix
="$prefix"
14519 prefix
="$acl_final_prefix"
14520 acl_save_exec_prefix
="$exec_prefix"
14521 exec_prefix
="$acl_final_exec_prefix"
14523 exec_prefix
="$acl_save_exec_prefix"
14524 prefix
="$acl_save_prefix"
14526 if test "X$x" = "X$element"; then
14531 if test -z "$haveit"; then
14532 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
14538 $as_echo_n "checking for iconv... " >&6; }
14539 if ${am_cv_func_iconv+:} false
; then :
14540 $as_echo_n "(cached) " >&6
14543 am_cv_func_iconv
="no, consider installing GNU libiconv"
14545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14546 /* end confdefs.h. */
14547 #include <stdlib.h>
14552 iconv_t cd = iconv_open("","");
14553 iconv(cd,NULL,NULL,NULL,NULL);
14559 if ac_fn_c_try_link
"$LINENO"; then :
14560 am_cv_func_iconv
=yes
14562 rm -f core conftest.err conftest.
$ac_objext \
14563 conftest
$ac_exeext conftest.
$ac_ext
14564 if test "$am_cv_func_iconv" != yes; then
14565 am_save_LIBS
="$LIBS"
14566 LIBS
="$LIBS $LIBICONV"
14567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14568 /* end confdefs.h. */
14569 #include <stdlib.h>
14574 iconv_t cd = iconv_open("","");
14575 iconv(cd,NULL,NULL,NULL,NULL);
14581 if ac_fn_c_try_link
"$LINENO"; then :
14582 am_cv_lib_iconv
=yes
14583 am_cv_func_iconv
=yes
14585 rm -f core conftest.err conftest.
$ac_objext \
14586 conftest
$ac_exeext conftest.
$ac_ext
14587 LIBS
="$am_save_LIBS"
14591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
14592 $as_echo "$am_cv_func_iconv" >&6; }
14593 if test "$am_cv_func_iconv" = yes; then
14595 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
14598 if test "$am_cv_lib_iconv" = yes; then
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
14600 $as_echo_n "checking how to link with libiconv... " >&6; }
14601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
14602 $as_echo "$LIBICONV" >&6; }
14604 CPPFLAGS
="$am_save_CPPFLAGS"
14617 acl_save_prefix
="$prefix"
14618 prefix
="$acl_final_prefix"
14619 acl_save_exec_prefix
="$exec_prefix"
14620 exec_prefix
="$acl_final_exec_prefix"
14622 eval additional_includedir
=\"$includedir\"
14623 eval additional_libdir
=\"$libdir\"
14625 exec_prefix
="$acl_save_exec_prefix"
14626 prefix
="$acl_save_prefix"
14629 # Check whether --with-libintl-prefix was given.
14630 if test "${with_libintl_prefix+set}" = set; then :
14631 withval
=$with_libintl_prefix;
14632 if test "X$withval" = "Xno"; then
14635 if test "X$withval" = "X"; then
14637 acl_save_prefix
="$prefix"
14638 prefix
="$acl_final_prefix"
14639 acl_save_exec_prefix
="$exec_prefix"
14640 exec_prefix
="$acl_final_exec_prefix"
14642 eval additional_includedir
=\"$includedir\"
14643 eval additional_libdir
=\"$libdir\"
14645 exec_prefix
="$acl_save_exec_prefix"
14646 prefix
="$acl_save_prefix"
14649 additional_includedir
="$withval/include"
14650 additional_libdir
="$withval/$acl_libdirstem"
14661 names_already_handled
=
14662 names_next_round
='intl '
14663 while test -n "$names_next_round"; do
14664 names_this_round
="$names_next_round"
14666 for name
in $names_this_round; do
14668 for n
in $names_already_handled; do
14669 if test "$n" = "$name"; then
14670 already_handled
=yes
14674 if test -z "$already_handled"; then
14675 names_already_handled
="$names_already_handled $name"
14676 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14677 eval value
=\"\
$HAVE_LIB$uppername\"
14678 if test -n "$value"; then
14679 if test "$value" = yes; then
14680 eval value
=\"\
$LIB$uppername\"
14681 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
14682 eval value
=\"\
$LTLIB$uppername\"
14683 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
14692 if test $use_additional = yes; then
14693 if test -n "$shlibext" \
14694 && { test -f "$additional_libdir/lib$name.$shlibext" \
14695 ||
{ test "$shlibext" = dll \
14696 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
14697 found_dir
="$additional_libdir"
14698 if test -f "$additional_libdir/lib$name.$shlibext"; then
14699 found_so
="$additional_libdir/lib$name.$shlibext"
14701 found_so
="$additional_libdir/lib$name.dll.a"
14703 if test -f "$additional_libdir/lib$name.la"; then
14704 found_la
="$additional_libdir/lib$name.la"
14707 if test -f "$additional_libdir/lib$name.$libext"; then
14708 found_dir
="$additional_libdir"
14709 found_a
="$additional_libdir/lib$name.$libext"
14710 if test -f "$additional_libdir/lib$name.la"; then
14711 found_la
="$additional_libdir/lib$name.la"
14716 if test "X$found_dir" = "X"; then
14717 for x
in $LDFLAGS $LTLIBINTL; do
14719 acl_save_prefix
="$prefix"
14720 prefix
="$acl_final_prefix"
14721 acl_save_exec_prefix
="$exec_prefix"
14722 exec_prefix
="$acl_final_exec_prefix"
14724 exec_prefix
="$acl_save_exec_prefix"
14725 prefix
="$acl_save_prefix"
14729 dir
=`echo "X$x" | sed -e 's/^X-L//'`
14730 if test -n "$shlibext" \
14731 && { test -f "$dir/lib$name.$shlibext" \
14732 ||
{ test "$shlibext" = dll \
14733 && test -f "$dir/lib$name.dll.a"; }; }; then
14735 if test -f "$dir/lib$name.$shlibext"; then
14736 found_so
="$dir/lib$name.$shlibext"
14738 found_so
="$dir/lib$name.dll.a"
14740 if test -f "$dir/lib$name.la"; then
14741 found_la
="$dir/lib$name.la"
14744 if test -f "$dir/lib$name.$libext"; then
14746 found_a
="$dir/lib$name.$libext"
14747 if test -f "$dir/lib$name.la"; then
14748 found_la
="$dir/lib$name.la"
14754 if test "X$found_dir" != "X"; then
14759 if test "X$found_dir" != "X"; then
14760 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
14761 if test "X$found_so" != "X"; then
14762 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14763 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14766 for x
in $ltrpathdirs; do
14767 if test "X$x" = "X$found_dir"; then
14772 if test -z "$haveit"; then
14773 ltrpathdirs
="$ltrpathdirs $found_dir"
14775 if test "$hardcode_direct" = yes; then
14776 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14778 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
14779 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14781 for x
in $rpathdirs; do
14782 if test "X$x" = "X$found_dir"; then
14787 if test -z "$haveit"; then
14788 rpathdirs
="$rpathdirs $found_dir"
14792 for x
in $LDFLAGS $LIBINTL; do
14794 acl_save_prefix
="$prefix"
14795 prefix
="$acl_final_prefix"
14796 acl_save_exec_prefix
="$exec_prefix"
14797 exec_prefix
="$acl_final_exec_prefix"
14799 exec_prefix
="$acl_save_exec_prefix"
14800 prefix
="$acl_save_prefix"
14802 if test "X$x" = "X-L$found_dir"; then
14807 if test -z "$haveit"; then
14808 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
14810 if test "$hardcode_minus_L" != no
; then
14811 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
14813 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
14819 if test "X$found_a" != "X"; then
14820 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
14822 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
14825 additional_includedir
=
14826 case "$found_dir" in
14827 */$acl_libdirstem |
*/$acl_libdirstem/)
14828 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14829 additional_includedir
="$basedir/include"
14832 if test "X$additional_includedir" != "X"; then
14833 if test "X$additional_includedir" != "X/usr/include"; then
14835 if test "X$additional_includedir" = "X/usr/local/include"; then
14836 if test -n "$GCC"; then
14838 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14842 if test -z "$haveit"; then
14843 for x
in $CPPFLAGS $INCINTL; do
14845 acl_save_prefix
="$prefix"
14846 prefix
="$acl_final_prefix"
14847 acl_save_exec_prefix
="$exec_prefix"
14848 exec_prefix
="$acl_final_exec_prefix"
14850 exec_prefix
="$acl_save_exec_prefix"
14851 prefix
="$acl_save_prefix"
14853 if test "X$x" = "X-I$additional_includedir"; then
14858 if test -z "$haveit"; then
14859 if test -d "$additional_includedir"; then
14860 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14866 if test -n "$found_la"; then
14867 save_libdir
="$libdir"
14868 case "$found_la" in
14869 */* |
*\\*) .
"$found_la" ;;
14870 *) .
"./$found_la" ;;
14872 libdir
="$save_libdir"
14873 for dep
in $dependency_libs; do
14876 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14877 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14879 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14880 if test -n "$GCC"; then
14882 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14886 if test -z "$haveit"; then
14888 for x
in $LDFLAGS $LIBINTL; do
14890 acl_save_prefix
="$prefix"
14891 prefix
="$acl_final_prefix"
14892 acl_save_exec_prefix
="$exec_prefix"
14893 exec_prefix
="$acl_final_exec_prefix"
14895 exec_prefix
="$acl_save_exec_prefix"
14896 prefix
="$acl_save_prefix"
14898 if test "X$x" = "X-L$additional_libdir"; then
14903 if test -z "$haveit"; then
14904 if test -d "$additional_libdir"; then
14905 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14909 for x
in $LDFLAGS $LTLIBINTL; do
14911 acl_save_prefix
="$prefix"
14912 prefix
="$acl_final_prefix"
14913 acl_save_exec_prefix
="$exec_prefix"
14914 exec_prefix
="$acl_final_exec_prefix"
14916 exec_prefix
="$acl_save_exec_prefix"
14917 prefix
="$acl_save_prefix"
14919 if test "X$x" = "X-L$additional_libdir"; then
14924 if test -z "$haveit"; then
14925 if test -d "$additional_libdir"; then
14926 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14933 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14934 if test "$enable_rpath" != no
; then
14936 for x
in $rpathdirs; do
14937 if test "X$x" = "X$dir"; then
14942 if test -z "$haveit"; then
14943 rpathdirs
="$rpathdirs $dir"
14946 for x
in $ltrpathdirs; do
14947 if test "X$x" = "X$dir"; then
14952 if test -z "$haveit"; then
14953 ltrpathdirs
="$ltrpathdirs $dir"
14958 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14961 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14964 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
14965 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14971 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
14972 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14978 if test "X$rpathdirs" != "X"; then
14979 if test -n "$hardcode_libdir_separator"; then
14981 for found_dir
in $rpathdirs; do
14982 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14984 acl_save_libdir
="$libdir"
14986 eval flag
=\"$hardcode_libdir_flag_spec\"
14987 libdir
="$acl_save_libdir"
14988 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
14990 for found_dir
in $rpathdirs; do
14991 acl_save_libdir
="$libdir"
14992 libdir
="$found_dir"
14993 eval flag
=\"$hardcode_libdir_flag_spec\"
14994 libdir
="$acl_save_libdir"
14995 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
14999 if test "X$ltrpathdirs" != "X"; then
15000 for found_dir
in $ltrpathdirs; do
15001 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15006 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
15007 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
15008 $as_echo_n "(cached) " >&6
15010 gt_save_CPPFLAGS
="$CPPFLAGS"
15011 CPPFLAGS
="$CPPFLAGS $INCINTL"
15012 gt_save_LIBS
="$LIBS"
15013 LIBS
="$LIBS $LIBINTL"
15014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15015 /* end confdefs.h. */
15016 #include <libintl.h>
15017 $gt_revision_test_code
15018 extern int _nl_msg_cat_cntr;
15023 const char *_nl_expand_alias (const char *);
15027 bindtextdomain ("", "");
15028 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15033 if ac_fn_c_try_link
"$LINENO"; then :
15034 eval "$gt_func_gnugettext_libintl=yes"
15036 eval "$gt_func_gnugettext_libintl=no"
15038 rm -f core conftest.err conftest.
$ac_objext \
15039 conftest
$ac_exeext conftest.
$ac_ext
15040 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
15041 LIBS
="$LIBS $LIBICONV"
15042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15044 #include <libintl.h>
15045 $gt_revision_test_code
15046 extern int _nl_msg_cat_cntr;
15051 const char *_nl_expand_alias (const char *);
15055 bindtextdomain ("", "");
15056 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15061 if ac_fn_c_try_link
"$LINENO"; then :
15062 LIBINTL
="$LIBINTL $LIBICONV"
15063 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
15064 eval "$gt_func_gnugettext_libintl=yes"
15067 rm -f core conftest.err conftest.
$ac_objext \
15068 conftest
$ac_exeext conftest.
$ac_ext
15070 CPPFLAGS
="$gt_save_CPPFLAGS"
15071 LIBS
="$gt_save_LIBS"
15073 eval ac_res
=\$
$gt_func_gnugettext_libintl
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15075 $as_echo "$ac_res" >&6; }
15078 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
15079 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
15080 && test "$PACKAGE" != gettext-runtime \
15081 && test "$PACKAGE" != gettext-tools
; }; then
15082 gt_use_preinstalled_gnugettext
=yes
15091 if test -n "$INTL_MACOSX_LIBS"; then
15092 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15093 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
15094 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
15095 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
15099 if test "$gt_use_preinstalled_gnugettext" = "yes" \
15100 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
15102 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
15110 $as_echo_n "checking whether to use NLS... " >&6; }
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15112 $as_echo "$USE_NLS" >&6; }
15113 if test "$USE_NLS" = "yes"; then
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
15115 $as_echo_n "checking where the gettext function comes from... " >&6; }
15116 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15117 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15118 gt_source
="external libintl"
15123 gt_source
="included intl directory"
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
15126 $as_echo "$gt_source" >&6; }
15129 if test "$USE_NLS" = "yes"; then
15131 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15132 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
15134 $as_echo_n "checking how to link with libintl... " >&6; }
15135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
15136 $as_echo "$LIBINTL" >&6; }
15138 for element
in $INCINTL; do
15140 for x
in $CPPFLAGS; do
15142 acl_save_prefix
="$prefix"
15143 prefix
="$acl_final_prefix"
15144 acl_save_exec_prefix
="$exec_prefix"
15145 exec_prefix
="$acl_final_exec_prefix"
15147 exec_prefix
="$acl_save_exec_prefix"
15148 prefix
="$acl_save_prefix"
15150 if test "X$x" = "X$element"; then
15155 if test -z "$haveit"; then
15156 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
15163 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15166 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
15175 INTLLIBS
="$LIBINTL"
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: dmalloc enabled" >&5
15184 $as_echo_n "checking option: dmalloc enabled... " >&6; }
15185 # Check whether --enable-dmalloc was given.
15186 if test "${enable_dmalloc+set}" = set; then :
15187 enableval
=$enable_dmalloc;
15190 if test x
$enable_dmalloc = "xyes" ; then
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15192 $as_echo "yes" >&6; }
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15195 $as_echo "no" >&6; }
15199 # Check whether --with-dmalloc-dir was given.
15200 if test "${with_dmalloc_dir+set}" = set; then :
15201 withval
=$with_dmalloc_dir;
15202 if test "x$withval" != "xno" ; then
15203 enable_dmalloc
= "yes"
15204 CPPFLAGS
="$CPPFLAGS -I${withval}"
15205 LDFLAGS
="$LDFLAGS -L${withval}"
15211 if test x
$enable_dmalloc = "xyes" ; then
15213 $as_echo "#define ENABLE_DMALLOC 1" >>confdefs.h
15217 ALPINE_datestamp
=`date`
15219 # Check whether --with-date-stamp was given.
15220 if test "${with_date_stamp+set}" = set; then :
15221 withval
=$with_date_stamp;
15222 if test "x$withval" != "xno" ; then
15223 ALPINE_datestamp
=$withval
15228 ALPINE_DATESTAMP
=$ALPINE_datestamp
15231 ALPINE_hoststamp
=`hostname`
15233 # Check whether --with-host-stamp was given.
15234 if test "${with_host_stamp+set}" = set; then :
15235 withval
=$with_host_stamp;
15236 if test "x$withval" != "xno" ; then
15237 ALPINE_hoststamp
="$withval"
15242 ALPINE_HOSTSTAMP
=$ALPINE_hoststamp
15245 ALPINE_psefcmd
="/bin/ps auxww"
15246 ALPINE_psfailed
="0"
15249 # Check whether --with-ps-cmd was given.
15250 if test "${with_ps_cmd+set}" = set; then :
15251 withval
=$with_ps_cmd;
15252 if test "x$withval" = "xno" -o "x$withval" = "xyes" -o "x$withval" = "x" ; then
15253 withval
=$ALPINE_psefcmd
15255 ALPINE_PSTEST
=`$withval | $EGREP "$withval" | $EGREP -v $EGREP`
15256 if test -n "$ALPINE_PSTEST" ; then
15257 ALPINE_psefcmd
="$withval"
15259 ALPINE_psfailed
="1"
15260 if test "x$ALPINE_psefcmd" != "x$withval" ; then
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed command $withval. Trying $ALPINE_psefcmd" >&5
15262 $as_echo "$as_me: WARNING: failed command $withval. Trying $ALPINE_psefcmd" >&2;}
15268 if test "$ALPINE_psfailed" = "1" -o "$ALPINE_PSTEST" = "-" ; then
15269 withval
="$ALPINE_psefcmd"
15270 ALPINE_PSTEST
=`$withval | $EGREP "$withval" | $EGREP -v $EGREP`
15271 if test -z "$ALPINE_PSTEST" ; then
15272 ALPINE_psfailed
="1"
15274 ALPINE_psfailed
="0"
15277 if test "$ALPINE_psfailed" = "0" ; then
15279 cat >>confdefs.h
<<_ACEOF
15280 #define PSEFCMD "$ALPINE_psefcmd"
15287 if test -d /opt
/local ; then
15288 localedir
="/opt/local/share/locale"
15290 localedir
="\${datadir}/locale"
15294 localedir
="/usr/share"
15297 localedir
="\${datadir}/locale"
15302 # Check whether --with-localedir was given.
15303 if test "${with_localedir+set}" = set; then :
15304 withval
=$with_localedir;
15317 localedir
="$localedir"
15320 # Setup OS-Specific features
15323 # Check whether --enable-osx-universal-binaries was given.
15324 if test "${enable_osx_universal_binaries+set}" = set; then :
15325 enableval
=$enable_osx_universal_binaries;
15328 if test "x$enable_osx_universal_binaries" = "xyes" ; then
15329 if test "x$enable_dependency_tracking" != xno
; then
15330 as_fn_error $?
"--enable-osx-universal-binary requires --disable-dependency-tracking.
15331 Please re-run configure with these options:
15332 --disable-dependency-tracking --enable-osx-universal-binary" "$LINENO" 5
15334 if test -d /Developer
/SDKs
/MacOSX10.5.sdk
; then
15335 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.5.sdk
15336 elif test -d /Developer
/SDKs
/MacOSX10.4u.sdk
; then
15337 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.4u.sdk
15339 as_fn_error $?
"No suitable MacOSX SDK found. Make sure Xcode tools are installed" "$LINENO" 5
15341 ub_cflags
="-isysroot $alpine_sysroot -arch ppc -arch i386"
15342 ub_ldflags
="-Wl,-syslibroot,$alpine_sysroot -arch ppc -arch i386"
15343 AM_CFLAGS
="$AM_CFLAGS $ub_cflags"
15344 AM_LDFLAGS
="$AM_LDFLAGS $ub_ldflags"
15345 alpine_c_client_cflags
="$alpine_c_client_cflags $ub_cflags"
15346 alpine_c_client_ldflags
="$alpine_c_client_ldflags $ub_ldflags"
15352 # Check whether --with-include-path was given.
15353 if test "${with_include_path+set}" = set; then :
15354 withval
=$with_include_path;
15361 new_cppflags
="-I`echo ${withval} | ${SED} 's/:/ -I/g'`"
15362 CPPFLAGS
="$CPPFLAGS ${new_cppflags}"
15363 alpine_c_client_cflags
="$alpine_c_client_cflags ${new_cppflags}"
15371 # Check whether --with-lib-path was given.
15372 if test "${with_lib_path+set}" = set; then :
15373 withval
=$with_lib_path;
15380 new_ldflags
="-L`echo ${withval} | ${SED} 's/:/ -L/g'`"
15381 LDFLAGS
="$LDFLAGS $new_ldflags"
15382 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${new_ldflags}"
15390 # Check whether --with-pubcookie was given.
15391 if test "${with_pubcookie+set}" = set; then :
15392 withval
=$with_pubcookie;
15393 if test "x$withval" != "xno" ; then
15394 WEB_PUBCOOKIE_BUILD
=web
/src
/pubcookie
15402 # Check whether --with-web-bin was given.
15403 if test "${with_web_bin+set}" = set; then :
15404 withval
=$with_web_bin;
15411 WEB_BINDIR
=$withval
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: debugging is enabled" >&5
15419 $as_echo_n "checking option: debugging is enabled... " >&6; }
15420 # Check whether --enable-debug was given.
15421 if test "${enable_debug+set}" = set; then :
15422 enableval
=$enable_debug;
15425 if test x
$enable_debug != "xno" ; then
15426 AM_CFLAGS
="$AM_CFLAGS -g"
15428 $as_echo "#define DEBUG 1" >>confdefs.h
15431 $as_echo "#define DEBUGJOURNAL 1" >>confdefs.h
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15434 $as_echo "yes" >&6; }
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15437 $as_echo "no" >&6; }
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: optimization is enabled" >&5
15441 $as_echo_n "checking option: optimization is enabled... " >&6; }
15442 # Check whether --enable-optimization was given.
15443 if test "${enable_optimization+set}" = set; then :
15444 enableval
=$enable_optimization;
15447 if test x
$enable_optimization != "xno" ; then
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15449 $as_echo "yes" >&6; }
15451 CFLAGS
="`echo $AM_CFLAGS | ${SED} 's/-O2//'`"
15452 alpine_c_client_gccoptlevel
="-O0"
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15454 $as_echo "no" >&6; }
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: mouse support enabled" >&5
15458 $as_echo_n "checking option: mouse support enabled... " >&6; }
15459 # Check whether --enable-mouse was given.
15460 if test "${enable_mouse+set}" = set; then :
15461 enableval
=$enable_mouse;
15464 if test x
$enable_mouse != "xno" ; then
15466 $as_echo "#define MOUSE /**/" >>confdefs.h
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15469 $as_echo "yes" >&6; }
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15472 $as_echo "no" >&6; }
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: quotas enabled" >&5
15476 $as_echo_n "checking option: quotas enabled... " >&6; }
15477 # Check whether --enable-quotas was given.
15478 if test "${enable_quotas+set}" = set; then :
15479 enableval
=$enable_quotas;
15482 if test x
$enable_quotas = "xyes" ; then
15484 $as_echo "#define USE_QUOTAS /**/" >>confdefs.h
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15487 $as_echo "yes" >&6; }
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15490 $as_echo "no" >&6; }
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: From changing enabled" >&5
15494 $as_echo_n "checking option: From changing enabled... " >&6; }
15495 # Check whether --enable-from_changing was given.
15496 if test "${enable_from_changing+set}" = set; then :
15497 enableval
=$enable_from_changing;
15500 if test x
$enable_from_changing != "xno" ; then
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15502 $as_echo "yes" >&6; }
15505 $as_echo "#define NEVER_ALLOW_CHANGING_FROM /**/" >>confdefs.h
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15508 $as_echo "no" >&6; }
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: background post enabled" >&5
15512 $as_echo_n "checking option: background post enabled... " >&6; }
15513 # Check whether --enable-background-post was given.
15514 if test "${enable_background_post+set}" = set; then :
15515 enableval
=$enable_background_post;
15518 if test x
$enable_background_post != "xno" ; then
15520 $as_echo "#define BACKGROUND_POST /**/" >>confdefs.h
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15523 $as_echo "yes" >&6; }
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15526 $as_echo "no" >&6; }
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: keyboard lock enabled" >&5
15530 $as_echo_n "checking option: keyboard lock enabled... " >&6; }
15531 # Check whether --enable-keyboard-lock was given.
15532 if test "${enable_keyboard_lock+set}" = set; then :
15533 enableval
=$enable_keyboard_lock;
15536 if test x
$enable_keyboard_lock != "xno" ; then
15538 $as_echo "#define KEYBOARD_LOCK /**/" >>confdefs.h
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15541 $as_echo "yes" >&6; }
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15544 $as_echo "no" >&6; }
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: from encoding enabled" >&5
15548 $as_echo_n "checking option: from encoding enabled... " >&6; }
15549 # Check whether --enable-from-encoding was given.
15550 if test "${enable_from_encoding+set}" = set; then :
15551 enableval
=$enable_from_encoding;
15554 if test x
$enable_from_encoding = "xyes" ; then
15556 $as_echo "#define ENCODE_FROMS /**/" >>confdefs.h
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15559 $as_echo "yes" >&6; }
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15562 $as_echo "no" >&6; }
15566 # Check whether --with-smtp-msa was given.
15567 if test "${with_smtp_msa+set}" = set; then :
15568 withval
=$with_smtp_msa;
15573 # Extract the first word of "sendmail", so it can be a program name with args.
15574 set dummy sendmail
; ac_word
=$2
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15576 $as_echo_n "checking for $ac_word... " >&6; }
15577 if ${ac_cv_path_SENDMAIL+:} false
; then :
15578 $as_echo_n "(cached) " >&6
15582 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
15585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15586 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15587 for as_dir
in $as_dummy
15590 test -z "$as_dir" && as_dir
=.
15591 for ac_exec_ext
in '' $ac_executable_extensions; do
15592 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15593 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
15594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15601 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
15605 SENDMAIL
=$ac_cv_path_SENDMAIL
15606 if test -n "$SENDMAIL"; then
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
15608 $as_echo "$SENDMAIL" >&6; }
15610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15611 $as_echo "no" >&6; }
15623 # Extract the first word of "sendmail", so it can be a program name with args.
15624 set dummy sendmail
; ac_word
=$2
15625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15626 $as_echo_n "checking for $ac_word... " >&6; }
15627 if ${ac_cv_path_SENDMAIL+:} false
; then :
15628 $as_echo_n "(cached) " >&6
15632 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
15635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15636 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15637 for as_dir
in $as_dummy
15640 test -z "$as_dir" && as_dir
=.
15641 for ac_exec_ext
in '' $ac_executable_extensions; do
15642 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15643 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
15644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15651 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
15655 SENDMAIL
=$ac_cv_path_SENDMAIL
15656 if test -n "$SENDMAIL"; then
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
15658 $as_echo "$SENDMAIL" >&6; }
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15661 $as_echo "no" >&6; }
15668 if test -n "$SENDMAIL" ; then
15670 cat >>confdefs.h
<<_ACEOF
15671 #define SENDMAIL "$SENDMAIL"
15676 smtp_msa_flags
="-bs -odb -oem"
15678 # Check whether --with-smtp-msa-flags was given.
15679 if test "${with_smtp_msa_flags+set}" = set; then :
15680 withval
=$with_smtp_msa_flags;
15681 if test "x$withval" != "xno" ; then
15682 smtp_msa_flags
=$withval
15688 cat >>confdefs.h
<<_ACEOF
15689 #define SENDMAILFLAGS "$smtp_msa_flags"
15695 # Check whether --with-npa was given.
15696 if test "${with_npa+set}" = set; then :
15702 # Extract the first word of "inews", so it can be a program name with args.
15703 set dummy inews
; ac_word
=$2
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15705 $as_echo_n "checking for $ac_word... " >&6; }
15706 if ${ac_cv_path_NPA_PROG+:} false
; then :
15707 $as_echo_n "(cached) " >&6
15711 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
15714 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15715 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15716 for as_dir
in $as_dummy
15719 test -z "$as_dir" && as_dir
=.
15720 for ac_exec_ext
in '' $ac_executable_extensions; do
15721 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15722 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
15723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15730 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
15734 NPA_PROG
=$ac_cv_path_NPA_PROG
15735 if test -n "$NPA_PROG"; then
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
15737 $as_echo "$NPA_PROG" >&6; }
15739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15740 $as_echo "no" >&6; }
15752 # Extract the first word of "inews", so it can be a program name with args.
15753 set dummy inews
; ac_word
=$2
15754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15755 $as_echo_n "checking for $ac_word... " >&6; }
15756 if ${ac_cv_path_NPA_PROG+:} false
; then :
15757 $as_echo_n "(cached) " >&6
15761 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
15764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15765 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15766 for as_dir
in $as_dummy
15769 test -z "$as_dir" && as_dir
=.
15770 for ac_exec_ext
in '' $ac_executable_extensions; do
15771 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15772 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
15773 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15780 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
15784 NPA_PROG
=$ac_cv_path_NPA_PROG
15785 if test -n "$NPA_PROG"; then
15786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
15787 $as_echo "$NPA_PROG" >&6; }
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15790 $as_echo "no" >&6; }
15800 # Check whether --with-npa-flags was given.
15801 if test "${with_npa_flags+set}" = set; then :
15802 withval
=$with_npa_flags;
15803 if test "x$withval" != "xno" ; then
15809 if test -n "$NPA_PROG" ; then
15811 cat >>confdefs.h
<<_ACEOF
15812 #define SENDNEWS "$NPA_PROG $npa_flags"
15818 # Check whether --with-password-prog was given.
15819 if test "${with_password_prog+set}" = set; then :
15820 withval
=$with_password_prog;
15825 # Extract the first word of "passwd", so it can be a program name with args.
15826 set dummy passwd
; ac_word
=$2
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15828 $as_echo_n "checking for $ac_word... " >&6; }
15829 if ${ac_cv_path_PWPROG+:} false
; then :
15830 $as_echo_n "(cached) " >&6
15834 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15838 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15839 for as_dir
in $as_dummy
15842 test -z "$as_dir" && as_dir
=.
15843 for ac_exec_ext
in '' $ac_executable_extensions; do
15844 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15845 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15853 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15857 PWPROG
=$ac_cv_path_PWPROG
15858 if test -n "$PWPROG"; then
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15860 $as_echo "$PWPROG" >&6; }
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15863 $as_echo "no" >&6; }
15869 # Extract the first word of "$withval", so it can be a program name with args.
15870 set dummy
$withval; ac_word
=$2
15871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15872 $as_echo_n "checking for $ac_word... " >&6; }
15873 if ${ac_cv_path_PWPROG+:} false
; then :
15874 $as_echo_n "(cached) " >&6
15878 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15882 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15883 for as_dir
in $as_dummy
15886 test -z "$as_dir" && as_dir
=.
15887 for ac_exec_ext
in '' $ac_executable_extensions; do
15888 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15889 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15897 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15901 PWPROG
=$ac_cv_path_PWPROG
15902 if test -n "$PWPROG"; then
15903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15904 $as_echo "$PWPROG" >&6; }
15906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15907 $as_echo "no" >&6; }
15916 # Extract the first word of "passwd", so it can be a program name with args.
15917 set dummy passwd
; ac_word
=$2
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15919 $as_echo_n "checking for $ac_word... " >&6; }
15920 if ${ac_cv_path_PWPROG+:} false
; then :
15921 $as_echo_n "(cached) " >&6
15925 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15929 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15930 for as_dir
in $as_dummy
15933 test -z "$as_dir" && as_dir
=.
15934 for ac_exec_ext
in '' $ac_executable_extensions; do
15935 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15936 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15944 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15948 PWPROG
=$ac_cv_path_PWPROG
15949 if test -n "$PWPROG"; then
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15951 $as_echo "$PWPROG" >&6; }
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15954 $as_echo "no" >&6; }
15961 if test -n "$PWPROG" ; then
15963 cat >>confdefs.h
<<_ACEOF
15964 #define PASSWD_PROG "$PWPROG"
15970 # Check whether --with-simple-spellcheck was given.
15971 if test "${with_simple_spellcheck+set}" = set; then :
15972 withval
=$with_simple_spellcheck;
15973 if test "x$withval" != "xno" ; then
15979 # Extract the first word of "hunspell", so it can be a program name with args.
15980 set dummy hunspell
; ac_word
=$2
15981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15982 $as_echo_n "checking for $ac_word... " >&6; }
15983 if ${ac_cv_prog_SPELLPROG+:} false
; then :
15984 $as_echo_n "(cached) " >&6
15986 if test -n "$SPELLPROG"; then
15987 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
15989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15990 for as_dir
in $PATH
15993 test -z "$as_dir" && as_dir
=.
15994 for ac_exec_ext
in '' $ac_executable_extensions; do
15995 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15996 ac_cv_prog_SPELLPROG
="hunspell"
15997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16006 SPELLPROG
=$ac_cv_prog_SPELLPROG
16007 if test -n "$SPELLPROG"; then
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
16009 $as_echo "$SPELLPROG" >&6; }
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16012 $as_echo "no" >&6; }
16016 if test -z "$SPELLPROG" ; then
16017 # Extract the first word of "aspell", so it can be a program name with args.
16018 set dummy aspell
; ac_word
=$2
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16020 $as_echo_n "checking for $ac_word... " >&6; }
16021 if ${ac_cv_prog_SPELLPROG+:} false
; then :
16022 $as_echo_n "(cached) " >&6
16024 if test -n "$SPELLPROG"; then
16025 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
16027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16028 for as_dir
in $PATH
16031 test -z "$as_dir" && as_dir
=.
16032 for ac_exec_ext
in '' $ac_executable_extensions; do
16033 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16034 ac_cv_prog_SPELLPROG
="aspell"
16035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16044 SPELLPROG
=$ac_cv_prog_SPELLPROG
16045 if test -n "$SPELLPROG"; then
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
16047 $as_echo "$SPELLPROG" >&6; }
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16050 $as_echo "no" >&6; }
16054 if test -z "$SPELLPROG" ; then
16055 # Extract the first word of "ispell", so it can be a program name with args.
16056 set dummy ispell
; ac_word
=$2
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16058 $as_echo_n "checking for $ac_word... " >&6; }
16059 if ${ac_cv_prog_SPELLPROG+:} false
; then :
16060 $as_echo_n "(cached) " >&6
16062 if test -n "$SPELLPROG"; then
16063 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
16065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16066 for as_dir
in $PATH
16069 test -z "$as_dir" && as_dir
=.
16070 for ac_exec_ext
in '' $ac_executable_extensions; do
16071 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16072 ac_cv_prog_SPELLPROG
="ispell"
16073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16082 SPELLPROG
=$ac_cv_prog_SPELLPROG
16083 if test -n "$SPELLPROG"; then
16084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
16085 $as_echo "$SPELLPROG" >&6; }
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16088 $as_echo "no" >&6; }
16092 if test -z "$SPELLPROG" ; then
16101 if test "x$SPELLPROG" != "xno" ; then
16102 # Extract the first word of "$SPELLPROG", so it can be a program name with args.
16103 set dummy
$SPELLPROG; ac_word
=$2
16104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16105 $as_echo_n "checking for $ac_word... " >&6; }
16106 if ${ac_cv_path_alpine_simple_spellcheck+:} false
; then :
16107 $as_echo_n "(cached) " >&6
16109 case $alpine_simple_spellcheck in
16111 ac_cv_path_alpine_simple_spellcheck
="$alpine_simple_spellcheck" # Let the user override the test with a path.
16114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16115 for as_dir
in $PATH
16118 test -z "$as_dir" && as_dir
=.
16119 for ac_exec_ext
in '' $ac_executable_extensions; do
16120 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16121 ac_cv_path_alpine_simple_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
16122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16132 alpine_simple_spellcheck
=$ac_cv_path_alpine_simple_spellcheck
16133 if test -n "$alpine_simple_spellcheck"; then
16134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_simple_spellcheck" >&5
16135 $as_echo "$alpine_simple_spellcheck" >&6; }
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16138 $as_echo "no" >&6; }
16142 if test -n "$alpine_simple_spellcheck" ; then
16143 case "$SPELLPROG" in
16145 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
16148 alpine_simple_spellcheck
="$alpine_simple_spellcheck --dont-backup --mode=email list"
16151 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
16160 # Check whether --with-interactive-spellcheck was given.
16161 if test "${with_interactive_spellcheck+set}" = set; then :
16162 withval
=$with_interactive_spellcheck;
16163 if test "x$withval" != "xno" ; then
16164 ISPELLPROG
=$withval
16169 # Extract the first word of "hunspell", so it can be a program name with args.
16170 set dummy hunspell
; ac_word
=$2
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16172 $as_echo_n "checking for $ac_word... " >&6; }
16173 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
16174 $as_echo_n "(cached) " >&6
16176 if test -n "$ISPELLPROG"; then
16177 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
16179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16180 for as_dir
in $PATH
16183 test -z "$as_dir" && as_dir
=.
16184 for ac_exec_ext
in '' $ac_executable_extensions; do
16185 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16186 ac_cv_prog_ISPELLPROG
="hunspell"
16187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16196 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
16197 if test -n "$ISPELLPROG"; then
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
16199 $as_echo "$ISPELLPROG" >&6; }
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16202 $as_echo "no" >&6; }
16206 if test -z "$ISPELLPROG" ; then
16207 # Extract the first word of "aspell", so it can be a program name with args.
16208 set dummy aspell
; ac_word
=$2
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16210 $as_echo_n "checking for $ac_word... " >&6; }
16211 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
16212 $as_echo_n "(cached) " >&6
16214 if test -n "$ISPELLPROG"; then
16215 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
16217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16218 for as_dir
in $PATH
16221 test -z "$as_dir" && as_dir
=.
16222 for ac_exec_ext
in '' $ac_executable_extensions; do
16223 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16224 ac_cv_prog_ISPELLPROG
="aspell"
16225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16234 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
16235 if test -n "$ISPELLPROG"; then
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
16237 $as_echo "$ISPELLPROG" >&6; }
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16240 $as_echo "no" >&6; }
16244 if test -z "$SPELLPROG" ; then
16245 ISPELLPROG
="ispell"
16252 if test "x$ISPELLPROG" != "xno" ; then
16253 # Extract the first word of "$ISPELLPROG", so it can be a program name with args.
16254 set dummy
$ISPELLPROG; ac_word
=$2
16255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16256 $as_echo_n "checking for $ac_word... " >&6; }
16257 if ${ac_cv_path_alpine_interactive_spellcheck+:} false
; then :
16258 $as_echo_n "(cached) " >&6
16260 case $alpine_interactive_spellcheck in
16262 ac_cv_path_alpine_interactive_spellcheck
="$alpine_interactive_spellcheck" # Let the user override the test with a path.
16265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16266 for as_dir
in $PATH
16269 test -z "$as_dir" && as_dir
=.
16270 for ac_exec_ext
in '' $ac_executable_extensions; do
16271 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16272 ac_cv_path_alpine_interactive_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
16273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16283 alpine_interactive_spellcheck
=$ac_cv_path_alpine_interactive_spellcheck
16284 if test -n "$alpine_interactive_spellcheck"; then
16285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_interactive_spellcheck" >&5
16286 $as_echo "$alpine_interactive_spellcheck" >&6; }
16288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16289 $as_echo "no" >&6; }
16293 if test -n "$alpine_interactive_spellcheck" ; then
16294 case "$ISPELLPROG" in
16296 alpine_interactive_spellcheck
="$alpine_interactive_spellcheck --dont-backup --mode=email check"
16304 if test -n "$alpine_interactive_spellcheck" ; then
16306 cat >>confdefs.h
<<_ACEOF
16307 #define DF_VAR_SPELLER "$alpine_interactive_spellcheck"
16312 if test -z "$alpine_simple_spellcheck" -a -n "$alpine_interactive_spellcheck" ; then
16313 alpine_simple_spellcheck
=test
16316 cat >>confdefs.h
<<_ACEOF
16317 #define SPELLER "$alpine_simple_spellcheck"
16322 NONE
) dpv
=/usr
/local
/lib
/pine.conf
;;
16323 *) dpv
=${prefix}/lib
/pine.conf
;;
16326 # Check whether --with-system-pinerc was given.
16327 if test "${with_system_pinerc+set}" = set; then :
16328 withval
=$with_system_pinerc;
16342 cat >>confdefs.h
<<_ACEOF
16343 #define SYSTEM_PINERC "$dpv"
16348 NONE
) dpv
=/usr
/local
/lib
/pine.conf.fixed
;;
16349 *) dpv
=${prefix}/lib
/pine.conf.fixed
;;
16352 # Check whether --with-system-fixed-pinerc was given.
16353 if test "${with_system_fixed_pinerc+set}" = set; then :
16354 withval
=$with_system_fixed_pinerc;
16368 cat >>confdefs.h
<<_ACEOF
16369 #define SYSTEM_PINERC_FIXED "$dpv"
16374 NONE
) dpv
=/usr
/local
/lib
/pine.info
;;
16375 *) dpv
=${prefix}/lib
/pine.info
;;
16378 # Check whether --with-local-support-info was given.
16379 if test "${with_local_support_info+set}" = set; then :
16380 withval
=$with_local_support_info;
16394 cat >>confdefs.h
<<_ACEOF
16395 #define SYSTEM_PINE_INFO_PATH "$dpv"
16406 # Check whether --with-mailcheck-interval was given.
16407 if test "${with_mailcheck_interval+set}" = set; then :
16408 withval
=$with_mailcheck_interval;
16409 if test "x$withval" != "xno" ; then
16416 cat >>confdefs.h
<<_ACEOF
16417 #define DF_MAILCHECK "$dpv"
16424 # Check whether --with-checkpoint-interval was given.
16425 if test "${with_checkpoint_interval+set}" = set; then :
16426 withval
=$with_checkpoint_interval;
16427 if test "x$withval" != "xno" ; then
16434 cat >>confdefs.h
<<_ACEOF
16435 #define CHECK_POINT_TIME $dpv
16442 # Check whether --with-checkpoint-frequency was given.
16443 if test "${with_checkpoint_frequency+set}" = set; then :
16444 withval
=$with_checkpoint_frequency;
16445 if test "x$withval" != "xno" ; then
16452 cat >>confdefs.h
<<_ACEOF
16453 #define CHECK_POINT_FREQ $dpv
16460 # Check whether --with-display-rows was given.
16461 if test "${with_display_rows+set}" = set; then :
16462 withval
=$with_display_rows;
16463 if test "x$withval" != "xno" ; then
16470 cat >>confdefs.h
<<_ACEOF
16471 #define DEFAULT_LINES_ON_TERMINAL $dpv
16478 # Check whether --with-display-columns was given.
16479 if test "${with_display_columns+set}" = set; then :
16480 withval
=$with_display_columns;
16481 if test "x$withval" != "xno" ; then
16488 cat >>confdefs.h
<<_ACEOF
16489 #define DEFAULT_COLUMNS_ON_TERMINAL $dpv
16496 # Check whether --with-max-display-rows was given.
16497 if test "${with_max_display_rows+set}" = set; then :
16498 withval
=$with_max_display_rows;
16499 if test "x$withval" != "xno" ; then
16506 cat >>confdefs.h
<<_ACEOF
16507 #define MAX_SCREEN_ROWS $dpv
16514 # Check whether --with-max-display-columns was given.
16515 if test "${with_max_display_columns+set}" = set; then :
16516 withval
=$with_max_display_columns;
16517 if test "x$withval" != "xno" ; then
16524 cat >>confdefs.h
<<_ACEOF
16525 #define MAX_SCREEN_COLS $dpv
16532 # Check whether --with-fill-column was given.
16533 if test "${with_fill_column+set}" = set; then :
16534 withval
=$with_fill_column;
16535 if test "x$withval" != "xno" ; then
16542 cat >>confdefs.h
<<_ACEOF
16543 #define DF_FILLCOL "$dpv"
16550 # Check whether --with-max_fill-column was given.
16551 if test "${with_max_fill_column+set}" = set; then :
16552 withval
=$with_max_fill_column;
16553 if test "x$withval" != "xno" ; then
16560 cat >>confdefs.h
<<_ACEOF
16561 #define MAX_FILLCOL $dpv
16568 # Check whether --with-debug-level was given.
16569 if test "${with_debug_level+set}" = set; then :
16570 withval
=$with_debug_level;
16571 if test "x$withval" != "xno" ; then
16578 cat >>confdefs.h
<<_ACEOF
16579 #define DEFAULT_DEBUG $dpv
16586 # Check whether --with-debug-files was given.
16587 if test "${with_debug_files+set}" = set; then :
16588 withval
=$with_debug_files;
16589 if test "x$withval" != "xno" ; then
16596 cat >>confdefs.h
<<_ACEOF
16597 #define NUMDEBUGFILES $dpv
16604 # Check whether --with-debug-file was given.
16605 if test "${with_debug_file+set}" = set; then :
16606 withval
=$with_debug_file;
16607 if test "x$withval" != "xno" ; then
16614 cat >>confdefs.h
<<_ACEOF
16615 #define DEBUGFILE "$dpv"
16622 # Check whether --with-forwarded-keyword was given.
16623 if test "${with_forwarded_keyword+set}" = set; then :
16624 withval
=$with_forwarded_keyword;
16625 if test "x$withval" != "xno" ; then
16632 cat >>confdefs.h
<<_ACEOF
16633 #define FORWARDED_FLAG "$dpv"
16640 # Check whether --with-display-overlap was given.
16641 if test "${with_display_overlap+set}" = set; then :
16642 withval
=$with_display_overlap;
16643 if test "x$withval" != "xno" ; then
16650 cat >>confdefs.h
<<_ACEOF
16651 #define DF_OVERLAP "$dpv"
16658 # Check whether --with-display-margin was given.
16659 if test "${with_display_margin+set}" = set; then :
16660 withval
=$with_display_margin;
16661 if test "x$withval" != "xno" ; then
16668 cat >>confdefs.h
<<_ACEOF
16669 #define DF_MARGIN "$dpv"
16676 # Check whether --with-default-fcc was given.
16677 if test "${with_default_fcc+set}" = set; then :
16678 withval
=$with_default_fcc;
16679 if test "x$withval" != "xno" ; then
16686 cat >>confdefs.h
<<_ACEOF
16687 #define DF_DEFAULT_FCC "$dpv"
16694 # Check whether --with-default-save-folder was given.
16695 if test "${with_default_save_folder+set}" = set; then :
16696 withval
=$with_default_save_folder;
16697 if test "x$withval" != "xno" ; then
16704 cat >>confdefs.h
<<_ACEOF
16705 #define DEFAULT_SAVE "$dpv"
16712 # Check whether --with-default-legacy-postponed-folder was given.
16713 if test "${with_default_legacy_postponed_folder+set}" = set; then :
16714 withval
=$with_default_legacy_postponed_folder;
16715 if test "x$withval" != "xno" ; then
16722 cat >>confdefs.h
<<_ACEOF
16723 #define POSTPONED_MAIL "$dpv"
16730 # Check whether --with-default-postponed-folder was given.
16731 if test "${with_default_postponed_folder+set}" = set; then :
16732 withval
=$with_default_postponed_folder;
16733 if test "x$withval" != "xno" ; then
16740 cat >>confdefs.h
<<_ACEOF
16741 #define POSTPONED_MSGS "$dpv"
16748 # Check whether --with-default-trash-folder was given.
16749 if test "${with_default_trash_folder+set}" = set; then :
16750 withval
=$with_default_trash_folder;
16751 if test "x$withval" != "xno" ; then
16758 cat >>confdefs.h
<<_ACEOF
16759 #define TRASH_FOLDER "$dpv"
16764 dpv
=.pine-interrupted-mail
16766 # Check whether --with-default-interrupted-mail was given.
16767 if test "${with_default_interrupted_mail+set}" = set; then :
16768 withval
=$with_default_interrupted_mail;
16769 if test "x$withval" != "xno" ; then
16776 cat >>confdefs.h
<<_ACEOF
16777 #define INTERRUPTED_MAIL "$dpv"
16784 # Check whether --with-default-dead-letter-folder was given.
16785 if test "${with_default_dead_letter_folder+set}" = set; then :
16786 withval
=$with_default_dead_letter_folder;
16787 if test "x$withval" != "xno" ; then
16794 cat >>confdefs.h
<<_ACEOF
16795 #define DEADLETTER "$dpv"
16802 # Check whether --with-default-mail-directory was given.
16803 if test "${with_default_mail_directory+set}" = set; then :
16804 withval
=$with_default_mail_directory;
16805 if test "x$withval" != "xno" ; then
16812 cat >>confdefs.h
<<_ACEOF
16813 #define DF_MAIL_DIRECTORY "$dpv"
16820 # Check whether --with-default-inbox-name was given.
16821 if test "${with_default_inbox_name+set}" = set; then :
16822 withval
=$with_default_inbox_name;
16823 if test "x$withval" != "xno" ; then
16830 cat >>confdefs.h
<<_ACEOF
16831 #define INBOX_NAME "$dpv"
16838 # Check whether --with-default-signature-file was given.
16839 if test "${with_default_signature_file+set}" = set; then :
16840 withval
=$with_default_signature_file;
16841 if test "x$withval" != "xno" ; then
16848 cat >>confdefs.h
<<_ACEOF
16849 #define DF_SIGNATURE_FILE "$dpv"
16856 # Check whether --with-default-elm-style-save was given.
16857 if test "${with_default_elm_style_save+set}" = set; then :
16858 withval
=$with_default_elm_style_save;
16859 if test "x$withval" != "xno" ; then
16866 cat >>confdefs.h
<<_ACEOF
16867 #define DF_ELM_STYLE_SAVE "$dpv"
16874 # Check whether --with-default-header-in-reply was given.
16875 if test "${with_default_header_in_reply+set}" = set; then :
16876 withval
=$with_default_header_in_reply;
16877 if test "x$withval" != "xno" ; then
16884 cat >>confdefs.h
<<_ACEOF
16885 #define DF_HEADER_IN_REPLY "$dpv"
16892 # Check whether --with-default-old-style-reply was given.
16893 if test "${with_default_old_style_reply+set}" = set; then :
16894 withval
=$with_default_old_style_reply;
16895 if test "x$withval" != "xno" ; then
16902 cat >>confdefs.h
<<_ACEOF
16903 #define DF_OLD_STYLE_REPLY "$dpv"
16910 # Check whether --with-default-use-only-domain-name was given.
16911 if test "${with_default_use_only_domain_name+set}" = set; then :
16912 withval
=$with_default_use_only_domain_name;
16913 if test "x$withval" != "xno" ; then
16920 cat >>confdefs.h
<<_ACEOF
16921 #define DF_USE_ONLY_DOMAIN_NAME "$dpv"
16928 # Check whether --with-default-save-by-sender was given.
16929 if test "${with_default_save_by_sender+set}" = set; then :
16930 withval
=$with_default_save_by_sender;
16931 if test "x$withval" != "xno" ; then
16938 cat >>confdefs.h
<<_ACEOF
16939 #define DF_SAVE_BY_SENDER "$dpv"
16946 # Check whether --with-default-sort-key was given.
16947 if test "${with_default_sort_key+set}" = set; then :
16948 withval
=$with_default_sort_key;
16949 if test "x$withval" != "xno" ; then
16956 cat >>confdefs.h
<<_ACEOF
16957 #define DF_SORT_KEY "$dpv"
16962 dpv
=fullname-with-lists-last
16964 # Check whether --with-default-addressbook-sort-rule was given.
16965 if test "${with_default_addressbook_sort_rule+set}" = set; then :
16966 withval
=$with_default_addressbook_sort_rule;
16967 if test "x$withval" != "xno" ; then
16974 cat >>confdefs.h
<<_ACEOF
16975 #define DF_AB_SORT_RULE "$dpv"
16982 # Check whether --with-default-folder-sort-rule was given.
16983 if test "${with_default_folder_sort_rule+set}" = set; then :
16984 withval
=$with_default_folder_sort_rule;
16985 if test "x$withval" != "xno" ; then
16992 cat >>confdefs.h
<<_ACEOF
16993 #define DF_FLD_SORT_RULE "$dpv"
17000 # Check whether --with-default-saved-message-name-rule was given.
17001 if test "${with_default_saved_message_name_rule+set}" = set; then :
17002 withval
=$with_default_saved_message_name_rule;
17003 if test "x$withval" != "xno" ; then
17010 cat >>confdefs.h
<<_ACEOF
17011 #define DF_SAVED_MSG_NAME_RULE "$dpv"
17018 # Check whether --with-default-fcc-rule was given.
17019 if test "${with_default_fcc_rule+set}" = set; then :
17020 withval
=$with_default_fcc_rule;
17021 if test "x$withval" != "xno" ; then
17028 cat >>confdefs.h
<<_ACEOF
17029 #define DF_FCC_RULE "$dpv"
17036 # Check whether --with-default-standard-printer was given.
17037 if test "${with_default_standard_printer+set}" = set; then :
17038 withval
=$with_default_standard_printer;
17039 if test "x$withval" != "xno" ; then
17046 cat >>confdefs.h
<<_ACEOF
17047 #define DF_STANDARD_PRINTER "$dpv"
17052 dpv
=attached-to-ansi
17054 # Check whether --with-default-ansi-printer was given.
17055 if test "${with_default_ansi_printer+set}" = set; then :
17056 withval
=$with_default_ansi_printer;
17057 if test "x$withval" != "xno" ; then
17064 cat >>confdefs.h
<<_ACEOF
17065 #define ANSI_PRINTER "$dpv"
17072 # Check whether --with-default-addressbook was given.
17073 if test "${with_default_addressbook+set}" = set; then :
17074 withval
=$with_default_addressbook;
17075 if test "x$withval" != "xno" ; then
17082 cat >>confdefs.h
<<_ACEOF
17083 #define DF_ADDRESSBOOK "$dpv"
17088 dpv
="Local Support"
17090 # Check whether --with-default-local-fullname was given.
17091 if test "${with_default_local_fullname+set}" = set; then :
17092 withval
=$with_default_local_fullname;
17093 if test "x$withval" != "xno" ; then
17100 cat >>confdefs.h
<<_ACEOF
17101 #define DF_LOCAL_FULLNAME "$dpv"
17108 # Check whether --with-default-local-address was given.
17109 if test "${with_default_local_address+set}" = set; then :
17110 withval
=$with_default_local_address;
17111 if test "x$withval" != "xno" ; then
17118 cat >>confdefs.h
<<_ACEOF
17119 #define DF_LOCAL_ADDRESS "$dpv"
17126 # Check whether --with-default-keyboard-lock-count was given.
17127 if test "${with_default_keyboard_lock_count+set}" = set; then :
17128 withval
=$with_default_keyboard_lock_count;
17129 if test "x$withval" != "xno" ; then
17136 cat >>confdefs.h
<<_ACEOF
17137 #define DF_KBLOCK_PASSWD_COUNT "$dpv"
17144 # Check whether --with-default-remote-addressbook-history was given.
17145 if test "${with_default_remote_addressbook_history+set}" = set; then :
17146 withval
=$with_default_remote_addressbook_history;
17147 if test "x$withval" != "xno" ; then
17154 cat >>confdefs.h
<<_ACEOF
17155 #define DF_REMOTE_ABOOK_HISTORY "$dpv"
17160 dpv
=.alpine-smime
/public
17162 # Check whether --with-smime-public-cert-directory was given.
17163 if test "${with_smime_public_cert_directory+set}" = set; then :
17164 withval
=$with_smime_public_cert_directory;
17165 if test "x$withval" != "xno" ; then
17172 cat >>confdefs.h
<<_ACEOF
17173 #define DF_PUBLICCERT_DIR "$dpv"
17178 dpv
=.alpine-smime
/private
17180 # Check whether --with-smime-private-key-directory was given.
17181 if test "${with_smime_private_key_directory+set}" = set; then :
17182 withval
=$with_smime_private_key_directory;
17183 if test "x$withval" != "xno" ; then
17190 cat >>confdefs.h
<<_ACEOF
17191 #define DF_PRIVATEKEY_DIR "$dpv"
17196 dpv
=.alpine-smime
/ca
17198 # Check whether --with-smime-cacert-directory was given.
17199 if test "${with_smime_cacert_directory+set}" = set; then :
17200 withval
=$with_smime_cacert_directory;
17201 if test "x$withval" != "xno" ; then
17208 cat >>confdefs.h
<<_ACEOF
17209 #define DF_CACERT_DIR "$dpv"
17216 # Check whether --with-default-printer was given.
17217 if test "${with_default_printer+set}" = set; then :
17218 withval
=$with_default_printer;
17219 if test "x$withval" != "xno" ; then
17226 cat >>confdefs.h
<<_ACEOF
17227 #define DF_DEFAULT_PRINTER $dpv
17233 cat >>confdefs.h
<<_ACEOF
17234 #define DF_PUBLIC_CONTAINER "PublicContainer"
17238 cat >>confdefs.h
<<_ACEOF
17239 #define DF_PRIVATE_CONTAINER "PrivateContainer"
17243 cat >>confdefs.h
<<_ACEOF
17244 #define DF_CA_CONTAINER "CAContainer"
17249 # Check whether --with-passfile was given.
17250 if test "${with_passfile+set}" = set; then :
17251 withval
=$with_passfile;
17258 alpine_PASSFILE
=$withval
17267 # Check whether --with-local-password-cache was given.
17268 if test "${with_local_password_cache+set}" = set; then :
17269 withval
=$with_local_password_cache;
17270 alpine_os_credential_cache
=$withval
17276 # Check whether --with-local-password-cache-method was given.
17277 if test "${with_local_password_cache_method+set}" = set; then :
17278 withval
=$with_local_password_cache_method;
17279 alpine_os_credential_cache_method
=$withval
17284 if test -n "$alpine_PASSFILE" ; then
17285 case $alpine_os_credential_cache in
17289 alpine_os_credential_cache
="no"
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: --with-passfile definition overrides OS-Specific password caching" >&5
17291 $as_echo "$as_me: --with-passfile definition overrides OS-Specific password caching" >&6;}
17295 cat >>confdefs.h
<<_ACEOF
17296 #define PASSFILE "$alpine_PASSFILE"
17302 # Check whether --with-default-sshpath was given.
17303 if test "${with_default_sshpath+set}" = set; then :
17304 withval
=$with_default_sshpath;
17312 cat >>confdefs.h
<<_ACEOF
17313 #define DF_SSHPATH "$withval"
17323 # Check whether --with-default-sshcmd was given.
17324 if test "${with_default_sshcmd+set}" = set; then :
17325 withval
=$with_default_sshcmd;
17333 cat >>confdefs.h
<<_ACEOF
17334 #define DF_SSHCMD "$withval"
17344 # Check whether --with-ssl was given.
17345 if test "${with_ssl+set}" = set; then :
17346 withval
=$with_ssl; with_ssl
=$withval
17350 if test "x$with_ssl" = "xno" ; then
17351 alpine_SSLTYPE
="none"
17352 elif test -d /usr
/local
/ssl
; then
17353 alpine_SSLDIR
="/usr/local/ssl"
17354 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
17355 alpine_SSLLIB
="$alpine_SSLDIR/lib"
17358 *-linux-gnu*|
*-k*bsd
*-gnu*|
*-gnu*)
17359 if test -f /etc
/fedora-release
-o -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
17360 alpine_SSLTYPE
="nopwd"
17361 if test -d /etc
/pki
/tls
; then
17362 alpine_SSLDIR
="/etc/pki/tls"
17364 alpine_SSLDIR
="/usr/share/ssl"
17366 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17367 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17368 alpine_SSLINCLUDE
="/usr/include/openssl"
17369 alpine_SSLLIB
="/usr/lib"
17370 elif test -f /etc
/mandrake-release
; then
17371 alpine_SSLDIR
="/usr/lib/ssl"
17372 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17373 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17374 alpine_SSLINCLUDE
="/usr/include/openssl"
17375 alpine_SSLLIB
="/usr/lib"
17376 elif test -f /etc
/SuSE-release
; then
17377 alpine_SSLTYPE
="nopwd"
17378 alpine_SSLDIR
="/etc/ssl"
17379 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17380 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17381 alpine_SSLINCLUDE
="/usr/include/openssl"
17382 alpine_SSLLIB
="/usr/lib"
17383 elif test -d /etc
/osso-af-init
; then
17384 alpine_SSLTYPE
="nopwd"
17385 alpine_SSLDIR
="/usr"
17386 alpine_SSLCERTS
="/usr/share/certs"
17387 alpine_SSLINCLUDE
="/usr/include/openssl"
17388 alpine_SSLLIB
="/usr/lib"
17389 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
17390 if test ! -d /etc
/osso-af-init
; then
17391 alpine_SSLDIR
="/etc/ssl"
17392 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17393 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17394 alpine_SSLINCLUDE
="/usr/include/openssl"
17395 alpine_SSLLIB
="/usr/lib"
17397 elif test -f /etc
/manjaro-release
; then
17398 alpine_SSLDIR
="/etc/ssl"
17399 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17400 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17401 alpine_SSLINCLUDE
="/usr/include/openssl"
17402 alpine_SSLLIB
="/usr/lib"
17404 alpine_SSLTYPE
="nopwd"
17405 alpine_SSLDIR
="/usr"
17406 alpine_SSLCERTS
="/etc/ssl/certs"
17410 alpine_SSLTYPE
="nopwd"
17411 alpine_SSLCERTS_ORIG
="/System/Library/OpenSSL/certs"
17412 if test -d /usr
/local
/opt
/openssl
; then
17413 alpine_SSLDIR
="/usr/local/opt/openssl"
17414 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
17415 alpine_SSLLIB
="$alpine_SSLDIR/lib"
17416 alpine_SSLCERTS
="/usr/local/etc/openssl"
17417 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17418 elif test -d /opt
/local
/etc
/openssl
; then
17419 alpine_SSLDIR
="/opt/local"
17420 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
17421 alpine_SSLLIB
="$alpine_SSLDIR/lib"
17422 alpine_SSLCERTS
="/opt/local/etc/openssl/certs"
17423 alpine_SSLKEYS
="/opt/local/etc/openssl/private"
17424 elif test -d /sw
/etc
/ssl
; then
17425 alpine_SSLDIR
="/sw/etc/ssl"
17426 alpine_SSLINCLUDE
="/sw/include"
17427 alpine_SSLLIB
="/sw/lib"
17428 alpine_SSLCERTS
="/sw/etc/ssl/certs"
17429 alpine_SSLKEYS
="/sw/etc/ssl/private"
17430 elif test -d /usr
/local
/ssl
; then
17431 alpine_SSLDIR
="/usr/local/ssl"
17432 elif test -d /System
/Library
/OpenSSL
; then
17433 alpine_SSLDIR
="/System/Library/OpenSSL"
17434 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17435 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17436 alpine_SSLLIB
="/usr/lib"
17437 alpine_SSLINCLUDE
="/usr/include/openssl"
17441 alpine_SSLDIR
="/etc/openssl"
17442 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17443 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17444 alpine_SSLINCLUDE
="/usr/include/openssl"
17445 alpine_SSLLIB
="/usr/lib"
17448 alpine_SSLDIR
="/etc/openssl"
17449 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17450 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17451 alpine_SSLINCLUDE
="/usr/include/openssl"
17452 alpine_SSLLIB
="/usr/lib"
17455 alpine_SSLTYPE
="nopwd"
17456 alpine_SSLDIR
="/usr"
17457 alpine_SSLCERTS
="/etc/ssl/certs"
17460 alpine_SSLDIR
="/etc/ssl"
17461 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17462 alpine_SSLKEYS
="$alpine_SSLDIR/private"
17463 if test -d /usr
/local
/include
/openssl
; then
17464 alpine_SSLINCLUDE
="/usr/local/include/openssl"
17465 alpine_SSLLIB
="/usr/local/lib"
17467 alpine_SSLINCLUDE
="/usr/include/openssl"
17468 alpine_SSLLIB
="/usr/lib"
17472 alpine_SSLDIR
="/etc/ssl"
17473 alpine_SSLINCLUDE
="/usr/include/openssl"
17474 alpine_SSLLIB
="/usr/lib"
17475 alpine_SSLCERTS
="/etc/ssl"
17476 alpine_SSLKEYS
="/etc/ssl/private"
17479 alpine_SSLDIR
="/usr/ssl"
17480 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
17481 alpine_SSLKEYS
="$alpine_SSLDIR/certs"
17482 alpine_SSLINCLUDE
="/usr/include/openssl"
17483 alpine_SSLLIB
="/usr/lib"
17485 *-sco-sysv* |
*-sysv*UnixWare |
*-sysv*OpenUNIX
)
17486 alpine_SSLTYPE
="sco.nopwd"
17487 alpine_SSLDIR
="/usr/local/ssl"
17490 if test -d /usr
/include
/openssl
; then
17491 alpine_SSLINCLUDE
="/usr/include/openssl"
17492 elif test -d /usr
/sfw
/include
/openssl
; then
17493 alpine_SSLDIR
="/usr/sfw"
17494 elif test -d /opt
/csw
/include
/openssl
; then
17495 alpine_SSLDIR
="/opt/csw"
17496 if test -d /opt
/csw
/ssl
/certs
; then
17497 alpine_SSLCERTS
="/opt/csw/ssl/certs"
17500 if test -z "$alpine_SSLCERTS" -a -d /etc
/certs
; then
17501 alpine_SSLCERTS
="/etc/certs"
17505 alpine_SSLTYPE
="nopwd"
17506 alpine_SSLDIR
="/usr/local/ssl"
17511 if test "x$alpine_SSLTYPE" != "xnone" ; then
17513 # Check whether --with-ssl-dir was given.
17514 if test "${with_ssl_dir+set}" = set; then :
17515 withval
=$with_ssl_dir;
17516 if test "x$withval" != "xno" ; then
17517 alpine_SSLDIR
=$withval
17518 alpine_SSLINCLUDE
=$alpine_SSLDIR/include
17519 alpine_SSLLIB
=$alpine_SSLDIR/lib
17526 # Check whether --with-ssl-certs-dir was given.
17527 if test "${with_ssl_certs_dir+set}" = set; then :
17528 withval
=$with_ssl_certs_dir;
17529 if test "x$withval" != "xno" ; then
17530 alpine_SSLCERTS
=$withval
17537 # Check whether --with-ssl-include-dir was given.
17538 if test "${with_ssl_include_dir+set}" = set; then :
17539 withval
=$with_ssl_include_dir;
17540 if test "x$withval" != "xno" ; then
17541 alpine_SSLINCLUDE
=$withval
17548 # Check whether --with-ssl-lib-dir was given.
17549 if test "${with_ssl_lib_dir+set}" = set; then :
17550 withval
=$with_ssl_lib_dir;
17551 if test "x$withval" != "xno" ; then
17552 alpine_SSLLIB
=$withval
17558 if test -n "$alpine_SSLINCLUDE" ; then
17559 CPPFLAGS
="-I$alpine_SSLINCLUDE $CPPFLAGS"
17560 elif test -n "$alpine_SSLDIR" ; then
17561 CPPFLAGS
="-I${alpine_SSLDIR}/include $CPPFLAGS"
17563 if test -n "$alpine_SSLLIB" ; then
17564 LDFLAGS
="-L$alpine_SSLLIB $LDFLAGS"
17565 elif test -n "$alpine_SSLDIR" ; then
17566 LDFLAGS
="-L${alpine_SSLDIR}/lib $LDFLAGS"
17570 if test "x$alpine_SSLTYPE" != "xnone" ; then
17571 alpine_default_SSLMIN
="no_min"
17572 alpine_default_SSLMAX
="no_max"
17573 alpine_default_RANGE
="${alpine_default_SSLMIN},${alpine_default_SSLMAX}"
17574 alpine_ENCRYPTION
="$alpine_default_SSLMIN ssl3 tls1 tls1_1 tls1_2 tls1_3 $alpine_default_SSLMAX"
17575 alpine_SSLMIN
="$alpine_default_SSLMIN"
17576 alpine_SSLMAX
="$alpine_default_SSLMAX"
17577 alpine_RANGE
="$alpine_default_RANGE"
17579 # Check whether --with-encryption-minimum-version was given.
17580 if test "${with_encryption_minimum_version+set}" = set; then :
17581 withval
=$with_encryption_minimum_version;
17582 if test "x$withval" != "xno" ; then
17583 alpine_SSLMIN
=$withval
17589 # Check whether --with-encryption-maximum-version was given.
17590 if test "${with_encryption_maximum_version+set}" = set; then :
17591 withval
=$with_encryption_maximum_version;
17592 if test "x$withval" != "xno" ; then
17593 alpine_SSLMAX
=$withval
17598 alpine_RANGE
="$alpine_SSLMIN $alpine_SSLMAX"
17599 for range
in ${alpine_RANGE} ; do
17600 for encryption
in ${alpine_ENCRYPTION} ; do
17601 if test "x$range" = "x$encryption" ; then
17602 if test -z $alpine_min ; then
17611 if test -z $alpine_max ; then
17612 as_fn_error $?
"Unrecognized maximum encryption version: $alpine_max" "$LINENO" 5
17615 if test -z $alpine_min ; then
17616 as_fn_error $?
"Unrecognized minimum encryption version: $alpine_min" "$LINENO" 5
17619 if test "x$alpine_SSLMIN" != "x$alpine_SSLMAX" ; then
17620 alpine_RANGE_FEASIBLE
=`echo "$alpine_ENCRYPTION" | sed "s/^.*$alpine_SSLMIN//" | grep "$alpine_SSLMAX"`
17621 if test -n "$alpine_RANGE_FEASIBLE" ; then
17622 alpine_RANGE
="${alpine_SSLMIN},${alpine_SSLMAX}"
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Reversing order of minimum and maximum encryption" >&5
17625 $as_echo "$as_me: WARNING: Reversing order of minimum and maximum encryption" >&2;}
17626 alpine_RANGE
="${alpine_SSLMAX},${alpine_SSLMIN}"
17629 if test "x$alpine_SSLMIN" = "x$alpine_default_SSLMIN" ; then
17630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Overriding maximum encryption to default" >&5
17631 $as_echo "$as_me: WARNING: Overriding maximum encryption to default" >&2;}
17632 alpine_SSLMAX
="$alpine_default_SSLMAX"
17634 if test "x$alpine_SSLMAX" = "x$alpine_default_SSLMAX" ; then
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Overriding minimum encryption to default" >&5
17636 $as_echo "$as_me: WARNING: Overriding minimum encryption to default" >&2;}
17637 alpine_SSLMIN
="$alpine_default_SSLMIN"
17639 alpine_RANGE
="${alpine_SSLMIN},${alpine_SSLMAX}"
17644 # Check whether --with-encryption-range was given.
17645 if test "${with_encryption_range+set}" = set; then :
17646 withval
=$with_encryption_range;
17647 if test "x$withval" != "xno" ; then
17654 cat >>confdefs.h
<<_ACEOF
17655 #define DF_ENCRYPTION_RANGE "$dpv"
17662 # Check whether --with-krb5 was given.
17663 if test "${with_krb5+set}" = set; then :
17664 withval
=$with_krb5; with_krb5
=$withval
17668 if test "x$with_krb5" = "xno" ; then
17669 alpine_GSSTYPE
="none"
17674 # Check whether --with-krb5-dir was given.
17675 if test "${with_krb5_dir+set}" = set; then :
17676 withval
=$with_krb5_dir;
17677 if test "x$withval" != "xno" ; then
17678 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
17679 LDFLAGS
="$LDFLAGS -L${withval}/lib"
17686 # Check whether --with-krb5-include-dir was given.
17687 if test "${with_krb5_include_dir+set}" = set; then :
17688 withval
=$with_krb5_include_dir;
17689 if test "x$withval" != "xno" ; then
17690 CPPFLAGS
="$CPPFLAGS -I$withval"
17697 # Check whether --with-krb5-lib-dir was given.
17698 if test "${with_krb5_lib_dir+set}" = set; then :
17699 withval
=$with_krb5_lib_dir;
17700 if test "x$withval" != "xno" ; then
17701 LDFLAGS
="$LDFLAGS -L$withval"
17709 # Check whether --with-ldap was given.
17710 if test "${with_ldap+set}" = set; then :
17711 withval
=$with_ldap; with_ldap
=$withval
17715 if test "x$with_ldap" = "xno" ; then
17717 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding LDAP Support" >&5
17718 $as_echo "$as_me: Excluding LDAP Support" >&6;}
17723 alpine_LDAPDIR
="/usr/local"
17724 alpine_LDAPINCLUDE
="${alpine_LDAPDIR}/include"
17725 alpine_LDAPLIB
="${alpine_LDAPDIR}/lib"
17729 alpine_with_ldap
=yes
17732 # Check whether --with-ldap-dir was given.
17733 if test "${with_ldap_dir+set}" = set; then :
17734 withval
=$with_ldap_dir;
17735 if test "x$withval" != "xno" ; then
17736 alpine_LDAPDIR
="${withval}"
17737 alpine_LDAPINCLUDE
="${alpine_LDAPDIR}/include"
17738 alpine_LDAPLIB
="${alpine_LDAPDIR}/lib"
17745 # Check whether --with-ldap-include-dir was given.
17746 if test "${with_ldap_include_dir+set}" = set; then :
17747 withval
=$with_ldap_include_dir;
17748 if test "x$withval" != "xno" ; then
17749 alpine_LDAPINCLUDE
="$withval"
17756 # Check whether --with-ldap-lib-dir was given.
17757 if test "${with_ldap_lib_dir+set}" = set; then :
17758 withval
=$with_ldap_lib_dir;
17759 if test "x$withval" != "xno" ; then
17760 alpine_LDAPLIB
="${withval}"
17766 if test -n "$alpine_LDAPINCLUDE" ; then
17767 CPPFLAGS
="$CPPFLAGS -I${alpine_LDAPINCLUDE}/include"
17769 if test -n "$alpine_LDAPLIB" ; then
17770 LDFLAGS
="$LDFLAGS -L${alpine_LDAPLIB}/lib"
17775 # Check whether --with-smime was given.
17776 if test "${with_smime+set}" = set; then :
17777 withval
=$with_smime; with_smime
=$withval
17782 # Check whether --with-tcl was given.
17783 if test "${with_tcl+set}" = set; then :
17784 withval
=$with_tcl; with_tcl
=$withval
17788 if test "x$with_tcl" = "xno" ; then
17790 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding TCL Support, and thus Web Alpine Support" >&5
17791 $as_echo "$as_me: Excluding TCL Support, and thus Web Alpine Support" >&6;}
17794 # Check whether --with-tcl-lib-dir was given.
17795 if test "${with_tcl_lib_dir+set}" = set; then :
17796 withval
=$with_tcl_lib_dir;
17797 if test "x$withval" != "xno" ; then
17798 alpine_TCLLIBDIR
=$withval
17799 if test -n "$alpine_TCLLIBDIR" ; then
17800 LDFLAGS
="-L$alpine_TCLLIBDIR $LDFLAGS"
17807 # Check whether --with-tcl-lib was given.
17808 if test "${with_tcl_lib+set}" = set; then :
17809 withval
=$with_tcl_lib;
17810 if test "x$withval" != "xno" ; then
17811 alpine_TCLLIB
=$withval
17817 # Check whether --with-tcl-include was given.
17818 if test "${with_tcl_include+set}" = set; then :
17819 withval
=$with_tcl_include;
17820 if test "x$withval" != "xno" ; then
17821 CPPFLAGS
="$CPPFLAGS -I$withval"
17822 alpine_TCLINC
=$withval
17830 # Check whether --with-supplied-regex was given.
17831 if test "${with_supplied_regex+set}" = set; then :
17832 withval
=$with_supplied_regex; alpine_REGEX
=$withval
17837 # Check whether --with-pthread was given.
17838 if test "${with_pthread+set}" = set; then :
17839 withval
=$with_pthread; with_pthread
=$withval
17844 # Check whether --with-system-mail-directory was given.
17845 if test "${with_system_mail_directory+set}" = set; then :
17846 withval
=$with_system_mail_directory;
17847 if test "x$withval" != "xno" ; then
17848 alpine_with_local_maildir
="$withval"
17855 # Check whether --with-c-client-target was given.
17856 if test "${with_c_client_target+set}" = set; then :
17857 withval
=$with_c_client_target;
17858 if test "x$withval" != "xno" ;then
17859 alpine_with_c_client_target
="$withval"
17869 *-linux-gnu*|
*-k*bsd
*-gnu*|
*-gnu*)
17870 alpine_path_delim
="/"
17871 alpine_mode_readonly
="(0600)"
17872 if test -f /etc
/fedora-release
; then
17875 if test -d /etc
/pki
/tls
; then
17876 alpine_c_client_target
="lfd"
17878 alpine_c_client_target
="lrh"
17880 elif test -f /etc
/mandrake-release
; then
17882 alpine_c_client_target
="lmd"
17884 elif test -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
17887 if test -d /etc
/pki
/tls
; then
17888 alpine_c_client_target
="lr5"
17890 alpine_c_client_target
="lrh"
17892 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
17893 if test -d /etc
/osso-af-init
; then
17895 alpine_c_client_target
="ln8"
17898 alpine_c_client_target
="ldb"
17901 elif test -f /etc
/SuSE-release
; then
17903 alpine_c_client_target
="lsu"
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
17908 $as_echo_n "checking for pam_start in -lpam... " >&6; }
17909 if ${ac_cv_lib_pam_pam_start+:} false
; then :
17910 $as_echo_n "(cached) " >&6
17912 ac_check_lib_save_LIBS
=$LIBS
17914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17915 /* end confdefs.h. */
17917 /* Override any GCC internal prototype to avoid an error.
17918 Use char because int might match the return type of a GCC
17919 builtin and then its argument prototype would still apply. */
17927 return pam_start ();
17932 if ac_fn_c_try_link
"$LINENO"; then :
17933 ac_cv_lib_pam_pam_start
=yes
17935 ac_cv_lib_pam_pam_start
=no
17937 rm -f core conftest.err conftest.
$ac_objext \
17938 conftest
$ac_exeext conftest.
$ac_ext
17939 LIBS
=$ac_check_lib_save_LIBS
17941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
17942 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
17943 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
17945 alpine_c_client_target
="lnp"
17950 if test -f /etc
/shadow
; then
17951 alpine_c_client_target
="slx"
17953 alpine_c_client_target
="lnx"
17962 alpine_path_delim
="/"
17963 alpine_mode_readonly
="(0600)"
17964 LIBS
="$LIBS -framework Carbon -framework ApplicationServices -framework Security"
17965 AM_CFLAGS
="$AM_CFLAGS -Dbsd"
17967 $as_echo "#define OSX_TARGET 1" >>confdefs.h
17969 case "$alpine_os_credential_cache" in
17974 $as_echo "#define APPLEKEYCHAIN 1" >>confdefs.h
17978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
17979 $as_echo_n "checking for pam_start in -lpam... " >&6; }
17980 if ${ac_cv_lib_pam_pam_start+:} false
; then :
17981 $as_echo_n "(cached) " >&6
17983 ac_check_lib_save_LIBS
=$LIBS
17985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17986 /* end confdefs.h. */
17988 /* Override any GCC internal prototype to avoid an error.
17989 Use char because int might match the return type of a GCC
17990 builtin and then its argument prototype would still apply. */
17998 return pam_start ();
18003 if ac_fn_c_try_link
"$LINENO"; then :
18004 ac_cv_lib_pam_pam_start
=yes
18006 ac_cv_lib_pam_pam_start
=no
18008 rm -f core conftest.err conftest.
$ac_objext \
18009 conftest
$ac_exeext conftest.
$ac_ext
18010 LIBS
=$ac_check_lib_save_LIBS
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
18013 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
18014 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
18016 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
18017 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
18020 alpine_c_client_target
="oxs"
18023 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
18024 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
18027 alpine_c_client_target
="oxp"
18032 alpine_pam_none_reason
="header files not found"
18044 alpine_c_client_target
="osx"
18050 if test x
$GCC = "xyes" ; then
18052 alpine_c_client_target
="gso"
18053 CFLAGS
="$CFLAGS -D__USE_LEGACY_PROTOTYPES__"
18056 alpine_c_client_target
="soc"
18058 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
18061 alpine_path_delim
="/"
18062 alpine_mode_readonly
="(0600)"
18066 alpine_path_delim
="/"
18067 alpine_mode_readonly
="(0600)"
18068 alpine_c_client_target
="s40"
18071 if test x
$GCC = "xyes" ; then
18073 alpine_c_client_target
="go5"
18076 alpine_c_client_target
="sc5"
18078 alpine_path_delim
="/"
18079 alpine_mode_readonly
="(0600)"
18083 alpine_path_delim
="/"
18084 alpine_mode_readonly
="(0600)"
18085 alpine_c_client_target
="nx3"
18089 alpine_path_delim
="/"
18090 alpine_mode_readonly
="(0600)"
18091 alpine_c_client_target
="neb"
18095 alpine_path_delim
="/"
18096 alpine_mode_readonly
="(0600)"
18097 alpine_c_client_target
="neb"
18101 alpine_path_delim
="/"
18102 alpine_mode_readonly
="(0600)"
18103 alpine_c_client_target
="bsi"
18107 alpine_path_delim
="/"
18108 alpine_mode_readonly
="(0600)"
18109 alpine_c_client_target
="bsf"
18110 LIBS
="$LIBS $LIBINTL"
18114 alpine_path_delim
="/"
18115 alpine_mode_readonly
="(0600)"
18116 alpine_c_client_target
="bso"
18117 LIBS
="$LIBS $LIBINTL"
18121 alpine_path_delim
="/"
18122 alpine_mode_readonly
="(0600)"
18123 alpine_c_client_target
="a52"
18127 alpine_path_delim
="/"
18128 alpine_mode_readonly
="(0600)"
18129 alpine_c_client_target
="a41"
18133 alpine_path_delim
="/"
18134 alpine_mode_readonly
="(0600)"
18135 alpine_c_client_target
="a32"
18137 *-*UNIX_SV |
*-*-sysv5UnixWare7* |
*-*OpenUNIX
*)
18139 alpine_path_delim
="/"
18140 alpine_mode_readonly
="(0600)"
18141 alpine_c_client_target
="uw2"
18145 alpine_path_delim
="/"
18146 alpine_mode_readonly
="(0600)"
18147 alpine_c_client_target
="osf"
18151 alpine_path_delim
="/"
18152 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
18153 alpine_c_client_target
="cyg"
18154 LIBS
="$LIBS $LIBINTL"
18156 windows
* |
*-*-pw32*)
18158 alpine_path_delim
="\\"
18159 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
18160 alpine_c_client_target
="wnt"
18162 $as_echo "#define _WINDOWS 1" >>confdefs.h
18166 as_fn_error $?
"Unrecognized system: $host" "$LINENO" 5
18171 # Check whether --with-ipv6 was given.
18172 if test "${with_ipv6+set}" = set; then :
18173 withval
=$with_ipv6; with_ipv6
=$withval
18177 if test "x$with_ipv6" = "xno" ; then
18178 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding IPv6 Support" >&5
18179 $as_echo "$as_me: Excluding IPv6 Support" >&6;}
18180 c_client_specials
="${c_client_specials}IP6=4 "
18181 c_client_ip6
="true"
18183 c_client_ip6
="touch imap/ip6"
18188 if test x
$enable_dmalloc = "xyes" ; then
18189 if test "x$with_pthread" = "xyes" ; then
18190 dmalloc_lib
=dmallocth
18192 dmalloc_lib
=dmalloc
18195 as_ac_Lib
=`$as_echo "ac_cv_lib_$dmalloc_lib''_dmalloc_shutdown" | $as_tr_sh`
18196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmalloc_shutdown in -l$dmalloc_lib" >&5
18197 $as_echo_n "checking for dmalloc_shutdown in -l$dmalloc_lib... " >&6; }
18198 if eval \
${$as_ac_Lib+:} false
; then :
18199 $as_echo_n "(cached) " >&6
18201 ac_check_lib_save_LIBS
=$LIBS
18202 LIBS
="-l$dmalloc_lib $LIBS"
18203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18204 /* end confdefs.h. */
18206 /* Override any GCC internal prototype to avoid an error.
18207 Use char because int might match the return type of a GCC
18208 builtin and then its argument prototype would still apply. */
18212 char dmalloc_shutdown ();
18216 return dmalloc_shutdown ();
18221 if ac_fn_c_try_link
"$LINENO"; then :
18222 eval "$as_ac_Lib=yes"
18224 eval "$as_ac_Lib=no"
18226 rm -f core conftest.err conftest.
$ac_objext \
18227 conftest
$ac_exeext conftest.
$ac_ext
18228 LIBS
=$ac_check_lib_save_LIBS
18230 eval ac_res
=\$
$as_ac_Lib
18231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
18232 $as_echo "$ac_res" >&6; }
18233 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
18234 cat >>confdefs.h
<<_ACEOF
18235 #define `$as_echo "HAVE_LIB$dmalloc_lib" | $as_tr_cpp` 1
18238 LIBS
="-l$dmalloc_lib $LIBS"
18242 as_fn_error but
-ldmalloc not found
"$dmalloc_lib requested" "$LINENO" 5
18248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -ltinfo" >&5
18249 $as_echo_n "checking for setupterm in -ltinfo... " >&6; }
18250 if ${ac_cv_lib_tinfo_setupterm+:} false
; then :
18251 $as_echo_n "(cached) " >&6
18253 ac_check_lib_save_LIBS
=$LIBS
18254 LIBS
="-ltinfo $LIBS"
18255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18256 /* end confdefs.h. */
18258 /* Override any GCC internal prototype to avoid an error.
18259 Use char because int might match the return type of a GCC
18260 builtin and then its argument prototype would still apply. */
18268 return setupterm ();
18273 if ac_fn_c_try_link
"$LINENO"; then :
18274 ac_cv_lib_tinfo_setupterm
=yes
18276 ac_cv_lib_tinfo_setupterm
=no
18278 rm -f core conftest.err conftest.
$ac_objext \
18279 conftest
$ac_exeext conftest.
$ac_ext
18280 LIBS
=$ac_check_lib_save_LIBS
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_setupterm" >&5
18283 $as_echo "$ac_cv_lib_tinfo_setupterm" >&6; }
18284 if test "x$ac_cv_lib_tinfo_setupterm" = xyes
; then :
18286 alpine_termdata
=info
18287 LIBS
="$LIBS -ltinfo"
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncurses" >&5
18292 $as_echo_n "checking for setupterm in -lncurses... " >&6; }
18293 if ${ac_cv_lib_ncurses_setupterm+:} false
; then :
18294 $as_echo_n "(cached) " >&6
18296 ac_check_lib_save_LIBS
=$LIBS
18297 LIBS
="-lncurses $LIBS"
18298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18299 /* end confdefs.h. */
18301 /* Override any GCC internal prototype to avoid an error.
18302 Use char because int might match the return type of a GCC
18303 builtin and then its argument prototype would still apply. */
18311 return setupterm ();
18316 if ac_fn_c_try_link
"$LINENO"; then :
18317 ac_cv_lib_ncurses_setupterm
=yes
18319 ac_cv_lib_ncurses_setupterm
=no
18321 rm -f core conftest.err conftest.
$ac_objext \
18322 conftest
$ac_exeext conftest.
$ac_ext
18323 LIBS
=$ac_check_lib_save_LIBS
18325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_setupterm" >&5
18326 $as_echo "$ac_cv_lib_ncurses_setupterm" >&6; }
18327 if test "x$ac_cv_lib_ncurses_setupterm" = xyes
; then :
18329 alpine_termdata
=info
18330 LIBS
="$LIBS -lncurses"
18334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5
18335 $as_echo_n "checking for setupterm in -lcurses... " >&6; }
18336 if ${ac_cv_lib_curses_setupterm+:} false
; then :
18337 $as_echo_n "(cached) " >&6
18339 ac_check_lib_save_LIBS
=$LIBS
18340 LIBS
="-lcurses $LIBS"
18341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18342 /* end confdefs.h. */
18344 /* Override any GCC internal prototype to avoid an error.
18345 Use char because int might match the return type of a GCC
18346 builtin and then its argument prototype would still apply. */
18354 return setupterm ();
18359 if ac_fn_c_try_link
"$LINENO"; then :
18360 ac_cv_lib_curses_setupterm
=yes
18362 ac_cv_lib_curses_setupterm
=no
18364 rm -f core conftest.err conftest.
$ac_objext \
18365 conftest
$ac_exeext conftest.
$ac_ext
18366 LIBS
=$ac_check_lib_save_LIBS
18368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_setupterm" >&5
18369 $as_echo "$ac_cv_lib_curses_setupterm" >&6; }
18370 if test "x$ac_cv_lib_curses_setupterm" = xyes
; then :
18372 alpine_termdata
=info
18373 LIBS
="$LIBS -lcurses"
18377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermlib" >&5
18378 $as_echo_n "checking for tgetent in -ltermlib... " >&6; }
18379 if ${ac_cv_lib_termlib_tgetent+:} false
; then :
18380 $as_echo_n "(cached) " >&6
18382 ac_check_lib_save_LIBS
=$LIBS
18383 LIBS
="-ltermlib $LIBS"
18384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18385 /* end confdefs.h. */
18387 /* Override any GCC internal prototype to avoid an error.
18388 Use char because int might match the return type of a GCC
18389 builtin and then its argument prototype would still apply. */
18402 if ac_fn_c_try_link
"$LINENO"; then :
18403 ac_cv_lib_termlib_tgetent
=yes
18405 ac_cv_lib_termlib_tgetent
=no
18407 rm -f core conftest.err conftest.
$ac_objext \
18408 conftest
$ac_exeext conftest.
$ac_ext
18409 LIBS
=$ac_check_lib_save_LIBS
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termlib_tgetent" >&5
18412 $as_echo "$ac_cv_lib_termlib_tgetent" >&6; }
18413 if test "x$ac_cv_lib_termlib_tgetent" = xyes
; then :
18415 alpine_termdata
=cap
18416 LIBS
="$LIBS -ltermlib"
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
18421 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
18422 if ${ac_cv_lib_termcap_tgetent+:} false
; then :
18423 $as_echo_n "(cached) " >&6
18425 ac_check_lib_save_LIBS
=$LIBS
18426 LIBS
="-ltermcap $LIBS"
18427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18428 /* end confdefs.h. */
18430 /* Override any GCC internal prototype to avoid an error.
18431 Use char because int might match the return type of a GCC
18432 builtin and then its argument prototype would still apply. */
18445 if ac_fn_c_try_link
"$LINENO"; then :
18446 ac_cv_lib_termcap_tgetent
=yes
18448 ac_cv_lib_termcap_tgetent
=no
18450 rm -f core conftest.err conftest.
$ac_objext \
18451 conftest
$ac_exeext conftest.
$ac_ext
18452 LIBS
=$ac_check_lib_save_LIBS
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
18455 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
18456 if test "x$ac_cv_lib_termcap_tgetent" = xyes
; then :
18458 alpine_termdata
=cap
18459 LIBS
="$LIBS -ltermcap"
18463 as_fn_error $?
"Terminfo/termcap not found" "$LINENO" 5
18479 case $alpine_termdata in
18482 $as_echo "#define HAS_TERMINFO 1" >>confdefs.h
18487 $as_echo "#define HAS_TERMCAP 1" >>confdefs.h
18492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
18493 $as_echo_n "checking for library containing dlopen... " >&6; }
18494 if ${ac_cv_search_dlopen+:} false
; then :
18495 $as_echo_n "(cached) " >&6
18497 ac_func_search_save_LIBS
=$LIBS
18498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18499 /* end confdefs.h. */
18501 /* Override any GCC internal prototype to avoid an error.
18502 Use char because int might match the return type of a GCC
18503 builtin and then its argument prototype would still apply. */
18516 for ac_lib
in '' dl dld
; do
18517 if test -z "$ac_lib"; then
18518 ac_res
="none required"
18521 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18523 if ac_fn_c_try_link
"$LINENO"; then :
18524 ac_cv_search_dlopen
=$ac_res
18526 rm -f core conftest.err conftest.
$ac_objext \
18528 if ${ac_cv_search_dlopen+:} false
; then :
18532 if ${ac_cv_search_dlopen+:} false
; then :
18535 ac_cv_search_dlopen
=no
18537 rm conftest.
$ac_ext
18538 LIBS
=$ac_func_search_save_LIBS
18540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
18541 $as_echo "$ac_cv_search_dlopen" >&6; }
18542 ac_res
=$ac_cv_search_dlopen
18543 if test "$ac_res" != no
; then :
18544 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18550 if test "x$alpine_DL" = "xnone" ; then
18551 as_fn_error $?
"No library containing dlopen found" "$LINENO" 5
18555 if test "x$alpine_SSLTYPE" != "xnone" ; then
18556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OpenSSL is LibreSSL" >&5
18557 $as_echo_n "checking if OpenSSL is LibreSSL... " >&6; }
18558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18559 /* end confdefs.h. */
18562 #include <stdlib.h>
18564 #include <stdint.h>
18565 #endif /* HAVE_STDINT_H */
18566 #include <openssl/ssl.h>
18572 #if OPENSSL_VERSION_NUMBER != 0x20000000L
18580 if ac_fn_c_try_compile
"$LINENO"; then :
18581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18582 $as_echo "yes" >&6; }
18583 alpine_SSLPROVIDER
="libressl"
18586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18587 $as_echo "no" >&6; }
18590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18593 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
18594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.0.0c" >&5
18595 $as_echo_n "checking Openssl library version >= 1.0.0c... " >&6; }
18596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18597 /* end confdefs.h. */
18600 #include <stdlib.h>
18602 #include <stdint.h>
18603 #endif /* HAVE_STDINT_H */
18604 #include <openssl/ssl.h>
18610 #if OPENSSL_VERSION_NUMBER < 0x1000003fL
18618 if ac_fn_c_try_compile
"$LINENO"; then :
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18620 $as_echo "yes" >&6; }
18621 alpine_SSLPROVIDER
="openssl"
18624 alpine_SSLTYPE
="none"
18626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18628 if test "x$alpine_SSLTYPE" = "xnone" ; then
18629 as_fn_error $?
"Install openssl version >= 1.0.0c" "$LINENO" 5
18634 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
18635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.1.0" >&5
18636 $as_echo_n "checking Openssl library version >= 1.1.0... " >&6; }
18637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18638 /* end confdefs.h. */
18641 #include <stdlib.h>
18643 #include <stdint.h>
18644 #endif /* HAVE_STDINT_H */
18645 #include <openssl/ssl.h>
18651 #if OPENSSL_VERSION_NUMBER < 0x10100000L
18659 if ac_fn_c_try_compile
"$LINENO"; then :
18660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18661 $as_echo "yes" >&6; }
18662 alpine_SSLVERSION
="new"
18663 CFLAGS
="$CFLAGS -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L"
18666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18667 $as_echo "no" >&6; }
18668 alpine_SSLVERSION
="old"
18670 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18673 if test "x$alpine_SSLTYPE" != "xnone" ; then
18674 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
18675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSLeay" >&5
18676 $as_echo_n "checking for library containing SSLeay... " >&6; }
18677 if ${ac_cv_search_SSLeay+:} false
; then :
18678 $as_echo_n "(cached) " >&6
18680 ac_func_search_save_LIBS
=$LIBS
18681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18682 /* end confdefs.h. */
18684 /* Override any GCC internal prototype to avoid an error.
18685 Use char because int might match the return type of a GCC
18686 builtin and then its argument prototype would still apply. */
18699 for ac_lib
in '' crypto
; do
18700 if test -z "$ac_lib"; then
18701 ac_res
="none required"
18704 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18706 if ac_fn_c_try_link
"$LINENO"; then :
18707 ac_cv_search_SSLeay
=$ac_res
18709 rm -f core conftest.err conftest.
$ac_objext \
18711 if ${ac_cv_search_SSLeay+:} false
; then :
18715 if ${ac_cv_search_SSLeay+:} false
; then :
18718 ac_cv_search_SSLeay
=no
18720 rm conftest.
$ac_ext
18721 LIBS
=$ac_func_search_save_LIBS
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSLeay" >&5
18724 $as_echo "$ac_cv_search_SSLeay" >&6; }
18725 ac_res
=$ac_cv_search_SSLeay
18726 if test "$ac_res" != no
; then :
18727 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18730 alpine_CRYPTO
="none"
18734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OpenSSL_version_num" >&5
18735 $as_echo_n "checking for library containing OpenSSL_version_num... " >&6; }
18736 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
18737 $as_echo_n "(cached) " >&6
18739 ac_func_search_save_LIBS
=$LIBS
18740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18741 /* end confdefs.h. */
18743 /* Override any GCC internal prototype to avoid an error.
18744 Use char because int might match the return type of a GCC
18745 builtin and then its argument prototype would still apply. */
18749 char OpenSSL_version_num ();
18753 return OpenSSL_version_num ();
18758 for ac_lib
in '' crypto
; do
18759 if test -z "$ac_lib"; then
18760 ac_res
="none required"
18763 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18765 if ac_fn_c_try_link
"$LINENO"; then :
18766 ac_cv_search_OpenSSL_version_num
=$ac_res
18768 rm -f core conftest.err conftest.
$ac_objext \
18770 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
18774 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
18777 ac_cv_search_OpenSSL_version_num
=no
18779 rm conftest.
$ac_ext
18780 LIBS
=$ac_func_search_save_LIBS
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OpenSSL_version_num" >&5
18783 $as_echo "$ac_cv_search_OpenSSL_version_num" >&6; }
18784 ac_res
=$ac_cv_search_OpenSSL_version_num
18785 if test "$ac_res" != no
; then :
18786 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18789 alpine_CRYPTO
="none"
18793 if test "x$alpine_CRYPTO" = "xnone" ; then
18794 as_fn_error $?
"crypto library NOT found" "$LINENO" 5
18799 ac_fn_c_check_header_mongrel
"$LINENO" "crypto.h" "ac_cv_header_crypto_h" "$ac_includes_default"
18800 if test "x$ac_cv_header_crypto_h" = xyes
; then :
18803 alpine_CRYPTO_DEVEL
="none"
18807 if test "x$alpine_CRYPTO_DEVEL" = "xnone" ; then
18808 as_fn_error $?
"crypto library file crypto.h NOT found. Install correspoding libcrypt-devel package" "$LINENO" 5
18816 if test "x$alpine_SSLTYPE" != "xnone" ; then
18817 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
18818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_library_init" >&5
18819 $as_echo_n "checking for library containing SSL_library_init... " >&6; }
18820 if ${ac_cv_search_SSL_library_init+:} false
; then :
18821 $as_echo_n "(cached) " >&6
18823 ac_func_search_save_LIBS
=$LIBS
18824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18825 /* end confdefs.h. */
18827 /* Override any GCC internal prototype to avoid an error.
18828 Use char because int might match the return type of a GCC
18829 builtin and then its argument prototype would still apply. */
18833 char SSL_library_init ();
18837 return SSL_library_init ();
18842 for ac_lib
in '' ssl
; do
18843 if test -z "$ac_lib"; then
18844 ac_res
="none required"
18847 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18849 if ac_fn_c_try_link
"$LINENO"; then :
18850 ac_cv_search_SSL_library_init
=$ac_res
18852 rm -f core conftest.err conftest.
$ac_objext \
18854 if ${ac_cv_search_SSL_library_init+:} false
; then :
18858 if ${ac_cv_search_SSL_library_init+:} false
; then :
18861 ac_cv_search_SSL_library_init
=no
18863 rm conftest.
$ac_ext
18864 LIBS
=$ac_func_search_save_LIBS
18866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_library_init" >&5
18867 $as_echo "$ac_cv_search_SSL_library_init" >&6; }
18868 ac_res
=$ac_cv_search_SSL_library_init
18869 if test "$ac_res" != no
; then :
18870 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18873 alpine_SSLTYPE
="none"
18876 if test "x$alpine_SSLTYPE" = "xnone" ; then
18877 as_fn_error $?
"No library containing SSL_library_init found in your path" "$LINENO" 5
18881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OPENSSL_init_ssl" >&5
18882 $as_echo_n "checking for library containing OPENSSL_init_ssl... " >&6; }
18883 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18884 $as_echo_n "(cached) " >&6
18886 ac_func_search_save_LIBS
=$LIBS
18887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18888 /* end confdefs.h. */
18890 /* Override any GCC internal prototype to avoid an error.
18891 Use char because int might match the return type of a GCC
18892 builtin and then its argument prototype would still apply. */
18896 char OPENSSL_init_ssl ();
18900 return OPENSSL_init_ssl ();
18905 for ac_lib
in '' ssl
; do
18906 if test -z "$ac_lib"; then
18907 ac_res
="none required"
18910 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18912 if ac_fn_c_try_link
"$LINENO"; then :
18913 ac_cv_search_OPENSSL_init_ssl
=$ac_res
18915 rm -f core conftest.err conftest.
$ac_objext \
18917 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18921 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18924 ac_cv_search_OPENSSL_init_ssl
=no
18926 rm conftest.
$ac_ext
18927 LIBS
=$ac_func_search_save_LIBS
18929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OPENSSL_init_ssl" >&5
18930 $as_echo "$ac_cv_search_OPENSSL_init_ssl" >&6; }
18931 ac_res
=$ac_cv_search_OPENSSL_init_ssl
18932 if test "$ac_res" != no
; then :
18933 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18936 alpine_SSLTYPE
="none"
18939 if test "x$aalpiLlpine_SSLTYPE" = "xnone" ; then
18940 as_fn_error $?
"No library containing OPENSSL_init_ssl found in your path" "$LINENO" 5
18946 if test "$alpine_with_ldap" = "yes" ; then
18948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_alloc in -llber" >&5
18949 $as_echo_n "checking for ber_alloc in -llber... " >&6; }
18950 if ${ac_cv_lib_lber_ber_alloc+:} false
; then :
18951 $as_echo_n "(cached) " >&6
18953 ac_check_lib_save_LIBS
=$LIBS
18954 LIBS
="-llber $LIBS"
18955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18956 /* end confdefs.h. */
18958 /* Override any GCC internal prototype to avoid an error.
18959 Use char because int might match the return type of a GCC
18960 builtin and then its argument prototype would still apply. */
18968 return ber_alloc ();
18973 if ac_fn_c_try_link
"$LINENO"; then :
18974 ac_cv_lib_lber_ber_alloc
=yes
18976 ac_cv_lib_lber_ber_alloc
=no
18978 rm -f core conftest.err conftest.
$ac_objext \
18979 conftest
$ac_exeext conftest.
$ac_ext
18980 LIBS
=$ac_check_lib_save_LIBS
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_alloc" >&5
18983 $as_echo "$ac_cv_lib_lber_ber_alloc" >&6; }
18984 if test "x$ac_cv_lib_lber_ber_alloc" = xyes
; then :
18986 LIBS
="$LIBS -llber"
18990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_initialize" >&5
18991 $as_echo_n "checking for library containing ldap_initialize... " >&6; }
18992 if ${ac_cv_search_ldap_initialize+:} false
; then :
18993 $as_echo_n "(cached) " >&6
18995 ac_func_search_save_LIBS
=$LIBS
18996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18997 /* end confdefs.h. */
18999 /* Override any GCC internal prototype to avoid an error.
19000 Use char because int might match the return type of a GCC
19001 builtin and then its argument prototype would still apply. */
19005 char ldap_initialize ();
19009 return ldap_initialize ();
19014 for ac_lib
in '' ldap
; do
19015 if test -z "$ac_lib"; then
19016 ac_res
="none required"
19019 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19021 if ac_fn_c_try_link
"$LINENO"; then :
19022 ac_cv_search_ldap_initialize
=$ac_res
19024 rm -f core conftest.err conftest.
$ac_objext \
19026 if ${ac_cv_search_ldap_initialize+:} false
; then :
19030 if ${ac_cv_search_ldap_initialize+:} false
; then :
19033 ac_cv_search_ldap_initialize
=no
19035 rm conftest.
$ac_ext
19036 LIBS
=$ac_func_search_save_LIBS
19038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_initialize" >&5
19039 $as_echo "$ac_cv_search_ldap_initialize" >&6; }
19040 ac_res
=$ac_cv_search_ldap_initialize
19041 if test "$ac_res" != no
; then :
19042 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19044 alpine_has_ldap
=yes
19048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_open" >&5
19049 $as_echo_n "checking for library containing ldap_open... " >&6; }
19050 if ${ac_cv_search_ldap_open+:} false
; then :
19051 $as_echo_n "(cached) " >&6
19053 ac_func_search_save_LIBS
=$LIBS
19054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19055 /* end confdefs.h. */
19057 /* Override any GCC internal prototype to avoid an error.
19058 Use char because int might match the return type of a GCC
19059 builtin and then its argument prototype would still apply. */
19067 return ldap_open ();
19072 for ac_lib
in '' ldap
; do
19073 if test -z "$ac_lib"; then
19074 ac_res
="none required"
19077 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19079 if ac_fn_c_try_link
"$LINENO"; then :
19080 ac_cv_search_ldap_open
=$ac_res
19082 rm -f core conftest.err conftest.
$ac_objext \
19084 if ${ac_cv_search_ldap_open+:} false
; then :
19088 if ${ac_cv_search_ldap_open+:} false
; then :
19091 ac_cv_search_ldap_open
=no
19093 rm conftest.
$ac_ext
19094 LIBS
=$ac_func_search_save_LIBS
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_open" >&5
19097 $as_echo "$ac_cv_search_ldap_open" >&6; }
19098 ac_res
=$ac_cv_search_ldap_open
19099 if test "$ac_res" != no
; then :
19100 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19102 alpine_has_ldap
=yes
19110 if test "$alpine_has_ldap" = "yes" ; then
19111 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including LDAP Support" >&5
19112 $as_echo "$as_me: * * * Including LDAP Support" >&6;}
19114 $as_echo "#define ENABLE_LDAP /**/" >>confdefs.h
19119 if test "x$alpine_PAM" != "xnone" ; then
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pam_start" >&5
19121 $as_echo_n "checking for library containing pam_start... " >&6; }
19122 if ${ac_cv_search_pam_start+:} false
; then :
19123 $as_echo_n "(cached) " >&6
19125 ac_func_search_save_LIBS
=$LIBS
19126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19127 /* end confdefs.h. */
19129 /* Override any GCC internal prototype to avoid an error.
19130 Use char because int might match the return type of a GCC
19131 builtin and then its argument prototype would still apply. */
19139 return pam_start ();
19144 for ac_lib
in '' pam
; do
19145 if test -z "$ac_lib"; then
19146 ac_res
="none required"
19149 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19151 if ac_fn_c_try_link
"$LINENO"; then :
19152 ac_cv_search_pam_start
=$ac_res
19154 rm -f core conftest.err conftest.
$ac_objext \
19156 if ${ac_cv_search_pam_start+:} false
; then :
19160 if ${ac_cv_search_pam_start+:} false
; then :
19163 ac_cv_search_pam_start
=no
19165 rm conftest.
$ac_ext
19166 LIBS
=$ac_func_search_save_LIBS
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
19169 $as_echo "$ac_cv_search_pam_start" >&6; }
19170 ac_res
=$ac_cv_search_pam_start
19171 if test "$ac_res" != no
; then :
19172 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19175 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
19176 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
19181 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
19182 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
19185 if test "x$alpine_c_client_target" != "xoxp" ; then
19187 alpine_pam_none_reason
="header files not in security/ directory"
19193 alpine_pam_none_reason
="header files not found"
19206 alpine_pam_none_reason
="library files not found"
19210 if test -n "$alpine_pam_none_reason" ; then
19211 as_fn_error $?
"No PAM support: $alpine_pam_none_reason" "$LINENO" 5
19216 if test "x$alpine_GSSTYPE" != "xnone" ; then
19217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
19218 $as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
19219 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19220 $as_echo_n "(cached) " >&6
19222 ac_func_search_save_LIBS
=$LIBS
19223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19224 /* end confdefs.h. */
19226 /* Override any GCC internal prototype to avoid an error.
19227 Use char because int might match the return type of a GCC
19228 builtin and then its argument prototype would still apply. */
19232 char gss_init_sec_context ();
19236 return gss_init_sec_context ();
19241 for ac_lib
in '' gss gssapi gssapi_krb5
; do
19242 if test -z "$ac_lib"; then
19243 ac_res
="none required"
19246 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19248 if ac_fn_c_try_link
"$LINENO"; then :
19249 ac_cv_search_gss_init_sec_context
=$ac_res
19251 rm -f core conftest.err conftest.
$ac_objext \
19253 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19257 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
19260 ac_cv_search_gss_init_sec_context
=no
19262 rm conftest.
$ac_ext
19263 LIBS
=$ac_func_search_save_LIBS
19265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
19266 $as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
19267 ac_res
=$ac_cv_search_gss_init_sec_context
19268 if test "$ac_res" != no
; then :
19269 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19271 LIBS
="$LIBS -lkrb5"
19272 ac_fn_c_check_header_mongrel
"$LINENO" "gssapi/gssapi_generic.h" "ac_cv_header_gssapi_gssapi_generic_h" "$ac_includes_default"
19273 if test "x$ac_cv_header_gssapi_gssapi_generic_h" = xyes
; then :
19277 if test ! -d /usr
/kerberos
/include
; then
19278 alpine_GSSTYPE
="none"
19279 alpine_gss_none_reason
="header files not found"
19288 alpine_GSSTYPE
="none"
19289 alpine_gss_none_reason
="libraries not found"
19293 if test -n "$alpine_gss_none_reason" ; then
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including Kerberos Support: $alpine_gss_none_reason" >&5
19295 $as_echo "$as_me: NOT including Kerberos Support: $alpine_gss_none_reason" >&6;}
19300 # Check whether --with-ntlm was given.
19301 if test "${with_ntlm+set}" = set; then :
19302 withval
=$with_ntlm; with_ntlm
=$withval
19306 if test "x$with_ntlm" = "xno" ; then
19311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing buildSmbNtlmAuthRequest" >&5
19312 $as_echo_n "checking for library containing buildSmbNtlmAuthRequest... " >&6; }
19313 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
19314 $as_echo_n "(cached) " >&6
19316 ac_func_search_save_LIBS
=$LIBS
19317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19318 /* end confdefs.h. */
19320 /* Override any GCC internal prototype to avoid an error.
19321 Use char because int might match the return type of a GCC
19322 builtin and then its argument prototype would still apply. */
19326 char buildSmbNtlmAuthRequest ();
19330 return buildSmbNtlmAuthRequest ();
19335 for ac_lib
in '' ntlm
; do
19336 if test -z "$ac_lib"; then
19337 ac_res
="none required"
19340 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19342 if ac_fn_c_try_link
"$LINENO"; then :
19343 ac_cv_search_buildSmbNtlmAuthRequest
=$ac_res
19345 rm -f core conftest.err conftest.
$ac_objext \
19347 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
19351 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
19354 ac_cv_search_buildSmbNtlmAuthRequest
=no
19356 rm conftest.
$ac_ext
19357 LIBS
=$ac_func_search_save_LIBS
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_buildSmbNtlmAuthRequest" >&5
19360 $as_echo "$ac_cv_search_buildSmbNtlmAuthRequest" >&6; }
19361 ac_res
=$ac_cv_search_buildSmbNtlmAuthRequest
19362 if test "$ac_res" != no
; then :
19363 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19365 ac_fn_c_check_header_mongrel
"$LINENO" "ntlm.h" "ac_cv_header_ntlm_h" "$ac_includes_default"
19366 if test "x$ac_cv_header_ntlm_h" = xyes
; then :
19368 extra_auth_ntlm
=ntl
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: including NTLM support" >&5
19370 $as_echo "$as_me: including NTLM support" >&6;}
19375 alpine_ntlm_none_reason
="header file ntlm.h not found"
19384 alpine_ntlm_none_reason
="ntlm library not found"
19388 if test -n "$alpine_ntlm_none_reason" ; then
19389 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including NTLM Support: $alpine_ntlm_none_reason" >&5
19390 $as_echo "$as_me: NOT including NTLM Support: $alpine_ntlm_none_reason" >&6;}
19394 if test -n "$WEB_BUILD" ; then
19395 TCL_VERSIONS_DOT
="tcl8.6 tcl8.5 tcl8.4 tcl8.3"
19396 TCL_VERSIONS_NODOT
="`echo ${TCL_VERSIONS_DOT} | ${SED} 's/\.//g'`"
19397 TCL_VERSIONS
="${TCL_VERSIONS_DOT} ${TCL_VERSIONS_NODOT} tcl"
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing Tcl_Eval" >&5
19399 $as_echo_n "checking for library containing Tcl_Eval... " >&6; }
19400 if ${ac_cv_search_Tcl_Eval+:} false
; then :
19401 $as_echo_n "(cached) " >&6
19403 ac_func_search_save_LIBS
=$LIBS
19404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19405 /* end confdefs.h. */
19407 /* Override any GCC internal prototype to avoid an error.
19408 Use char because int might match the return type of a GCC
19409 builtin and then its argument prototype would still apply. */
19417 return Tcl_Eval ();
19422 for ac_lib
in '' $alpine_TCLLIB ${TCL_VERSIONS}; do
19423 if test -z "$ac_lib"; then
19424 ac_res
="none required"
19427 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19429 if ac_fn_c_try_link
"$LINENO"; then :
19430 ac_cv_search_Tcl_Eval
=$ac_res
19432 rm -f core conftest.err conftest.
$ac_objext \
19434 if ${ac_cv_search_Tcl_Eval+:} false
; then :
19438 if ${ac_cv_search_Tcl_Eval+:} false
; then :
19441 ac_cv_search_Tcl_Eval
=no
19443 rm conftest.
$ac_ext
19444 LIBS
=$ac_func_search_save_LIBS
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_Tcl_Eval" >&5
19447 $as_echo "$ac_cv_search_Tcl_Eval" >&6; }
19448 ac_res
=$ac_cv_search_Tcl_Eval
19449 if test "$ac_res" != no
; then :
19450 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19459 if test -n "$alpine_TCLINC" ; then
19460 as_ac_Header
=`$as_echo "ac_cv_header_$alpine_TCLINC/tcl.h" | $as_tr_sh`
19461 ac_fn_c_check_header_mongrel
"$LINENO" "$alpine_TCLINC/tcl.h" "$as_ac_Header" "$ac_includes_default"
19462 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19471 if test -z "$WEB_BUILD" ; then
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: Tcl Include file NOT found" >&5
19473 $as_echo "$as_me: Tcl Include file NOT found" >&6;}
19476 ac_fn_c_check_header_mongrel
"$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
19477 if test "x$ac_cv_header_tcl_h" = xyes
; then :
19481 for base
in /usr
/usr
/local ; do
19482 for dir
in ${TCL_VERSIONS} ; do
19483 if test -f $base/include
/$dir/tcl.h
; then
19484 CPPFLAGS
="$CPPFLAGS -I$base/include/$dir"
19489 if test "x$found" = "xyes" ; then
19493 if test "$found" != "yes" ; then
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: header file tcl.h NOT found: Web Alpine will not be built" >&5
19496 $as_echo "$as_me: header file tcl.h NOT found: Web Alpine will not be built" >&6;}
19505 if test "x$alpine_REGEX" != "xyes" ; then
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
19507 $as_echo_n "checking for library containing regcomp... " >&6; }
19508 if ${ac_cv_search_regcomp+:} false
; then :
19509 $as_echo_n "(cached) " >&6
19511 ac_func_search_save_LIBS
=$LIBS
19512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19513 /* end confdefs.h. */
19515 /* Override any GCC internal prototype to avoid an error.
19516 Use char because int might match the return type of a GCC
19517 builtin and then its argument prototype would still apply. */
19530 for ac_lib
in '' posix regexp regex re
; do
19531 if test -z "$ac_lib"; then
19532 ac_res
="none required"
19535 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19537 if ac_fn_c_try_link
"$LINENO"; then :
19538 ac_cv_search_regcomp
=$ac_res
19540 rm -f core conftest.err conftest.
$ac_objext \
19542 if ${ac_cv_search_regcomp+:} false
; then :
19546 if ${ac_cv_search_regcomp+:} false
; then :
19549 ac_cv_search_regcomp
=no
19551 rm conftest.
$ac_ext
19552 LIBS
=$ac_func_search_save_LIBS
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
19555 $as_echo "$ac_cv_search_regcomp" >&6; }
19556 ac_res
=$ac_cv_search_regcomp
19557 if test "$ac_res" != no
; then :
19558 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19562 if test x
$alpine_REGEX = "xno" ; then
19563 as_fn_error $?
"Unable to find system regex library" "$LINENO" 5
19571 if test "x$alpine_REGEX" != "xyes" ; then
19572 ac_fn_c_check_header_mongrel
"$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
19573 if test "x$ac_cv_header_regex_h" = xyes
; then :
19577 if test x
$alpine_REGEX = "xno" ; then
19578 as_fn_error $?
"Unable to find system regex include file" "$LINENO" 5
19588 $as_echo "#define HAVE_REGEX_H 1" >>confdefs.h
19590 if test "x$alpine_REGEX" = "xyes" ; then
19591 CPPFLAGS
="$CPPFLAGS -I${top_builddir}/regex"
19592 LDFLAGS
="$LDFLAGS -L${top_builddir}/regex"
19594 REGEX_MAKEFILE
="$REGEX_BUILD/Makefile"
19597 if test "x$with_pthread" != "xno" ; then
19598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread support" >&5
19599 $as_echo_n "checking for pthread support... " >&6; }
19604 ac_cpp
='$CPP $CPPFLAGS'
19605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19611 # We used to check for pthread.h first, but this fails if pthread.h
19612 # requires special compiler flags (e.g. on True64 or Sequent).
19613 # It gets checked for in the link test anyway.
19615 # First of all, check if the user has set any of the PTHREAD_LIBS,
19616 # etcetera environment variables, and if threads linking works using
19618 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
19619 save_CFLAGS
="$CFLAGS"
19620 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19622 LIBS
="$PTHREAD_LIBS $LIBS"
19623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
19624 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
19625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19626 /* end confdefs.h. */
19628 /* Override any GCC internal prototype to avoid an error.
19629 Use char because int might match the return type of a GCC
19630 builtin and then its argument prototype would still apply. */
19634 char pthread_join ();
19638 return pthread_join ();
19643 if ac_fn_c_try_link
"$LINENO"; then :
19646 rm -f core conftest.err conftest.
$ac_objext \
19647 conftest
$ac_exeext conftest.
$ac_ext
19648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
19649 $as_echo "$acx_pthread_ok" >&6; }
19650 if test x
"$acx_pthread_ok" = xno
; then
19655 CFLAGS
="$save_CFLAGS"
19658 # We must check for the threads library under a number of different
19659 # names; the ordering is very important because some systems
19660 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
19661 # libraries is broken (non-POSIX).
19663 # Create a list of thread flags to try. Items starting with a "-" are
19664 # C compiler flags, and other items are library names, except for "none"
19665 # which indicates that we try without any flags at all, and "pthread-config"
19666 # which is a program returning the flags for the Pth emulation library.
19668 acx_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
19670 # The ordering *is* (sometimes) important. Some notes on the
19671 # individual items follow:
19673 # pthreads: AIX (must check this before -lpthread)
19674 # none: in case threads are in libc; should be tried before -Kthread and
19675 # other compiler flags to prevent continual compiler warnings
19676 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
19677 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
19678 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
19679 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
19680 # -pthreads: Solaris/gcc
19681 # -mthreads: Mingw32/gcc, Lynx/gcc
19682 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
19683 # doesn't hurt to check since this sometimes defines pthreads too;
19684 # also defines -D_REENTRANT)
19685 # ... -mt is also the pthreads flag for HP/aCC
19686 # pthread: Linux, etcetera
19687 # --thread-safe: KAI C++
19688 # pthread-config: use pthread-config program (for GNU Pth library)
19690 case "${host_cpu}-${host_os}" in
19693 # On Solaris (at least, for some versions), libc contains stubbed
19694 # (non-functional) versions of the pthreads routines, so link-based
19695 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
19696 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
19697 # a function called by this macro, so we could check for that, but
19698 # who knows whether they'll stub that too in a future libc.) So,
19699 # we'll just look for -pthreads and -lpthread first:
19701 acx_pthread_flags
="-pthreads pthread -mt -pthread $acx_pthread_flags"
19705 if test x
"$acx_pthread_ok" = xno
; then
19706 for flag
in $acx_pthread_flags; do
19710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
19711 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
19716 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
19717 PTHREAD_CFLAGS
="$flag"
19721 # Extract the first word of "pthread-config", so it can be a program name with args.
19722 set dummy pthread-config
; ac_word
=$2
19723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19724 $as_echo_n "checking for $ac_word... " >&6; }
19725 if ${ac_cv_prog_acx_pthread_config+:} false
; then :
19726 $as_echo_n "(cached) " >&6
19728 if test -n "$acx_pthread_config"; then
19729 ac_cv_prog_acx_pthread_config
="$acx_pthread_config" # Let the user override the test.
19731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19732 for as_dir
in $PATH
19735 test -z "$as_dir" && as_dir
=.
19736 for ac_exec_ext
in '' $ac_executable_extensions; do
19737 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19738 ac_cv_prog_acx_pthread_config
="yes"
19739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19746 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config
="no"
19749 acx_pthread_config
=$ac_cv_prog_acx_pthread_config
19750 if test -n "$acx_pthread_config"; then
19751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
19752 $as_echo "$acx_pthread_config" >&6; }
19754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19755 $as_echo "no" >&6; }
19759 if test x
"$acx_pthread_config" = xno
; then continue; fi
19760 PTHREAD_CFLAGS
="`pthread-config --cflags`"
19761 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
19765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
19766 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
19767 PTHREAD_LIBS
="-l$flag"
19772 save_CFLAGS
="$CFLAGS"
19773 LIBS
="$PTHREAD_LIBS $LIBS"
19774 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19776 # Check for various functions. We must include pthread.h,
19777 # since some functions may be macros. (On the Sequent, we
19778 # need a special flag -Kthread to make this header compile.)
19779 # We check for pthread_join because it is in -lpthread on IRIX
19780 # while pthread_create is in libc. We check for pthread_attr_init
19781 # due to DEC craziness with -lpthreads. We check for
19782 # pthread_cleanup_push because it is one of the few pthread
19783 # functions on Solaris that doesn't have a non-functional libc stub.
19784 # We try pthread_create on general principles.
19785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19786 /* end confdefs.h. */
19787 #include <pthread.h>
19791 pthread_t th; pthread_join(th, 0);
19792 pthread_attr_init(0); pthread_cleanup_push(0, 0);
19793 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
19798 if ac_fn_c_try_link
"$LINENO"; then :
19801 rm -f core conftest.err conftest.
$ac_objext \
19802 conftest
$ac_exeext conftest.
$ac_ext
19805 CFLAGS
="$save_CFLAGS"
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
19808 $as_echo "$acx_pthread_ok" >&6; }
19809 if test "x$acx_pthread_ok" = xyes
; then
19818 # Various other checks:
19819 if test "x$acx_pthread_ok" = xyes
; then
19821 LIBS
="$PTHREAD_LIBS $LIBS"
19822 save_CFLAGS
="$CFLAGS"
19823 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19825 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
19826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
19827 $as_echo_n "checking for joinable pthread attribute... " >&6; }
19829 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
19830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19831 /* end confdefs.h. */
19832 #include <pthread.h>
19836 int attr=$attr; return attr;
19841 if ac_fn_c_try_link
"$LINENO"; then :
19842 attr_name
=$attr; break
19844 rm -f core conftest.err conftest.
$ac_objext \
19845 conftest
$ac_exeext conftest.
$ac_ext
19847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
19848 $as_echo "$attr_name" >&6; }
19849 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
19851 cat >>confdefs.h
<<_ACEOF
19852 #define PTHREAD_CREATE_JOINABLE $attr_name
19857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
19858 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
19860 case "${host_cpu}-${host_os}" in
19861 *-aix* |
*-freebsd* |
*-darwin*) flag
="-D_THREAD_SAFE";;
19862 *solaris
* |
*-osf* |
*-hpux*) flag
="-D_REENTRANT";;
19864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
19865 $as_echo "${flag}" >&6; }
19866 if test "x$flag" != xno
; then
19867 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
19871 CFLAGS
="$save_CFLAGS"
19873 # More AIX lossage: must compile with xlc_r or cc_r
19874 if test x
"$GCC" != xyes
; then
19875 for ac_prog
in xlc_r cc_r
19877 # Extract the first word of "$ac_prog", so it can be a program name with args.
19878 set dummy
$ac_prog; ac_word
=$2
19879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19880 $as_echo_n "checking for $ac_word... " >&6; }
19881 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
19882 $as_echo_n "(cached) " >&6
19884 if test -n "$PTHREAD_CC"; then
19885 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
19887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19888 for as_dir
in $PATH
19891 test -z "$as_dir" && as_dir
=.
19892 for ac_exec_ext
in '' $ac_executable_extensions; do
19893 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19894 ac_cv_prog_PTHREAD_CC
="$ac_prog"
19895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19904 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
19905 if test -n "$PTHREAD_CC"; then
19906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
19907 $as_echo "$PTHREAD_CC" >&6; }
19909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19910 $as_echo "no" >&6; }
19914 test -n "$PTHREAD_CC" && break
19916 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
19929 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
19930 if test x
"$acx_pthread_ok" = xyes
; then
19932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19933 $as_echo "yes" >&6; }
19936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pthread support on OpenBSD is unstable!" >&5
19937 $as_echo "$as_me: WARNING: pthread support on OpenBSD is unstable!" >&6;}
19938 AM_CFLAGS
="$AM_CFLAGS -pthread"
19941 LIBS
="$PTHREAD_LIBS $LIBS"
19942 AM_CFLAGS
="$AM_CFLAGS $PTHREAD_CFLAGS"
19945 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19953 $as_echo "no" >&6; }
19957 ac_cpp
='$CPP $CPPFLAGS'
19958 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19959 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19960 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19965 $as_echo_n "checking for library containing nanosleep... " >&6; }
19966 if ${ac_cv_search_nanosleep+:} false
; then :
19967 $as_echo_n "(cached) " >&6
19969 ac_func_search_save_LIBS
=$LIBS
19970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19971 /* end confdefs.h. */
19973 /* Override any GCC internal prototype to avoid an error.
19974 Use char because int might match the return type of a GCC
19975 builtin and then its argument prototype would still apply. */
19983 return nanosleep ();
19988 for ac_lib
in '' rt posix4
; do
19989 if test -z "$ac_lib"; then
19990 ac_res
="none required"
19993 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19995 if ac_fn_c_try_link
"$LINENO"; then :
19996 ac_cv_search_nanosleep
=$ac_res
19998 rm -f core conftest.err conftest.
$ac_objext \
20000 if ${ac_cv_search_nanosleep+:} false
; then :
20004 if ${ac_cv_search_nanosleep+:} false
; then :
20007 ac_cv_search_nanosleep
=no
20009 rm conftest.
$ac_ext
20010 LIBS
=$ac_func_search_save_LIBS
20012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20013 $as_echo "$ac_cv_search_nanosleep" >&6; }
20014 ac_res
=$ac_cv_search_nanosleep
20015 if test "$ac_res" != no
; then :
20016 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20019 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
20030 $as_echo_n "checking for ANSI C header files... " >&6; }
20031 if ${ac_cv_header_stdc+:} false
; then :
20032 $as_echo_n "(cached) " >&6
20034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20035 /* end confdefs.h. */
20036 #include <stdlib.h>
20037 #include <stdarg.h>
20038 #include <string.h>
20049 if ac_fn_c_try_compile
"$LINENO"; then :
20050 ac_cv_header_stdc
=yes
20052 ac_cv_header_stdc
=no
20054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20056 if test $ac_cv_header_stdc = yes; then
20057 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20059 /* end confdefs.h. */
20060 #include <string.h>
20063 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20064 $EGREP "memchr" >/dev
/null
2>&1; then :
20067 ac_cv_header_stdc
=no
20073 if test $ac_cv_header_stdc = yes; then
20074 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20076 /* end confdefs.h. */
20077 #include <stdlib.h>
20080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20081 $EGREP "free" >/dev
/null
2>&1; then :
20084 ac_cv_header_stdc
=no
20090 if test $ac_cv_header_stdc = yes; then
20091 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20092 if test "$cross_compiling" = yes; then :
20095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20096 /* end confdefs.h. */
20098 #include <stdlib.h>
20099 #if ((' ' & 0x0FF) == 0x020)
20100 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20101 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20103 # define ISLOWER(c) \
20104 (('a' <= (c) && (c) <= 'i') \
20105 || ('j' <= (c) && (c) <= 'r') \
20106 || ('s' <= (c) && (c) <= 'z'))
20107 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20110 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20115 for (i = 0; i < 256; i++)
20116 if (XOR (islower (i), ISLOWER (i))
20117 || toupper (i) != TOUPPER (i))
20122 if ac_fn_c_try_run
"$LINENO"; then :
20125 ac_cv_header_stdc
=no
20127 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20128 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20134 $as_echo "$ac_cv_header_stdc" >&6; }
20135 if test $ac_cv_header_stdc = yes; then
20137 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20141 ac_header_dirent
=no
20142 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
20143 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
20144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
20145 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
20146 if eval \
${$as_ac_Header+:} false
; then :
20147 $as_echo_n "(cached) " >&6
20149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20150 /* end confdefs.h. */
20151 #include <sys/types.h>
20163 if ac_fn_c_try_compile
"$LINENO"; then :
20164 eval "$as_ac_Header=yes"
20166 eval "$as_ac_Header=no"
20168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20170 eval ac_res
=\$
$as_ac_Header
20171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20172 $as_echo "$ac_res" >&6; }
20173 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20174 cat >>confdefs.h
<<_ACEOF
20175 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
20178 ac_header_dirent
=$ac_hdr; break
20182 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
20183 if test $ac_header_dirent = dirent.h
; then
20184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
20185 $as_echo_n "checking for library containing opendir... " >&6; }
20186 if ${ac_cv_search_opendir+:} false
; then :
20187 $as_echo_n "(cached) " >&6
20189 ac_func_search_save_LIBS
=$LIBS
20190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20191 /* end confdefs.h. */
20193 /* Override any GCC internal prototype to avoid an error.
20194 Use char because int might match the return type of a GCC
20195 builtin and then its argument prototype would still apply. */
20208 for ac_lib
in '' dir
; do
20209 if test -z "$ac_lib"; then
20210 ac_res
="none required"
20213 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20215 if ac_fn_c_try_link
"$LINENO"; then :
20216 ac_cv_search_opendir
=$ac_res
20218 rm -f core conftest.err conftest.
$ac_objext \
20220 if ${ac_cv_search_opendir+:} false
; then :
20224 if ${ac_cv_search_opendir+:} false
; then :
20227 ac_cv_search_opendir
=no
20229 rm conftest.
$ac_ext
20230 LIBS
=$ac_func_search_save_LIBS
20232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
20233 $as_echo "$ac_cv_search_opendir" >&6; }
20234 ac_res
=$ac_cv_search_opendir
20235 if test "$ac_res" != no
; then :
20236 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
20242 $as_echo_n "checking for library containing opendir... " >&6; }
20243 if ${ac_cv_search_opendir+:} false
; then :
20244 $as_echo_n "(cached) " >&6
20246 ac_func_search_save_LIBS
=$LIBS
20247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20248 /* end confdefs.h. */
20250 /* Override any GCC internal prototype to avoid an error.
20251 Use char because int might match the return type of a GCC
20252 builtin and then its argument prototype would still apply. */
20265 for ac_lib
in '' x
; do
20266 if test -z "$ac_lib"; then
20267 ac_res
="none required"
20270 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20272 if ac_fn_c_try_link
"$LINENO"; then :
20273 ac_cv_search_opendir
=$ac_res
20275 rm -f core conftest.err conftest.
$ac_objext \
20277 if ${ac_cv_search_opendir+:} false
; then :
20281 if ${ac_cv_search_opendir+:} false
; then :
20284 ac_cv_search_opendir
=no
20286 rm conftest.
$ac_ext
20287 LIBS
=$ac_func_search_save_LIBS
20289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
20290 $as_echo "$ac_cv_search_opendir" >&6; }
20291 ac_res
=$ac_cv_search_opendir
20292 if test "$ac_res" != no
; then :
20293 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
20300 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
20301 if ${ac_cv_header_stat_broken+:} false
; then :
20302 $as_echo_n "(cached) " >&6
20304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20305 /* end confdefs.h. */
20306 #include <sys/types.h>
20307 #include <sys/stat.h>
20309 #if defined S_ISBLK && defined S_IFDIR
20310 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
20313 #if defined S_ISBLK && defined S_IFCHR
20314 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
20317 #if defined S_ISLNK && defined S_IFREG
20318 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
20321 #if defined S_ISSOCK && defined S_IFREG
20322 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
20326 if ac_fn_c_try_compile
"$LINENO"; then :
20327 ac_cv_header_stat_broken
=no
20329 ac_cv_header_stat_broken
=yes
20331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
20334 $as_echo "$ac_cv_header_stat_broken" >&6; }
20335 if test $ac_cv_header_stat_broken = yes; then
20337 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
20341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
20342 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
20343 if ${ac_cv_header_sys_wait_h+:} false
; then :
20344 $as_echo_n "(cached) " >&6
20346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20347 /* end confdefs.h. */
20348 #include <sys/types.h>
20349 #include <sys/wait.h>
20350 #ifndef WEXITSTATUS
20351 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
20354 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
20362 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
20367 if ac_fn_c_try_compile
"$LINENO"; then :
20368 ac_cv_header_sys_wait_h
=yes
20370 ac_cv_header_sys_wait_h
=no
20372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
20375 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
20376 if test $ac_cv_header_sys_wait_h = yes; then
20378 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
20383 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
20384 if ${ac_cv_header_time+:} false
; then :
20385 $as_echo_n "(cached) " >&6
20387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20388 /* end confdefs.h. */
20389 #include <sys/types.h>
20390 #include <sys/time.h>
20396 if ((struct tm *) 0)
20402 if ac_fn_c_try_compile
"$LINENO"; then :
20403 ac_cv_header_time
=yes
20405 ac_cv_header_time
=no
20407 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
20410 $as_echo "$ac_cv_header_time" >&6; }
20411 if test $ac_cv_header_time = yes; then
20413 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
20417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
20418 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
20419 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false
; then :
20420 $as_echo_n "(cached) " >&6
20422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20423 /* end confdefs.h. */
20424 #include <sys/types.h>
20425 #include <termios.h>
20431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20432 $EGREP "yes" >/dev
/null
2>&1; then :
20433 ac_cv_sys_tiocgwinsz_in_termios_h
=yes
20435 ac_cv_sys_tiocgwinsz_in_termios_h
=no
20440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
20441 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
20443 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
20444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
20445 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
20446 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false
; then :
20447 $as_echo_n "(cached) " >&6
20449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20450 /* end confdefs.h. */
20451 #include <sys/types.h>
20452 #include <sys/ioctl.h>
20458 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20459 $EGREP "yes" >/dev
/null
2>&1; then :
20460 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=yes
20462 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=no
20467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
20468 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
20470 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
20472 $as_echo "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
20478 for ac_header
in unistd.h
20480 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20481 if test "x$ac_cv_header_unistd_h" = xyes
; then :
20482 cat >>confdefs.h
<<_ACEOF
20483 #define HAVE_UNISTD_H 1
20491 for ac_header
in errno.h \
20517 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20518 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20519 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20520 cat >>confdefs.h
<<_ACEOF
20521 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20529 ac_fn_c_check_header_mongrel
"$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
20530 if test "x$ac_cv_header_termios_h" = xyes
; then :
20532 $as_echo "#define HAS_TERMIOS 1" >>confdefs.h
20536 ac_fn_c_check_header_mongrel
"$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
20537 if test "x$ac_cv_header_termio_h" = xyes
; then :
20539 $as_echo "#define HAS_TERMIO 1" >>confdefs.h
20543 ac_fn_c_check_header_mongrel
"$LINENO" "sgtty.h" "ac_cv_header_sgtty_h" "$ac_includes_default"
20544 if test "x$ac_cv_header_sgtty_h" = xyes
; then :
20546 $as_echo "#define HAS_SGTTY 1" >>confdefs.h
20550 as_fn_error $?
"Unable to figure out terminal control method" "$LINENO" 5
20566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
20567 $as_echo_n "checking return type of signal handlers... " >&6; }
20568 if ${ac_cv_type_signal+:} false
; then :
20569 $as_echo_n "(cached) " >&6
20571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20572 /* end confdefs.h. */
20573 #include <sys/types.h>
20574 #include <signal.h>
20579 return *(signal (0, 0)) (0) == 1;
20584 if ac_fn_c_try_compile
"$LINENO"; then :
20585 ac_cv_type_signal
=int
20587 ac_cv_type_signal
=void
20589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
20592 $as_echo "$ac_cv_type_signal" >&6; }
20594 cat >>confdefs.h
<<_ACEOF
20595 #define RETSIGTYPE $ac_cv_type_signal
20599 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
20600 if test "x$ac_cv_type_size_t" = xyes
; then :
20604 cat >>confdefs.h
<<_ACEOF
20605 #define size_t unsigned int
20610 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
20611 if test "x$ac_cv_type_mode_t" = xyes
; then :
20615 cat >>confdefs.h
<<_ACEOF
20621 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
20622 if test "x$ac_cv_type_pid_t" = xyes
; then :
20626 cat >>confdefs.h
<<_ACEOF
20632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
20633 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
20634 if ${ac_cv_type_uid_t+:} false
; then :
20635 $as_echo_n "(cached) " >&6
20637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20638 /* end confdefs.h. */
20639 #include <sys/types.h>
20642 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20643 $EGREP "uid_t" >/dev
/null
2>&1; then :
20644 ac_cv_type_uid_t
=yes
20646 ac_cv_type_uid_t
=no
20651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
20652 $as_echo "$ac_cv_type_uid_t" >&6; }
20653 if test $ac_cv_type_uid_t = no
; then
20655 $as_echo "#define uid_t int" >>confdefs.h
20658 $as_echo "#define gid_t int" >>confdefs.h
20662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
20663 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
20664 if ${ac_cv_struct_tm+:} false
; then :
20665 $as_echo_n "(cached) " >&6
20667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20668 /* end confdefs.h. */
20669 #include <sys/types.h>
20676 int *p = &tm.tm_sec;
20682 if ac_fn_c_try_compile
"$LINENO"; then :
20683 ac_cv_struct_tm
=time.h
20685 ac_cv_struct_tm
=sys
/time.h
20687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
20690 $as_echo "$ac_cv_struct_tm" >&6; }
20691 if test $ac_cv_struct_tm = sys
/time.h
; then
20693 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
20698 ac_fn_c_check_type
"$LINENO" "union wait" "ac_cv_type_union_wait" "$ac_includes_default"
20699 if test "x$ac_cv_type_union_wait" = xyes
; then :
20701 cat >>confdefs.h
<<_ACEOF
20702 #define HAVE_UNION_WAIT 1
20709 for ac_header
in stdint.h
20711 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
20712 if test "x$ac_cv_header_stdint_h" = xyes
; then :
20713 cat >>confdefs.h
<<_ACEOF
20714 #define HAVE_STDINT_H 1
20719 for ac_header
in inttypes.h
20721 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
20722 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
20723 cat >>confdefs.h
<<_ACEOF
20724 #define HAVE_INTTYPES_H 1
20729 for ac_header
in sys
/types.h
20731 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
20732 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
20733 cat >>confdefs.h
<<_ACEOF
20734 #define HAVE_SYS_TYPES_H 1
20739 # The cast to long int works around a bug in the HP C Compiler
20740 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20741 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20742 # This bug is HP SR number 8606223364.
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
20744 $as_echo_n "checking size of unsigned short... " >&6; }
20745 if ${ac_cv_sizeof_unsigned_short+:} false
; then :
20746 $as_echo_n "(cached) " >&6
20748 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
20751 if test "$ac_cv_type_unsigned_short" = yes; then
20752 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20753 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20754 as_fn_error
77 "cannot compute sizeof (unsigned short)
20755 See \`config.log' for more details" "$LINENO" 5; }
20757 ac_cv_sizeof_unsigned_short
=0
20762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
20763 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
20767 cat >>confdefs.h
<<_ACEOF
20768 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
20772 if test $ac_cv_sizeof_unsigned_short -eq 2 ; then
20773 uint16
="unsigned short"
20775 # The cast to long int works around a bug in the HP C Compiler
20776 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20777 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20778 # This bug is HP SR number 8606223364.
20779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
20780 $as_echo_n "checking size of unsigned int... " >&6; }
20781 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
20782 $as_echo_n "(cached) " >&6
20784 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
20787 if test "$ac_cv_type_unsigned_int" = yes; then
20788 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20790 as_fn_error
77 "cannot compute sizeof (unsigned int)
20791 See \`config.log' for more details" "$LINENO" 5; }
20793 ac_cv_sizeof_unsigned_int
=0
20798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
20799 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
20803 cat >>confdefs.h
<<_ACEOF
20804 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
20808 if $ac_cv_sizeof_unsigned_int -eq 2 ; then
20809 uint16
="unsigned int"
20811 as_fn_error $?
"Unable to determine 16 bit integer type" "$LINENO" 5
20830 cat >>confdefs.h
<<_ACEOF
20831 #define UINT16 $uint16
20835 for ac_header
in stdint.h
20837 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
20838 if test "x$ac_cv_header_stdint_h" = xyes
; then :
20839 cat >>confdefs.h
<<_ACEOF
20840 #define HAVE_STDINT_H 1
20845 for ac_header
in inttypes.h
20847 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
20848 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
20849 cat >>confdefs.h
<<_ACEOF
20850 #define HAVE_INTTYPES_H 1
20855 for ac_header
in sys
/types.h
20857 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
20858 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
20859 cat >>confdefs.h
<<_ACEOF
20860 #define HAVE_SYS_TYPES_H 1
20865 # The cast to long int works around a bug in the HP C Compiler
20866 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20867 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20868 # This bug is HP SR number 8606223364.
20869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
20870 $as_echo_n "checking size of unsigned int... " >&6; }
20871 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
20872 $as_echo_n "(cached) " >&6
20874 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
20877 if test "$ac_cv_type_unsigned_int" = yes; then
20878 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20879 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20880 as_fn_error
77 "cannot compute sizeof (unsigned int)
20881 See \`config.log' for more details" "$LINENO" 5; }
20883 ac_cv_sizeof_unsigned_int
=0
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
20889 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
20893 cat >>confdefs.h
<<_ACEOF
20894 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
20898 if test $ac_cv_sizeof_unsigned_int -eq 4 ; then
20899 uint32
="unsigned int"
20901 # The cast to long int works around a bug in the HP C Compiler
20902 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20903 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20904 # This bug is HP SR number 8606223364.
20905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
20906 $as_echo_n "checking size of unsigned long... " >&6; }
20907 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
20908 $as_echo_n "(cached) " >&6
20910 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
20913 if test "$ac_cv_type_unsigned_long" = yes; then
20914 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20915 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20916 as_fn_error
77 "cannot compute sizeof (unsigned long)
20917 See \`config.log' for more details" "$LINENO" 5; }
20919 ac_cv_sizeof_unsigned_long
=0
20924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
20925 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
20929 cat >>confdefs.h
<<_ACEOF
20930 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
20934 if $ac_cv_sizeof_unsigned_long -eq 4 ; then
20935 uint32
="unsigned long"
20937 as_fn_error $?
"Unable to determine 32 bit integer type" "$LINENO" 5
20956 cat >>confdefs.h
<<_ACEOF
20957 #define UINT32 $uint32
20961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking argument pointer type of qsort compare function and base" >&5
20962 $as_echo_n "checking argument pointer type of qsort compare function and base... " >&6; }
20963 if ${ac_cv_func_qsort_argtype+:} false
; then :
20964 $as_echo_n "(cached) " >&6
20966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20967 /* end confdefs.h. */
20970 #include "stdlib.h"
20974 extern sortf(const void *, const void *);
20977 const void *b; { return 0; }
20983 qsort(base, 2, sizeof(char *), sortf);
20989 if ac_fn_c_try_compile
"$LINENO"; then :
20990 ac_cv_func_qsort_argtype
=void
20992 ac_cv_func_qsort_argtype
=char
20994 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_qsort_argtype" >&5
20998 $as_echo "$ac_cv_func_qsort_argtype" >&6; }
21000 cat >>confdefs.h
<<_ACEOF
21001 #define qsort_t $ac_cv_func_qsort_argtype
21006 for ac_header
in sys
/select.h sys
/socket.h
21008 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21009 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21010 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
21011 cat >>confdefs.h
<<_ACEOF
21012 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
21020 $as_echo_n "checking types of arguments for select... " >&6; }
21021 if ${ac_cv_func_select_args+:} false
; then :
21022 $as_echo_n "(cached) " >&6
21024 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
21025 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
21026 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
21027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21028 /* end confdefs.h. */
21029 $ac_includes_default
21030 #ifdef HAVE_SYS_SELECT_H
21031 # include <sys/select.h>
21033 #ifdef HAVE_SYS_SOCKET_H
21034 # include <sys/socket.h>
21040 extern int select ($ac_arg1,
21041 $ac_arg234, $ac_arg234, $ac_arg234,
21047 if ac_fn_c_try_compile
"$LINENO"; then :
21048 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
21050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21054 # Provide a safe default value.
21055 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
21058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
21059 $as_echo "$ac_cv_func_select_args" >&6; }
21060 ac_save_IFS
=$IFS; IFS
=','
21061 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
21065 cat >>confdefs.h
<<_ACEOF
21066 #define SELECT_TYPE_ARG1 $1
21070 cat >>confdefs.h
<<_ACEOF
21071 #define SELECT_TYPE_ARG234 ($2)
21075 cat >>confdefs.h
<<_ACEOF
21076 #define SELECT_TYPE_ARG5 ($3)
21082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
21083 $as_echo_n "checking for working strcoll... " >&6; }
21084 if ${ac_cv_func_strcoll_works+:} false
; then :
21085 $as_echo_n "(cached) " >&6
21087 if test "$cross_compiling" = yes; then :
21088 ac_cv_func_strcoll_works
=no
21090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21091 /* end confdefs.h. */
21092 $ac_includes_default
21096 return (strcoll ("abc", "def") >= 0 ||
21097 strcoll ("ABC", "DEF") >= 0 ||
21098 strcoll ("123", "456") >= 0)
21103 if ac_fn_c_try_run
"$LINENO"; then :
21104 ac_cv_func_strcoll_works
=yes
21106 ac_cv_func_strcoll_works
=no
21108 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21109 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
21114 $as_echo "$ac_cv_func_strcoll_works" >&6; }
21115 if test $ac_cv_func_strcoll_works = yes; then
21117 $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
21123 for ac_header
in vfork.h
21125 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
21126 if test "x$ac_cv_header_vfork_h" = xyes
; then :
21127 cat >>confdefs.h
<<_ACEOF
21128 #define HAVE_VFORK_H 1
21135 for ac_func
in fork vfork
21137 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21138 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21139 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21140 cat >>confdefs.h
<<_ACEOF
21141 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21147 if test "x$ac_cv_func_fork" = xyes
; then
21148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
21149 $as_echo_n "checking for working fork... " >&6; }
21150 if ${ac_cv_func_fork_works+:} false
; then :
21151 $as_echo_n "(cached) " >&6
21153 if test "$cross_compiling" = yes; then :
21154 ac_cv_func_fork_works
=cross
21156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21157 /* end confdefs.h. */
21158 $ac_includes_default
21163 /* By Ruediger Kuhlmann. */
21164 return fork () < 0;
21170 if ac_fn_c_try_run
"$LINENO"; then :
21171 ac_cv_func_fork_works
=yes
21173 ac_cv_func_fork_works
=no
21175 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21176 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
21181 $as_echo "$ac_cv_func_fork_works" >&6; }
21184 ac_cv_func_fork_works
=$ac_cv_func_fork
21186 if test "x$ac_cv_func_fork_works" = xcross
; then
21188 *-*-amigaos* |
*-*-msdosdjgpp*)
21189 # Override, as these systems have only a dummy fork() stub
21190 ac_cv_func_fork_works
=no
21193 ac_cv_func_fork_works
=yes
21196 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
21197 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
21199 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21200 if test "x$ac_cv_func_vfork" = xyes
; then
21201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
21202 $as_echo_n "checking for working vfork... " >&6; }
21203 if ${ac_cv_func_vfork_works+:} false
; then :
21204 $as_echo_n "(cached) " >&6
21206 if test "$cross_compiling" = yes; then :
21207 ac_cv_func_vfork_works
=cross
21209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21210 /* end confdefs.h. */
21211 /* Thanks to Paul Eggert for this test. */
21212 $ac_includes_default
21213 #include <sys/wait.h>
21214 #ifdef HAVE_VFORK_H
21215 # include <vfork.h>
21217 /* On some sparc systems, changes by the child to local and incoming
21218 argument registers are propagated back to the parent. The compiler
21219 is told about this with #include <vfork.h>, but some compilers
21220 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
21221 static variable whose address is put into a register that is
21222 clobbered by the vfork. */
21225 sparc_address_test (int arg)
21227 sparc_address_test (arg) int arg;
21230 static pid_t child;
21248 pid_t parent = getpid ();
21251 sparc_address_test (0);
21256 /* Here is another test for sparc vfork register problems. This
21257 test uses lots of local variables, at least as many local
21258 variables as main has allocated so far including compiler
21259 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
21260 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
21261 reuse the register of parent for one of the local variables,
21262 since it will think that parent can't possibly be used any more
21263 in this routine. Assigning to the local variable will thus
21264 munge parent in the parent process. */
21266 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
21267 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
21268 /* Convince the compiler that p..p7 are live; otherwise, it might
21269 use the same hardware register for all 8 local variables. */
21270 if (p != p1 || p != p2 || p != p3 || p != p4
21271 || p != p5 || p != p6 || p != p7)
21274 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
21275 from child file descriptors. If the child closes a descriptor
21276 before it execs or exits, this munges the parent's descriptor
21277 as well. Test for this by closing stdout in the child. */
21278 _exit(close(fileno(stdout)) != 0);
21283 while (wait(&status) != child)
21286 /* Was there some problem with vforking? */
21289 /* Did the child fail? (This shouldn't happen.) */
21292 /* Did the vfork/compiler bug occur? */
21293 || parent != getpid()
21295 /* Did the file descriptor bug occur? */
21296 || fstat(fileno(stdout), &st) != 0
21301 if ac_fn_c_try_run
"$LINENO"; then :
21302 ac_cv_func_vfork_works
=yes
21304 ac_cv_func_vfork_works
=no
21306 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
21307 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
21311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
21312 $as_echo "$ac_cv_func_vfork_works" >&6; }
21315 if test "x$ac_cv_func_fork_works" = xcross
; then
21316 ac_cv_func_vfork_works
=$ac_cv_func_vfork
21317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
21318 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
21321 if test "x$ac_cv_func_vfork_works" = xyes
; then
21323 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
21327 $as_echo "#define vfork fork" >>confdefs.h
21330 if test "x$ac_cv_func_fork_works" = xyes
; then
21332 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
21336 for ac_func
in strchr \
21369 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21370 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21371 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21372 cat >>confdefs.h
<<_ACEOF
21373 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostname" >&5
21381 $as_echo_n "checking for library containing gethostname... " >&6; }
21382 if ${ac_cv_search_gethostname+:} false
; then :
21383 $as_echo_n "(cached) " >&6
21385 ac_func_search_save_LIBS
=$LIBS
21386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21387 /* end confdefs.h. */
21389 /* Override any GCC internal prototype to avoid an error.
21390 Use char because int might match the return type of a GCC
21391 builtin and then its argument prototype would still apply. */
21395 char gethostname ();
21399 return gethostname ();
21404 for ac_lib
in '' nsl
; do
21405 if test -z "$ac_lib"; then
21406 ac_res
="none required"
21409 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21411 if ac_fn_c_try_link
"$LINENO"; then :
21412 ac_cv_search_gethostname
=$ac_res
21414 rm -f core conftest.err conftest.
$ac_objext \
21416 if ${ac_cv_search_gethostname+:} false
; then :
21420 if ${ac_cv_search_gethostname+:} false
; then :
21423 ac_cv_search_gethostname
=no
21425 rm conftest.
$ac_ext
21426 LIBS
=$ac_func_search_save_LIBS
21428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostname" >&5
21429 $as_echo "$ac_cv_search_gethostname" >&6; }
21430 ac_res
=$ac_cv_search_gethostname
21431 if test "$ac_res" != no
; then :
21432 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
21438 $as_echo_n "checking for library containing socket... " >&6; }
21439 if ${ac_cv_search_socket+:} false
; then :
21440 $as_echo_n "(cached) " >&6
21442 ac_func_search_save_LIBS
=$LIBS
21443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21444 /* end confdefs.h. */
21446 /* Override any GCC internal prototype to avoid an error.
21447 Use char because int might match the return type of a GCC
21448 builtin and then its argument prototype would still apply. */
21461 for ac_lib
in '' socket
; do
21462 if test -z "$ac_lib"; then
21463 ac_res
="none required"
21466 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21468 if ac_fn_c_try_link
"$LINENO"; then :
21469 ac_cv_search_socket
=$ac_res
21471 rm -f core conftest.err conftest.
$ac_objext \
21473 if ${ac_cv_search_socket+:} false
; then :
21477 if ${ac_cv_search_socket+:} false
; then :
21480 ac_cv_search_socket
=no
21482 rm conftest.
$ac_ext
21483 LIBS
=$ac_func_search_save_LIBS
21485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
21486 $as_echo "$ac_cv_search_socket" >&6; }
21487 ac_res
=$ac_cv_search_socket
21488 if test "$ac_res" != no
; then :
21489 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bind" >&5
21499 $as_echo_n "checking for library containing bind... " >&6; }
21500 if ${ac_cv_search_bind+:} false
; then :
21501 $as_echo_n "(cached) " >&6
21503 ac_func_search_save_LIBS
=$LIBS
21504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21505 /* end confdefs.h. */
21507 /* Override any GCC internal prototype to avoid an error.
21508 Use char because int might match the return type of a GCC
21509 builtin and then its argument prototype would still apply. */
21522 for ac_lib
in '' bind; do
21523 if test -z "$ac_lib"; then
21524 ac_res
="none required"
21527 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21529 if ac_fn_c_try_link
"$LINENO"; then :
21530 ac_cv_search_bind
=$ac_res
21532 rm -f core conftest.err conftest.
$ac_objext \
21534 if ${ac_cv_search_bind+:} false
; then :
21538 if ${ac_cv_search_bind+:} false
; then :
21541 ac_cv_search_bind
=no
21543 rm conftest.
$ac_ext
21544 LIBS
=$ac_func_search_save_LIBS
21546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind" >&5
21547 $as_echo "$ac_cv_search_bind" >&6; }
21548 ac_res
=$ac_cv_search_bind
21549 if test "$ac_res" != no
; then :
21550 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21559 for ac_func
in sigaction sigemptyset sigaddset sigprocmask
21561 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21562 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21563 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21564 cat >>confdefs.h
<<_ACEOF
21565 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21569 $as_echo "#define POSIX_SIGNALS /**/" >>confdefs.h
21574 for ac_func
in sigset sigrelse
21576 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21577 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
21578 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
21579 cat >>confdefs.h
<<_ACEOF
21580 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21584 $as_echo "#define SYSV_SIGNALS /**/" >>confdefs.h
21595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing syslog" >&5
21596 $as_echo_n "checking for library containing syslog... " >&6; }
21597 if ${ac_cv_search_syslog+:} false
; then :
21598 $as_echo_n "(cached) " >&6
21600 ac_func_search_save_LIBS
=$LIBS
21601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21602 /* end confdefs.h. */
21604 /* Override any GCC internal prototype to avoid an error.
21605 Use char because int might match the return type of a GCC
21606 builtin and then its argument prototype would still apply. */
21619 for ac_lib
in '' bsd socket inet
; do
21620 if test -z "$ac_lib"; then
21621 ac_res
="none required"
21624 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21626 if ac_fn_c_try_link
"$LINENO"; then :
21627 ac_cv_search_syslog
=$ac_res
21629 rm -f core conftest.err conftest.
$ac_objext \
21631 if ${ac_cv_search_syslog+:} false
; then :
21635 if ${ac_cv_search_syslog+:} false
; then :
21638 ac_cv_search_syslog
=no
21640 rm conftest.
$ac_ext
21641 LIBS
=$ac_func_search_save_LIBS
21643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_syslog" >&5
21644 $as_echo "$ac_cv_search_syslog" >&6; }
21645 ac_res
=$ac_cv_search_syslog
21646 if test "$ac_res" != no
; then :
21647 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21650 $as_echo "#define HAVE_SYSLOG 1" >>confdefs.h
21657 if test -n "$alpine_with_local_maildir" ; then
21658 alpine_local_maildir
=$alpine_with_local_maildir
21659 elif test -d /var
/spool
/mail ; then
21660 alpine_local_maildir
="/var/spool/mail"
21661 elif test -d /var
/mail ; then
21662 alpine_local_maildir
="/var/mail"
21664 alpine_local_maildir
="/usr/spool/mail"
21667 if test -n "$alpine_with_c_client_target" ; then
21668 alpine_c_client_target
=$alpine_with_c_client_target
21672 cat >>confdefs.h
<<_ACEOF
21673 #define SYSTYPE "$systype"
21677 cat >>confdefs.h
<<_ACEOF
21678 #define C_FILESEP '$alpine_path_delim'
21682 cat >>confdefs.h
<<_ACEOF
21683 #define S_FILESEP "$alpine_path_delim"
21687 cat >>confdefs.h
<<_ACEOF
21688 #define MAILDIR "$alpine_local_maildir"
21692 cat >>confdefs.h
<<_ACEOF
21693 #define MODE_READONLY $alpine_mode_readonly
21697 C_CLIENT_TARGET
=$alpine_c_client_target
21699 C_CLIENT_WITH_IPV6
=$c_client_ip6
21701 if test "x$alpine_SSLTYPE" = "xnone" ; then
21702 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * NOT Including SSL Support" >&5
21703 $as_echo "$as_me: * * * NOT Including SSL Support" >&6;}
21704 c_client_specials
="${c_client_specials}SSLTYPE=none "
21707 if test -n "$alpine_SSLCERTS" -a -d "$alpine_SSLCERTS" ; then
21708 certdir
="$alpine_SSLCERTS"
21709 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/certs" ; then
21710 certdir
="${alpine_SSLDIR}/certs"
21711 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/ssl/certs" ; then
21712 certdir
="${alpine_SSLDIR}/ssl/certs"
21713 elif test -n "$alpine_SSLCERTS_ORIG" -a -d "$alpine_SSLCERTS_ORIG" ; then
21714 certdir
="$alpine_SSLCERTS_ORIG"
21715 elif test -n "$alpine_SSLCERTS" ; then
21716 certdir
="$alpine_SSLCERTS"
21718 { $as_echo "$as_me:${as_lineno-$LINENO}: SSL Problem: certificate directory not found" >&5
21719 $as_echo "$as_me: SSL Problem: certificate directory not found" >&6;}
21722 if test "x$with_smime" != "xno" ; then
21723 if test -n "$certdir" ; then
21724 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * S/MIME support enabled" >&5
21725 $as_echo "$as_me: * * * S/MIME support enabled" >&6;}
21727 $as_echo "#define SMIME /**/" >>confdefs.h
21730 cat >>confdefs.h
<<_ACEOF
21731 #define SMIME_SSLCERTS "$certdir"
21739 if test -z "`ls ${certdir} | $EGREP '^[0-9A-Fa-f]{8}\.[0-9]'`" ; then
21740 SSL_BUNDLE_EXISTS
="no"
21741 SSL_PEM
="factory.pem ca-bundle.pem ca-bundle.crt ca-root-nss.crt"
21742 for SSL_BUNDLE
in $SSL_PEM
21744 if test -f ${certdir}/${SSL_BUNDLE} ; then
21745 SSL_BUNDLE_EXISTS
="yes"
21749 SSL_CERT_LINK
="yes"
21752 if test "x$SSL_BUNDLE_EXISTS" = "xno" -a "x$SSL_CERT_LINK" = "xno" ; then
21753 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * No certificates found in \"${certdir}\"." >&5
21754 $as_echo "$as_me: * * * No certificates found in \"${certdir}\"." >&6;}
21755 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * This might indicate that CA certs did not get properly" >&5
21756 $as_echo "$as_me: * * * This might indicate that CA certs did not get properly" >&6;}
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * installed. If you get certificate validation failures" >&5
21758 $as_echo "$as_me: * * * installed. If you get certificate validation failures" >&6;}
21759 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * in Alpine, this might be the reason for them." >&5
21760 $as_echo "$as_me: * * * in Alpine, this might be the reason for them." >&6;}
21763 if test -n "$alpine_SSLINCLUDE" ; then
21764 c_client_specials
="${c_client_specials}SSLINCLUDE=$alpine_SSLINCLUDE "
21767 if test -n "$alpine_SSLLIB" ; then
21768 c_client_specials
="${c_client_specials}SSLLIB=$alpine_SSLLIB "
21771 if test -n "$alpine_SSLDIR" ; then
21772 c_client_specials
="${c_client_specials}SSLDIR=$alpine_SSLDIR "
21775 if test -n "$certdir" ; then
21776 c_client_specials
="${c_client_specials}SSLCERTS=$certdir "
21779 if test -n "$alpine_SSLKEYS" ; then
21780 c_client_specials
="${c_client_specials}SSLKEYS=$alpine_SSLKEYS "
21785 if test "x$alpine_GSSTYPE" != "xnone" ; then
21787 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including Kerberos5 functionality" >&5
21788 $as_echo "$as_me: * * * Including Kerberos5 functionality" >&6;}
21792 if test "x$alpine_NTLM" != "xnone" ; then
21793 extra_auth_ntlm
=ntl
21794 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including NTLM Authenticator" >&5
21795 $as_echo "$as_me: * * * Including NTLM Authenticator" >&6;}
21798 if test -n "$CPPFLAGS" ; then
21799 alpine_c_client_cflags
="$alpine_c_client_cflags ${CPPFLAGS}"
21801 if test -n "$CFLAGS" ; then
21802 alpine_c_client_cflags
="$alpine_c_client_cflags ${CFLAGS}"
21805 if test -n "$alpine_c_client_cflags" ; then
21806 C_CLIENT_CFLAGS
=EXTRACFLAGS
=\"$alpine_c_client_cflags\"
21810 if test -n "$LDFLAGS" ; then
21811 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LDFLAGS}"
21813 if test -n "$LIBS" ; then
21814 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LIBS}"
21817 if test -n "$alpine_c_client_ldflags" ; then
21818 C_CLIENT_LDFLAGS
=EXTRALDFLAGS
=\"$alpine_c_client_ldflags\"
21822 if test -n "$alpine_c_client_gccoptlevel" ; then
21823 C_CLIENT_GCCOPTLEVEL
=GCCOPTLEVEL
=\"$alpine_c_client_gccoptlevel\"
21827 c_client_auths
="$extra_auth_gss $extra_auth_ntlm"
21828 C_CLIENT_AUTHS
=$c_client_auths
21831 C_CLIENT_SPECIALS
=$c_client_specials
21834 if test -z "$WEB_BUILD" ; then
21835 WEB_PUBCOOKIE_BUILD
=
21836 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * TCL libraries could not be found." >&5
21837 $as_echo "$as_me: * * * TCL libraries could not be found." >&6;}
21838 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&5
21839 $as_echo "$as_me: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&6;}
21841 if test -n "$WEB_PUBCOOKIE_BUILD" ; then
21842 if test "x$alpine_GSSTYPE" = "xnone" ; then
21843 WEB_PUBCOOKIE_BUILD
=
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Kerberos5 support not found." >&5
21845 $as_echo "$as_me: * * * Kerberos5 support not found." >&6;}
21846 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&5
21847 $as_echo "$as_me: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&6;}
21848 elif test -z "$WEB_BINDIR" ; then
21849 WEB_PUBCOOKIE_BUILD
=
21850 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Web Alpine binary directory not provided." >&5
21851 $as_echo "$as_me: * * * Web Alpine binary directory not provided." >&6;}
21852 as_fn_error $?
"* * * --with-pubcookie requires --with-web-bin=PATH.
21853 Please re-run configure with these options:
21854 --with-pubcookie --with-web-bin=/usr/local/libexec/alpine/bin" "$LINENO" 5
21857 $as_echo "#define PUBCOOKIE 1" >>confdefs.h
21859 WEB_PUBCOOKIE_LIB
=..
/pubcookie
/libauthgssproxy.a
21860 WEB_PUBCOOKIE_LINK
=gssapi_proxy.l
21876 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"
21878 cat >confcache
<<\_ACEOF
21879 # This file is a shell script that caches the results of configure
21880 # tests run on this system so they can be shared between configure
21881 # scripts and configure runs, see configure's option --config-cache.
21882 # It is not useful on other systems. If it contains results you don't
21883 # want to keep, you may remove or edit it.
21885 # config.status only pays attention to the cache file if you give it
21886 # the --recheck option to rerun configure.
21888 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21889 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21890 # following values.
21894 # The following way of writing the cache mishandles newlines in values,
21895 # but we know of no workaround that is simple, portable, and efficient.
21896 # So, we kill variables containing newlines.
21897 # Ultrix sh set writes to stderr and can't be redirected directly,
21898 # and sets the high bit in the cache file unless we assign to the vars.
21900 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21901 eval ac_val
=\$
$ac_var
21905 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21906 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21909 _ | IFS | as_nl
) ;; #(
21910 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
21911 *) { eval $ac_var=; unset $ac_var;} ;;
21917 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21918 *${as_nl}ac_space
=\
*)
21919 # `set' does not quote correctly, so add quotes: double-quote
21920 # substitution turns \\\\ into \\, and sed turns \\ into \.
21923 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21926 # `set' quotes correctly as required by POSIX, so do not add quotes.
21927 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21936 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21938 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21940 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21941 if test -w "$cache_file"; then
21942 if test "x$cache_file" != "x/dev/null"; then
21943 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21944 $as_echo "$as_me: updating cache $cache_file" >&6;}
21945 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
21946 cat confcache
>"$cache_file"
21948 case $cache_file in #(
21950 mv -f confcache
"$cache_file"$$
&&
21951 mv -f "$cache_file"$$
"$cache_file" ;; #(
21953 mv -f confcache
"$cache_file" ;;
21958 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21959 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21964 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21965 # Let make expand exec_prefix.
21966 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21968 DEFS
=-DHAVE_CONFIG_H
21973 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21974 # 1. Remove the extension, and $U if already installed.
21975 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21976 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21977 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21978 # will be set to the directory where LIBOBJS objects are built.
21979 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21980 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
21982 LIBOBJS
=$ac_libobjs
21984 LTLIBOBJS
=$ac_ltlibobjs
21987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
21988 $as_echo_n "checking that generated files are newer than configure... " >&6; }
21989 if test -n "$am_sleep_pid"; then
21990 # Hide warnings about reused PIDs.
21991 wait $am_sleep_pid 2>/dev
/null
21993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
21994 $as_echo "done" >&6; }
21995 if test -n "$EXEEXT"; then
21997 am__EXEEXT_FALSE
='#'
21999 am__EXEEXT_TRUE
='#'
22003 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22004 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
22005 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22007 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22008 as_fn_error $?
"conditional \"AMDEP\" was never defined.
22009 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22011 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22012 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22015 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22016 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
22017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
22020 : "${CONFIG_STATUS=./config.status}"
22022 ac_clean_files_save
=$ac_clean_files
22023 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
22024 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22025 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22027 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22029 # Generated by $as_me.
22030 # Run this file to recreate the current configuration.
22031 # Compiler output produced by configure, useful for debugging
22032 # configure, is in config.log if it exists.
22035 ac_cs_recheck=false
22038 SHELL=\${CONFIG_SHELL-$SHELL}
22041 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
22042 ## -------------------- ##
22043 ## M4sh Initialization. ##
22044 ## -------------------- ##
22046 # Be more Bourne compatible
22047 DUALCASE
=1; export DUALCASE
# for MKS sh
22048 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22051 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22052 # is contrary to our usage. Disable this feature.
22053 alias -g '${1+"$@"}'='"$@"'
22054 setopt NO_GLOB_SUBST
22056 case `(set -o) 2>/dev/null` in #(
22068 # Printing a long string crashes Solaris 7 /usr/bin/printf.
22069 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22070 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22071 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22072 # Prefer a ksh shell builtin over an external printf program on Solaris,
22073 # but without wasting forks for bash or zsh.
22074 if test -z "$BASH_VERSION$ZSH_VERSION" \
22075 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22076 as_echo='print
-r --'
22077 as_echo_n='print
-rn --'
22078 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22079 as_echo='printf %s
\n'
22080 as_echo_n='printf %s
'
22082 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22083 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
22084 as_echo_n='/usr
/ucb
/echo -n'
22086 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22087 as_echo_n_body='eval
22091 expr "X$arg" : "X\\(.*\\)$as_nl";
22092 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22094 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
22096 export as_echo_n_body
22097 as_echo_n='sh
-c $as_echo_n_body as_echo
'
22099 export as_echo_body
22100 as_echo='sh
-c $as_echo_body as_echo
'
22103 # The user is always right.
22104 if test "${PATH_SEPARATOR+set}" != set; then
22106 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22107 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22114 # We need space, tab and new line, in precisely that order. Quoting is
22115 # there to prevent editors from complaining about space-tab.
22116 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22117 # splitting by setting IFS to empty value.)
22120 # Find who we are. Look in the path if we contain no directory separator.
22123 *[\\/]* ) as_myself=$0 ;;
22124 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22125 for as_dir in $PATH
22128 test -z "$as_dir" && as_dir=.
22129 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22135 # We did not find ourselves, most probably we were run as `sh COMMAND'
22136 # in which case we are not to be found in the path.
22137 if test "x$as_myself" = x
; then
22140 if test ! -f "$as_myself"; then
22141 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22145 # Unset variables that we do not need and which cause bugs (e.g. in
22146 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22147 # suppresses any "Segmentation fault" message there. '((' could
22148 # trigger a bug in pdksh 5.2.14.
22149 for as_var
in BASH_ENV ENV MAIL MAILPATH
22150 do eval test x\
${$as_var+set} = xset \
22151 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
22164 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
22167 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22168 # ----------------------------------------
22169 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22170 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22171 # script with STATUS, using 1 if that was 0.
22174 as_status
=$1; test $as_status -eq 0 && as_status
=1
22176 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
22177 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22179 $as_echo "$as_me: error: $2" >&2
22180 as_fn_exit
$as_status
22184 # as_fn_set_status STATUS
22185 # -----------------------
22186 # Set $? to STATUS, without forking.
22187 as_fn_set_status
()
22190 } # as_fn_set_status
22192 # as_fn_exit STATUS
22193 # -----------------
22194 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22198 as_fn_set_status
$1
22204 # Portably unset VAR.
22207 { eval $1=; unset $1;}
22209 as_unset
=as_fn_unset
22210 # as_fn_append VAR VALUE
22211 # ----------------------
22212 # Append the text in VALUE to the end of the definition contained in VAR. Take
22213 # advantage of any shell optimizations that allow amortized linear growth over
22214 # repeated appends, instead of the typical quadratic growth present in naive
22216 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
22217 eval 'as_fn_append ()
22228 # as_fn_arith ARG...
22229 # ------------------
22230 # Perform arithmetic evaluation on the ARGs, and store the result in the
22231 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22232 # must be portable across $(()) and expr.
22233 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
22234 eval 'as_fn_arith ()
22241 as_val
=`expr "$@" || test $? -eq 1`
22246 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
22247 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
22253 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22254 as_basename
=basename
22259 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
22265 as_me
=`$as_basename -- "$0" ||
22266 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22267 X"$0" : 'X\(//\)$' \| \
22268 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22270 sed '/^.*\/\([^/][^/]*\)\/*$/{
22284 # Avoid depending upon Character Ranges.
22285 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
22286 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22287 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
22288 as_cr_digits
='0123456789'
22289 as_cr_alnum
=$as_cr_Letters$as_cr_digits
22291 ECHO_C
= ECHO_N
= ECHO_T
=
22292 case `echo -n x` in #(((((
22294 case `echo 'xy\c'` in
22295 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
22297 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
22304 rm -f conf$$ conf$$.exe conf$$.
file
22305 if test -d conf$$.dir
; then
22306 rm -f conf$$.dir
/conf$$.
file
22309 mkdir conf$$.dir
2>/dev
/null
22311 if (echo >conf$$.
file) 2>/dev
/null
; then
22312 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
22314 # ... but there are two gotchas:
22315 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22316 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22317 # In both cases, we have to default to `cp -pR'.
22318 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
22320 elif ln conf$$.
file conf$$
2>/dev
/null
; then
22328 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
22329 rmdir conf$$.dir
2>/dev
/null
22334 # Create "$as_dir" as a directory, including parents if necessary.
22339 -*) as_dir
=.
/$as_dir;;
22341 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
22345 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22346 *) as_qdir
=$as_dir;;
22348 as_dirs
="'$as_qdir' $as_dirs"
22349 as_dir
=`$as_dirname -- "$as_dir" ||
22350 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22351 X"$as_dir" : 'X\(//\)[^/]' \| \
22352 X"$as_dir" : 'X\(//\)$' \| \
22353 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22354 $as_echo X"$as_dir" |
22355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22359 /^X\(\/\/\)[^/].*/{
22372 test -d "$as_dir" && break
22374 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
22375 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
22379 if mkdir
-p .
2>/dev
/null
; then
22380 as_mkdir_p
='mkdir -p "$as_dir"'
22382 test -d .
/-p && rmdir .
/-p
22387 # as_fn_executable_p FILE
22388 # -----------------------
22389 # Test if FILE is an executable regular file.
22390 as_fn_executable_p
()
22392 test -f "$1" && test -x "$1"
22393 } # as_fn_executable_p
22394 as_test_x
='test -x'
22395 as_executable_p
=as_fn_executable_p
22397 # Sed expression to map a string onto a valid CPP name.
22398 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22400 # Sed expression to map a string onto a valid variable name.
22401 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22405 ## ----------------------------------- ##
22406 ## Main body of $CONFIG_STATUS script. ##
22407 ## ----------------------------------- ##
22409 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
22411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22412 # Save the log message, to keep $0 and so on meaningful, and to
22413 # report actual input values of CONFIG_FILES etc. instead of their
22414 # values after options handling.
22416 This file was extended by alpine $as_me 2.21.99999, which was
22417 generated by GNU Autoconf 2.69. Invocation command line was
22419 CONFIG_FILES = $CONFIG_FILES
22420 CONFIG_HEADERS = $CONFIG_HEADERS
22421 CONFIG_LINKS = $CONFIG_LINKS
22422 CONFIG_COMMANDS = $CONFIG_COMMANDS
22425 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22430 case $ac_config_files in *"
22431 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
22434 case $ac_config_headers in *"
22435 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
22439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22440 # Files that config.status was made for.
22441 config_files="$ac_config_files"
22442 config_headers="$ac_config_headers"
22443 config_commands="$ac_config_commands"
22447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22449 \`$as_me' instantiates files and other configuration actions
22450 from templates according to the current configuration. Unless the files
22451 and actions are specified as TAGs, all are instantiated by default.
22453 Usage: $0 [OPTION]... [TAG]...
22455 -h, --help print this help, then exit
22456 -V, --version print version number and configuration settings, then exit
22457 --config print configuration, then exit
22458 -q, --quiet, --silent
22459 do not print progress messages
22460 -d, --debug don't remove temporary files
22461 --recheck update $as_me by reconfiguring in the same conditions
22462 --file=FILE[:TEMPLATE]
22463 instantiate the configuration file FILE
22464 --header=FILE[:TEMPLATE]
22465 instantiate the configuration header FILE
22467 Configuration files:
22470 Configuration headers:
22473 Configuration commands:
22476 Report bugs to <chappa@washington.edu>."
22479 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22480 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22482 alpine config.status 2.21.99999
22483 configured by $0, generated by GNU Autoconf 2.69,
22484 with options \\"\$ac_cs_config\\"
22486 Copyright (C) 2012 Free Software Foundation, Inc.
22487 This config.status script is free software; the Free Software Foundation
22488 gives unlimited permission to copy, distribute and modify it."
22495 test -n "\$AWK" || AWK=awk
22498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22499 # The default lists apply if the user does not specify any file.
22505 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22506 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
22510 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
22522 # Handling of the options.
22523 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
22525 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
22526 $as_echo "$ac_cs_version"; exit ;;
22527 --config |
--confi |
--conf |
--con |
--co |
--c )
22528 $as_echo "$ac_cs_config"; exit ;;
22529 --debug |
--debu |
--deb |
--de |
--d |
-d )
22531 --file |
--fil |
--fi |
--f )
22534 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22535 '') as_fn_error $?
"missing file argument" ;;
22537 as_fn_append CONFIG_FILES
" '$ac_optarg'"
22538 ac_need_defaults
=false
;;
22539 --header |
--heade |
--head |
--hea )
22542 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22544 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
22545 ac_need_defaults
=false
;;
22547 # Conflict between --help and --header
22548 as_fn_error $?
"ambiguous option: \`$1'
22549 Try \`$0 --help' for more information.";;
22550 --help |
--hel |
-h )
22551 $as_echo "$ac_cs_usage"; exit ;;
22552 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
22553 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
22556 # This is an error.
22557 -*) as_fn_error $?
"unrecognized option: \`$1'
22558 Try \`$0 --help' for more information." ;;
22560 *) as_fn_append ac_config_targets
" $1"
22561 ac_need_defaults
=false
;;
22567 ac_configure_extra_args
=
22569 if $ac_cs_silent; then
22571 ac_configure_extra_args
="$ac_configure_extra_args --silent"
22575 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22576 if \$ac_cs_recheck; then
22577 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22579 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22580 CONFIG_SHELL='$SHELL'
22581 export CONFIG_SHELL
22586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22590 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22591 ## Running $as_me. ##
22597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22601 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22604 # The HP-UX ksh and POSIX shell print the target directory to stdout
22605 # if CDPATH is set.
22606 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22608 sed_quote_subst='$sed_quote_subst'
22609 double_quote_subst='$double_quote_subst'
22610 delay_variable_subst='$delay_variable_subst'
22611 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22612 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22613 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22614 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22615 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22616 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22617 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22618 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22619 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22620 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22621 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22622 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22623 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22624 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22625 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22626 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22627 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22628 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22629 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22630 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22631 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22632 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22633 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22634 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22635 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22636 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22637 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22638 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22639 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22640 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22641 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22642 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22643 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22644 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22645 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22646 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22647 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22648 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22649 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22650 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22651 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22652 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22653 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22654 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22655 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22656 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22657 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22658 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22659 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22660 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22661 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22662 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22663 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22664 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22665 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22666 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22667 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
22668 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22669 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22670 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22671 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22672 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22673 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22674 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22675 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22676 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22677 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22678 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22679 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22680 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22681 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22682 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22683 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22684 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22685 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22686 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22687 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22688 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22689 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22690 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22691 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22692 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22693 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22694 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22695 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22696 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22697 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22698 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22699 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22700 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22701 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22702 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22703 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22704 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22705 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22706 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22707 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22708 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22709 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22710 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22711 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22712 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22713 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22714 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22715 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22716 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22717 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22718 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22719 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22720 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22721 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22722 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22723 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22724 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22725 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22726 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22727 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22728 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22729 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22730 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22731 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22732 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22733 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22734 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
22735 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22736 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22737 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22738 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22739 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22740 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22743 LTCFLAGS='$LTCFLAGS'
22744 compiler='$compiler_DEFAULT'
22746 # A function that is used when there is no print builtin or printf.
22747 func_fallback_echo ()
22749 eval 'cat <<_LTECHO_EOF
22754 # Quote evaled strings.
22769 deplibs_check_method \
22774 sharedlib_from_linklib_cmd \
22777 archiver_list_spec \
22783 lt_cv_sys_global_symbol_pipe \
22784 lt_cv_sys_global_symbol_to_cdecl \
22785 lt_cv_sys_global_symbol_to_c_name_address \
22786 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22787 nm_file_list_spec \
22788 lt_prog_compiler_no_builtin_flag \
22789 lt_prog_compiler_pic \
22790 lt_prog_compiler_wl \
22791 lt_prog_compiler_static \
22792 lt_cv_prog_compiler_c_o \
22801 export_dynamic_flag_spec \
22802 whole_archive_flag_spec \
22803 compiler_needs_object \
22805 allow_undefined_flag \
22806 no_undefined_flag \
22807 hardcode_libdir_flag_spec \
22808 hardcode_libdir_separator \
22812 variables_saved_for_relink \
22814 library_names_spec \
22816 install_override_mode \
22820 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22821 *[\\\\\\\`\\"\\\$]*)
22822 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
22825 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22830 # Double-quote double-evaled strings.
22831 for var in reload_cmds \
22832 old_postinstall_cmds \
22833 old_postuninstall_cmds \
22835 extract_expsyms_cmds \
22836 old_archive_from_new_cmds \
22837 old_archive_from_expsyms_cmds \
22839 archive_expsym_cmds \
22841 module_expsym_cmds \
22842 export_symbols_cmds \
22846 postuninstall_cmds \
22848 sys_lib_search_path_spec \
22849 sys_lib_dlsearch_path_spec; do
22850 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22851 *[\\\\\\\`\\"\\\$]*)
22852 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
22855 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22860 ac_aux_dir='$ac_aux_dir'
22861 xsi_shell='$xsi_shell'
22862 lt_shell_append='$lt_shell_append'
22864 # See if we are running on zsh, and set the options which allow our
22865 # commands through without removal of \ escapes INIT.
22866 if test -n "\${ZSH_VERSION+set}" ; then
22867 setopt NO_GLOB_SUBST
22873 TIMESTAMP='$TIMESTAMP'
22879 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
22880 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
22881 # from automake < 1.5.
22882 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
22883 # Capture the value of LINGUAS because we need it to compute CATALOGS.
22884 LINGUAS="${LINGUAS-%UNSET%}"
22889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22891 # Handling of arguments.
22892 for ac_config_target
in $ac_config_targets
22894 case $ac_config_target in
22895 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
22896 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22897 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22898 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
22899 "m4/Makefile") CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
22900 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
22901 "$REGEX_MAKEFILE") CONFIG_FILES
="$CONFIG_FILES $REGEX_MAKEFILE" ;;
22902 "pith/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/osdep/Makefile" ;;
22903 "pith/charconv/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/charconv/Makefile" ;;
22904 "pith/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/Makefile" ;;
22905 "pico/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/osdep/Makefile" ;;
22906 "pico/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/Makefile" ;;
22907 "alpine/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/osdep/Makefile" ;;
22908 "alpine/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/Makefile" ;;
22909 "web/src/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/Makefile" ;;
22910 "web/src/pubcookie/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/pubcookie/Makefile" ;;
22911 "web/src/alpined.d/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/alpined.d/Makefile" ;;
22912 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22914 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22919 # If the user did not use the arguments to specify the items to instantiate,
22920 # then the envvar interface is used. Set only those that are not.
22921 # We use the long form for the default assignment because of an extremely
22922 # bizarre bug on SunOS 4.1.3.
22923 if $ac_need_defaults; then
22924 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22925 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22926 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22929 # Have a temporary directory for convenience. Make it in the build tree
22930 # simply because there is no reason against having it here, and in addition,
22931 # creating and moving files from /tmp can sometimes cause problems.
22932 # Hook for its removal unless debugging.
22933 # Note that there is a small window in which the directory will not be cleaned:
22934 # after its creation but before its name has been assigned to `$tmp'.
22938 trap 'exit_status=$?
22939 : "${ac_tmp:=$tmp}"
22940 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22942 trap 'as_fn_exit 1' 1 2 13 15
22944 # Create a (secure) tmp directory for tmp files.
22947 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22951 tmp
=.
/conf$$
-$RANDOM
22952 (umask 077 && mkdir
"$tmp")
22953 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
22956 # Set up the scripts for CONFIG_FILES section.
22957 # No need to generate them if there are no CONFIG_FILES.
22958 # This happens for instance with `./config.status config.h'.
22959 if test -n "$CONFIG_FILES"; then
22962 ac_cr
=`echo X | tr X '\015'`
22963 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22964 # But we know of no other shell where ac_cr would be empty at this
22965 # point, so we can use a bashism as a fallback.
22966 if test "x$ac_cr" = x
; then
22967 eval ac_cr
=\$
\'\\r
\'
22969 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22970 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22973 ac_cs_awk_cr
=$ac_cr
22976 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22981 echo "cat >conf$$subs.awk <<_ACEOF" &&
22982 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22984 } >conf$$subs.sh ||
22985 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22986 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22988 for ac_last_try in false false false false false :; do
22989 . ./conf$$subs.sh ||
22990 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22992 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22993 if test $ac_delim_n = $ac_delim_num; then
22995 elif $ac_last_try; then
22996 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22998 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23001 rm -f conf$$subs.sh
23003 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23004 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
23008 s/^/S["/; s
/!.
*/"]=/
23018 s/\(.\{148\}\)..*/\1/
23020 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
23025 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23032 s/\(.\{148\}\)..*/\1/
23034 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
23038 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
23043 ' <conf$$subs.awk | sed '
23048 ' >>$CONFIG_STATUS || ac_write_fail=1
23049 rm -f conf$$subs.awk
23050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23052 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
23053 for (key in S) S_is_set[key] = 1
23059 nfields = split(line, field, "@
")
23061 len = length(field[1])
23062 for (i = 2; i < nfields; i++) {
23064 keylen = length(key)
23065 if (S_is_set[key]) {
23067 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23068 len += length(value) + length(field[++i])
23079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23080 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23081 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
23084 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
23085 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
23088 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23089 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
23090 # trailing colons and then remove the whole line if VPATH becomes empty
23091 # (actually we leave an empty line to preserve line numbers).
23092 if test "x
$srcdir" = x.; then
23093 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23112 fi # test -n "$CONFIG_FILES"
23114 # Set up the scripts for CONFIG_HEADERS section.
23115 # No need to generate them if there are no CONFIG_HEADERS.
23116 # This happens for instance with `./config.status Makefile'.
23117 if test -n "$CONFIG_HEADERS"; then
23118 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
23122 # Transform confdefs.h into an awk script `defines.awk', embedded as
23123 # here-document in config.status, that substitutes the proper values into
23124 # config.h.in to produce config.h.
23126 # Create a delimiter string that does not exist in confdefs.h, to ease
23127 # handling of long lines.
23129 for ac_last_try in false false :; do
23130 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
23131 if test -z "$ac_tt"; then
23133 elif $ac_last_try; then
23134 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
23136 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
23140 # For the awk script, D is an array of macro values keyed by name,
23141 # likewise P contains macro parameters if any. Preserve backslash
23142 # newline sequences.
23144 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23146 s/.\{148\}/&'"$ac_delim"'/g
23149 s/^[ ]*#[ ]*define[ ][ ]*/ /
23156 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
23158 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
23162 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
23163 D["\
1"]=" \
3\\\\\\n
"\\/p
23165 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
23170 s/.\{148\}/&'"$ac_delim"'/g
23175 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
23178 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
23180 ' <confdefs.h | sed '
23181 s/'"$ac_delim"'/"\\\
23182 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23185 for (key in D) D_is_set[key] = 1
23188 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23190 split(line, arg, " ")
23191 if (arg[1] == "#") {
23195 defundef
= substr
(arg
[1], 2)
23198 split(mac1
, mac2
, "(") #)
23200 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
23201 if (D_is_set
[macro
]) {
23202 # Preserve the white space surrounding the "#".
23203 print prefix
"define", macro P
[macro
] D
[macro
]
23206 # Replace #undef with comments. This is necessary, for example,
23207 # in the case of _POSIX_SOURCE, which is predefined and required
23208 # on some systems where configure will not decide to define it.
23209 if (defundef
== "undef") {
23210 print
"/*", prefix defundef
, macro
, "*/"
23218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23219 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
23220 fi # test -n "$CONFIG_HEADERS"
23223 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23228 :[FHLC
]) ac_mode
=$ac_tag; continue;;
23230 case $ac_mode$ac_tag in
23232 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
23233 :[FH
]-) ac_tag
=-:-;;
23234 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
23251 -) ac_f
="$ac_tmp/stdin";;
23252 *) # Look for the file first in the build tree, then in the source tree
23253 # (if the path is not absolute). The absolute path cannot be DOS-style,
23254 # because $ac_f cannot contain `:'.
23258 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
23260 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23262 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23263 as_fn_append ac_file_inputs
" '$ac_f'"
23266 # Let's still pretend it is `configure' which instantiates (i.e., don't
23267 # use $as_me), people would be surprised to read:
23268 # /* config.h. Generated by config.status. */
23269 configure_input
='Generated from '`
23270 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23272 if test x
"$ac_file" != x-
; then
23273 configure_input
="$ac_file. $configure_input"
23274 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23275 $as_echo "$as_me: creating $ac_file" >&6;}
23277 # Neutralize special characters interpreted by sed in replacement strings.
23278 case $configure_input in #(
23279 *\
&* |
*\|
* |
*\\* )
23280 ac_sed_conf_input
=`$as_echo "$configure_input" |
23281 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23282 *) ac_sed_conf_input
=$configure_input;;
23286 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
23287 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
23292 ac_dir
=`$as_dirname -- "$ac_file" ||
23293 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23294 X"$ac_file" : 'X\(//\)[^/]' \| \
23295 X"$ac_file" : 'X\(//\)$' \| \
23296 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23297 $as_echo X"$ac_file" |
23298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23302 /^X\(\/\/\)[^/].*/{
23315 as_dir
="$ac_dir"; as_fn_mkdir_p
23319 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23321 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23322 # A ".." for each directory in $ac_dir_suffix.
23323 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23324 case $ac_top_builddir_sub in
23325 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
23326 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
23329 ac_abs_top_builddir
=$ac_pwd
23330 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
23331 # for backward compatibility:
23332 ac_top_builddir
=$ac_top_build_prefix
23335 .
) # We are building in place.
23337 ac_top_srcdir
=$ac_top_builddir_sub
23338 ac_abs_top_srcdir
=$ac_pwd ;;
23339 [\\/]* | ?
:[\\/]* ) # Absolute name.
23340 ac_srcdir
=$srcdir$ac_dir_suffix;
23341 ac_top_srcdir
=$srcdir
23342 ac_abs_top_srcdir
=$srcdir ;;
23343 *) # Relative name.
23344 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
23345 ac_top_srcdir
=$ac_top_build_prefix$srcdir
23346 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
23348 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
23358 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
23359 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
23361 ac_MKDIR_P
=$MKDIR_P
23363 [\\/$
]* | ?
:[\\/]* ) ;;
23364 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
23368 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23369 # If the template does not know about datarootdir, expand it.
23370 # FIXME: This hack should be removed a few years after 2.60.
23371 ac_datarootdir_hack
=; ac_datarootdir_seen
=
23382 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23383 *datarootdir
*) ac_datarootdir_seen
=yes;;
23384 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
23385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23386 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23389 ac_datarootdir_hack='
23390 s&@datadir@&$datadir&g
23391 s&@docdir@&$docdir&g
23392 s&@infodir@&$infodir&g
23393 s&@localedir@&$localedir&g
23394 s&@mandir@&$mandir&g
23395 s&\\\${datarootdir}&$datarootdir&g' ;;
23399 # Neutralize VPATH when `$srcdir' = `.'.
23400 # Shell code in configure.ac might set extrasub.
23401 # FIXME: do we really want to maintain this feature?
23402 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23403 ac_sed_extra="$ac_vpsub
23406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
23408 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
23409 s|@configure_input@|
$ac_sed_conf_input|
;t t
23410 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
23411 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
23412 s
&@srcdir@
&$ac_srcdir&;t t
23413 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
23414 s
&@top_srcdir@
&$ac_top_srcdir&;t t
23415 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
23416 s
&@builddir@
&$ac_builddir&;t t
23417 s
&@abs_builddir@
&$ac_abs_builddir&;t t
23418 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
23419 s
&@INSTALL@
&$ac_INSTALL&;t t
23420 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
23421 $ac_datarootdir_hack
23423 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
23424 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
23426 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23427 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
23428 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23429 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
23430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
23431 which seems to be undefined. Please make sure it is defined" >&5
23432 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
23433 which seems to be undefined. Please make sure it is defined" >&2;}
23435 rm -f "$ac_tmp/stdin"
23437 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23438 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23440 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23446 if test x"$ac_file" != x-; then
23448 $as_echo "/* $configure_input */" \
23449 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23450 } >"$ac_tmp/config.h" \
23451 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23452 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23453 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23454 $as_echo "$as_me: $ac_file is unchanged" >&6;}
23457 mv "$ac_tmp/config.h" "$ac_file" \
23458 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23461 $as_echo "/* $configure_input */" \
23462 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23463 || as_fn_error $? "could not create -" "$LINENO" 5
23465 # Compute "$ac_file"'s index
in $config_headers.
23468 for _am_header
in $config_headers :; do
23469 case $_am_header in
23470 $_am_arg |
$_am_arg:* )
23473 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
23476 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23477 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23478 X"$_am_arg" : 'X\(//\)[^/]' \| \
23479 X"$_am_arg" : 'X\(//\)$' \| \
23480 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23481 $as_echo X"$_am_arg" |
23482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23486 /^X\(\/\/\)[^/].*/{
23498 s/.*/./; q'`/stamp-h
$_am_stamp_count
23501 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23502 $as_echo "$as_me: executing $ac_file commands" >&6;}
23507 case $ac_file$ac_mode in
23508 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
23509 # Older Autoconf quotes --file arguments for eval, but not when files
23510 # are listed without --file. Let's play safe and only enable the eval
23511 # if we detect the quoting.
23512 case $CONFIG_FILES in
23513 *\'*) eval set x
"$CONFIG_FILES" ;;
23514 *) set x
$CONFIG_FILES ;;
23519 # Strip MF so we end up with the name of the file.
23520 mf
=`echo "$mf" | sed -e 's/:.*$//'`
23521 # Check whether this is an Automake generated Makefile or not.
23522 # We used to match only the files named 'Makefile.in', but
23523 # some people rename them; so instead we look at the file content.
23524 # Grep'ing the first line is not enough: some people post-process
23525 # each Makefile.in and add a new line on top of each file to say so.
23526 # Grep'ing the whole file is not good either: AIX grep has a line
23527 # limit of 2048, but all sed's we know have understand at least 4000.
23528 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
23529 dirpart
=`$as_dirname -- "$mf" ||
23530 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23531 X"$mf" : 'X\(//\)[^/]' \| \
23532 X"$mf" : 'X\(//\)$' \| \
23533 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23539 /^X\(\/\/\)[^/].*/{
23555 # Extract the definition of DEPDIR, am__include, and am__quote
23556 # from the Makefile without running 'make'.
23557 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
23558 test -z "$DEPDIR" && continue
23559 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
23560 test -z "$am__include" && continue
23561 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
23562 # Find all dependency output files, they are included files with
23563 # $(DEPDIR) in their names. We invoke sed twice because it is the
23564 # simplest approach to changing $(DEPDIR) to its actual value in the
23566 for file in `sed -n "
23567 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23568 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23569 # Make sure the directory exists.
23570 test -f "$dirpart/$file" && continue
23571 fdir
=`$as_dirname -- "$file" ||
23572 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23573 X"$file" : 'X\(//\)[^/]' \| \
23574 X"$file" : 'X\(//\)$' \| \
23575 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23576 $as_echo X"$file" |
23577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23581 /^X\(\/\/\)[^/].*/{
23594 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
23595 # echo "creating $dirpart/$file"
23596 echo '# dummy' > "$dirpart/$file"
23603 # See if we are running on zsh, and set the options which allow our
23604 # commands through without removal of \ escapes.
23605 if test -n "${ZSH_VERSION+set}" ; then
23606 setopt NO_GLOB_SUBST
23609 cfgfile
="${ofile}T"
23610 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23613 cat <<_LT_EOF >> "$cfgfile"
23616 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
23617 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
23618 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23619 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
23621 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23622 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
23624 # Written by Gordon Matzigkeit, 1996
23626 # This file is part of GNU Libtool.
23628 # GNU Libtool is free software; you can redistribute it and/or
23629 # modify it under the terms of the GNU General Public License as
23630 # published by the Free Software Foundation; either version 2 of
23631 # the License, or (at your option) any later version.
23633 # As a special exception to the GNU General Public License,
23634 # if you distribute this file as part of a program or library that
23635 # is built using GNU Libtool, you may include this file under the
23636 # same distribution terms that you use for the rest of that program.
23638 # GNU Libtool is distributed in the hope that it will be useful,
23639 # but WITHOUT ANY WARRANTY; without even the implied warranty of
23640 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23641 # GNU General Public License for more details.
23643 # You should have received a copy of the GNU General Public License
23644 # along with GNU Libtool; see the file COPYING. If not, a copy
23645 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
23646 # obtained by writing to the Free Software Foundation, Inc.,
23647 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23650 # The names of the tagged configurations supported by this script.
23653 # ### BEGIN LIBTOOL CONFIG
23655 # Which release of libtool.m4 was used?
23656 macro_version=$macro_version
23657 macro_revision=$macro_revision
23659 # Whether or not to build shared libraries.
23660 build_libtool_libs=$enable_shared
23662 # Whether or not to build static libraries.
23663 build_old_libs=$enable_static
23665 # What type of objects to build.
23668 # Whether or not to optimize for fast installation.
23669 fast_install=$enable_fast_install
23671 # Shell to use when invoking shell scripts.
23674 # An echo program that protects backslashes.
23677 # The PATH separator for the build system.
23678 PATH_SEPARATOR=$lt_PATH_SEPARATOR
23681 host_alias=$host_alias
23685 # The build system.
23686 build_alias=$build_alias
23690 # A sed program that does not truncate output.
23693 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
23694 Xsed="\$SED -e 1s/^X//"
23696 # A grep program that handles long lines.
23702 # A literal string matcher.
23705 # A BSD- or MS-compatible name lister.
23708 # Whether we need soft or hard links.
23711 # What is the maximum length of a command?
23712 max_cmd_len=$max_cmd_len
23714 # Object file suffix (normally "o").
23717 # Executable file suffix (normally "").
23720 # whether the shell understands "unset".
23723 # turn spaces into newlines.
23726 # turn newlines into spaces.
23729 # convert \$build file names to \$host format.
23730 to_host_file_cmd=$lt_cv_to_host_file_cmd
23732 # convert \$build files to toolchain format.
23733 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23735 # An object symbol dumper.
23736 OBJDUMP=$lt_OBJDUMP
23738 # Method to check whether dependent libraries are shared objects.
23739 deplibs_check_method=$lt_deplibs_check_method
23741 # Command to use when deplibs_check_method = "file_magic".
23742 file_magic_cmd=$lt_file_magic_cmd
23744 # How to find potential files when deplibs_check_method = "file_magic".
23745 file_magic_glob=$lt_file_magic_glob
23747 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23748 want_nocaseglob=$lt_want_nocaseglob
23750 # DLL creation program.
23751 DLLTOOL=$lt_DLLTOOL
23753 # Command to associate shared and link libraries.
23754 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
23759 # Flags to create an archive.
23760 AR_FLAGS=$lt_AR_FLAGS
23762 # How to feed a file listing to the archiver.
23763 archiver_list_spec=$lt_archiver_list_spec
23765 # A symbol stripping program.
23768 # Commands used to install an old-style archive.
23770 old_postinstall_cmds=$lt_old_postinstall_cmds
23771 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23773 # Whether to use a lock for old archive extraction.
23774 lock_old_archive_extraction=$lock_old_archive_extraction
23779 # LTCC compiler flags.
23780 LTCFLAGS=$lt_CFLAGS
23782 # Take the output of nm and produce a listing of raw symbols and C names.
23783 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23785 # Transform the output of nm in a proper C declaration.
23786 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23788 # Transform the output of nm in a C name address pair.
23789 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23791 # Transform the output of nm in a C name address pair when lib prefix is needed.
23792 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23794 # Specify filename containing input files for \$NM.
23795 nm_file_list_spec=$lt_nm_file_list_spec
23797 # The root where to search for dependent libraries,and in which our libraries should be installed.
23798 lt_sysroot=$lt_sysroot
23800 # The name of the directory that contains temporary libtool files.
23803 # Used to examine libraries when file_magic_cmd begins with "file".
23804 MAGIC_CMD=$MAGIC_CMD
23806 # Must we lock files when doing compilation?
23807 need_locks=$lt_need_locks
23810 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23812 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23813 DSYMUTIL=$lt_DSYMUTIL
23815 # Tool to change global to local symbols on Mac OS X.
23818 # Tool to manipulate fat objects and archives on Mac OS X.
23821 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23824 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23825 OTOOL64=$lt_OTOOL64
23827 # Old archive suffix (normally "a").
23830 # Shared library suffix (normally ".so").
23831 shrext_cmds=$lt_shrext_cmds
23833 # The commands to extract the exported symbol list from a shared archive.
23834 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23836 # Variables whose values should be saved in libtool wrapper scripts and
23837 # restored at link time.
23838 variables_saved_for_relink=$lt_variables_saved_for_relink
23840 # Do we need the "lib" prefix for modules?
23841 need_lib_prefix=$need_lib_prefix
23843 # Do we need a version for libraries?
23844 need_version=$need_version
23846 # Library versioning type.
23847 version_type=$version_type
23849 # Shared library runtime path variable.
23850 runpath_var=$runpath_var
23852 # Shared library path variable.
23853 shlibpath_var=$shlibpath_var
23855 # Is shlibpath searched before the hard-coded library search path?
23856 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23858 # Format of library name prefix.
23859 libname_spec=$lt_libname_spec
23861 # List of archive names. First name is the real one, the rest are links.
23862 # The last name is the one that the linker finds with -lNAME
23863 library_names_spec=$lt_library_names_spec
23865 # The coded name of the library, if different from the real name.
23866 soname_spec=$lt_soname_spec
23868 # Permission mode override for installation of shared libraries.
23869 install_override_mode=$lt_install_override_mode
23871 # Command to use after installation of a shared archive.
23872 postinstall_cmds=$lt_postinstall_cmds
23874 # Command to use after uninstallation of a shared archive.
23875 postuninstall_cmds=$lt_postuninstall_cmds
23877 # Commands used to finish a libtool library installation in a directory.
23878 finish_cmds=$lt_finish_cmds
23880 # As "finish_cmds", except a single script fragment to be evaled but
23882 finish_eval=$lt_finish_eval
23884 # Whether we should hardcode library paths into libraries.
23885 hardcode_into_libs=$hardcode_into_libs
23887 # Compile-time system search path for libraries.
23888 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23890 # Run-time system search path for libraries.
23891 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23893 # Whether dlopen is supported.
23894 dlopen_support=$enable_dlopen
23896 # Whether dlopen of programs is supported.
23897 dlopen_self=$enable_dlopen_self
23899 # Whether dlopen of statically linked programs is supported.
23900 dlopen_self_static=$enable_dlopen_self_static
23902 # Commands to strip libraries.
23903 old_striplib=$lt_old_striplib
23904 striplib=$lt_striplib
23907 # The linker used to build libraries.
23910 # How to create reloadable object files.
23911 reload_flag=$lt_reload_flag
23912 reload_cmds=$lt_reload_cmds
23914 # Commands used to build an old-style archive.
23915 old_archive_cmds=$lt_old_archive_cmds
23917 # A language specific compiler.
23920 # Is the compiler the GNU compiler?
23923 # Compiler flag to turn off builtin functions.
23924 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23926 # Additional compiler flags for building library objects.
23927 pic_flag=$lt_lt_prog_compiler_pic
23929 # How to pass a linker flag through the compiler.
23930 wl=$lt_lt_prog_compiler_wl
23932 # Compiler flag to prevent dynamic linking.
23933 link_static_flag=$lt_lt_prog_compiler_static
23935 # Does compiler simultaneously support -c and -o options?
23936 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23938 # Whether or not to add -lc for building shared libraries.
23939 build_libtool_need_lc=$archive_cmds_need_lc
23941 # Whether or not to disallow shared libs when runtime libs are static.
23942 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23944 # Compiler flag to allow reflexive dlopens.
23945 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23947 # Compiler flag to generate shared objects directly from archives.
23948 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23950 # Whether the compiler copes with passing no objects directly.
23951 compiler_needs_object=$lt_compiler_needs_object
23953 # Create an old-style archive from a shared archive.
23954 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23956 # Create a temporary old-style archive to link instead of a shared archive.
23957 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23959 # Commands used to build a shared archive.
23960 archive_cmds=$lt_archive_cmds
23961 archive_expsym_cmds=$lt_archive_expsym_cmds
23963 # Commands used to build a loadable module if different from building
23964 # a shared archive.
23965 module_cmds=$lt_module_cmds
23966 module_expsym_cmds=$lt_module_expsym_cmds
23968 # Whether we are building with GNU ld or not.
23969 with_gnu_ld=$lt_with_gnu_ld
23971 # Flag that allows shared libraries with undefined symbols to be built.
23972 allow_undefined_flag=$lt_allow_undefined_flag
23974 # Flag that enforces no undefined symbols.
23975 no_undefined_flag=$lt_no_undefined_flag
23977 # Flag to hardcode \$libdir into a binary during linking.
23978 # This must work even if \$libdir does not exist
23979 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23981 # Whether we need a single "-rpath" flag with a separated argument.
23982 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23984 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23985 # DIR into the resulting binary.
23986 hardcode_direct=$hardcode_direct
23988 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23989 # DIR into the resulting binary and the resulting library dependency is
23990 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23991 # library is relocated.
23992 hardcode_direct_absolute=$hardcode_direct_absolute
23994 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23995 # into the resulting binary.
23996 hardcode_minus_L=$hardcode_minus_L
23998 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23999 # into the resulting binary.
24000 hardcode_shlibpath_var=$hardcode_shlibpath_var
24002 # Set to "yes" if building a shared library automatically hardcodes DIR
24003 # into the library and all subsequent libraries and executables linked
24005 hardcode_automatic=$hardcode_automatic
24007 # Set to yes if linker adds runtime paths of dependent libraries
24008 # to runtime path list.
24009 inherit_rpath=$inherit_rpath
24011 # Whether libtool must link a program against all its dependency libraries.
24012 link_all_deplibs=$link_all_deplibs
24014 # Set to "yes" if exported symbols are required.
24015 always_export_symbols=$always_export_symbols
24017 # The commands to list exported symbols.
24018 export_symbols_cmds=$lt_export_symbols_cmds
24020 # Symbols that should not be listed in the preloaded symbols.
24021 exclude_expsyms=$lt_exclude_expsyms
24023 # Symbols that must always be exported.
24024 include_expsyms=$lt_include_expsyms
24026 # Commands necessary for linking programs (against libraries) with templates.
24027 prelink_cmds=$lt_prelink_cmds
24029 # Commands necessary for finishing linking programs.
24030 postlink_cmds=$lt_postlink_cmds
24032 # Specify filename containing input files.
24033 file_list_spec=$lt_file_list_spec
24035 # How to hardcode a shared library path into an executable.
24036 hardcode_action=$hardcode_action
24038 # ### END LIBTOOL CONFIG
24044 cat <<\_LT_EOF
>> "$cfgfile"
24045 # AIX sometimes has problems with the GCC collect2 program. For some
24046 # reason, if we set the COLLECT_NAMES environment variable, the problems
24047 # vanish in a puff of smoke.
24048 if test "X${COLLECT_NAMES+set}" != Xset
; then
24050 export COLLECT_NAMES
24057 ltmain
="$ac_aux_dir/ltmain.sh"
24060 # We use sed instead of cat because bash on DJGPP gets confused if
24061 # if finds mixed CR/LF and LF-only lines. Since sed operates in
24062 # text mode, it properly converts lines to CR/LF. This bash problem
24063 # is reportedly fixed, but why not run on old versions too?
24064 sed '$q' "$ltmain" >> "$cfgfile" \
24065 ||
(rm -f "$cfgfile"; exit 1)
24067 if test x
"$xsi_shell" = xyes
; then
24068 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
24072 \ */*) func_dirname_result="${1%/*}${2}" ;;\
24073 \ * ) func_dirname_result="${3}" ;;\
24075 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
24076 && mv -f "$cfgfile.tmp" "$cfgfile" \
24077 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24078 test 0 -eq $? || _lt_function_replace_fail
=:
24081 sed -e '/^func_basename ()$/,/^} # func_basename /c\
24084 \ func_basename_result="${1##*/}"\
24085 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
24086 && mv -f "$cfgfile.tmp" "$cfgfile" \
24087 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24088 test 0 -eq $? || _lt_function_replace_fail
=:
24091 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
24092 func_dirname_and_basename ()\
24095 \ */*) func_dirname_result="${1%/*}${2}" ;;\
24096 \ * ) func_dirname_result="${3}" ;;\
24098 \ func_basename_result="${1##*/}"\
24099 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
24100 && mv -f "$cfgfile.tmp" "$cfgfile" \
24101 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24102 test 0 -eq $? || _lt_function_replace_fail
=:
24105 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
24108 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
24109 \ # positional parameters, so assign one to ordinary parameter first.\
24110 \ func_stripname_result=${3}\
24111 \ func_stripname_result=${func_stripname_result#"${1}"}\
24112 \ func_stripname_result=${func_stripname_result%"${2}"}\
24113 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
24114 && mv -f "$cfgfile.tmp" "$cfgfile" \
24115 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24116 test 0 -eq $? || _lt_function_replace_fail
=:
24119 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
24120 func_split_long_opt ()\
24122 \ func_split_long_opt_name=${1%%=*}\
24123 \ func_split_long_opt_arg=${1#*=}\
24124 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
24125 && mv -f "$cfgfile.tmp" "$cfgfile" \
24126 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24127 test 0 -eq $? || _lt_function_replace_fail
=:
24130 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
24131 func_split_short_opt ()\
24133 \ func_split_short_opt_arg=${1#??}\
24134 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
24135 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
24136 && mv -f "$cfgfile.tmp" "$cfgfile" \
24137 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24138 test 0 -eq $? || _lt_function_replace_fail
=:
24141 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
24145 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
24146 \ *) func_lo2o_result=${1} ;;\
24148 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
24149 && mv -f "$cfgfile.tmp" "$cfgfile" \
24150 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24151 test 0 -eq $? || _lt_function_replace_fail
=:
24154 sed -e '/^func_xform ()$/,/^} # func_xform /c\
24157 func_xform_result=${1%.*}.lo\
24158 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
24159 && mv -f "$cfgfile.tmp" "$cfgfile" \
24160 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24161 test 0 -eq $? || _lt_function_replace_fail
=:
24164 sed -e '/^func_arith ()$/,/^} # func_arith /c\
24167 func_arith_result=$(( $* ))\
24168 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
24169 && mv -f "$cfgfile.tmp" "$cfgfile" \
24170 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24171 test 0 -eq $? || _lt_function_replace_fail
=:
24174 sed -e '/^func_len ()$/,/^} # func_len /c\
24177 func_len_result=${#1}\
24178 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
24179 && mv -f "$cfgfile.tmp" "$cfgfile" \
24180 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24181 test 0 -eq $? || _lt_function_replace_fail
=:
24185 if test x
"$lt_shell_append" = xyes
; then
24186 sed -e '/^func_append ()$/,/^} # func_append /c\
24189 eval "${1}+=\\${2}"\
24190 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
24191 && mv -f "$cfgfile.tmp" "$cfgfile" \
24192 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24193 test 0 -eq $? || _lt_function_replace_fail
=:
24196 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
24197 func_append_quoted ()\
24199 \ func_quote_for_eval "${2}"\
24200 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
24201 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
24202 && mv -f "$cfgfile.tmp" "$cfgfile" \
24203 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24204 test 0 -eq $? || _lt_function_replace_fail
=:
24207 # Save a `func_append' function call where possible by direct use of '+='
24208 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
24209 && mv -f "$cfgfile.tmp" "$cfgfile" \
24210 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24211 test 0 -eq $? || _lt_function_replace_fail
=:
24213 # Save a `func_append' function call even when '+=' is not available
24214 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
24215 && mv -f "$cfgfile.tmp" "$cfgfile" \
24216 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24217 test 0 -eq $? || _lt_function_replace_fail
=:
24220 if test x
"$_lt_function_replace_fail" = x
":"; then
24221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
24222 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
24226 mv -f "$cfgfile" "$ofile" ||
24227 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24231 "po-directories":C
)
24232 for ac_file
in $CONFIG_FILES; do
24233 # Support "outfile[:infile[:infile...]]"
24235 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
24237 # PO directories have a Makefile.in generated from Makefile.in.in.
24238 case "$ac_file" in */Makefile.
in)
24239 # Adjust a relative srcdir.
24240 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
24241 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
24242 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
24243 # In autoconf-2.13 it is called $ac_given_srcdir.
24244 # In autoconf-2.50 it is called $srcdir.
24245 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
24246 case "$ac_given_srcdir" in
24247 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
24248 /*) top_srcdir
="$ac_given_srcdir" ;;
24249 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
24251 # Treat a directory as a PO directory if and only if it has a
24252 # POTFILES.in file. This allows packages to have multiple PO
24253 # directories under different names or in different locations.
24254 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
24255 rm -f "$ac_dir/POTFILES"
24256 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
24257 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
24258 POMAKEFILEDEPS
="POTFILES.in"
24259 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
24260 # on $ac_dir but don't depend on user-specified configuration
24262 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
24263 # The LINGUAS file contains the set of available languages.
24264 if test -n "$OBSOLETE_ALL_LINGUAS"; then
24265 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
24267 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
24268 # Hide the ALL_LINGUAS assigment from automake < 1.5.
24269 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
24270 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
24272 # The set of available languages was given in configure.in.
24273 # Hide the ALL_LINGUAS assigment from automake < 1.5.
24274 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
24277 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
24278 # Compute UPDATEPOFILES
24279 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
24280 # Compute DUMMYPOFILES
24281 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
24283 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
24284 case "$ac_given_srcdir" in
24286 *) srcdirpre
='$(srcdir)/' ;;
24292 for lang
in $ALL_LINGUAS; do
24293 POFILES
="$POFILES $srcdirpre$lang.po"
24294 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
24295 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
24296 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
24298 # CATALOGS depends on both $ac_dir and the user's LINGUAS
24299 # environment variable.
24301 if test -n "$ALL_LINGUAS"; then
24302 for presentlang
in $ALL_LINGUAS; do
24304 if test "%UNSET%" != "$LINGUAS"; then
24305 desiredlanguages
="$LINGUAS"
24307 desiredlanguages
="$ALL_LINGUAS"
24309 for desiredlang
in $desiredlanguages; do
24310 # Use the presentlang catalog if desiredlang is
24311 # a. equal to presentlang, or
24312 # b. a variant of presentlang (because in this case,
24313 # presentlang can be used as a fallback for messages
24314 # which are not translated in the desiredlang catalog).
24315 case "$desiredlang" in
24316 "$presentlang"*) useit
=yes;;
24319 if test $useit = yes; then
24320 INST_LINGUAS
="$INST_LINGUAS $presentlang"
24325 if test -n "$INST_LINGUAS"; then
24326 for lang
in $INST_LINGUAS; do
24327 CATALOGS
="$CATALOGS $lang.gmo"
24330 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
24331 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"
24332 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
24333 if test -f "$f"; then
24335 *.orig |
*.bak |
*~
) ;;
24336 *) cat "$f" >> "$ac_dir/Makefile" ;;
24351 ac_clean_files
=$ac_clean_files_save
24353 test $ac_write_fail = 0 ||
24354 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
24357 # configure is writing to config.log, and then calls config.status.
24358 # config.status does its own redirection, appending to config.log.
24359 # Unfortunately, on DOS this fails, as config.log is still kept open
24360 # by configure, so config.status won't be able to write to it; its
24361 # output is simply discarded. So we exec the FD to /dev/null,
24362 # effectively closing config.log, so it can be properly (re)opened and
24363 # appended to by config.status. When coming back to configure, we
24364 # need to make the FD available again.
24365 if test "$no_create" != yes; then
24367 ac_config_status_args
=
24368 test "$silent" = yes &&
24369 ac_config_status_args
="$ac_config_status_args --quiet"
24371 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
24373 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24374 # would make configure fail if this is the last instruction.
24375 $ac_cs_success || as_fn_exit
1
24377 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24379 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}