2 # From configure.ac Rev:23 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.9.
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.9'
595 PACKAGE_STRING
='alpine 2.21.9'
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
738 MAINTAINER_MODE_FALSE
752 INSTALL_STRIP_PROGRAM
794 program_transform_name
807 enable_option_checking
809 enable_maintainer_mode
810 enable_dependency_tracking
828 enable_osx_universal_binaries
838 enable_background_post
846 with_simple_spellcheck
847 with_interactive_spellcheck
849 with_system_fixed_pinerc
850 with_local_support_info
851 with_mailcheck_interval
852 with_checkpoint_interval
853 with_checkpoint_frequency
856 with_max_display_rows
857 with_max_display_columns
863 with_forwarded_keyword
867 with_default_save_folder
868 with_default_legacy_postponed_folder
869 with_default_postponed_folder
870 with_default_trash_folder
871 with_default_interrupted_mail
872 with_default_dead_letter_folder
873 with_default_mail_directory
874 with_default_inbox_name
875 with_default_signature_file
876 with_default_elm_style_save
877 with_default_header_in_reply
878 with_default_old_style_reply
879 with_default_use_only_domain_name
880 with_default_save_by_sender
881 with_default_sort_key
882 with_default_addressbook_sort_rule
883 with_default_folder_sort_rule
884 with_default_saved_message_name_rule
885 with_default_fcc_rule
886 with_default_standard_printer
887 with_default_ansi_printer
888 with_default_addressbook
889 with_default_local_fullname
890 with_default_local_address
891 with_default_keyboard_lock_count
892 with_default_remote_addressbook_history
893 with_smime_public_cert_directory
894 with_smime_private_key_directory
895 with_smime_cacert_directory
898 with_local_password_cache
899 with_local_password_cache_method
909 with_krb5_include_dir
913 with_ldap_include_dir
921 with_system_mail_directory
926 ac_precious_vars
='build_alias
937 # Initialize some variables set by options.
939 ac_init_version
=false
940 ac_unrecognized_opts
=
942 # The variables have the same names as the options, with
943 # dashes changed to underlines.
951 program_transform_name
=s
,x
,x
,
959 # Installation directory options.
960 # These are left unexpanded so users can "make install exec_prefix=/foo"
961 # and all the variables that are supposed to be based on exec_prefix
962 # by default will actually change.
963 # Use braces instead of parens because sh, perl, etc. also accept them.
964 # (The list follows the same order as the GNU Coding Standards.)
965 bindir
='${exec_prefix}/bin'
966 sbindir
='${exec_prefix}/sbin'
967 libexecdir
='${exec_prefix}/libexec'
968 datarootdir
='${prefix}/share'
969 datadir
='${datarootdir}'
970 sysconfdir
='${prefix}/etc'
971 sharedstatedir
='${prefix}/com'
972 localstatedir
='${prefix}/var'
973 includedir
='${prefix}/include'
974 oldincludedir
='/usr/include'
975 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
976 infodir
='${datarootdir}/info'
981 libdir
='${exec_prefix}/lib'
982 localedir
='${datarootdir}/locale'
983 mandir
='${datarootdir}/man'
989 # If the previous option needs an argument, assign it.
990 if test -n "$ac_prev"; then
991 eval $ac_prev=\
$ac_option
997 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1002 # Accept the important Cygnus configure options, so we can diagnose typos.
1004 case $ac_dashdash$ac_option in
1008 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1010 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1011 bindir
=$ac_optarg ;;
1013 -build |
--build |
--buil |
--bui |
--bu)
1014 ac_prev
=build_alias
;;
1015 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1016 build_alias
=$ac_optarg ;;
1018 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1019 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1020 ac_prev
=cache_file
;;
1021 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1022 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1023 cache_file
=$ac_optarg ;;
1025 --config-cache |
-C)
1026 cache_file
=config.cache
;;
1028 -datadir |
--datadir |
--datadi |
--datad)
1030 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1031 datadir
=$ac_optarg ;;
1033 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1034 |
--dataroo |
--dataro |
--datar)
1035 ac_prev
=datarootdir
;;
1036 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1037 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1038 datarootdir
=$ac_optarg ;;
1040 -disable-* |
--disable-*)
1041 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1042 # Reject names that are not valid shell variable names.
1043 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1044 as_fn_error $?
"invalid feature name: $ac_useropt"
1045 ac_useropt_orig
=$ac_useropt
1046 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047 case $ac_user_opts in
1049 "enable_
$ac_useropt"
1051 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1052 ac_unrecognized_sep
=', ';;
1054 eval enable_
$ac_useropt=no
;;
1056 -docdir |
--docdir |
--docdi |
--doc |
--do)
1058 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1059 docdir
=$ac_optarg ;;
1061 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1063 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1064 dvidir
=$ac_optarg ;;
1066 -enable-* |
--enable-*)
1067 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1068 # Reject names that are not valid shell variable names.
1069 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1070 as_fn_error $?
"invalid feature name: $ac_useropt"
1071 ac_useropt_orig
=$ac_useropt
1072 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1073 case $ac_user_opts in
1075 "enable_
$ac_useropt"
1077 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1078 ac_unrecognized_sep
=', ';;
1080 eval enable_
$ac_useropt=\
$ac_optarg ;;
1082 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1083 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1084 |
--exec |
--exe |
--ex)
1085 ac_prev
=exec_prefix
;;
1086 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1087 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1088 |
--exec=* |
--exe=* |
--ex=*)
1089 exec_prefix
=$ac_optarg ;;
1091 -gas |
--gas |
--ga |
--g)
1092 # Obsolete; use --with-gas.
1095 -help |
--help |
--hel |
--he |
-h)
1096 ac_init_help
=long
;;
1097 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1098 ac_init_help
=recursive
;;
1099 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1100 ac_init_help
=short
;;
1102 -host |
--host |
--hos |
--ho)
1103 ac_prev
=host_alias
;;
1104 -host=* |
--host=* |
--hos=* |
--ho=*)
1105 host_alias
=$ac_optarg ;;
1107 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1109 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1111 htmldir
=$ac_optarg ;;
1113 -includedir |
--includedir |
--includedi |
--included |
--include \
1114 |
--includ |
--inclu |
--incl |
--inc)
1115 ac_prev
=includedir
;;
1116 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1117 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1118 includedir
=$ac_optarg ;;
1120 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1122 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1123 infodir
=$ac_optarg ;;
1125 -libdir |
--libdir |
--libdi |
--libd)
1127 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1128 libdir
=$ac_optarg ;;
1130 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1131 |
--libexe |
--libex |
--libe)
1132 ac_prev
=libexecdir
;;
1133 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1134 |
--libexe=* |
--libex=* |
--libe=*)
1135 libexecdir
=$ac_optarg ;;
1137 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1138 ac_prev
=localedir
;;
1139 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1140 localedir
=$ac_optarg ;;
1142 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1143 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1144 ac_prev
=localstatedir
;;
1145 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1146 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1147 localstatedir
=$ac_optarg ;;
1149 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1151 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1152 mandir
=$ac_optarg ;;
1154 -nfp |
--nfp |
--nf)
1155 # Obsolete; use --without-fp.
1158 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1159 |
--no-cr |
--no-c |
-n)
1162 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1163 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1166 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1167 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1168 |
--oldin |
--oldi |
--old |
--ol |
--o)
1169 ac_prev
=oldincludedir
;;
1170 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1171 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1172 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1173 oldincludedir
=$ac_optarg ;;
1175 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1177 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1178 prefix
=$ac_optarg ;;
1180 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1181 |
--program-pre |
--program-pr |
--program-p)
1182 ac_prev
=program_prefix
;;
1183 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1184 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1185 program_prefix
=$ac_optarg ;;
1187 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1188 |
--program-suf |
--program-su |
--program-s)
1189 ac_prev
=program_suffix
;;
1190 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1191 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1192 program_suffix
=$ac_optarg ;;
1194 -program-transform-name |
--program-transform-name \
1195 |
--program-transform-nam |
--program-transform-na \
1196 |
--program-transform-n |
--program-transform- \
1197 |
--program-transform |
--program-transfor \
1198 |
--program-transfo |
--program-transf \
1199 |
--program-trans |
--program-tran \
1200 |
--progr-tra |
--program-tr |
--program-t)
1201 ac_prev
=program_transform_name
;;
1202 -program-transform-name=* |
--program-transform-name=* \
1203 |
--program-transform-nam=* |
--program-transform-na=* \
1204 |
--program-transform-n=* |
--program-transform-=* \
1205 |
--program-transform=* |
--program-transfor=* \
1206 |
--program-transfo=* |
--program-transf=* \
1207 |
--program-trans=* |
--program-tran=* \
1208 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1209 program_transform_name
=$ac_optarg ;;
1211 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1213 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1214 pdfdir
=$ac_optarg ;;
1216 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1218 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1221 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1222 |
-silent |
--silent |
--silen |
--sile |
--sil)
1225 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1227 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1229 sbindir
=$ac_optarg ;;
1231 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1232 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1233 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1235 ac_prev
=sharedstatedir
;;
1236 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1237 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1238 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1240 sharedstatedir
=$ac_optarg ;;
1242 -site |
--site |
--sit)
1244 -site=* |
--site=* |
--sit=*)
1247 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1249 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1250 srcdir
=$ac_optarg ;;
1252 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1253 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1254 ac_prev
=sysconfdir
;;
1255 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1256 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1257 sysconfdir
=$ac_optarg ;;
1259 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1260 ac_prev
=target_alias
;;
1261 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1262 target_alias
=$ac_optarg ;;
1264 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1267 -version |
--version |
--versio |
--versi |
--vers |
-V)
1268 ac_init_version
=: ;;
1271 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1272 # Reject names that are not valid shell variable names.
1273 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1274 as_fn_error $?
"invalid package name: $ac_useropt"
1275 ac_useropt_orig
=$ac_useropt
1276 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1277 case $ac_user_opts in
1281 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1282 ac_unrecognized_sep
=', ';;
1284 eval with_
$ac_useropt=\
$ac_optarg ;;
1286 -without-* |
--without-*)
1287 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1288 # Reject names that are not valid shell variable names.
1289 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1290 as_fn_error $?
"invalid package name: $ac_useropt"
1291 ac_useropt_orig
=$ac_useropt
1292 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1293 case $ac_user_opts in
1297 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1298 ac_unrecognized_sep
=', ';;
1300 eval with_
$ac_useropt=no
;;
1303 # Obsolete; use --with-x.
1306 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1307 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1308 ac_prev
=x_includes
;;
1309 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1310 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1311 x_includes
=$ac_optarg ;;
1313 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1314 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1315 ac_prev
=x_libraries
;;
1316 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1317 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1318 x_libraries
=$ac_optarg ;;
1320 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1321 Try \`$0 --help' for more information"
1325 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1326 # Reject names that are not valid shell variable names.
1327 case $ac_envvar in #(
1328 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1329 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1331 eval $ac_envvar=\
$ac_optarg
1332 export $ac_envvar ;;
1335 # FIXME: should be removed in autoconf 3.0.
1336 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1337 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1338 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1339 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1345 if test -n "$ac_prev"; then
1346 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1347 as_fn_error $?
"missing argument to $ac_option"
1350 if test -n "$ac_unrecognized_opts"; then
1351 case $enable_option_checking in
1353 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1354 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1358 # Check all directory arguments for consistency.
1359 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1360 datadir sysconfdir sharedstatedir localstatedir includedir \
1361 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1362 libdir localedir mandir
1364 eval ac_val
=\$
$ac_var
1365 # Remove trailing slashes.
1368 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1369 eval $ac_var=\
$ac_val;;
1371 # Be sure to have absolute directory names.
1373 [\\/$
]* | ?
:[\\/]* ) continue;;
1374 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1376 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1379 # There might be people who depend on the old broken behavior: `$host'
1380 # used to hold the argument of --host etc.
1381 # FIXME: To remove some day.
1384 target
=$target_alias
1386 # FIXME: To remove some day.
1387 if test "x$host_alias" != x
; then
1388 if test "x$build_alias" = x
; then
1389 cross_compiling
=maybe
1390 elif test "x$build_alias" != "x$host_alias"; then
1396 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1398 test "$silent" = yes && exec 6>/dev
/null
1401 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1402 ac_ls_di
=`ls -di .` &&
1403 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1404 as_fn_error $?
"working directory cannot be determined"
1405 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1406 as_fn_error $?
"pwd does not report name of working directory"
1409 # Find the source files, if location was not specified.
1410 if test -z "$srcdir"; then
1411 ac_srcdir_defaulted
=yes
1412 # Try the directory containing this script, then the parent directory.
1413 ac_confdir
=`$as_dirname -- "$as_myself" ||
1414 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1415 X"$as_myself" : 'X\(//\)[^/]' \| \
1416 X"$as_myself" : 'X\(//\)$' \| \
1417 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1418 $as_echo X"$as_myself" |
1419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1437 if test ! -r "$srcdir/$ac_unique_file"; then
1441 ac_srcdir_defaulted
=no
1443 if test ! -r "$srcdir/$ac_unique_file"; then
1444 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1445 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1447 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1449 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1451 # When building in place, set srcdir=.
1452 if test "$ac_abs_confdir" = "$ac_pwd"; then
1455 # Remove unnecessary trailing slashes from srcdir.
1456 # Double slashes in file names in object file debugging info
1457 # mess up M-x gdb in Emacs.
1459 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1461 for ac_var
in $ac_precious_vars; do
1462 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1463 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1464 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1465 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1469 # Report the --help message.
1471 if test "$ac_init_help" = "long"; then
1472 # Omit some internal or obsolete options to make the list less imposing.
1473 # This message is too long to be a string in the A/UX 3.1 sh.
1475 \`configure' configures alpine 2.21.9 to adapt to many kinds of systems.
1477 Usage: $0 [OPTION]... [VAR=VALUE]...
1479 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1480 VAR=VALUE. See below for descriptions of some of the useful variables.
1482 Defaults for the options are specified in brackets.
1485 -h, --help display this help and exit
1486 --help=short display options specific to this package
1487 --help=recursive display the short help of all the included packages
1488 -V, --version display version information and exit
1489 -q, --quiet, --silent do not print \`checking ...' messages
1490 --cache-file=FILE cache test results in FILE [disabled]
1491 -C, --config-cache alias for \`--cache-file=config.cache'
1492 -n, --no-create do not create output files
1493 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1495 Installation directories:
1496 --prefix=PREFIX install architecture-independent files in PREFIX
1497 [$ac_default_prefix]
1498 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1501 By default, \`make install' will install all the files in
1502 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1503 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1504 for instance \`--prefix=\$HOME'.
1506 For better control, use the options below.
1508 Fine tuning of the installation directories:
1509 --bindir=DIR user executables [EPREFIX/bin]
1510 --sbindir=DIR system admin executables [EPREFIX/sbin]
1511 --libexecdir=DIR program executables [EPREFIX/libexec]
1512 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1513 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1514 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1515 --libdir=DIR object code libraries [EPREFIX/lib]
1516 --includedir=DIR C header files [PREFIX/include]
1517 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1518 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1519 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1520 --infodir=DIR info documentation [DATAROOTDIR/info]
1521 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1522 --mandir=DIR man documentation [DATAROOTDIR/man]
1523 --docdir=DIR documentation root [DATAROOTDIR/doc/alpine]
1524 --htmldir=DIR html documentation [DOCDIR]
1525 --dvidir=DIR dvi documentation [DOCDIR]
1526 --pdfdir=DIR pdf documentation [DOCDIR]
1527 --psdir=DIR ps documentation [DOCDIR]
1533 --program-prefix=PREFIX prepend PREFIX to installed program names
1534 --program-suffix=SUFFIX append SUFFIX to installed program names
1535 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1538 --build=BUILD configure
for building on BUILD
[guessed
]
1539 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1543 if test -n "$ac_init_help"; then
1544 case $ac_init_help in
1545 short | recursive
) echo "Configuration of alpine 2.21.9:";;
1550 --disable-option-checking ignore unrecognized
--enable/--with options
1551 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1552 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1553 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1554 --disable-silent-rules verbose build output
(undo
: "make V=0")
1555 --enable-maintainer-mode
1556 enable make rules and dependencies not useful
(and
1557 sometimes confusing
) to the casual installer
1558 --enable-dependency-tracking
1559 do not reject slow dependency extractors
1560 --disable-dependency-tracking
1561 speeds up one-time build
1562 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1563 --enable-static[=PKGS
] build static libraries
[default
=yes]
1564 --enable-fast-install[=PKGS
]
1565 optimize
for fast installation
[default
=yes]
1566 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1567 --disable-nls do not use Native Language Support
1568 --disable-rpath do not hardcode runtime library paths
1569 --enable-dmalloc Enable dmalloc debugging
1570 --enable-osx-universal-binaries
1571 Produce universal binaries under OS X
[[default
=no
]]
1572 --disable-debug Exclude debug messages from
source
1573 --disable-optimization Exclude optimizing compiler flags
1574 --disable-mouse Disable mouse support
1575 --enable-quotas Enable disk quota checking on startup
1576 --disable-from-changing Disallow users changing From addresss
1577 --disable-background-post
1578 Disable background posting
1579 --disable-keyboard-lock Disable keyboard locking
1580 --enable-from-encoding Enable From encoding
in sent messages
1583 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1584 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1585 --with-pic[=PKGS
] try to use only PIC
/non-PIC objects
[default
=use
1587 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1588 --with-sysroot=DIR Search
for dependent libraries within DIR
1589 (or the compiler
's sysroot if not specified).
1590 --with-gnu-ld assume the C compiler uses GNU ld default=no
1591 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1592 --without-libiconv-prefix don't search
for libiconv
in includedir and libdir
1593 --with-libintl-prefix[=DIR
] search
for libintl
in DIR
/include and DIR
/lib
1594 --without-libintl-prefix don
't search for libintl in includedir and libdir
1595 --with-dmalloc-dir=DIR Root of dmalloc lib/include path
1596 --with-date-stamp=DATE Set this as the date this program was built.
1597 Default: output of `date`
1598 --with-host-stamp=HOST Set name of computer for compilation. Default:
1599 output of `hostname`
1600 --with-ps-cmd="CMD" Use this command to check running commands. Default:
1602 --with-localedir=DIR Name of gettext locale directory
1603 --with-include-path=PATHS
1604 Colon-separated list of directories used for include
1606 --with-lib-path=PATHS Colon-separated list of directories used for library
1608 --with-pubcookie Include support for UW-Pubcookie Web Authentication
1609 --with-web-bin=PATH Directory to hold Web Alpine component binary files
1610 --with-smtp-msa=PATH Local Mail Submission Agent (sendmail)
1611 --with-smtp-msa-flags=FLAGS
1612 MSA flags for SMTP on stdin/stdout (-bs -odb -oem)
1613 --with-npa=PATH Posting agent when no nntp-servers defined (inews)
1614 --with-npa-flags=FLAGS Flags to allow posting via local agent (-h)
1615 --with-password-prog=PATH
1616 Password change program (/bin/passwd)
1617 --with-simple-spellcheck=PROG
1618 Spellcheck program reads stdin, emits misspellings
1620 --with-interactive-spellcheck=PROG
1621 Interactive, filewise spell checker
1622 --with-system-pinerc=VALUE
1623 System pinerc (/usr/local/lib/pine.conf)
1624 --with-system-fixed-pinerc=VALUE
1625 System fixed pinerc (/usr/local/lib/pine.conf.fixed)
1626 --with-local-support-info=VALUE
1627 Local Support Info File (/usr/local/lib/pine.info)
1628 --with-mailcheck-interval=VALUE
1629 Specify default mail-check-interval (150)
1630 --with-checkpoint-interval=VALUE
1631 Specify default checkpoint-interval (420)
1632 --with-checkpoint-frequency=VALUE
1633 State change count before checkpoint (12)
1634 --with-display-rows=VALUE
1635 Initial rows on display (24)
1636 --with-display-columns=VALUE
1637 Initial columns on display (80)
1638 --with-max-display-rows=VALUE
1639 Maximum display rows (200)
1640 --with-max-display-columns=VALUE
1641 Maximum display columns (500)
1642 --with-fill-column=VALUE
1643 Default fill column (74)
1644 --with-max_fill-column=VALUE
1645 Maximum fill column (80)
1646 --with-debug-level=VALUE
1647 Specify default debug verbosity level (2)
1648 --with-debug-files=VALUE
1649 Specify number of debug files (4)
1650 --with-debug-file=VALUE Specify debug file name (.pine-debug)
1651 --with-forwarded-keyword=VALUE
1652 IMAP (c-client) keyword to store forwarded status
1654 --with-display-overlap=VALUE
1655 Lines preserved while paging (2)
1656 --with-display-margin=VALUE
1657 Lines visible while scrolling (0)
1658 --with-default-fcc=VALUE
1659 Default sent mail folder (sent-mail)
1660 --with-default-save-folder=VALUE
1661 Default save folder (saved-messages)
1662 --with-default-legacy-postponed-folder=VALUE
1663 Pre Pine 3.90 postponed folder (postponed-mail)
1664 --with-default-postponed-folder=VALUE
1665 Default postponed folder (postponed-msgs)
1666 --with-default-trash-folder=VALUE
1667 Default Trash folder for Web Alpine (Trash)
1668 --with-default-interrupted-mail=VALUE
1669 Default folder for interrupted mail
1670 (.pine-interrupted-mail)
1671 --with-default-dead-letter-folder=VALUE
1672 Default dead letter folder (dead.letter)
1673 --with-default-mail-directory=VALUE
1674 Default mail directory (mail)
1675 --with-default-inbox-name=VALUE
1676 Default inbox name (INBOX)
1677 --with-default-signature-file=VALUE
1678 Default signature file (.signature)
1679 --with-default-elm-style-save=VALUE
1680 Default to Elm style save (no)
1681 --with-default-header-in-reply=VALUE
1682 Include header in reply (no)
1683 --with-default-old-style-reply=VALUE
1684 Default to old style reply (no)
1685 --with-default-use-only-domain-name=VALUE
1686 Default to using only the domain name (no)
1687 --with-default-save-by-sender=VALUE
1688 Default to save by sender (no)
1689 --with-default-sort-key=VALUE
1690 Default sort key (arrival)
1691 --with-default-addressbook-sort-rule=VALUE
1692 Default addressbook sort rule
1693 (fullname-with-lists-last)
1694 --with-default-folder-sort-rule=VALUE
1695 Default folder sort rule (alphabetical)
1696 --with-default-saved-message-name-rule=VALUE
1697 Default saved message name rule (default-folder)
1698 --with-default-fcc-rule=VALUE
1699 Default fcc rule (default-fcc)
1700 --with-default-standard-printer=VALUE
1701 Default standard printern (lpr)
1702 --with-default-ansi-printer=VALUE
1703 ANSI printer definition (attached-to-ansi)
1704 --with-default-addressbook=VALUE
1705 Default addressbook name (.addressbook)
1706 --with-default-local-fullname=VALUE
1707 Default local support fullname ("Local Support")
1708 --with-default-local-address=VALUE
1709 Default local support address (postmaster)
1710 --with-default-keyboard-lock-count=VALUE
1711 Default keyboard lock count (1)
1712 --with-default-remote-addressbook-history=VALUE
1713 Default address book history count (3)
1714 --with-smime-public-cert-directory=VALUE
1715 Default Public Cert Directory (.alpine-smime/public)
1716 --with-smime-private-key-directory=VALUE
1717 Default Private Key Directory
1718 (.alpine-smime/private)
1719 --with-smime-cacert-directory=VALUE
1720 Default Cert Authority Directory (.alpine-smime/ca)
1721 --with-default-printer=VALUE
1722 Default printer (ANSI_PRINTER)
1723 --with-passfile=FILENAME
1724 Password cache file (recommended when S/MIME is
1725 enabled and configured)
1726 --without-local-password-cache
1727 Disable OS-specific password cache, if supported
1728 --with-local-password-cache-method
1729 OS-specific credential cache (OSX=APPLEKEYCHAIN,
1731 --with-default-sshpath=FILENAME
1732 set default value of ssh command path (defining
1733 should cause ssh to be preferred to rsh)
1734 --with-default-sshcmd=PERCENT_S_STRING
1735 set default value of ssh command string (usually "%s
1736 %s -l %s exec /etc/r%sd")
1737 --without-ssl Disable SSL support (OpenSSL)
1738 --with-ssl-dir=DIR Root of SSL lib/include path
1739 --with-ssl-certs-dir=DIR
1740 Path to SSL certificate directory
1741 --with-ssl-include-dir=DIR
1742 SSL include file path
1743 --with-ssl-lib-dir=DIR SSL library path
1744 --without-krb5 Disable Kerberos support
1745 --with-krb5-dir=DIR Root of Kerberos lib/include path
1746 --with-krb5-include-dir=DIR
1747 Kerberos include file path
1748 --with-krb5-lib-dir=DIR Kerberos library path
1749 --without-ldap Disable LDAP query support
1750 --with-ldap-dir=DIR Root of LDAP lib/include path
1751 --with-ldap-include-dir=DIR
1752 Directory containing LDAP include files
1753 --with-ldap-lib-dir=DIR LDAP library path
1754 --without-smime Disable S/MIME
1755 --without-tcl Disable TCL, thus Web Alpine support
1756 --with-tcl-lib=LIBRARY Specific TCL Library, like \"tcl8.6\"
1757 --with-tcl-include=DIR Directory containing TCL include files
1758 --with-supplied-regex Use regex library supplied with alpine
1759 --without-pthread Do NOT test for nor build with POSIX thread support
1760 --with-system-mail-directory=DIR
1761 Directory where local mail is delivered
1762 --with-c-client-target=TARGET
1763 IMAP build target (see imap/Makefile)
1764 --without-ipv6 Disable IPv6, primarily to work around resolver
1766 --without-ntlm Disable NTLM client support
1768 Some influential environment variables:
1769 CC C compiler command
1770 CFLAGS C compiler flags
1771 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1772 nonstandard directory <lib dir>
1773 LIBS libraries to pass to the linker, e.g. -l<library>
1774 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1775 you have headers in a nonstandard directory <include dir>
1778 Use these variables to override the choices made by `configure' or to
help
1779 it to
find libraries and programs with nonstandard names
/locations.
1781 Report bugs to
<chappa@washington.edu
>.
1786 if test "$ac_init_help" = "recursive"; then
1787 # If there are subdirs, report their specific --help.
1788 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1789 test -d "$ac_dir" ||
1790 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1795 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1797 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1798 # A ".." for each directory in $ac_dir_suffix.
1799 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1800 case $ac_top_builddir_sub in
1801 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1802 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1805 ac_abs_top_builddir
=$ac_pwd
1806 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1807 # for backward compatibility:
1808 ac_top_builddir
=$ac_top_build_prefix
1811 .
) # We are building in place.
1813 ac_top_srcdir
=$ac_top_builddir_sub
1814 ac_abs_top_srcdir
=$ac_pwd ;;
1815 [\\/]* | ?
:[\\/]* ) # Absolute name.
1816 ac_srcdir
=$srcdir$ac_dir_suffix;
1817 ac_top_srcdir
=$srcdir
1818 ac_abs_top_srcdir
=$srcdir ;;
1820 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1821 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1822 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1824 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1826 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1827 # Check for guested configure.
1828 if test -f "$ac_srcdir/configure.gnu"; then
1830 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1831 elif test -f "$ac_srcdir/configure"; then
1833 $SHELL "$ac_srcdir/configure" --help=recursive
1835 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1837 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1841 test -n "$ac_init_help" && exit $ac_status
1842 if $ac_init_version; then
1844 alpine configure
2.21.9
1845 generated by GNU Autoconf
2.69
1847 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1848 This configure
script is free software
; the Free Software Foundation
1849 gives unlimited permission to copy
, distribute and modify it.
1854 ## ------------------------ ##
1855 ## Autoconf initialization. ##
1856 ## ------------------------ ##
1858 # ac_fn_c_try_compile LINENO
1859 # --------------------------
1860 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1861 ac_fn_c_try_compile
()
1863 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1864 rm -f conftest.
$ac_objext
1865 if { { ac_try
="$ac_compile"
1867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1868 *) ac_try_echo=$ac_try;;
1870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1871 $as_echo "$ac_try_echo"; } >&5
1872 (eval "$ac_compile") 2>conftest.err
1874 if test -s conftest.err; then
1875 grep -v '^ *+' conftest.err >conftest.er1
1876 cat conftest.er1 >&5
1877 mv -f conftest.er1 conftest.err
1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880 test $ac_status = 0; } && {
1881 test -z "$ac_c_werror_flag" ||
1882 test ! -s conftest.err
1883 } && test -s conftest.$ac_objext; then :
1886 $as_echo "$as_me: failed program was:" >&5
1887 sed 's/^/| /' conftest.$ac_ext >&5
1891 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1892 as_fn_set_status $ac_retval
1894 } # ac_fn_c_try_compile
1896 # ac_fn_c_try_link LINENO
1897 # -----------------------
1898 # Try to link conftest.$ac_ext, and return whether this succeeded.
1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902 rm -f conftest.$ac_objext conftest$ac_exeext
1903 if { { ac_try="$ac_link"
1905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1906 *) ac_try_echo
=$ac_try;;
1908 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1909 $as_echo "$ac_try_echo"; } >&5
1910 (eval "$ac_link") 2>conftest.err
1912 if test -s conftest.err
; then
1913 grep -v '^ *+' conftest.err
>conftest.er1
1914 cat conftest.er1
>&5
1915 mv -f conftest.er1 conftest.err
1917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1918 test $ac_status = 0; } && {
1919 test -z "$ac_c_werror_flag" ||
1920 test ! -s conftest.err
1921 } && test -s conftest
$ac_exeext && {
1922 test "$cross_compiling" = yes ||
1923 test -x conftest
$ac_exeext
1927 $as_echo "$as_me: failed program was:" >&5
1928 sed 's/^/| /' conftest.
$ac_ext >&5
1932 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1933 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1934 # interfere with the next link command; also delete a directory that is
1935 # left behind by Apple's compiler. We do this before executing the actions.
1936 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1937 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1938 as_fn_set_status
$ac_retval
1940 } # ac_fn_c_try_link
1942 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1943 # -------------------------------------------------------
1944 # Tests whether HEADER exists and can be compiled using the include files in
1945 # INCLUDES, setting the cache variable VAR accordingly.
1946 ac_fn_c_check_header_compile
()
1948 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1950 $as_echo_n "checking for $2... " >&6; }
1951 if eval \
${$3+:} false
; then :
1952 $as_echo_n "(cached) " >&6
1954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1955 /* end confdefs.h. */
1959 if ac_fn_c_try_compile
"$LINENO"; then :
1964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1968 $as_echo "$ac_res" >&6; }
1969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1971 } # ac_fn_c_check_header_compile
1973 # ac_fn_c_try_cpp LINENO
1974 # ----------------------
1975 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1978 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1979 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1982 *) ac_try_echo=$ac_try;;
1984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1985 $as_echo "$ac_try_echo"; } >&5
1986 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1988 if test -s conftest.err; then
1989 grep -v '^ *+' conftest.err >conftest.er1
1990 cat conftest.er1 >&5
1991 mv -f conftest.er1 conftest.err
1993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1994 test $ac_status = 0; } > conftest.i && {
1995 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1996 test ! -s conftest.err
2000 $as_echo "$as_me: failed program was:" >&5
2001 sed 's/^/| /' conftest.$ac_ext >&5
2005 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2006 as_fn_set_status $ac_retval
2010 # ac_fn_c_try_run LINENO
2011 # ----------------------
2012 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2013 # that executables *can* be run.
2016 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017 if { { ac_try="$ac_link"
2019 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2020 *) ac_try_echo
=$ac_try;;
2022 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2023 $as_echo "$ac_try_echo"; } >&5
2024 (eval "$ac_link") 2>&5
2026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2027 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
2028 { { case "(($ac_try" in
2029 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2030 *) ac_try_echo=$ac_try;;
2032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2033 $as_echo "$ac_try_echo"; } >&5
2034 (eval "$ac_try") 2>&5
2036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2037 test $ac_status = 0; }; }; then :
2040 $as_echo "$as_me: program exited with status $ac_status" >&5
2041 $as_echo "$as_me: failed program was:" >&5
2042 sed 's/^/| /' conftest.$ac_ext >&5
2044 ac_retval=$ac_status
2046 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2047 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2048 as_fn_set_status $ac_retval
2052 # ac_fn_c_check_func LINENO FUNC VAR
2053 # ----------------------------------
2054 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2055 ac_fn_c_check_func ()
2057 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2059 $as_echo_n "checking for $2... " >&6; }
2060 if eval \${$3+:} false; then :
2061 $as_echo_n "(cached) " >&6
2063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2064 /* end confdefs.h. */
2065 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2067 #define $2 innocuous_$2
2069 /* System header to define __stub macros and hopefully few prototypes,
2070 which can conflict with char $2 (); below.
2071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2072 <limits.h> exists even on freestanding compilers. */
2075 # include <limits.h>
2077 # include <assert.h>
2082 /* Override any GCC internal prototype to avoid an error.
2083 Use char because int might match the return type of a GCC
2084 builtin and then its argument prototype would still apply. */
2089 /* The GNU C library defines this for functions which it implements
2090 to always fail with ENOSYS. Some functions are actually named
2091 something starting with __ and the normal name is an alias. */
2092 #if defined __stub_$2 || defined __stub___$2
2104 if ac_fn_c_try_link "$LINENO"; then :
2109 rm -f core conftest.err conftest.$ac_objext \
2110 conftest$ac_exeext conftest.$ac_ext
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2114 $as_echo "$ac_res" >&6; }
2115 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2117 } # ac_fn_c_check_func
2119 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2120 # -------------------------------------------------------
2121 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2122 # the include files in INCLUDES and setting the cache variable VAR
2124 ac_fn_c_check_header_mongrel ()
2126 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2127 if eval \${$3+:} false; then :
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2129 $as_echo_n "checking for $2... " >&6; }
2130 if eval \${$3+:} false; then :
2131 $as_echo_n "(cached) " >&6
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2135 $as_echo "$ac_res" >&6; }
2137 # Is the header compilable?
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2139 $as_echo_n "checking $2 usability... " >&6; }
2140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2141 /* end confdefs.h. */
2145 if ac_fn_c_try_compile "$LINENO"; then :
2146 ac_header_compiler=yes
2148 ac_header_compiler=no
2150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2152 $as_echo "$ac_header_compiler" >&6; }
2154 # Is the header present?
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2156 $as_echo_n "checking $2 presence... " >&6; }
2157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2158 /* end confdefs.h. */
2161 if ac_fn_c_try_cpp "$LINENO"; then :
2162 ac_header_preproc=yes
2164 ac_header_preproc=no
2166 rm -f conftest.err conftest.i conftest.$ac_ext
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2168 $as_echo "$ac_header_preproc" >&6; }
2170 # So? What about this header?
2171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2174 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2176 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2180 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2182 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2184 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2186 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2188 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2189 ( $as_echo "## ------------------------------------ ##
2190 ## Report this to chappa@washington.edu ##
2191 ## ------------------------------------ ##"
2192 ) | sed "s/^/$as_me: WARNING: /" >&2
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2196 $as_echo_n "checking for $2... " >&6; }
2197 if eval \${$3+:} false; then :
2198 $as_echo_n "(cached) " >&6
2200 eval "$3=\$ac_header_compiler"
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2204 $as_echo "$ac_res" >&6; }
2206 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2208 } # ac_fn_c_check_header_mongrel
2210 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2211 # -------------------------------------------
2212 # Tests whether TYPE exists after having included INCLUDES, setting cache
2213 # variable VAR accordingly.
2214 ac_fn_c_check_type ()
2216 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2218 $as_echo_n "checking for $2... " >&6; }
2219 if eval \${$3+:} false; then :
2220 $as_echo_n "(cached) " >&6
2223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2224 /* end confdefs.h. */
2235 if ac_fn_c_try_compile "$LINENO"; then :
2236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2237 /* end confdefs.h. */
2248 if ac_fn_c_try_compile "$LINENO"; then :
2253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2259 $as_echo "$ac_res" >&6; }
2260 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2262 } # ac_fn_c_check_type
2264 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2265 # --------------------------------------------
2266 # Tries to find the compile-time value of EXPR in a program that includes
2267 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2269 ac_fn_c_compute_int ()
2271 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2272 if test "$cross_compiling" = yes; then
2273 # Depending upon the size, compute the lo and hi bounds.
2274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2275 /* end confdefs.h. */
2280 static int test_array [1 - 2 * !(($2) >= 0)];
2282 return test_array [0];
2288 if ac_fn_c_try_compile "$LINENO"; then :
2291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2292 /* end confdefs.h. */
2297 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2299 return test_array [0];
2305 if ac_fn_c_try_compile "$LINENO"; then :
2306 ac_hi=$ac_mid; break
2308 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2309 if test $ac_lo -le $ac_mid; then
2313 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h. */
2324 static int test_array [1 - 2 * !(($2) < 0)];
2326 return test_array [0];
2332 if ac_fn_c_try_compile "$LINENO"; then :
2335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2336 /* end confdefs.h. */
2341 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2343 return test_array [0];
2349 if ac_fn_c_try_compile "$LINENO"; then :
2350 ac_lo=$ac_mid; break
2352 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2353 if test $ac_mid -le $ac_hi; then
2357 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2367 # Binary search between lo and hi bounds.
2368 while test "x$ac_lo" != "x$ac_hi"; do
2369 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2371 /* end confdefs.h. */
2376 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2378 return test_array [0];
2384 if ac_fn_c_try_compile "$LINENO"; then :
2387 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2392 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2397 /* end confdefs.h. */
2399 static long int longval () { return $2; }
2400 static unsigned long int ulongval () { return $2; }
2407 FILE *f = fopen ("conftest.val", "w");
2412 long int i = longval ();
2415 fprintf (f, "%ld", i);
2419 unsigned long int i = ulongval ();
2422 fprintf (f, "%lu", i);
2424 /* Do not output a trailing newline, as this causes \r\n confusion
2425 on some platforms. */
2426 return ferror (f) || fclose (f) != 0;
2432 if ac_fn_c_try_run "$LINENO"; then :
2433 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2437 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2438 conftest.$ac_objext conftest.beam conftest.$ac_ext
2442 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2443 as_fn_set_status $ac_retval
2445 } # ac_fn_c_compute_int
2446 cat >config.log <<_ACEOF
2447 This file contains any messages produced by compilers while
2448 running configure, to aid debugging if configure makes a mistake.
2450 It was created by alpine $as_me 2.21.9, which was
2451 generated by GNU Autoconf 2.69. Invocation command line was
2463 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2464 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2465 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2466 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2467 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2469 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2470 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2472 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2473 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2474 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2475 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2476 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2477 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2478 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2486 test -z "$as_dir" && as_dir=.
2487 $as_echo "PATH: $as_dir"
2503 # Keep a trace of the command line.
2504 # Strip out --no-create and --no-recursion so they do not pile up.
2505 # Strip out --silent because we don't want to record it for future runs.
2506 # Also quote any args containing shell meta-characters.
2507 # Make two passes to allow for proper duplicate-argument suppression.
2511 ac_must_keep_next=false
2517 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2518 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2519 | -silent | --silent | --silen | --sile | --sil)
2522 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2525 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2527 as_fn_append ac_configure_args1 " '$ac_arg'"
2528 if test $ac_must_keep_next = true; then
2529 ac_must_keep_next=false # Got value, back to normal.
2532 *=* | --config-cache | -C | -disable-* | --disable-* \
2533 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2534 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2535 | -with-* | --with-* | -without-* | --without-* | --x)
2536 case "$ac_configure_args0 " in
2537 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2540 -* ) ac_must_keep_next=true ;;
2543 as_fn_append ac_configure_args " '$ac_arg'"
2548 { ac_configure_args0=; unset ac_configure_args0;}
2549 { ac_configure_args1=; unset ac_configure_args1;}
2551 # When interrupted or exit'd, cleanup temporary files, and complete
2552 # config.log. We remove comments because anyway the quotes in there
2553 # would cause problems or look ugly.
2554 # WARNING: Use '\'' to represent an apostrophe within the trap.
2555 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2556 trap 'exit_status=$?
2557 # Save into config.log some information that might help in debugging.
2561 $as_echo "## ---------------- ##
2562 ## Cache variables. ##
2563 ## ---------------- ##"
2565 # The following way of writing the cache mishandles newlines in values,
2567 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2568 eval ac_val=\$$ac_var
2572 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2573 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2576 _ | IFS | as_nl) ;; #(
2577 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2578 *) { eval $ac_var=; unset $ac_var;} ;;
2583 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2584 *${as_nl}ac_space=\ *)
2586 "s/'\''/'\''\\\\'\'''\''/g;
2587 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2590 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2597 $as_echo "## ----------------- ##
2598 ## Output variables. ##
2599 ## ----------------- ##"
2601 for ac_var in $ac_subst_vars
2603 eval ac_val=\$$ac_var
2605 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2607 $as_echo "$ac_var='\''$ac_val'\''"
2611 if test -n "$ac_subst_files"; then
2612 $as_echo "## ------------------- ##
2613 ## File substitutions. ##
2614 ## ------------------- ##"
2616 for ac_var in $ac_subst_files
2618 eval ac_val=\$$ac_var
2620 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2622 $as_echo "$ac_var='\''$ac_val'\''"
2627 if test -s confdefs.h; then
2628 $as_echo "## ----------- ##
2635 test "$ac_signal" != 0 &&
2636 $as_echo "$as_me: caught signal $ac_signal"
2637 $as_echo "$as_me: exit $exit_status"
2639 rm -f core *.core core.conftest.* &&
2640 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2643 for ac_signal in 1 2 13 15; do
2644 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2648 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2649 rm -f -r conftest* confdefs.h
2651 $as_echo "/* confdefs.h */" > confdefs.h
2653 # Predefined preprocessor variables.
2655 cat >>confdefs.h <<_ACEOF
2656 #define PACKAGE_NAME "$PACKAGE_NAME"
2659 cat >>confdefs.h <<_ACEOF
2660 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2663 cat >>confdefs.h <<_ACEOF
2664 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2667 cat >>confdefs.h <<_ACEOF
2668 #define PACKAGE_STRING "$PACKAGE_STRING"
2671 cat >>confdefs.h <<_ACEOF
2672 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2675 cat >>confdefs.h <<_ACEOF
2676 #define PACKAGE_URL "$PACKAGE_URL"
2680 # Let the site file select an alternate cache file if it wants to.
2681 # Prefer an explicitly selected file to automatically selected ones.
2684 if test -n "$CONFIG_SITE"; then
2685 # We do not want a PATH search for config.site.
2686 case $CONFIG_SITE in #((
2687 -*) ac_site_file1=./$CONFIG_SITE;;
2688 */*) ac_site_file1=$CONFIG_SITE;;
2689 *) ac_site_file1=./$CONFIG_SITE;;
2691 elif test "x$prefix" != xNONE; then
2692 ac_site_file1=$prefix/share/config.site
2693 ac_site_file2=$prefix/etc/config.site
2695 ac_site_file1=$ac_default_prefix/share/config.site
2696 ac_site_file2=$ac_default_prefix/etc/config.site
2698 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2700 test "x$ac_site_file" = xNONE && continue
2701 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2703 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2704 sed 's/^/| /' "$ac_site_file" >&5
2706 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2708 as_fn_error $? "failed to load site
script $ac_site_file
2709 See \
`config.log' for more details" "$LINENO" 5; }
2713 if test -r "$cache_file"; then
2714 # Some versions of bash will fail to source /dev/null (special files
2715 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2716 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2718 $as_echo "$as_me: loading cache $cache_file" >&6;}
2720 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2721 *) . "./$cache_file";;
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2726 $as_echo "$as_me: creating cache $cache_file" >&6;}
2730 gt_needs="$gt_needs "
2731 # Check that the precious variables saved in the cache have kept the same
2733 ac_cache_corrupted=false
2734 for ac_var in $ac_precious_vars; do
2735 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2736 eval ac_new_set=\$ac_env_${ac_var}_set
2737 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2738 eval ac_new_val=\$ac_env_${ac_var}_value
2739 case $ac_old_set,$ac_new_set in
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2742 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2743 ac_cache_corrupted=: ;;
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2746 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2747 ac_cache_corrupted=: ;;
2750 if test "x$ac_old_val" != "x$ac_new_val"; then
2751 # differences in whitespace do not lead to failure.
2752 ac_old_val_w=`echo x
$ac_old_val`
2753 ac_new_val_w=`echo x
$ac_new_val`
2754 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2756 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2757 ac_cache_corrupted=:
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2760 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2761 eval $ac_var=\$ac_old_val
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2764 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2766 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2769 # Pass precious variables to config.status.
2770 if test "$ac_new_set" = set; then
2772 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2773 *) ac_arg=$ac_var=$ac_new_val ;;
2775 case " $ac_configure_args " in
2776 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2777 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2781 if $ac_cache_corrupted; then
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2785 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2786 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2788 ## -------------------- ##
2789 ## Main body of script. ##
2790 ## -------------------- ##
2793 ac_cpp='$CPP $CPPFLAGS'
2794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2801 ac_config_headers="$ac_config_headers include/config.h"
2804 am__api_version='1.13'
2807 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2808 if test -f "$ac_dir/install-sh"; then
2810 ac_install_sh="$ac_aux_dir/install-sh -c"
2812 elif test -f "$ac_dir/install.sh"; then
2814 ac_install_sh="$ac_aux_dir/install.sh -c"
2816 elif test -f "$ac_dir/shtool"; then
2818 ac_install_sh="$ac_aux_dir/shtool install -c"
2822 if test -z "$ac_aux_dir"; then
2823 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2826 # These three variables are undocumented and unsupported,
2827 # and are intended to be withdrawn in a future Autoconf release.
2828 # They can cause serious problems if a builder's source tree is in a directory
2829 # whose full name contains unusual characters.
2830 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2831 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2832 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2835 # Find a good install program. We prefer a C program (faster),
2836 # so one script is as good as another. But avoid the broken or
2837 # incompatible versions:
2838 # SysV /etc/install, /usr/sbin/install
2839 # SunOS /usr/etc/install
2840 # IRIX /sbin/install
2842 # AmigaOS /C/install, which installs bootblocks on floppy discs
2843 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2844 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2845 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2846 # OS/2's system install, which has a completely different semantic
2847 # ./install, which can be erroneously created by make from ./install.sh.
2848 # Reject install programs that cannot install multiple files.
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2850 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2851 if test -z "$INSTALL"; then
2852 if ${ac_cv_path_install+:} false; then :
2853 $as_echo_n "(cached) " >&6
2855 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2859 test -z "$as_dir" && as_dir=.
2860 # Account for people who put trailing slashes in PATH elements.
2861 case $as_dir/ in #((
2862 ./ | .// | /[cC]/* | \
2863 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2864 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2867 # OSF1 and SCO ODT 3.0 have their own names for install.
2868 # Don't use installbsd from OSF since it installs stuff as root
2870 for ac_prog in ginstall scoinst install; do
2871 for ac_exec_ext in '' $ac_executable_extensions; do
2872 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2873 if test $ac_prog = install &&
2874 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2875 # AIX install. It has an incompatible calling convention.
2877 elif test $ac_prog = install &&
2878 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2879 # program-specific install script used by HP pwplus--don't use.
2882 rm -rf conftest.one conftest.two conftest.dir
2883 echo one > conftest.one
2884 echo two > conftest.two
2886 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2887 test -s conftest.one && test -s conftest.two &&
2888 test -s conftest.dir/conftest.one &&
2889 test -s conftest.dir/conftest.two
2891 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2904 rm -rf conftest.one conftest.two conftest.dir
2907 if test "${ac_cv_path_install+set}" = set; then
2908 INSTALL=$ac_cv_path_install
2910 # As a last resort, use the slow shell script. Don't cache a
2911 # value for INSTALL within a source directory, because that will
2912 # break other packages using the cache if that directory is
2913 # removed, or if the value is a relative name.
2914 INSTALL=$ac_install_sh
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2918 $as_echo "$INSTALL" >&6; }
2920 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2921 # It thinks the first close brace ends the variable substitution.
2922 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2924 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2926 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2929 $as_echo_n "checking whether build environment is sane... " >&6; }
2930 # Reject unsafe characters in $srcdir or the absolute working directory
2931 # name. Accept space and tab only in the latter.
2935 *[\\\"\#\$\&\'\`$am_lf]*)
2936 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2939 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2940 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2943 # Do 'set' in a subshell so we don't clobber the current shell's
2944 # arguments. Must try -L first in case configure is actually a
2945 # symlink; some systems play weird games with the mod time of symlinks
2946 # (eg FreeBSD returns the mod time of the symlink's containing
2950 for am_try
in 1 2; do
2951 echo "timestamp, slept: $am_has_slept" > conftest.
file
2952 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2953 if test "$*" = "X"; then
2955 set X
`ls -t "$srcdir/configure" conftest.file`
2957 if test "$*" != "X $srcdir/configure conftest.file" \
2958 && test "$*" != "X conftest.file $srcdir/configure"; then
2960 # If neither matched, then we have a broken ls. This can happen
2961 # if, for instance, CONFIG_SHELL is bash and it inherits a
2962 # broken ls alias from the environment. This has actually
2963 # happened. Such a system could not be considered "sane".
2964 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2965 alias in your environment" "$LINENO" 5
2967 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2974 test "$2" = conftest.
file
2980 as_fn_error $?
"newly created file is older than distributed files!
2981 Check your system clock" "$LINENO" 5
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2984 $as_echo "yes" >&6; }
2985 # If we didn't sleep, we still need to ensure time stamps of config.status and
2986 # generated files are strictly newer.
2988 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2995 test "$program_prefix" != NONE
&&
2996 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2997 # Use a double $ so make ignores it.
2998 test "$program_suffix" != NONE
&&
2999 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3000 # Double any \ or $.
3001 # By default was `s,x,x', remove it if useless.
3002 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3003 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3005 # Expand $ac_aux_dir to an absolute path.
3006 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3008 if test x
"${MISSING+set}" != xset
; then
3011 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3013 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3016 # Use eval to expand $SHELL
3017 if eval "$MISSING --is-lightweight"; then
3018 am_missing_run
="$MISSING "
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3022 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3025 if test x
"${install_sh}" != xset
; then
3028 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3030 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3034 # Installed binaries are usually stripped using 'strip' when the user
3035 # run "make install-strip". However 'strip' might not be the right
3036 # tool to use in cross-compilation environments, therefore Automake
3037 # will honor the 'STRIP' environment variable to overrule this program.
3038 if test "$cross_compiling" != no
; then
3039 if test -n "$ac_tool_prefix"; then
3040 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3041 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3043 $as_echo_n "checking for $ac_word... " >&6; }
3044 if ${ac_cv_prog_STRIP+:} false
; then :
3045 $as_echo_n "(cached) " >&6
3047 if test -n "$STRIP"; then
3048 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3054 test -z "$as_dir" && as_dir
=.
3055 for ac_exec_ext
in '' $ac_executable_extensions; do
3056 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3057 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3067 STRIP
=$ac_cv_prog_STRIP
3068 if test -n "$STRIP"; then
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3070 $as_echo "$STRIP" >&6; }
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3073 $as_echo "no" >&6; }
3078 if test -z "$ac_cv_prog_STRIP"; then
3080 # Extract the first word of "strip", so it can be a program name with args.
3081 set dummy strip
; ac_word
=$2
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3083 $as_echo_n "checking for $ac_word... " >&6; }
3084 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3085 $as_echo_n "(cached) " >&6
3087 if test -n "$ac_ct_STRIP"; then
3088 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3094 test -z "$as_dir" && as_dir
=.
3095 for ac_exec_ext
in '' $ac_executable_extensions; do
3096 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3097 ac_cv_prog_ac_ct_STRIP
="strip"
3098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3107 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3108 if test -n "$ac_ct_STRIP"; then
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3110 $as_echo "$ac_ct_STRIP" >&6; }
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3113 $as_echo "no" >&6; }
3116 if test "x$ac_ct_STRIP" = x
; then
3119 case $cross_compiling:$ac_tool_warned in
3121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3123 ac_tool_warned
=yes ;;
3128 STRIP
="$ac_cv_prog_STRIP"
3132 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3135 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3136 if test -z "$MKDIR_P"; then
3137 if ${ac_cv_path_mkdir+:} false
; then :
3138 $as_echo_n "(cached) " >&6
3140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3141 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3144 test -z "$as_dir" && as_dir
=.
3145 for ac_prog
in mkdir gmkdir
; do
3146 for ac_exec_ext
in '' $ac_executable_extensions; do
3147 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3148 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3149 'mkdir (GNU coreutils) '* | \
3150 'mkdir (coreutils) '* | \
3151 'mkdir (fileutils) '4.1*)
3152 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3162 test -d .
/--version && rmdir .
/--version
3163 if test "${ac_cv_path_mkdir+set}" = set; then
3164 MKDIR_P
="$ac_cv_path_mkdir -p"
3166 # As a last resort, use the slow shell script. Don't cache a
3167 # value for MKDIR_P within a source directory, because that will
3168 # break other packages using the cache if that directory is
3169 # removed, or if the value is a relative name.
3170 MKDIR_P
="$ac_install_sh -d"
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3174 $as_echo "$MKDIR_P" >&6; }
3176 for ac_prog
in gawk mawk nawk
awk
3178 # Extract the first word of "$ac_prog", so it can be a program name with args.
3179 set dummy
$ac_prog; ac_word
=$2
3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3181 $as_echo_n "checking for $ac_word... " >&6; }
3182 if ${ac_cv_prog_AWK+:} false
; then :
3183 $as_echo_n "(cached) " >&6
3185 if test -n "$AWK"; then
3186 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3192 test -z "$as_dir" && as_dir
=.
3193 for ac_exec_ext
in '' $ac_executable_extensions; do
3194 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3195 ac_cv_prog_AWK
="$ac_prog"
3196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3206 if test -n "$AWK"; then
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3208 $as_echo "$AWK" >&6; }
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3211 $as_echo "no" >&6; }
3215 test -n "$AWK" && break
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3219 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3221 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3222 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3223 $as_echo_n "(cached) " >&6
3225 cat >conftest.
make <<\_ACEOF
3228 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3230 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3231 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3233 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3235 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3239 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3241 $as_echo "yes" >&6; }
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3245 $as_echo "no" >&6; }
3246 SET_MAKE
="MAKE=${MAKE-make}"
3249 rm -rf .tst
2>/dev
/null
3250 mkdir .tst
2>/dev
/null
3251 if test -d .tst
; then
3256 rmdir .tst
2>/dev
/null
3258 # Check whether --enable-silent-rules was given.
3259 if test "${enable_silent_rules+set}" = set; then :
3260 enableval
=$enable_silent_rules;
3263 case $enable_silent_rules in # (((
3264 yes) AM_DEFAULT_VERBOSITY
=0;;
3265 no
) AM_DEFAULT_VERBOSITY
=1;;
3266 *) AM_DEFAULT_VERBOSITY
=1;;
3268 am_make
=${MAKE-make}
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3270 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3271 if ${am_cv_make_support_nested_variables+:} false
; then :
3272 $as_echo_n "(cached) " >&6
3274 if $as_echo 'TRUE=$(BAR$(V))
3280 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3281 am_cv_make_support_nested_variables
=yes
3283 am_cv_make_support_nested_variables
=no
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3287 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3288 if test $am_cv_make_support_nested_variables = yes; then
3290 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3292 AM_V
=$AM_DEFAULT_VERBOSITY
3293 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3297 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3298 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3299 # is not polluted with repeated "-I."
3300 am__isrc
=' -I$(srcdir)'
3301 # test to see if srcdir already configured
3302 if test -f $srcdir/config.status
; then
3303 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3307 # test whether we have cygpath
3308 if test -z "$CYGPATH_W"; then
3309 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3310 CYGPATH_W
='cygpath -w'
3317 # Define the identity of the package.
3322 cat >>confdefs.h
<<_ACEOF
3323 #define PACKAGE "$PACKAGE"
3327 cat >>confdefs.h
<<_ACEOF
3328 #define VERSION "$VERSION"
3331 # Some tools Automake needs.
3333 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3336 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3339 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3342 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3345 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3347 # For better backward compatibility. To be removed once Automake 1.9.x
3348 # dies out for good. For more background, see:
3349 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3350 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3351 mkdir_p
='$(MKDIR_P)'
3353 # We need awk for the "check" target. The system "awk" is bad on
3355 # Always define AMTAR for backward compatibility. Yes, it's still used
3356 # in the wild :-( We should find a proper way to deprecate it ...
3360 # We'll loop over all known methods to create a tar archive until one works.
3361 _am_tools
='gnutar pax cpio none'
3363 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3373 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3374 # Check whether --enable-maintainer-mode was given.
3375 if test "${enable_maintainer_mode+set}" = set; then :
3376 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3378 USE_MAINTAINER_MODE
=no
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3382 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3383 if test $USE_MAINTAINER_MODE = yes; then
3384 MAINTAINER_MODE_TRUE
=
3385 MAINTAINER_MODE_FALSE
='#'
3387 MAINTAINER_MODE_TRUE
='#'
3388 MAINTAINER_MODE_FALSE
=
3391 MAINT
=$MAINTAINER_MODE_TRUE
3395 # Make sure we can run config.sub.
3396 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3397 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3400 $as_echo_n "checking build system type... " >&6; }
3401 if ${ac_cv_build+:} false
; then :
3402 $as_echo_n "(cached) " >&6
3404 ac_build_alias
=$build_alias
3405 test "x$ac_build_alias" = x
&&
3406 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3407 test "x$ac_build_alias" = x
&&
3408 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3409 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3410 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3414 $as_echo "$ac_cv_build" >&6; }
3415 case $ac_cv_build in
3417 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3420 ac_save_IFS
=$IFS; IFS
='-'
3426 # Remember, the first character of IFS is used to create $*,
3427 # except with old shells:
3430 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3434 $as_echo_n "checking host system type... " >&6; }
3435 if ${ac_cv_host+:} false
; then :
3436 $as_echo_n "(cached) " >&6
3438 if test "x$host_alias" = x
; then
3439 ac_cv_host
=$ac_cv_build
3441 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3442 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3447 $as_echo "$ac_cv_host" >&6; }
3450 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3453 ac_save_IFS
=$IFS; IFS
='-'
3459 # Remember, the first character of IFS is used to create $*,
3460 # except with old shells:
3463 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3468 ac_cpp
='$CPP $CPPFLAGS'
3469 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3470 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3471 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring for $PACKAGE_STRING ($host)" >&5
3475 $as_echo "$as_me: Configuring for $PACKAGE_STRING ($host)" >&6;}
3477 # start out with intent to build Web Alpine
3478 WEB_BUILD
=web
/src
/alpined.d
3482 ac_cpp
='$CPP $CPPFLAGS'
3483 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3484 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3485 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3486 if test -n "$ac_tool_prefix"; then
3487 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3488 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3490 $as_echo_n "checking for $ac_word... " >&6; }
3491 if ${ac_cv_prog_CC+:} false
; then :
3492 $as_echo_n "(cached) " >&6
3494 if test -n "$CC"; then
3495 ac_cv_prog_CC
="$CC" # Let the user override the test.
3497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3501 test -z "$as_dir" && as_dir
=.
3502 for ac_exec_ext
in '' $ac_executable_extensions; do
3503 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3504 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 if test -n "$CC"; then
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3517 $as_echo "$CC" >&6; }
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3520 $as_echo "no" >&6; }
3525 if test -z "$ac_cv_prog_CC"; then
3527 # Extract the first word of "gcc", so it can be a program name with args.
3528 set dummy gcc
; ac_word
=$2
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3530 $as_echo_n "checking for $ac_word... " >&6; }
3531 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3532 $as_echo_n "(cached) " >&6
3534 if test -n "$ac_ct_CC"; then
3535 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3541 test -z "$as_dir" && as_dir
=.
3542 for ac_exec_ext
in '' $ac_executable_extensions; do
3543 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3544 ac_cv_prog_ac_ct_CC
="gcc"
3545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3554 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3555 if test -n "$ac_ct_CC"; then
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3557 $as_echo "$ac_ct_CC" >&6; }
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3560 $as_echo "no" >&6; }
3563 if test "x$ac_ct_CC" = x
; then
3566 case $cross_compiling:$ac_tool_warned in
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3570 ac_tool_warned
=yes ;;
3578 if test -z "$CC"; then
3579 if test -n "$ac_tool_prefix"; then
3580 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3581 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583 $as_echo_n "checking for $ac_word... " >&6; }
3584 if ${ac_cv_prog_CC+:} false
; then :
3585 $as_echo_n "(cached) " >&6
3587 if test -n "$CC"; then
3588 ac_cv_prog_CC
="$CC" # Let the user override the test.
3590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3594 test -z "$as_dir" && as_dir
=.
3595 for ac_exec_ext
in '' $ac_executable_extensions; do
3596 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3597 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3608 if test -n "$CC"; then
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3610 $as_echo "$CC" >&6; }
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3619 if test -z "$CC"; then
3620 # Extract the first word of "cc", so it can be a program name with args.
3621 set dummy cc
; ac_word
=$2
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3623 $as_echo_n "checking for $ac_word... " >&6; }
3624 if ${ac_cv_prog_CC+:} false
; then :
3625 $as_echo_n "(cached) " >&6
3627 if test -n "$CC"; then
3628 ac_cv_prog_CC
="$CC" # Let the user override the test.
3631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3635 test -z "$as_dir" && as_dir
=.
3636 for ac_exec_ext
in '' $ac_executable_extensions; do
3637 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3638 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3639 ac_prog_rejected
=yes
3643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3650 if test $ac_prog_rejected = yes; then
3651 # We found a bogon in the path, so make sure we never use it.
3652 set dummy
$ac_cv_prog_CC
3654 if test $# != 0; then
3655 # We chose a different compiler from the bogus one.
3656 # However, it has the same basename, so the bogon will be chosen
3657 # first if we set CC to just the basename; use the full file name.
3659 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3665 if test -n "$CC"; then
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3667 $as_echo "$CC" >&6; }
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3670 $as_echo "no" >&6; }
3675 if test -z "$CC"; then
3676 if test -n "$ac_tool_prefix"; then
3677 for ac_prog
in cl.exe
3679 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3680 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3682 $as_echo_n "checking for $ac_word... " >&6; }
3683 if ${ac_cv_prog_CC+:} false
; then :
3684 $as_echo_n "(cached) " >&6
3686 if test -n "$CC"; then
3687 ac_cv_prog_CC
="$CC" # Let the user override the test.
3689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3693 test -z "$as_dir" && as_dir
=.
3694 for ac_exec_ext
in '' $ac_executable_extensions; do
3695 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3696 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 if test -n "$CC"; then
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3709 $as_echo "$CC" >&6; }
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3712 $as_echo "no" >&6; }
3716 test -n "$CC" && break
3719 if test -z "$CC"; then
3721 for ac_prog
in cl.exe
3723 # Extract the first word of "$ac_prog", so it can be a program name with args.
3724 set dummy
$ac_prog; ac_word
=$2
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3726 $as_echo_n "checking for $ac_word... " >&6; }
3727 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3728 $as_echo_n "(cached) " >&6
3730 if test -n "$ac_ct_CC"; then
3731 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3737 test -z "$as_dir" && as_dir
=.
3738 for ac_exec_ext
in '' $ac_executable_extensions; do
3739 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3740 ac_cv_prog_ac_ct_CC
="$ac_prog"
3741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3750 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3751 if test -n "$ac_ct_CC"; then
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3753 $as_echo "$ac_ct_CC" >&6; }
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3756 $as_echo "no" >&6; }
3760 test -n "$ac_ct_CC" && break
3763 if test "x$ac_ct_CC" = x
; then
3766 case $cross_compiling:$ac_tool_warned in
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3770 ac_tool_warned
=yes ;;
3779 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3781 as_fn_error $?
"no acceptable C compiler found in \$PATH
3782 See \`config.log' for more details" "$LINENO" 5; }
3784 # Provide some information about the compiler.
3785 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3788 for ac_option
in --version -v -V -qversion; do
3789 { { ac_try
="$ac_compiler $ac_option >&5"
3791 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3792 *) ac_try_echo=$ac_try;;
3794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3795 $as_echo "$ac_try_echo"; } >&5
3796 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3798 if test -s conftest.err; then
3800 ... rest of stderr output deleted ...
3801 10q' conftest.err >conftest.er1
3802 cat conftest.er1 >&5
3804 rm -f conftest.er1 conftest.err
3805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3806 test $ac_status = 0; }
3809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3810 /* end confdefs.h. */
3820 ac_clean_files_save=$ac_clean_files
3821 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3822 # Try to create an executable without -o first, disregard a.out.
3823 # It will help us diagnose broken compilers, and finding out an intuition
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3826 $as_echo_n "checking whether the C compiler works... " >&6; }
3827 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3829 # The possible output files:
3830 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3833 for ac_file in $ac_files
3836 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3837 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3842 if { { ac_try="$ac_link_default"
3844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3845 *) ac_try_echo
=$ac_try;;
3847 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848 $as_echo "$ac_try_echo"; } >&5
3849 (eval "$ac_link_default") 2>&5
3851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3852 test $ac_status = 0; }; then :
3853 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3854 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3855 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3856 # so that the user can short-circuit this test for compilers unknown to
3858 for ac_file
in $ac_files ''
3860 test -f "$ac_file" ||
continue
3862 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3865 # We found the default executable, but exeext='' is most
3869 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3871 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3873 # We set ac_cv_exeext here because the later test for it is not
3874 # safe: cross compilers may not add the suffix if given an `-o'
3875 # argument, so we may need to know it at that point already.
3876 # Even if this section looks crufty: it has the advantage of
3883 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3888 if test -z "$ac_file"; then :
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3890 $as_echo "no" >&6; }
3891 $as_echo "$as_me: failed program was:" >&5
3892 sed 's/^/| /' conftest.
$ac_ext >&5
3894 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3896 as_fn_error
77 "C compiler cannot create executables
3897 See \`config.log' for more details" "$LINENO" 5; }
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3900 $as_echo "yes" >&6; }
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3903 $as_echo_n "checking for C compiler default output file name... " >&6; }
3904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3905 $as_echo "$ac_file" >&6; }
3906 ac_exeext
=$ac_cv_exeext
3908 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3909 ac_clean_files
=$ac_clean_files_save
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3911 $as_echo_n "checking for suffix of executables... " >&6; }
3912 if { { ac_try
="$ac_link"
3914 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3915 *) ac_try_echo=$ac_try;;
3917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3918 $as_echo "$ac_try_echo"; } >&5
3919 (eval "$ac_link") 2>&5
3921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3922 test $ac_status = 0; }; then :
3923 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3924 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3925 # work properly (i.e., refer to `conftest.exe'), while it won't with
3927 for ac_file
in conftest.exe conftest conftest.
*; do
3928 test -f "$ac_file" ||
continue
3930 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3931 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3937 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3938 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3939 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3940 See \`config.log' for more details" "$LINENO" 5; }
3942 rm -f conftest conftest
$ac_cv_exeext
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3944 $as_echo "$ac_cv_exeext" >&6; }
3946 rm -f conftest.
$ac_ext
3947 EXEEXT
=$ac_cv_exeext
3949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3950 /* end confdefs.h. */
3955 FILE *f = fopen ("conftest.out", "w");
3956 return ferror (f) || fclose (f) != 0;
3962 ac_clean_files
="$ac_clean_files conftest.out"
3963 # Check that the compiler produces executables we can run. If not, either
3964 # the compiler is broken, or we cross compile.
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3966 $as_echo_n "checking whether we are cross compiling... " >&6; }
3967 if test "$cross_compiling" != yes; then
3968 { { ac_try
="$ac_link"
3970 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3971 *) ac_try_echo=$ac_try;;
3973 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3974 $as_echo "$ac_try_echo"; } >&5
3975 (eval "$ac_link") 2>&5
3977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3978 test $ac_status = 0; }
3979 if { ac_try='./conftest$ac_cv_exeext'
3980 { { case "(($ac_try" in
3981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3982 *) ac_try_echo
=$ac_try;;
3984 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3985 $as_echo "$ac_try_echo"; } >&5
3986 (eval "$ac_try") 2>&5
3988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3989 test $ac_status = 0; }; }; then
3992 if test "$cross_compiling" = maybe
; then
3995 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3996 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3997 as_fn_error $?
"cannot run C compiled programs.
3998 If you meant to cross compile, use \`--host'.
3999 See \`config.log' for more details" "$LINENO" 5; }
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4004 $as_echo "$cross_compiling" >&6; }
4006 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4007 ac_clean_files
=$ac_clean_files_save
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4009 $as_echo_n "checking for suffix of object files... " >&6; }
4010 if ${ac_cv_objext+:} false
; then :
4011 $as_echo_n "(cached) " >&6
4013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4014 /* end confdefs.h. */
4024 rm -f conftest.o conftest.obj
4025 if { { ac_try
="$ac_compile"
4027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4028 *) ac_try_echo=$ac_try;;
4030 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4031 $as_echo "$ac_try_echo"; } >&5
4032 (eval "$ac_compile") 2>&5
4034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4035 test $ac_status = 0; }; then :
4036 for ac_file in conftest.o conftest.obj conftest.*; do
4037 test -f "$ac_file" || continue;
4039 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4040 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4045 $as_echo "$as_me: failed program was:" >&5
4046 sed 's/^/| /' conftest.$ac_ext >&5
4048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4050 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4051 See \
`config.log' for more details" "$LINENO" 5; }
4053 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4056 $as_echo "$ac_cv_objext" >&6; }
4057 OBJEXT=$ac_cv_objext
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4060 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4061 if ${ac_cv_c_compiler_gnu+:} false; then :
4062 $as_echo_n "(cached) " >&6
4064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4065 /* end confdefs.h. */
4078 if ac_fn_c_try_compile "$LINENO"; then :
4083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4084 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4088 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4089 if test $ac_compiler_gnu = yes; then
4094 ac_test_CFLAGS=${CFLAGS+set}
4095 ac_save_CFLAGS=$CFLAGS
4096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4097 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4098 if ${ac_cv_prog_cc_g+:} false; then :
4099 $as_echo_n "(cached) " >&6
4101 ac_save_c_werror_flag=$ac_c_werror_flag
4102 ac_c_werror_flag=yes
4105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h. */
4116 if ac_fn_c_try_compile "$LINENO"; then :
4120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4121 /* end confdefs.h. */
4131 if ac_fn_c_try_compile "$LINENO"; then :
4134 ac_c_werror_flag=$ac_save_c_werror_flag
4136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 /* end confdefs.h. */
4147 if ac_fn_c_try_compile "$LINENO"; then :
4150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4155 ac_c_werror_flag=$ac_save_c_werror_flag
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4158 $as_echo "$ac_cv_prog_cc_g" >&6; }
4159 if test "$ac_test_CFLAGS" = set; then
4160 CFLAGS=$ac_save_CFLAGS
4161 elif test $ac_cv_prog_cc_g = yes; then
4162 if test "$GCC" = yes; then
4168 if test "$GCC" = yes; then
4174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4175 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4176 if ${ac_cv_prog_cc_c89+:} false; then :
4177 $as_echo_n "(cached) " >&6
4179 ac_cv_prog_cc_c89=no
4181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4182 /* end confdefs.h. */
4186 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4187 struct buf { int x; };
4188 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4189 static char *e (p, i)
4195 static char *f (char * (*g) (char **, int), char **p, ...)
4200 s = g (p, va_arg (v,int));
4205 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4206 function prototypes and stuff, but not '\xHH' hex character constants.
4207 These don't provoke an error unfortunately, instead are silently treated
4208 as 'x'. The following induces an error, until -std is added to get
4209 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4210 array size at least. It's necessary to write '\x00'==0 to get something
4211 that's true only with -std. */
4212 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4214 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4215 inside strings and character constants. */
4217 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4219 int test (int i, double x);
4220 struct s1 {int (*f) (int a);};
4221 struct s2 {int (*f) (double a);};
4222 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4228 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4233 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4234 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4236 CC="$ac_save_CC $ac_arg"
4237 if ac_fn_c_try_compile "$LINENO"; then :
4238 ac_cv_prog_cc_c89=$ac_arg
4240 rm -f core conftest.err conftest.$ac_objext
4241 test "x$ac_cv_prog_cc_c89" != "xno" && break
4243 rm -f conftest.$ac_ext
4248 case "x$ac_cv_prog_cc_c89" in
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4251 $as_echo "none needed" >&6; } ;;
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4254 $as_echo "unsupported" >&6; } ;;
4256 CC="$CC $ac_cv_prog_cc_c89"
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4258 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4260 if test "x$ac_cv_prog_cc_c89" != xno; then :
4265 ac_cpp='$CPP $CPPFLAGS'
4266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4269 DEPDIR="${am__leading_dot}deps"
4271 ac_config_commands="$ac_config_commands depfiles"
4274 am_make=${MAKE-make}
4275 cat > confinc << 'END'
4277 @echo this is the am__doit target
4280 # If we don't find an include directive, just comment out the code.
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4282 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4286 # First try GNU make style include.
4287 echo "include confinc" > confmf
4288 # Ignore all kinds of additional output from 'make'.
4289 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4290 *the\ am__doit\ target*)
4296 # Now try BSD make style include.
4297 if test "$am__include" = "#"; then
4298 echo '.include "confinc"' > confmf
4299 case `$am_make -s -f confmf
2> /dev
/null
` in #(
4300 *the\ am__doit\ target*)
4301 am__include=.include
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4310 $as_echo "$_am_result" >&6; }
4311 rm -f confinc confmf
4313 # Check whether --enable-dependency-tracking was given.
4314 if test "${enable_dependency_tracking+set}" = set; then :
4315 enableval=$enable_dependency_tracking;
4318 if test "x$enable_dependency_tracking" != xno; then
4319 am_depcomp="$ac_aux_dir/depcomp"
4323 if test "x$enable_dependency_tracking" != xno; then
4333 depcc="$CC" am_compiler_list=
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4336 $as_echo_n "checking dependency style of $depcc... " >&6; }
4337 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4338 $as_echo_n "(cached) " >&6
4340 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4341 # We make a subdir and do the tests there. Otherwise we can end up
4342 # making bogus files that we don't know about and never remove. For
4343 # instance it was reported that on HP-UX the gcc test will end up
4344 # making a dummy file named 'D' -- because '-MD' means "put the output
4348 # Copy depcomp to subdir because otherwise we won't find it if we're
4349 # using a relative directory.
4350 cp "$am_depcomp" conftest.dir
4352 # We will build objects and dependencies in a subdirectory because
4353 # it helps to detect inapplicable dependency modes. For instance
4354 # both Tru64's cc and ICC support -MD to output dependencies as a
4355 # side effect of compilation, but ICC will put the dependencies in
4356 # the current directory while Tru64 will put them in the object
4360 am_cv_CC_dependencies_compiler_type=none
4361 if test "$am_compiler_list" = ""; then
4362 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4365 case " $depcc " in #(
4366 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4369 for depmode in $am_compiler_list; do
4370 # Setup a source with many dependencies, because some compilers
4371 # like to wrap large dependency lists on column 80 (with \), and
4372 # we should not choose a depcomp mode which is confused by this.
4374 # We need to recreate these files for each test, as the compiler may
4375 # overwrite some of them when testing with obscure command lines.
4376 # This happens at least with the AIX C compiler.
4378 for i in 1 2 3 4 5 6; do
4379 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4380 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4381 # Solaris 10 /bin/sh.
4382 echo '/* dummy */' > sub/conftst$i.h
4384 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4386 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4387 # mode. It turns out that the SunPro C++ compiler does not properly
4388 # handle '-M -o', and we need to detect this. Also, some Intel
4389 # versions had trouble with output in subdirs.
4390 am__obj=sub/conftest.${OBJEXT-o}
4391 am__minus_obj="-o $am__obj"
4394 # This depmode causes a compiler race in universal mode.
4395 test "$am__universal" = false || continue
4398 # After this tag, mechanisms are not by side-effect, so they'll
4399 # only be used when explicitly requested.
4400 if test "x$enable_dependency_tracking" = xyes; then
4406 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4407 # This compiler won't grok '-c -o', but also, the minuso test has
4408 # not run yet. These depmodes are late enough in the game, and
4409 # so weak that their functioning should not be impacted.
4410 am__obj=conftest.${OBJEXT-o}
4415 if depmode=$depmode \
4416 source=sub/conftest.c object=$am__obj \
4417 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4418 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4419 >/dev/null 2>conftest.err &&
4420 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4421 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4422 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4423 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4424 # icc doesn't choke on unknown options, it will just issue warnings
4425 # or remarks (even with -Werror). So we grep stderr for any message
4426 # that says an option was ignored or not supported.
4427 # When given -MP, icc 7.0 and 7.1 complain thusly:
4428 # icc: Command line warning: ignoring option '-M'; no argument required
4429 # The diagnosis changed in icc 8.0:
4430 # icc: Command line remark: option '-MP' not supported
4431 if (grep 'ignoring option' conftest.err ||
4432 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4433 am_cv_CC_dependencies_compiler_type=$depmode
4442 am_cv_CC_dependencies_compiler_type=none
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4447 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4448 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4451 test "x$enable_dependency_tracking" != xno \
4452 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4454 am__fastdepCC_FALSE='#'
4456 am__fastdepCC_TRUE='#'
4457 am__fastdepCC_FALSE=
4461 case $ac_cv_prog_cc_stdc in #(
4463 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
4466 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
4467 if ${ac_cv_prog_cc_c99+:} false; then :
4468 $as_echo_n "(cached) " >&6
4470 ac_cv_prog_cc_c99=no
4472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4473 /* end confdefs.h. */
4475 #include <stdbool.h>
4480 // Check varargs macros. These examples are taken from C99 6.10.3.5.
4481 #define debug(...) fprintf (stderr, __VA_ARGS__)
4482 #define showlist(...) puts (#__VA_ARGS__)
4483 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
4485 test_varargs_macros (void)
4490 debug ("X = %d\n", x);
4491 showlist (The first, second, and third items.);
4492 report (x>y, "x is %d but y is %d", x, y);
4495 // Check long long types.
4496 #define BIG64 18446744073709551615ull
4497 #define BIG32 4294967295ul
4498 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
4500 your preprocessor is broken;
4504 your preprocessor is broken;
4506 static long long int bignum = -9223372036854775807LL;
4507 static unsigned long long int ubignum = BIG64;
4509 struct incomplete_array
4517 const wchar_t *name;
4521 typedef const char *ccp;
4524 test_restrict (ccp restrict text)
4526 // See if C++-style comments work.
4527 // Iterate through items via the restricted pointer.
4528 // Also check for declarations in for loops.
4529 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4534 // Check varargs and va_copy.
4536 test_varargs (const char *format, ...)
4539 va_start (args, format);
4541 va_copy (args_copy, args);
4552 str = va_arg (args_copy, const char *);
4555 number = va_arg (args_copy, int);
4558 fnumber = va_arg (args_copy, double);
4573 _Bool success = false;
4576 if (test_restrict ("String literal") == 0)
4578 char *restrict newvar = "Another string";
4581 test_varargs ("s, d' f .", "string", 65, 34.234);
4582 test_varargs_macros ();
4584 // Check flexible array members.
4585 struct incomplete_array *ia =
4586 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4588 for (int i = 0; i < ia->datasize; ++i)
4589 ia->data[i] = i * 1.234;
4591 // Check named initializers.
4592 struct named_init ni = {
4594 .name = L"Test wide string",
4595 .average = 543.34343,
4600 int dynamic_array[ni.number];
4601 dynamic_array[ni.number - 1] = 543;
4603 // work around unused variable warnings
4604 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4605 || dynamic_array[ni.number - 1] != 543);
4611 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4613 CC="$ac_save_CC $ac_arg"
4614 if ac_fn_c_try_compile "$LINENO"; then :
4615 ac_cv_prog_cc_c99=$ac_arg
4617 rm -f core conftest.err conftest.$ac_objext
4618 test "x$ac_cv_prog_cc_c99" != "xno" && break
4620 rm -f conftest.$ac_ext
4625 case "x$ac_cv_prog_cc_c99" in
4627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4628 $as_echo "none needed" >&6; } ;;
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4631 $as_echo "unsupported" >&6; } ;;
4633 CC="$CC $ac_cv_prog_cc_c99"
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4635 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4637 if test "x$ac_cv_prog_cc_c99" != xno; then :
4638 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4641 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4642 if ${ac_cv_prog_cc_c89+:} false; then :
4643 $as_echo_n "(cached) " >&6
4645 ac_cv_prog_cc_c89=no
4647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4648 /* end confdefs.h. */
4652 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4653 struct buf { int x; };
4654 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4655 static char *e (p, i)
4661 static char *f (char * (*g) (char **, int), char **p, ...)
4666 s = g (p, va_arg (v,int));
4671 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4672 function prototypes and stuff, but not '\xHH' hex character constants.
4673 These don't provoke an error unfortunately, instead are silently treated
4674 as 'x'. The following induces an error, until -std is added to get
4675 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4676 array size at least. It's necessary to write '\x00'==0 to get something
4677 that's true only with -std. */
4678 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4680 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4681 inside strings and character constants. */
4683 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4685 int test (int i, double x);
4686 struct s1 {int (*f) (int a);};
4687 struct s2 {int (*f) (double a);};
4688 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4694 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4699 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4700 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4702 CC="$ac_save_CC $ac_arg"
4703 if ac_fn_c_try_compile "$LINENO"; then :
4704 ac_cv_prog_cc_c89=$ac_arg
4706 rm -f core conftest.err conftest.$ac_objext
4707 test "x$ac_cv_prog_cc_c89" != "xno" && break
4709 rm -f conftest.$ac_ext
4714 case "x$ac_cv_prog_cc_c89" in
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4717 $as_echo "none needed" >&6; } ;;
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4720 $as_echo "unsupported" >&6; } ;;
4722 CC="$CC $ac_cv_prog_cc_c89"
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4724 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4726 if test "x$ac_cv_prog_cc_c89" != xno; then :
4727 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4729 ac_cv_prog_cc_stdc=no
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4736 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4737 if ${ac_cv_prog_cc_stdc+:} false; then :
4738 $as_echo_n "(cached) " >&6
4741 case $ac_cv_prog_cc_stdc in #(
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4744 $as_echo "unsupported" >&6; } ;; #(
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4747 $as_echo "none needed" >&6; } ;; #(
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4750 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4755 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4757 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4758 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4759 $as_echo_n "(cached) " >&6
4761 cat >conftest.make <<\_ACEOF
4764 @echo '@@@%%%=$(MAKE)=@@@%%%'
4766 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4767 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
4769 eval ac_cv_prog_make_${ac_make}_set=yes;;
4771 eval ac_cv_prog_make_${ac_make}_set=no;;
4775 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4777 $as_echo "yes" >&6; }
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4781 $as_echo "no" >&6; }
4782 SET_MAKE="MAKE=${MAKE-make}"
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4786 $as_echo_n "checking whether ln -s works... " >&6; }
4788 if test "$LN_S" = "ln -s"; then
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4790 $as_echo "yes" >&6; }
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4793 $as_echo "no, using $LN_S" >&6; }
4796 for ac_prog in gawk mawk nawk awk
4798 # Extract the first word of "$ac_prog", so it can be a program name with args.
4799 set dummy $ac_prog; ac_word=$2
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4801 $as_echo_n "checking for $ac_word... " >&6; }
4802 if ${ac_cv_prog_AWK+:} false; then :
4803 $as_echo_n "(cached) " >&6
4805 if test -n "$AWK"; then
4806 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4812 test -z "$as_dir" && as_dir=.
4813 for ac_exec_ext in '' $ac_executable_extensions; do
4814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4815 ac_cv_prog_AWK="$ac_prog"
4816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4826 if test -n "$AWK"; then
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4828 $as_echo "$AWK" >&6; }
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4831 $as_echo "no" >&6; }
4835 test -n "$AWK" && break
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
4841 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
4846 macro_version='2.4.2'
4847 macro_revision='1.3337'
4861 ltmain="$ac_aux_dir/ltmain.sh"
4863 # Backslashify metacharacters that are still active within
4864 # double-quoted strings.
4865 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
4867 # Same as above, but do not quote variable references.
4868 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
4870 # Sed substitution to delay expansion of an escaped shell variable in a
4871 # double_quote_subst'ed string.
4872 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4874 # Sed substitution to delay expansion of an escaped single quote.
4875 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4877 # Sed substitution to avoid accidental globbing in evaled expressions
4878 no_glob_subst='s/\*/\\\*/g'
4880 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4881 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4882 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print
strings" >&5
4885 $as_echo_n "checking how to print
strings...
" >&6; }
4886 # Test print first, because it will be a builtin if present.
4887 if test "X
`( print -r -- -n ) 2>/dev/null`" = X-n && \
4888 test "X
`print -r -- $ECHO 2>/dev/null`" = "X
$ECHO"; then
4890 elif test "X
`printf %s $ECHO 2>/dev/null`" = "X
$ECHO"; then
4893 # Use this function as a fallback that always works.
4894 func_fallback_echo ()
4896 eval 'cat <<_LTECHO_EOF
4900 ECHO='func_fallback_echo'
4903 # func_echo_all arg...
4904 # Invoke $ECHO with all args, space-separated.
4911 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: printf" >&5
4912 $as_echo "printf" >&6; } ;;
4913 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: print
-r" >&5
4914 $as_echo "print
-r" >&6; } ;;
4915 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result
: cat" >&5
4916 $as_echo "cat" >&6; } ;;
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for a
sed that does not truncate output
" >&5
4933 $as_echo_n "checking
for a
sed that does not truncate output...
" >&6; }
4934 if ${ac_cv_path_SED+:} false; then :
4935 $as_echo_n "(cached
) " >&6
4937 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4938 for ac_i in 1 2 3 4 5 6 7; do
4939 ac_script="$ac_script$as_nl$ac_script"
4941 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4942 { ac_script=; unset ac_script;}
4943 if test -z "$SED"; then
4944 ac_path_SED_found=false
4945 # Loop through the user's path and test for each of PROGNAME-LIST
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4950 test -z "$as_dir" && as_dir=.
4951 for ac_prog in sed gsed; do
4952 for ac_exec_ext in '' $ac_executable_extensions; do
4953 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4954 as_fn_executable_p "$ac_path_SED" || continue
4955 # Check for GNU ac_path_SED and select it if it is found.
4956 # Check for GNU $ac_path_SED
4957 case `"$ac_path_SED" --version 2>&1` in
4959 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4962 $as_echo_n 0123456789 >"conftest.
in"
4965 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
4966 mv "conftest.tmp
" "conftest.
in"
4967 cp "conftest.
in" "conftest.
nl"
4968 $as_echo '' >> "conftest.
nl"
4969 "$ac_path_SED" -f conftest.sed < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
4970 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
4971 as_fn_arith $ac_count + 1 && ac_count=$as_val
4972 if test $ac_count -gt ${ac_path_SED_max-0}; then
4973 # Best one so far, save it but keep looking for a better one
4974 ac_cv_path_SED="$ac_path_SED"
4975 ac_path_SED_max=$ac_count
4977 # 10*(2^10) chars as input seems more than enough
4978 test $ac_count -gt 10 && break
4980 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4983 $ac_path_SED_found && break 3
4988 if test -z "$ac_cv_path_SED"; then
4989 as_fn_error $? "no acceptable
sed could be found
in \
$PATH" "$LINENO" 5
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_SED" >&5
4997 $as_echo "$ac_cv_path_SED" >&6; }
4998 SED="$ac_cv_path_SED"
5001 test -z "$SED" && SED=sed
5002 Xsed="$SED -e 1s
/^X
//"
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for grep that handles long lines and
-e" >&5
5015 $as_echo_n "checking
for grep that handles long lines and
-e...
" >&6; }
5016 if ${ac_cv_path_GREP+:} false; then :
5017 $as_echo_n "(cached
) " >&6
5019 if test -z "$GREP"; then
5020 ac_path_GREP_found=false
5021 # Loop through the user's path and test for each of PROGNAME-LIST
5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5026 test -z "$as_dir" && as_dir=.
5027 for ac_prog in grep ggrep; do
5028 for ac_exec_ext in '' $ac_executable_extensions; do
5029 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5030 as_fn_executable_p "$ac_path_GREP" || continue
5031 # Check for GNU ac_path_GREP and select it if it is found.
5032 # Check for GNU $ac_path_GREP
5033 case `"$ac_path_GREP" --version 2>&1` in
5035 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5038 $as_echo_n 0123456789 >"conftest.
in"
5041 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5042 mv "conftest.tmp
" "conftest.
in"
5043 cp "conftest.
in" "conftest.
nl"
5044 $as_echo 'GREP' >> "conftest.
nl"
5045 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5046 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5047 as_fn_arith $ac_count + 1 && ac_count=$as_val
5048 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5049 # Best one so far, save it but keep looking for a better one
5050 ac_cv_path_GREP="$ac_path_GREP"
5051 ac_path_GREP_max=$ac_count
5053 # 10*(2^10) chars as input seems more than enough
5054 test $ac_count -gt 10 && break
5056 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5059 $ac_path_GREP_found && break 3
5064 if test -z "$ac_cv_path_GREP"; then
5065 as_fn_error $? "no acceptable
grep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5068 ac_cv_path_GREP=$GREP
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_GREP" >&5
5073 $as_echo "$ac_cv_path_GREP" >&6; }
5074 GREP="$ac_cv_path_GREP"
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for egrep" >&5
5078 $as_echo_n "checking
for egrep...
" >&6; }
5079 if ${ac_cv_path_EGREP+:} false; then :
5080 $as_echo_n "(cached
) " >&6
5082 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5083 then ac_cv_path_EGREP="$GREP -E"
5085 if test -z "$EGREP"; then
5086 ac_path_EGREP_found=false
5087 # Loop through the user's path and test for each of PROGNAME-LIST
5088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5092 test -z "$as_dir" && as_dir=.
5093 for ac_prog in egrep; do
5094 for ac_exec_ext in '' $ac_executable_extensions; do
5095 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5096 as_fn_executable_p "$ac_path_EGREP" || continue
5097 # Check for GNU ac_path_EGREP and select it if it is found.
5098 # Check for GNU $ac_path_EGREP
5099 case `"$ac_path_EGREP" --version 2>&1` in
5101 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5104 $as_echo_n 0123456789 >"conftest.
in"
5107 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5108 mv "conftest.tmp
" "conftest.
in"
5109 cp "conftest.
in" "conftest.
nl"
5110 $as_echo 'EGREP' >> "conftest.
nl"
5111 "$ac_path_EGREP" 'EGREP$' < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5112 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5113 as_fn_arith $ac_count + 1 && ac_count=$as_val
5114 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5115 # Best one so far, save it but keep looking for a better one
5116 ac_cv_path_EGREP="$ac_path_EGREP"
5117 ac_path_EGREP_max=$ac_count
5119 # 10*(2^10) chars as input seems more than enough
5120 test $ac_count -gt 10 && break
5122 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5125 $ac_path_EGREP_found && break 3
5130 if test -z "$ac_cv_path_EGREP"; then
5131 as_fn_error $? "no acceptable
egrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5134 ac_cv_path_EGREP=$EGREP
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_EGREP" >&5
5140 $as_echo "$ac_cv_path_EGREP" >&6; }
5141 EGREP="$ac_cv_path_EGREP"
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for fgrep
" >&5
5145 $as_echo_n "checking
for fgrep...
" >&6; }
5146 if ${ac_cv_path_FGREP+:} false; then :
5147 $as_echo_n "(cached
) " >&6
5149 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5150 then ac_cv_path_FGREP="$GREP -F"
5152 if test -z "$FGREP"; then
5153 ac_path_FGREP_found=false
5154 # Loop through the user's path and test for each of PROGNAME-LIST
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5159 test -z "$as_dir" && as_dir=.
5160 for ac_prog in fgrep; do
5161 for ac_exec_ext in '' $ac_executable_extensions; do
5162 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5163 as_fn_executable_p "$ac_path_FGREP" || continue
5164 # Check for GNU ac_path_FGREP and select it if it is found.
5165 # Check for GNU $ac_path_FGREP
5166 case `"$ac_path_FGREP" --version 2>&1` in
5168 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5171 $as_echo_n 0123456789 >"conftest.
in"
5174 cat "conftest.
in" "conftest.
in" >"conftest.tmp
"
5175 mv "conftest.tmp
" "conftest.
in"
5176 cp "conftest.
in" "conftest.
nl"
5177 $as_echo 'FGREP' >> "conftest.
nl"
5178 "$ac_path_FGREP" FGREP < "conftest.
nl" >"conftest.out
" 2>/dev/null || break
5179 diff "conftest.out
" "conftest.
nl" >/dev/null 2>&1 || break
5180 as_fn_arith $ac_count + 1 && ac_count=$as_val
5181 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5182 # Best one so far, save it but keep looking for a better one
5183 ac_cv_path_FGREP="$ac_path_FGREP"
5184 ac_path_FGREP_max=$ac_count
5186 # 10*(2^10) chars as input seems more than enough
5187 test $ac_count -gt 10 && break
5189 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5192 $ac_path_FGREP_found && break 3
5197 if test -z "$ac_cv_path_FGREP"; then
5198 as_fn_error $? "no acceptable fgrep could be found
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
" "$LINENO" 5
5201 ac_cv_path_FGREP=$FGREP
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_path_FGREP" >&5
5207 $as_echo "$ac_cv_path_FGREP" >&6; }
5208 FGREP="$ac_cv_path_FGREP"
5211 test -z "$GREP" && GREP=grep
5231 # Check whether --with-gnu-ld was given.
5232 if test "${with_gnu_ld+set}" = set; then :
5233 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5239 if test "$GCC" = yes; then
5240 # Check if gcc -print-prog-name=ld gives a path.
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ld used by
$CC" >&5
5242 $as_echo_n "checking
for ld used by
$CC...
" >&6; }
5245 # gcc leaves a trailing carriage return which upsets mingw
5246 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5248 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5251 # Accept absolute paths.
5253 re_direlt='/[^/][^/]*/\.\./'
5254 # Canonicalize the pathname of ld
5255 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5256 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5257 ac_prog=`$ECHO $ac_prog| $SED "s
%$re_direlt%/%"`
5259 test -z "$LD" && LD="$ac_prog"
5262 # If it fails, then pretend we aren't using GCC.
5266 # If it is relative, then search for the first ld in PATH.
5270 elif test "$with_gnu_ld" = yes; then
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for GNU ld
" >&5
5272 $as_echo_n "checking
for GNU ld...
" >&6; }
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for non-GNU ld
" >&5
5275 $as_echo_n "checking
for non-GNU ld...
" >&6; }
5277 if ${lt_cv_path_LD+:} false; then :
5278 $as_echo_n "(cached
) " >&6
5280 if test -z "$LD"; then
5281 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5282 for ac_dir in $PATH; do
5284 test -z "$ac_dir" && ac_dir=.
5285 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5286 lt_cv_path_LD="$ac_dir/$ac_prog"
5287 # Check to see if the program is GNU ld. I'd rather use --version,
5288 # but apparently some variants of GNU ld only accept -v.
5289 # Break only if it was the GNU/non-GNU ld that we prefer.
5290 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5291 *GNU* | *'with BFD'*)
5292 test "$with_gnu_ld" != no && break
5295 test "$with_gnu_ld" != yes && break
5302 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5307 if test -n "$LD"; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LD" >&5
5309 $as_echo "$LD" >&6; }
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5312 $as_echo "no
" >&6; }
5314 test -z "$LD" && as_fn_error $? "no acceptable ld found
in \
$PATH" "$LINENO" 5
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
if the linker
($LD) is GNU ld
" >&5
5316 $as_echo_n "checking
if the linker
($LD) is GNU ld...
" >&6; }
5317 if ${lt_cv_prog_gnu_ld+:} false; then :
5318 $as_echo_n "(cached
) " >&6
5320 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5321 case `$LD -v 2>&1 </dev/null` in
5322 *GNU* | *'with BFD'*)
5323 lt_cv_prog_gnu_ld=yes
5326 lt_cv_prog_gnu_ld=no
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_prog_gnu_ld" >&5
5331 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5332 with_gnu_ld=$lt_cv_prog_gnu_ld
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
5343 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
5344 if ${lt_cv_path_NM+:} false; then :
5345 $as_echo_n "(cached
) " >&6
5347 if test -n "$NM"; then
5348 # Let the user override the test.
5351 lt_nm_to_check="${ac_tool_prefix}nm
"
5352 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5353 lt_nm_to_check="$lt_nm_to_check nm
"
5355 for lt_tmp_nm in $lt_nm_to_check; do
5356 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5357 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5359 test -z "$ac_dir" && ac_dir=.
5360 tmp_nm="$ac_dir/$lt_tmp_nm"
5361 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5362 # Check to see if the nm accepts a BSD-compat flag.
5363 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5364 # nm: unknown option "B
" ignored
5365 # Tru64's nm complains that /dev/null is an invalid object file
5366 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5367 */dev/null* | *'Invalid file or object type'*)
5368 lt_cv_path_NM="$tmp_nm -B"
5372 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5374 lt_cv_path_NM="$tmp_nm -p"
5378 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5379 continue # so that we can try to find one that supports BSD flags
5388 : ${lt_cv_path_NM=no}
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
5392 $as_echo "$lt_cv_path_NM" >&6; }
5393 if test "$lt_cv_path_NM" != "no
"; then
5396 # Didn't find any BSD compatible name lister, look for dumpbin.
5397 if test -n "$DUMPBIN"; then :
5398 # Let the user override the test.
5400 if test -n "$ac_tool_prefix"; then
5401 for ac_prog in dumpbin "link
-dump"
5403 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5404 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5406 $as_echo_n "checking
for $ac_word...
" >&6; }
5407 if ${ac_cv_prog_DUMPBIN+:} false; then :
5408 $as_echo_n "(cached
) " >&6
5410 if test -n "$DUMPBIN"; then
5411 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5417 test -z "$as_dir" && as_dir=.
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5420 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5421 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5430 DUMPBIN=$ac_cv_prog_DUMPBIN
5431 if test -n "$DUMPBIN"; then
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
5433 $as_echo "$DUMPBIN" >&6; }
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5436 $as_echo "no
" >&6; }
5440 test -n "$DUMPBIN" && break
5443 if test -z "$DUMPBIN"; then
5444 ac_ct_DUMPBIN=$DUMPBIN
5445 for ac_prog in dumpbin "link
-dump"
5447 # Extract the first word of "$ac_prog", so it can be a program name with args.
5448 set dummy $ac_prog; ac_word=$2
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
5450 $as_echo_n "checking
for $ac_word...
" >&6; }
5451 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5452 $as_echo_n "(cached
) " >&6
5454 if test -n "$ac_ct_DUMPBIN"; then
5455 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5461 test -z "$as_dir" && as_dir=.
5462 for ac_exec_ext in '' $ac_executable_extensions; do
5463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5464 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5465 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
5474 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5475 if test -n "$ac_ct_DUMPBIN"; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
5477 $as_echo "$ac_ct_DUMPBIN" >&6; }
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
5480 $as_echo "no
" >&6; }
5484 test -n "$ac_ct_DUMPBIN" && break
5487 if test "x
$ac_ct_DUMPBIN" = x; then
5490 case $cross_compiling:$ac_tool_warned in
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
5493 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
5494 ac_tool_warned=yes ;;
5496 DUMPBIN=$ac_ct_DUMPBIN
5500 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5502 DUMPBIN="$DUMPBIN -symbols"
5510 if test "$DUMPBIN" != ":"; then
5514 test -z "$NM" && NM=nm
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
5522 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
5523 if ${lt_cv_nm_interface+:} false; then :
5524 $as_echo_n "(cached
) " >&6
5526 lt_cv_nm_interface="BSD nm
"
5527 echo "int some_variable
= 0;" > conftest.$ac_ext
5528 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
5529 (eval "$ac_compile" 2>conftest.err)
5530 cat conftest.err >&5
5531 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
5532 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
5533 cat conftest.err >&5
5534 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
5535 cat conftest.out >&5
5536 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5537 lt_cv_nm_interface="MS dumpbin
"
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
5542 $as_echo "$lt_cv_nm_interface" >&6; }
5544 # find the maximum length of command line arguments
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
5546 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
5547 if ${lt_cv_sys_max_cmd_len+:} false; then :
5548 $as_echo_n "(cached
) " >&6
5555 # On DJGPP, this test can blow up pretty badly due to problems in libc
5556 # (any single argument exceeding 2000 bytes causes a buffer overrun
5557 # during glob expansion). Even if it were fixed, the result of this
5558 # check would be larger than it should be.
5559 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5563 # Under GNU Hurd, this test is not required because there is
5564 # no limit to the length of command line arguments.
5565 # Libtool will interpret -1 as no limit whatsoever
5566 lt_cv_sys_max_cmd_len=-1;
5569 cygwin* | mingw* | cegcc*)
5570 # On Win9x/ME, this test blows up -- it succeeds, but takes
5571 # about 5 minutes as the teststring grows exponentially.
5572 # Worse, since 9x/ME are not pre-emptively multitasking,
5573 # you end up with a "frozen
" computer, even though with patience
5574 # the test eventually succeeds (with a max line length of 256k).
5575 # Instead, let's just punt: use the minimum linelength reported by
5576 # all of the supported platforms: 8192 (on NT/2K/XP).
5577 lt_cv_sys_max_cmd_len=8192;
5581 # On MiNT this can take a long time and run out of memory.
5582 lt_cv_sys_max_cmd_len=8192;
5586 # On AmigaOS with pdksh, this test takes hours, literally.
5587 # So we just punt and use a minimum line length of 8192.
5588 lt_cv_sys_max_cmd_len=8192;
5591 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5592 # This has been around since 386BSD, at least. Likely further.
5593 if test -x /sbin/sysctl; then
5594 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5595 elif test -x /usr/sbin/sysctl; then
5596 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5598 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5600 # And add a safety zone
5601 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5602 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5606 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5607 lt_cv_sys_max_cmd_len=196608
5611 # The test takes a long time on OS/2.
5612 lt_cv_sys_max_cmd_len=8192
5616 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5617 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5618 # nice to cause kernel panics so lets avoid the loop below.
5619 # First set a reasonable default.
5620 lt_cv_sys_max_cmd_len=16384
5622 if test -x /sbin/sysconfig; then
5623 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5624 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5629 lt_cv_sys_max_cmd_len=102400
5631 sysv5* | sco5v6* | sysv4.2uw2*)
5632 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5633 if test -n "$kargmax"; then
5634 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5636 lt_cv_sys_max_cmd_len=32768
5640 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5641 if test -n "$lt_cv_sys_max_cmd_len"; then
5642 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5643 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5645 # Make teststring a little bigger before we do anything with it.
5646 # a 1K string should be a reasonable start.
5647 for i in 1 2 3 4 5 6 7 8 ; do
5648 teststring=$teststring$teststring
5650 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5651 # If test is not a shell built-in, we'll probably end up computing a
5652 # maximum length that is only half of the actual maximum length, but
5654 while { test "X
"`env echo "$teststring$teststring" 2>/dev/null` \
5655 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
5656 test $i != 17 # 1/2 MB should be enough
5659 teststring=$teststring$teststring
5661 # Only check the string length outside the loop.
5662 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
5664 # Add a significant safety factor because C++ compilers can tack on
5665 # massive amounts of additional arguments before passing them to the
5666 # linker. It appears as though 1/2 is a usable value.
5667 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5674 if test -n $lt_cv_sys_max_cmd_len ; then
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
5676 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
5679 $as_echo "none
" >&6; }
5681 max_cmd_len=$lt_cv_sys_max_cmd_len
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
5693 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
5694 # Try some XSI features
5697 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5699 && eval 'test $(( 1 + 1 )) -eq 2 \
5700 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5703 $as_echo "$xsi_shell" >&6; }
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5707 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5709 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
5711 && lt_shell_append
=yes
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5713 $as_echo "$lt_shell_append" >&6; }
5716 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
5726 # test EBCDIC or ASCII
5727 case `echo X|tr X '\101'` in
5728 A
) # ASCII based system
5729 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5730 lt_SP2NL
='tr \040 \012'
5731 lt_NL2SP
='tr \015\012 \040\040'
5733 *) # EBCDIC based system
5734 lt_SP2NL
='tr \100 \n'
5735 lt_NL2SP
='tr \r\n \100\100'
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5748 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5749 if ${lt_cv_to_host_file_cmd+:} false
; then :
5750 $as_echo_n "(cached) " >&6
5755 *-*-mingw* ) # actually msys
5756 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_w32
5759 lt_cv_to_host_file_cmd
=func_convert_file_cygwin_to_w32
5761 * ) # otherwise, assume *nix
5762 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_w32
5768 *-*-mingw* ) # actually msys
5769 lt_cv_to_host_file_cmd
=func_convert_file_msys_to_cygwin
5772 lt_cv_to_host_file_cmd
=func_convert_file_noop
5774 * ) # otherwise, assume *nix
5775 lt_cv_to_host_file_cmd
=func_convert_file_nix_to_cygwin
5779 * ) # unhandled hosts (and "normal" native builds)
5780 lt_cv_to_host_file_cmd
=func_convert_file_noop
5786 to_host_file_cmd
=$lt_cv_to_host_file_cmd
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5788 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5795 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5796 if ${lt_cv_to_tool_file_cmd+:} false
; then :
5797 $as_echo_n "(cached) " >&6
5799 #assume ordinary cross tools, or native build.
5800 lt_cv_to_tool_file_cmd
=func_convert_file_noop
5804 *-*-mingw* ) # actually msys
5805 lt_cv_to_tool_file_cmd
=func_convert_file_msys_to_w32
5813 to_tool_file_cmd
=$lt_cv_to_tool_file_cmd
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5815 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5822 $as_echo_n "checking for $LD option to reload object files... " >&6; }
5823 if ${lt_cv_ld_reload_flag+:} false
; then :
5824 $as_echo_n "(cached) " >&6
5826 lt_cv_ld_reload_flag
='-r'
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5829 $as_echo "$lt_cv_ld_reload_flag" >&6; }
5830 reload_flag
=$lt_cv_ld_reload_flag
5831 case $reload_flag in
5833 *) reload_flag
=" $reload_flag" ;;
5835 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5837 cygwin
* | mingw
* | pw32
* | cegcc
*)
5838 if test "$GCC" != yes; then
5843 if test "$GCC" = yes; then
5844 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5846 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
5859 if test -n "$ac_tool_prefix"; then
5860 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5861 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5863 $as_echo_n "checking for $ac_word... " >&6; }
5864 if ${ac_cv_prog_OBJDUMP+:} false
; then :
5865 $as_echo_n "(cached) " >&6
5867 if test -n "$OBJDUMP"; then
5868 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
5870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5874 test -z "$as_dir" && as_dir
=.
5875 for ac_exec_ext
in '' $ac_executable_extensions; do
5876 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5877 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
5878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5887 OBJDUMP
=$ac_cv_prog_OBJDUMP
5888 if test -n "$OBJDUMP"; then
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5890 $as_echo "$OBJDUMP" >&6; }
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5893 $as_echo "no" >&6; }
5898 if test -z "$ac_cv_prog_OBJDUMP"; then
5899 ac_ct_OBJDUMP
=$OBJDUMP
5900 # Extract the first word of "objdump", so it can be a program name with args.
5901 set dummy objdump
; ac_word
=$2
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5903 $as_echo_n "checking for $ac_word... " >&6; }
5904 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
5905 $as_echo_n "(cached) " >&6
5907 if test -n "$ac_ct_OBJDUMP"; then
5908 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
5910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5914 test -z "$as_dir" && as_dir
=.
5915 for ac_exec_ext
in '' $ac_executable_extensions; do
5916 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5917 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
5918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5927 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
5928 if test -n "$ac_ct_OBJDUMP"; then
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5930 $as_echo "$ac_ct_OBJDUMP" >&6; }
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5933 $as_echo "no" >&6; }
5936 if test "x$ac_ct_OBJDUMP" = x
; then
5939 case $cross_compiling:$ac_tool_warned in
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5942 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5943 ac_tool_warned
=yes ;;
5945 OBJDUMP
=$ac_ct_OBJDUMP
5948 OBJDUMP
="$ac_cv_prog_OBJDUMP"
5951 test -z "$OBJDUMP" && OBJDUMP
=objdump
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5962 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
5963 if ${lt_cv_deplibs_check_method+:} false
; then :
5964 $as_echo_n "(cached) " >&6
5966 lt_cv_file_magic_cmd
='$MAGIC_CMD'
5967 lt_cv_file_magic_test_file
=
5968 lt_cv_deplibs_check_method
='unknown'
5969 # Need to set the preceding variable on all platforms that support
5970 # interlibrary dependencies.
5971 # 'none' -- dependencies not supported.
5972 # `unknown' -- same as none, but documents that we really don't know.
5973 # 'pass_all' -- all dependencies passed with no checks.
5974 # 'test_compile' -- check by making test program.
5975 # 'file_magic [[regex]]' -- check by looking for files in library path
5976 # which responds to the $file_magic_cmd with a given extended regex.
5977 # If you have `file' or equivalent on your system and you're not sure
5978 # whether `pass_all' will *always* work, you probably want this one.
5982 lt_cv_deplibs_check_method
=pass_all
5986 lt_cv_deplibs_check_method
=pass_all
5990 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5991 lt_cv_file_magic_cmd
='/usr/bin/file -L'
5992 lt_cv_file_magic_test_file
=/shlib
/libc.so
5996 # func_win32_libid is a shell function defined in ltmain.sh
5997 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
5998 lt_cv_file_magic_cmd
='func_win32_libid'
6002 # Base MSYS/MinGW do not provide the 'file' command needed by
6003 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6004 # unless we find 'file', for example because we are cross-compiling.
6005 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6006 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
6007 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
6008 lt_cv_file_magic_cmd
='func_win32_libid'
6010 # Keep this pattern in sync with the one in func_win32_libid.
6011 lt_cv_deplibs_check_method
='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6012 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6017 # use the weaker test based on 'objdump'. See mingw*.
6018 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6019 lt_cv_file_magic_cmd
='$OBJDUMP -f'
6022 darwin
* | rhapsody
*)
6023 lt_cv_deplibs_check_method
=pass_all
6026 freebsd
* | dragonfly
*)
6027 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6030 # Not sure whether the presence of OpenBSD here was a mistake.
6031 # Let's accept both of them until this is cleared up.
6032 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6033 lt_cv_file_magic_cmd
=/usr
/bin
/file
6034 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
6038 lt_cv_deplibs_check_method
=pass_all
6043 lt_cv_deplibs_check_method
=pass_all
6047 lt_cv_deplibs_check_method
=pass_all
6050 hpux10.20
* | hpux11
*)
6051 lt_cv_file_magic_cmd
=/usr
/bin
/file
6054 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6055 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
6058 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]'
6059 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
6062 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6063 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
6069 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6070 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
6073 irix5
* | irix6
* | nonstopux
*)
6075 *-32|
*"-32 ") libmagic
=32-bit;;
6076 *-n32|
*"-n32 ") libmagic
=N32
;;
6077 *-64|
*"-64 ") libmagic
=64-bit;;
6078 *) libmagic
=never-match
;;
6080 lt_cv_deplibs_check_method
=pass_all
6083 # This must be glibc/ELF.
6084 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
6085 lt_cv_deplibs_check_method
=pass_all
6089 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
6090 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6092 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6097 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6098 lt_cv_file_magic_cmd
=/usr
/bin
/file
6099 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
6103 lt_cv_deplibs_check_method
=pass_all
6107 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6108 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6110 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6114 osf3
* | osf4
* | osf5
*)
6115 lt_cv_deplibs_check_method
=pass_all
6119 lt_cv_deplibs_check_method
=pass_all
6123 lt_cv_deplibs_check_method
=pass_all
6126 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
6127 lt_cv_deplibs_check_method
=pass_all
6131 case $host_vendor in
6133 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]'
6134 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
6137 lt_cv_deplibs_check_method
=pass_all
6140 lt_cv_file_magic_cmd
='/bin/file'
6141 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6144 lt_cv_file_magic_cmd
='/bin/file'
6145 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6146 lt_cv_file_magic_test_file
=/lib
/libc.so
6149 lt_cv_deplibs_check_method
=pass_all
6152 lt_cv_deplibs_check_method
=pass_all
6158 lt_cv_deplibs_check_method
=pass_all
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6164 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6168 if test "$build" = "$host"; then
6171 if ( shopt |
grep nocaseglob
) >/dev
/null
2>&1; then
6174 file_magic_glob
=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6180 file_magic_cmd
=$lt_cv_file_magic_cmd
6181 deplibs_check_method
=$lt_cv_deplibs_check_method
6182 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
6205 if test -n "$ac_tool_prefix"; then
6206 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6207 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209 $as_echo_n "checking for $ac_word... " >&6; }
6210 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6211 $as_echo_n "(cached) " >&6
6213 if test -n "$DLLTOOL"; then
6214 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6220 test -z "$as_dir" && as_dir
=.
6221 for ac_exec_ext
in '' $ac_executable_extensions; do
6222 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6223 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6233 DLLTOOL
=$ac_cv_prog_DLLTOOL
6234 if test -n "$DLLTOOL"; then
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6236 $as_echo "$DLLTOOL" >&6; }
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6239 $as_echo "no" >&6; }
6244 if test -z "$ac_cv_prog_DLLTOOL"; then
6245 ac_ct_DLLTOOL
=$DLLTOOL
6246 # Extract the first word of "dlltool", so it can be a program name with args.
6247 set dummy dlltool
; ac_word
=$2
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6249 $as_echo_n "checking for $ac_word... " >&6; }
6250 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6251 $as_echo_n "(cached) " >&6
6253 if test -n "$ac_ct_DLLTOOL"; then
6254 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6260 test -z "$as_dir" && as_dir
=.
6261 for ac_exec_ext
in '' $ac_executable_extensions; do
6262 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6263 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6273 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6274 if test -n "$ac_ct_DLLTOOL"; then
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6276 $as_echo "$ac_ct_DLLTOOL" >&6; }
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6279 $as_echo "no" >&6; }
6282 if test "x$ac_ct_DLLTOOL" = x
; then
6285 case $cross_compiling:$ac_tool_warned in
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6288 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6289 ac_tool_warned
=yes ;;
6291 DLLTOOL
=$ac_ct_DLLTOOL
6294 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6297 test -z "$DLLTOOL" && DLLTOOL
=dlltool
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6309 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6310 if ${lt_cv_sharedlib_from_linklib_cmd+:} false
; then :
6311 $as_echo_n "(cached) " >&6
6313 lt_cv_sharedlib_from_linklib_cmd
='unknown'
6316 cygwin
* | mingw
* | pw32
* | cegcc
*)
6317 # two different shell functions defined in ltmain.sh
6318 # decide which to use based on capabilities of $DLLTOOL
6319 case `$DLLTOOL --help 2>&1` in
6320 *--identify-strict*)
6321 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib
6324 lt_cv_sharedlib_from_linklib_cmd
=func_cygming_dll_for_implib_fallback
6329 # fallback: assume linklib IS sharedlib
6330 lt_cv_sharedlib_from_linklib_cmd
="$ECHO"
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6336 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6337 sharedlib_from_linklib_cmd
=$lt_cv_sharedlib_from_linklib_cmd
6338 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd
=$ECHO
6347 if test -n "$ac_tool_prefix"; then
6350 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6351 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6353 $as_echo_n "checking for $ac_word... " >&6; }
6354 if ${ac_cv_prog_AR+:} false
; then :
6355 $as_echo_n "(cached) " >&6
6357 if test -n "$AR"; then
6358 ac_cv_prog_AR
="$AR" # Let the user override the test.
6360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6364 test -z "$as_dir" && as_dir
=.
6365 for ac_exec_ext
in '' $ac_executable_extensions; do
6366 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6367 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
6368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6378 if test -n "$AR"; then
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6380 $as_echo "$AR" >&6; }
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6383 $as_echo "no" >&6; }
6387 test -n "$AR" && break
6390 if test -z "$AR"; then
6394 # Extract the first word of "$ac_prog", so it can be a program name with args.
6395 set dummy
$ac_prog; ac_word
=$2
6396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6397 $as_echo_n "checking for $ac_word... " >&6; }
6398 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
6399 $as_echo_n "(cached) " >&6
6401 if test -n "$ac_ct_AR"; then
6402 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
6404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6408 test -z "$as_dir" && as_dir
=.
6409 for ac_exec_ext
in '' $ac_executable_extensions; do
6410 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6411 ac_cv_prog_ac_ct_AR
="$ac_prog"
6412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6421 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
6422 if test -n "$ac_ct_AR"; then
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6424 $as_echo "$ac_ct_AR" >&6; }
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6427 $as_echo "no" >&6; }
6431 test -n "$ac_ct_AR" && break
6434 if test "x$ac_ct_AR" = x
; then
6437 case $cross_compiling:$ac_tool_warned in
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6441 ac_tool_warned
=yes ;;
6460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6461 $as_echo_n "checking for archiver @FILE support... " >&6; }
6462 if ${lt_cv_ar_at_file+:} false
; then :
6463 $as_echo_n "(cached) " >&6
6466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6467 /* end confdefs.h. */
6477 if ac_fn_c_try_compile
"$LINENO"; then :
6478 echo conftest.
$ac_objext > conftest.lst
6479 lt_ar_try
='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6480 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6481 (eval $lt_ar_try) 2>&5
6483 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6484 test $ac_status = 0; }
6485 if test "$ac_status" -eq 0; then
6486 # Ensure the archiver fails upon bogus file names.
6487 rm -f conftest.
$ac_objext libconftest.a
6488 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6489 (eval $lt_ar_try) 2>&5
6491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6492 test $ac_status = 0; }
6493 if test "$ac_status" -ne 0; then
6497 rm -f conftest.
* libconftest.a
6500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6504 $as_echo "$lt_cv_ar_at_file" >&6; }
6506 if test "x$lt_cv_ar_at_file" = xno
; then
6509 archiver_list_spec
=$lt_cv_ar_at_file
6518 if test -n "$ac_tool_prefix"; then
6519 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6520 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6522 $as_echo_n "checking for $ac_word... " >&6; }
6523 if ${ac_cv_prog_STRIP+:} false
; then :
6524 $as_echo_n "(cached) " >&6
6526 if test -n "$STRIP"; then
6527 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6533 test -z "$as_dir" && as_dir
=.
6534 for ac_exec_ext
in '' $ac_executable_extensions; do
6535 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6536 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
6537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6546 STRIP
=$ac_cv_prog_STRIP
6547 if test -n "$STRIP"; then
6548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6549 $as_echo "$STRIP" >&6; }
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6552 $as_echo "no" >&6; }
6557 if test -z "$ac_cv_prog_STRIP"; then
6559 # Extract the first word of "strip", so it can be a program name with args.
6560 set dummy strip
; ac_word
=$2
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6562 $as_echo_n "checking for $ac_word... " >&6; }
6563 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
6564 $as_echo_n "(cached) " >&6
6566 if test -n "$ac_ct_STRIP"; then
6567 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
6569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6573 test -z "$as_dir" && as_dir
=.
6574 for ac_exec_ext
in '' $ac_executable_extensions; do
6575 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6576 ac_cv_prog_ac_ct_STRIP
="strip"
6577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6586 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
6587 if test -n "$ac_ct_STRIP"; then
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6589 $as_echo "$ac_ct_STRIP" >&6; }
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6592 $as_echo "no" >&6; }
6595 if test "x$ac_ct_STRIP" = x
; then
6598 case $cross_compiling:$ac_tool_warned in
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6602 ac_tool_warned
=yes ;;
6607 STRIP
="$ac_cv_prog_STRIP"
6610 test -z "$STRIP" && STRIP
=:
6617 if test -n "$ac_tool_prefix"; then
6618 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6619 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 $as_echo_n "checking for $ac_word... " >&6; }
6622 if ${ac_cv_prog_RANLIB+:} false
; then :
6623 $as_echo_n "(cached) " >&6
6625 if test -n "$RANLIB"; then
6626 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6632 test -z "$as_dir" && as_dir
=.
6633 for ac_exec_ext
in '' $ac_executable_extensions; do
6634 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6635 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
6636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6645 RANLIB
=$ac_cv_prog_RANLIB
6646 if test -n "$RANLIB"; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6648 $as_echo "$RANLIB" >&6; }
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651 $as_echo "no" >&6; }
6656 if test -z "$ac_cv_prog_RANLIB"; then
6657 ac_ct_RANLIB
=$RANLIB
6658 # Extract the first word of "ranlib", so it can be a program name with args.
6659 set dummy ranlib
; ac_word
=$2
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6661 $as_echo_n "checking for $ac_word... " >&6; }
6662 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
6663 $as_echo_n "(cached) " >&6
6665 if test -n "$ac_ct_RANLIB"; then
6666 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
6668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6672 test -z "$as_dir" && as_dir
=.
6673 for ac_exec_ext
in '' $ac_executable_extensions; do
6674 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6675 ac_cv_prog_ac_ct_RANLIB
="ranlib"
6676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6685 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
6686 if test -n "$ac_ct_RANLIB"; then
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6688 $as_echo "$ac_ct_RANLIB" >&6; }
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691 $as_echo "no" >&6; }
6694 if test "x$ac_ct_RANLIB" = x
; then
6697 case $cross_compiling:$ac_tool_warned in
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6700 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6701 ac_tool_warned
=yes ;;
6703 RANLIB
=$ac_ct_RANLIB
6706 RANLIB
="$ac_cv_prog_RANLIB"
6709 test -z "$RANLIB" && RANLIB
=:
6716 # Determine commands to create old-style static archives.
6717 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
6718 old_postinstall_cmds
='chmod 644 $oldlib'
6719 old_postuninstall_cmds
=
6721 if test -n "$RANLIB"; then
6724 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6727 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6730 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6735 lock_old_archive_extraction
=yes ;;
6737 lock_old_archive_extraction
=no
;;
6778 # If no C compiler was specified, use CC.
6781 # If no C compiler flags were specified, use CFLAGS.
6782 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
6784 # Allow CC to be a program name with arguments.
6788 # Check for command to grab the raw symbol name followed by C symbol from nm.
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6790 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6791 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
6792 $as_echo_n "(cached) " >&6
6795 # These are sane defaults that work on at least a few old systems.
6796 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6798 # Character class describing NM global symbol codes.
6799 symcode
='[BCDEGRST]'
6801 # Regexp to match symbols that can be accessed directly from C.
6802 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
6804 # Define system-specific variables.
6809 cygwin
* | mingw
* | pw32
* | cegcc
*)
6810 symcode
='[ABCDGISTW]'
6813 if test "$host_cpu" = ia64
; then
6814 symcode
='[ABCDEGRST]'
6818 symcode
='[BCDEGRST]'
6821 symcode
='[BCDEGQRST]'
6832 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
6840 # If we're using GNU nm, then use its standard symbol codes.
6841 case `$NM -V 2>&1` in
6842 *GNU
* |
*'with BFD'*)
6843 symcode
='[ABCDGIRSTW]' ;;
6846 # Transform an extracted symbol line into a proper C declaration.
6847 # Some systems (esp. on ia64) link data and code symbols differently,
6848 # so use this general approach.
6849 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6851 # Transform an extracted symbol line into symbol name and symbol address
6852 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6853 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'"
6855 # Handle CRLF in mingw tool chain
6859 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6863 # Try without a prefix underscore, then with it.
6864 for ac_symprfx
in "" "_"; do
6866 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6867 symxfrm
="\\1 $ac_symprfx\\2 \\2"
6869 # Write the raw and C identifiers.
6870 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6871 # Fake it for dumpbin and say T for any non-static function
6872 # and D for any global variable.
6873 # Also find C++ and __fastcall symbols from MSVC++,
6874 # which start with @ or ?.
6875 lt_cv_sys_global_symbol_pipe
="$AWK '"\
6876 " {last_section=section; section=\$ 3};"\
6877 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6878 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6879 " \$ 0!~/External *\|/{next};"\
6880 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6881 " {if(hide[section]) next};"\
6882 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6883 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6884 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6885 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6886 " ' prfx=^$ac_symprfx"
6888 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6890 lt_cv_sys_global_symbol_pipe
="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6892 # Check to see that the pipe works correctly.
6896 cat > conftest.
$ac_ext <<_LT_EOF
6901 void nm_test_func(void);
6902 void nm_test_func(void){}
6906 int main(){nm_test_var='a';nm_test_func();return(0);}
6909 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6910 (eval $ac_compile) 2>&5
6912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6913 test $ac_status = 0; }; then
6914 # Now try to grab the symbols.
6916 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6917 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
6919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6920 test $ac_status = 0; } && test -s "$nlist"; then
6921 # Try sorting and uniquifying the output.
6922 if sort "$nlist" |
uniq > "$nlist"T
; then
6923 mv -f "$nlist"T
"$nlist"
6928 # Make sure that we snagged all the symbols we need.
6929 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
6930 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
6931 cat <<_LT_EOF > conftest.$ac_ext
6932 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6933 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6934 /* DATA imports from DLLs on WIN32 con't be const, because runtime
6935 relocations are performed -- see ld's documentation on pseudo-relocs. */
6936 # define LT_DLSYM_CONST
6937 #elif defined(__osf__)
6938 /* This system does not cope well with relocations in const data. */
6939 # define LT_DLSYM_CONST
6941 # define LT_DLSYM_CONST const
6949 # Now generate the symbol file.
6950 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6952 cat <<_LT_EOF >> conftest.$ac_ext
6954 /* The mapping between symbol names and symbols. */
6955 LT_DLSYM_CONST struct {
6959 lt__PROGRAM__LTX_preloaded_symbols[] =
6961 { "@PROGRAM@", (void *) 0 },
6963 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
6964 cat <<\_LT_EOF
>> conftest.
$ac_ext
6968 /* This works around a problem
in FreeBSD linker
*/
6969 #ifdef FREEBSD_WORKAROUND
6970 static const void
*lt_preloaded_setup
() {
6971 return lt__PROGRAM__LTX_preloaded_symbols
;
6979 # Now try linking the two files.
6980 mv conftest.
$ac_objext conftstm.
$ac_objext
6981 lt_globsym_save_LIBS
=$LIBS
6982 lt_globsym_save_CFLAGS
=$CFLAGS
6983 LIBS
="conftstm.$ac_objext"
6984 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6985 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6986 (eval $ac_link) 2>&5
6988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6989 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
6992 LIBS
=$lt_globsym_save_LIBS
6993 CFLAGS
=$lt_globsym_save_CFLAGS
6995 echo "cannot find nm_test_func in $nlist" >&5
6998 echo "cannot find nm_test_var in $nlist" >&5
7001 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7004 echo "$progname: failed program was:" >&5
7005 cat conftest.
$ac_ext >&5
7007 rm -rf conftest
* conftst
*
7009 # Do not use the global_symbol_pipe unless it works.
7010 if test "$pipe_works" = yes; then
7013 lt_cv_sys_global_symbol_pipe
=
7019 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7020 lt_cv_sys_global_symbol_to_cdecl
=
7022 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7024 $as_echo "failed" >&6; }
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7027 $as_echo "ok" >&6; }
7030 # Response file support.
7031 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7032 nm_file_list_spec
='@'
7033 elif $NM --help 2>/dev
/null |
grep '[@]FILE' >/dev
/null
; then
7034 nm_file_list_spec
='@'
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7064 $as_echo_n "checking for sysroot... " >&6; }
7066 # Check whether --with-sysroot was given.
7067 if test "${with_sysroot+set}" = set; then :
7068 withval
=$with_sysroot;
7075 case ${with_sysroot} in #(
7077 if test "$GCC" = yes; then
7078 lt_sysroot
=`$CC --print-sysroot 2>/dev/null`
7082 lt_sysroot
=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7088 $as_echo "${with_sysroot}" >&6; }
7089 as_fn_error $?
"The sysroot must be an absolute path." "$LINENO" 5
7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7094 $as_echo "${lt_sysroot:-no}" >&6; }
7100 # Check whether --enable-libtool-lock was given.
7101 if test "${enable_libtool_lock+set}" = set; then :
7102 enableval
=$enable_libtool_lock;
7105 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
7107 # Some flags need to be propagated to the compiler or linker for good
7111 # Find out which ABI we are using.
7112 echo 'int i;' > conftest.
$ac_ext
7113 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7114 (eval $ac_compile) 2>&5
7116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7117 test $ac_status = 0; }; then
7118 case `/usr/bin/file conftest.$ac_objext` in
7130 # Find out which ABI we are using.
7131 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
7132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7133 (eval $ac_compile) 2>&5
7135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7136 test $ac_status = 0; }; then
7137 if test "$lt_cv_prog_gnu_ld" = yes; then
7138 case `/usr/bin/file conftest.$ac_objext` in
7140 LD
="${LD-ld} -melf32bsmip"
7143 LD
="${LD-ld} -melf32bmipn32"
7146 LD
="${LD-ld} -melf64bmip"
7150 case `/usr/bin/file conftest.$ac_objext` in
7166 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
7167 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
7168 # Find out which ABI we are using.
7169 echo 'int i;' > conftest.
$ac_ext
7170 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7171 (eval $ac_compile) 2>&5
7173 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7174 test $ac_status = 0; }; then
7175 case `/usr/bin/file conftest.o` in
7178 x86_64-
*kfreebsd
*-gnu)
7179 LD
="${LD-ld} -m elf_i386_fbsd"
7182 LD
="${LD-ld} -m elf_i386"
7184 powerpc64le-
*linux
*)
7185 LD
="${LD-ld} -m elf32lppclinux"
7188 LD
="${LD-ld} -m elf32ppclinux"
7191 LD
="${LD-ld} -m elf_s390"
7194 LD
="${LD-ld} -m elf32_sparc"
7200 x86_64-
*kfreebsd
*-gnu)
7201 LD
="${LD-ld} -m elf_x86_64_fbsd"
7204 LD
="${LD-ld} -m elf_x86_64"
7207 LD
="${LD-ld} -m elf64lppc"
7210 LD
="${LD-ld} -m elf64ppc"
7212 s390
*-*linux
*|s390
*-*tpf
*)
7213 LD
="${LD-ld} -m elf64_s390"
7216 LD
="${LD-ld} -m elf64_sparc"
7226 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7227 SAVE_CFLAGS
="$CFLAGS"
7228 CFLAGS
="$CFLAGS -belf"
7229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7230 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7231 if ${lt_cv_cc_needs_belf+:} false
; then :
7232 $as_echo_n "(cached) " >&6
7235 ac_cpp
='$CPP $CPPFLAGS'
7236 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7237 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7238 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7241 /* end confdefs.h. */
7251 if ac_fn_c_try_link
"$LINENO"; then :
7252 lt_cv_cc_needs_belf
=yes
7254 lt_cv_cc_needs_belf
=no
7256 rm -f core conftest.err conftest.
$ac_objext \
7257 conftest
$ac_exeext conftest.
$ac_ext
7259 ac_cpp
='$CPP $CPPFLAGS'
7260 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7261 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7262 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
7265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7266 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7267 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
7268 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7269 CFLAGS
="$SAVE_CFLAGS"
7273 # Find out which ABI we are using.
7274 echo 'int i;' > conftest.
$ac_ext
7275 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7276 (eval $ac_compile) 2>&5
7278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7279 test $ac_status = 0; }; then
7280 case `/usr/bin/file conftest.o` in
7282 case $lt_cv_prog_gnu_ld in
7286 LD
="${LD-ld} -m elf_x86_64"
7289 LD
="${LD-ld} -m elf64_sparc"
7292 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7293 if ${LD-ld} -V |
grep _sol2
>/dev
/null
2>&1; then
7298 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
7310 need_locks
="$enable_libtool_lock"
7312 if test -n "$ac_tool_prefix"; then
7313 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7314 set dummy
${ac_tool_prefix}mt
; ac_word
=$2
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7316 $as_echo_n "checking for $ac_word... " >&6; }
7317 if ${ac_cv_prog_MANIFEST_TOOL+:} false
; then :
7318 $as_echo_n "(cached) " >&6
7320 if test -n "$MANIFEST_TOOL"; then
7321 ac_cv_prog_MANIFEST_TOOL
="$MANIFEST_TOOL" # Let the user override the test.
7323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7327 test -z "$as_dir" && as_dir
=.
7328 for ac_exec_ext
in '' $ac_executable_extensions; do
7329 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7330 ac_cv_prog_MANIFEST_TOOL
="${ac_tool_prefix}mt"
7331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7340 MANIFEST_TOOL
=$ac_cv_prog_MANIFEST_TOOL
7341 if test -n "$MANIFEST_TOOL"; then
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7343 $as_echo "$MANIFEST_TOOL" >&6; }
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7346 $as_echo "no" >&6; }
7351 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7352 ac_ct_MANIFEST_TOOL
=$MANIFEST_TOOL
7353 # Extract the first word of "mt", so it can be a program name with args.
7354 set dummy mt
; ac_word
=$2
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7356 $as_echo_n "checking for $ac_word... " >&6; }
7357 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false
; then :
7358 $as_echo_n "(cached) " >&6
7360 if test -n "$ac_ct_MANIFEST_TOOL"; then
7361 ac_cv_prog_ac_ct_MANIFEST_TOOL
="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7367 test -z "$as_dir" && as_dir
=.
7368 for ac_exec_ext
in '' $ac_executable_extensions; do
7369 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7370 ac_cv_prog_ac_ct_MANIFEST_TOOL
="mt"
7371 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7380 ac_ct_MANIFEST_TOOL
=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7381 if test -n "$ac_ct_MANIFEST_TOOL"; then
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7383 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7386 $as_echo "no" >&6; }
7389 if test "x$ac_ct_MANIFEST_TOOL" = x
; then
7392 case $cross_compiling:$ac_tool_warned in
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7396 ac_tool_warned
=yes ;;
7398 MANIFEST_TOOL
=$ac_ct_MANIFEST_TOOL
7401 MANIFEST_TOOL
="$ac_cv_prog_MANIFEST_TOOL"
7404 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL
=mt
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7406 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7407 if ${lt_cv_path_mainfest_tool+:} false
; then :
7408 $as_echo_n "(cached) " >&6
7410 lt_cv_path_mainfest_tool
=no
7411 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7412 $MANIFEST_TOOL '-?' 2>conftest.err
> conftest.out
7413 cat conftest.err
>&5
7414 if $GREP 'Manifest Tool' conftest.out
> /dev
/null
; then
7415 lt_cv_path_mainfest_tool
=yes
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7420 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7421 if test "x$lt_cv_path_mainfest_tool" != xyes
; then
7431 rhapsody
* | darwin
*)
7432 if test -n "$ac_tool_prefix"; then
7433 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7434 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7436 $as_echo_n "checking for $ac_word... " >&6; }
7437 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
7438 $as_echo_n "(cached) " >&6
7440 if test -n "$DSYMUTIL"; then
7441 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
7443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7447 test -z "$as_dir" && as_dir
=.
7448 for ac_exec_ext
in '' $ac_executable_extensions; do
7449 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7450 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
7451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7460 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
7461 if test -n "$DSYMUTIL"; then
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7463 $as_echo "$DSYMUTIL" >&6; }
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7466 $as_echo "no" >&6; }
7471 if test -z "$ac_cv_prog_DSYMUTIL"; then
7472 ac_ct_DSYMUTIL
=$DSYMUTIL
7473 # Extract the first word of "dsymutil", so it can be a program name with args.
7474 set dummy dsymutil
; ac_word
=$2
7475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7476 $as_echo_n "checking for $ac_word... " >&6; }
7477 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
7478 $as_echo_n "(cached) " >&6
7480 if test -n "$ac_ct_DSYMUTIL"; then
7481 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
7483 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7487 test -z "$as_dir" && as_dir
=.
7488 for ac_exec_ext
in '' $ac_executable_extensions; do
7489 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7490 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
7491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7500 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
7501 if test -n "$ac_ct_DSYMUTIL"; then
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7503 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7506 $as_echo "no" >&6; }
7509 if test "x$ac_ct_DSYMUTIL" = x
; then
7512 case $cross_compiling:$ac_tool_warned in
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7516 ac_tool_warned
=yes ;;
7518 DSYMUTIL
=$ac_ct_DSYMUTIL
7521 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
7524 if test -n "$ac_tool_prefix"; then
7525 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7526 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7528 $as_echo_n "checking for $ac_word... " >&6; }
7529 if ${ac_cv_prog_NMEDIT+:} false
; then :
7530 $as_echo_n "(cached) " >&6
7532 if test -n "$NMEDIT"; then
7533 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
7535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7539 test -z "$as_dir" && as_dir
=.
7540 for ac_exec_ext
in '' $ac_executable_extensions; do
7541 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7542 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
7543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7552 NMEDIT
=$ac_cv_prog_NMEDIT
7553 if test -n "$NMEDIT"; then
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7555 $as_echo "$NMEDIT" >&6; }
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7558 $as_echo "no" >&6; }
7563 if test -z "$ac_cv_prog_NMEDIT"; then
7564 ac_ct_NMEDIT
=$NMEDIT
7565 # Extract the first word of "nmedit", so it can be a program name with args.
7566 set dummy nmedit
; ac_word
=$2
7567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7568 $as_echo_n "checking for $ac_word... " >&6; }
7569 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
7570 $as_echo_n "(cached) " >&6
7572 if test -n "$ac_ct_NMEDIT"; then
7573 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
7575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7579 test -z "$as_dir" && as_dir
=.
7580 for ac_exec_ext
in '' $ac_executable_extensions; do
7581 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7582 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
7583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7592 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
7593 if test -n "$ac_ct_NMEDIT"; then
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7595 $as_echo "$ac_ct_NMEDIT" >&6; }
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7598 $as_echo "no" >&6; }
7601 if test "x$ac_ct_NMEDIT" = x
; then
7604 case $cross_compiling:$ac_tool_warned in
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7607 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7608 ac_tool_warned
=yes ;;
7610 NMEDIT
=$ac_ct_NMEDIT
7613 NMEDIT
="$ac_cv_prog_NMEDIT"
7616 if test -n "$ac_tool_prefix"; then
7617 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7618 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
7619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7620 $as_echo_n "checking for $ac_word... " >&6; }
7621 if ${ac_cv_prog_LIPO+:} false
; then :
7622 $as_echo_n "(cached) " >&6
7624 if test -n "$LIPO"; then
7625 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
7627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7631 test -z "$as_dir" && as_dir
=.
7632 for ac_exec_ext
in '' $ac_executable_extensions; do
7633 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7634 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
7635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7644 LIPO
=$ac_cv_prog_LIPO
7645 if test -n "$LIPO"; then
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7647 $as_echo "$LIPO" >&6; }
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7650 $as_echo "no" >&6; }
7655 if test -z "$ac_cv_prog_LIPO"; then
7657 # Extract the first word of "lipo", so it can be a program name with args.
7658 set dummy lipo
; ac_word
=$2
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7660 $as_echo_n "checking for $ac_word... " >&6; }
7661 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
7662 $as_echo_n "(cached) " >&6
7664 if test -n "$ac_ct_LIPO"; then
7665 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
7667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7671 test -z "$as_dir" && as_dir
=.
7672 for ac_exec_ext
in '' $ac_executable_extensions; do
7673 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7674 ac_cv_prog_ac_ct_LIPO
="lipo"
7675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7684 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
7685 if test -n "$ac_ct_LIPO"; then
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7687 $as_echo "$ac_ct_LIPO" >&6; }
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7690 $as_echo "no" >&6; }
7693 if test "x$ac_ct_LIPO" = x
; then
7696 case $cross_compiling:$ac_tool_warned in
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7699 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7700 ac_tool_warned
=yes ;;
7705 LIPO
="$ac_cv_prog_LIPO"
7708 if test -n "$ac_tool_prefix"; then
7709 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7710 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
7711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7712 $as_echo_n "checking for $ac_word... " >&6; }
7713 if ${ac_cv_prog_OTOOL+:} false
; then :
7714 $as_echo_n "(cached) " >&6
7716 if test -n "$OTOOL"; then
7717 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
7719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7723 test -z "$as_dir" && as_dir
=.
7724 for ac_exec_ext
in '' $ac_executable_extensions; do
7725 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7726 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
7727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7736 OTOOL
=$ac_cv_prog_OTOOL
7737 if test -n "$OTOOL"; then
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7739 $as_echo "$OTOOL" >&6; }
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7742 $as_echo "no" >&6; }
7747 if test -z "$ac_cv_prog_OTOOL"; then
7749 # Extract the first word of "otool", so it can be a program name with args.
7750 set dummy otool
; ac_word
=$2
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7752 $as_echo_n "checking for $ac_word... " >&6; }
7753 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
7754 $as_echo_n "(cached) " >&6
7756 if test -n "$ac_ct_OTOOL"; then
7757 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
7759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7763 test -z "$as_dir" && as_dir
=.
7764 for ac_exec_ext
in '' $ac_executable_extensions; do
7765 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7766 ac_cv_prog_ac_ct_OTOOL
="otool"
7767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7776 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
7777 if test -n "$ac_ct_OTOOL"; then
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7779 $as_echo "$ac_ct_OTOOL" >&6; }
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7782 $as_echo "no" >&6; }
7785 if test "x$ac_ct_OTOOL" = x
; then
7788 case $cross_compiling:$ac_tool_warned in
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7791 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7792 ac_tool_warned
=yes ;;
7797 OTOOL
="$ac_cv_prog_OTOOL"
7800 if test -n "$ac_tool_prefix"; then
7801 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7802 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7804 $as_echo_n "checking for $ac_word... " >&6; }
7805 if ${ac_cv_prog_OTOOL64+:} false
; then :
7806 $as_echo_n "(cached) " >&6
7808 if test -n "$OTOOL64"; then
7809 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
7811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7815 test -z "$as_dir" && as_dir
=.
7816 for ac_exec_ext
in '' $ac_executable_extensions; do
7817 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7818 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
7819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7828 OTOOL64
=$ac_cv_prog_OTOOL64
7829 if test -n "$OTOOL64"; then
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7831 $as_echo "$OTOOL64" >&6; }
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7834 $as_echo "no" >&6; }
7839 if test -z "$ac_cv_prog_OTOOL64"; then
7840 ac_ct_OTOOL64
=$OTOOL64
7841 # Extract the first word of "otool64", so it can be a program name with args.
7842 set dummy otool64
; ac_word
=$2
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7844 $as_echo_n "checking for $ac_word... " >&6; }
7845 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
7846 $as_echo_n "(cached) " >&6
7848 if test -n "$ac_ct_OTOOL64"; then
7849 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
7851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7855 test -z "$as_dir" && as_dir
=.
7856 for ac_exec_ext
in '' $ac_executable_extensions; do
7857 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7858 ac_cv_prog_ac_ct_OTOOL64
="otool64"
7859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7868 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
7869 if test -n "$ac_ct_OTOOL64"; then
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7871 $as_echo "$ac_ct_OTOOL64" >&6; }
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7874 $as_echo "no" >&6; }
7877 if test "x$ac_ct_OTOOL64" = x
; then
7880 case $cross_compiling:$ac_tool_warned in
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7884 ac_tool_warned
=yes ;;
7886 OTOOL64
=$ac_ct_OTOOL64
7889 OTOOL64
="$ac_cv_prog_OTOOL64"
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7919 $as_echo_n "checking for -single_module linker flag... " >&6; }
7920 if ${lt_cv_apple_cc_single_mod+:} false
; then :
7921 $as_echo_n "(cached) " >&6
7923 lt_cv_apple_cc_single_mod
=no
7924 if test -z "${LT_MULTI_MODULE}"; then
7925 # By default we will add the -single_module flag. You can override
7926 # by either setting the environment variable LT_MULTI_MODULE
7927 # non-empty at configure time, or by adding -multi_module to the
7929 rm -rf libconftest.dylib
*
7930 echo "int foo(void){return 1;}" > conftest.c
7931 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7932 -dynamiclib -Wl,-single_module conftest.c" >&5
7933 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7934 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
7936 # If there is a non-empty error log, and "single_module"
7937 # appears in it, assume the flag caused a linker warning
7938 if test -s conftest.err
&& $GREP single_module conftest.err
; then
7939 cat conftest.err
>&5
7940 # Otherwise, if the output was created with a 0 exit code from
7941 # the compiler, it worked.
7942 elif test -f libconftest.dylib
&& test $_lt_result -eq 0; then
7943 lt_cv_apple_cc_single_mod
=yes
7945 cat conftest.err
>&5
7947 rm -rf libconftest.dylib
*
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7952 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7955 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7956 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
7957 $as_echo_n "(cached) " >&6
7959 lt_cv_ld_exported_symbols_list
=no
7960 save_LDFLAGS
=$LDFLAGS
7961 echo "_main" > conftest.sym
7962 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7964 /* end confdefs.h. */
7974 if ac_fn_c_try_link
"$LINENO"; then :
7975 lt_cv_ld_exported_symbols_list
=yes
7977 lt_cv_ld_exported_symbols_list
=no
7979 rm -f core conftest.err conftest.
$ac_objext \
7980 conftest
$ac_exeext conftest.
$ac_ext
7981 LDFLAGS
="$save_LDFLAGS"
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7985 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7988 $as_echo_n "checking for -force_load linker flag... " >&6; }
7989 if ${lt_cv_ld_force_load+:} false
; then :
7990 $as_echo_n "(cached) " >&6
7992 lt_cv_ld_force_load
=no
7993 cat > conftest.c
<< _LT_EOF
7994 int forced_loaded() { return 2;}
7996 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7997 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
7998 echo "$AR cru libconftest.a conftest.o" >&5
7999 $AR cru libconftest.a conftest.o
2>&5
8000 echo "$RANLIB libconftest.a" >&5
8001 $RANLIB libconftest.a
2>&5
8002 cat > conftest.c
<< _LT_EOF
8003 int main() { return 0;}
8005 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8006 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
8008 if test -s conftest.err
&& $GREP force_load conftest.err
; then
8009 cat conftest.err
>&5
8010 elif test -f conftest
&& test $_lt_result -eq 0 && $GREP forced_load conftest
>/dev
/null
2>&1 ; then
8011 lt_cv_ld_force_load
=yes
8013 cat conftest.err
>&5
8015 rm -f conftest.err libconftest.a conftest conftest.c
8016 rm -rf conftest.dSYM
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8020 $as_echo "$lt_cv_ld_force_load" >&6; }
8022 rhapsody
* | darwin1.
[012])
8023 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
8025 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8026 darwin
*) # darwin 5.x on
8027 # if running on 10.5 or later, the deployment target defaults
8028 # to the OS version, if on x86, and 10.4, the deployment
8029 # target defaults to 10.4. Don't you love it?
8030 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8031 10.0,*86*-darwin8*|
10.0,*-darwin[91]*)
8032 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8034 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8036 _lt_dar_allow_undefined
='${wl}-undefined ${wl}dynamic_lookup' ;;
8040 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8041 _lt_dar_single_mod
='$single_module'
8043 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8044 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8046 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8048 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8049 _lt_dsymutil
='~$DSYMUTIL $lib || :'
8057 ac_cpp
='$CPP $CPPFLAGS'
8058 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8059 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8060 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8062 $as_echo_n "checking how to run the C preprocessor... " >&6; }
8063 # On Suns, sometimes $CPP names a directory.
8064 if test -n "$CPP" && test -d "$CPP"; then
8067 if test -z "$CPP"; then
8068 if ${ac_cv_prog_CPP+:} false
; then :
8069 $as_echo_n "(cached) " >&6
8071 # Double quotes because CPP needs to be expanded
8072 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8075 for ac_c_preproc_warn_flag
in '' yes
8077 # Use a header file that comes with gcc, so configuring glibc
8078 # with a fresh cross-compiler works.
8079 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8080 # <limits.h> exists even on freestanding compilers.
8081 # On the NeXT, cc -E runs the code through the compiler's parser,
8082 # not just through cpp. "Syntax error" is here to catch this case.
8083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8084 /* end confdefs.h. */
8086 # include <limits.h>
8088 # include <assert.h>
8092 if ac_fn_c_try_cpp
"$LINENO"; then :
8095 # Broken: fails on valid input.
8098 rm -f conftest.err conftest.i conftest.
$ac_ext
8100 # OK, works on sane cases. Now check whether nonexistent headers
8101 # can be detected and how.
8102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8103 /* end confdefs.h. */
8104 #include <ac_nonexistent.h>
8106 if ac_fn_c_try_cpp
"$LINENO"; then :
8107 # Broken: success on invalid input.
8110 # Passes both tests.
8114 rm -f conftest.err conftest.i conftest.
$ac_ext
8117 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8118 rm -f conftest.i conftest.err conftest.
$ac_ext
8119 if $ac_preproc_ok; then :
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8132 $as_echo "$CPP" >&6; }
8134 for ac_c_preproc_warn_flag
in '' yes
8136 # Use a header file that comes with gcc, so configuring glibc
8137 # with a fresh cross-compiler works.
8138 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8139 # <limits.h> exists even on freestanding compilers.
8140 # On the NeXT, cc -E runs the code through the compiler's parser,
8141 # not just through cpp. "Syntax error" is here to catch this case.
8142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8143 /* end confdefs.h. */
8145 # include <limits.h>
8147 # include <assert.h>
8151 if ac_fn_c_try_cpp
"$LINENO"; then :
8154 # Broken: fails on valid input.
8157 rm -f conftest.err conftest.i conftest.
$ac_ext
8159 # OK, works on sane cases. Now check whether nonexistent headers
8160 # can be detected and how.
8161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8162 /* end confdefs.h. */
8163 #include <ac_nonexistent.h>
8165 if ac_fn_c_try_cpp
"$LINENO"; then :
8166 # Broken: success on invalid input.
8169 # Passes both tests.
8173 rm -f conftest.err conftest.i conftest.
$ac_ext
8176 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8177 rm -f conftest.i conftest.err conftest.
$ac_ext
8178 if $ac_preproc_ok; then :
8181 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8183 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
8184 See \`config.log' for more details" "$LINENO" 5; }
8188 ac_cpp
='$CPP $CPPFLAGS'
8189 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8190 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8191 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8195 $as_echo_n "checking for ANSI C header files... " >&6; }
8196 if ${ac_cv_header_stdc+:} false
; then :
8197 $as_echo_n "(cached) " >&6
8199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8200 /* end confdefs.h. */
8214 if ac_fn_c_try_compile
"$LINENO"; then :
8215 ac_cv_header_stdc
=yes
8217 ac_cv_header_stdc
=no
8219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8221 if test $ac_cv_header_stdc = yes; then
8222 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8224 /* end confdefs.h. */
8228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8229 $EGREP "memchr" >/dev
/null
2>&1; then :
8232 ac_cv_header_stdc
=no
8238 if test $ac_cv_header_stdc = yes; then
8239 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8241 /* end confdefs.h. */
8245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8246 $EGREP "free" >/dev
/null
2>&1; then :
8249 ac_cv_header_stdc
=no
8255 if test $ac_cv_header_stdc = yes; then
8256 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8257 if test "$cross_compiling" = yes; then :
8260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8261 /* end confdefs.h. */
8264 #if ((' ' & 0x0FF) == 0x020)
8265 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8266 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8268 # define ISLOWER(c) \
8269 (('a' <= (c) && (c) <= 'i') \
8270 || ('j' <= (c) && (c) <= 'r') \
8271 || ('s' <= (c) && (c) <= 'z'))
8272 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8275 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8280 for (i = 0; i < 256; i++)
8281 if (XOR (islower (i), ISLOWER (i))
8282 || toupper (i) != TOUPPER (i))
8287 if ac_fn_c_try_run
"$LINENO"; then :
8290 ac_cv_header_stdc
=no
8292 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
8293 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8299 $as_echo "$ac_cv_header_stdc" >&6; }
8300 if test $ac_cv_header_stdc = yes; then
8302 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8306 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8307 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8308 inttypes.h stdint.h unistd.h
8310 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8311 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8313 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8314 cat >>confdefs.h
<<_ACEOF
8315 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8323 for ac_header
in dlfcn.h
8325 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8327 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8328 cat >>confdefs.h
<<_ACEOF
8329 #define HAVE_DLFCN_H 1
8350 # Check whether --enable-shared was given.
8351 if test "${enable_shared+set}" = set; then :
8352 enableval
=$enable_shared; p
=${PACKAGE-default}
8354 yes) enable_shared
=yes ;;
8355 no
) enable_shared
=no
;;
8358 # Look at the argument we got. We use all the common list separators.
8359 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8360 for pkg
in $enableval; do
8362 if test "X$pkg" = "X$p"; then
8381 # Check whether --enable-static was given.
8382 if test "${enable_static+set}" = set; then :
8383 enableval
=$enable_static; p
=${PACKAGE-default}
8385 yes) enable_static
=yes ;;
8386 no
) enable_static
=no
;;
8389 # Look at the argument we got. We use all the common list separators.
8390 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8391 for pkg
in $enableval; do
8393 if test "X$pkg" = "X$p"; then
8413 # Check whether --with-pic was given.
8414 if test "${with_pic+set}" = set; then :
8415 withval
=$with_pic; lt_p
=${PACKAGE-default}
8417 yes|no
) pic_mode
=$withval ;;
8420 # Look at the argument we got. We use all the common list separators.
8421 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8422 for lt_pkg
in $withval; do
8424 if test "X$lt_pkg" = "X$lt_p"; then
8436 test -z "$pic_mode" && pic_mode
=default
8444 # Check whether --enable-fast-install was given.
8445 if test "${enable_fast_install+set}" = set; then :
8446 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8448 yes) enable_fast_install
=yes ;;
8449 no
) enable_fast_install
=no
;;
8451 enable_fast_install
=no
8452 # Look at the argument we got. We use all the common list separators.
8453 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8454 for pkg
in $enableval; do
8456 if test "X$pkg" = "X$p"; then
8457 enable_fast_install
=yes
8464 enable_fast_install
=yes
8477 # This can be used to rebuild libtool when needed
8478 LIBTOOL_DEPS
="$ltmain"
8480 # Always use our own libtool.
8481 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8512 test -z "$LN_S" && LN_S
="ln -s"
8527 if test -n "${ZSH_VERSION+set}" ; then
8528 setopt NO_GLOB_SUBST
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8532 $as_echo_n "checking for objdir... " >&6; }
8533 if ${lt_cv_objdir+:} false
; then :
8534 $as_echo_n "(cached) " >&6
8536 rm -f .libs
2>/dev
/null
8537 mkdir .libs
2>/dev
/null
8538 if test -d .libs
; then
8541 # MS-DOS does not allow filenames that begin with a dot.
8544 rmdir .libs
2>/dev
/null
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8547 $as_echo "$lt_cv_objdir" >&6; }
8548 objdir
=$lt_cv_objdir
8554 cat >>confdefs.h
<<_ACEOF
8555 #define LT_OBJDIR "$lt_cv_objdir/"
8563 # AIX sometimes has problems with the GCC collect2 program. For some
8564 # reason, if we set the COLLECT_NAMES environment variable, the problems
8565 # vanish in a puff of smoke.
8566 if test "X${COLLECT_NAMES+set}" != Xset
; then
8568 export COLLECT_NAMES
8575 can_build_shared
=yes
8577 # All known linkers require a `.a' archive for static linking (except MSVC,
8578 # which needs '.lib').
8581 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8584 old_CFLAGS
="$CFLAGS"
8586 # Set sane defaults for various variables
8587 test -z "$CC" && CC
=cc
8588 test -z "$LTCC" && LTCC
=$CC
8589 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8590 test -z "$LD" && LD
=ld
8591 test -z "$ac_objext" && ac_objext
=o
8593 for cc_temp
in $compiler""; do
8595 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8596 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8601 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8604 # Only perform the check for file, if the check method requires it
8605 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8606 case $deplibs_check_method in
8608 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8610 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8611 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8612 $as_echo_n "(cached) " >&6
8616 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8619 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8620 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8621 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8622 for ac_dir
in $ac_dummy; do
8624 test -z "$ac_dir" && ac_dir
=.
8625 if test -f $ac_dir/${ac_tool_prefix}file; then
8626 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8627 if test -n "$file_magic_test_file"; then
8628 case $deplibs_check_method in
8630 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8631 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8632 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8633 $EGREP "$file_magic_regex" > /dev
/null
; then
8638 *** Warning: the command libtool uses to detect shared libraries,
8639 *** $file_magic_cmd, produces output that libtool cannot recognize.
8640 *** The result is that libtool may fail to recognize shared libraries
8641 *** as such. This will affect the creation of libtool libraries that
8642 *** depend on shared libraries, but programs linked with such libtool
8643 *** libraries will work regardless of this problem. Nevertheless, you
8644 *** may want to report the problem to your system manager and/or to
8645 *** bug-libtool@gnu.org
8655 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8660 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8661 if test -n "$MAGIC_CMD"; then
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8663 $as_echo "$MAGIC_CMD" >&6; }
8665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8666 $as_echo "no" >&6; }
8673 if test -z "$lt_cv_path_MAGIC_CMD"; then
8674 if test -n "$ac_tool_prefix"; then
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8676 $as_echo_n "checking for file... " >&6; }
8677 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8678 $as_echo_n "(cached) " >&6
8682 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8685 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8686 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8687 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8688 for ac_dir
in $ac_dummy; do
8690 test -z "$ac_dir" && ac_dir
=.
8691 if test -f $ac_dir/file; then
8692 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
8693 if test -n "$file_magic_test_file"; then
8694 case $deplibs_check_method in
8696 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8697 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8698 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8699 $EGREP "$file_magic_regex" > /dev
/null
; then
8704 *** Warning: the command libtool uses to detect shared libraries,
8705 *** $file_magic_cmd, produces output that libtool cannot recognize.
8706 *** The result is that libtool may fail to recognize shared libraries
8707 *** as such. This will affect the creation of libtool libraries that
8708 *** depend on shared libraries, but programs linked with such libtool
8709 *** libraries will work regardless of this problem. Nevertheless, you
8710 *** may want to report the problem to your system manager and/or to
8711 *** bug-libtool@gnu.org
8721 MAGIC_CMD
="$lt_save_MAGIC_CMD"
8726 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8727 if test -n "$MAGIC_CMD"; then
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8729 $as_echo "$MAGIC_CMD" >&6; }
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8732 $as_echo "no" >&6; }
8745 # Use C for the default configuration in the libtool script
8749 ac_cpp
='$CPP $CPPFLAGS'
8750 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8751 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8752 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8755 # Source file extension for C test sources.
8758 # Object file extension for compiled C test sources.
8762 # Code to be used in simple compile tests
8763 lt_simple_compile_test_code
="int some_variable = 0;"
8765 # Code to be used in simple link tests
8766 lt_simple_link_test_code
='int main(){return(0);}'
8774 # If no C compiler was specified, use CC.
8777 # If no C compiler flags were specified, use CFLAGS.
8778 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8780 # Allow CC to be a program name with arguments.
8783 # Save the default compiler, since it gets overwritten when the other
8784 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8785 compiler_DEFAULT
=$CC
8787 # save warnings/boilerplate of simple test code
8788 ac_outfile
=conftest.
$ac_objext
8789 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
8790 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8791 _lt_compiler_boilerplate
=`cat conftest.err`
8794 ac_outfile
=conftest.
$ac_objext
8795 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
8796 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
8797 _lt_linker_boilerplate
=`cat conftest.err`
8802 ## There is no encapsulation within the following macros, do not change
8803 ## the running order or otherwise move them around unless you know exactly
8804 ## what you are doing...
8805 if test -n "$compiler"; then
8807 lt_prog_compiler_no_builtin_flag
=
8809 if test "$GCC" = yes; then
8810 case $cc_basename in
8812 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
8814 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8818 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8819 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
8820 $as_echo_n "(cached) " >&6
8822 lt_cv_prog_compiler_rtti_exceptions
=no
8823 ac_outfile
=conftest.
$ac_objext
8824 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8825 lt_compiler_flag
="-fno-rtti -fno-exceptions"
8826 # Insert the option either (1) after the last *FLAGS variable, or
8827 # (2) before a word containing "conftest.", or (3) at the end.
8828 # Note that $ac_compile itself does not contain backslashes and begins
8829 # with a dollar sign (not a hyphen), so the echo should work correctly.
8830 # The option is referenced via a variable to avoid confusing sed.
8831 lt_compile
=`echo "$ac_compile" | $SED \
8832 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8833 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8834 -e 's:$: $lt_compiler_flag:'`
8835 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8836 (eval "$lt_compile" 2>conftest.err
)
8838 cat conftest.err
>&5
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 if (exit $ac_status) && test -s "$ac_outfile"; then
8841 # The compiler can only warn and ignore the option if not recognized
8842 # So say no if there are warnings other than the usual output.
8843 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
8844 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
8845 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
8846 lt_cv_prog_compiler_rtti_exceptions
=yes
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8853 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8855 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
8856 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8868 lt_prog_compiler_wl
=
8869 lt_prog_compiler_pic
=
8870 lt_prog_compiler_static
=
8873 if test "$GCC" = yes; then
8874 lt_prog_compiler_wl
='-Wl,'
8875 lt_prog_compiler_static
='-static'
8879 # All AIX code is PIC.
8880 if test "$host_cpu" = ia64
; then
8881 # AIX 5 now supports IA64 processor
8882 lt_prog_compiler_static
='-Bstatic'
8889 # see comment about AmigaOS4 .so support
8890 lt_prog_compiler_pic
='-fPIC'
8893 # FIXME: we need at least 68020 code to build shared libraries, but
8894 # adding the `-m68020' flag to GCC prevents building anything better,
8896 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
8901 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
8902 # PIC is the default for these OSes.
8905 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8906 # This hack is so that the source file can tell whether it is being
8907 # built for inclusion in a dll (and should export symbols for example).
8908 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8909 # (--disable-auto-import) libraries
8910 lt_prog_compiler_pic
='-DDLL_EXPORT'
8913 darwin
* | rhapsody
*)
8914 # PIC is the default on this platform
8915 # Common symbols not allowed in MH_DYLIB files
8916 lt_prog_compiler_pic
='-fno-common'
8920 # PIC is the default for Haiku.
8921 # The "-static" flag exists, but is broken.
8922 lt_prog_compiler_static
=
8926 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8927 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8928 # sets the default TLS model and affects inlining.
8934 lt_prog_compiler_pic
='-fPIC'
8940 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8941 # Instead, we relocate shared libraries at runtime.
8945 # Just because we use GCC doesn't mean we suddenly get shared libraries
8946 # on systems that don't support them.
8947 lt_prog_compiler_can_build_shared
=no
8952 # QNX uses GNU C++, but need to define -shared option too, otherwise
8954 lt_prog_compiler_pic
='-fPIC -shared'
8958 if test -d /usr
/nec
; then
8959 lt_prog_compiler_pic
=-Kconform_pic
8964 lt_prog_compiler_pic
='-fPIC'
8968 case $cc_basename in
8969 nvcc
*) # Cuda Compiler Driver 2.2
8970 lt_prog_compiler_wl
='-Xlinker '
8971 if test -n "$lt_prog_compiler_pic"; then
8972 lt_prog_compiler_pic
="-Xcompiler $lt_prog_compiler_pic"
8977 # PORTME Check for flag to pass linker flags through the system compiler.
8980 lt_prog_compiler_wl
='-Wl,'
8981 if test "$host_cpu" = ia64
; then
8982 # AIX 5 now supports IA64 processor
8983 lt_prog_compiler_static
='-Bstatic'
8985 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
8989 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
8990 # This hack is so that the source file can tell whether it is being
8991 # built for inclusion in a dll (and should export symbols for example).
8992 lt_prog_compiler_pic
='-DDLL_EXPORT'
8995 hpux9
* | hpux10
* | hpux11
*)
8996 lt_prog_compiler_wl
='-Wl,'
8997 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9004 lt_prog_compiler_pic
='+Z'
9007 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9008 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9011 irix5
* | irix6
* | nonstopux
*)
9012 lt_prog_compiler_wl
='-Wl,'
9013 # PIC (with -KPIC) is the default.
9014 lt_prog_compiler_static
='-non_shared'
9017 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9018 case $cc_basename in
9019 # old Intel for x86_64 which still supported -KPIC.
9021 lt_prog_compiler_wl
='-Wl,'
9022 lt_prog_compiler_pic
='-KPIC'
9023 lt_prog_compiler_static
='-static'
9025 # icc used to be incompatible with GCC.
9026 # ICC 10 doesn't accept -KPIC any more.
9028 lt_prog_compiler_wl
='-Wl,'
9029 lt_prog_compiler_pic
='-fPIC'
9030 lt_prog_compiler_static
='-static'
9032 # Lahey Fortran 8.1.
9034 lt_prog_compiler_wl
='-Wl,'
9035 lt_prog_compiler_pic
='--shared'
9036 lt_prog_compiler_static
='--static'
9039 # NAG Fortran compiler
9040 lt_prog_compiler_wl
='-Wl,-Wl,,'
9041 lt_prog_compiler_pic
='-PIC'
9042 lt_prog_compiler_static
='-Bstatic'
9044 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9045 # Portland Group compilers (*not* the Pentium gcc compiler,
9046 # which looks to be a dead project)
9047 lt_prog_compiler_wl
='-Wl,'
9048 lt_prog_compiler_pic
='-fpic'
9049 lt_prog_compiler_static
='-Bstatic'
9052 lt_prog_compiler_wl
='-Wl,'
9053 # All Alpha code is PIC.
9054 lt_prog_compiler_static
='-non_shared'
9056 xl
* | bgxl
* | bgf
* | mpixl
*)
9057 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9058 lt_prog_compiler_wl
='-Wl,'
9059 lt_prog_compiler_pic
='-qpic'
9060 lt_prog_compiler_static
='-qstaticlink'
9063 case `$CC -V 2>&1 | sed 5q` in
9064 *Sun\ Ceres\ Fortran
* |
*Sun
*Fortran
*\
[1-7].
* |
*Sun
*Fortran
*\
8.
[0-3]*)
9065 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9066 lt_prog_compiler_pic
='-KPIC'
9067 lt_prog_compiler_static
='-Bstatic'
9068 lt_prog_compiler_wl
=''
9070 *Sun\ F
* |
*Sun
*Fortran
*)
9071 lt_prog_compiler_pic
='-KPIC'
9072 lt_prog_compiler_static
='-Bstatic'
9073 lt_prog_compiler_wl
='-Qoption ld '
9077 lt_prog_compiler_pic
='-KPIC'
9078 lt_prog_compiler_static
='-Bstatic'
9079 lt_prog_compiler_wl
='-Wl,'
9081 *Intel
*\
[CF
]*Compiler
*)
9082 lt_prog_compiler_wl
='-Wl,'
9083 lt_prog_compiler_pic
='-fPIC'
9084 lt_prog_compiler_static
='-static'
9087 lt_prog_compiler_wl
='-Wl,'
9088 lt_prog_compiler_pic
='-fpic'
9089 lt_prog_compiler_static
='-Bstatic'
9097 lt_prog_compiler_pic
='-KPIC'
9098 lt_prog_compiler_static
='-Bstatic'
9102 # QNX uses GNU C++, but need to define -shared option too, otherwise
9104 lt_prog_compiler_pic
='-fPIC -shared'
9107 osf3
* | osf4
* | osf5
*)
9108 lt_prog_compiler_wl
='-Wl,'
9109 # All OSF/1 code is PIC.
9110 lt_prog_compiler_static
='-non_shared'
9114 lt_prog_compiler_static
='-non_shared'
9118 lt_prog_compiler_pic
='-KPIC'
9119 lt_prog_compiler_static
='-Bstatic'
9120 case $cc_basename in
9121 f77
* | f90
* | f95
* | sunf77
* | sunf90
* | sunf95
*)
9122 lt_prog_compiler_wl
='-Qoption ld ';;
9124 lt_prog_compiler_wl
='-Wl,';;
9129 lt_prog_compiler_wl
='-Qoption ld '
9130 lt_prog_compiler_pic
='-PIC'
9131 lt_prog_compiler_static
='-Bstatic'
9134 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9135 lt_prog_compiler_wl
='-Wl,'
9136 lt_prog_compiler_pic
='-KPIC'
9137 lt_prog_compiler_static
='-Bstatic'
9141 if test -d /usr
/nec
;then
9142 lt_prog_compiler_pic
='-Kconform_pic'
9143 lt_prog_compiler_static
='-Bstatic'
9147 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9148 lt_prog_compiler_wl
='-Wl,'
9149 lt_prog_compiler_pic
='-KPIC'
9150 lt_prog_compiler_static
='-Bstatic'
9154 lt_prog_compiler_wl
='-Wl,'
9155 lt_prog_compiler_can_build_shared
=no
9159 lt_prog_compiler_pic
='-pic'
9160 lt_prog_compiler_static
='-Bstatic'
9164 lt_prog_compiler_can_build_shared
=no
9170 # For platforms which do not support PIC, -DPIC is meaningless:
9172 lt_prog_compiler_pic
=
9175 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9180 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9181 if ${lt_cv_prog_compiler_pic+:} false
; then :
9182 $as_echo_n "(cached) " >&6
9184 lt_cv_prog_compiler_pic
=$lt_prog_compiler_pic
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9187 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9188 lt_prog_compiler_pic
=$lt_cv_prog_compiler_pic
9191 # Check to make sure the PIC flag actually works.
9193 if test -n "$lt_prog_compiler_pic"; then
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9195 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9196 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9197 $as_echo_n "(cached) " >&6
9199 lt_cv_prog_compiler_pic_works
=no
9200 ac_outfile
=conftest.
$ac_objext
9201 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9202 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9203 # Insert the option either (1) after the last *FLAGS variable, or
9204 # (2) before a word containing "conftest.", or (3) at the end.
9205 # Note that $ac_compile itself does not contain backslashes and begins
9206 # with a dollar sign (not a hyphen), so the echo should work correctly.
9207 # The option is referenced via a variable to avoid confusing sed.
9208 lt_compile
=`echo "$ac_compile" | $SED \
9209 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9210 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9211 -e 's:$: $lt_compiler_flag:'`
9212 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9213 (eval "$lt_compile" 2>conftest.err
)
9215 cat conftest.err
>&5
9216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217 if (exit $ac_status) && test -s "$ac_outfile"; then
9218 # The compiler can only warn and ignore the option if not recognized
9219 # So say no if there are warnings other than the usual output.
9220 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9221 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9222 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9223 lt_cv_prog_compiler_pic_works
=yes
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9230 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9232 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9233 case $lt_prog_compiler_pic in
9235 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9238 lt_prog_compiler_pic
=
9239 lt_prog_compiler_can_build_shared
=no
9255 # Check to make sure the static flag actually works.
9257 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9259 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9260 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9261 $as_echo_n "(cached) " >&6
9263 lt_cv_prog_compiler_static_works
=no
9264 save_LDFLAGS
="$LDFLAGS"
9265 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9266 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9267 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9268 # The linker can only warn and ignore the option if not recognized
9269 # So say no if there are warnings
9270 if test -s conftest.err
; then
9271 # Append any errors to the config.log.
9272 cat conftest.err
1>&5
9273 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9274 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9275 if diff conftest.exp conftest.er2
>/dev
/null
; then
9276 lt_cv_prog_compiler_static_works
=yes
9279 lt_cv_prog_compiler_static_works
=yes
9283 LDFLAGS
="$save_LDFLAGS"
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9287 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9289 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9292 lt_prog_compiler_static
=
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9302 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9303 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9304 $as_echo_n "(cached) " >&6
9306 lt_cv_prog_compiler_c_o
=no
9307 $RM -r conftest
2>/dev
/null
9311 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9313 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9314 # Insert the option either (1) after the last *FLAGS variable, or
9315 # (2) before a word containing "conftest.", or (3) at the end.
9316 # Note that $ac_compile itself does not contain backslashes and begins
9317 # with a dollar sign (not a hyphen), so the echo should work correctly.
9318 lt_compile
=`echo "$ac_compile" | $SED \
9319 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9320 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9321 -e 's:$: $lt_compiler_flag:'`
9322 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9323 (eval "$lt_compile" 2>out
/conftest.err
)
9325 cat out
/conftest.err
>&5
9326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9327 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9329 # The compiler can only warn and ignore the option if not recognized
9330 # So say no if there are warnings
9331 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9332 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9333 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9334 lt_cv_prog_compiler_c_o
=yes
9339 # SGI C++ compiler will create directory out/ii_files/ for
9340 # template instantiation
9341 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9342 $RM out
/* && rmdir out
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9349 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9357 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9358 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9359 $as_echo_n "(cached) " >&6
9361 lt_cv_prog_compiler_c_o
=no
9362 $RM -r conftest
2>/dev
/null
9366 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9368 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9369 # Insert the option either (1) after the last *FLAGS variable, or
9370 # (2) before a word containing "conftest.", or (3) at the end.
9371 # Note that $ac_compile itself does not contain backslashes and begins
9372 # with a dollar sign (not a hyphen), so the echo should work correctly.
9373 lt_compile
=`echo "$ac_compile" | $SED \
9374 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9375 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9376 -e 's:$: $lt_compiler_flag:'`
9377 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9378 (eval "$lt_compile" 2>out
/conftest.err
)
9380 cat out
/conftest.err
>&5
9381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9382 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9384 # The compiler can only warn and ignore the option if not recognized
9385 # So say no if there are warnings
9386 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9387 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9388 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9389 lt_cv_prog_compiler_c_o
=yes
9394 # SGI C++ compiler will create directory out/ii_files/ for
9395 # template instantiation
9396 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9397 $RM out
/* && rmdir out
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9404 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9409 hard_links
="nottested"
9410 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9411 # do not overwrite the value of need_locks provided by the user
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9413 $as_echo_n "checking if we can lock with hard links... " >&6; }
9416 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9418 ln conftest.a conftest.b
2>&5 || hard_links
=no
9419 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9421 $as_echo "$hard_links" >&6; }
9422 if test "$hard_links" = no
; then
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9424 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9437 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9440 allow_undefined_flag
=
9441 always_export_symbols
=no
9443 archive_expsym_cmds
=
9444 compiler_needs_object
=no
9445 enable_shared_with_static_runtimes
=no
9446 export_dynamic_flag_spec
=
9447 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9448 hardcode_automatic
=no
9450 hardcode_direct_absolute
=no
9451 hardcode_libdir_flag_spec
=
9452 hardcode_libdir_separator
=
9454 hardcode_shlibpath_var
=unsupported
9456 link_all_deplibs
=unknown
9459 old_archive_from_new_cmds
=
9460 old_archive_from_expsyms_cmds
=
9461 thread_safe_flag_spec
=
9462 whole_archive_flag_spec
=
9463 # include_expsyms should be a list of space-separated symbols to be *always*
9464 # included in the symbol list
9466 # exclude_expsyms can be an extended regexp of symbols to exclude
9467 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9468 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9469 # as well as any symbol that contains `d'.
9470 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9471 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9472 # platforms (ab)use it in PIC code, but their linkers get confused if
9473 # the symbol is explicitly referenced. Since portable code cannot
9474 # rely on this symbol name, it's probably fine to never include it in
9475 # preloaded symbol tables.
9476 # Exclude shared library initialization/finalization symbols.
9477 extract_expsyms_cmds
=
9480 cygwin
* | mingw
* | pw32
* | cegcc
*)
9481 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9482 # When not using gcc, we currently assume that we are using
9483 # Microsoft Visual C++.
9484 if test "$GCC" != yes; then
9489 # we just hope/assume this is gcc and not c89 (= MSVC++)
9499 # On some targets, GNU ld is compatible enough with the native linker
9500 # that we're better off using the native interface for both.
9501 lt_use_gnu_ld_interface
=no
9502 if test "$with_gnu_ld" = yes; then
9505 # The AIX port of GNU ld has always aspired to compatibility
9506 # with the native linker. However, as the warning in the GNU ld
9507 # block says, versions before 2.19.5* couldn't really create working
9508 # shared libraries, regardless of the interface used.
9509 case `$LD -v 2>&1` in
9510 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9511 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9512 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9514 lt_use_gnu_ld_interface
=yes
9519 lt_use_gnu_ld_interface
=yes
9524 if test "$lt_use_gnu_ld_interface" = yes; then
9525 # If archive_cmds runs LD, not CC, wlarc should be empty
9528 # Set some defaults for GNU ld with shared library support. These
9529 # are reset later if shared libraries are not supported. Putting them
9530 # here allows them to be overridden if necessary.
9531 runpath_var
=LD_RUN_PATH
9532 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9533 export_dynamic_flag_spec
='${wl}--export-dynamic'
9534 # ancient GNU ld didn't support --whole-archive et. al.
9535 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9536 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9538 whole_archive_flag_spec
=
9540 supports_anon_versioning
=no
9541 case `$LD -v 2>&1` in
9542 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9543 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9544 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9545 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9546 *\
2.11.
*) ;; # other 2.11 versions
9547 *) supports_anon_versioning
=yes ;;
9550 # See if GNU ld supports shared libraries.
9553 # On AIX/PPC, the GNU linker is very broken
9554 if test "$host_cpu" != ia64
; then
9558 *** Warning: the GNU linker, at least up to release 2.19, is reported
9559 *** to be unable to reliably create shared libraries on AIX.
9560 *** Therefore, libtool is disabling shared libraries support. If you
9561 *** really care for shared libraries, you may want to install binutils
9562 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9563 *** You will then need to restart the configuration process.
9572 # see comment about AmigaOS4 .so support
9573 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9574 archive_expsym_cmds
=''
9577 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)'
9578 hardcode_libdir_flag_spec
='-L$libdir'
9579 hardcode_minus_L
=yes
9585 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9586 allow_undefined_flag
=unsupported
9587 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9588 # support --undefined. This deserves some investigation. FIXME
9589 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9595 cygwin
* | mingw
* | pw32
* | cegcc
*)
9596 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9597 # as there is no search path for DLLs.
9598 hardcode_libdir_flag_spec
='-L$libdir'
9599 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9600 allow_undefined_flag
=unsupported
9601 always_export_symbols
=no
9602 enable_shared_with_static_runtimes
=yes
9603 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'
9604 exclude_expsyms
='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9606 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9607 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9608 # If the export-symbols file already is a .def file (1st line
9609 # is EXPORTS), use it as is; otherwise, prepend...
9610 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9611 cp $export_symbols $output_objdir/$soname.def;
9613 echo EXPORTS > $output_objdir/$soname.def;
9614 cat $export_symbols >> $output_objdir/$soname.def;
9616 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9623 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9624 link_all_deplibs
=yes
9629 hardcode_shlibpath_var
=no
9630 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9631 export_dynamic_flag_spec
='${wl}-E'
9632 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9633 # Instead, shared libraries are loaded at an image base (0x10000000 by
9634 # default) and relocated if they conflict, which is a slow very memory
9635 # consuming and fragmenting process. To avoid this, we pick a random,
9636 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9637 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9638 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9639 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'
9642 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9644 if test "$host_os" = linux-dietlibc
; then
9645 case $cc_basename in
9646 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9649 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9650 && test "$tmp_diet" = no
9652 tmp_addflag
=' $pic_flag'
9653 tmp_sharedflag
='-shared'
9654 case $cc_basename,$host_cpu in
9655 pgcc
*) # Portland Group C compiler
9656 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'
9657 tmp_addflag
=' $pic_flag'
9659 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9660 # Portland Group f77 and f90 compilers
9661 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'
9662 tmp_addflag
=' $pic_flag -Mnomain' ;;
9663 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9664 tmp_addflag
=' -i_dynamic' ;;
9665 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9666 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9667 ifc
* | ifort
*) # Intel Fortran compiler
9668 tmp_addflag
=' -nofor_main' ;;
9669 lf95
*) # Lahey Fortran 8.1
9670 whole_archive_flag_spec
=
9671 tmp_sharedflag
='--shared' ;;
9672 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9673 tmp_sharedflag
='-qmkshrobj'
9675 nvcc
*) # Cuda Compiler Driver 2.2
9676 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'
9677 compiler_needs_object
=yes
9680 case `$CC -V 2>&1 | sed 5q` in
9681 *Sun\ C
*) # Sun C 5.9
9682 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'
9683 compiler_needs_object
=yes
9684 tmp_sharedflag
='-G' ;;
9685 *Sun\ F
*) # Sun Fortran 8.3
9686 tmp_sharedflag
='-G' ;;
9688 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9690 if test "x$supports_anon_versioning" = xyes
; then
9691 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9692 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9693 echo "local: *; };" >> $output_objdir/$libname.ver~
9694 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9697 case $cc_basename in
9698 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
9699 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9700 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
9701 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9702 archive_cmds
='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9703 if test "x$supports_anon_versioning" = xyes
; then
9704 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
9705 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9706 echo "local: *; };" >> $output_objdir/$libname.ver~
9707 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9717 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9718 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9721 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9722 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9727 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
9731 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9732 *** create shared libraries on Solaris systems. Therefore, libtool
9733 *** is disabling shared libraries support. We urge you to upgrade GNU
9734 *** binutils to release 2.9.1 or newer. Another option is to modify
9735 *** your PATH or compiler configuration so that the native linker is
9736 *** used, and then restart.
9739 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9740 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9741 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9747 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
9748 case `$LD -v 2>&1` in
9749 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
9753 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9754 *** reliably create shared libraries on SCO systems. Therefore, libtool
9755 *** is disabling shared libraries support. We urge you to upgrade GNU
9756 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9757 *** your PATH or compiler configuration so that the native linker is
9758 *** used, and then restart.
9763 # For security reasons, it is highly recommended that you always
9764 # use absolute paths for naming shared libraries, and exclude the
9765 # DT_RUNPATH tag from executables and libraries. But doing so
9766 # requires that you compile everything twice, which is a pain.
9767 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9768 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9769 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9770 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9779 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9782 hardcode_shlibpath_var
=no
9786 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9787 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9788 archive_expsym_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9795 if test "$ld_shlibs" = no
; then
9797 hardcode_libdir_flag_spec
=
9798 export_dynamic_flag_spec
=
9799 whole_archive_flag_spec
=
9802 # PORTME fill in a description of your system's linker (not GNU ld)
9805 allow_undefined_flag
=unsupported
9806 always_export_symbols
=yes
9807 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'
9808 # Note: this linker hardcodes the directories in LIBPATH if there
9809 # are no directories specified by -L.
9810 hardcode_minus_L
=yes
9811 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9812 # Neither direct hardcoding nor static linking is supported with a
9814 hardcode_direct
=unsupported
9819 if test "$host_cpu" = ia64
; then
9820 # On IA64, the linker does run time linking by default, so we don't
9821 # have to do anything special.
9822 aix_use_runtimelinking
=no
9823 exp_sym_flag
='-Bexport'
9826 # If we're using GNU nm, then we don't want the "-C" option.
9827 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9828 # Also, AIX nm treats weak defined symbols like other global
9829 # defined symbols, whereas GNU nm marks them as "W".
9830 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
9831 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'
9833 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'
9835 aix_use_runtimelinking
=no
9837 # Test if we are trying to use run time linking or normal
9838 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9839 # need to do runtime linking.
9840 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
9841 for ld_flag
in $LDFLAGS; do
9842 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
9843 aix_use_runtimelinking
=yes
9850 exp_sym_flag
='-bexport'
9851 no_entry_flag
='-bnoentry'
9854 # When large executables or shared objects are built, AIX ld can
9855 # have problems creating the table of contents. If linking a library
9856 # or program results in "error TOC overflow" add -mminimal-toc to
9857 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9858 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9862 hardcode_direct_absolute
=yes
9863 hardcode_libdir_separator
=':'
9864 link_all_deplibs
=yes
9865 file_list_spec
='${wl}-f,'
9867 if test "$GCC" = yes; then
9868 case $host_os in aix4.
[012]|aix4.
[012].
*)
9869 # We only want to do this on AIX 4.2 and lower, the check
9870 # below for broken collect2 doesn't work under 4.3+
9871 collect2name
=`${CC} -print-prog-name=collect2`
9872 if test -f "$collect2name" &&
9873 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
9875 # We have reworked collect2
9878 # We have old collect2
9879 hardcode_direct
=unsupported
9880 # It fails to find uninstalled libraries when the uninstalled
9881 # path is not listed in the libpath. Setting hardcode_minus_L
9882 # to unsupported forces relinking
9883 hardcode_minus_L
=yes
9884 hardcode_libdir_flag_spec
='-L$libdir'
9885 hardcode_libdir_separator
=
9889 shared_flag
='-shared'
9890 if test "$aix_use_runtimelinking" = yes; then
9891 shared_flag
="$shared_flag "'${wl}-G'
9895 if test "$host_cpu" = ia64
; then
9896 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9897 # chokes on -Wl,-G. The following line is correct:
9900 if test "$aix_use_runtimelinking" = yes; then
9901 shared_flag
='${wl}-G'
9903 shared_flag
='${wl}-bM:SRE'
9908 export_dynamic_flag_spec
='${wl}-bexpall'
9909 # It seems that -bexpall does not export symbols beginning with
9910 # underscore (_), so it is better to generate a list of symbols to export.
9911 always_export_symbols
=yes
9912 if test "$aix_use_runtimelinking" = yes; then
9913 # Warning - without using the other runtime loading flags (-brtl),
9914 # -berok will link without error, but may produce a broken library.
9915 allow_undefined_flag
='-berok'
9916 # Determine the default libpath from the value encoded in an
9918 if test "${lt_cv_aix_libpath+set}" = set; then
9919 aix_libpath
=$lt_cv_aix_libpath
9921 if ${lt_cv_aix_libpath_+:} false
; then :
9922 $as_echo_n "(cached) " >&6
9924 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9935 if ac_fn_c_try_link
"$LINENO"; then :
9937 lt_aix_libpath_sed
='
9938 /Import File Strings/,/^$/ {
9940 s/^0 *\([^ ]*\) *$/\1/
9944 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9945 # Check for a 64-bit object if we didn't find anything.
9946 if test -z "$lt_cv_aix_libpath_"; then
9947 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9950 rm -f core conftest.err conftest.
$ac_objext \
9951 conftest
$ac_exeext conftest.
$ac_ext
9952 if test -z "$lt_cv_aix_libpath_"; then
9953 lt_cv_aix_libpath_
="/usr/lib:/lib"
9958 aix_libpath
=$lt_cv_aix_libpath_
9961 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
9962 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"
9964 if test "$host_cpu" = ia64
; then
9965 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
9966 allow_undefined_flag
="-z nodefs"
9967 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"
9969 # Determine the default libpath from the value encoded in an
9971 if test "${lt_cv_aix_libpath+set}" = set; then
9972 aix_libpath
=$lt_cv_aix_libpath
9974 if ${lt_cv_aix_libpath_+:} false
; then :
9975 $as_echo_n "(cached) " >&6
9977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9988 if ac_fn_c_try_link
"$LINENO"; then :
9990 lt_aix_libpath_sed
='
9991 /Import File Strings/,/^$/ {
9993 s/^0 *\([^ ]*\) *$/\1/
9997 lt_cv_aix_libpath_
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9998 # Check for a 64-bit object if we didn't find anything.
9999 if test -z "$lt_cv_aix_libpath_"; then
10000 lt_cv_aix_libpath_
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10003 rm -f core conftest.err conftest.
$ac_objext \
10004 conftest
$ac_exeext conftest.
$ac_ext
10005 if test -z "$lt_cv_aix_libpath_"; then
10006 lt_cv_aix_libpath_
="/usr/lib:/lib"
10011 aix_libpath
=$lt_cv_aix_libpath_
10014 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10015 # Warning - without using the other run time loading flags,
10016 # -berok will link without error, but may produce a broken library.
10017 no_undefined_flag
=' ${wl}-bernotok'
10018 allow_undefined_flag
=' ${wl}-berok'
10019 if test "$with_gnu_ld" = yes; then
10020 # We only use this code for GNU lds that support --whole-archive.
10021 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10023 # Exported symbols can be pulled into shared objects from archives
10024 whole_archive_flag_spec
='$convenience'
10026 archive_cmds_need_lc
=yes
10027 # This is similar to how AIX traditionally builds its shared libraries.
10028 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'
10036 # see comment about AmigaOS4 .so support
10037 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10038 archive_expsym_cmds
=''
10041 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)'
10042 hardcode_libdir_flag_spec
='-L$libdir'
10043 hardcode_minus_L
=yes
10049 export_dynamic_flag_spec
=-rdynamic
10052 cygwin
* | mingw
* | pw32
* | cegcc
*)
10053 # When not using gcc, we currently assume that we are using
10054 # Microsoft Visual C++.
10055 # hardcode_libdir_flag_spec is actually meaningless, as there is
10056 # no search path for DLLs.
10057 case $cc_basename in
10060 hardcode_libdir_flag_spec
=' '
10061 allow_undefined_flag
=unsupported
10062 always_export_symbols
=yes
10064 # Tell ltmain to make .lib files, not .a files.
10066 # Tell ltmain to make .dll files, not .so files.
10068 # FIXME: Setting linknames here is a bad hack.
10069 archive_cmds
='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10070 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10071 sed -n -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' -e '1\\\
!p
' < $export_symbols > $output_objdir/$soname.exp;
10073 sed -e 's
/\\\\\\\
(.
*\\\\\\\
)/-link\\\
-EXPORT:\\\\\\\
1/' < $export_symbols > $output_objdir/$soname.exp;
10075 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10077 # The linker will not automatically build a static lib if we build a DLL.
10078 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10079 enable_shared_with_static_runtimes
=yes
10080 exclude_expsyms
='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10081 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10083 old_postinstall_cmds
='chmod 644 $oldlib'
10084 postlink_cmds
='lt_outputfile="@OUTPUT@"~
10085 lt_tool_outputfile="@TOOL_OUTPUT@"~
10086 case $lt_outputfile in
10089 lt_outputfile="$lt_outputfile.exe"
10090 lt_tool_outputfile="$lt_tool_outputfile.exe"
10093 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10094 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10095 $RM "$lt_outputfile.manifest";
10099 # Assume MSVC wrapper
10100 hardcode_libdir_flag_spec
=' '
10101 allow_undefined_flag
=unsupported
10102 # Tell ltmain to make .lib files, not .a files.
10104 # Tell ltmain to make .dll files, not .so files.
10106 # FIXME: Setting linknames here is a bad hack.
10107 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10108 # The linker will automatically build a .lib file if we build a DLL.
10109 old_archive_from_new_cmds
='true'
10110 # FIXME: Should let the user specify the lib program.
10111 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10112 enable_shared_with_static_runtimes
=yes
10117 darwin
* | rhapsody
*)
10120 archive_cmds_need_lc
=no
10122 hardcode_automatic
=yes
10123 hardcode_shlibpath_var
=unsupported
10124 if test "$lt_cv_ld_force_load" = "yes"; then
10125 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\"`'
10128 whole_archive_flag_spec
=''
10130 link_all_deplibs
=yes
10131 allow_undefined_flag
="$_lt_dar_allow_undefined"
10132 case $cc_basename in
10133 ifort
*) _lt_dar_can_shared
=yes ;;
10134 *) _lt_dar_can_shared
=$GCC ;;
10136 if test "$_lt_dar_can_shared" = "yes"; then
10137 output_verbose_link_cmd
=func_echo_all
10138 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10139 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10140 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}"
10141 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}"
10150 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10151 hardcode_libdir_flag_spec
='-L$libdir'
10152 hardcode_shlibpath_var
=no
10155 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10156 # support. Future versions do this automatically, but an explicit c++rt0.o
10157 # does not break anything, and helps significantly (at the cost of a little
10160 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10161 hardcode_libdir_flag_spec
='-R$libdir'
10162 hardcode_direct
=yes
10163 hardcode_shlibpath_var
=no
10166 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10168 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10169 hardcode_direct
=yes
10170 hardcode_minus_L
=yes
10171 hardcode_shlibpath_var
=no
10174 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10175 freebsd
* | dragonfly
*)
10176 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10177 hardcode_libdir_flag_spec
='-R$libdir'
10178 hardcode_direct
=yes
10179 hardcode_shlibpath_var
=no
10183 if test "$GCC" = yes; then
10184 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'
10186 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'
10188 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10189 hardcode_libdir_separator
=:
10190 hardcode_direct
=yes
10192 # hardcode_minus_L: Not really in the search PATH,
10193 # but as the default location of the library.
10194 hardcode_minus_L
=yes
10195 export_dynamic_flag_spec
='${wl}-E'
10199 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10200 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10202 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10204 if test "$with_gnu_ld" = no
; then
10205 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10206 hardcode_libdir_separator
=:
10207 hardcode_direct
=yes
10208 hardcode_direct_absolute
=yes
10209 export_dynamic_flag_spec
='${wl}-E'
10210 # hardcode_minus_L: Not really in the search PATH,
10211 # but as the default location of the library.
10212 hardcode_minus_L
=yes
10217 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10220 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10223 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10226 archive_cmds
='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10232 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10235 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10239 # Older versions of the 11.00 compiler do not understand -b yet
10240 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10242 $as_echo_n "checking if $CC understands -b... " >&6; }
10243 if ${lt_cv_prog_compiler__b+:} false
; then :
10244 $as_echo_n "(cached) " >&6
10246 lt_cv_prog_compiler__b
=no
10247 save_LDFLAGS
="$LDFLAGS"
10248 LDFLAGS
="$LDFLAGS -b"
10249 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10250 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10251 # The linker can only warn and ignore the option if not recognized
10252 # So say no if there are warnings
10253 if test -s conftest.err
; then
10254 # Append any errors to the config.log.
10255 cat conftest.err
1>&5
10256 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10257 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10258 if diff conftest.exp conftest.er2
>/dev
/null
; then
10259 lt_cv_prog_compiler__b
=yes
10262 lt_cv_prog_compiler__b
=yes
10266 LDFLAGS
="$save_LDFLAGS"
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10270 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10272 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10273 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10275 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10281 if test "$with_gnu_ld" = no
; then
10282 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10283 hardcode_libdir_separator
=:
10288 hardcode_shlibpath_var
=no
10291 hardcode_direct
=yes
10292 hardcode_direct_absolute
=yes
10293 export_dynamic_flag_spec
='${wl}-E'
10295 # hardcode_minus_L: Not really in the search PATH,
10296 # but as the default location of the library.
10297 hardcode_minus_L
=yes
10303 irix5
* | irix6
* | nonstopux
*)
10304 if test "$GCC" = yes; then
10305 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'
10306 # Try to use the -exported_symbol ld option, if it does not
10307 # work, assume that -exports_file does not work either and
10308 # implicitly export all symbols.
10309 # This should be the same for all languages, so no per-tag cache variable.
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10311 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10312 if ${lt_cv_irix_exported_symbol+:} false
; then :
10313 $as_echo_n "(cached) " >&6
10315 save_LDFLAGS
="$LDFLAGS"
10316 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10318 /* end confdefs.h. */
10319 int foo (void) { return 0; }
10321 if ac_fn_c_try_link
"$LINENO"; then :
10322 lt_cv_irix_exported_symbol
=yes
10324 lt_cv_irix_exported_symbol
=no
10326 rm -f core conftest.err conftest.
$ac_objext \
10327 conftest
$ac_exeext conftest.
$ac_ext
10328 LDFLAGS
="$save_LDFLAGS"
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10331 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10332 if test "$lt_cv_irix_exported_symbol" = yes; then
10333 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'
10336 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'
10337 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'
10339 archive_cmds_need_lc
='no'
10340 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10341 hardcode_libdir_separator
=:
10343 link_all_deplibs
=yes
10347 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10348 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10350 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10352 hardcode_libdir_flag_spec
='-R$libdir'
10353 hardcode_direct
=yes
10354 hardcode_shlibpath_var
=no
10358 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10359 hardcode_direct
=yes
10360 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10361 hardcode_libdir_separator
=:
10362 hardcode_shlibpath_var
=no
10369 if test -f /usr
/libexec
/ld.so
; then
10370 hardcode_direct
=yes
10371 hardcode_shlibpath_var
=no
10372 hardcode_direct_absolute
=yes
10373 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10374 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10375 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10376 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10377 export_dynamic_flag_spec
='${wl}-E'
10380 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10381 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10382 hardcode_libdir_flag_spec
='-R$libdir'
10385 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10386 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10396 hardcode_libdir_flag_spec
='-L$libdir'
10397 hardcode_minus_L
=yes
10398 allow_undefined_flag
=unsupported
10399 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'
10400 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10404 if test "$GCC" = yes; then
10405 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10406 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'
10408 allow_undefined_flag
=' -expect_unresolved \*'
10409 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'
10411 archive_cmds_need_lc
='no'
10412 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10413 hardcode_libdir_separator
=:
10416 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10417 if test "$GCC" = yes; then
10418 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10419 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'
10420 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10422 allow_undefined_flag
=' -expect_unresolved \*'
10423 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'
10424 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~
10425 $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'
10427 # Both c and cxx compiler support -rpath directly
10428 hardcode_libdir_flag_spec
='-rpath $libdir'
10430 archive_cmds_need_lc
='no'
10431 hardcode_libdir_separator
=:
10435 no_undefined_flag
=' -z defs'
10436 if test "$GCC" = yes; then
10438 archive_cmds
='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10439 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10440 $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'
10442 case `$CC -V 2>&1` in
10445 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10446 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10447 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10451 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10452 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10453 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10457 hardcode_libdir_flag_spec
='-R$libdir'
10458 hardcode_shlibpath_var
=no
10460 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10462 # The compiler driver will combine and reorder linker options,
10463 # but understands `-z linker_flag'. GCC discards it without `$wl',
10464 # but is careful enough not to reorder.
10465 # Supported since Solaris 2.6 (maybe 2.5.1?)
10466 if test "$GCC" = yes; then
10467 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10469 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10473 link_all_deplibs
=yes
10477 if test "x$host_vendor" = xsequent
; then
10478 # Use $CC to link under sequent, because it throws in some extra .o
10479 # files that make .init and .fini sections work.
10480 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10482 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10484 hardcode_libdir_flag_spec
='-L$libdir'
10485 hardcode_direct
=yes
10486 hardcode_minus_L
=yes
10487 hardcode_shlibpath_var
=no
10491 case $host_vendor in
10493 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10494 hardcode_direct
=yes # is this really true???
10497 ## LD is ld it makes a PLAMLIB
10498 ## CC just makes a GrossModule.
10499 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10500 reload_cmds
='$CC -r -o $output$reload_objs'
10504 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10505 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10508 runpath_var
='LD_RUN_PATH'
10509 hardcode_shlibpath_var
=no
10513 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10514 hardcode_shlibpath_var
=no
10515 export_dynamic_flag_spec
='-Bexport'
10519 if test -d /usr
/nec
; then
10520 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10521 hardcode_shlibpath_var
=no
10522 runpath_var
=LD_RUN_PATH
10523 hardcode_runpath_var
=yes
10528 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10529 no_undefined_flag
='${wl}-z,text'
10530 archive_cmds_need_lc
=no
10531 hardcode_shlibpath_var
=no
10532 runpath_var
='LD_RUN_PATH'
10534 if test "$GCC" = yes; then
10535 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10536 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10538 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10539 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10543 sysv5
* | sco3.2v5
* | sco5v6
*)
10544 # Note: We can NOT use -z defs as we might desire, because we do not
10545 # link with -lc, and that would cause any symbols used from libc to
10546 # always be unresolved, which means just about no library would
10547 # ever link correctly. If we're not using GNU ld we use -z text
10548 # though, which does catch some bad symbols but isn't as heavy-handed
10550 no_undefined_flag
='${wl}-z,text'
10551 allow_undefined_flag
='${wl}-z,nodefs'
10552 archive_cmds_need_lc
=no
10553 hardcode_shlibpath_var
=no
10554 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10555 hardcode_libdir_separator
=':'
10556 link_all_deplibs
=yes
10557 export_dynamic_flag_spec
='${wl}-Bexport'
10558 runpath_var
='LD_RUN_PATH'
10560 if test "$GCC" = yes; then
10561 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10562 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10564 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10565 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10570 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10571 hardcode_libdir_flag_spec
='-L$libdir'
10572 hardcode_shlibpath_var
=no
10580 if test x
$host_vendor = xsni
; then
10582 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10583 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10590 $as_echo "$ld_shlibs" >&6; }
10591 test "$ld_shlibs" = no
&& can_build_shared
=no
10593 with_gnu_ld
=$with_gnu_ld
10610 # Do we need to explicitly link libc?
10612 case "x$archive_cmds_need_lc" in
10614 # Assume -lc should be added
10615 archive_cmds_need_lc
=yes
10617 if test "$enable_shared" = yes && test "$GCC" = yes; then
10618 case $archive_cmds in
10620 # FIXME: we may have to deal with multi-command sequences.
10623 # Test whether the compiler implicitly links with -lc since on some
10624 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10625 # to ld, don't add -lc before -lgcc.
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10627 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10628 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10629 $as_echo_n "(cached) " >&6
10632 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10634 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10635 (eval $ac_compile) 2>&5
10637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10638 test $ac_status = 0; } 2>conftest.err
; then
10641 libobjs
=conftest.
$ac_objext
10643 wl
=$lt_prog_compiler_wl
10644 pic_flag
=$lt_prog_compiler_pic
10650 lt_save_allow_undefined_flag
=$allow_undefined_flag
10651 allow_undefined_flag
=
10652 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10653 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10656 test $ac_status = 0; }
10658 lt_cv_archive_cmds_need_lc
=no
10660 lt_cv_archive_cmds_need_lc
=yes
10662 allow_undefined_flag
=$lt_save_allow_undefined_flag
10664 cat conftest.err
1>&5
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10670 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10671 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10830 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10832 if test "$GCC" = yes; then
10834 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
10835 *) lt_awk_arg
="/^libraries:/" ;;
10838 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
10839 *) lt_sed_strip_eq
="s,=/,/,g" ;;
10841 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10842 case $lt_search_path_spec in
10844 # if the path contains ";" then we assume it to be the separator
10845 # otherwise default to the standard path separator (i.e. ":") - it is
10846 # assumed that no part of a normal pathname contains ";" but that should
10847 # okay in the real world where ";" in dirpaths is itself problematic.
10848 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10851 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10854 # Ok, now we have the path, separated by spaces, we can step through it
10855 # and add multilib dir if necessary.
10856 lt_tmp_lt_search_path_spec
=
10857 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10858 for lt_sys_path
in $lt_search_path_spec; do
10859 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10860 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10862 test -d "$lt_sys_path" && \
10863 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
10866 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10867 BEGIN {RS=" "; FS="/|\n";} {
10870 for (lt_i = NF; lt_i > 0; lt_i--) {
10871 if ($lt_i != "" && $lt_i != ".") {
10872 if ($lt_i == "..") {
10875 if (lt_count == 0) {
10876 lt_foo="/" $lt_i lt_foo;
10883 if (lt_foo != "") { lt_freq[lt_foo]++; }
10884 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10886 # AWK program above erroneously prepends '/' to C:/dos/paths
10889 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
10890 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10892 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10894 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
10896 library_names_spec
=
10897 libname_spec
='lib$name'
10901 postuninstall_cmds
=
10905 shlibpath_overrides_runpath
=unknown
10907 dynamic_linker
="$host_os ld.so"
10908 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
10909 need_lib_prefix
=unknown
10910 hardcode_into_libs
=no
10912 # when you set need_version to no, make sure it does not cause -set_version
10913 # flags to be left without arguments
10914 need_version
=unknown
10918 version_type
=linux
# correct to gnu/linux during the next big refactor
10919 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
10920 shlibpath_var
=LIBPATH
10922 # AIX 3 has no versioning support, so we append a major version to the name.
10923 soname_spec
='${libname}${release}${shared_ext}$major'
10927 version_type
=linux
# correct to gnu/linux during the next big refactor
10930 hardcode_into_libs
=yes
10931 if test "$host_cpu" = ia64
; then
10932 # AIX 5 supports IA64
10933 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10934 shlibpath_var
=LD_LIBRARY_PATH
10936 # With GCC up to 2.95.x, collect2 would create an import file
10937 # for dependence libraries. The import file would start with
10938 # the line `#! .'. This would cause the generated library to
10939 # depend on `.', always an invalid library. This was fixed in
10940 # development snapshots of GCC prior to 3.0.
10942 aix4 | aix4.
[01] | aix4.
[01].
*)
10943 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10945 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
10948 can_build_shared
=no
10952 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10953 # soname into executable. Probably we can add versioning support to
10954 # collect2, so additional links can be useful in future.
10955 if test "$aix_use_runtimelinking" = yes; then
10956 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10957 # instead of lib<name>.a to let people know that these are not
10958 # typical AIX shared libraries.
10959 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10961 # We preserve .a as extension for shared libraries through AIX4.2
10962 # and later when we are not doing run time linking.
10963 library_names_spec
='${libname}${release}.a $libname.a'
10964 soname_spec
='${libname}${release}${shared_ext}$major'
10966 shlibpath_var
=LIBPATH
10973 # Since July 2007 AmigaOS4 officially supports .so libraries.
10974 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10975 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10978 library_names_spec
='$libname.ixlibrary $libname.a'
10979 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10980 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'
10986 library_names_spec
='${libname}${shared_ext}'
10987 dynamic_linker
="$host_os ld.so"
10988 shlibpath_var
=LIBRARY_PATH
10992 version_type
=linux
# correct to gnu/linux during the next big refactor
10994 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10995 soname_spec
='${libname}${release}${shared_ext}$major'
10996 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
10997 shlibpath_var
=LD_LIBRARY_PATH
10998 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10999 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11000 # the default ld.so.conf also contains /usr/contrib/lib and
11001 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11002 # libtool to hard-code these into programs
11005 cygwin
* | mingw
* | pw32
* | cegcc
*)
11006 version_type
=windows
11011 case $GCC,$cc_basename in
11014 library_names_spec
='$libname.dll.a'
11015 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11016 postinstall_cmds
='base_file=`basename \${file}`~
11017 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11018 dldir=$destdir/`dirname \$dlpath`~
11019 test -d \$dldir || mkdir -p \$dldir~
11020 $install_prog $dir/$dlname \$dldir/$dlname~
11021 chmod a+x \$dldir/$dlname~
11022 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11023 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11025 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11026 dlpath=$dir/\$dldll~
11028 shlibpath_overrides_runpath
=yes
11032 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11033 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11035 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11038 # MinGW DLLs use traditional 'lib' prefix
11039 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11042 # pw32 DLLs use 'pw' prefix rather than 'lib'
11043 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11046 dynamic_linker
='Win32 ld.exe'
11051 libname_spec
='$name'
11052 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11053 library_names_spec
='${libname}.dll.lib'
11057 sys_lib_search_path_spec
=
11060 for lt_path
in $LIB
11063 # Let DOS variable expansion print the short 8.3 style file name.
11064 lt_path
=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11065 sys_lib_search_path_spec
="$sys_lib_search_path_spec $lt_path"
11068 # Convert to MSYS style.
11069 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11072 # Convert to unix form, then to dos form, then back to unix form
11073 # but this time dos style (no spaces!) so that the unix form looks
11074 # like /cygdrive/c/PROGRA~1:/cygdr...
11075 sys_lib_search_path_spec
=`cygpath --path --unix "$LIB"`
11076 sys_lib_search_path_spec
=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11077 sys_lib_search_path_spec
=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11080 sys_lib_search_path_spec
="$LIB"
11081 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
11082 # It is most probably a Windows format PATH.
11083 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11085 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11087 # FIXME: find the short name or the path components, as spaces are
11088 # common. (e.g. "Program Files" -> "PROGRA~1")
11092 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11093 postinstall_cmds
='base_file=`basename \${file}`~
11094 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11095 dldir=$destdir/`dirname \$dlpath`~
11096 test -d \$dldir || mkdir -p \$dldir~
11097 $install_prog $dir/$dlname \$dldir/$dlname'
11098 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11099 dlpath=$dir/\$dldll~
11101 shlibpath_overrides_runpath
=yes
11102 dynamic_linker
='Win32 link.exe'
11106 # Assume MSVC wrapper
11107 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11108 dynamic_linker
='Win32 ld.exe'
11111 # FIXME: first we should search . and the directory the executable is in
11115 darwin
* | rhapsody
*)
11116 dynamic_linker
="$host_os dyld"
11117 version_type
=darwin
11120 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11121 soname_spec
='${libname}${release}${major}$shared_ext'
11122 shlibpath_overrides_runpath
=yes
11123 shlibpath_var
=DYLD_LIBRARY_PATH
11124 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11126 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11127 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11131 version_type
=linux
# correct to gnu/linux during the next big refactor
11134 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11135 soname_spec
='${libname}${release}${shared_ext}$major'
11136 shlibpath_var
=LD_LIBRARY_PATH
11139 freebsd
* | dragonfly
*)
11140 # DragonFly does not have aout. When/if they implement a new
11141 # versioning mechanism, adjust this.
11142 if test -x /usr
/bin
/objformat
; then
11143 objformat
=`/usr/bin/objformat`
11146 freebsd
[23].
*) objformat
=aout
;;
11147 *) objformat
=elf
;;
11150 version_type
=freebsd-
$objformat
11151 case $version_type in
11153 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11158 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11162 shlibpath_var
=LD_LIBRARY_PATH
11165 shlibpath_overrides_runpath
=yes
11167 freebsd3.
[01]* | freebsdelf3.
[01]*)
11168 shlibpath_overrides_runpath
=yes
11169 hardcode_into_libs
=yes
11171 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11172 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11173 shlibpath_overrides_runpath
=no
11174 hardcode_into_libs
=yes
11176 *) # from 4.6 on, and DragonFly
11177 shlibpath_overrides_runpath
=yes
11178 hardcode_into_libs
=yes
11184 version_type
=linux
# correct to gnu/linux during the next big refactor
11187 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11188 soname_spec
='${libname}${release}${shared_ext}$major'
11189 shlibpath_var
=LD_LIBRARY_PATH
11190 shlibpath_overrides_runpath
=no
11191 hardcode_into_libs
=yes
11195 version_type
=linux
# correct to gnu/linux during the next big refactor
11198 dynamic_linker
="$host_os runtime_loader"
11199 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11200 soname_spec
='${libname}${release}${shared_ext}$major'
11201 shlibpath_var
=LIBRARY_PATH
11202 shlibpath_overrides_runpath
=yes
11203 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11204 hardcode_into_libs
=yes
11207 hpux9
* | hpux10
* | hpux11
*)
11208 # Give a soname corresponding to the major version so that dld.sl refuses to
11209 # link against other versions.
11216 hardcode_into_libs
=yes
11217 dynamic_linker
="$host_os dld.so"
11218 shlibpath_var
=LD_LIBRARY_PATH
11219 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11221 soname_spec
='${libname}${release}${shared_ext}$major'
11222 if test "X$HPUX_IA64_MODE" = X32
; then
11223 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11225 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11227 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11231 hardcode_into_libs
=yes
11232 dynamic_linker
="$host_os dld.sl"
11233 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11234 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11236 soname_spec
='${libname}${release}${shared_ext}$major'
11237 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11238 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11242 dynamic_linker
="$host_os dld.sl"
11243 shlibpath_var
=SHLIB_PATH
11244 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11246 soname_spec
='${libname}${release}${shared_ext}$major'
11249 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11250 postinstall_cmds
='chmod 555 $lib'
11251 # or fails outright, so override atomically:
11252 install_override_mode
=555
11256 version_type
=linux
# correct to gnu/linux during the next big refactor
11259 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11260 soname_spec
='${libname}${release}${shared_ext}$major'
11261 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11262 shlibpath_var
=LD_LIBRARY_PATH
11263 shlibpath_overrides_runpath
=no
11264 hardcode_into_libs
=yes
11267 irix5
* | irix6
* | nonstopux
*)
11269 nonstopux
*) version_type
=nonstopux
;;
11271 if test "$lt_cv_prog_gnu_ld" = yes; then
11272 version_type
=linux
# correct to gnu/linux during the next big refactor
11279 soname_spec
='${libname}${release}${shared_ext}$major'
11280 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11282 irix5
* | nonstopux
*)
11283 libsuff
= shlibsuff
=
11286 case $LD in # libtool.m4 will add one of these switches to LD
11287 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11288 libsuff
= shlibsuff
= libmagic
=32-bit;;
11289 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11290 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11291 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11292 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11293 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11297 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11298 shlibpath_overrides_runpath
=no
11299 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11300 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11301 hardcode_into_libs
=yes
11304 # No shared lib support for Linux oldld, aout, or coff.
11305 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11309 # This must be glibc/ELF.
11310 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
11311 version_type
=linux
# correct to gnu/linux during the next big refactor
11314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11315 soname_spec
='${libname}${release}${shared_ext}$major'
11316 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11317 shlibpath_var
=LD_LIBRARY_PATH
11318 shlibpath_overrides_runpath
=no
11320 # Some binutils ld are patched to set DT_RUNPATH
11321 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11322 $as_echo_n "(cached) " >&6
11324 lt_cv_shlibpath_overrides_runpath
=no
11325 save_LDFLAGS
=$LDFLAGS
11326 save_libdir
=$libdir
11327 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11328 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11330 /* end confdefs.h. */
11340 if ac_fn_c_try_link
"$LINENO"; then :
11341 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11342 lt_cv_shlibpath_overrides_runpath
=yes
11345 rm -f core conftest.err conftest.
$ac_objext \
11346 conftest
$ac_exeext conftest.
$ac_ext
11347 LDFLAGS
=$save_LDFLAGS
11348 libdir
=$save_libdir
11352 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11354 # This implies no fast_install, which is unacceptable.
11355 # Some rework will be needed to allow for fast_install
11356 # before this can be enabled.
11357 hardcode_into_libs
=yes
11359 # Append ld.so.conf contents to the search path
11360 if test -f /etc
/ld.so.conf
; then
11361 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' ' '`
11362 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11365 # We used to test for /lib/ld.so.1 and disable shared libraries on
11366 # powerpc, because MkLinux only supported shared libraries with the
11367 # GNU dynamic linker. Since this was broken with cross compilers,
11368 # most powerpc-linux boxes support dynamic linking these days and
11369 # people can always --disable-shared, the test was removed, and we
11370 # assume the GNU/Linux dynamic linker is in use.
11371 dynamic_linker
='GNU/Linux ld.so'
11378 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11379 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11380 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11381 dynamic_linker
='NetBSD (a.out) ld.so'
11383 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11384 soname_spec
='${libname}${release}${shared_ext}$major'
11385 dynamic_linker
='NetBSD ld.elf_so'
11387 shlibpath_var
=LD_LIBRARY_PATH
11388 shlibpath_overrides_runpath
=yes
11389 hardcode_into_libs
=yes
11393 version_type
=linux
# correct to gnu/linux during the next big refactor
11394 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11395 shlibpath_var
=LD_LIBRARY_PATH
11396 shlibpath_overrides_runpath
=yes
11403 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11404 soname_spec
='${libname}${release}${shared_ext}$major'
11405 shlibpath_var
=LD_LIBRARY_PATH
11406 shlibpath_overrides_runpath
=no
11407 hardcode_into_libs
=yes
11408 dynamic_linker
='ldqnx.so'
11413 sys_lib_dlsearch_path_spec
="/usr/lib"
11415 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11417 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11418 *) need_version
=no
;;
11420 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11421 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11422 shlibpath_var
=LD_LIBRARY_PATH
11423 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11425 openbsd2.
[89] | openbsd2.
[89].
*)
11426 shlibpath_overrides_runpath
=no
11429 shlibpath_overrides_runpath
=yes
11433 shlibpath_overrides_runpath
=yes
11438 libname_spec
='$name'
11441 library_names_spec
='$libname${shared_ext} $libname.a'
11442 dynamic_linker
='OS/2 ld.exe'
11443 shlibpath_var
=LIBPATH
11446 osf3
* | osf4
* | osf5
*)
11450 soname_spec
='${libname}${release}${shared_ext}$major'
11451 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11452 shlibpath_var
=LD_LIBRARY_PATH
11453 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11454 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11462 version_type
=linux
# correct to gnu/linux during the next big refactor
11465 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11466 soname_spec
='${libname}${release}${shared_ext}$major'
11467 shlibpath_var
=LD_LIBRARY_PATH
11468 shlibpath_overrides_runpath
=yes
11469 hardcode_into_libs
=yes
11470 # ldd complains unless libraries are executable
11471 postinstall_cmds
='chmod +x $lib'
11476 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11477 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11478 shlibpath_var
=LD_LIBRARY_PATH
11479 shlibpath_overrides_runpath
=yes
11480 if test "$with_gnu_ld" = yes; then
11487 version_type
=linux
# correct to gnu/linux during the next big refactor
11488 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11489 soname_spec
='${libname}${release}${shared_ext}$major'
11490 shlibpath_var
=LD_LIBRARY_PATH
11491 case $host_vendor in
11493 shlibpath_overrides_runpath
=no
11495 runpath_var
=LD_RUN_PATH
11503 shlibpath_overrides_runpath
=no
11504 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11510 if test -d /usr
/nec
;then
11511 version_type
=linux
# correct to gnu/linux during the next big refactor
11512 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11513 soname_spec
='$libname${shared_ext}.$major'
11514 shlibpath_var
=LD_LIBRARY_PATH
11518 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11519 version_type
=freebsd-elf
11522 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11523 soname_spec
='${libname}${release}${shared_ext}$major'
11524 shlibpath_var
=LD_LIBRARY_PATH
11525 shlibpath_overrides_runpath
=yes
11526 hardcode_into_libs
=yes
11527 if test "$with_gnu_ld" = yes; then
11528 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11530 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11533 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11537 sys_lib_dlsearch_path_spec
='/usr/lib'
11541 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11542 version_type
=linux
# correct to gnu/linux during the next big refactor
11545 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11546 shlibpath_var
=LD_LIBRARY_PATH
11547 shlibpath_overrides_runpath
=no
11548 hardcode_into_libs
=yes
11552 version_type
=linux
# correct to gnu/linux during the next big refactor
11553 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11554 soname_spec
='${libname}${release}${shared_ext}$major'
11555 shlibpath_var
=LD_LIBRARY_PATH
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11563 $as_echo "$dynamic_linker" >&6; }
11564 test "$dynamic_linker" = no
&& can_build_shared
=no
11566 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11567 if test "$GCC" = yes; then
11568 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11571 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11572 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11574 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11575 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11670 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11672 if test -n "$hardcode_libdir_flag_spec" ||
11673 test -n "$runpath_var" ||
11674 test "X$hardcode_automatic" = "Xyes" ; then
11676 # We can hardcode non-existent directories.
11677 if test "$hardcode_direct" != no
&&
11678 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11679 # have to relink, otherwise we might link with an installed library
11680 # when we should be linking with a yet-to-be-installed one
11681 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11682 test "$hardcode_minus_L" != no
; then
11683 # Linking always hardcodes the temporary library directory.
11684 hardcode_action
=relink
11686 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11687 hardcode_action
=immediate
11690 # We cannot hardcode anything, or else we can only hardcode existing
11692 hardcode_action
=unsupported
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11695 $as_echo "$hardcode_action" >&6; }
11697 if test "$hardcode_action" = relink ||
11698 test "$inherit_rpath" = yes; then
11699 # Fast installation is not supported
11700 enable_fast_install
=no
11701 elif test "$shlibpath_overrides_runpath" = yes ||
11702 test "$enable_shared" = no
; then
11703 # Fast installation is not necessary
11704 enable_fast_install
=needless
11712 if test "x$enable_dlopen" != xyes
; then
11713 enable_dlopen
=unknown
11714 enable_dlopen_self
=unknown
11715 enable_dlopen_self_static
=unknown
11722 lt_cv_dlopen
="load_add_on"
11724 lt_cv_dlopen_self
=yes
11727 mingw
* | pw32
* | cegcc
*)
11728 lt_cv_dlopen
="LoadLibrary"
11733 lt_cv_dlopen
="dlopen"
11738 # if libdl is installed we need to link against it
11739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11740 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11741 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11742 $as_echo_n "(cached) " >&6
11744 ac_check_lib_save_LIBS
=$LIBS
11746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11747 /* end confdefs.h. */
11749 /* Override any GCC internal prototype to avoid an error.
11750 Use char because int might match the return type of a GCC
11751 builtin and then its argument prototype would still apply. */
11764 if ac_fn_c_try_link
"$LINENO"; then :
11765 ac_cv_lib_dl_dlopen
=yes
11767 ac_cv_lib_dl_dlopen
=no
11769 rm -f core conftest.err conftest.
$ac_objext \
11770 conftest
$ac_exeext conftest.
$ac_ext
11771 LIBS
=$ac_check_lib_save_LIBS
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11774 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11775 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11776 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11779 lt_cv_dlopen
="dyld"
11781 lt_cv_dlopen_self
=yes
11788 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
11789 if test "x$ac_cv_func_shl_load" = xyes
; then :
11790 lt_cv_dlopen
="shl_load"
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11793 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11794 if ${ac_cv_lib_dld_shl_load+:} false
; then :
11795 $as_echo_n "(cached) " >&6
11797 ac_check_lib_save_LIBS
=$LIBS
11799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11800 /* end confdefs.h. */
11802 /* Override any GCC internal prototype to avoid an error.
11803 Use char because int might match the return type of a GCC
11804 builtin and then its argument prototype would still apply. */
11812 return shl_load ();
11817 if ac_fn_c_try_link
"$LINENO"; then :
11818 ac_cv_lib_dld_shl_load
=yes
11820 ac_cv_lib_dld_shl_load
=no
11822 rm -f core conftest.err conftest.
$ac_objext \
11823 conftest
$ac_exeext conftest.
$ac_ext
11824 LIBS
=$ac_check_lib_save_LIBS
11826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11827 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11828 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
11829 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
11831 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11832 if test "x$ac_cv_func_dlopen" = xyes
; then :
11833 lt_cv_dlopen
="dlopen"
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11836 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11837 if ${ac_cv_lib_dl_dlopen+:} false
; then :
11838 $as_echo_n "(cached) " >&6
11840 ac_check_lib_save_LIBS
=$LIBS
11842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11843 /* end confdefs.h. */
11845 /* Override any GCC internal prototype to avoid an error.
11846 Use char because int might match the return type of a GCC
11847 builtin and then its argument prototype would still apply. */
11860 if ac_fn_c_try_link
"$LINENO"; then :
11861 ac_cv_lib_dl_dlopen
=yes
11863 ac_cv_lib_dl_dlopen
=no
11865 rm -f core conftest.err conftest.
$ac_objext \
11866 conftest
$ac_exeext conftest.
$ac_ext
11867 LIBS
=$ac_check_lib_save_LIBS
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11870 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11871 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
11872 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11875 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11876 if ${ac_cv_lib_svld_dlopen+:} false
; then :
11877 $as_echo_n "(cached) " >&6
11879 ac_check_lib_save_LIBS
=$LIBS
11880 LIBS
="-lsvld $LIBS"
11881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11882 /* end confdefs.h. */
11884 /* Override any GCC internal prototype to avoid an error.
11885 Use char because int might match the return type of a GCC
11886 builtin and then its argument prototype would still apply. */
11899 if ac_fn_c_try_link
"$LINENO"; then :
11900 ac_cv_lib_svld_dlopen
=yes
11902 ac_cv_lib_svld_dlopen
=no
11904 rm -f core conftest.err conftest.
$ac_objext \
11905 conftest
$ac_exeext conftest.
$ac_ext
11906 LIBS
=$ac_check_lib_save_LIBS
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11909 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11910 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
11911 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11914 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11915 if ${ac_cv_lib_dld_dld_link+:} false
; then :
11916 $as_echo_n "(cached) " >&6
11918 ac_check_lib_save_LIBS
=$LIBS
11920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11921 /* end confdefs.h. */
11923 /* Override any GCC internal prototype to avoid an error.
11924 Use char because int might match the return type of a GCC
11925 builtin and then its argument prototype would still apply. */
11933 return dld_link ();
11938 if ac_fn_c_try_link
"$LINENO"; then :
11939 ac_cv_lib_dld_dld_link
=yes
11941 ac_cv_lib_dld_dld_link
=no
11943 rm -f core conftest.err conftest.
$ac_objext \
11944 conftest
$ac_exeext conftest.
$ac_ext
11945 LIBS
=$ac_check_lib_save_LIBS
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11948 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11949 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
11950 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
11971 if test "x$lt_cv_dlopen" != xno
; then
11977 case $lt_cv_dlopen in
11979 save_CPPFLAGS
="$CPPFLAGS"
11980 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
11982 save_LDFLAGS
="$LDFLAGS"
11983 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
11986 LIBS
="$lt_cv_dlopen_libs $LIBS"
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11989 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11990 if ${lt_cv_dlopen_self+:} false
; then :
11991 $as_echo_n "(cached) " >&6
11993 if test "$cross_compiling" = yes; then :
11994 lt_cv_dlopen_self
=cross
11996 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
11997 lt_status
=$lt_dlunknown
11998 cat > conftest.
$ac_ext <<_LT_EOF
11999 #line $LINENO "configure"
12000 #include "confdefs.h"
12009 # define LT_DLGLOBAL RTLD_GLOBAL
12012 # define LT_DLGLOBAL DL_GLOBAL
12014 # define LT_DLGLOBAL 0
12018 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12019 find out it does not work in some platform. */
12020 #ifndef LT_DLLAZY_OR_NOW
12022 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12025 # define LT_DLLAZY_OR_NOW DL_LAZY
12028 # define LT_DLLAZY_OR_NOW RTLD_NOW
12031 # define LT_DLLAZY_OR_NOW DL_NOW
12033 # define LT_DLLAZY_OR_NOW 0
12040 /* When -fvisbility=hidden is used, assume the code has been annotated
12041 correspondingly for the symbols needed. */
12042 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12043 int fnord () __attribute__((visibility("default")));
12046 int fnord () { return 42; }
12049 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12050 int status = $lt_dlunknown;
12054 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12057 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12058 else puts (dlerror ());
12060 /* dlclose (self); */
12068 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12069 (eval $ac_link) 2>&5
12071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12072 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12073 (.
/conftest
; exit; ) >&5 2>/dev
/null
12075 case x
$lt_status in
12076 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12077 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12078 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12081 # compilation failed
12082 lt_cv_dlopen_self
=no
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12090 $as_echo "$lt_cv_dlopen_self" >&6; }
12092 if test "x$lt_cv_dlopen_self" = xyes
; then
12093 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12095 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12096 if ${lt_cv_dlopen_self_static+:} false
; then :
12097 $as_echo_n "(cached) " >&6
12099 if test "$cross_compiling" = yes; then :
12100 lt_cv_dlopen_self_static
=cross
12102 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12103 lt_status
=$lt_dlunknown
12104 cat > conftest.
$ac_ext <<_LT_EOF
12105 #line $LINENO "configure"
12106 #include "confdefs.h"
12115 # define LT_DLGLOBAL RTLD_GLOBAL
12118 # define LT_DLGLOBAL DL_GLOBAL
12120 # define LT_DLGLOBAL 0
12124 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12125 find out it does not work in some platform. */
12126 #ifndef LT_DLLAZY_OR_NOW
12128 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12131 # define LT_DLLAZY_OR_NOW DL_LAZY
12134 # define LT_DLLAZY_OR_NOW RTLD_NOW
12137 # define LT_DLLAZY_OR_NOW DL_NOW
12139 # define LT_DLLAZY_OR_NOW 0
12146 /* When -fvisbility=hidden is used, assume the code has been annotated
12147 correspondingly for the symbols needed. */
12148 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12149 int fnord () __attribute__((visibility("default")));
12152 int fnord () { return 42; }
12155 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12156 int status = $lt_dlunknown;
12160 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12163 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12164 else puts (dlerror ());
12166 /* dlclose (self); */
12174 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12175 (eval $ac_link) 2>&5
12177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12178 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12179 (.
/conftest
; exit; ) >&5 2>/dev
/null
12181 case x
$lt_status in
12182 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12183 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12184 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12187 # compilation failed
12188 lt_cv_dlopen_self_static
=no
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12196 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12199 CPPFLAGS
="$save_CPPFLAGS"
12200 LDFLAGS
="$save_LDFLAGS"
12205 case $lt_cv_dlopen_self in
12206 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12207 *) enable_dlopen_self
=unknown
;;
12210 case $lt_cv_dlopen_self_static in
12211 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12212 *) enable_dlopen_self_static
=unknown
;;
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12235 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12236 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12237 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12238 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12240 $as_echo "yes" >&6; }
12242 # FIXME - insert some real tests, host_os isn't really good enough
12245 if test -n "$STRIP" ; then
12246 striplib
="$STRIP -x"
12247 old_striplib
="$STRIP -S"
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12249 $as_echo "yes" >&6; }
12251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12252 $as_echo "no" >&6; }
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12257 $as_echo "no" >&6; }
12273 # Report which library types will actually be built
12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12275 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12277 $as_echo "$can_build_shared" >&6; }
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12280 $as_echo_n "checking whether to build shared libraries... " >&6; }
12281 test "$can_build_shared" = "no" && enable_shared
=no
12283 # On AIX, shared libraries and static libraries use the same namespace, and
12284 # are all built from PIC.
12287 test "$enable_shared" = yes && enable_static
=no
12288 if test -n "$RANLIB"; then
12289 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12290 postinstall_cmds
='$RANLIB $lib'
12295 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12296 test "$enable_shared" = yes && enable_static
=no
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12301 $as_echo "$enable_shared" >&6; }
12303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12304 $as_echo_n "checking whether to build static libraries... " >&6; }
12305 # Make sure either enable_shared or enable_static is yes.
12306 test "$enable_shared" = yes || enable_static
=yes
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12308 $as_echo "$enable_static" >&6; }
12315 ac_cpp
='$CPP $CPPFLAGS'
12316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12336 ac_config_commands
="$ac_config_commands libtool"
12341 # Only expand once:
12346 # Extract the first word of "ar", so it can be a program name with args.
12347 set dummy
ar; ac_word
=$2
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12349 $as_echo_n "checking for $ac_word... " >&6; }
12350 if ${ac_cv_path_AR+:} false
; then :
12351 $as_echo_n "(cached) " >&6
12355 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
12358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12359 for as_dir
in $PATH
12362 test -z "$as_dir" && as_dir
=.
12363 for ac_exec_ext
in '' $ac_executable_extensions; do
12364 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12365 ac_cv_path_AR
="$as_dir/$ac_word$ac_exec_ext"
12366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12373 test -z "$ac_cv_path_AR" && ac_cv_path_AR
="ar"
12378 if test -n "$AR"; then
12379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
12380 $as_echo "$AR" >&6; }
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12383 $as_echo "no" >&6; }
12387 # Extract the first word of "rm", so it can be a program name with args.
12388 set dummy
rm; ac_word
=$2
12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12390 $as_echo_n "checking for $ac_word... " >&6; }
12391 if ${ac_cv_path_RM+:} false
; then :
12392 $as_echo_n "(cached) " >&6
12396 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
12399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12400 for as_dir
in $PATH
12403 test -z "$as_dir" && as_dir
=.
12404 for ac_exec_ext
in '' $ac_executable_extensions; do
12405 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12406 ac_cv_path_RM
="$as_dir/$ac_word$ac_exec_ext"
12407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12414 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="rm"
12419 if test -n "$RM"; then
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
12421 $as_echo "$RM" >&6; }
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12424 $as_echo "no" >&6; }
12428 # Extract the first word of "cp", so it can be a program name with args.
12429 set dummy
cp; ac_word
=$2
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12431 $as_echo_n "checking for $ac_word... " >&6; }
12432 if ${ac_cv_path_CP+:} false
; then :
12433 $as_echo_n "(cached) " >&6
12437 ac_cv_path_CP
="$CP" # Let the user override the test with a path.
12440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12441 for as_dir
in $PATH
12444 test -z "$as_dir" && as_dir
=.
12445 for ac_exec_ext
in '' $ac_executable_extensions; do
12446 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12447 ac_cv_path_CP
="$as_dir/$ac_word$ac_exec_ext"
12448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12455 test -z "$ac_cv_path_CP" && ac_cv_path_CP
="cp"
12460 if test -n "$CP"; then
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
12462 $as_echo "$CP" >&6; }
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12465 $as_echo "no" >&6; }
12469 # Extract the first word of "ln", so it can be a program name with args.
12470 set dummy
ln; ac_word
=$2
12471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12472 $as_echo_n "checking for $ac_word... " >&6; }
12473 if ${ac_cv_path_LN+:} false
; then :
12474 $as_echo_n "(cached) " >&6
12478 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
12481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12482 for as_dir
in $PATH
12485 test -z "$as_dir" && as_dir
=.
12486 for ac_exec_ext
in '' $ac_executable_extensions; do
12487 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12488 ac_cv_path_LN
="$as_dir/$ac_word$ac_exec_ext"
12489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12496 test -z "$ac_cv_path_LN" && ac_cv_path_LN
="ln"
12501 if test -n "$LN"; then
12502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LN" >&5
12503 $as_echo "$LN" >&6; }
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12506 $as_echo "no" >&6; }
12510 # Extract the first word of "ls", so it can be a program name with args.
12511 set dummy
ls; ac_word
=$2
12512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12513 $as_echo_n "checking for $ac_word... " >&6; }
12514 if ${ac_cv_path_LS+:} false
; then :
12515 $as_echo_n "(cached) " >&6
12519 ac_cv_path_LS
="$LS" # Let the user override the test with a path.
12522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12523 for as_dir
in $PATH
12526 test -z "$as_dir" && as_dir
=.
12527 for ac_exec_ext
in '' $ac_executable_extensions; do
12528 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12529 ac_cv_path_LS
="$as_dir/$ac_word$ac_exec_ext"
12530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12537 test -z "$ac_cv_path_LS" && ac_cv_path_LS
="ls"
12542 if test -n "$LS"; then
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LS" >&5
12544 $as_echo "$LS" >&6; }
12546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12547 $as_echo "no" >&6; }
12551 # Extract the first word of "sed", so it can be a program name with args.
12552 set dummy
sed; ac_word
=$2
12553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12554 $as_echo_n "checking for $ac_word... " >&6; }
12555 if ${ac_cv_path_SED+:} false
; then :
12556 $as_echo_n "(cached) " >&6
12560 ac_cv_path_SED
="$SED" # Let the user override the test with a path.
12563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12564 for as_dir
in $PATH
12567 test -z "$as_dir" && as_dir
=.
12568 for ac_exec_ext
in '' $ac_executable_extensions; do
12569 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12570 ac_cv_path_SED
="$as_dir/$ac_word$ac_exec_ext"
12571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12578 test -z "$ac_cv_path_SED" && ac_cv_path_SED
="sed"
12582 SED
=$ac_cv_path_SED
12583 if test -n "$SED"; then
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
12585 $as_echo "$SED" >&6; }
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12588 $as_echo "no" >&6; }
12592 # Extract the first word of "make", so it can be a program name with args.
12593 set dummy
make; ac_word
=$2
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12595 $as_echo_n "checking for $ac_word... " >&6; }
12596 if ${ac_cv_path_MAKE+:} false
; then :
12597 $as_echo_n "(cached) " >&6
12601 ac_cv_path_MAKE
="$MAKE" # Let the user override the test with a path.
12604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12605 for as_dir
in $PATH
12608 test -z "$as_dir" && as_dir
=.
12609 for ac_exec_ext
in '' $ac_executable_extensions; do
12610 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12611 ac_cv_path_MAKE
="$as_dir/$ac_word$ac_exec_ext"
12612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12622 MAKE
=$ac_cv_path_MAKE
12623 if test -n "$MAKE"; then
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKE" >&5
12625 $as_echo "$MAKE" >&6; }
12627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12628 $as_echo "no" >&6; }
12636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12637 $as_echo_n "checking whether NLS is requested... " >&6; }
12638 # Check whether --enable-nls was given.
12639 if test "${enable_nls+set}" = set; then :
12640 enableval
=$enable_nls; USE_NLS
=$enableval
12645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12646 $as_echo "$USE_NLS" >&6; }
12653 # Prepare PATH_SEPARATOR.
12654 # The user is always right.
12655 if test "${PATH_SEPARATOR+set}" != set; then
12656 echo "#! /bin/sh" >conf$$.sh
12657 echo "exit 0" >>conf$$.sh
12659 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12667 # Find out how to test for executable files. Don't use a zero-byte file,
12668 # as systems may use methods other than mode bits to determine executability.
12669 cat >conf$$.
file <<_ASEOF
12673 chmod +x conf$$.
file
12674 if test -x conf$$.
file >/dev
/null
2>&1; then
12675 ac_executable_p
="test -x"
12677 ac_executable_p
="test -f"
12681 # Extract the first word of "msgfmt", so it can be a program name with args.
12682 set dummy msgfmt
; ac_word
=$2
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12684 $as_echo_n "checking for $ac_word... " >&6; }
12685 if ${ac_cv_path_MSGFMT+:} false
; then :
12686 $as_echo_n "(cached) " >&6
12690 ac_cv_path_MSGFMT
="$MSGFMT" # Let the user override the test with a path.
12693 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12694 for ac_dir
in $PATH; do
12696 test -z "$ac_dir" && ac_dir
=.
12697 for ac_exec_ext
in '' $ac_executable_extensions; do
12698 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12699 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12700 if $ac_dir/$ac_word --statistics /dev
/null
>&5 2>&1 &&
12701 (if $ac_dir/$ac_word --statistics /dev
/null
2>&1 >/dev
/null |
grep usage
>/dev
/null
; then exit 1; else exit 0; fi); then
12702 ac_cv_path_MSGFMT
="$ac_dir/$ac_word$ac_exec_ext"
12709 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT
=":"
12713 MSGFMT
="$ac_cv_path_MSGFMT"
12714 if test "$MSGFMT" != ":"; then
12715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12716 $as_echo "$MSGFMT" >&6; }
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12719 $as_echo "no" >&6; }
12722 # Extract the first word of "gmsgfmt", so it can be a program name with args.
12723 set dummy gmsgfmt
; ac_word
=$2
12724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12725 $as_echo_n "checking for $ac_word... " >&6; }
12726 if ${ac_cv_path_GMSGFMT+:} false
; then :
12727 $as_echo_n "(cached) " >&6
12731 ac_cv_path_GMSGFMT
="$GMSGFMT" # Let the user override the test with a path.
12734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12735 for as_dir
in $PATH
12738 test -z "$as_dir" && as_dir
=.
12739 for ac_exec_ext
in '' $ac_executable_extensions; do
12740 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
12741 ac_cv_path_GMSGFMT
="$as_dir/$ac_word$ac_exec_ext"
12742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12749 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT
="$MSGFMT"
12753 GMSGFMT
=$ac_cv_path_GMSGFMT
12754 if test -n "$GMSGFMT"; then
12755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12756 $as_echo "$GMSGFMT" >&6; }
12758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12759 $as_echo "no" >&6; }
12764 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12765 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) MSGFMT_015
=: ;;
12766 *) MSGFMT_015
=$MSGFMT ;;
12769 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12770 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) GMSGFMT_015
=: ;;
12771 *) GMSGFMT_015
=$GMSGFMT ;;
12776 # Prepare PATH_SEPARATOR.
12777 # The user is always right.
12778 if test "${PATH_SEPARATOR+set}" != set; then
12779 echo "#! /bin/sh" >conf$$.sh
12780 echo "exit 0" >>conf$$.sh
12782 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12790 # Find out how to test for executable files. Don't use a zero-byte file,
12791 # as systems may use methods other than mode bits to determine executability.
12792 cat >conf$$.
file <<_ASEOF
12796 chmod +x conf$$.
file
12797 if test -x conf$$.
file >/dev
/null
2>&1; then
12798 ac_executable_p
="test -x"
12800 ac_executable_p
="test -f"
12804 # Extract the first word of "xgettext", so it can be a program name with args.
12805 set dummy xgettext
; ac_word
=$2
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12807 $as_echo_n "checking for $ac_word... " >&6; }
12808 if ${ac_cv_path_XGETTEXT+:} false
; then :
12809 $as_echo_n "(cached) " >&6
12811 case "$XGETTEXT" in
12813 ac_cv_path_XGETTEXT
="$XGETTEXT" # Let the user override the test with a path.
12816 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12817 for ac_dir
in $PATH; do
12819 test -z "$ac_dir" && ac_dir
=.
12820 for ac_exec_ext
in '' $ac_executable_extensions; do
12821 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12822 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12823 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev
/null
>&5 2>&1 &&
12824 (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
12825 ac_cv_path_XGETTEXT
="$ac_dir/$ac_word$ac_exec_ext"
12832 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT
=":"
12836 XGETTEXT
="$ac_cv_path_XGETTEXT"
12837 if test "$XGETTEXT" != ":"; then
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12839 $as_echo "$XGETTEXT" >&6; }
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12842 $as_echo "no" >&6; }
12847 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
12848 '' |
0.
[0-9] |
0.
[0-9].
* |
0.1[0-4] |
0.1[0-4].
*) XGETTEXT_015
=: ;;
12849 *) XGETTEXT_015
=$XGETTEXT ;;
12854 # Prepare PATH_SEPARATOR.
12855 # The user is always right.
12856 if test "${PATH_SEPARATOR+set}" != set; then
12857 echo "#! /bin/sh" >conf$$.sh
12858 echo "exit 0" >>conf$$.sh
12860 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12868 # Find out how to test for executable files. Don't use a zero-byte file,
12869 # as systems may use methods other than mode bits to determine executability.
12870 cat >conf$$.
file <<_ASEOF
12874 chmod +x conf$$.
file
12875 if test -x conf$$.
file >/dev
/null
2>&1; then
12876 ac_executable_p
="test -x"
12878 ac_executable_p
="test -f"
12882 # Extract the first word of "msgmerge", so it can be a program name with args.
12883 set dummy msgmerge
; ac_word
=$2
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12885 $as_echo_n "checking for $ac_word... " >&6; }
12886 if ${ac_cv_path_MSGMERGE+:} false
; then :
12887 $as_echo_n "(cached) " >&6
12889 case "$MSGMERGE" in
12891 ac_cv_path_MSGMERGE
="$MSGMERGE" # Let the user override the test with a path.
12894 ac_save_IFS
="$IFS"; IFS
=$PATH_SEPARATOR
12895 for ac_dir
in $PATH; do
12897 test -z "$ac_dir" && ac_dir
=.
12898 for ac_exec_ext
in '' $ac_executable_extensions; do
12899 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
12900 echo "$as_me: trying $ac_dir/$ac_word..." >&5
12901 if $ac_dir/$ac_word --update -q /dev
/null
/dev
/null
>&5 2>&1; then
12902 ac_cv_path_MSGMERGE
="$ac_dir/$ac_word$ac_exec_ext"
12909 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE
=":"
12913 MSGMERGE
="$ac_cv_path_MSGMERGE"
12914 if test "$MSGMERGE" != ":"; then
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12916 $as_echo "$MSGMERGE" >&6; }
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12919 $as_echo "no" >&6; }
12923 test -n "$localedir" || localedir
='${datadir}/locale'
12926 ac_config_commands
="$ac_config_commands po-directories"
12930 if test "X$prefix" = "XNONE"; then
12931 acl_final_prefix
="$ac_default_prefix"
12933 acl_final_prefix
="$prefix"
12935 if test "X$exec_prefix" = "XNONE"; then
12936 acl_final_exec_prefix
='${prefix}'
12938 acl_final_exec_prefix
="$exec_prefix"
12940 acl_save_prefix
="$prefix"
12941 prefix
="$acl_final_prefix"
12942 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
12943 prefix
="$acl_save_prefix"
12946 # Check whether --with-gnu-ld was given.
12947 if test "${with_gnu_ld+set}" = set; then :
12948 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12953 # Prepare PATH_SEPARATOR.
12954 # The user is always right.
12955 if test "${PATH_SEPARATOR+set}" != set; then
12956 echo "#! /bin/sh" >conf$$.sh
12957 echo "exit 0" >>conf$$.sh
12959 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12967 if test "$GCC" = yes; then
12968 # Check if gcc -print-prog-name=ld gives a path.
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
12970 $as_echo_n "checking for ld used by GCC... " >&6; }
12973 # gcc leaves a trailing carriage return which upsets mingw
12974 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12976 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12979 # Accept absolute paths.
12980 [\\/]* |
[A-Za-z
]:[\\/]*)
12981 re_direlt
='/[^/][^/]*/\.\./'
12982 # Canonicalize the path of ld
12983 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
12984 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
12985 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
12987 test -z "$LD" && LD
="$ac_prog"
12990 # If it fails, then pretend we aren't using GCC.
12994 # If it is relative, then search for the first ld in PATH.
12995 with_gnu_ld
=unknown
12998 elif test "$with_gnu_ld" = yes; then
12999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
13000 $as_echo_n "checking for GNU ld... " >&6; }
13002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
13003 $as_echo_n "checking for non-GNU ld... " >&6; }
13005 if ${acl_cv_path_LD+:} false
; then :
13006 $as_echo_n "(cached) " >&6
13008 if test -z "$LD"; then
13009 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
13010 for ac_dir
in $PATH; do
13011 test -z "$ac_dir" && ac_dir
=.
13012 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
13013 acl_cv_path_LD
="$ac_dir/$ac_prog"
13014 # Check to see if the program is GNU ld. I'd rather use --version,
13015 # but apparently some GNU ld's only accept -v.
13016 # Break only if it was the GNU/non-GNU ld that we prefer.
13017 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
13018 *GNU
* |
*'with BFD'*)
13019 test "$with_gnu_ld" != no
&& break ;;
13021 test "$with_gnu_ld" != yes && break ;;
13027 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
13031 LD
="$acl_cv_path_LD"
13032 if test -n "$LD"; then
13033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
13034 $as_echo "$LD" >&6; }
13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13037 $as_echo "no" >&6; }
13039 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
13040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
13041 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13042 if ${acl_cv_prog_gnu_ld+:} false
; then :
13043 $as_echo_n "(cached) " >&6
13045 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
13046 case `$LD -v 2>&1 </dev/null` in
13047 *GNU
* |
*'with BFD'*)
13048 acl_cv_prog_gnu_ld
=yes ;;
13050 acl_cv_prog_gnu_ld
=no
;;
13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
13054 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
13055 with_gnu_ld
=$acl_cv_prog_gnu_ld
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
13061 $as_echo_n "checking for shared library run path origin... " >&6; }
13062 if ${acl_cv_rpath+:} false
; then :
13063 $as_echo_n "(cached) " >&6
13066 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
13067 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
13069 rm -f .
/conftest.sh
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
13074 $as_echo "$acl_cv_rpath" >&6; }
13076 libext
="$acl_cv_libext"
13077 shlibext
="$acl_cv_shlibext"
13078 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
13079 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
13080 hardcode_direct
="$acl_cv_hardcode_direct"
13081 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
13082 # Check whether --enable-rpath was given.
13083 if test "${enable_rpath+set}" = set; then :
13084 enableval
=$enable_rpath; :
13092 searchpath
=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
13093 if test -n "$searchpath"; then
13094 acl_save_IFS
="${IFS= }"; IFS
=":"
13095 for searchdir
in $searchpath; do
13096 if test -d "$searchdir"; then
13097 case "$searchdir" in
13098 */lib64
/ |
*/lib64
) acl_libdirstem
=lib64
;;
13099 *) searchdir
=`cd "$searchdir" && pwd`
13100 case "$searchdir" in
13101 */lib64
) acl_libdirstem
=lib64
;;
13106 IFS
="$acl_save_IFS"
13118 acl_save_prefix
="$prefix"
13119 prefix
="$acl_final_prefix"
13120 acl_save_exec_prefix
="$exec_prefix"
13121 exec_prefix
="$acl_final_exec_prefix"
13123 eval additional_includedir
=\"$includedir\"
13124 eval additional_libdir
=\"$libdir\"
13126 exec_prefix
="$acl_save_exec_prefix"
13127 prefix
="$acl_save_prefix"
13130 # Check whether --with-libiconv-prefix was given.
13131 if test "${with_libiconv_prefix+set}" = set; then :
13132 withval
=$with_libiconv_prefix;
13133 if test "X$withval" = "Xno"; then
13136 if test "X$withval" = "X"; then
13138 acl_save_prefix
="$prefix"
13139 prefix
="$acl_final_prefix"
13140 acl_save_exec_prefix
="$exec_prefix"
13141 exec_prefix
="$acl_final_exec_prefix"
13143 eval additional_includedir
=\"$includedir\"
13144 eval additional_libdir
=\"$libdir\"
13146 exec_prefix
="$acl_save_exec_prefix"
13147 prefix
="$acl_save_prefix"
13150 additional_includedir
="$withval/include"
13151 additional_libdir
="$withval/$acl_libdirstem"
13162 names_already_handled
=
13163 names_next_round
='iconv '
13164 while test -n "$names_next_round"; do
13165 names_this_round
="$names_next_round"
13167 for name
in $names_this_round; do
13169 for n
in $names_already_handled; do
13170 if test "$n" = "$name"; then
13171 already_handled
=yes
13175 if test -z "$already_handled"; then
13176 names_already_handled
="$names_already_handled $name"
13177 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13178 eval value
=\"\
$HAVE_LIB$uppername\"
13179 if test -n "$value"; then
13180 if test "$value" = yes; then
13181 eval value
=\"\
$LIB$uppername\"
13182 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
13183 eval value
=\"\
$LTLIB$uppername\"
13184 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
13193 if test $use_additional = yes; then
13194 if test -n "$shlibext" \
13195 && { test -f "$additional_libdir/lib$name.$shlibext" \
13196 ||
{ test "$shlibext" = dll \
13197 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
13198 found_dir
="$additional_libdir"
13199 if test -f "$additional_libdir/lib$name.$shlibext"; then
13200 found_so
="$additional_libdir/lib$name.$shlibext"
13202 found_so
="$additional_libdir/lib$name.dll.a"
13204 if test -f "$additional_libdir/lib$name.la"; then
13205 found_la
="$additional_libdir/lib$name.la"
13208 if test -f "$additional_libdir/lib$name.$libext"; then
13209 found_dir
="$additional_libdir"
13210 found_a
="$additional_libdir/lib$name.$libext"
13211 if test -f "$additional_libdir/lib$name.la"; then
13212 found_la
="$additional_libdir/lib$name.la"
13217 if test "X$found_dir" = "X"; then
13218 for x
in $LDFLAGS $LTLIBICONV; do
13220 acl_save_prefix
="$prefix"
13221 prefix
="$acl_final_prefix"
13222 acl_save_exec_prefix
="$exec_prefix"
13223 exec_prefix
="$acl_final_exec_prefix"
13225 exec_prefix
="$acl_save_exec_prefix"
13226 prefix
="$acl_save_prefix"
13230 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13231 if test -n "$shlibext" \
13232 && { test -f "$dir/lib$name.$shlibext" \
13233 ||
{ test "$shlibext" = dll \
13234 && test -f "$dir/lib$name.dll.a"; }; }; then
13236 if test -f "$dir/lib$name.$shlibext"; then
13237 found_so
="$dir/lib$name.$shlibext"
13239 found_so
="$dir/lib$name.dll.a"
13241 if test -f "$dir/lib$name.la"; then
13242 found_la
="$dir/lib$name.la"
13245 if test -f "$dir/lib$name.$libext"; then
13247 found_a
="$dir/lib$name.$libext"
13248 if test -f "$dir/lib$name.la"; then
13249 found_la
="$dir/lib$name.la"
13255 if test "X$found_dir" != "X"; then
13260 if test "X$found_dir" != "X"; then
13261 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
13262 if test "X$found_so" != "X"; then
13263 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13264 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13267 for x
in $ltrpathdirs; do
13268 if test "X$x" = "X$found_dir"; then
13273 if test -z "$haveit"; then
13274 ltrpathdirs
="$ltrpathdirs $found_dir"
13276 if test "$hardcode_direct" = yes; then
13277 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13279 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13280 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13282 for x
in $rpathdirs; do
13283 if test "X$x" = "X$found_dir"; then
13288 if test -z "$haveit"; then
13289 rpathdirs
="$rpathdirs $found_dir"
13293 for x
in $LDFLAGS $LIBICONV; do
13295 acl_save_prefix
="$prefix"
13296 prefix
="$acl_final_prefix"
13297 acl_save_exec_prefix
="$exec_prefix"
13298 exec_prefix
="$acl_final_exec_prefix"
13300 exec_prefix
="$acl_save_exec_prefix"
13301 prefix
="$acl_save_prefix"
13303 if test "X$x" = "X-L$found_dir"; then
13308 if test -z "$haveit"; then
13309 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
13311 if test "$hardcode_minus_L" != no
; then
13312 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
13314 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
13320 if test "X$found_a" != "X"; then
13321 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
13323 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
13326 additional_includedir
=
13327 case "$found_dir" in
13328 */$acl_libdirstem |
*/$acl_libdirstem/)
13329 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13330 additional_includedir
="$basedir/include"
13333 if test "X$additional_includedir" != "X"; then
13334 if test "X$additional_includedir" != "X/usr/include"; then
13336 if test "X$additional_includedir" = "X/usr/local/include"; then
13337 if test -n "$GCC"; then
13339 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
13343 if test -z "$haveit"; then
13344 for x
in $CPPFLAGS $INCICONV; do
13346 acl_save_prefix
="$prefix"
13347 prefix
="$acl_final_prefix"
13348 acl_save_exec_prefix
="$exec_prefix"
13349 exec_prefix
="$acl_final_exec_prefix"
13351 exec_prefix
="$acl_save_exec_prefix"
13352 prefix
="$acl_save_prefix"
13354 if test "X$x" = "X-I$additional_includedir"; then
13359 if test -z "$haveit"; then
13360 if test -d "$additional_includedir"; then
13361 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
13367 if test -n "$found_la"; then
13368 save_libdir
="$libdir"
13369 case "$found_la" in
13370 */* |
*\\*) .
"$found_la" ;;
13371 *) .
"./$found_la" ;;
13373 libdir
="$save_libdir"
13374 for dep
in $dependency_libs; do
13377 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
13378 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
13380 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
13381 if test -n "$GCC"; then
13383 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
13387 if test -z "$haveit"; then
13389 for x
in $LDFLAGS $LIBICONV; do
13391 acl_save_prefix
="$prefix"
13392 prefix
="$acl_final_prefix"
13393 acl_save_exec_prefix
="$exec_prefix"
13394 exec_prefix
="$acl_final_exec_prefix"
13396 exec_prefix
="$acl_save_exec_prefix"
13397 prefix
="$acl_save_prefix"
13399 if test "X$x" = "X-L$additional_libdir"; then
13404 if test -z "$haveit"; then
13405 if test -d "$additional_libdir"; then
13406 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
13410 for x
in $LDFLAGS $LTLIBICONV; do
13412 acl_save_prefix
="$prefix"
13413 prefix
="$acl_final_prefix"
13414 acl_save_exec_prefix
="$exec_prefix"
13415 exec_prefix
="$acl_final_exec_prefix"
13417 exec_prefix
="$acl_save_exec_prefix"
13418 prefix
="$acl_save_prefix"
13420 if test "X$x" = "X-L$additional_libdir"; then
13425 if test -z "$haveit"; then
13426 if test -d "$additional_libdir"; then
13427 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
13434 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
13435 if test "$enable_rpath" != no
; then
13437 for x
in $rpathdirs; do
13438 if test "X$x" = "X$dir"; then
13443 if test -z "$haveit"; then
13444 rpathdirs
="$rpathdirs $dir"
13447 for x
in $ltrpathdirs; do
13448 if test "X$x" = "X$dir"; then
13453 if test -z "$haveit"; then
13454 ltrpathdirs
="$ltrpathdirs $dir"
13459 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
13462 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
13465 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
13466 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
13472 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
13473 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
13479 if test "X$rpathdirs" != "X"; then
13480 if test -n "$hardcode_libdir_separator"; then
13482 for found_dir
in $rpathdirs; do
13483 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
13485 acl_save_libdir
="$libdir"
13487 eval flag
=\"$hardcode_libdir_flag_spec\"
13488 libdir
="$acl_save_libdir"
13489 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
13491 for found_dir
in $rpathdirs; do
13492 acl_save_libdir
="$libdir"
13493 libdir
="$found_dir"
13494 eval flag
=\"$hardcode_libdir_flag_spec\"
13495 libdir
="$acl_save_libdir"
13496 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
13500 if test "X$ltrpathdirs" != "X"; then
13501 for found_dir
in $ltrpathdirs; do
13502 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
13531 $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
13532 if ${gt_cv_func_CFPreferencesCopyAppValue+:} false
; then :
13533 $as_echo_n "(cached) " >&6
13535 gt_save_LIBS
="$LIBS"
13536 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
13537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13538 /* end confdefs.h. */
13539 #include <CoreFoundation/CFPreferences.h>
13543 CFPreferencesCopyAppValue(NULL, NULL)
13548 if ac_fn_c_try_link
"$LINENO"; then :
13549 gt_cv_func_CFPreferencesCopyAppValue
=yes
13551 gt_cv_func_CFPreferencesCopyAppValue
=no
13553 rm -f core conftest.err conftest.
$ac_objext \
13554 conftest
$ac_exeext conftest.
$ac_ext
13555 LIBS
="$gt_save_LIBS"
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
13558 $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
13559 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
13561 $as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
13565 $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
13566 if ${gt_cv_func_CFLocaleCopyCurrent+:} false
; then :
13567 $as_echo_n "(cached) " >&6
13569 gt_save_LIBS
="$LIBS"
13570 LIBS
="$LIBS -Wl,-framework -Wl,CoreFoundation"
13571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13572 /* end confdefs.h. */
13573 #include <CoreFoundation/CFLocale.h>
13577 CFLocaleCopyCurrent();
13582 if ac_fn_c_try_link
"$LINENO"; then :
13583 gt_cv_func_CFLocaleCopyCurrent
=yes
13585 gt_cv_func_CFLocaleCopyCurrent
=no
13587 rm -f core conftest.err conftest.
$ac_objext \
13588 conftest
$ac_exeext conftest.
$ac_ext
13589 LIBS
="$gt_save_LIBS"
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
13592 $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
13593 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13595 $as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
13599 if test $gt_cv_func_CFPreferencesCopyAppValue = yes ||
test $gt_cv_func_CFLocaleCopyCurrent = yes; then
13600 INTL_MACOSX_LIBS
="-Wl,-framework -Wl,CoreFoundation"
13612 case " $gt_needs " in
13613 *" need-formatstring-macros "*) gt_api_version
=3 ;;
13614 *" need-ngettext "*) gt_api_version
=2 ;;
13615 *) gt_api_version
=1 ;;
13617 gt_func_gnugettext_libc
="gt_cv_func_gnugettext${gt_api_version}_libc"
13618 gt_func_gnugettext_libintl
="gt_cv_func_gnugettext${gt_api_version}_libintl"
13620 if test "$USE_NLS" = "yes"; then
13621 gt_use_preinstalled_gnugettext
=no
13624 if test $gt_api_version -ge 3; then
13625 gt_revision_test_code
='
13626 #ifndef __GNU_GETTEXT_SUPPORTED_REVISION
13627 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
13629 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
13632 gt_revision_test_code
=
13634 if test $gt_api_version -ge 2; then
13635 gt_expression_test_code
=' + * ngettext ("", "", 0)'
13637 gt_expression_test_code
=
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
13641 $as_echo_n "checking for GNU gettext in libc... " >&6; }
13642 if eval \
${$gt_func_gnugettext_libc+:} false
; then :
13643 $as_echo_n "(cached) " >&6
13645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13646 /* end confdefs.h. */
13647 #include <libintl.h>
13648 $gt_revision_test_code
13649 extern int _nl_msg_cat_cntr;
13650 extern int *_nl_domain_bindings;
13654 bindtextdomain ("", "");
13655 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
13660 if ac_fn_c_try_link
"$LINENO"; then :
13661 eval "$gt_func_gnugettext_libc=yes"
13663 eval "$gt_func_gnugettext_libc=no"
13665 rm -f core conftest.err conftest.
$ac_objext \
13666 conftest
$ac_exeext conftest.
$ac_ext
13668 eval ac_res
=\$
$gt_func_gnugettext_libc
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13670 $as_echo "$ac_res" >&6; }
13672 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
13678 am_save_CPPFLAGS
="$CPPFLAGS"
13680 for element
in $INCICONV; do
13682 for x
in $CPPFLAGS; do
13684 acl_save_prefix
="$prefix"
13685 prefix
="$acl_final_prefix"
13686 acl_save_exec_prefix
="$exec_prefix"
13687 exec_prefix
="$acl_final_exec_prefix"
13689 exec_prefix
="$acl_save_exec_prefix"
13690 prefix
="$acl_save_prefix"
13692 if test "X$x" = "X$element"; then
13697 if test -z "$haveit"; then
13698 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
13704 $as_echo_n "checking for iconv... " >&6; }
13705 if ${am_cv_func_iconv+:} false
; then :
13706 $as_echo_n "(cached) " >&6
13709 am_cv_func_iconv
="no, consider installing GNU libiconv"
13711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13712 /* end confdefs.h. */
13713 #include <stdlib.h>
13718 iconv_t cd = iconv_open("","");
13719 iconv(cd,NULL,NULL,NULL,NULL);
13725 if ac_fn_c_try_link
"$LINENO"; then :
13726 am_cv_func_iconv
=yes
13728 rm -f core conftest.err conftest.
$ac_objext \
13729 conftest
$ac_exeext conftest.
$ac_ext
13730 if test "$am_cv_func_iconv" != yes; then
13731 am_save_LIBS
="$LIBS"
13732 LIBS
="$LIBS $LIBICONV"
13733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13734 /* end confdefs.h. */
13735 #include <stdlib.h>
13740 iconv_t cd = iconv_open("","");
13741 iconv(cd,NULL,NULL,NULL,NULL);
13747 if ac_fn_c_try_link
"$LINENO"; then :
13748 am_cv_lib_iconv
=yes
13749 am_cv_func_iconv
=yes
13751 rm -f core conftest.err conftest.
$ac_objext \
13752 conftest
$ac_exeext conftest.
$ac_ext
13753 LIBS
="$am_save_LIBS"
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
13758 $as_echo "$am_cv_func_iconv" >&6; }
13759 if test "$am_cv_func_iconv" = yes; then
13761 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
13764 if test "$am_cv_lib_iconv" = yes; then
13765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
13766 $as_echo_n "checking how to link with libiconv... " >&6; }
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
13768 $as_echo "$LIBICONV" >&6; }
13770 CPPFLAGS
="$am_save_CPPFLAGS"
13783 acl_save_prefix
="$prefix"
13784 prefix
="$acl_final_prefix"
13785 acl_save_exec_prefix
="$exec_prefix"
13786 exec_prefix
="$acl_final_exec_prefix"
13788 eval additional_includedir
=\"$includedir\"
13789 eval additional_libdir
=\"$libdir\"
13791 exec_prefix
="$acl_save_exec_prefix"
13792 prefix
="$acl_save_prefix"
13795 # Check whether --with-libintl-prefix was given.
13796 if test "${with_libintl_prefix+set}" = set; then :
13797 withval
=$with_libintl_prefix;
13798 if test "X$withval" = "Xno"; then
13801 if test "X$withval" = "X"; then
13803 acl_save_prefix
="$prefix"
13804 prefix
="$acl_final_prefix"
13805 acl_save_exec_prefix
="$exec_prefix"
13806 exec_prefix
="$acl_final_exec_prefix"
13808 eval additional_includedir
=\"$includedir\"
13809 eval additional_libdir
=\"$libdir\"
13811 exec_prefix
="$acl_save_exec_prefix"
13812 prefix
="$acl_save_prefix"
13815 additional_includedir
="$withval/include"
13816 additional_libdir
="$withval/$acl_libdirstem"
13827 names_already_handled
=
13828 names_next_round
='intl '
13829 while test -n "$names_next_round"; do
13830 names_this_round
="$names_next_round"
13832 for name
in $names_this_round; do
13834 for n
in $names_already_handled; do
13835 if test "$n" = "$name"; then
13836 already_handled
=yes
13840 if test -z "$already_handled"; then
13841 names_already_handled
="$names_already_handled $name"
13842 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
13843 eval value
=\"\
$HAVE_LIB$uppername\"
13844 if test -n "$value"; then
13845 if test "$value" = yes; then
13846 eval value
=\"\
$LIB$uppername\"
13847 test -z "$value" || LIBINTL
="${LIBINTL}${LIBINTL:+ }$value"
13848 eval value
=\"\
$LTLIB$uppername\"
13849 test -z "$value" || LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$value"
13858 if test $use_additional = yes; then
13859 if test -n "$shlibext" \
13860 && { test -f "$additional_libdir/lib$name.$shlibext" \
13861 ||
{ test "$shlibext" = dll \
13862 && test -f "$additional_libdir/lib$name.dll.a"; }; }; then
13863 found_dir
="$additional_libdir"
13864 if test -f "$additional_libdir/lib$name.$shlibext"; then
13865 found_so
="$additional_libdir/lib$name.$shlibext"
13867 found_so
="$additional_libdir/lib$name.dll.a"
13869 if test -f "$additional_libdir/lib$name.la"; then
13870 found_la
="$additional_libdir/lib$name.la"
13873 if test -f "$additional_libdir/lib$name.$libext"; then
13874 found_dir
="$additional_libdir"
13875 found_a
="$additional_libdir/lib$name.$libext"
13876 if test -f "$additional_libdir/lib$name.la"; then
13877 found_la
="$additional_libdir/lib$name.la"
13882 if test "X$found_dir" = "X"; then
13883 for x
in $LDFLAGS $LTLIBINTL; do
13885 acl_save_prefix
="$prefix"
13886 prefix
="$acl_final_prefix"
13887 acl_save_exec_prefix
="$exec_prefix"
13888 exec_prefix
="$acl_final_exec_prefix"
13890 exec_prefix
="$acl_save_exec_prefix"
13891 prefix
="$acl_save_prefix"
13895 dir
=`echo "X$x" | sed -e 's/^X-L//'`
13896 if test -n "$shlibext" \
13897 && { test -f "$dir/lib$name.$shlibext" \
13898 ||
{ test "$shlibext" = dll \
13899 && test -f "$dir/lib$name.dll.a"; }; }; then
13901 if test -f "$dir/lib$name.$shlibext"; then
13902 found_so
="$dir/lib$name.$shlibext"
13904 found_so
="$dir/lib$name.dll.a"
13906 if test -f "$dir/lib$name.la"; then
13907 found_la
="$dir/lib$name.la"
13910 if test -f "$dir/lib$name.$libext"; then
13912 found_a
="$dir/lib$name.$libext"
13913 if test -f "$dir/lib$name.la"; then
13914 found_la
="$dir/lib$name.la"
13920 if test "X$found_dir" != "X"; then
13925 if test "X$found_dir" != "X"; then
13926 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
13927 if test "X$found_so" != "X"; then
13928 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/$acl_libdirstem"; then
13929 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13932 for x
in $ltrpathdirs; do
13933 if test "X$x" = "X$found_dir"; then
13938 if test -z "$haveit"; then
13939 ltrpathdirs
="$ltrpathdirs $found_dir"
13941 if test "$hardcode_direct" = yes; then
13942 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13944 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
13945 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13947 for x
in $rpathdirs; do
13948 if test "X$x" = "X$found_dir"; then
13953 if test -z "$haveit"; then
13954 rpathdirs
="$rpathdirs $found_dir"
13958 for x
in $LDFLAGS $LIBINTL; do
13960 acl_save_prefix
="$prefix"
13961 prefix
="$acl_final_prefix"
13962 acl_save_exec_prefix
="$exec_prefix"
13963 exec_prefix
="$acl_final_exec_prefix"
13965 exec_prefix
="$acl_save_exec_prefix"
13966 prefix
="$acl_save_prefix"
13968 if test "X$x" = "X-L$found_dir"; then
13973 if test -z "$haveit"; then
13974 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir"
13976 if test "$hardcode_minus_L" != no
; then
13977 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_so"
13979 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
13985 if test "X$found_a" != "X"; then
13986 LIBINTL
="${LIBINTL}${LIBINTL:+ }$found_a"
13988 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
13991 additional_includedir
=
13992 case "$found_dir" in
13993 */$acl_libdirstem |
*/$acl_libdirstem/)
13994 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
13995 additional_includedir
="$basedir/include"
13998 if test "X$additional_includedir" != "X"; then
13999 if test "X$additional_includedir" != "X/usr/include"; then
14001 if test "X$additional_includedir" = "X/usr/local/include"; then
14002 if test -n "$GCC"; then
14004 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14008 if test -z "$haveit"; then
14009 for x
in $CPPFLAGS $INCINTL; do
14011 acl_save_prefix
="$prefix"
14012 prefix
="$acl_final_prefix"
14013 acl_save_exec_prefix
="$exec_prefix"
14014 exec_prefix
="$acl_final_exec_prefix"
14016 exec_prefix
="$acl_save_exec_prefix"
14017 prefix
="$acl_save_prefix"
14019 if test "X$x" = "X-I$additional_includedir"; then
14024 if test -z "$haveit"; then
14025 if test -d "$additional_includedir"; then
14026 INCINTL
="${INCINTL}${INCINTL:+ }-I$additional_includedir"
14032 if test -n "$found_la"; then
14033 save_libdir
="$libdir"
14034 case "$found_la" in
14035 */* |
*\\*) .
"$found_la" ;;
14036 *) .
"./$found_la" ;;
14038 libdir
="$save_libdir"
14039 for dep
in $dependency_libs; do
14042 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
14043 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14045 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14046 if test -n "$GCC"; then
14048 linux
* | gnu
* | k
*bsd
*-gnu) haveit
=yes;;
14052 if test -z "$haveit"; then
14054 for x
in $LDFLAGS $LIBINTL; do
14056 acl_save_prefix
="$prefix"
14057 prefix
="$acl_final_prefix"
14058 acl_save_exec_prefix
="$exec_prefix"
14059 exec_prefix
="$acl_final_exec_prefix"
14061 exec_prefix
="$acl_save_exec_prefix"
14062 prefix
="$acl_save_prefix"
14064 if test "X$x" = "X-L$additional_libdir"; then
14069 if test -z "$haveit"; then
14070 if test -d "$additional_libdir"; then
14071 LIBINTL
="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
14075 for x
in $LDFLAGS $LTLIBINTL; do
14077 acl_save_prefix
="$prefix"
14078 prefix
="$acl_final_prefix"
14079 acl_save_exec_prefix
="$exec_prefix"
14080 exec_prefix
="$acl_final_exec_prefix"
14082 exec_prefix
="$acl_save_exec_prefix"
14083 prefix
="$acl_save_prefix"
14085 if test "X$x" = "X-L$additional_libdir"; then
14090 if test -z "$haveit"; then
14091 if test -d "$additional_libdir"; then
14092 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
14099 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
14100 if test "$enable_rpath" != no
; then
14102 for x
in $rpathdirs; do
14103 if test "X$x" = "X$dir"; then
14108 if test -z "$haveit"; then
14109 rpathdirs
="$rpathdirs $dir"
14112 for x
in $ltrpathdirs; do
14113 if test "X$x" = "X$dir"; then
14118 if test -z "$haveit"; then
14119 ltrpathdirs
="$ltrpathdirs $dir"
14124 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14127 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14130 LIBINTL
="${LIBINTL}${LIBINTL:+ }$dep"
14131 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }$dep"
14137 LIBINTL
="${LIBINTL}${LIBINTL:+ }-l$name"
14138 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
14144 if test "X$rpathdirs" != "X"; then
14145 if test -n "$hardcode_libdir_separator"; then
14147 for found_dir
in $rpathdirs; do
14148 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
14150 acl_save_libdir
="$libdir"
14152 eval flag
=\"$hardcode_libdir_flag_spec\"
14153 libdir
="$acl_save_libdir"
14154 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
14156 for found_dir
in $rpathdirs; do
14157 acl_save_libdir
="$libdir"
14158 libdir
="$found_dir"
14159 eval flag
=\"$hardcode_libdir_flag_spec\"
14160 libdir
="$acl_save_libdir"
14161 LIBINTL
="${LIBINTL}${LIBINTL:+ }$flag"
14165 if test "X$ltrpathdirs" != "X"; then
14166 for found_dir
in $ltrpathdirs; do
14167 LTLIBINTL
="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
14171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
14172 $as_echo_n "checking for GNU gettext in libintl... " >&6; }
14173 if eval \
${$gt_func_gnugettext_libintl+:} false
; then :
14174 $as_echo_n "(cached) " >&6
14176 gt_save_CPPFLAGS
="$CPPFLAGS"
14177 CPPFLAGS
="$CPPFLAGS $INCINTL"
14178 gt_save_LIBS
="$LIBS"
14179 LIBS
="$LIBS $LIBINTL"
14180 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14181 /* end confdefs.h. */
14182 #include <libintl.h>
14183 $gt_revision_test_code
14184 extern int _nl_msg_cat_cntr;
14189 const char *_nl_expand_alias (const char *);
14193 bindtextdomain ("", "");
14194 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14199 if ac_fn_c_try_link
"$LINENO"; then :
14200 eval "$gt_func_gnugettext_libintl=yes"
14202 eval "$gt_func_gnugettext_libintl=no"
14204 rm -f core conftest.err conftest.
$ac_objext \
14205 conftest
$ac_exeext conftest.
$ac_ext
14206 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
14207 LIBS
="$LIBS $LIBICONV"
14208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14210 #include <libintl.h>
14211 $gt_revision_test_code
14212 extern int _nl_msg_cat_cntr;
14217 const char *_nl_expand_alias (const char *);
14221 bindtextdomain ("", "");
14222 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
14227 if ac_fn_c_try_link
"$LINENO"; then :
14228 LIBINTL
="$LIBINTL $LIBICONV"
14229 LTLIBINTL
="$LTLIBINTL $LTLIBICONV"
14230 eval "$gt_func_gnugettext_libintl=yes"
14233 rm -f core conftest.err conftest.
$ac_objext \
14234 conftest
$ac_exeext conftest.
$ac_ext
14236 CPPFLAGS
="$gt_save_CPPFLAGS"
14237 LIBS
="$gt_save_LIBS"
14239 eval ac_res
=\$
$gt_func_gnugettext_libintl
14240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
14241 $as_echo "$ac_res" >&6; }
14244 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
14245 ||
{ { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
14246 && test "$PACKAGE" != gettext-runtime \
14247 && test "$PACKAGE" != gettext-tools
; }; then
14248 gt_use_preinstalled_gnugettext
=yes
14257 if test -n "$INTL_MACOSX_LIBS"; then
14258 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14259 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
14260 LIBINTL
="$LIBINTL $INTL_MACOSX_LIBS"
14261 LTLIBINTL
="$LTLIBINTL $INTL_MACOSX_LIBS"
14265 if test "$gt_use_preinstalled_gnugettext" = "yes" \
14266 ||
test "$nls_cv_use_gnu_gettext" = "yes"; then
14268 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
14276 $as_echo_n "checking whether to use NLS... " >&6; }
14277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
14278 $as_echo "$USE_NLS" >&6; }
14279 if test "$USE_NLS" = "yes"; then
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
14281 $as_echo_n "checking where the gettext function comes from... " >&6; }
14282 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14283 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14284 gt_source
="external libintl"
14289 gt_source
="included intl directory"
14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
14292 $as_echo "$gt_source" >&6; }
14295 if test "$USE_NLS" = "yes"; then
14297 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
14298 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
14300 $as_echo_n "checking how to link with libintl... " >&6; }
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
14302 $as_echo "$LIBINTL" >&6; }
14304 for element
in $INCINTL; do
14306 for x
in $CPPFLAGS; do
14308 acl_save_prefix
="$prefix"
14309 prefix
="$acl_final_prefix"
14310 acl_save_exec_prefix
="$exec_prefix"
14311 exec_prefix
="$acl_final_exec_prefix"
14313 exec_prefix
="$acl_save_exec_prefix"
14314 prefix
="$acl_save_prefix"
14316 if test "X$x" = "X$element"; then
14321 if test -z "$haveit"; then
14322 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
14329 $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14332 $as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
14341 INTLLIBS
="$LIBINTL"
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: dmalloc enabled" >&5
14350 $as_echo_n "checking option: dmalloc enabled... " >&6; }
14351 # Check whether --enable-dmalloc was given.
14352 if test "${enable_dmalloc+set}" = set; then :
14353 enableval
=$enable_dmalloc;
14356 if test x
$enable_dmalloc = "xyes" ; then
14357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14358 $as_echo "yes" >&6; }
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14361 $as_echo "no" >&6; }
14365 # Check whether --with-dmalloc-dir was given.
14366 if test "${with_dmalloc_dir+set}" = set; then :
14367 withval
=$with_dmalloc_dir;
14368 if test "x$withval" != "xno" ; then
14369 enable_dmalloc
= "yes"
14370 CPPFLAGS
="$CPPFLAGS -I${withval}"
14371 LDFLAGS
="$LDFLAGS -L${withval}"
14377 if test x
$enable_dmalloc = "xyes" ; then
14379 $as_echo "#define ENABLE_DMALLOC 1" >>confdefs.h
14383 ALPINE_datestamp
=`date`
14385 # Check whether --with-date-stamp was given.
14386 if test "${with_date_stamp+set}" = set; then :
14387 withval
=$with_date_stamp;
14388 if test "x$withval" != "xno" ; then
14389 ALPINE_datestamp
=$withval
14394 ALPINE_DATESTAMP
=$ALPINE_datestamp
14397 ALPINE_hoststamp
=`hostname`
14399 # Check whether --with-host-stamp was given.
14400 if test "${with_host_stamp+set}" = set; then :
14401 withval
=$with_host_stamp;
14402 if test "x$withval" != "xno" ; then
14403 ALPINE_hoststamp
="$withval"
14408 ALPINE_HOSTSTAMP
=$ALPINE_hoststamp
14411 ALPINE_psefcmd
="/bin/ps auxww"
14412 ALPINE_psfailed
="0"
14415 # Check whether --with-ps-cmd was given.
14416 if test "${with_ps_cmd+set}" = set; then :
14417 withval
=$with_ps_cmd;
14418 if test "x$withval" = "xno" -o "x$withval" = "xyes" -o "x$withval" = "x" ; then
14419 withval
=$ALPINE_psefcmd
14421 ALPINE_PSTEST
=`$withval | $EGREP "$withval" | $EGREP -v $EGREP`
14422 if test -n "$ALPINE_PSTEST" ; then
14423 ALPINE_psefcmd
="$withval"
14425 ALPINE_psfailed
="1"
14426 if test "x$ALPINE_psefcmd" != "x$withval" ; then
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed command $withval. Trying $ALPINE_psefcmd" >&5
14428 $as_echo "$as_me: WARNING: failed command $withval. Trying $ALPINE_psefcmd" >&2;}
14434 if test "$ALPINE_psfailed" = "1" -o "$ALPINE_PSTEST" = "-" ; then
14435 withval
="$ALPINE_psefcmd"
14436 ALPINE_PSTEST
=`$withval | $EGREP "$withval" | $EGREP -v $EGREP`
14437 if test -z "$ALPINE_PSTEST" ; then
14438 ALPINE_psfailed
="1"
14440 ALPINE_psfailed
="0"
14443 if test "$ALPINE_psfailed" = "0" ; then
14445 cat >>confdefs.h
<<_ACEOF
14446 #define PSEFCMD "$ALPINE_psefcmd"
14453 if test -d /opt
/local ; then
14454 localedir
="/opt/local/share/locale"
14456 localedir
="\${datadir}/locale"
14460 localedir
="/usr/share"
14463 localedir
="\${datadir}/locale"
14468 # Check whether --with-localedir was given.
14469 if test "${with_localedir+set}" = set; then :
14470 withval
=$with_localedir;
14483 localedir
="$localedir"
14486 # Setup OS-Specific features
14489 # Check whether --enable-osx-universal-binaries was given.
14490 if test "${enable_osx_universal_binaries+set}" = set; then :
14491 enableval
=$enable_osx_universal_binaries;
14494 if test "x$enable_osx_universal_binaries" = "xyes" ; then
14495 if test "x$enable_dependency_tracking" != xno
; then
14496 as_fn_error $?
"--enable-osx-universal-binary requires --disable-dependency-tracking.
14497 Please re-run configure with these options:
14498 --disable-dependency-tracking --enable-osx-universal-binary" "$LINENO" 5
14500 if test -d /Developer
/SDKs
/MacOSX10.5.sdk
; then
14501 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.5.sdk
14502 elif test -d /Developer
/SDKs
/MacOSX10.4u.sdk
; then
14503 alpine_sysroot
=/Developer
/SDKs
/MacOSX10.4u.sdk
14505 as_fn_error $?
"No suitable MacOSX SDK found. Make sure Xcode tools are installed" "$LINENO" 5
14507 ub_cflags
="-isysroot $alpine_sysroot -arch ppc -arch i386"
14508 ub_ldflags
="-Wl,-syslibroot,$alpine_sysroot -arch ppc -arch i386"
14509 AM_CFLAGS
="$AM_CFLAGS $ub_cflags"
14510 AM_LDFLAGS
="$AM_LDFLAGS $ub_ldflags"
14511 alpine_c_client_cflags
="$alpine_c_client_cflags $ub_cflags"
14512 alpine_c_client_ldflags
="$alpine_c_client_ldflags $ub_ldflags"
14518 # Check whether --with-include-path was given.
14519 if test "${with_include_path+set}" = set; then :
14520 withval
=$with_include_path;
14527 new_cppflags
="-I`echo ${withval} | ${SED} 's/:/ -I/g'`"
14528 CPPFLAGS
="$CPPFLAGS ${new_cppflags}"
14529 alpine_c_client_cflags
="$alpine_c_client_cflags ${new_cppflags}"
14537 # Check whether --with-lib-path was given.
14538 if test "${with_lib_path+set}" = set; then :
14539 withval
=$with_lib_path;
14546 new_ldflags
="-L`echo ${withval} | ${SED} 's/:/ -L/g'`"
14547 LDFLAGS
="$LDFLAGS $new_ldflags"
14548 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${new_ldflags}"
14556 # Check whether --with-pubcookie was given.
14557 if test "${with_pubcookie+set}" = set; then :
14558 withval
=$with_pubcookie;
14559 if test "x$withval" != "xno" ; then
14560 WEB_PUBCOOKIE_BUILD
=web
/src
/pubcookie
14568 # Check whether --with-web-bin was given.
14569 if test "${with_web_bin+set}" = set; then :
14570 withval
=$with_web_bin;
14577 WEB_BINDIR
=$withval
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: debugging is enabled" >&5
14585 $as_echo_n "checking option: debugging is enabled... " >&6; }
14586 # Check whether --enable-debug was given.
14587 if test "${enable_debug+set}" = set; then :
14588 enableval
=$enable_debug;
14591 if test x
$enable_debug != "xno" ; then
14592 AM_CFLAGS
="$AM_CFLAGS -g"
14594 $as_echo "#define DEBUG 1" >>confdefs.h
14597 $as_echo "#define DEBUGJOURNAL 1" >>confdefs.h
14599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14600 $as_echo "yes" >&6; }
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14603 $as_echo "no" >&6; }
14606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: optimization is enabled" >&5
14607 $as_echo_n "checking option: optimization is enabled... " >&6; }
14608 # Check whether --enable-optimization was given.
14609 if test "${enable_optimization+set}" = set; then :
14610 enableval
=$enable_optimization;
14613 if test x
$enable_optimization != "xno" ; then
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14615 $as_echo "yes" >&6; }
14617 CFLAGS
="`echo $AM_CFLAGS | ${SED} 's/-O2//'`"
14618 alpine_c_client_gccoptlevel
="-O0"
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14620 $as_echo "no" >&6; }
14623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: mouse support enabled" >&5
14624 $as_echo_n "checking option: mouse support enabled... " >&6; }
14625 # Check whether --enable-mouse was given.
14626 if test "${enable_mouse+set}" = set; then :
14627 enableval
=$enable_mouse;
14630 if test x
$enable_mouse != "xno" ; then
14632 $as_echo "#define MOUSE /**/" >>confdefs.h
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14635 $as_echo "yes" >&6; }
14637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14638 $as_echo "no" >&6; }
14641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: quotas enabled" >&5
14642 $as_echo_n "checking option: quotas enabled... " >&6; }
14643 # Check whether --enable-quotas was given.
14644 if test "${enable_quotas+set}" = set; then :
14645 enableval
=$enable_quotas;
14648 if test x
$enable_quotas = "xyes" ; then
14650 $as_echo "#define USE_QUOTAS /**/" >>confdefs.h
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14653 $as_echo "yes" >&6; }
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14656 $as_echo "no" >&6; }
14659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: From changing enabled" >&5
14660 $as_echo_n "checking option: From changing enabled... " >&6; }
14661 # Check whether --enable-from_changing was given.
14662 if test "${enable_from_changing+set}" = set; then :
14663 enableval
=$enable_from_changing;
14666 if test x
$enable_from_changing != "xno" ; then
14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14668 $as_echo "yes" >&6; }
14671 $as_echo "#define NEVER_ALLOW_CHANGING_FROM /**/" >>confdefs.h
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14674 $as_echo "no" >&6; }
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: background post enabled" >&5
14678 $as_echo_n "checking option: background post enabled... " >&6; }
14679 # Check whether --enable-background-post was given.
14680 if test "${enable_background_post+set}" = set; then :
14681 enableval
=$enable_background_post;
14684 if test x
$enable_background_post != "xno" ; then
14686 $as_echo "#define BACKGROUND_POST /**/" >>confdefs.h
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14689 $as_echo "yes" >&6; }
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14692 $as_echo "no" >&6; }
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: keyboard lock enabled" >&5
14696 $as_echo_n "checking option: keyboard lock enabled... " >&6; }
14697 # Check whether --enable-keyboard-lock was given.
14698 if test "${enable_keyboard_lock+set}" = set; then :
14699 enableval
=$enable_keyboard_lock;
14702 if test x
$enable_keyboard_lock != "xno" ; then
14704 $as_echo "#define KEYBOARD_LOCK /**/" >>confdefs.h
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14707 $as_echo "yes" >&6; }
14709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14710 $as_echo "no" >&6; }
14713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking option: from encoding enabled" >&5
14714 $as_echo_n "checking option: from encoding enabled... " >&6; }
14715 # Check whether --enable-from-encoding was given.
14716 if test "${enable_from_encoding+set}" = set; then :
14717 enableval
=$enable_from_encoding;
14720 if test x
$enable_from_encoding = "xyes" ; then
14722 $as_echo "#define ENCODE_FROMS /**/" >>confdefs.h
14724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14725 $as_echo "yes" >&6; }
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14728 $as_echo "no" >&6; }
14732 # Check whether --with-smtp-msa was given.
14733 if test "${with_smtp_msa+set}" = set; then :
14734 withval
=$with_smtp_msa;
14739 # Extract the first word of "sendmail", so it can be a program name with args.
14740 set dummy sendmail
; ac_word
=$2
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14742 $as_echo_n "checking for $ac_word... " >&6; }
14743 if ${ac_cv_path_SENDMAIL+:} false
; then :
14744 $as_echo_n "(cached) " >&6
14748 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
14751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14752 as_dummy
="$PATH:/usr/sbin:/usr/lib"
14753 for as_dir
in $as_dummy
14756 test -z "$as_dir" && as_dir
=.
14757 for ac_exec_ext
in '' $ac_executable_extensions; do
14758 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14759 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
14760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14767 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
14771 SENDMAIL
=$ac_cv_path_SENDMAIL
14772 if test -n "$SENDMAIL"; then
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
14774 $as_echo "$SENDMAIL" >&6; }
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14777 $as_echo "no" >&6; }
14789 # Extract the first word of "sendmail", so it can be a program name with args.
14790 set dummy sendmail
; ac_word
=$2
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14792 $as_echo_n "checking for $ac_word... " >&6; }
14793 if ${ac_cv_path_SENDMAIL+:} false
; then :
14794 $as_echo_n "(cached) " >&6
14798 ac_cv_path_SENDMAIL
="$SENDMAIL" # Let the user override the test with a path.
14801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14802 as_dummy
="$PATH:/usr/sbin:/usr/lib"
14803 for as_dir
in $as_dummy
14806 test -z "$as_dir" && as_dir
=.
14807 for ac_exec_ext
in '' $ac_executable_extensions; do
14808 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14809 ac_cv_path_SENDMAIL
="$as_dir/$ac_word$ac_exec_ext"
14810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14817 test -z "$ac_cv_path_SENDMAIL" && ac_cv_path_SENDMAIL
=""""
14821 SENDMAIL
=$ac_cv_path_SENDMAIL
14822 if test -n "$SENDMAIL"; then
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENDMAIL" >&5
14824 $as_echo "$SENDMAIL" >&6; }
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14827 $as_echo "no" >&6; }
14834 if test -n "$SENDMAIL" ; then
14836 cat >>confdefs.h
<<_ACEOF
14837 #define SENDMAIL "$SENDMAIL"
14842 smtp_msa_flags
="-bs -odb -oem"
14844 # Check whether --with-smtp-msa-flags was given.
14845 if test "${with_smtp_msa_flags+set}" = set; then :
14846 withval
=$with_smtp_msa_flags;
14847 if test "x$withval" != "xno" ; then
14848 smtp_msa_flags
=$withval
14854 cat >>confdefs.h
<<_ACEOF
14855 #define SENDMAILFLAGS "$smtp_msa_flags"
14861 # Check whether --with-npa was given.
14862 if test "${with_npa+set}" = set; then :
14868 # Extract the first word of "inews", so it can be a program name with args.
14869 set dummy inews
; ac_word
=$2
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14871 $as_echo_n "checking for $ac_word... " >&6; }
14872 if ${ac_cv_path_NPA_PROG+:} false
; then :
14873 $as_echo_n "(cached) " >&6
14877 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
14880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14881 as_dummy
="$PATH:/usr/sbin:/usr/lib"
14882 for as_dir
in $as_dummy
14885 test -z "$as_dir" && as_dir
=.
14886 for ac_exec_ext
in '' $ac_executable_extensions; do
14887 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14888 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
14889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14896 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
14900 NPA_PROG
=$ac_cv_path_NPA_PROG
14901 if test -n "$NPA_PROG"; then
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
14903 $as_echo "$NPA_PROG" >&6; }
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14906 $as_echo "no" >&6; }
14918 # Extract the first word of "inews", so it can be a program name with args.
14919 set dummy inews
; ac_word
=$2
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14921 $as_echo_n "checking for $ac_word... " >&6; }
14922 if ${ac_cv_path_NPA_PROG+:} false
; then :
14923 $as_echo_n "(cached) " >&6
14927 ac_cv_path_NPA_PROG
="$NPA_PROG" # Let the user override the test with a path.
14930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14931 as_dummy
="$PATH:/usr/sbin:/usr/lib"
14932 for as_dir
in $as_dummy
14935 test -z "$as_dir" && as_dir
=.
14936 for ac_exec_ext
in '' $ac_executable_extensions; do
14937 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
14938 ac_cv_path_NPA_PROG
="$as_dir/$ac_word$ac_exec_ext"
14939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14946 test -z "$ac_cv_path_NPA_PROG" && ac_cv_path_NPA_PROG
=""""
14950 NPA_PROG
=$ac_cv_path_NPA_PROG
14951 if test -n "$NPA_PROG"; then
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NPA_PROG" >&5
14953 $as_echo "$NPA_PROG" >&6; }
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14956 $as_echo "no" >&6; }
14966 # Check whether --with-npa-flags was given.
14967 if test "${with_npa_flags+set}" = set; then :
14968 withval
=$with_npa_flags;
14969 if test "x$withval" != "xno" ; then
14975 if test -n "$NPA_PROG" ; then
14977 cat >>confdefs.h
<<_ACEOF
14978 #define SENDNEWS "$NPA_PROG $npa_flags"
14984 # Check whether --with-password-prog was given.
14985 if test "${with_password_prog+set}" = set; then :
14986 withval
=$with_password_prog;
14991 # Extract the first word of "passwd", so it can be a program name with args.
14992 set dummy passwd
; ac_word
=$2
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14994 $as_echo_n "checking for $ac_word... " >&6; }
14995 if ${ac_cv_path_PWPROG+:} false
; then :
14996 $as_echo_n "(cached) " >&6
15000 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15004 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15005 for as_dir
in $as_dummy
15008 test -z "$as_dir" && as_dir
=.
15009 for ac_exec_ext
in '' $ac_executable_extensions; do
15010 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15011 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15019 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15023 PWPROG
=$ac_cv_path_PWPROG
15024 if test -n "$PWPROG"; then
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15026 $as_echo "$PWPROG" >&6; }
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15029 $as_echo "no" >&6; }
15035 # Extract the first word of "$withval", so it can be a program name with args.
15036 set dummy
$withval; ac_word
=$2
15037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15038 $as_echo_n "checking for $ac_word... " >&6; }
15039 if ${ac_cv_path_PWPROG+:} false
; then :
15040 $as_echo_n "(cached) " >&6
15044 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15048 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15049 for as_dir
in $as_dummy
15052 test -z "$as_dir" && as_dir
=.
15053 for ac_exec_ext
in '' $ac_executable_extensions; do
15054 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15055 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15063 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15067 PWPROG
=$ac_cv_path_PWPROG
15068 if test -n "$PWPROG"; then
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15070 $as_echo "$PWPROG" >&6; }
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15073 $as_echo "no" >&6; }
15082 # Extract the first word of "passwd", so it can be a program name with args.
15083 set dummy passwd
; ac_word
=$2
15084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15085 $as_echo_n "checking for $ac_word... " >&6; }
15086 if ${ac_cv_path_PWPROG+:} false
; then :
15087 $as_echo_n "(cached) " >&6
15091 ac_cv_path_PWPROG
="$PWPROG" # Let the user override the test with a path.
15094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15095 as_dummy
="$PATH:/usr/sbin:/usr/lib"
15096 for as_dir
in $as_dummy
15099 test -z "$as_dir" && as_dir
=.
15100 for ac_exec_ext
in '' $ac_executable_extensions; do
15101 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15102 ac_cv_path_PWPROG
="$as_dir/$ac_word$ac_exec_ext"
15103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15110 test -z "$ac_cv_path_PWPROG" && ac_cv_path_PWPROG
=""""
15114 PWPROG
=$ac_cv_path_PWPROG
15115 if test -n "$PWPROG"; then
15116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PWPROG" >&5
15117 $as_echo "$PWPROG" >&6; }
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15120 $as_echo "no" >&6; }
15127 if test -n "$PWPROG" ; then
15129 cat >>confdefs.h
<<_ACEOF
15130 #define PASSWD_PROG "$PWPROG"
15136 # Check whether --with-simple-spellcheck was given.
15137 if test "${with_simple_spellcheck+set}" = set; then :
15138 withval
=$with_simple_spellcheck;
15139 if test "x$withval" != "xno" ; then
15145 # Extract the first word of "hunspell", so it can be a program name with args.
15146 set dummy hunspell
; ac_word
=$2
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15148 $as_echo_n "checking for $ac_word... " >&6; }
15149 if ${ac_cv_prog_SPELLPROG+:} false
; then :
15150 $as_echo_n "(cached) " >&6
15152 if test -n "$SPELLPROG"; then
15153 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
15155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15156 for as_dir
in $PATH
15159 test -z "$as_dir" && as_dir
=.
15160 for ac_exec_ext
in '' $ac_executable_extensions; do
15161 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15162 ac_cv_prog_SPELLPROG
="hunspell"
15163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15172 SPELLPROG
=$ac_cv_prog_SPELLPROG
15173 if test -n "$SPELLPROG"; then
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
15175 $as_echo "$SPELLPROG" >&6; }
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15178 $as_echo "no" >&6; }
15182 if test -z "$SPELLPROG" ; then
15183 # Extract the first word of "aspell", so it can be a program name with args.
15184 set dummy aspell
; ac_word
=$2
15185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15186 $as_echo_n "checking for $ac_word... " >&6; }
15187 if ${ac_cv_prog_SPELLPROG+:} false
; then :
15188 $as_echo_n "(cached) " >&6
15190 if test -n "$SPELLPROG"; then
15191 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
15193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15194 for as_dir
in $PATH
15197 test -z "$as_dir" && as_dir
=.
15198 for ac_exec_ext
in '' $ac_executable_extensions; do
15199 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15200 ac_cv_prog_SPELLPROG
="aspell"
15201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15210 SPELLPROG
=$ac_cv_prog_SPELLPROG
15211 if test -n "$SPELLPROG"; then
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
15213 $as_echo "$SPELLPROG" >&6; }
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15216 $as_echo "no" >&6; }
15220 if test -z "$SPELLPROG" ; then
15221 # Extract the first word of "ispell", so it can be a program name with args.
15222 set dummy ispell
; ac_word
=$2
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15224 $as_echo_n "checking for $ac_word... " >&6; }
15225 if ${ac_cv_prog_SPELLPROG+:} false
; then :
15226 $as_echo_n "(cached) " >&6
15228 if test -n "$SPELLPROG"; then
15229 ac_cv_prog_SPELLPROG
="$SPELLPROG" # Let the user override the test.
15231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15232 for as_dir
in $PATH
15235 test -z "$as_dir" && as_dir
=.
15236 for ac_exec_ext
in '' $ac_executable_extensions; do
15237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15238 ac_cv_prog_SPELLPROG
="ispell"
15239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15248 SPELLPROG
=$ac_cv_prog_SPELLPROG
15249 if test -n "$SPELLPROG"; then
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SPELLPROG" >&5
15251 $as_echo "$SPELLPROG" >&6; }
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15254 $as_echo "no" >&6; }
15258 if test -z "$SPELLPROG" ; then
15267 if test "x$SPELLPROG" != "xno" ; then
15268 # Extract the first word of "$SPELLPROG", so it can be a program name with args.
15269 set dummy
$SPELLPROG; ac_word
=$2
15270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15271 $as_echo_n "checking for $ac_word... " >&6; }
15272 if ${ac_cv_path_alpine_simple_spellcheck+:} false
; then :
15273 $as_echo_n "(cached) " >&6
15275 case $alpine_simple_spellcheck in
15277 ac_cv_path_alpine_simple_spellcheck
="$alpine_simple_spellcheck" # Let the user override the test with a path.
15280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15281 for as_dir
in $PATH
15284 test -z "$as_dir" && as_dir
=.
15285 for ac_exec_ext
in '' $ac_executable_extensions; do
15286 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15287 ac_cv_path_alpine_simple_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
15288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15298 alpine_simple_spellcheck
=$ac_cv_path_alpine_simple_spellcheck
15299 if test -n "$alpine_simple_spellcheck"; then
15300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_simple_spellcheck" >&5
15301 $as_echo "$alpine_simple_spellcheck" >&6; }
15303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15304 $as_echo "no" >&6; }
15308 if test -n "$alpine_simple_spellcheck" ; then
15309 case "$SPELLPROG" in
15311 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
15314 alpine_simple_spellcheck
="$alpine_simple_spellcheck --dont-backup --mode=email list"
15317 alpine_simple_spellcheck
="$alpine_simple_spellcheck -l"
15326 # Check whether --with-interactive-spellcheck was given.
15327 if test "${with_interactive_spellcheck+set}" = set; then :
15328 withval
=$with_interactive_spellcheck;
15329 if test "x$withval" != "xno" ; then
15330 ISPELLPROG
=$withval
15335 # Extract the first word of "hunspell", so it can be a program name with args.
15336 set dummy hunspell
; ac_word
=$2
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15338 $as_echo_n "checking for $ac_word... " >&6; }
15339 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
15340 $as_echo_n "(cached) " >&6
15342 if test -n "$ISPELLPROG"; then
15343 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
15345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15346 for as_dir
in $PATH
15349 test -z "$as_dir" && as_dir
=.
15350 for ac_exec_ext
in '' $ac_executable_extensions; do
15351 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15352 ac_cv_prog_ISPELLPROG
="hunspell"
15353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15362 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
15363 if test -n "$ISPELLPROG"; then
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
15365 $as_echo "$ISPELLPROG" >&6; }
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15368 $as_echo "no" >&6; }
15372 if test -z "$ISPELLPROG" ; then
15373 # Extract the first word of "aspell", so it can be a program name with args.
15374 set dummy aspell
; ac_word
=$2
15375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15376 $as_echo_n "checking for $ac_word... " >&6; }
15377 if ${ac_cv_prog_ISPELLPROG+:} false
; then :
15378 $as_echo_n "(cached) " >&6
15380 if test -n "$ISPELLPROG"; then
15381 ac_cv_prog_ISPELLPROG
="$ISPELLPROG" # Let the user override the test.
15383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15384 for as_dir
in $PATH
15387 test -z "$as_dir" && as_dir
=.
15388 for ac_exec_ext
in '' $ac_executable_extensions; do
15389 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15390 ac_cv_prog_ISPELLPROG
="aspell"
15391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15400 ISPELLPROG
=$ac_cv_prog_ISPELLPROG
15401 if test -n "$ISPELLPROG"; then
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ISPELLPROG" >&5
15403 $as_echo "$ISPELLPROG" >&6; }
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15406 $as_echo "no" >&6; }
15410 if test -z "$SPELLPROG" ; then
15411 ISPELLPROG
="ispell"
15418 if test "x$ISPELLPROG" != "xno" ; then
15419 # Extract the first word of "$ISPELLPROG", so it can be a program name with args.
15420 set dummy
$ISPELLPROG; ac_word
=$2
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15422 $as_echo_n "checking for $ac_word... " >&6; }
15423 if ${ac_cv_path_alpine_interactive_spellcheck+:} false
; then :
15424 $as_echo_n "(cached) " >&6
15426 case $alpine_interactive_spellcheck in
15428 ac_cv_path_alpine_interactive_spellcheck
="$alpine_interactive_spellcheck" # Let the user override the test with a path.
15431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15432 for as_dir
in $PATH
15435 test -z "$as_dir" && as_dir
=.
15436 for ac_exec_ext
in '' $ac_executable_extensions; do
15437 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
15438 ac_cv_path_alpine_interactive_spellcheck
="$as_dir/$ac_word$ac_exec_ext"
15439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15449 alpine_interactive_spellcheck
=$ac_cv_path_alpine_interactive_spellcheck
15450 if test -n "$alpine_interactive_spellcheck"; then
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $alpine_interactive_spellcheck" >&5
15452 $as_echo "$alpine_interactive_spellcheck" >&6; }
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15455 $as_echo "no" >&6; }
15459 if test -n "$alpine_interactive_spellcheck" ; then
15460 case "$ISPELLPROG" in
15462 alpine_interactive_spellcheck
="$alpine_interactive_spellcheck --dont-backup --mode=email check"
15470 if test -n "$alpine_interactive_spellcheck" ; then
15472 cat >>confdefs.h
<<_ACEOF
15473 #define DF_VAR_SPELLER "$alpine_interactive_spellcheck"
15478 if test -z "$alpine_simple_spellcheck" -a -n "$alpine_interactive_spellcheck" ; then
15479 alpine_simple_spellcheck
=test
15482 cat >>confdefs.h
<<_ACEOF
15483 #define SPELLER "$alpine_simple_spellcheck"
15488 NONE
) dpv
=/usr
/local
/lib
/pine.conf
;;
15489 *) dpv
=${prefix}/lib
/pine.conf
;;
15492 # Check whether --with-system-pinerc was given.
15493 if test "${with_system_pinerc+set}" = set; then :
15494 withval
=$with_system_pinerc;
15508 cat >>confdefs.h
<<_ACEOF
15509 #define SYSTEM_PINERC "$dpv"
15514 NONE
) dpv
=/usr
/local
/lib
/pine.conf.fixed
;;
15515 *) dpv
=${prefix}/lib
/pine.conf.fixed
;;
15518 # Check whether --with-system-fixed-pinerc was given.
15519 if test "${with_system_fixed_pinerc+set}" = set; then :
15520 withval
=$with_system_fixed_pinerc;
15534 cat >>confdefs.h
<<_ACEOF
15535 #define SYSTEM_PINERC_FIXED "$dpv"
15540 NONE
) dpv
=/usr
/local
/lib
/pine.info
;;
15541 *) dpv
=${prefix}/lib
/pine.info
;;
15544 # Check whether --with-local-support-info was given.
15545 if test "${with_local_support_info+set}" = set; then :
15546 withval
=$with_local_support_info;
15560 cat >>confdefs.h
<<_ACEOF
15561 #define SYSTEM_PINE_INFO_PATH "$dpv"
15572 # Check whether --with-mailcheck-interval was given.
15573 if test "${with_mailcheck_interval+set}" = set; then :
15574 withval
=$with_mailcheck_interval;
15575 if test "x$withval" != "xno" ; then
15582 cat >>confdefs.h
<<_ACEOF
15583 #define DF_MAILCHECK "$dpv"
15590 # Check whether --with-checkpoint-interval was given.
15591 if test "${with_checkpoint_interval+set}" = set; then :
15592 withval
=$with_checkpoint_interval;
15593 if test "x$withval" != "xno" ; then
15600 cat >>confdefs.h
<<_ACEOF
15601 #define CHECK_POINT_TIME $dpv
15608 # Check whether --with-checkpoint-frequency was given.
15609 if test "${with_checkpoint_frequency+set}" = set; then :
15610 withval
=$with_checkpoint_frequency;
15611 if test "x$withval" != "xno" ; then
15618 cat >>confdefs.h
<<_ACEOF
15619 #define CHECK_POINT_FREQ $dpv
15626 # Check whether --with-display-rows was given.
15627 if test "${with_display_rows+set}" = set; then :
15628 withval
=$with_display_rows;
15629 if test "x$withval" != "xno" ; then
15636 cat >>confdefs.h
<<_ACEOF
15637 #define DEFAULT_LINES_ON_TERMINAL $dpv
15644 # Check whether --with-display-columns was given.
15645 if test "${with_display_columns+set}" = set; then :
15646 withval
=$with_display_columns;
15647 if test "x$withval" != "xno" ; then
15654 cat >>confdefs.h
<<_ACEOF
15655 #define DEFAULT_COLUMNS_ON_TERMINAL $dpv
15662 # Check whether --with-max-display-rows was given.
15663 if test "${with_max_display_rows+set}" = set; then :
15664 withval
=$with_max_display_rows;
15665 if test "x$withval" != "xno" ; then
15672 cat >>confdefs.h
<<_ACEOF
15673 #define MAX_SCREEN_ROWS $dpv
15680 # Check whether --with-max-display-columns was given.
15681 if test "${with_max_display_columns+set}" = set; then :
15682 withval
=$with_max_display_columns;
15683 if test "x$withval" != "xno" ; then
15690 cat >>confdefs.h
<<_ACEOF
15691 #define MAX_SCREEN_COLS $dpv
15698 # Check whether --with-fill-column was given.
15699 if test "${with_fill_column+set}" = set; then :
15700 withval
=$with_fill_column;
15701 if test "x$withval" != "xno" ; then
15708 cat >>confdefs.h
<<_ACEOF
15709 #define DF_FILLCOL "$dpv"
15716 # Check whether --with-max_fill-column was given.
15717 if test "${with_max_fill_column+set}" = set; then :
15718 withval
=$with_max_fill_column;
15719 if test "x$withval" != "xno" ; then
15726 cat >>confdefs.h
<<_ACEOF
15727 #define MAX_FILLCOL $dpv
15734 # Check whether --with-debug-level was given.
15735 if test "${with_debug_level+set}" = set; then :
15736 withval
=$with_debug_level;
15737 if test "x$withval" != "xno" ; then
15744 cat >>confdefs.h
<<_ACEOF
15745 #define DEFAULT_DEBUG $dpv
15752 # Check whether --with-debug-files was given.
15753 if test "${with_debug_files+set}" = set; then :
15754 withval
=$with_debug_files;
15755 if test "x$withval" != "xno" ; then
15762 cat >>confdefs.h
<<_ACEOF
15763 #define NUMDEBUGFILES $dpv
15770 # Check whether --with-debug-file was given.
15771 if test "${with_debug_file+set}" = set; then :
15772 withval
=$with_debug_file;
15773 if test "x$withval" != "xno" ; then
15780 cat >>confdefs.h
<<_ACEOF
15781 #define DEBUGFILE "$dpv"
15788 # Check whether --with-forwarded-keyword was given.
15789 if test "${with_forwarded_keyword+set}" = set; then :
15790 withval
=$with_forwarded_keyword;
15791 if test "x$withval" != "xno" ; then
15798 cat >>confdefs.h
<<_ACEOF
15799 #define FORWARDED_FLAG "$dpv"
15806 # Check whether --with-display-overlap was given.
15807 if test "${with_display_overlap+set}" = set; then :
15808 withval
=$with_display_overlap;
15809 if test "x$withval" != "xno" ; then
15816 cat >>confdefs.h
<<_ACEOF
15817 #define DF_OVERLAP "$dpv"
15824 # Check whether --with-display-margin was given.
15825 if test "${with_display_margin+set}" = set; then :
15826 withval
=$with_display_margin;
15827 if test "x$withval" != "xno" ; then
15834 cat >>confdefs.h
<<_ACEOF
15835 #define DF_MARGIN "$dpv"
15842 # Check whether --with-default-fcc was given.
15843 if test "${with_default_fcc+set}" = set; then :
15844 withval
=$with_default_fcc;
15845 if test "x$withval" != "xno" ; then
15852 cat >>confdefs.h
<<_ACEOF
15853 #define DF_DEFAULT_FCC "$dpv"
15860 # Check whether --with-default-save-folder was given.
15861 if test "${with_default_save_folder+set}" = set; then :
15862 withval
=$with_default_save_folder;
15863 if test "x$withval" != "xno" ; then
15870 cat >>confdefs.h
<<_ACEOF
15871 #define DEFAULT_SAVE "$dpv"
15878 # Check whether --with-default-legacy-postponed-folder was given.
15879 if test "${with_default_legacy_postponed_folder+set}" = set; then :
15880 withval
=$with_default_legacy_postponed_folder;
15881 if test "x$withval" != "xno" ; then
15888 cat >>confdefs.h
<<_ACEOF
15889 #define POSTPONED_MAIL "$dpv"
15896 # Check whether --with-default-postponed-folder was given.
15897 if test "${with_default_postponed_folder+set}" = set; then :
15898 withval
=$with_default_postponed_folder;
15899 if test "x$withval" != "xno" ; then
15906 cat >>confdefs.h
<<_ACEOF
15907 #define POSTPONED_MSGS "$dpv"
15914 # Check whether --with-default-trash-folder was given.
15915 if test "${with_default_trash_folder+set}" = set; then :
15916 withval
=$with_default_trash_folder;
15917 if test "x$withval" != "xno" ; then
15924 cat >>confdefs.h
<<_ACEOF
15925 #define TRASH_FOLDER "$dpv"
15930 dpv
=.pine-interrupted-mail
15932 # Check whether --with-default-interrupted-mail was given.
15933 if test "${with_default_interrupted_mail+set}" = set; then :
15934 withval
=$with_default_interrupted_mail;
15935 if test "x$withval" != "xno" ; then
15942 cat >>confdefs.h
<<_ACEOF
15943 #define INTERRUPTED_MAIL "$dpv"
15950 # Check whether --with-default-dead-letter-folder was given.
15951 if test "${with_default_dead_letter_folder+set}" = set; then :
15952 withval
=$with_default_dead_letter_folder;
15953 if test "x$withval" != "xno" ; then
15960 cat >>confdefs.h
<<_ACEOF
15961 #define DEADLETTER "$dpv"
15968 # Check whether --with-default-mail-directory was given.
15969 if test "${with_default_mail_directory+set}" = set; then :
15970 withval
=$with_default_mail_directory;
15971 if test "x$withval" != "xno" ; then
15978 cat >>confdefs.h
<<_ACEOF
15979 #define DF_MAIL_DIRECTORY "$dpv"
15986 # Check whether --with-default-inbox-name was given.
15987 if test "${with_default_inbox_name+set}" = set; then :
15988 withval
=$with_default_inbox_name;
15989 if test "x$withval" != "xno" ; then
15996 cat >>confdefs.h
<<_ACEOF
15997 #define INBOX_NAME "$dpv"
16004 # Check whether --with-default-signature-file was given.
16005 if test "${with_default_signature_file+set}" = set; then :
16006 withval
=$with_default_signature_file;
16007 if test "x$withval" != "xno" ; then
16014 cat >>confdefs.h
<<_ACEOF
16015 #define DF_SIGNATURE_FILE "$dpv"
16022 # Check whether --with-default-elm-style-save was given.
16023 if test "${with_default_elm_style_save+set}" = set; then :
16024 withval
=$with_default_elm_style_save;
16025 if test "x$withval" != "xno" ; then
16032 cat >>confdefs.h
<<_ACEOF
16033 #define DF_ELM_STYLE_SAVE "$dpv"
16040 # Check whether --with-default-header-in-reply was given.
16041 if test "${with_default_header_in_reply+set}" = set; then :
16042 withval
=$with_default_header_in_reply;
16043 if test "x$withval" != "xno" ; then
16050 cat >>confdefs.h
<<_ACEOF
16051 #define DF_HEADER_IN_REPLY "$dpv"
16058 # Check whether --with-default-old-style-reply was given.
16059 if test "${with_default_old_style_reply+set}" = set; then :
16060 withval
=$with_default_old_style_reply;
16061 if test "x$withval" != "xno" ; then
16068 cat >>confdefs.h
<<_ACEOF
16069 #define DF_OLD_STYLE_REPLY "$dpv"
16076 # Check whether --with-default-use-only-domain-name was given.
16077 if test "${with_default_use_only_domain_name+set}" = set; then :
16078 withval
=$with_default_use_only_domain_name;
16079 if test "x$withval" != "xno" ; then
16086 cat >>confdefs.h
<<_ACEOF
16087 #define DF_USE_ONLY_DOMAIN_NAME "$dpv"
16094 # Check whether --with-default-save-by-sender was given.
16095 if test "${with_default_save_by_sender+set}" = set; then :
16096 withval
=$with_default_save_by_sender;
16097 if test "x$withval" != "xno" ; then
16104 cat >>confdefs.h
<<_ACEOF
16105 #define DF_SAVE_BY_SENDER "$dpv"
16112 # Check whether --with-default-sort-key was given.
16113 if test "${with_default_sort_key+set}" = set; then :
16114 withval
=$with_default_sort_key;
16115 if test "x$withval" != "xno" ; then
16122 cat >>confdefs.h
<<_ACEOF
16123 #define DF_SORT_KEY "$dpv"
16128 dpv
=fullname-with-lists-last
16130 # Check whether --with-default-addressbook-sort-rule was given.
16131 if test "${with_default_addressbook_sort_rule+set}" = set; then :
16132 withval
=$with_default_addressbook_sort_rule;
16133 if test "x$withval" != "xno" ; then
16140 cat >>confdefs.h
<<_ACEOF
16141 #define DF_AB_SORT_RULE "$dpv"
16148 # Check whether --with-default-folder-sort-rule was given.
16149 if test "${with_default_folder_sort_rule+set}" = set; then :
16150 withval
=$with_default_folder_sort_rule;
16151 if test "x$withval" != "xno" ; then
16158 cat >>confdefs.h
<<_ACEOF
16159 #define DF_FLD_SORT_RULE "$dpv"
16166 # Check whether --with-default-saved-message-name-rule was given.
16167 if test "${with_default_saved_message_name_rule+set}" = set; then :
16168 withval
=$with_default_saved_message_name_rule;
16169 if test "x$withval" != "xno" ; then
16176 cat >>confdefs.h
<<_ACEOF
16177 #define DF_SAVED_MSG_NAME_RULE "$dpv"
16184 # Check whether --with-default-fcc-rule was given.
16185 if test "${with_default_fcc_rule+set}" = set; then :
16186 withval
=$with_default_fcc_rule;
16187 if test "x$withval" != "xno" ; then
16194 cat >>confdefs.h
<<_ACEOF
16195 #define DF_FCC_RULE "$dpv"
16202 # Check whether --with-default-standard-printer was given.
16203 if test "${with_default_standard_printer+set}" = set; then :
16204 withval
=$with_default_standard_printer;
16205 if test "x$withval" != "xno" ; then
16212 cat >>confdefs.h
<<_ACEOF
16213 #define DF_STANDARD_PRINTER "$dpv"
16218 dpv
=attached-to-ansi
16220 # Check whether --with-default-ansi-printer was given.
16221 if test "${with_default_ansi_printer+set}" = set; then :
16222 withval
=$with_default_ansi_printer;
16223 if test "x$withval" != "xno" ; then
16230 cat >>confdefs.h
<<_ACEOF
16231 #define ANSI_PRINTER "$dpv"
16238 # Check whether --with-default-addressbook was given.
16239 if test "${with_default_addressbook+set}" = set; then :
16240 withval
=$with_default_addressbook;
16241 if test "x$withval" != "xno" ; then
16248 cat >>confdefs.h
<<_ACEOF
16249 #define DF_ADDRESSBOOK "$dpv"
16254 dpv
="Local Support"
16256 # Check whether --with-default-local-fullname was given.
16257 if test "${with_default_local_fullname+set}" = set; then :
16258 withval
=$with_default_local_fullname;
16259 if test "x$withval" != "xno" ; then
16266 cat >>confdefs.h
<<_ACEOF
16267 #define DF_LOCAL_FULLNAME "$dpv"
16274 # Check whether --with-default-local-address was given.
16275 if test "${with_default_local_address+set}" = set; then :
16276 withval
=$with_default_local_address;
16277 if test "x$withval" != "xno" ; then
16284 cat >>confdefs.h
<<_ACEOF
16285 #define DF_LOCAL_ADDRESS "$dpv"
16292 # Check whether --with-default-keyboard-lock-count was given.
16293 if test "${with_default_keyboard_lock_count+set}" = set; then :
16294 withval
=$with_default_keyboard_lock_count;
16295 if test "x$withval" != "xno" ; then
16302 cat >>confdefs.h
<<_ACEOF
16303 #define DF_KBLOCK_PASSWD_COUNT "$dpv"
16310 # Check whether --with-default-remote-addressbook-history was given.
16311 if test "${with_default_remote_addressbook_history+set}" = set; then :
16312 withval
=$with_default_remote_addressbook_history;
16313 if test "x$withval" != "xno" ; then
16320 cat >>confdefs.h
<<_ACEOF
16321 #define DF_REMOTE_ABOOK_HISTORY "$dpv"
16326 dpv
=.alpine-smime
/public
16328 # Check whether --with-smime-public-cert-directory was given.
16329 if test "${with_smime_public_cert_directory+set}" = set; then :
16330 withval
=$with_smime_public_cert_directory;
16331 if test "x$withval" != "xno" ; then
16338 cat >>confdefs.h
<<_ACEOF
16339 #define DF_PUBLICCERT_DIR "$dpv"
16344 dpv
=.alpine-smime
/private
16346 # Check whether --with-smime-private-key-directory was given.
16347 if test "${with_smime_private_key_directory+set}" = set; then :
16348 withval
=$with_smime_private_key_directory;
16349 if test "x$withval" != "xno" ; then
16356 cat >>confdefs.h
<<_ACEOF
16357 #define DF_PRIVATEKEY_DIR "$dpv"
16362 dpv
=.alpine-smime
/ca
16364 # Check whether --with-smime-cacert-directory was given.
16365 if test "${with_smime_cacert_directory+set}" = set; then :
16366 withval
=$with_smime_cacert_directory;
16367 if test "x$withval" != "xno" ; then
16374 cat >>confdefs.h
<<_ACEOF
16375 #define DF_CACERT_DIR "$dpv"
16382 # Check whether --with-default-printer was given.
16383 if test "${with_default_printer+set}" = set; then :
16384 withval
=$with_default_printer;
16385 if test "x$withval" != "xno" ; then
16392 cat >>confdefs.h
<<_ACEOF
16393 #define DF_DEFAULT_PRINTER $dpv
16399 cat >>confdefs.h
<<_ACEOF
16400 #define DF_PUBLIC_CONTAINER "PublicContainer"
16404 cat >>confdefs.h
<<_ACEOF
16405 #define DF_PRIVATE_CONTAINER "PrivateContainer"
16409 cat >>confdefs.h
<<_ACEOF
16410 #define DF_CA_CONTAINER "CAContainer"
16415 # Check whether --with-passfile was given.
16416 if test "${with_passfile+set}" = set; then :
16417 withval
=$with_passfile;
16424 alpine_PASSFILE
=$withval
16433 # Check whether --with-local-password-cache was given.
16434 if test "${with_local_password_cache+set}" = set; then :
16435 withval
=$with_local_password_cache;
16436 alpine_os_credential_cache
=$withval
16442 # Check whether --with-local-password-cache-method was given.
16443 if test "${with_local_password_cache_method+set}" = set; then :
16444 withval
=$with_local_password_cache_method;
16445 alpine_os_credential_cache_method
=$withval
16450 if test -n "$alpine_PASSFILE" ; then
16451 case $alpine_os_credential_cache in
16455 alpine_os_credential_cache
="no"
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: --with-passfile definition overrides OS-Specific password caching" >&5
16457 $as_echo "$as_me: --with-passfile definition overrides OS-Specific password caching" >&6;}
16461 cat >>confdefs.h
<<_ACEOF
16462 #define PASSFILE "$alpine_PASSFILE"
16468 # Check whether --with-default-sshpath was given.
16469 if test "${with_default_sshpath+set}" = set; then :
16470 withval
=$with_default_sshpath;
16478 cat >>confdefs.h
<<_ACEOF
16479 #define DF_SSHPATH "$withval"
16489 # Check whether --with-default-sshcmd was given.
16490 if test "${with_default_sshcmd+set}" = set; then :
16491 withval
=$with_default_sshcmd;
16499 cat >>confdefs.h
<<_ACEOF
16500 #define DF_SSHCMD "$withval"
16510 # Check whether --with-ssl was given.
16511 if test "${with_ssl+set}" = set; then :
16512 withval
=$with_ssl; with_ssl
=$withval
16516 if test "x$with_ssl" = "xno" ; then
16517 alpine_SSLTYPE
="none"
16518 elif test -d /usr
/local
/ssl
; then
16519 alpine_SSLDIR
="/usr/local/ssl"
16520 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
16521 alpine_SSLLIB
="$alpine_SSLDIR/lib"
16524 *-linux-gnu*|
*-k*bsd
*-gnu*|
*-gnu*)
16525 if test -f /etc
/fedora-release
-o -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
16526 alpine_SSLTYPE
="nopwd"
16527 if test -d /etc
/pki
/tls
; then
16528 alpine_SSLDIR
="/etc/pki/tls"
16530 alpine_SSLDIR
="/usr/share/ssl"
16532 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
16533 alpine_SSLKEYS
="$alpine_SSLDIR/private"
16534 alpine_SSLINCLUDE
="/usr/include/openssl"
16535 alpine_SSLLIB
="/usr/lib"
16536 elif test -f /etc
/mandrake-release
; then
16537 alpine_SSLDIR
="/usr/lib/ssl"
16538 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
16539 alpine_SSLKEYS
="$alpine_SSLDIR/private"
16540 alpine_SSLINCLUDE
="/usr/include/openssl"
16541 alpine_SSLLIB
="/usr/lib"
16542 elif test -f /etc
/SuSE-release
; then
16543 alpine_SSLTYPE
="nopwd"
16544 alpine_SSLDIR
="/etc/ssl"
16545 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
16546 alpine_SSLKEYS
="$alpine_SSLDIR/private"
16547 alpine_SSLINCLUDE
="/usr/include/openssl"
16548 alpine_SSLLIB
="/usr/lib"
16549 elif test -d /etc
/osso-af-init
; then
16550 alpine_SSLTYPE
="nopwd"
16551 alpine_SSLDIR
="/usr"
16552 alpine_SSLCERTS
="/usr/share/certs"
16553 alpine_SSLINCLUDE
="/usr/include/openssl"
16554 alpine_SSLLIB
="/usr/lib"
16555 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
16556 if test ! -d /etc
/osso-af-init
; then
16557 alpine_SSLDIR
="/etc/ssl"
16558 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
16559 alpine_SSLKEYS
="$alpine_SSLDIR/private"
16560 alpine_SSLINCLUDE
="/usr/include/openssl"
16561 alpine_SSLLIB
="/usr/lib"
16563 elif test -f /etc
/manjaro-release
; then
16564 alpine_SSLDIR
="/etc/ssl"
16565 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
16566 alpine_SSLKEYS
="$alpine_SSLDIR/private"
16567 alpine_SSLINCLUDE
="/usr/include/openssl"
16568 alpine_SSLLIB
="/usr/lib"
16570 alpine_SSLTYPE
="nopwd"
16571 alpine_SSLDIR
="/usr"
16572 alpine_SSLCERTS
="/etc/ssl/certs"
16576 alpine_SSLTYPE
="nopwd"
16577 alpine_SSLCERTS_ORIG
="/System/Library/OpenSSL/certs"
16578 if test -d /usr
/local
/opt
/openssl
; then
16579 alpine_SSLDIR
="/usr/local/opt/openssl"
16580 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
16581 alpine_SSLLIB
="$alpine_SSLDIR/lib"
16582 alpine_SSLCERTS
="/usr/local/etc/openssl"
16583 alpine_SSLKEYS
="$alpine_SSLDIR/private"
16584 elif test -d /opt
/local
/etc
/openssl
; then
16585 alpine_SSLDIR
="/opt/local"
16586 alpine_SSLINCLUDE
="$alpine_SSLDIR/include"
16587 alpine_SSLLIB
="$alpine_SSLDIR/lib"
16588 alpine_SSLCERTS
="/opt/local/etc/openssl/certs"
16589 alpine_SSLKEYS
="/opt/local/etc/openssl/private"
16590 elif test -d /sw
/etc
/ssl
; then
16591 alpine_SSLDIR
="/sw/etc/ssl"
16592 alpine_SSLINCLUDE
="/sw/include"
16593 alpine_SSLLIB
="/sw/lib"
16594 alpine_SSLCERTS
="/sw/etc/ssl/certs"
16595 alpine_SSLKEYS
="/sw/etc/ssl/private"
16596 elif test -d /usr
/local
/ssl
; then
16597 alpine_SSLDIR
="/usr/local/ssl"
16598 elif test -d /System
/Library
/OpenSSL
; then
16599 alpine_SSLDIR
="/System/Library/OpenSSL"
16600 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
16601 alpine_SSLKEYS
="$alpine_SSLDIR/private"
16602 alpine_SSLLIB
="/usr/lib"
16603 alpine_SSLINCLUDE
="/usr/include/openssl"
16607 alpine_SSLDIR
="/etc/openssl"
16608 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
16609 alpine_SSLKEYS
="$alpine_SSLDIR/private"
16610 alpine_SSLINCLUDE
="/usr/include/openssl"
16611 alpine_SSLLIB
="/usr/lib"
16614 alpine_SSLDIR
="/etc/openssl"
16615 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
16616 alpine_SSLKEYS
="$alpine_SSLDIR/private"
16617 alpine_SSLINCLUDE
="/usr/include/openssl"
16618 alpine_SSLLIB
="/usr/lib"
16621 alpine_SSLTYPE
="nopwd"
16622 alpine_SSLDIR
="/usr"
16623 alpine_SSLCERTS
="/etc/ssl/certs"
16626 alpine_SSLDIR
="/etc/ssl"
16627 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
16628 alpine_SSLKEYS
="$alpine_SSLDIR/private"
16629 if test -d /usr
/local
/include
/openssl
; then
16630 alpine_SSLINCLUDE
="/usr/local/include/openssl"
16631 alpine_SSLLIB
="/usr/local/lib"
16633 alpine_SSLINCLUDE
="/usr/include/openssl"
16634 alpine_SSLLIB
="/usr/lib"
16638 alpine_SSLDIR
="/etc/ssl"
16639 alpine_SSLINCLUDE
="/usr/include/openssl"
16640 alpine_SSLLIB
="/usr/lib"
16641 alpine_SSLCERTS
="/etc/ssl"
16642 alpine_SSLKEYS
="/etc/ssl/private"
16645 alpine_SSLDIR
="/usr/ssl"
16646 alpine_SSLCERTS
="$alpine_SSLDIR/certs"
16647 alpine_SSLKEYS
="$alpine_SSLDIR/certs"
16648 alpine_SSLINCLUDE
="/usr/include/openssl"
16649 alpine_SSLLIB
="/usr/lib"
16651 *-sco-sysv* |
*-sysv*UnixWare |
*-sysv*OpenUNIX
)
16652 alpine_SSLTYPE
="sco.nopwd"
16653 alpine_SSLDIR
="/usr/local/ssl"
16656 if test -d /usr
/include
/openssl
; then
16657 alpine_SSLINCLUDE
="/usr/include/openssl"
16658 elif test -d /usr
/sfw
/include
/openssl
; then
16659 alpine_SSLDIR
="/usr/sfw"
16660 elif test -d /opt
/csw
/include
/openssl
; then
16661 alpine_SSLDIR
="/opt/csw"
16662 if test -d /opt
/csw
/ssl
/certs
; then
16663 alpine_SSLCERTS
="/opt/csw/ssl/certs"
16666 if test -z "$alpine_SSLCERTS" -a -d /etc
/certs
; then
16667 alpine_SSLCERTS
="/etc/certs"
16671 alpine_SSLTYPE
="nopwd"
16672 alpine_SSLDIR
="/usr/local/ssl"
16677 if test "x$alpine_SSLTYPE" != "xnone" ; then
16679 # Check whether --with-ssl-dir was given.
16680 if test "${with_ssl_dir+set}" = set; then :
16681 withval
=$with_ssl_dir;
16682 if test "x$withval" != "xno" ; then
16683 alpine_SSLDIR
=$withval
16684 alpine_SSLINCLUDE
=$alpine_SSLDIR/include
16685 alpine_SSLLIB
=$alpine_SSLDIR/lib
16692 # Check whether --with-ssl-certs-dir was given.
16693 if test "${with_ssl_certs_dir+set}" = set; then :
16694 withval
=$with_ssl_certs_dir;
16695 if test "x$withval" != "xno" ; then
16696 alpine_SSLCERTS
=$withval
16703 # Check whether --with-ssl-include-dir was given.
16704 if test "${with_ssl_include_dir+set}" = set; then :
16705 withval
=$with_ssl_include_dir;
16706 if test "x$withval" != "xno" ; then
16707 alpine_SSLINCLUDE
=$withval
16714 # Check whether --with-ssl-lib-dir was given.
16715 if test "${with_ssl_lib_dir+set}" = set; then :
16716 withval
=$with_ssl_lib_dir;
16717 if test "x$withval" != "xno" ; then
16718 alpine_SSLLIB
=$withval
16724 if test -n "$alpine_SSLINCLUDE" ; then
16725 CPPFLAGS
="-I$alpine_SSLINCLUDE $CPPFLAGS"
16726 elif test -n "$alpine_SSLDIR" ; then
16727 CPPFLAGS
="-I${alpine_SSLDIR}/include $CPPFLAGS"
16729 if test -n "$alpine_SSLLIB" ; then
16730 LDFLAGS
="-L$alpine_SSLLIB $LDFLAGS"
16731 elif test -n "$alpine_SSLDIR" ; then
16732 LDFLAGS
="-L${alpine_SSLDIR}/lib $LDFLAGS"
16738 # Check whether --with-krb5 was given.
16739 if test "${with_krb5+set}" = set; then :
16740 withval
=$with_krb5; with_krb5
=$withval
16744 if test "x$with_krb5" = "xno" ; then
16745 alpine_GSSTYPE
="none"
16750 # Check whether --with-krb5-dir was given.
16751 if test "${with_krb5_dir+set}" = set; then :
16752 withval
=$with_krb5_dir;
16753 if test "x$withval" != "xno" ; then
16754 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
16755 LDFLAGS
="$LDFLAGS -L${withval}/lib"
16762 # Check whether --with-krb5-include-dir was given.
16763 if test "${with_krb5_include_dir+set}" = set; then :
16764 withval
=$with_krb5_include_dir;
16765 if test "x$withval" != "xno" ; then
16766 CPPFLAGS
="$CPPFLAGS -I$withval"
16773 # Check whether --with-krb5-lib-dir was given.
16774 if test "${with_krb5_lib_dir+set}" = set; then :
16775 withval
=$with_krb5_lib_dir;
16776 if test "x$withval" != "xno" ; then
16777 LDFLAGS
="$LDFLAGS -L$withval"
16785 # Check whether --with-ldap was given.
16786 if test "${with_ldap+set}" = set; then :
16787 withval
=$with_ldap; with_ldap
=$withval
16791 if test "x$with_ldap" = "xno" ; then
16793 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding LDAP Support" >&5
16794 $as_echo "$as_me: Excluding LDAP Support" >&6;}
16797 alpine_with_ldap
=yes
16799 # Check whether --with-ldap-dir was given.
16800 if test "${with_ldap_dir+set}" = set; then :
16801 withval
=$with_ldap_dir;
16802 if test "x$withval" != "xno" ; then
16803 CPPFLAGS
="$CPPFLAGS -I${withval}/include"
16804 LDFLAGS
="$LDFLAGS -L${withval}/lib"
16811 # Check whether --with-ldap-include-dir was given.
16812 if test "${with_ldap_include_dir+set}" = set; then :
16813 withval
=$with_ldap_include_dir;
16814 if test "x$withval" != "xno" ; then
16815 CPPFLAGS
="$CPPFLAGS -I$withval"
16822 # Check whether --with-ldap-lib-dir was given.
16823 if test "${with_ldap_lib_dir+set}" = set; then :
16824 withval
=$with_ldap_lib_dir;
16825 if test "x$withval" != "xno" ; then
16826 LDFLAGS
="$LDFLAGS -L$withval"
16834 # Check whether --with-smime was given.
16835 if test "${with_smime+set}" = set; then :
16836 withval
=$with_smime; with_smime
=$withval
16841 # Check whether --with-tcl was given.
16842 if test "${with_tcl+set}" = set; then :
16843 withval
=$with_tcl; with_tcl
=$withval
16847 if test "x$with_tcl" = "xno" ; then
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding TCL Support, and thus Web Alpine Support" >&5
16850 $as_echo "$as_me: Excluding TCL Support, and thus Web Alpine Support" >&6;}
16853 # Check whether --with-tcl-lib was given.
16854 if test "${with_tcl_lib+set}" = set; then :
16855 withval
=$with_tcl_lib;
16856 if test "x$withval" != "xno" ; then
16857 alpine_TCLLIB
=$withval
16863 # Check whether --with-tcl-include was given.
16864 if test "${with_tcl_include+set}" = set; then :
16865 withval
=$with_tcl_include;
16866 if test "x$withval" != "xno" ; then
16867 CPPFLAGS
="$CPPFLAGS -I$withval"
16868 alpine_TCLINC
=$withval
16876 # Check whether --with-supplied-regex was given.
16877 if test "${with_supplied_regex+set}" = set; then :
16878 withval
=$with_supplied_regex; alpine_REGEX
=$withval
16883 # Check whether --with-pthread was given.
16884 if test "${with_pthread+set}" = set; then :
16885 withval
=$with_pthread; with_pthread
=$withval
16890 # Check whether --with-system-mail-directory was given.
16891 if test "${with_system_mail_directory+set}" = set; then :
16892 withval
=$with_system_mail_directory;
16893 if test "x$withval" != "xno" ; then
16894 alpine_with_local_maildir
="$withval"
16901 # Check whether --with-c-client-target was given.
16902 if test "${with_c_client_target+set}" = set; then :
16903 withval
=$with_c_client_target;
16904 if test "x$withval" != "xno" ;then
16905 alpine_with_c_client_target
="$withval"
16915 *-linux-gnu*|
*-k*bsd
*-gnu*|
*-gnu*)
16916 alpine_path_delim
="/"
16917 alpine_mode_readonly
="(0600)"
16918 if test -f /etc
/fedora-release
; then
16921 if test -d /etc
/pki
/tls
; then
16922 alpine_c_client_target
="lfd"
16924 alpine_c_client_target
="lrh"
16926 elif test -f /etc
/mandrake-release
; then
16928 alpine_c_client_target
="lmd"
16930 elif test -f /etc
/redhat-release
-o -f /etc
/redhat_version
; then
16933 if test -d /etc
/pki
/tls
; then
16934 alpine_c_client_target
="lr5"
16936 alpine_c_client_target
="lrh"
16938 elif test -f /etc
/debian_release
-o -f /etc
/debian_version
; then
16939 if test -d /etc
/osso-af-init
; then
16941 alpine_c_client_target
="ln8"
16944 alpine_c_client_target
="ldb"
16947 elif test -f /etc
/SuSE-release
; then
16949 alpine_c_client_target
="lsu"
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
16954 $as_echo_n "checking for pam_start in -lpam... " >&6; }
16955 if ${ac_cv_lib_pam_pam_start+:} false
; then :
16956 $as_echo_n "(cached) " >&6
16958 ac_check_lib_save_LIBS
=$LIBS
16960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16961 /* end confdefs.h. */
16963 /* Override any GCC internal prototype to avoid an error.
16964 Use char because int might match the return type of a GCC
16965 builtin and then its argument prototype would still apply. */
16973 return pam_start ();
16978 if ac_fn_c_try_link
"$LINENO"; then :
16979 ac_cv_lib_pam_pam_start
=yes
16981 ac_cv_lib_pam_pam_start
=no
16983 rm -f core conftest.err conftest.
$ac_objext \
16984 conftest
$ac_exeext conftest.
$ac_ext
16985 LIBS
=$ac_check_lib_save_LIBS
16987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
16988 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
16989 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
16991 alpine_c_client_target
="lnp"
16996 if test -f /etc
/shadow
; then
16997 alpine_c_client_target
="slx"
16999 alpine_c_client_target
="lnx"
17008 alpine_path_delim
="/"
17009 alpine_mode_readonly
="(0600)"
17010 LIBS
="$LIBS -framework Carbon -framework ApplicationServices -framework Security"
17011 AM_CFLAGS
="$AM_CFLAGS -Dbsd"
17013 $as_echo "#define OSX_TARGET 1" >>confdefs.h
17015 case "$alpine_os_credential_cache" in
17020 $as_echo "#define APPLEKEYCHAIN 1" >>confdefs.h
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
17025 $as_echo_n "checking for pam_start in -lpam... " >&6; }
17026 if ${ac_cv_lib_pam_pam_start+:} false
; then :
17027 $as_echo_n "(cached) " >&6
17029 ac_check_lib_save_LIBS
=$LIBS
17031 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17034 /* Override any GCC internal prototype to avoid an error.
17035 Use char because int might match the return type of a GCC
17036 builtin and then its argument prototype would still apply. */
17044 return pam_start ();
17049 if ac_fn_c_try_link
"$LINENO"; then :
17050 ac_cv_lib_pam_pam_start
=yes
17052 ac_cv_lib_pam_pam_start
=no
17054 rm -f core conftest.err conftest.
$ac_objext \
17055 conftest
$ac_exeext conftest.
$ac_ext
17056 LIBS
=$ac_check_lib_save_LIBS
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
17059 $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
17060 if test "x$ac_cv_lib_pam_pam_start" = xyes
; then :
17062 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
17063 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
17066 alpine_c_client_target
="oxs"
17069 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
17070 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
17073 alpine_c_client_target
="oxp"
17078 alpine_pam_none_reason
="header files not found"
17090 alpine_c_client_target
="osx"
17096 if test x
$GCC = "xyes" ; then
17098 alpine_c_client_target
="gso"
17099 CFLAGS
="$CFLAGS -D__USE_LEGACY_PROTOTYPES__"
17102 alpine_c_client_target
="soc"
17104 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
17107 alpine_path_delim
="/"
17108 alpine_mode_readonly
="(0600)"
17112 alpine_path_delim
="/"
17113 alpine_mode_readonly
="(0600)"
17114 alpine_c_client_target
="s40"
17117 if test x
$GCC = "xyes" ; then
17119 alpine_c_client_target
="go5"
17122 alpine_c_client_target
="sc5"
17124 alpine_path_delim
="/"
17125 alpine_mode_readonly
="(0600)"
17129 alpine_path_delim
="/"
17130 alpine_mode_readonly
="(0600)"
17131 alpine_c_client_target
="nx3"
17135 alpine_path_delim
="/"
17136 alpine_mode_readonly
="(0600)"
17137 alpine_c_client_target
="neb"
17141 alpine_path_delim
="/"
17142 alpine_mode_readonly
="(0600)"
17143 alpine_c_client_target
="neb"
17147 alpine_path_delim
="/"
17148 alpine_mode_readonly
="(0600)"
17149 alpine_c_client_target
="bsi"
17153 alpine_path_delim
="/"
17154 alpine_mode_readonly
="(0600)"
17155 alpine_c_client_target
="bsf"
17156 LIBS
="$LIBS $LIBINTL"
17160 alpine_path_delim
="/"
17161 alpine_mode_readonly
="(0600)"
17162 alpine_c_client_target
="bso"
17163 LIBS
="$LIBS $LIBINTL"
17167 alpine_path_delim
="/"
17168 alpine_mode_readonly
="(0600)"
17169 alpine_c_client_target
="a52"
17173 alpine_path_delim
="/"
17174 alpine_mode_readonly
="(0600)"
17175 alpine_c_client_target
="a41"
17179 alpine_path_delim
="/"
17180 alpine_mode_readonly
="(0600)"
17181 alpine_c_client_target
="a32"
17183 *-*UNIX_SV |
*-*-sysv5UnixWare7* |
*-*OpenUNIX
*)
17185 alpine_path_delim
="/"
17186 alpine_mode_readonly
="(0600)"
17187 alpine_c_client_target
="uw2"
17191 alpine_path_delim
="/"
17192 alpine_mode_readonly
="(0600)"
17193 alpine_c_client_target
="osf"
17197 alpine_path_delim
="/"
17198 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
17199 alpine_c_client_target
="cyg"
17200 LIBS
="$LIBS $LIBINTL"
17202 windows
* |
*-*-pw32*)
17204 alpine_path_delim
="\\"
17205 alpine_mode_readonly
="(S_IREAD | S_IWRITE)"
17206 alpine_c_client_target
="wnt"
17208 $as_echo "#define _WINDOWS 1" >>confdefs.h
17212 as_fn_error $?
"Unrecognized system: $host" "$LINENO" 5
17217 # Check whether --with-ipv6 was given.
17218 if test "${with_ipv6+set}" = set; then :
17219 withval
=$with_ipv6; with_ipv6
=$withval
17223 if test "x$with_ipv6" = "xno" ; then
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: Excluding IPv6 Support" >&5
17225 $as_echo "$as_me: Excluding IPv6 Support" >&6;}
17226 c_client_specials
="${c_client_specials}IP6=4 "
17227 c_client_ip6
="true"
17229 c_client_ip6
="touch imap/ip6"
17234 if test x
$enable_dmalloc = "xyes" ; then
17235 if test "x$with_pthread" = "xyes" ; then
17236 dmalloc_lib
=dmallocth
17238 dmalloc_lib
=dmalloc
17241 as_ac_Lib
=`$as_echo "ac_cv_lib_$dmalloc_lib''_dmalloc_shutdown" | $as_tr_sh`
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmalloc_shutdown in -l$dmalloc_lib" >&5
17243 $as_echo_n "checking for dmalloc_shutdown in -l$dmalloc_lib... " >&6; }
17244 if eval \
${$as_ac_Lib+:} false
; then :
17245 $as_echo_n "(cached) " >&6
17247 ac_check_lib_save_LIBS
=$LIBS
17248 LIBS
="-l$dmalloc_lib $LIBS"
17249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h. */
17252 /* Override any GCC internal prototype to avoid an error.
17253 Use char because int might match the return type of a GCC
17254 builtin and then its argument prototype would still apply. */
17258 char dmalloc_shutdown ();
17262 return dmalloc_shutdown ();
17267 if ac_fn_c_try_link
"$LINENO"; then :
17268 eval "$as_ac_Lib=yes"
17270 eval "$as_ac_Lib=no"
17272 rm -f core conftest.err conftest.
$ac_objext \
17273 conftest
$ac_exeext conftest.
$ac_ext
17274 LIBS
=$ac_check_lib_save_LIBS
17276 eval ac_res
=\$
$as_ac_Lib
17277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
17278 $as_echo "$ac_res" >&6; }
17279 if eval test \"x\$
"$as_ac_Lib"\" = x
"yes"; then :
17280 cat >>confdefs.h
<<_ACEOF
17281 #define `$as_echo "HAVE_LIB$dmalloc_lib" | $as_tr_cpp` 1
17284 LIBS
="-l$dmalloc_lib $LIBS"
17288 as_fn_error but
-ldmalloc not found
"$dmalloc_lib requested" "$LINENO" 5
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -ltinfo" >&5
17295 $as_echo_n "checking for setupterm in -ltinfo... " >&6; }
17296 if ${ac_cv_lib_tinfo_setupterm+:} false
; then :
17297 $as_echo_n "(cached) " >&6
17299 ac_check_lib_save_LIBS
=$LIBS
17300 LIBS
="-ltinfo $LIBS"
17301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17302 /* end confdefs.h. */
17304 /* Override any GCC internal prototype to avoid an error.
17305 Use char because int might match the return type of a GCC
17306 builtin and then its argument prototype would still apply. */
17314 return setupterm ();
17319 if ac_fn_c_try_link
"$LINENO"; then :
17320 ac_cv_lib_tinfo_setupterm
=yes
17322 ac_cv_lib_tinfo_setupterm
=no
17324 rm -f core conftest.err conftest.
$ac_objext \
17325 conftest
$ac_exeext conftest.
$ac_ext
17326 LIBS
=$ac_check_lib_save_LIBS
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_setupterm" >&5
17329 $as_echo "$ac_cv_lib_tinfo_setupterm" >&6; }
17330 if test "x$ac_cv_lib_tinfo_setupterm" = xyes
; then :
17332 alpine_termdata
=info
17333 LIBS
="$LIBS -ltinfo"
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lncurses" >&5
17338 $as_echo_n "checking for setupterm in -lncurses... " >&6; }
17339 if ${ac_cv_lib_ncurses_setupterm+:} false
; then :
17340 $as_echo_n "(cached) " >&6
17342 ac_check_lib_save_LIBS
=$LIBS
17343 LIBS
="-lncurses $LIBS"
17344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17345 /* end confdefs.h. */
17347 /* Override any GCC internal prototype to avoid an error.
17348 Use char because int might match the return type of a GCC
17349 builtin and then its argument prototype would still apply. */
17357 return setupterm ();
17362 if ac_fn_c_try_link
"$LINENO"; then :
17363 ac_cv_lib_ncurses_setupterm
=yes
17365 ac_cv_lib_ncurses_setupterm
=no
17367 rm -f core conftest.err conftest.
$ac_objext \
17368 conftest
$ac_exeext conftest.
$ac_ext
17369 LIBS
=$ac_check_lib_save_LIBS
17371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_setupterm" >&5
17372 $as_echo "$ac_cv_lib_ncurses_setupterm" >&6; }
17373 if test "x$ac_cv_lib_ncurses_setupterm" = xyes
; then :
17375 alpine_termdata
=info
17376 LIBS
="$LIBS -lncurses"
17380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setupterm in -lcurses" >&5
17381 $as_echo_n "checking for setupterm in -lcurses... " >&6; }
17382 if ${ac_cv_lib_curses_setupterm+:} false
; then :
17383 $as_echo_n "(cached) " >&6
17385 ac_check_lib_save_LIBS
=$LIBS
17386 LIBS
="-lcurses $LIBS"
17387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17388 /* end confdefs.h. */
17390 /* Override any GCC internal prototype to avoid an error.
17391 Use char because int might match the return type of a GCC
17392 builtin and then its argument prototype would still apply. */
17400 return setupterm ();
17405 if ac_fn_c_try_link
"$LINENO"; then :
17406 ac_cv_lib_curses_setupterm
=yes
17408 ac_cv_lib_curses_setupterm
=no
17410 rm -f core conftest.err conftest.
$ac_objext \
17411 conftest
$ac_exeext conftest.
$ac_ext
17412 LIBS
=$ac_check_lib_save_LIBS
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_setupterm" >&5
17415 $as_echo "$ac_cv_lib_curses_setupterm" >&6; }
17416 if test "x$ac_cv_lib_curses_setupterm" = xyes
; then :
17418 alpine_termdata
=info
17419 LIBS
="$LIBS -lcurses"
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermlib" >&5
17424 $as_echo_n "checking for tgetent in -ltermlib... " >&6; }
17425 if ${ac_cv_lib_termlib_tgetent+:} false
; then :
17426 $as_echo_n "(cached) " >&6
17428 ac_check_lib_save_LIBS
=$LIBS
17429 LIBS
="-ltermlib $LIBS"
17430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17433 /* Override any GCC internal prototype to avoid an error.
17434 Use char because int might match the return type of a GCC
17435 builtin and then its argument prototype would still apply. */
17448 if ac_fn_c_try_link
"$LINENO"; then :
17449 ac_cv_lib_termlib_tgetent
=yes
17451 ac_cv_lib_termlib_tgetent
=no
17453 rm -f core conftest.err conftest.
$ac_objext \
17454 conftest
$ac_exeext conftest.
$ac_ext
17455 LIBS
=$ac_check_lib_save_LIBS
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termlib_tgetent" >&5
17458 $as_echo "$ac_cv_lib_termlib_tgetent" >&6; }
17459 if test "x$ac_cv_lib_termlib_tgetent" = xyes
; then :
17461 alpine_termdata
=cap
17462 LIBS
="$LIBS -ltermlib"
17466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent in -ltermcap" >&5
17467 $as_echo_n "checking for tgetent in -ltermcap... " >&6; }
17468 if ${ac_cv_lib_termcap_tgetent+:} false
; then :
17469 $as_echo_n "(cached) " >&6
17471 ac_check_lib_save_LIBS
=$LIBS
17472 LIBS
="-ltermcap $LIBS"
17473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17474 /* end confdefs.h. */
17476 /* Override any GCC internal prototype to avoid an error.
17477 Use char because int might match the return type of a GCC
17478 builtin and then its argument prototype would still apply. */
17491 if ac_fn_c_try_link
"$LINENO"; then :
17492 ac_cv_lib_termcap_tgetent
=yes
17494 ac_cv_lib_termcap_tgetent
=no
17496 rm -f core conftest.err conftest.
$ac_objext \
17497 conftest
$ac_exeext conftest.
$ac_ext
17498 LIBS
=$ac_check_lib_save_LIBS
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tgetent" >&5
17501 $as_echo "$ac_cv_lib_termcap_tgetent" >&6; }
17502 if test "x$ac_cv_lib_termcap_tgetent" = xyes
; then :
17504 alpine_termdata
=cap
17505 LIBS
="$LIBS -ltermcap"
17509 as_fn_error $?
"Terminfo/termcap not found" "$LINENO" 5
17525 case $alpine_termdata in
17528 $as_echo "#define HAS_TERMINFO 1" >>confdefs.h
17533 $as_echo "#define HAS_TERMCAP 1" >>confdefs.h
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17539 $as_echo_n "checking for library containing dlopen... " >&6; }
17540 if ${ac_cv_search_dlopen+:} false
; then :
17541 $as_echo_n "(cached) " >&6
17543 ac_func_search_save_LIBS
=$LIBS
17544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17545 /* end confdefs.h. */
17547 /* Override any GCC internal prototype to avoid an error.
17548 Use char because int might match the return type of a GCC
17549 builtin and then its argument prototype would still apply. */
17562 for ac_lib
in '' dl dld
; do
17563 if test -z "$ac_lib"; then
17564 ac_res
="none required"
17567 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17569 if ac_fn_c_try_link
"$LINENO"; then :
17570 ac_cv_search_dlopen
=$ac_res
17572 rm -f core conftest.err conftest.
$ac_objext \
17574 if ${ac_cv_search_dlopen+:} false
; then :
17578 if ${ac_cv_search_dlopen+:} false
; then :
17581 ac_cv_search_dlopen
=no
17583 rm conftest.
$ac_ext
17584 LIBS
=$ac_func_search_save_LIBS
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17587 $as_echo "$ac_cv_search_dlopen" >&6; }
17588 ac_res
=$ac_cv_search_dlopen
17589 if test "$ac_res" != no
; then :
17590 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17596 if test "x$alpine_DL" = "xnone" ; then
17597 as_fn_error $?
"No library containing dlopen found" "$LINENO" 5
17601 if test "x$alpine_SSLTYPE" != "xnone" ; then
17602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if OpenSSL is LibreSSL" >&5
17603 $as_echo_n "checking if OpenSSL is LibreSSL... " >&6; }
17604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17605 /* end confdefs.h. */
17608 #include <stdlib.h>
17610 #include <stdint.h>
17611 #endif /* HAVE_STDINT_H */
17612 #include <openssl/ssl.h>
17618 #if OPENSSL_VERSION_NUMBER < 0x20000000L
17626 if ac_fn_c_try_compile
"$LINENO"; then :
17627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17628 $as_echo "yes" >&6; }
17629 alpine_SSLPROVIDER
="libressl"
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17633 $as_echo "no" >&6; }
17636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17639 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.0.0c" >&5
17641 $as_echo_n "checking Openssl library version >= 1.0.0c... " >&6; }
17642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17643 /* end confdefs.h. */
17646 #include <stdlib.h>
17648 #include <stdint.h>
17649 #endif /* HAVE_STDINT_H */
17650 #include <openssl/ssl.h>
17656 #if OPENSSL_VERSION_NUMBER < 0x1000003fL
17664 if ac_fn_c_try_compile
"$LINENO"; then :
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17666 $as_echo "yes" >&6; }
17667 alpine_SSLPROVIDER
="openssl"
17670 alpine_SSLTYPE
="none"
17672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17674 if test "x$alpine_SSLTYPE" = "xnone" ; then
17675 as_fn_error $?
"Install openssl version >= 1.0.0c" "$LINENO" 5
17680 if test "x$alpine_SSLTYPE" != "xnone" -a "x$alpine_SSLPROVIDER" != "xlibressl" ; then
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Openssl library version >= 1.1.0" >&5
17682 $as_echo_n "checking Openssl library version >= 1.1.0... " >&6; }
17683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17684 /* end confdefs.h. */
17687 #include <stdlib.h>
17689 #include <stdint.h>
17690 #endif /* HAVE_STDINT_H */
17691 #include <openssl/ssl.h>
17697 #if OPENSSL_VERSION_NUMBER < 0x10100000L
17705 if ac_fn_c_try_compile
"$LINENO"; then :
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17707 $as_echo "yes" >&6; }
17708 alpine_SSLVERSION
="new"
17709 CFLAGS
="$CFLAGS -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L"
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17713 $as_echo "no" >&6; }
17714 alpine_SSLVERSION
="old"
17716 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17719 if test "x$alpine_SSLTYPE" != "xnone" ; then
17720 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSLeay" >&5
17722 $as_echo_n "checking for library containing SSLeay... " >&6; }
17723 if ${ac_cv_search_SSLeay+:} false
; then :
17724 $as_echo_n "(cached) " >&6
17726 ac_func_search_save_LIBS
=$LIBS
17727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17728 /* end confdefs.h. */
17730 /* Override any GCC internal prototype to avoid an error.
17731 Use char because int might match the return type of a GCC
17732 builtin and then its argument prototype would still apply. */
17745 for ac_lib
in '' crypto
; do
17746 if test -z "$ac_lib"; then
17747 ac_res
="none required"
17750 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17752 if ac_fn_c_try_link
"$LINENO"; then :
17753 ac_cv_search_SSLeay
=$ac_res
17755 rm -f core conftest.err conftest.
$ac_objext \
17757 if ${ac_cv_search_SSLeay+:} false
; then :
17761 if ${ac_cv_search_SSLeay+:} false
; then :
17764 ac_cv_search_SSLeay
=no
17766 rm conftest.
$ac_ext
17767 LIBS
=$ac_func_search_save_LIBS
17769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSLeay" >&5
17770 $as_echo "$ac_cv_search_SSLeay" >&6; }
17771 ac_res
=$ac_cv_search_SSLeay
17772 if test "$ac_res" != no
; then :
17773 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17776 alpine_CRYPTO
="none"
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OpenSSL_version_num" >&5
17781 $as_echo_n "checking for library containing OpenSSL_version_num... " >&6; }
17782 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
17783 $as_echo_n "(cached) " >&6
17785 ac_func_search_save_LIBS
=$LIBS
17786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17787 /* end confdefs.h. */
17789 /* Override any GCC internal prototype to avoid an error.
17790 Use char because int might match the return type of a GCC
17791 builtin and then its argument prototype would still apply. */
17795 char OpenSSL_version_num ();
17799 return OpenSSL_version_num ();
17804 for ac_lib
in '' crypto
; do
17805 if test -z "$ac_lib"; then
17806 ac_res
="none required"
17809 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17811 if ac_fn_c_try_link
"$LINENO"; then :
17812 ac_cv_search_OpenSSL_version_num
=$ac_res
17814 rm -f core conftest.err conftest.
$ac_objext \
17816 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
17820 if ${ac_cv_search_OpenSSL_version_num+:} false
; then :
17823 ac_cv_search_OpenSSL_version_num
=no
17825 rm conftest.
$ac_ext
17826 LIBS
=$ac_func_search_save_LIBS
17828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OpenSSL_version_num" >&5
17829 $as_echo "$ac_cv_search_OpenSSL_version_num" >&6; }
17830 ac_res
=$ac_cv_search_OpenSSL_version_num
17831 if test "$ac_res" != no
; then :
17832 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17835 alpine_CRYPTO
="none"
17839 if test "x$alpine_CRYPTO" = "xnone" ; then
17840 as_fn_error $?
"crypto library NOT found" "$LINENO" 5
17845 ac_fn_c_check_header_mongrel
"$LINENO" "crypto.h" "ac_cv_header_crypto_h" "$ac_includes_default"
17846 if test "x$ac_cv_header_crypto_h" = xyes
; then :
17849 alpine_CRYPTO_DEVEL
="none"
17853 if test "x$alpine_CRYPTO_DEVEL" = "xnone" ; then
17854 as_fn_error $?
"crypto library file crypto.h NOT found. Install correspoding libcrypt-devel package" "$LINENO" 5
17862 if test "x$alpine_SSLTYPE" != "xnone" ; then
17863 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLSv1_2_client_method" >&5
17865 $as_echo_n "checking for library containing TLSv1_2_client_method... " >&6; }
17866 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
17867 $as_echo_n "(cached) " >&6
17869 ac_func_search_save_LIBS
=$LIBS
17870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17871 /* end confdefs.h. */
17873 /* Override any GCC internal prototype to avoid an error.
17874 Use char because int might match the return type of a GCC
17875 builtin and then its argument prototype would still apply. */
17879 char TLSv1_2_client_method ();
17883 return TLSv1_2_client_method ();
17888 for ac_lib
in '' ssl
; do
17889 if test -z "$ac_lib"; then
17890 ac_res
="none required"
17893 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17895 if ac_fn_c_try_link
"$LINENO"; then :
17896 ac_cv_search_TLSv1_2_client_method
=$ac_res
17898 rm -f core conftest.err conftest.
$ac_objext \
17900 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
17904 if ${ac_cv_search_TLSv1_2_client_method+:} false
; then :
17907 ac_cv_search_TLSv1_2_client_method
=no
17909 rm conftest.
$ac_ext
17910 LIBS
=$ac_func_search_save_LIBS
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLSv1_2_client_method" >&5
17913 $as_echo "$ac_cv_search_TLSv1_2_client_method" >&6; }
17914 ac_res
=$ac_cv_search_TLSv1_2_client_method
17915 if test "$ac_res" != no
; then :
17916 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17917 alpine_c_client_cflags
="$alpine_c_client_cflags -DTLSV1_2"
17919 $as_echo "#define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing TLS_client_method" >&5
17926 $as_echo_n "checking for library containing TLS_client_method... " >&6; }
17927 if ${ac_cv_search_TLS_client_method+:} false
; then :
17928 $as_echo_n "(cached) " >&6
17930 ac_func_search_save_LIBS
=$LIBS
17931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17932 /* end confdefs.h. */
17934 /* Override any GCC internal prototype to avoid an error.
17935 Use char because int might match the return type of a GCC
17936 builtin and then its argument prototype would still apply. */
17940 char TLS_client_method ();
17944 return TLS_client_method ();
17949 for ac_lib
in '' ssl
; do
17950 if test -z "$ac_lib"; then
17951 ac_res
="none required"
17954 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17956 if ac_fn_c_try_link
"$LINENO"; then :
17957 ac_cv_search_TLS_client_method
=$ac_res
17959 rm -f core conftest.err conftest.
$ac_objext \
17961 if ${ac_cv_search_TLS_client_method+:} false
; then :
17965 if ${ac_cv_search_TLS_client_method+:} false
; then :
17968 ac_cv_search_TLS_client_method
=no
17970 rm conftest.
$ac_ext
17971 LIBS
=$ac_func_search_save_LIBS
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_TLS_client_method" >&5
17974 $as_echo "$ac_cv_search_TLS_client_method" >&6; }
17975 ac_res
=$ac_cv_search_TLS_client_method
17976 if test "$ac_res" != no
; then :
17977 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17980 alpine_SSLTYPE
="none"
17983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing DTLS_client_method" >&5
17984 $as_echo_n "checking for library containing DTLS_client_method... " >&6; }
17985 if ${ac_cv_search_DTLS_client_method+:} false
; then :
17986 $as_echo_n "(cached) " >&6
17988 ac_func_search_save_LIBS
=$LIBS
17989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17990 /* end confdefs.h. */
17992 /* Override any GCC internal prototype to avoid an error.
17993 Use char because int might match the return type of a GCC
17994 builtin and then its argument prototype would still apply. */
17998 char DTLS_client_method ();
18002 return DTLS_client_method ();
18007 for ac_lib
in '' ssl
; do
18008 if test -z "$ac_lib"; then
18009 ac_res
="none required"
18012 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18014 if ac_fn_c_try_link
"$LINENO"; then :
18015 ac_cv_search_DTLS_client_method
=$ac_res
18017 rm -f core conftest.err conftest.
$ac_objext \
18019 if ${ac_cv_search_DTLS_client_method+:} false
; then :
18023 if ${ac_cv_search_DTLS_client_method+:} false
; then :
18026 ac_cv_search_DTLS_client_method
=no
18028 rm conftest.
$ac_ext
18029 LIBS
=$ac_func_search_save_LIBS
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_DTLS_client_method" >&5
18032 $as_echo "$ac_cv_search_DTLS_client_method" >&6; }
18033 ac_res
=$ac_cv_search_DTLS_client_method
18034 if test "$ac_res" != no
; then :
18035 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18038 alpine_SSLTYPE
="none"
18041 if test "x$alpine_SSLTYPE" != "xnone" ; then
18042 alpine_c_client_cflags
="$alpine_c_client_cflags -DTLSV1_2"
18044 $as_echo "#define SSL_SUPPORTS_TLSV1_2 1" >>confdefs.h
18050 if test "x$alpine_SSLTYPE" != "xnone" ; then
18051 if test "x$alpine_SSLVERSION" = "xold" -o "x$alpine_SSLPROVIDER" = "xlibressl" ; then
18052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SSL_library_init" >&5
18053 $as_echo_n "checking for library containing SSL_library_init... " >&6; }
18054 if ${ac_cv_search_SSL_library_init+:} false
; then :
18055 $as_echo_n "(cached) " >&6
18057 ac_func_search_save_LIBS
=$LIBS
18058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18059 /* end confdefs.h. */
18061 /* Override any GCC internal prototype to avoid an error.
18062 Use char because int might match the return type of a GCC
18063 builtin and then its argument prototype would still apply. */
18067 char SSL_library_init ();
18071 return SSL_library_init ();
18076 for ac_lib
in '' ssl
; do
18077 if test -z "$ac_lib"; then
18078 ac_res
="none required"
18081 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18083 if ac_fn_c_try_link
"$LINENO"; then :
18084 ac_cv_search_SSL_library_init
=$ac_res
18086 rm -f core conftest.err conftest.
$ac_objext \
18088 if ${ac_cv_search_SSL_library_init+:} false
; then :
18092 if ${ac_cv_search_SSL_library_init+:} false
; then :
18095 ac_cv_search_SSL_library_init
=no
18097 rm conftest.
$ac_ext
18098 LIBS
=$ac_func_search_save_LIBS
18100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SSL_library_init" >&5
18101 $as_echo "$ac_cv_search_SSL_library_init" >&6; }
18102 ac_res
=$ac_cv_search_SSL_library_init
18103 if test "$ac_res" != no
; then :
18104 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18107 alpine_SSLTYPE
="none"
18110 if test "x$alpine_SSLTYPE" = "xnone" ; then
18111 as_fn_error $?
"No library containing SSL_library_init found in your path" "$LINENO" 5
18115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing OPENSSL_init_ssl" >&5
18116 $as_echo_n "checking for library containing OPENSSL_init_ssl... " >&6; }
18117 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18118 $as_echo_n "(cached) " >&6
18120 ac_func_search_save_LIBS
=$LIBS
18121 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18122 /* end confdefs.h. */
18124 /* Override any GCC internal prototype to avoid an error.
18125 Use char because int might match the return type of a GCC
18126 builtin and then its argument prototype would still apply. */
18130 char OPENSSL_init_ssl ();
18134 return OPENSSL_init_ssl ();
18139 for ac_lib
in '' ssl
; do
18140 if test -z "$ac_lib"; then
18141 ac_res
="none required"
18144 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18146 if ac_fn_c_try_link
"$LINENO"; then :
18147 ac_cv_search_OPENSSL_init_ssl
=$ac_res
18149 rm -f core conftest.err conftest.
$ac_objext \
18151 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18155 if ${ac_cv_search_OPENSSL_init_ssl+:} false
; then :
18158 ac_cv_search_OPENSSL_init_ssl
=no
18160 rm conftest.
$ac_ext
18161 LIBS
=$ac_func_search_save_LIBS
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_OPENSSL_init_ssl" >&5
18164 $as_echo "$ac_cv_search_OPENSSL_init_ssl" >&6; }
18165 ac_res
=$ac_cv_search_OPENSSL_init_ssl
18166 if test "$ac_res" != no
; then :
18167 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18170 alpine_SSLTYPE
="none"
18173 if test "x$alpine_SSLTYPE" = "xnone" ; then
18174 as_fn_error $?
"No library containing OPENSSL_init_ssl found in your path" "$LINENO" 5
18180 if test "$alpine_with_ldap" = "yes" ; then
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_alloc in -llber" >&5
18183 $as_echo_n "checking for ber_alloc in -llber... " >&6; }
18184 if ${ac_cv_lib_lber_ber_alloc+:} false
; then :
18185 $as_echo_n "(cached) " >&6
18187 ac_check_lib_save_LIBS
=$LIBS
18188 LIBS
="-llber $LIBS"
18189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18190 /* end confdefs.h. */
18192 /* Override any GCC internal prototype to avoid an error.
18193 Use char because int might match the return type of a GCC
18194 builtin and then its argument prototype would still apply. */
18202 return ber_alloc ();
18207 if ac_fn_c_try_link
"$LINENO"; then :
18208 ac_cv_lib_lber_ber_alloc
=yes
18210 ac_cv_lib_lber_ber_alloc
=no
18212 rm -f core conftest.err conftest.
$ac_objext \
18213 conftest
$ac_exeext conftest.
$ac_ext
18214 LIBS
=$ac_check_lib_save_LIBS
18216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_alloc" >&5
18217 $as_echo "$ac_cv_lib_lber_ber_alloc" >&6; }
18218 if test "x$ac_cv_lib_lber_ber_alloc" = xyes
; then :
18220 LIBS
="$LIBS -llber"
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_initialize" >&5
18225 $as_echo_n "checking for library containing ldap_initialize... " >&6; }
18226 if ${ac_cv_search_ldap_initialize+:} false
; then :
18227 $as_echo_n "(cached) " >&6
18229 ac_func_search_save_LIBS
=$LIBS
18230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18231 /* end confdefs.h. */
18233 /* Override any GCC internal prototype to avoid an error.
18234 Use char because int might match the return type of a GCC
18235 builtin and then its argument prototype would still apply. */
18239 char ldap_initialize ();
18243 return ldap_initialize ();
18248 for ac_lib
in '' ldap
; do
18249 if test -z "$ac_lib"; then
18250 ac_res
="none required"
18253 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18255 if ac_fn_c_try_link
"$LINENO"; then :
18256 ac_cv_search_ldap_initialize
=$ac_res
18258 rm -f core conftest.err conftest.
$ac_objext \
18260 if ${ac_cv_search_ldap_initialize+:} false
; then :
18264 if ${ac_cv_search_ldap_initialize+:} false
; then :
18267 ac_cv_search_ldap_initialize
=no
18269 rm conftest.
$ac_ext
18270 LIBS
=$ac_func_search_save_LIBS
18272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_initialize" >&5
18273 $as_echo "$ac_cv_search_ldap_initialize" >&6; }
18274 ac_res
=$ac_cv_search_ldap_initialize
18275 if test "$ac_res" != no
; then :
18276 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18278 alpine_has_ldap
=yes
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing ldap_open" >&5
18283 $as_echo_n "checking for library containing ldap_open... " >&6; }
18284 if ${ac_cv_search_ldap_open+:} false
; then :
18285 $as_echo_n "(cached) " >&6
18287 ac_func_search_save_LIBS
=$LIBS
18288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18289 /* end confdefs.h. */
18291 /* Override any GCC internal prototype to avoid an error.
18292 Use char because int might match the return type of a GCC
18293 builtin and then its argument prototype would still apply. */
18301 return ldap_open ();
18306 for ac_lib
in '' ldap
; do
18307 if test -z "$ac_lib"; then
18308 ac_res
="none required"
18311 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18313 if ac_fn_c_try_link
"$LINENO"; then :
18314 ac_cv_search_ldap_open
=$ac_res
18316 rm -f core conftest.err conftest.
$ac_objext \
18318 if ${ac_cv_search_ldap_open+:} false
; then :
18322 if ${ac_cv_search_ldap_open+:} false
; then :
18325 ac_cv_search_ldap_open
=no
18327 rm conftest.
$ac_ext
18328 LIBS
=$ac_func_search_save_LIBS
18330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_open" >&5
18331 $as_echo "$ac_cv_search_ldap_open" >&6; }
18332 ac_res
=$ac_cv_search_ldap_open
18333 if test "$ac_res" != no
; then :
18334 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18336 alpine_has_ldap
=yes
18344 if test "$alpine_has_ldap" = "yes" ; then
18345 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including LDAP Support" >&5
18346 $as_echo "$as_me: * * * Including LDAP Support" >&6;}
18348 $as_echo "#define ENABLE_LDAP /**/" >>confdefs.h
18353 if test "x$alpine_PAM" != "xnone" ; then
18354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pam_start" >&5
18355 $as_echo_n "checking for library containing pam_start... " >&6; }
18356 if ${ac_cv_search_pam_start+:} false
; then :
18357 $as_echo_n "(cached) " >&6
18359 ac_func_search_save_LIBS
=$LIBS
18360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18361 /* end confdefs.h. */
18363 /* Override any GCC internal prototype to avoid an error.
18364 Use char because int might match the return type of a GCC
18365 builtin and then its argument prototype would still apply. */
18373 return pam_start ();
18378 for ac_lib
in '' pam
; do
18379 if test -z "$ac_lib"; then
18380 ac_res
="none required"
18383 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18385 if ac_fn_c_try_link
"$LINENO"; then :
18386 ac_cv_search_pam_start
=$ac_res
18388 rm -f core conftest.err conftest.
$ac_objext \
18390 if ${ac_cv_search_pam_start+:} false
; then :
18394 if ${ac_cv_search_pam_start+:} false
; then :
18397 ac_cv_search_pam_start
=no
18399 rm conftest.
$ac_ext
18400 LIBS
=$ac_func_search_save_LIBS
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
18403 $as_echo "$ac_cv_search_pam_start" >&6; }
18404 ac_res
=$ac_cv_search_pam_start
18405 if test "$ac_res" != no
; then :
18406 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18409 ac_fn_c_check_header_mongrel
"$LINENO" "security/pam_appl.h" "ac_cv_header_security_pam_appl_h" "$ac_includes_default"
18410 if test "x$ac_cv_header_security_pam_appl_h" = xyes
; then :
18415 ac_fn_c_check_header_mongrel
"$LINENO" "pam/pam_appl.h" "ac_cv_header_pam_pam_appl_h" "$ac_includes_default"
18416 if test "x$ac_cv_header_pam_pam_appl_h" = xyes
; then :
18419 if test "x$alpine_c_client_target" != "xoxp" ; then
18421 alpine_pam_none_reason
="header files not in security/ directory"
18427 alpine_pam_none_reason
="header files not found"
18440 alpine_pam_none_reason
="library files not found"
18444 if test -n "$alpine_pam_none_reason" ; then
18445 as_fn_error $?
"No PAM support: $alpine_pam_none_reason" "$LINENO" 5
18450 if test "x$alpine_GSSTYPE" != "xnone" ; then
18451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gss_init_sec_context" >&5
18452 $as_echo_n "checking for library containing gss_init_sec_context... " >&6; }
18453 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
18454 $as_echo_n "(cached) " >&6
18456 ac_func_search_save_LIBS
=$LIBS
18457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18458 /* end confdefs.h. */
18460 /* Override any GCC internal prototype to avoid an error.
18461 Use char because int might match the return type of a GCC
18462 builtin and then its argument prototype would still apply. */
18466 char gss_init_sec_context ();
18470 return gss_init_sec_context ();
18475 for ac_lib
in '' gss gssapi gssapi_krb5
; do
18476 if test -z "$ac_lib"; then
18477 ac_res
="none required"
18480 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18482 if ac_fn_c_try_link
"$LINENO"; then :
18483 ac_cv_search_gss_init_sec_context
=$ac_res
18485 rm -f core conftest.err conftest.
$ac_objext \
18487 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
18491 if ${ac_cv_search_gss_init_sec_context+:} false
; then :
18494 ac_cv_search_gss_init_sec_context
=no
18496 rm conftest.
$ac_ext
18497 LIBS
=$ac_func_search_save_LIBS
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gss_init_sec_context" >&5
18500 $as_echo "$ac_cv_search_gss_init_sec_context" >&6; }
18501 ac_res
=$ac_cv_search_gss_init_sec_context
18502 if test "$ac_res" != no
; then :
18503 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18505 LIBS
="$LIBS -lkrb5"
18506 ac_fn_c_check_header_mongrel
"$LINENO" "gssapi/gssapi_generic.h" "ac_cv_header_gssapi_gssapi_generic_h" "$ac_includes_default"
18507 if test "x$ac_cv_header_gssapi_gssapi_generic_h" = xyes
; then :
18511 if test ! -d /usr
/kerberos
/include
; then
18512 alpine_GSSTYPE
="none"
18513 alpine_gss_none_reason
="header files not found"
18522 alpine_GSSTYPE
="none"
18523 alpine_gss_none_reason
="libraries not found"
18527 if test -n "$alpine_gss_none_reason" ; then
18528 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including Kerberos Support: $alpine_gss_none_reason" >&5
18529 $as_echo "$as_me: NOT including Kerberos Support: $alpine_gss_none_reason" >&6;}
18534 # Check whether --with-ntlm was given.
18535 if test "${with_ntlm+set}" = set; then :
18536 withval
=$with_ntlm; with_ntlm
=$withval
18540 if test "x$with_ntlm" = "xno" ; then
18545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing buildSmbNtlmAuthRequest" >&5
18546 $as_echo_n "checking for library containing buildSmbNtlmAuthRequest... " >&6; }
18547 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
18548 $as_echo_n "(cached) " >&6
18550 ac_func_search_save_LIBS
=$LIBS
18551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18552 /* end confdefs.h. */
18554 /* Override any GCC internal prototype to avoid an error.
18555 Use char because int might match the return type of a GCC
18556 builtin and then its argument prototype would still apply. */
18560 char buildSmbNtlmAuthRequest ();
18564 return buildSmbNtlmAuthRequest ();
18569 for ac_lib
in '' ntlm
; do
18570 if test -z "$ac_lib"; then
18571 ac_res
="none required"
18574 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18576 if ac_fn_c_try_link
"$LINENO"; then :
18577 ac_cv_search_buildSmbNtlmAuthRequest
=$ac_res
18579 rm -f core conftest.err conftest.
$ac_objext \
18581 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
18585 if ${ac_cv_search_buildSmbNtlmAuthRequest+:} false
; then :
18588 ac_cv_search_buildSmbNtlmAuthRequest
=no
18590 rm conftest.
$ac_ext
18591 LIBS
=$ac_func_search_save_LIBS
18593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_buildSmbNtlmAuthRequest" >&5
18594 $as_echo "$ac_cv_search_buildSmbNtlmAuthRequest" >&6; }
18595 ac_res
=$ac_cv_search_buildSmbNtlmAuthRequest
18596 if test "$ac_res" != no
; then :
18597 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18599 ac_fn_c_check_header_mongrel
"$LINENO" "ntlm.h" "ac_cv_header_ntlm_h" "$ac_includes_default"
18600 if test "x$ac_cv_header_ntlm_h" = xyes
; then :
18602 extra_auth_ntlm
=ntl
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: including NTLM support" >&5
18604 $as_echo "$as_me: including NTLM support" >&6;}
18609 alpine_ntlm_none_reason
="header file ntlm.h not found"
18618 alpine_ntlm_none_reason
="ntlm library not found"
18622 if test -n "$alpine_ntlm_none_reason" ; then
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: NOT including NTLM Support: $alpine_ntlm_none_reason" >&5
18624 $as_echo "$as_me: NOT including NTLM Support: $alpine_ntlm_none_reason" >&6;}
18628 if test -n "$WEB_BUILD" ; then
18629 TCL_VERSIONS_DOT
="tcl8.6 tcl8.5 tcl8.4 tcl8.3"
18630 TCL_VERSIONS_NODOT
="`echo ${TCL_VERSIONS_DOT} | ${SED} 's/\.//g'`"
18631 TCL_VERSIONS
="${TCL_VERSIONS_DOT} ${TCL_VERSIONS_NODOT} tcl"
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing Tcl_Eval" >&5
18633 $as_echo_n "checking for library containing Tcl_Eval... " >&6; }
18634 if ${ac_cv_search_Tcl_Eval+:} false
; then :
18635 $as_echo_n "(cached) " >&6
18637 ac_func_search_save_LIBS
=$LIBS
18638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18639 /* end confdefs.h. */
18641 /* Override any GCC internal prototype to avoid an error.
18642 Use char because int might match the return type of a GCC
18643 builtin and then its argument prototype would still apply. */
18651 return Tcl_Eval ();
18656 for ac_lib
in '' $alpine_TCLLIB ${TCL_VERSIONS}; do
18657 if test -z "$ac_lib"; then
18658 ac_res
="none required"
18661 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18663 if ac_fn_c_try_link
"$LINENO"; then :
18664 ac_cv_search_Tcl_Eval
=$ac_res
18666 rm -f core conftest.err conftest.
$ac_objext \
18668 if ${ac_cv_search_Tcl_Eval+:} false
; then :
18672 if ${ac_cv_search_Tcl_Eval+:} false
; then :
18675 ac_cv_search_Tcl_Eval
=no
18677 rm conftest.
$ac_ext
18678 LIBS
=$ac_func_search_save_LIBS
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_Tcl_Eval" >&5
18681 $as_echo "$ac_cv_search_Tcl_Eval" >&6; }
18682 ac_res
=$ac_cv_search_Tcl_Eval
18683 if test "$ac_res" != no
; then :
18684 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18693 if test -n "$alpine_TCLINC" ; then
18694 as_ac_Header
=`$as_echo "ac_cv_header_$alpine_TCLINC/tcl.h" | $as_tr_sh`
18695 ac_fn_c_check_header_mongrel
"$LINENO" "$alpine_TCLINC/tcl.h" "$as_ac_Header" "$ac_includes_default"
18696 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
18705 if test -z "$WEB_BUILD" ; then
18706 { $as_echo "$as_me:${as_lineno-$LINENO}: Tcl Include file NOT found" >&5
18707 $as_echo "$as_me: Tcl Include file NOT found" >&6;}
18710 ac_fn_c_check_header_mongrel
"$LINENO" "tcl.h" "ac_cv_header_tcl_h" "$ac_includes_default"
18711 if test "x$ac_cv_header_tcl_h" = xyes
; then :
18715 for base
in /usr
/usr
/local ; do
18716 for dir
in ${TCL_VERSIONS} ; do
18717 if test -f $base/include
/$dir/tcl.h
; then
18718 CPPFLAGS
="$CPPFLAGS -I$base/include/$dir"
18723 if test "x$found" = "xyes" ; then
18727 if test "$found" != "yes" ; then
18729 { $as_echo "$as_me:${as_lineno-$LINENO}: header file tcl.h NOT found: Web Alpine will not be built" >&5
18730 $as_echo "$as_me: header file tcl.h NOT found: Web Alpine will not be built" >&6;}
18739 if test "x$alpine_REGEX" != "xyes" ; then
18740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing regcomp" >&5
18741 $as_echo_n "checking for library containing regcomp... " >&6; }
18742 if ${ac_cv_search_regcomp+:} false
; then :
18743 $as_echo_n "(cached) " >&6
18745 ac_func_search_save_LIBS
=$LIBS
18746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18747 /* end confdefs.h. */
18749 /* Override any GCC internal prototype to avoid an error.
18750 Use char because int might match the return type of a GCC
18751 builtin and then its argument prototype would still apply. */
18764 for ac_lib
in '' posix regexp regex re
; do
18765 if test -z "$ac_lib"; then
18766 ac_res
="none required"
18769 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
18771 if ac_fn_c_try_link
"$LINENO"; then :
18772 ac_cv_search_regcomp
=$ac_res
18774 rm -f core conftest.err conftest.
$ac_objext \
18776 if ${ac_cv_search_regcomp+:} false
; then :
18780 if ${ac_cv_search_regcomp+:} false
; then :
18783 ac_cv_search_regcomp
=no
18785 rm conftest.
$ac_ext
18786 LIBS
=$ac_func_search_save_LIBS
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_regcomp" >&5
18789 $as_echo "$ac_cv_search_regcomp" >&6; }
18790 ac_res
=$ac_cv_search_regcomp
18791 if test "$ac_res" != no
; then :
18792 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
18796 if test x
$alpine_REGEX = "xno" ; then
18797 as_fn_error $?
"Unable to find system regex library" "$LINENO" 5
18805 if test "x$alpine_REGEX" != "xyes" ; then
18806 ac_fn_c_check_header_mongrel
"$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
18807 if test "x$ac_cv_header_regex_h" = xyes
; then :
18811 if test x
$alpine_REGEX = "xno" ; then
18812 as_fn_error $?
"Unable to find system regex include file" "$LINENO" 5
18822 $as_echo "#define HAVE_REGEX_H 1" >>confdefs.h
18824 if test "x$alpine_REGEX" = "xyes" ; then
18825 CPPFLAGS
="$CPPFLAGS -I${top_builddir}/regex"
18826 LDFLAGS
="$LDFLAGS -L${top_builddir}/regex"
18828 REGEX_MAKEFILE
="$REGEX_BUILD/Makefile"
18831 if test "x$with_pthread" != "xno" ; then
18832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread support" >&5
18833 $as_echo_n "checking for pthread support... " >&6; }
18838 ac_cpp
='$CPP $CPPFLAGS'
18839 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18840 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18841 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18845 # We used to check for pthread.h first, but this fails if pthread.h
18846 # requires special compiler flags (e.g. on True64 or Sequent).
18847 # It gets checked for in the link test anyway.
18849 # First of all, check if the user has set any of the PTHREAD_LIBS,
18850 # etcetera environment variables, and if threads linking works using
18852 if test x
"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x
; then
18853 save_CFLAGS
="$CFLAGS"
18854 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
18856 LIBS
="$PTHREAD_LIBS $LIBS"
18857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
18858 $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
18859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18860 /* end confdefs.h. */
18862 /* Override any GCC internal prototype to avoid an error.
18863 Use char because int might match the return type of a GCC
18864 builtin and then its argument prototype would still apply. */
18868 char pthread_join ();
18872 return pthread_join ();
18877 if ac_fn_c_try_link
"$LINENO"; then :
18880 rm -f core conftest.err conftest.
$ac_objext \
18881 conftest
$ac_exeext conftest.
$ac_ext
18882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
18883 $as_echo "$acx_pthread_ok" >&6; }
18884 if test x
"$acx_pthread_ok" = xno
; then
18889 CFLAGS
="$save_CFLAGS"
18892 # We must check for the threads library under a number of different
18893 # names; the ordering is very important because some systems
18894 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
18895 # libraries is broken (non-POSIX).
18897 # Create a list of thread flags to try. Items starting with a "-" are
18898 # C compiler flags, and other items are library names, except for "none"
18899 # which indicates that we try without any flags at all, and "pthread-config"
18900 # which is a program returning the flags for the Pth emulation library.
18902 acx_pthread_flags
="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
18904 # The ordering *is* (sometimes) important. Some notes on the
18905 # individual items follow:
18907 # pthreads: AIX (must check this before -lpthread)
18908 # none: in case threads are in libc; should be tried before -Kthread and
18909 # other compiler flags to prevent continual compiler warnings
18910 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
18911 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
18912 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
18913 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
18914 # -pthreads: Solaris/gcc
18915 # -mthreads: Mingw32/gcc, Lynx/gcc
18916 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
18917 # doesn't hurt to check since this sometimes defines pthreads too;
18918 # also defines -D_REENTRANT)
18919 # ... -mt is also the pthreads flag for HP/aCC
18920 # pthread: Linux, etcetera
18921 # --thread-safe: KAI C++
18922 # pthread-config: use pthread-config program (for GNU Pth library)
18924 case "${host_cpu}-${host_os}" in
18927 # On Solaris (at least, for some versions), libc contains stubbed
18928 # (non-functional) versions of the pthreads routines, so link-based
18929 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
18930 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
18931 # a function called by this macro, so we could check for that, but
18932 # who knows whether they'll stub that too in a future libc.) So,
18933 # we'll just look for -pthreads and -lpthread first:
18935 acx_pthread_flags
="-pthreads pthread -mt -pthread $acx_pthread_flags"
18939 if test x
"$acx_pthread_ok" = xno
; then
18940 for flag
in $acx_pthread_flags; do
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
18945 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
18949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
18950 $as_echo_n "checking whether pthreads work with $flag... " >&6; }
18951 PTHREAD_CFLAGS
="$flag"
18955 # Extract the first word of "pthread-config", so it can be a program name with args.
18956 set dummy pthread-config
; ac_word
=$2
18957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18958 $as_echo_n "checking for $ac_word... " >&6; }
18959 if ${ac_cv_prog_acx_pthread_config+:} false
; then :
18960 $as_echo_n "(cached) " >&6
18962 if test -n "$acx_pthread_config"; then
18963 ac_cv_prog_acx_pthread_config
="$acx_pthread_config" # Let the user override the test.
18965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
18966 for as_dir
in $PATH
18969 test -z "$as_dir" && as_dir
=.
18970 for ac_exec_ext
in '' $ac_executable_extensions; do
18971 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
18972 ac_cv_prog_acx_pthread_config
="yes"
18973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18980 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config
="no"
18983 acx_pthread_config
=$ac_cv_prog_acx_pthread_config
18984 if test -n "$acx_pthread_config"; then
18985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_config" >&5
18986 $as_echo "$acx_pthread_config" >&6; }
18988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18989 $as_echo "no" >&6; }
18993 if test x
"$acx_pthread_config" = xno
; then continue; fi
18994 PTHREAD_CFLAGS
="`pthread-config --cflags`"
18995 PTHREAD_LIBS
="`pthread-config --ldflags` `pthread-config --libs`"
18999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
19000 $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
19001 PTHREAD_LIBS
="-l$flag"
19006 save_CFLAGS
="$CFLAGS"
19007 LIBS
="$PTHREAD_LIBS $LIBS"
19008 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19010 # Check for various functions. We must include pthread.h,
19011 # since some functions may be macros. (On the Sequent, we
19012 # need a special flag -Kthread to make this header compile.)
19013 # We check for pthread_join because it is in -lpthread on IRIX
19014 # while pthread_create is in libc. We check for pthread_attr_init
19015 # due to DEC craziness with -lpthreads. We check for
19016 # pthread_cleanup_push because it is one of the few pthread
19017 # functions on Solaris that doesn't have a non-functional libc stub.
19018 # We try pthread_create on general principles.
19019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19020 /* end confdefs.h. */
19021 #include <pthread.h>
19025 pthread_t th; pthread_join(th, 0);
19026 pthread_attr_init(0); pthread_cleanup_push(0, 0);
19027 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
19032 if ac_fn_c_try_link
"$LINENO"; then :
19035 rm -f core conftest.err conftest.
$ac_objext \
19036 conftest
$ac_exeext conftest.
$ac_ext
19039 CFLAGS
="$save_CFLAGS"
19041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_pthread_ok" >&5
19042 $as_echo "$acx_pthread_ok" >&6; }
19043 if test "x$acx_pthread_ok" = xyes
; then
19052 # Various other checks:
19053 if test "x$acx_pthread_ok" = xyes
; then
19055 LIBS
="$PTHREAD_LIBS $LIBS"
19056 save_CFLAGS
="$CFLAGS"
19057 CFLAGS
="$CFLAGS $PTHREAD_CFLAGS"
19059 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
19060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
19061 $as_echo_n "checking for joinable pthread attribute... " >&6; }
19063 for attr
in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED
; do
19064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19065 /* end confdefs.h. */
19066 #include <pthread.h>
19070 int attr=$attr; return attr;
19075 if ac_fn_c_try_link
"$LINENO"; then :
19076 attr_name
=$attr; break
19078 rm -f core conftest.err conftest.
$ac_objext \
19079 conftest
$ac_exeext conftest.
$ac_ext
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $attr_name" >&5
19082 $as_echo "$attr_name" >&6; }
19083 if test "$attr_name" != PTHREAD_CREATE_JOINABLE
; then
19085 cat >>confdefs.h
<<_ACEOF
19086 #define PTHREAD_CREATE_JOINABLE $attr_name
19091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
19092 $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
19094 case "${host_cpu}-${host_os}" in
19095 *-aix* |
*-freebsd* |
*-darwin*) flag
="-D_THREAD_SAFE";;
19096 *solaris
* |
*-osf* |
*-hpux*) flag
="-D_REENTRANT";;
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
19099 $as_echo "${flag}" >&6; }
19100 if test "x$flag" != xno
; then
19101 PTHREAD_CFLAGS
="$flag $PTHREAD_CFLAGS"
19105 CFLAGS
="$save_CFLAGS"
19107 # More AIX lossage: must compile with xlc_r or cc_r
19108 if test x
"$GCC" != xyes
; then
19109 for ac_prog
in xlc_r cc_r
19111 # Extract the first word of "$ac_prog", so it can be a program name with args.
19112 set dummy
$ac_prog; ac_word
=$2
19113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19114 $as_echo_n "checking for $ac_word... " >&6; }
19115 if ${ac_cv_prog_PTHREAD_CC+:} false
; then :
19116 $as_echo_n "(cached) " >&6
19118 if test -n "$PTHREAD_CC"; then
19119 ac_cv_prog_PTHREAD_CC
="$PTHREAD_CC" # Let the user override the test.
19121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
19122 for as_dir
in $PATH
19125 test -z "$as_dir" && as_dir
=.
19126 for ac_exec_ext
in '' $ac_executable_extensions; do
19127 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
19128 ac_cv_prog_PTHREAD_CC
="$ac_prog"
19129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19138 PTHREAD_CC
=$ac_cv_prog_PTHREAD_CC
19139 if test -n "$PTHREAD_CC"; then
19140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
19141 $as_echo "$PTHREAD_CC" >&6; }
19143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19144 $as_echo "no" >&6; }
19148 test -n "$PTHREAD_CC" && break
19150 test -n "$PTHREAD_CC" || PTHREAD_CC
="${CC}"
19163 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
19164 if test x
"$acx_pthread_ok" = xyes
; then
19166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19167 $as_echo "yes" >&6; }
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pthread support on OpenBSD is unstable!" >&5
19171 $as_echo "$as_me: WARNING: pthread support on OpenBSD is unstable!" >&6;}
19172 AM_CFLAGS
="$AM_CFLAGS -pthread"
19175 LIBS
="$PTHREAD_LIBS $LIBS"
19176 AM_CFLAGS
="$AM_CFLAGS $PTHREAD_CFLAGS"
19179 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
19186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19187 $as_echo "no" >&6; }
19191 ac_cpp
='$CPP $CPPFLAGS'
19192 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19193 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19194 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19199 $as_echo_n "checking for library containing nanosleep... " >&6; }
19200 if ${ac_cv_search_nanosleep+:} false
; then :
19201 $as_echo_n "(cached) " >&6
19203 ac_func_search_save_LIBS
=$LIBS
19204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19205 /* end confdefs.h. */
19207 /* Override any GCC internal prototype to avoid an error.
19208 Use char because int might match the return type of a GCC
19209 builtin and then its argument prototype would still apply. */
19217 return nanosleep ();
19222 for ac_lib
in '' rt posix4
; do
19223 if test -z "$ac_lib"; then
19224 ac_res
="none required"
19227 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19229 if ac_fn_c_try_link
"$LINENO"; then :
19230 ac_cv_search_nanosleep
=$ac_res
19232 rm -f core conftest.err conftest.
$ac_objext \
19234 if ${ac_cv_search_nanosleep+:} false
; then :
19238 if ${ac_cv_search_nanosleep+:} false
; then :
19241 ac_cv_search_nanosleep
=no
19243 rm conftest.
$ac_ext
19244 LIBS
=$ac_func_search_save_LIBS
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19247 $as_echo "$ac_cv_search_nanosleep" >&6; }
19248 ac_res
=$ac_cv_search_nanosleep
19249 if test "$ac_res" != no
; then :
19250 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19253 $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
19263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19264 $as_echo_n "checking for ANSI C header files... " >&6; }
19265 if ${ac_cv_header_stdc+:} false
; then :
19266 $as_echo_n "(cached) " >&6
19268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19269 /* end confdefs.h. */
19270 #include <stdlib.h>
19271 #include <stdarg.h>
19272 #include <string.h>
19283 if ac_fn_c_try_compile
"$LINENO"; then :
19284 ac_cv_header_stdc
=yes
19286 ac_cv_header_stdc
=no
19288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19290 if test $ac_cv_header_stdc = yes; then
19291 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19293 /* end confdefs.h. */
19294 #include <string.h>
19297 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19298 $EGREP "memchr" >/dev
/null
2>&1; then :
19301 ac_cv_header_stdc
=no
19307 if test $ac_cv_header_stdc = yes; then
19308 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19310 /* end confdefs.h. */
19311 #include <stdlib.h>
19314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19315 $EGREP "free" >/dev
/null
2>&1; then :
19318 ac_cv_header_stdc
=no
19324 if test $ac_cv_header_stdc = yes; then
19325 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19326 if test "$cross_compiling" = yes; then :
19329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19330 /* end confdefs.h. */
19332 #include <stdlib.h>
19333 #if ((' ' & 0x0FF) == 0x020)
19334 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19335 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19337 # define ISLOWER(c) \
19338 (('a' <= (c) && (c) <= 'i') \
19339 || ('j' <= (c) && (c) <= 'r') \
19340 || ('s' <= (c) && (c) <= 'z'))
19341 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19344 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19349 for (i = 0; i < 256; i++)
19350 if (XOR (islower (i), ISLOWER (i))
19351 || toupper (i) != TOUPPER (i))
19356 if ac_fn_c_try_run
"$LINENO"; then :
19359 ac_cv_header_stdc
=no
19361 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
19362 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
19367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19368 $as_echo "$ac_cv_header_stdc" >&6; }
19369 if test $ac_cv_header_stdc = yes; then
19371 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19375 ac_header_dirent
=no
19376 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
19377 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
19379 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
19380 if eval \
${$as_ac_Header+:} false
; then :
19381 $as_echo_n "(cached) " >&6
19383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19384 /* end confdefs.h. */
19385 #include <sys/types.h>
19397 if ac_fn_c_try_compile
"$LINENO"; then :
19398 eval "$as_ac_Header=yes"
19400 eval "$as_ac_Header=no"
19402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19404 eval ac_res
=\$
$as_ac_Header
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19406 $as_echo "$ac_res" >&6; }
19407 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19408 cat >>confdefs.h
<<_ACEOF
19409 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
19412 ac_header_dirent
=$ac_hdr; break
19416 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
19417 if test $ac_header_dirent = dirent.h
; then
19418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
19419 $as_echo_n "checking for library containing opendir... " >&6; }
19420 if ${ac_cv_search_opendir+:} false
; then :
19421 $as_echo_n "(cached) " >&6
19423 ac_func_search_save_LIBS
=$LIBS
19424 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19425 /* end confdefs.h. */
19427 /* Override any GCC internal prototype to avoid an error.
19428 Use char because int might match the return type of a GCC
19429 builtin and then its argument prototype would still apply. */
19442 for ac_lib
in '' dir
; do
19443 if test -z "$ac_lib"; then
19444 ac_res
="none required"
19447 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19449 if ac_fn_c_try_link
"$LINENO"; then :
19450 ac_cv_search_opendir
=$ac_res
19452 rm -f core conftest.err conftest.
$ac_objext \
19454 if ${ac_cv_search_opendir+:} false
; then :
19458 if ${ac_cv_search_opendir+:} false
; then :
19461 ac_cv_search_opendir
=no
19463 rm conftest.
$ac_ext
19464 LIBS
=$ac_func_search_save_LIBS
19466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
19467 $as_echo "$ac_cv_search_opendir" >&6; }
19468 ac_res
=$ac_cv_search_opendir
19469 if test "$ac_res" != no
; then :
19470 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
19476 $as_echo_n "checking for library containing opendir... " >&6; }
19477 if ${ac_cv_search_opendir+:} false
; then :
19478 $as_echo_n "(cached) " >&6
19480 ac_func_search_save_LIBS
=$LIBS
19481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19482 /* end confdefs.h. */
19484 /* Override any GCC internal prototype to avoid an error.
19485 Use char because int might match the return type of a GCC
19486 builtin and then its argument prototype would still apply. */
19499 for ac_lib
in '' x
; do
19500 if test -z "$ac_lib"; then
19501 ac_res
="none required"
19504 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
19506 if ac_fn_c_try_link
"$LINENO"; then :
19507 ac_cv_search_opendir
=$ac_res
19509 rm -f core conftest.err conftest.
$ac_objext \
19511 if ${ac_cv_search_opendir+:} false
; then :
19515 if ${ac_cv_search_opendir+:} false
; then :
19518 ac_cv_search_opendir
=no
19520 rm conftest.
$ac_ext
19521 LIBS
=$ac_func_search_save_LIBS
19523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
19524 $as_echo "$ac_cv_search_opendir" >&6; }
19525 ac_res
=$ac_cv_search_opendir
19526 if test "$ac_res" != no
; then :
19527 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
19533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
19534 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
19535 if ${ac_cv_header_stat_broken+:} false
; then :
19536 $as_echo_n "(cached) " >&6
19538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19539 /* end confdefs.h. */
19540 #include <sys/types.h>
19541 #include <sys/stat.h>
19543 #if defined S_ISBLK && defined S_IFDIR
19544 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
19547 #if defined S_ISBLK && defined S_IFCHR
19548 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
19551 #if defined S_ISLNK && defined S_IFREG
19552 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
19555 #if defined S_ISSOCK && defined S_IFREG
19556 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
19560 if ac_fn_c_try_compile
"$LINENO"; then :
19561 ac_cv_header_stat_broken
=no
19563 ac_cv_header_stat_broken
=yes
19565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
19568 $as_echo "$ac_cv_header_stat_broken" >&6; }
19569 if test $ac_cv_header_stat_broken = yes; then
19571 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
19575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
19576 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
19577 if ${ac_cv_header_sys_wait_h+:} false
; then :
19578 $as_echo_n "(cached) " >&6
19580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19581 /* end confdefs.h. */
19582 #include <sys/types.h>
19583 #include <sys/wait.h>
19584 #ifndef WEXITSTATUS
19585 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
19588 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19596 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19601 if ac_fn_c_try_compile
"$LINENO"; then :
19602 ac_cv_header_sys_wait_h
=yes
19604 ac_cv_header_sys_wait_h
=no
19606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
19609 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
19610 if test $ac_cv_header_sys_wait_h = yes; then
19612 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
19617 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
19618 if ${ac_cv_header_time+:} false
; then :
19619 $as_echo_n "(cached) " >&6
19621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19622 /* end confdefs.h. */
19623 #include <sys/types.h>
19624 #include <sys/time.h>
19630 if ((struct tm *) 0)
19636 if ac_fn_c_try_compile
"$LINENO"; then :
19637 ac_cv_header_time
=yes
19639 ac_cv_header_time
=no
19641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
19644 $as_echo "$ac_cv_header_time" >&6; }
19645 if test $ac_cv_header_time = yes; then
19647 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether termios.h defines TIOCGWINSZ" >&5
19652 $as_echo_n "checking whether termios.h defines TIOCGWINSZ... " >&6; }
19653 if ${ac_cv_sys_tiocgwinsz_in_termios_h+:} false
; then :
19654 $as_echo_n "(cached) " >&6
19656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19657 /* end confdefs.h. */
19658 #include <sys/types.h>
19659 #include <termios.h>
19665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19666 $EGREP "yes" >/dev
/null
2>&1; then :
19667 ac_cv_sys_tiocgwinsz_in_termios_h
=yes
19669 ac_cv_sys_tiocgwinsz_in_termios_h
=no
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
19675 $as_echo "$ac_cv_sys_tiocgwinsz_in_termios_h" >&6; }
19677 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
19678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
19679 $as_echo_n "checking whether sys/ioctl.h defines TIOCGWINSZ... " >&6; }
19680 if ${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+:} false
; then :
19681 $as_echo_n "(cached) " >&6
19683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19684 /* end confdefs.h. */
19685 #include <sys/types.h>
19686 #include <sys/ioctl.h>
19692 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19693 $EGREP "yes" >/dev
/null
2>&1; then :
19694 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=yes
19696 ac_cv_sys_tiocgwinsz_in_sys_ioctl_h
=no
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
19702 $as_echo "$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6; }
19704 if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
19706 $as_echo "#define GWINSZ_IN_SYS_IOCTL 1" >>confdefs.h
19712 for ac_header
in unistd.h
19714 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19715 if test "x$ac_cv_header_unistd_h" = xyes
; then :
19716 cat >>confdefs.h
<<_ACEOF
19717 #define HAVE_UNISTD_H 1
19725 for ac_header
in errno.h \
19751 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19752 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19753 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
19754 cat >>confdefs.h
<<_ACEOF
19755 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19763 ac_fn_c_check_header_mongrel
"$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
19764 if test "x$ac_cv_header_termios_h" = xyes
; then :
19766 $as_echo "#define HAS_TERMIOS 1" >>confdefs.h
19770 ac_fn_c_check_header_mongrel
"$LINENO" "termio.h" "ac_cv_header_termio_h" "$ac_includes_default"
19771 if test "x$ac_cv_header_termio_h" = xyes
; then :
19773 $as_echo "#define HAS_TERMIO 1" >>confdefs.h
19777 ac_fn_c_check_header_mongrel
"$LINENO" "sgtty.h" "ac_cv_header_sgtty_h" "$ac_includes_default"
19778 if test "x$ac_cv_header_sgtty_h" = xyes
; then :
19780 $as_echo "#define HAS_SGTTY 1" >>confdefs.h
19784 as_fn_error $?
"Unable to figure out terminal control method" "$LINENO" 5
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
19801 $as_echo_n "checking return type of signal handlers... " >&6; }
19802 if ${ac_cv_type_signal+:} false
; then :
19803 $as_echo_n "(cached) " >&6
19805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19806 /* end confdefs.h. */
19807 #include <sys/types.h>
19808 #include <signal.h>
19813 return *(signal (0, 0)) (0) == 1;
19818 if ac_fn_c_try_compile
"$LINENO"; then :
19819 ac_cv_type_signal
=int
19821 ac_cv_type_signal
=void
19823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
19826 $as_echo "$ac_cv_type_signal" >&6; }
19828 cat >>confdefs.h
<<_ACEOF
19829 #define RETSIGTYPE $ac_cv_type_signal
19833 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
19834 if test "x$ac_cv_type_size_t" = xyes
; then :
19838 cat >>confdefs.h
<<_ACEOF
19839 #define size_t unsigned int
19844 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
19845 if test "x$ac_cv_type_mode_t" = xyes
; then :
19849 cat >>confdefs.h
<<_ACEOF
19855 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
19856 if test "x$ac_cv_type_pid_t" = xyes
; then :
19860 cat >>confdefs.h
<<_ACEOF
19866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
19867 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
19868 if ${ac_cv_type_uid_t+:} false
; then :
19869 $as_echo_n "(cached) " >&6
19871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19872 /* end confdefs.h. */
19873 #include <sys/types.h>
19876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19877 $EGREP "uid_t" >/dev
/null
2>&1; then :
19878 ac_cv_type_uid_t
=yes
19880 ac_cv_type_uid_t
=no
19885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
19886 $as_echo "$ac_cv_type_uid_t" >&6; }
19887 if test $ac_cv_type_uid_t = no
; then
19889 $as_echo "#define uid_t int" >>confdefs.h
19892 $as_echo "#define gid_t int" >>confdefs.h
19896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
19897 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
19898 if ${ac_cv_struct_tm+:} false
; then :
19899 $as_echo_n "(cached) " >&6
19901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19902 /* end confdefs.h. */
19903 #include <sys/types.h>
19910 int *p = &tm.tm_sec;
19916 if ac_fn_c_try_compile
"$LINENO"; then :
19917 ac_cv_struct_tm
=time.h
19919 ac_cv_struct_tm
=sys
/time.h
19921 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
19924 $as_echo "$ac_cv_struct_tm" >&6; }
19925 if test $ac_cv_struct_tm = sys
/time.h
; then
19927 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
19932 ac_fn_c_check_type
"$LINENO" "union wait" "ac_cv_type_union_wait" "$ac_includes_default"
19933 if test "x$ac_cv_type_union_wait" = xyes
; then :
19935 cat >>confdefs.h
<<_ACEOF
19936 #define HAVE_UNION_WAIT 1
19943 for ac_header
in stdint.h
19945 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
19946 if test "x$ac_cv_header_stdint_h" = xyes
; then :
19947 cat >>confdefs.h
<<_ACEOF
19948 #define HAVE_STDINT_H 1
19953 for ac_header
in inttypes.h
19955 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
19956 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
19957 cat >>confdefs.h
<<_ACEOF
19958 #define HAVE_INTTYPES_H 1
19963 for ac_header
in sys
/types.h
19965 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
19966 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
19967 cat >>confdefs.h
<<_ACEOF
19968 #define HAVE_SYS_TYPES_H 1
19973 # The cast to long int works around a bug in the HP C Compiler
19974 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19975 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19976 # This bug is HP SR number 8606223364.
19977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned short" >&5
19978 $as_echo_n "checking size of unsigned short... " >&6; }
19979 if ${ac_cv_sizeof_unsigned_short+:} false
; then :
19980 $as_echo_n "(cached) " >&6
19982 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned short))" "ac_cv_sizeof_unsigned_short" "$ac_includes_default"; then :
19985 if test "$ac_cv_type_unsigned_short" = yes; then
19986 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19988 as_fn_error
77 "cannot compute sizeof (unsigned short)
19989 See \`config.log' for more details" "$LINENO" 5; }
19991 ac_cv_sizeof_unsigned_short
=0
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_short" >&5
19997 $as_echo "$ac_cv_sizeof_unsigned_short" >&6; }
20001 cat >>confdefs.h
<<_ACEOF
20002 #define SIZEOF_UNSIGNED_SHORT $ac_cv_sizeof_unsigned_short
20006 if test $ac_cv_sizeof_unsigned_short -eq 2 ; then
20007 uint16
="unsigned short"
20009 # The cast to long int works around a bug in the HP C Compiler
20010 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20011 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20012 # This bug is HP SR number 8606223364.
20013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
20014 $as_echo_n "checking size of unsigned int... " >&6; }
20015 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
20016 $as_echo_n "(cached) " >&6
20018 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
20021 if test "$ac_cv_type_unsigned_int" = yes; then
20022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20024 as_fn_error
77 "cannot compute sizeof (unsigned int)
20025 See \`config.log' for more details" "$LINENO" 5; }
20027 ac_cv_sizeof_unsigned_int
=0
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
20033 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
20037 cat >>confdefs.h
<<_ACEOF
20038 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
20042 if $ac_cv_sizeof_unsigned_int -eq 2 ; then
20043 uint16
="unsigned int"
20045 as_fn_error $?
"Unable to determine 16 bit integer type" "$LINENO" 5
20064 cat >>confdefs.h
<<_ACEOF
20065 #define UINT16 $uint16
20069 for ac_header
in stdint.h
20071 ac_fn_c_check_header_mongrel
"$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
20072 if test "x$ac_cv_header_stdint_h" = xyes
; then :
20073 cat >>confdefs.h
<<_ACEOF
20074 #define HAVE_STDINT_H 1
20079 for ac_header
in inttypes.h
20081 ac_fn_c_check_header_mongrel
"$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
20082 if test "x$ac_cv_header_inttypes_h" = xyes
; then :
20083 cat >>confdefs.h
<<_ACEOF
20084 #define HAVE_INTTYPES_H 1
20089 for ac_header
in sys
/types.h
20091 ac_fn_c_check_header_mongrel
"$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
20092 if test "x$ac_cv_header_sys_types_h" = xyes
; then :
20093 cat >>confdefs.h
<<_ACEOF
20094 #define HAVE_SYS_TYPES_H 1
20099 # The cast to long int works around a bug in the HP C Compiler
20100 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20101 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20102 # This bug is HP SR number 8606223364.
20103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned int" >&5
20104 $as_echo_n "checking size of unsigned int... " >&6; }
20105 if ${ac_cv_sizeof_unsigned_int+:} false
; then :
20106 $as_echo_n "(cached) " >&6
20108 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned int))" "ac_cv_sizeof_unsigned_int" "$ac_includes_default"; then :
20111 if test "$ac_cv_type_unsigned_int" = yes; then
20112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20114 as_fn_error
77 "cannot compute sizeof (unsigned int)
20115 See \`config.log' for more details" "$LINENO" 5; }
20117 ac_cv_sizeof_unsigned_int
=0
20122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_int" >&5
20123 $as_echo "$ac_cv_sizeof_unsigned_int" >&6; }
20127 cat >>confdefs.h
<<_ACEOF
20128 #define SIZEOF_UNSIGNED_INT $ac_cv_sizeof_unsigned_int
20132 if test $ac_cv_sizeof_unsigned_int -eq 4 ; then
20133 uint32
="unsigned int"
20135 # The cast to long int works around a bug in the HP C Compiler
20136 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20137 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20138 # This bug is HP SR number 8606223364.
20139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of unsigned long" >&5
20140 $as_echo_n "checking size of unsigned long... " >&6; }
20141 if ${ac_cv_sizeof_unsigned_long+:} false
; then :
20142 $as_echo_n "(cached) " >&6
20144 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (unsigned long))" "ac_cv_sizeof_unsigned_long" "$ac_includes_default"; then :
20147 if test "$ac_cv_type_unsigned_long" = yes; then
20148 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20149 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20150 as_fn_error
77 "cannot compute sizeof (unsigned long)
20151 See \`config.log' for more details" "$LINENO" 5; }
20153 ac_cv_sizeof_unsigned_long
=0
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_unsigned_long" >&5
20159 $as_echo "$ac_cv_sizeof_unsigned_long" >&6; }
20163 cat >>confdefs.h
<<_ACEOF
20164 #define SIZEOF_UNSIGNED_LONG $ac_cv_sizeof_unsigned_long
20168 if $ac_cv_sizeof_unsigned_long -eq 4 ; then
20169 uint32
="unsigned long"
20171 as_fn_error $?
"Unable to determine 32 bit integer type" "$LINENO" 5
20190 cat >>confdefs.h
<<_ACEOF
20191 #define UINT32 $uint32
20195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking argument pointer type of qsort compare function and base" >&5
20196 $as_echo_n "checking argument pointer type of qsort compare function and base... " >&6; }
20197 if ${ac_cv_func_qsort_argtype+:} false
; then :
20198 $as_echo_n "(cached) " >&6
20200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20201 /* end confdefs.h. */
20204 #include "stdlib.h"
20208 extern sortf(const void *, const void *);
20211 const void *b; { return 0; }
20217 qsort(base, 2, sizeof(char *), sortf);
20223 if ac_fn_c_try_compile
"$LINENO"; then :
20224 ac_cv_func_qsort_argtype
=void
20226 ac_cv_func_qsort_argtype
=char
20228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_qsort_argtype" >&5
20232 $as_echo "$ac_cv_func_qsort_argtype" >&6; }
20234 cat >>confdefs.h
<<_ACEOF
20235 #define qsort_t $ac_cv_func_qsort_argtype
20240 for ac_header
in sys
/select.h sys
/socket.h
20242 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20243 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20244 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20245 cat >>confdefs.h
<<_ACEOF
20246 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
20254 $as_echo_n "checking types of arguments for select... " >&6; }
20255 if ${ac_cv_func_select_args+:} false
; then :
20256 $as_echo_n "(cached) " >&6
20258 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
20259 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
20260 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
20261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20262 /* end confdefs.h. */
20263 $ac_includes_default
20264 #ifdef HAVE_SYS_SELECT_H
20265 # include <sys/select.h>
20267 #ifdef HAVE_SYS_SOCKET_H
20268 # include <sys/socket.h>
20274 extern int select ($ac_arg1,
20275 $ac_arg234, $ac_arg234, $ac_arg234,
20281 if ac_fn_c_try_compile
"$LINENO"; then :
20282 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
20284 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20288 # Provide a safe default value.
20289 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
20292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
20293 $as_echo "$ac_cv_func_select_args" >&6; }
20294 ac_save_IFS
=$IFS; IFS
=','
20295 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
20299 cat >>confdefs.h
<<_ACEOF
20300 #define SELECT_TYPE_ARG1 $1
20304 cat >>confdefs.h
<<_ACEOF
20305 #define SELECT_TYPE_ARG234 ($2)
20309 cat >>confdefs.h
<<_ACEOF
20310 #define SELECT_TYPE_ARG5 ($3)
20316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strcoll" >&5
20317 $as_echo_n "checking for working strcoll... " >&6; }
20318 if ${ac_cv_func_strcoll_works+:} false
; then :
20319 $as_echo_n "(cached) " >&6
20321 if test "$cross_compiling" = yes; then :
20322 ac_cv_func_strcoll_works
=no
20324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20325 /* end confdefs.h. */
20326 $ac_includes_default
20330 return (strcoll ("abc", "def") >= 0 ||
20331 strcoll ("ABC", "DEF") >= 0 ||
20332 strcoll ("123", "456") >= 0)
20337 if ac_fn_c_try_run
"$LINENO"; then :
20338 ac_cv_func_strcoll_works
=yes
20340 ac_cv_func_strcoll_works
=no
20342 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20343 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strcoll_works" >&5
20348 $as_echo "$ac_cv_func_strcoll_works" >&6; }
20349 if test $ac_cv_func_strcoll_works = yes; then
20351 $as_echo "#define HAVE_STRCOLL 1" >>confdefs.h
20357 for ac_header
in vfork.h
20359 ac_fn_c_check_header_mongrel
"$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
20360 if test "x$ac_cv_header_vfork_h" = xyes
; then :
20361 cat >>confdefs.h
<<_ACEOF
20362 #define HAVE_VFORK_H 1
20369 for ac_func
in fork vfork
20371 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20372 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
20373 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
20374 cat >>confdefs.h
<<_ACEOF
20375 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20381 if test "x$ac_cv_func_fork" = xyes
; then
20382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
20383 $as_echo_n "checking for working fork... " >&6; }
20384 if ${ac_cv_func_fork_works+:} false
; then :
20385 $as_echo_n "(cached) " >&6
20387 if test "$cross_compiling" = yes; then :
20388 ac_cv_func_fork_works
=cross
20390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20391 /* end confdefs.h. */
20392 $ac_includes_default
20397 /* By Ruediger Kuhlmann. */
20398 return fork () < 0;
20404 if ac_fn_c_try_run
"$LINENO"; then :
20405 ac_cv_func_fork_works
=yes
20407 ac_cv_func_fork_works
=no
20409 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20410 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
20415 $as_echo "$ac_cv_func_fork_works" >&6; }
20418 ac_cv_func_fork_works
=$ac_cv_func_fork
20420 if test "x$ac_cv_func_fork_works" = xcross
; then
20422 *-*-amigaos* |
*-*-msdosdjgpp*)
20423 # Override, as these systems have only a dummy fork() stub
20424 ac_cv_func_fork_works
=no
20427 ac_cv_func_fork_works
=yes
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
20431 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
20433 ac_cv_func_vfork_works
=$ac_cv_func_vfork
20434 if test "x$ac_cv_func_vfork" = xyes
; then
20435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
20436 $as_echo_n "checking for working vfork... " >&6; }
20437 if ${ac_cv_func_vfork_works+:} false
; then :
20438 $as_echo_n "(cached) " >&6
20440 if test "$cross_compiling" = yes; then :
20441 ac_cv_func_vfork_works
=cross
20443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20444 /* end confdefs.h. */
20445 /* Thanks to Paul Eggert for this test. */
20446 $ac_includes_default
20447 #include <sys/wait.h>
20448 #ifdef HAVE_VFORK_H
20449 # include <vfork.h>
20451 /* On some sparc systems, changes by the child to local and incoming
20452 argument registers are propagated back to the parent. The compiler
20453 is told about this with #include <vfork.h>, but some compilers
20454 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
20455 static variable whose address is put into a register that is
20456 clobbered by the vfork. */
20459 sparc_address_test (int arg)
20461 sparc_address_test (arg) int arg;
20464 static pid_t child;
20482 pid_t parent = getpid ();
20485 sparc_address_test (0);
20490 /* Here is another test for sparc vfork register problems. This
20491 test uses lots of local variables, at least as many local
20492 variables as main has allocated so far including compiler
20493 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
20494 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
20495 reuse the register of parent for one of the local variables,
20496 since it will think that parent can't possibly be used any more
20497 in this routine. Assigning to the local variable will thus
20498 munge parent in the parent process. */
20500 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
20501 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
20502 /* Convince the compiler that p..p7 are live; otherwise, it might
20503 use the same hardware register for all 8 local variables. */
20504 if (p != p1 || p != p2 || p != p3 || p != p4
20505 || p != p5 || p != p6 || p != p7)
20508 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
20509 from child file descriptors. If the child closes a descriptor
20510 before it execs or exits, this munges the parent's descriptor
20511 as well. Test for this by closing stdout in the child. */
20512 _exit(close(fileno(stdout)) != 0);
20517 while (wait(&status) != child)
20520 /* Was there some problem with vforking? */
20523 /* Did the child fail? (This shouldn't happen.) */
20526 /* Did the vfork/compiler bug occur? */
20527 || parent != getpid()
20529 /* Did the file descriptor bug occur? */
20530 || fstat(fileno(stdout), &st) != 0
20535 if ac_fn_c_try_run
"$LINENO"; then :
20536 ac_cv_func_vfork_works
=yes
20538 ac_cv_func_vfork_works
=no
20540 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
20541 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
20545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
20546 $as_echo "$ac_cv_func_vfork_works" >&6; }
20549 if test "x$ac_cv_func_fork_works" = xcross
; then
20550 ac_cv_func_vfork_works
=$ac_cv_func_vfork
20551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
20552 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
20555 if test "x$ac_cv_func_vfork_works" = xyes
; then
20557 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
20561 $as_echo "#define vfork fork" >>confdefs.h
20564 if test "x$ac_cv_func_fork_works" = xyes
; then
20566 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
20570 for ac_func
in strchr \
20603 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20604 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
20605 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
20606 cat >>confdefs.h
<<_ACEOF
20607 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostname" >&5
20615 $as_echo_n "checking for library containing gethostname... " >&6; }
20616 if ${ac_cv_search_gethostname+:} false
; then :
20617 $as_echo_n "(cached) " >&6
20619 ac_func_search_save_LIBS
=$LIBS
20620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20621 /* end confdefs.h. */
20623 /* Override any GCC internal prototype to avoid an error.
20624 Use char because int might match the return type of a GCC
20625 builtin and then its argument prototype would still apply. */
20629 char gethostname ();
20633 return gethostname ();
20638 for ac_lib
in '' nsl
; do
20639 if test -z "$ac_lib"; then
20640 ac_res
="none required"
20643 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20645 if ac_fn_c_try_link
"$LINENO"; then :
20646 ac_cv_search_gethostname
=$ac_res
20648 rm -f core conftest.err conftest.
$ac_objext \
20650 if ${ac_cv_search_gethostname+:} false
; then :
20654 if ${ac_cv_search_gethostname+:} false
; then :
20657 ac_cv_search_gethostname
=no
20659 rm conftest.
$ac_ext
20660 LIBS
=$ac_func_search_save_LIBS
20662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostname" >&5
20663 $as_echo "$ac_cv_search_gethostname" >&6; }
20664 ac_res
=$ac_cv_search_gethostname
20665 if test "$ac_res" != no
; then :
20666 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
20672 $as_echo_n "checking for library containing socket... " >&6; }
20673 if ${ac_cv_search_socket+:} false
; then :
20674 $as_echo_n "(cached) " >&6
20676 ac_func_search_save_LIBS
=$LIBS
20677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20678 /* end confdefs.h. */
20680 /* Override any GCC internal prototype to avoid an error.
20681 Use char because int might match the return type of a GCC
20682 builtin and then its argument prototype would still apply. */
20695 for ac_lib
in '' socket
; do
20696 if test -z "$ac_lib"; then
20697 ac_res
="none required"
20700 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20702 if ac_fn_c_try_link
"$LINENO"; then :
20703 ac_cv_search_socket
=$ac_res
20705 rm -f core conftest.err conftest.
$ac_objext \
20707 if ${ac_cv_search_socket+:} false
; then :
20711 if ${ac_cv_search_socket+:} false
; then :
20714 ac_cv_search_socket
=no
20716 rm conftest.
$ac_ext
20717 LIBS
=$ac_func_search_save_LIBS
20719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
20720 $as_echo "$ac_cv_search_socket" >&6; }
20721 ac_res
=$ac_cv_search_socket
20722 if test "$ac_res" != no
; then :
20723 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bind" >&5
20733 $as_echo_n "checking for library containing bind... " >&6; }
20734 if ${ac_cv_search_bind+:} false
; then :
20735 $as_echo_n "(cached) " >&6
20737 ac_func_search_save_LIBS
=$LIBS
20738 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20739 /* end confdefs.h. */
20741 /* Override any GCC internal prototype to avoid an error.
20742 Use char because int might match the return type of a GCC
20743 builtin and then its argument prototype would still apply. */
20756 for ac_lib
in '' bind; do
20757 if test -z "$ac_lib"; then
20758 ac_res
="none required"
20761 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20763 if ac_fn_c_try_link
"$LINENO"; then :
20764 ac_cv_search_bind
=$ac_res
20766 rm -f core conftest.err conftest.
$ac_objext \
20768 if ${ac_cv_search_bind+:} false
; then :
20772 if ${ac_cv_search_bind+:} false
; then :
20775 ac_cv_search_bind
=no
20777 rm conftest.
$ac_ext
20778 LIBS
=$ac_func_search_save_LIBS
20780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bind" >&5
20781 $as_echo "$ac_cv_search_bind" >&6; }
20782 ac_res
=$ac_cv_search_bind
20783 if test "$ac_res" != no
; then :
20784 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20793 for ac_func
in sigaction sigemptyset sigaddset sigprocmask
20795 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20796 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
20797 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
20798 cat >>confdefs.h
<<_ACEOF
20799 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20803 $as_echo "#define POSIX_SIGNALS /**/" >>confdefs.h
20808 for ac_func
in sigset sigrelse
20810 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20811 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
20812 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
20813 cat >>confdefs.h
<<_ACEOF
20814 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20818 $as_echo "#define SYSV_SIGNALS /**/" >>confdefs.h
20829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing syslog" >&5
20830 $as_echo_n "checking for library containing syslog... " >&6; }
20831 if ${ac_cv_search_syslog+:} false
; then :
20832 $as_echo_n "(cached) " >&6
20834 ac_func_search_save_LIBS
=$LIBS
20835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20836 /* end confdefs.h. */
20838 /* Override any GCC internal prototype to avoid an error.
20839 Use char because int might match the return type of a GCC
20840 builtin and then its argument prototype would still apply. */
20853 for ac_lib
in '' bsd socket inet
; do
20854 if test -z "$ac_lib"; then
20855 ac_res
="none required"
20858 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
20860 if ac_fn_c_try_link
"$LINENO"; then :
20861 ac_cv_search_syslog
=$ac_res
20863 rm -f core conftest.err conftest.
$ac_objext \
20865 if ${ac_cv_search_syslog+:} false
; then :
20869 if ${ac_cv_search_syslog+:} false
; then :
20872 ac_cv_search_syslog
=no
20874 rm conftest.
$ac_ext
20875 LIBS
=$ac_func_search_save_LIBS
20877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_syslog" >&5
20878 $as_echo "$ac_cv_search_syslog" >&6; }
20879 ac_res
=$ac_cv_search_syslog
20880 if test "$ac_res" != no
; then :
20881 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
20884 $as_echo "#define HAVE_SYSLOG 1" >>confdefs.h
20891 if test -n "$alpine_with_local_maildir" ; then
20892 alpine_local_maildir
=$alpine_with_local_maildir
20893 elif test -d /var
/spool
/mail ; then
20894 alpine_local_maildir
="/var/spool/mail"
20895 elif test -d /var
/mail ; then
20896 alpine_local_maildir
="/var/mail"
20898 alpine_local_maildir
="/usr/spool/mail"
20901 if test -n "$alpine_with_c_client_target" ; then
20902 alpine_c_client_target
=$alpine_with_c_client_target
20906 cat >>confdefs.h
<<_ACEOF
20907 #define SYSTYPE "$systype"
20911 cat >>confdefs.h
<<_ACEOF
20912 #define C_FILESEP '$alpine_path_delim'
20916 cat >>confdefs.h
<<_ACEOF
20917 #define S_FILESEP "$alpine_path_delim"
20921 cat >>confdefs.h
<<_ACEOF
20922 #define MAILDIR "$alpine_local_maildir"
20926 cat >>confdefs.h
<<_ACEOF
20927 #define MODE_READONLY $alpine_mode_readonly
20931 C_CLIENT_TARGET
=$alpine_c_client_target
20933 C_CLIENT_WITH_IPV6
=$c_client_ip6
20935 if test "x$alpine_SSLTYPE" = "xnone" ; then
20936 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * NOT Including SSL Support" >&5
20937 $as_echo "$as_me: * * * NOT Including SSL Support" >&6;}
20938 c_client_specials
="${c_client_specials}SSLTYPE=none "
20941 if test -n "$alpine_SSLCERTS" -a -d "$alpine_SSLCERTS" ; then
20942 certdir
="$alpine_SSLCERTS"
20943 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/certs" ; then
20944 certdir
="${alpine_SSLDIR}/certs"
20945 elif test -n "$alpine_SSLDIR" -a -d "${alpine_SSLDIR}/ssl/certs" ; then
20946 certdir
="${alpine_SSLDIR}/ssl/certs"
20947 elif test -n "$alpine_SSLCERTS_ORIG" -a -d "$alpine_SSLCERTS_ORIG" ; then
20948 certdir
="$alpine_SSLCERTS_ORIG"
20949 elif test -n "$alpine_SSLCERTS" ; then
20950 certdir
="$alpine_SSLCERTS"
20952 { $as_echo "$as_me:${as_lineno-$LINENO}: SSL Problem: certificate directory not found" >&5
20953 $as_echo "$as_me: SSL Problem: certificate directory not found" >&6;}
20956 if test "x$with_smime" != "xno" ; then
20957 if test -n "$certdir" ; then
20958 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * S/MIME support enabled" >&5
20959 $as_echo "$as_me: * * * S/MIME support enabled" >&6;}
20961 $as_echo "#define SMIME /**/" >>confdefs.h
20964 cat >>confdefs.h
<<_ACEOF
20965 #define SMIME_SSLCERTS "$certdir"
20973 if test -z "`ls ${certdir} | $EGREP '^[0-9A-Fa-f]{8}\.[0-9]'`" ; then
20974 SSL_BUNDLE_EXISTS
="no"
20975 SSL_PEM
="factory.pem ca-bundle.pem"
20976 for SSL_BUNDLE
in $SSL_PEM
20978 if test -f ${certdir}/${SSL_BUNDLE} ; then
20979 SSL_BUNDLE_EXISTS
="yes"
20983 SSL_CERT_LINK
="yes"
20986 if test "x$SSL_BUNDLE_EXISTS" = "xno" -a "x$SSL_CERT_LINK" = "xno" ; then
20987 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * No certificates found in \"${certdir}\"." >&5
20988 $as_echo "$as_me: * * * No certificates found in \"${certdir}\"." >&6;}
20989 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * This might indicate that CA certs did not get properly" >&5
20990 $as_echo "$as_me: * * * This might indicate that CA certs did not get properly" >&6;}
20991 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * installed. If you get certificate validation failures" >&5
20992 $as_echo "$as_me: * * * installed. If you get certificate validation failures" >&6;}
20993 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * in Alpine, this might be the reason for them." >&5
20994 $as_echo "$as_me: * * * in Alpine, this might be the reason for them." >&6;}
20997 if test -n "$alpine_SSLINCLUDE" ; then
20998 c_client_specials
="${c_client_specials}SSLINCLUDE=$alpine_SSLINCLUDE "
21001 if test -n "$alpine_SSLLIB" ; then
21002 c_client_specials
="${c_client_specials}SSLLIB=$alpine_SSLLIB "
21005 if test -n "$alpine_SSLDIR" ; then
21006 c_client_specials
="${c_client_specials}SSLDIR=$alpine_SSLDIR "
21009 if test -n "$certdir" ; then
21010 c_client_specials
="${c_client_specials}SSLCERTS=$certdir "
21013 if test -n "$alpine_SSLKEYS" ; then
21014 c_client_specials
="${c_client_specials}SSLKEYS=$alpine_SSLKEYS "
21019 if test "x$alpine_GSSTYPE" != "xnone" ; then
21021 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including Kerberos5 functionality" >&5
21022 $as_echo "$as_me: * * * Including Kerberos5 functionality" >&6;}
21026 if test "x$alpine_NTLM" != "xnone" ; then
21027 extra_auth_ntlm
=ntl
21028 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Including NTLM Authenticator" >&5
21029 $as_echo "$as_me: * * * Including NTLM Authenticator" >&6;}
21032 if test -n "$CPPFLAGS" ; then
21033 alpine_c_client_cflags
="$alpine_c_client_cflags ${CPPFLAGS}"
21035 if test -n "$CFLAGS" ; then
21036 alpine_c_client_cflags
="$alpine_c_client_cflags ${CFLAGS}"
21039 if test -n "$alpine_c_client_cflags" ; then
21040 C_CLIENT_CFLAGS
=EXTRACFLAGS
=\"$alpine_c_client_cflags\"
21044 if test -n "$LDFLAGS" ; then
21045 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LDFLAGS}"
21047 if test -n "$LIBS" ; then
21048 alpine_c_client_ldflags
="$alpine_c_client_ldflags ${LIBS}"
21051 if test -n "$alpine_c_client_ldflags" ; then
21052 C_CLIENT_LDFLAGS
=EXTRALDFLAGS
=\"$alpine_c_client_ldflags\"
21056 if test -n "$alpine_c_client_gccoptlevel" ; then
21057 C_CLIENT_GCCOPTLEVEL
=GCCOPTLEVEL
=\"$alpine_c_client_gccoptlevel\"
21061 c_client_auths
="$extra_auth_gss $extra_auth_ntlm"
21062 C_CLIENT_AUTHS
=$c_client_auths
21065 C_CLIENT_SPECIALS
=$c_client_specials
21068 if test -z "$WEB_BUILD" ; then
21069 WEB_PUBCOOKIE_BUILD
=
21070 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * TCL libraries could not be found." >&5
21071 $as_echo "$as_me: * * * TCL libraries could not be found." >&6;}
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&5
21073 $as_echo "$as_me: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT." >&6;}
21075 if test -n "$WEB_PUBCOOKIE_BUILD" ; then
21076 if test "x$alpine_GSSTYPE" = "xnone" ; then
21077 WEB_PUBCOOKIE_BUILD
=
21078 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Kerberos5 support not found." >&5
21079 $as_echo "$as_me: * * * Kerberos5 support not found." >&6;}
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&5
21081 $as_echo "$as_me: * * * WEB ALPINE PUBCOOKIE COMPONENT WILL NOT BE BUILT." >&6;}
21082 elif test -z "$WEB_BINDIR" ; then
21083 WEB_PUBCOOKIE_BUILD
=
21084 { $as_echo "$as_me:${as_lineno-$LINENO}: * * * Web Alpine binary directory not provided." >&5
21085 $as_echo "$as_me: * * * Web Alpine binary directory not provided." >&6;}
21086 as_fn_error $?
"* * * --with-pubcookie requires --with-web-bin=PATH.
21087 Please re-run configure with these options:
21088 --with-pubcookie --with-web-bin=/usr/local/libexec/alpine/bin" "$LINENO" 5
21091 $as_echo "#define PUBCOOKIE 1" >>confdefs.h
21093 WEB_PUBCOOKIE_LIB
=..
/pubcookie
/libauthgssproxy.a
21094 WEB_PUBCOOKIE_LINK
=gssapi_proxy.l
21110 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"
21112 cat >confcache
<<\_ACEOF
21113 # This file is a shell script that caches the results of configure
21114 # tests run on this system so they can be shared between configure
21115 # scripts and configure runs, see configure's option --config-cache.
21116 # It is not useful on other systems. If it contains results you don't
21117 # want to keep, you may remove or edit it.
21119 # config.status only pays attention to the cache file if you give it
21120 # the --recheck option to rerun configure.
21122 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21123 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21124 # following values.
21128 # The following way of writing the cache mishandles newlines in values,
21129 # but we know of no workaround that is simple, portable, and efficient.
21130 # So, we kill variables containing newlines.
21131 # Ultrix sh set writes to stderr and can't be redirected directly,
21132 # and sets the high bit in the cache file unless we assign to the vars.
21134 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21135 eval ac_val
=\$
$ac_var
21139 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21140 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21143 _ | IFS | as_nl
) ;; #(
21144 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
21145 *) { eval $ac_var=; unset $ac_var;} ;;
21151 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21152 *${as_nl}ac_space
=\
*)
21153 # `set' does not quote correctly, so add quotes: double-quote
21154 # substitution turns \\\\ into \\, and sed turns \\ into \.
21157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21160 # `set' quotes correctly as required by POSIX, so do not add quotes.
21161 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21170 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21172 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21174 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
21175 if test -w "$cache_file"; then
21176 if test "x$cache_file" != "x/dev/null"; then
21177 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21178 $as_echo "$as_me: updating cache $cache_file" >&6;}
21179 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
21180 cat confcache
>"$cache_file"
21182 case $cache_file in #(
21184 mv -f confcache
"$cache_file"$$
&&
21185 mv -f "$cache_file"$$
"$cache_file" ;; #(
21187 mv -f confcache
"$cache_file" ;;
21192 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21193 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21198 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21199 # Let make expand exec_prefix.
21200 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21202 DEFS
=-DHAVE_CONFIG_H
21207 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
21208 # 1. Remove the extension, and $U if already installed.
21209 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
21210 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
21211 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21212 # will be set to the directory where LIBOBJS objects are built.
21213 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21214 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
21216 LIBOBJS
=$ac_libobjs
21218 LTLIBOBJS
=$ac_ltlibobjs
21221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
21222 $as_echo_n "checking that generated files are newer than configure... " >&6; }
21223 if test -n "$am_sleep_pid"; then
21224 # Hide warnings about reused PIDs.
21225 wait $am_sleep_pid 2>/dev
/null
21227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
21228 $as_echo "done" >&6; }
21229 if test -n "$EXEEXT"; then
21231 am__EXEEXT_FALSE
='#'
21233 am__EXEEXT_TRUE
='#'
21237 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
21238 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
21239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21241 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
21242 as_fn_error $?
"conditional \"AMDEP\" was never defined.
21243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21245 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
21246 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
21247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
21250 : "${CONFIG_STATUS=./config.status}"
21252 ac_clean_files_save
=$ac_clean_files
21253 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
21254 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21255 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21257 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21259 # Generated by $as_me.
21260 # Run this file to recreate the current configuration.
21261 # Compiler output produced by configure, useful for debugging
21262 # configure, is in config.log if it exists.
21265 ac_cs_recheck=false
21268 SHELL=\${CONFIG_SHELL-$SHELL}
21271 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
21272 ## -------------------- ##
21273 ## M4sh Initialization. ##
21274 ## -------------------- ##
21276 # Be more Bourne compatible
21277 DUALCASE
=1; export DUALCASE
# for MKS sh
21278 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
21281 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21282 # is contrary to our usage. Disable this feature.
21283 alias -g '${1+"$@"}'='"$@"'
21284 setopt NO_GLOB_SUBST
21286 case `(set -o) 2>/dev/null` in #(
21298 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21299 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21300 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21301 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21302 # Prefer a ksh shell builtin over an external printf program on Solaris,
21303 # but without wasting forks for bash or zsh.
21304 if test -z "$BASH_VERSION$ZSH_VERSION" \
21305 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21306 as_echo='print
-r --'
21307 as_echo_n='print
-rn --'
21308 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21309 as_echo='printf %s
\n'
21310 as_echo_n='printf %s
'
21312 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21313 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
21314 as_echo_n='/usr
/ucb
/echo -n'
21316 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21317 as_echo_n_body='eval
21321 expr "X$arg" : "X\\(.*\\)$as_nl";
21322 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21324 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
21326 export as_echo_n_body
21327 as_echo_n='sh
-c $as_echo_n_body as_echo
'
21329 export as_echo_body
21330 as_echo='sh
-c $as_echo_body as_echo
'
21333 # The user is always right.
21334 if test "${PATH_SEPARATOR+set}" != set; then
21336 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21337 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21344 # We need space, tab and new line, in precisely that order. Quoting is
21345 # there to prevent editors from complaining about space-tab.
21346 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21347 # splitting by setting IFS to empty value.)
21350 # Find who we are. Look in the path if we contain no directory separator.
21353 *[\\/]* ) as_myself=$0 ;;
21354 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21355 for as_dir in $PATH
21358 test -z "$as_dir" && as_dir=.
21359 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21365 # We did not find ourselves, most probably we were run as `sh COMMAND'
21366 # in which case we are not to be found in the path.
21367 if test "x$as_myself" = x
; then
21370 if test ! -f "$as_myself"; then
21371 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21375 # Unset variables that we do not need and which cause bugs (e.g. in
21376 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21377 # suppresses any "Segmentation fault" message there. '((' could
21378 # trigger a bug in pdksh 5.2.14.
21379 for as_var
in BASH_ENV ENV MAIL MAILPATH
21380 do eval test x\
${$as_var+set} = xset \
21381 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
21394 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
21397 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21398 # ----------------------------------------
21399 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21400 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21401 # script with STATUS, using 1 if that was 0.
21404 as_status
=$1; test $as_status -eq 0 && as_status
=1
21406 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
21407 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21409 $as_echo "$as_me: error: $2" >&2
21410 as_fn_exit
$as_status
21414 # as_fn_set_status STATUS
21415 # -----------------------
21416 # Set $? to STATUS, without forking.
21417 as_fn_set_status
()
21420 } # as_fn_set_status
21422 # as_fn_exit STATUS
21423 # -----------------
21424 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21428 as_fn_set_status
$1
21434 # Portably unset VAR.
21437 { eval $1=; unset $1;}
21439 as_unset
=as_fn_unset
21440 # as_fn_append VAR VALUE
21441 # ----------------------
21442 # Append the text in VALUE to the end of the definition contained in VAR. Take
21443 # advantage of any shell optimizations that allow amortized linear growth over
21444 # repeated appends, instead of the typical quadratic growth present in naive
21446 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
21447 eval 'as_fn_append ()
21458 # as_fn_arith ARG...
21459 # ------------------
21460 # Perform arithmetic evaluation on the ARGs, and store the result in the
21461 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21462 # must be portable across $(()) and expr.
21463 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
21464 eval 'as_fn_arith ()
21471 as_val
=`expr "$@" || test $? -eq 1`
21476 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
21477 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
21483 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21484 as_basename
=basename
21489 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
21495 as_me
=`$as_basename -- "$0" ||
21496 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21497 X"$0" : 'X\(//\)$' \| \
21498 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21500 sed '/^.*\/\([^/][^/]*\)\/*$/{
21514 # Avoid depending upon Character Ranges.
21515 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
21516 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21517 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
21518 as_cr_digits
='0123456789'
21519 as_cr_alnum
=$as_cr_Letters$as_cr_digits
21521 ECHO_C
= ECHO_N
= ECHO_T
=
21522 case `echo -n x` in #(((((
21524 case `echo 'xy\c'` in
21525 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
21527 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
21534 rm -f conf$$ conf$$.exe conf$$.
file
21535 if test -d conf$$.dir
; then
21536 rm -f conf$$.dir
/conf$$.
file
21539 mkdir conf$$.dir
2>/dev
/null
21541 if (echo >conf$$.
file) 2>/dev
/null
; then
21542 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
21544 # ... but there are two gotchas:
21545 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21546 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21547 # In both cases, we have to default to `cp -pR'.
21548 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
21550 elif ln conf$$.
file conf$$
2>/dev
/null
; then
21558 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
21559 rmdir conf$$.dir
2>/dev
/null
21564 # Create "$as_dir" as a directory, including parents if necessary.
21569 -*) as_dir
=.
/$as_dir;;
21571 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
21575 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21576 *) as_qdir
=$as_dir;;
21578 as_dirs
="'$as_qdir' $as_dirs"
21579 as_dir
=`$as_dirname -- "$as_dir" ||
21580 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21581 X"$as_dir" : 'X\(//\)[^/]' \| \
21582 X"$as_dir" : 'X\(//\)$' \| \
21583 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21584 $as_echo X"$as_dir" |
21585 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21589 /^X\(\/\/\)[^/].*/{
21602 test -d "$as_dir" && break
21604 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
21605 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
21609 if mkdir
-p .
2>/dev
/null
; then
21610 as_mkdir_p
='mkdir -p "$as_dir"'
21612 test -d .
/-p && rmdir .
/-p
21617 # as_fn_executable_p FILE
21618 # -----------------------
21619 # Test if FILE is an executable regular file.
21620 as_fn_executable_p
()
21622 test -f "$1" && test -x "$1"
21623 } # as_fn_executable_p
21624 as_test_x
='test -x'
21625 as_executable_p
=as_fn_executable_p
21627 # Sed expression to map a string onto a valid CPP name.
21628 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21630 # Sed expression to map a string onto a valid variable name.
21631 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21635 ## ----------------------------------- ##
21636 ## Main body of $CONFIG_STATUS script. ##
21637 ## ----------------------------------- ##
21639 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
21641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21642 # Save the log message, to keep $0 and so on meaningful, and to
21643 # report actual input values of CONFIG_FILES etc. instead of their
21644 # values after options handling.
21646 This file was extended by alpine $as_me 2.21.9, which was
21647 generated by GNU Autoconf 2.69. Invocation command line was
21649 CONFIG_FILES = $CONFIG_FILES
21650 CONFIG_HEADERS = $CONFIG_HEADERS
21651 CONFIG_LINKS = $CONFIG_LINKS
21652 CONFIG_COMMANDS = $CONFIG_COMMANDS
21655 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21660 case $ac_config_files in *"
21661 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
21664 case $ac_config_headers in *"
21665 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
21669 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21670 # Files that config.status was made for.
21671 config_files="$ac_config_files"
21672 config_headers="$ac_config_headers"
21673 config_commands="$ac_config_commands"
21677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21679 \`$as_me' instantiates files and other configuration actions
21680 from templates according to the current configuration. Unless the files
21681 and actions are specified as TAGs, all are instantiated by default.
21683 Usage: $0 [OPTION]... [TAG]...
21685 -h, --help print this help, then exit
21686 -V, --version print version number and configuration settings, then exit
21687 --config print configuration, then exit
21688 -q, --quiet, --silent
21689 do not print progress messages
21690 -d, --debug don't remove temporary files
21691 --recheck update $as_me by reconfiguring in the same conditions
21692 --file=FILE[:TEMPLATE]
21693 instantiate the configuration file FILE
21694 --header=FILE[:TEMPLATE]
21695 instantiate the configuration header FILE
21697 Configuration files:
21700 Configuration headers:
21703 Configuration commands:
21706 Report bugs to <chappa@washington.edu>."
21709 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21710 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21712 alpine config.status 2.21.9
21713 configured by $0, generated by GNU Autoconf 2.69,
21714 with options \\"\$ac_cs_config\\"
21716 Copyright (C) 2012 Free Software Foundation, Inc.
21717 This config.status script is free software; the Free Software Foundation
21718 gives unlimited permission to copy, distribute and modify it."
21725 test -n "\$AWK" || AWK=awk
21728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21729 # The default lists apply if the user does not specify any file.
21735 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21736 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
21740 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
21752 # Handling of the options.
21753 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
21755 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
21756 $as_echo "$ac_cs_version"; exit ;;
21757 --config |
--confi |
--conf |
--con |
--co |
--c )
21758 $as_echo "$ac_cs_config"; exit ;;
21759 --debug |
--debu |
--deb |
--de |
--d |
-d )
21761 --file |
--fil |
--fi |
--f )
21764 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21765 '') as_fn_error $?
"missing file argument" ;;
21767 as_fn_append CONFIG_FILES
" '$ac_optarg'"
21768 ac_need_defaults
=false
;;
21769 --header |
--heade |
--head |
--hea )
21772 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21774 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
21775 ac_need_defaults
=false
;;
21777 # Conflict between --help and --header
21778 as_fn_error $?
"ambiguous option: \`$1'
21779 Try \`$0 --help' for more information.";;
21780 --help |
--hel |
-h )
21781 $as_echo "$ac_cs_usage"; exit ;;
21782 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
21783 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
21786 # This is an error.
21787 -*) as_fn_error $?
"unrecognized option: \`$1'
21788 Try \`$0 --help' for more information." ;;
21790 *) as_fn_append ac_config_targets
" $1"
21791 ac_need_defaults
=false
;;
21797 ac_configure_extra_args
=
21799 if $ac_cs_silent; then
21801 ac_configure_extra_args
="$ac_configure_extra_args --silent"
21805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21806 if \$ac_cs_recheck; then
21807 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21809 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21810 CONFIG_SHELL='$SHELL'
21811 export CONFIG_SHELL
21816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
21820 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21821 ## Running $as_me. ##
21827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21831 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
21834 # The HP-UX ksh and POSIX shell print the target directory to stdout
21835 # if CDPATH is set.
21836 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21838 sed_quote_subst='$sed_quote_subst'
21839 double_quote_subst='$double_quote_subst'
21840 delay_variable_subst='$delay_variable_subst'
21841 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21842 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21843 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21844 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21845 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21846 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21847 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21848 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21849 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
21850 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21851 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21852 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21853 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21854 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21855 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21856 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21857 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21858 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21859 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21860 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21861 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21862 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21863 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21864 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21865 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21866 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21867 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21868 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21869 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21870 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21871 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21872 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21873 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21874 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21875 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21876 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21877 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21878 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21879 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21880 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21881 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21882 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21883 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21884 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21885 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21886 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21887 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21888 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21889 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21890 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21891 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21892 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21893 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21894 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21895 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21896 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21897 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"`'
21898 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21899 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21900 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21901 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21902 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21903 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21904 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21905 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21906 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21907 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21908 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21909 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21910 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21911 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21912 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21913 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21914 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21915 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21916 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21917 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21918 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21919 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21920 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21921 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21922 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21923 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21924 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21925 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21926 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21927 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21928 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21929 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21930 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21931 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21932 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21933 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21934 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21935 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21936 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21937 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21938 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21939 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21940 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21941 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21942 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21943 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21944 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21945 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21946 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21947 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21948 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21949 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21950 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21951 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21952 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21953 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21954 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21955 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21956 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21957 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21958 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21959 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21960 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21961 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21962 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21963 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21964 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
21965 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21966 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21967 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21968 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21969 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21970 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21973 LTCFLAGS='$LTCFLAGS'
21974 compiler='$compiler_DEFAULT'
21976 # A function that is used when there is no print builtin or printf.
21977 func_fallback_echo ()
21979 eval 'cat <<_LTECHO_EOF
21984 # Quote evaled strings.
21999 deplibs_check_method \
22004 sharedlib_from_linklib_cmd \
22007 archiver_list_spec \
22013 lt_cv_sys_global_symbol_pipe \
22014 lt_cv_sys_global_symbol_to_cdecl \
22015 lt_cv_sys_global_symbol_to_c_name_address \
22016 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22017 nm_file_list_spec \
22018 lt_prog_compiler_no_builtin_flag \
22019 lt_prog_compiler_pic \
22020 lt_prog_compiler_wl \
22021 lt_prog_compiler_static \
22022 lt_cv_prog_compiler_c_o \
22031 export_dynamic_flag_spec \
22032 whole_archive_flag_spec \
22033 compiler_needs_object \
22035 allow_undefined_flag \
22036 no_undefined_flag \
22037 hardcode_libdir_flag_spec \
22038 hardcode_libdir_separator \
22042 variables_saved_for_relink \
22044 library_names_spec \
22046 install_override_mode \
22050 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22051 *[\\\\\\\`\\"\\\$]*)
22052 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
22055 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22060 # Double-quote double-evaled strings.
22061 for var in reload_cmds \
22062 old_postinstall_cmds \
22063 old_postuninstall_cmds \
22065 extract_expsyms_cmds \
22066 old_archive_from_new_cmds \
22067 old_archive_from_expsyms_cmds \
22069 archive_expsym_cmds \
22071 module_expsym_cmds \
22072 export_symbols_cmds \
22076 postuninstall_cmds \
22078 sys_lib_search_path_spec \
22079 sys_lib_dlsearch_path_spec; do
22080 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
22081 *[\\\\\\\`\\"\\\$]*)
22082 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
22085 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
22090 ac_aux_dir='$ac_aux_dir'
22091 xsi_shell='$xsi_shell'
22092 lt_shell_append='$lt_shell_append'
22094 # See if we are running on zsh, and set the options which allow our
22095 # commands through without removal of \ escapes INIT.
22096 if test -n "\${ZSH_VERSION+set}" ; then
22097 setopt NO_GLOB_SUBST
22103 TIMESTAMP='$TIMESTAMP'
22109 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
22110 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
22111 # from automake < 1.5.
22112 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
22113 # Capture the value of LINGUAS because we need it to compute CATALOGS.
22114 LINGUAS="${LINGUAS-%UNSET%}"
22119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22121 # Handling of arguments.
22122 for ac_config_target
in $ac_config_targets
22124 case $ac_config_target in
22125 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
22126 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
22127 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
22128 "po-directories") CONFIG_COMMANDS
="$CONFIG_COMMANDS po-directories" ;;
22129 "m4/Makefile") CONFIG_FILES
="$CONFIG_FILES m4/Makefile" ;;
22130 "po/Makefile.in") CONFIG_FILES
="$CONFIG_FILES po/Makefile.in" ;;
22131 "$REGEX_MAKEFILE") CONFIG_FILES
="$CONFIG_FILES $REGEX_MAKEFILE" ;;
22132 "pith/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/osdep/Makefile" ;;
22133 "pith/charconv/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/charconv/Makefile" ;;
22134 "pith/Makefile") CONFIG_FILES
="$CONFIG_FILES pith/Makefile" ;;
22135 "pico/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/osdep/Makefile" ;;
22136 "pico/Makefile") CONFIG_FILES
="$CONFIG_FILES pico/Makefile" ;;
22137 "alpine/osdep/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/osdep/Makefile" ;;
22138 "alpine/Makefile") CONFIG_FILES
="$CONFIG_FILES alpine/Makefile" ;;
22139 "web/src/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/Makefile" ;;
22140 "web/src/pubcookie/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/pubcookie/Makefile" ;;
22141 "web/src/alpined.d/Makefile") CONFIG_FILES
="$CONFIG_FILES web/src/alpined.d/Makefile" ;;
22142 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
22144 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22149 # If the user did not use the arguments to specify the items to instantiate,
22150 # then the envvar interface is used. Set only those that are not.
22151 # We use the long form for the default assignment because of an extremely
22152 # bizarre bug on SunOS 4.1.3.
22153 if $ac_need_defaults; then
22154 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
22155 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
22156 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
22159 # Have a temporary directory for convenience. Make it in the build tree
22160 # simply because there is no reason against having it here, and in addition,
22161 # creating and moving files from /tmp can sometimes cause problems.
22162 # Hook for its removal unless debugging.
22163 # Note that there is a small window in which the directory will not be cleaned:
22164 # after its creation but before its name has been assigned to `$tmp'.
22168 trap 'exit_status=$?
22169 : "${ac_tmp:=$tmp}"
22170 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22172 trap 'as_fn_exit 1' 1 2 13 15
22174 # Create a (secure) tmp directory for tmp files.
22177 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22181 tmp
=.
/conf$$
-$RANDOM
22182 (umask 077 && mkdir
"$tmp")
22183 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
22186 # Set up the scripts for CONFIG_FILES section.
22187 # No need to generate them if there are no CONFIG_FILES.
22188 # This happens for instance with `./config.status config.h'.
22189 if test -n "$CONFIG_FILES"; then
22192 ac_cr
=`echo X | tr X '\015'`
22193 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22194 # But we know of no other shell where ac_cr would be empty at this
22195 # point, so we can use a bashism as a fallback.
22196 if test "x$ac_cr" = x
; then
22197 eval ac_cr
=\$
\'\\r
\'
22199 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22200 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22203 ac_cs_awk_cr
=$ac_cr
22206 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22211 echo "cat >conf$$subs.awk <<_ACEOF" &&
22212 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22214 } >conf$$subs.sh ||
22215 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22216 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22218 for ac_last_try in false false false false false :; do
22219 . ./conf$$subs.sh ||
22220 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22222 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
22223 if test $ac_delim_n = $ac_delim_num; then
22225 elif $ac_last_try; then
22226 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
22228 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22231 rm -f conf$$subs.sh
22233 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22234 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
22238 s/^/S["/; s
/!.
*/"]=/
22248 s/\(.\{148\}\)..*/\1/
22250 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
22255 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22262 s/\(.\{148\}\)..*/\1/
22264 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
22268 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
22273 ' <conf$$subs.awk | sed '
22278 ' >>$CONFIG_STATUS || ac_write_fail=1
22279 rm -f conf$$subs.awk
22280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22282 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
22283 for (key in S) S_is_set[key] = 1
22289 nfields = split(line, field, "@
")
22291 len = length(field[1])
22292 for (i = 2; i < nfields; i++) {
22294 keylen = length(key)
22295 if (S_is_set[key]) {
22297 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22298 len += length(value) + length(field[++i])
22309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22310 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22311 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
22314 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
22315 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
22318 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22319 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
22320 # trailing colons and then remove the whole line if VPATH becomes empty
22321 # (actually we leave an empty line to preserve line numbers).
22322 if test "x
$srcdir" = x.; then
22323 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22342 fi # test -n "$CONFIG_FILES"
22344 # Set up the scripts for CONFIG_HEADERS section.
22345 # No need to generate them if there are no CONFIG_HEADERS.
22346 # This happens for instance with `./config.status Makefile'.
22347 if test -n "$CONFIG_HEADERS"; then
22348 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
22352 # Transform confdefs.h into an awk script `defines.awk', embedded as
22353 # here-document in config.status, that substitutes the proper values into
22354 # config.h.in to produce config.h.
22356 # Create a delimiter string that does not exist in confdefs.h, to ease
22357 # handling of long lines.
22359 for ac_last_try in false false :; do
22360 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
22361 if test -z "$ac_tt"; then
22363 elif $ac_last_try; then
22364 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
22366 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
22370 # For the awk script, D is an array of macro values keyed by name,
22371 # likewise P contains macro parameters if any. Preserve backslash
22372 # newline sequences.
22374 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22376 s/.\{148\}/&'"$ac_delim"'/g
22379 s/^[ ]*#[ ]*define[ ][ ]*/ /
22386 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
22388 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
22392 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
22393 D["\
1"]=" \
3\\\\\\n
"\\/p
22395 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
22400 s/.\{148\}/&'"$ac_delim"'/g
22405 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
22408 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
22410 ' <confdefs.h | sed '
22411 s/'"$ac_delim"'/"\\\
22412 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22414 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22415 for (key in D) D_is_set[key] = 1
22418 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22420 split(line, arg, " ")
22421 if (arg[1] == "#") {
22425 defundef
= substr
(arg
[1], 2)
22428 split(mac1
, mac2
, "(") #)
22430 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
22431 if (D_is_set
[macro
]) {
22432 # Preserve the white space surrounding the "#".
22433 print prefix
"define", macro P
[macro
] D
[macro
]
22436 # Replace #undef with comments. This is necessary, for example,
22437 # in the case of _POSIX_SOURCE, which is predefined and required
22438 # on some systems where configure will not decide to define it.
22439 if (defundef
== "undef") {
22440 print
"/*", prefix defundef
, macro
, "*/"
22448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22449 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
22450 fi # test -n "$CONFIG_HEADERS"
22453 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
22458 :[FHLC
]) ac_mode
=$ac_tag; continue;;
22460 case $ac_mode$ac_tag in
22462 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
22463 :[FH
]-) ac_tag
=-:-;;
22464 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
22481 -) ac_f
="$ac_tmp/stdin";;
22482 *) # Look for the file first in the build tree, then in the source tree
22483 # (if the path is not absolute). The absolute path cannot be DOS-style,
22484 # because $ac_f cannot contain `:'.
22488 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
22490 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22492 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22493 as_fn_append ac_file_inputs
" '$ac_f'"
22496 # Let's still pretend it is `configure' which instantiates (i.e., don't
22497 # use $as_me), people would be surprised to read:
22498 # /* config.h. Generated by config.status. */
22499 configure_input
='Generated from '`
22500 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22502 if test x
"$ac_file" != x-
; then
22503 configure_input
="$ac_file. $configure_input"
22504 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22505 $as_echo "$as_me: creating $ac_file" >&6;}
22507 # Neutralize special characters interpreted by sed in replacement strings.
22508 case $configure_input in #(
22509 *\
&* |
*\|
* |
*\\* )
22510 ac_sed_conf_input
=`$as_echo "$configure_input" |
22511 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22512 *) ac_sed_conf_input
=$configure_input;;
22516 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
22517 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
22522 ac_dir
=`$as_dirname -- "$ac_file" ||
22523 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22524 X"$ac_file" : 'X\(//\)[^/]' \| \
22525 X"$ac_file" : 'X\(//\)$' \| \
22526 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22527 $as_echo X"$ac_file" |
22528 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22532 /^X\(\/\/\)[^/].*/{
22545 as_dir
="$ac_dir"; as_fn_mkdir_p
22549 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22551 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22552 # A ".." for each directory in $ac_dir_suffix.
22553 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22554 case $ac_top_builddir_sub in
22555 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
22556 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
22559 ac_abs_top_builddir
=$ac_pwd
22560 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
22561 # for backward compatibility:
22562 ac_top_builddir
=$ac_top_build_prefix
22565 .
) # We are building in place.
22567 ac_top_srcdir
=$ac_top_builddir_sub
22568 ac_abs_top_srcdir
=$ac_pwd ;;
22569 [\\/]* | ?
:[\\/]* ) # Absolute name.
22570 ac_srcdir
=$srcdir$ac_dir_suffix;
22571 ac_top_srcdir
=$srcdir
22572 ac_abs_top_srcdir
=$srcdir ;;
22573 *) # Relative name.
22574 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
22575 ac_top_srcdir
=$ac_top_build_prefix$srcdir
22576 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
22578 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
22588 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
22589 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
22591 ac_MKDIR_P
=$MKDIR_P
22593 [\\/$
]* | ?
:[\\/]* ) ;;
22594 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
22598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22599 # If the template does not know about datarootdir, expand it.
22600 # FIXME: This hack should be removed a few years after 2.60.
22601 ac_datarootdir_hack
=; ac_datarootdir_seen
=
22612 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22613 *datarootdir
*) ac_datarootdir_seen
=yes;;
22614 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
22615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22616 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22619 ac_datarootdir_hack='
22620 s&@datadir@&$datadir&g
22621 s&@docdir@&$docdir&g
22622 s&@infodir@&$infodir&g
22623 s&@localedir@&$localedir&g
22624 s&@mandir@&$mandir&g
22625 s&\\\${datarootdir}&$datarootdir&g' ;;
22629 # Neutralize VPATH when `$srcdir' = `.'.
22630 # Shell code in configure.ac might set extrasub.
22631 # FIXME: do we really want to maintain this feature?
22632 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22633 ac_sed_extra="$ac_vpsub
22636 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
22638 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
22639 s|@configure_input@|
$ac_sed_conf_input|
;t t
22640 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
22641 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
22642 s
&@srcdir@
&$ac_srcdir&;t t
22643 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
22644 s
&@top_srcdir@
&$ac_top_srcdir&;t t
22645 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
22646 s
&@builddir@
&$ac_builddir&;t t
22647 s
&@abs_builddir@
&$ac_abs_builddir&;t t
22648 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
22649 s
&@INSTALL@
&$ac_INSTALL&;t t
22650 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
22651 $ac_datarootdir_hack
22653 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
22654 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
22656 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22657 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
22658 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22659 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
22660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
22661 which seems to be undefined. Please make sure it is defined" >&5
22662 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
22663 which seems to be undefined. Please make sure it is defined" >&2;}
22665 rm -f "$ac_tmp/stdin"
22667 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22668 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22670 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22676 if test x"$ac_file" != x-; then
22678 $as_echo "/* $configure_input */" \
22679 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22680 } >"$ac_tmp/config.h" \
22681 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22682 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22683 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22684 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22687 mv "$ac_tmp/config.h" "$ac_file" \
22688 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22691 $as_echo "/* $configure_input */" \
22692 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22693 || as_fn_error $? "could not create -" "$LINENO" 5
22695 # Compute "$ac_file"'s index
in $config_headers.
22698 for _am_header
in $config_headers :; do
22699 case $_am_header in
22700 $_am_arg |
$_am_arg:* )
22703 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
22706 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22707 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22708 X"$_am_arg" : 'X\(//\)[^/]' \| \
22709 X"$_am_arg" : 'X\(//\)$' \| \
22710 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22711 $as_echo X"$_am_arg" |
22712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22716 /^X\(\/\/\)[^/].*/{
22728 s/.*/./; q'`/stamp-h
$_am_stamp_count
22731 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22732 $as_echo "$as_me: executing $ac_file commands" >&6;}
22737 case $ac_file$ac_mode in
22738 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
22739 # Older Autoconf quotes --file arguments for eval, but not when files
22740 # are listed without --file. Let's play safe and only enable the eval
22741 # if we detect the quoting.
22742 case $CONFIG_FILES in
22743 *\'*) eval set x
"$CONFIG_FILES" ;;
22744 *) set x
$CONFIG_FILES ;;
22749 # Strip MF so we end up with the name of the file.
22750 mf
=`echo "$mf" | sed -e 's/:.*$//'`
22751 # Check whether this is an Automake generated Makefile or not.
22752 # We used to match only the files named 'Makefile.in', but
22753 # some people rename them; so instead we look at the file content.
22754 # Grep'ing the first line is not enough: some people post-process
22755 # each Makefile.in and add a new line on top of each file to say so.
22756 # Grep'ing the whole file is not good either: AIX grep has a line
22757 # limit of 2048, but all sed's we know have understand at least 4000.
22758 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
22759 dirpart
=`$as_dirname -- "$mf" ||
22760 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22761 X"$mf" : 'X\(//\)[^/]' \| \
22762 X"$mf" : 'X\(//\)$' \| \
22763 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
22765 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22769 /^X\(\/\/\)[^/].*/{
22785 # Extract the definition of DEPDIR, am__include, and am__quote
22786 # from the Makefile without running 'make'.
22787 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
22788 test -z "$DEPDIR" && continue
22789 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
22790 test -z "$am__include" && continue
22791 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
22792 # Find all dependency output files, they are included files with
22793 # $(DEPDIR) in their names. We invoke sed twice because it is the
22794 # simplest approach to changing $(DEPDIR) to its actual value in the
22796 for file in `sed -n "
22797 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
22798 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
22799 # Make sure the directory exists.
22800 test -f "$dirpart/$file" && continue
22801 fdir
=`$as_dirname -- "$file" ||
22802 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22803 X"$file" : 'X\(//\)[^/]' \| \
22804 X"$file" : 'X\(//\)$' \| \
22805 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
22806 $as_echo X"$file" |
22807 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22811 /^X\(\/\/\)[^/].*/{
22824 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
22825 # echo "creating $dirpart/$file"
22826 echo '# dummy' > "$dirpart/$file"
22833 # See if we are running on zsh, and set the options which allow our
22834 # commands through without removal of \ escapes.
22835 if test -n "${ZSH_VERSION+set}" ; then
22836 setopt NO_GLOB_SUBST
22839 cfgfile
="${ofile}T"
22840 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22843 cat <<_LT_EOF >> "$cfgfile"
22846 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
22847 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
22848 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
22849 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22851 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
22852 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
22854 # Written by Gordon Matzigkeit, 1996
22856 # This file is part of GNU Libtool.
22858 # GNU Libtool is free software; you can redistribute it and/or
22859 # modify it under the terms of the GNU General Public License as
22860 # published by the Free Software Foundation; either version 2 of
22861 # the License, or (at your option) any later version.
22863 # As a special exception to the GNU General Public License,
22864 # if you distribute this file as part of a program or library that
22865 # is built using GNU Libtool, you may include this file under the
22866 # same distribution terms that you use for the rest of that program.
22868 # GNU Libtool is distributed in the hope that it will be useful,
22869 # but WITHOUT ANY WARRANTY; without even the implied warranty of
22870 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22871 # GNU General Public License for more details.
22873 # You should have received a copy of the GNU General Public License
22874 # along with GNU Libtool; see the file COPYING. If not, a copy
22875 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
22876 # obtained by writing to the Free Software Foundation, Inc.,
22877 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22880 # The names of the tagged configurations supported by this script.
22883 # ### BEGIN LIBTOOL CONFIG
22885 # Which release of libtool.m4 was used?
22886 macro_version=$macro_version
22887 macro_revision=$macro_revision
22889 # Whether or not to build shared libraries.
22890 build_libtool_libs=$enable_shared
22892 # Whether or not to build static libraries.
22893 build_old_libs=$enable_static
22895 # What type of objects to build.
22898 # Whether or not to optimize for fast installation.
22899 fast_install=$enable_fast_install
22901 # Shell to use when invoking shell scripts.
22904 # An echo program that protects backslashes.
22907 # The PATH separator for the build system.
22908 PATH_SEPARATOR=$lt_PATH_SEPARATOR
22911 host_alias=$host_alias
22915 # The build system.
22916 build_alias=$build_alias
22920 # A sed program that does not truncate output.
22923 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22924 Xsed="\$SED -e 1s/^X//"
22926 # A grep program that handles long lines.
22932 # A literal string matcher.
22935 # A BSD- or MS-compatible name lister.
22938 # Whether we need soft or hard links.
22941 # What is the maximum length of a command?
22942 max_cmd_len=$max_cmd_len
22944 # Object file suffix (normally "o").
22947 # Executable file suffix (normally "").
22950 # whether the shell understands "unset".
22953 # turn spaces into newlines.
22956 # turn newlines into spaces.
22959 # convert \$build file names to \$host format.
22960 to_host_file_cmd=$lt_cv_to_host_file_cmd
22962 # convert \$build files to toolchain format.
22963 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22965 # An object symbol dumper.
22966 OBJDUMP=$lt_OBJDUMP
22968 # Method to check whether dependent libraries are shared objects.
22969 deplibs_check_method=$lt_deplibs_check_method
22971 # Command to use when deplibs_check_method = "file_magic".
22972 file_magic_cmd=$lt_file_magic_cmd
22974 # How to find potential files when deplibs_check_method = "file_magic".
22975 file_magic_glob=$lt_file_magic_glob
22977 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22978 want_nocaseglob=$lt_want_nocaseglob
22980 # DLL creation program.
22981 DLLTOOL=$lt_DLLTOOL
22983 # Command to associate shared and link libraries.
22984 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22989 # Flags to create an archive.
22990 AR_FLAGS=$lt_AR_FLAGS
22992 # How to feed a file listing to the archiver.
22993 archiver_list_spec=$lt_archiver_list_spec
22995 # A symbol stripping program.
22998 # Commands used to install an old-style archive.
23000 old_postinstall_cmds=$lt_old_postinstall_cmds
23001 old_postuninstall_cmds=$lt_old_postuninstall_cmds
23003 # Whether to use a lock for old archive extraction.
23004 lock_old_archive_extraction=$lock_old_archive_extraction
23009 # LTCC compiler flags.
23010 LTCFLAGS=$lt_CFLAGS
23012 # Take the output of nm and produce a listing of raw symbols and C names.
23013 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
23015 # Transform the output of nm in a proper C declaration.
23016 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
23018 # Transform the output of nm in a C name address pair.
23019 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
23021 # Transform the output of nm in a C name address pair when lib prefix is needed.
23022 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
23024 # Specify filename containing input files for \$NM.
23025 nm_file_list_spec=$lt_nm_file_list_spec
23027 # The root where to search for dependent libraries,and in which our libraries should be installed.
23028 lt_sysroot=$lt_sysroot
23030 # The name of the directory that contains temporary libtool files.
23033 # Used to examine libraries when file_magic_cmd begins with "file".
23034 MAGIC_CMD=$MAGIC_CMD
23036 # Must we lock files when doing compilation?
23037 need_locks=$lt_need_locks
23040 MANIFEST_TOOL=$lt_MANIFEST_TOOL
23042 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
23043 DSYMUTIL=$lt_DSYMUTIL
23045 # Tool to change global to local symbols on Mac OS X.
23048 # Tool to manipulate fat objects and archives on Mac OS X.
23051 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
23054 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
23055 OTOOL64=$lt_OTOOL64
23057 # Old archive suffix (normally "a").
23060 # Shared library suffix (normally ".so").
23061 shrext_cmds=$lt_shrext_cmds
23063 # The commands to extract the exported symbol list from a shared archive.
23064 extract_expsyms_cmds=$lt_extract_expsyms_cmds
23066 # Variables whose values should be saved in libtool wrapper scripts and
23067 # restored at link time.
23068 variables_saved_for_relink=$lt_variables_saved_for_relink
23070 # Do we need the "lib" prefix for modules?
23071 need_lib_prefix=$need_lib_prefix
23073 # Do we need a version for libraries?
23074 need_version=$need_version
23076 # Library versioning type.
23077 version_type=$version_type
23079 # Shared library runtime path variable.
23080 runpath_var=$runpath_var
23082 # Shared library path variable.
23083 shlibpath_var=$shlibpath_var
23085 # Is shlibpath searched before the hard-coded library search path?
23086 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
23088 # Format of library name prefix.
23089 libname_spec=$lt_libname_spec
23091 # List of archive names. First name is the real one, the rest are links.
23092 # The last name is the one that the linker finds with -lNAME
23093 library_names_spec=$lt_library_names_spec
23095 # The coded name of the library, if different from the real name.
23096 soname_spec=$lt_soname_spec
23098 # Permission mode override for installation of shared libraries.
23099 install_override_mode=$lt_install_override_mode
23101 # Command to use after installation of a shared archive.
23102 postinstall_cmds=$lt_postinstall_cmds
23104 # Command to use after uninstallation of a shared archive.
23105 postuninstall_cmds=$lt_postuninstall_cmds
23107 # Commands used to finish a libtool library installation in a directory.
23108 finish_cmds=$lt_finish_cmds
23110 # As "finish_cmds", except a single script fragment to be evaled but
23112 finish_eval=$lt_finish_eval
23114 # Whether we should hardcode library paths into libraries.
23115 hardcode_into_libs=$hardcode_into_libs
23117 # Compile-time system search path for libraries.
23118 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
23120 # Run-time system search path for libraries.
23121 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
23123 # Whether dlopen is supported.
23124 dlopen_support=$enable_dlopen
23126 # Whether dlopen of programs is supported.
23127 dlopen_self=$enable_dlopen_self
23129 # Whether dlopen of statically linked programs is supported.
23130 dlopen_self_static=$enable_dlopen_self_static
23132 # Commands to strip libraries.
23133 old_striplib=$lt_old_striplib
23134 striplib=$lt_striplib
23137 # The linker used to build libraries.
23140 # How to create reloadable object files.
23141 reload_flag=$lt_reload_flag
23142 reload_cmds=$lt_reload_cmds
23144 # Commands used to build an old-style archive.
23145 old_archive_cmds=$lt_old_archive_cmds
23147 # A language specific compiler.
23150 # Is the compiler the GNU compiler?
23153 # Compiler flag to turn off builtin functions.
23154 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
23156 # Additional compiler flags for building library objects.
23157 pic_flag=$lt_lt_prog_compiler_pic
23159 # How to pass a linker flag through the compiler.
23160 wl=$lt_lt_prog_compiler_wl
23162 # Compiler flag to prevent dynamic linking.
23163 link_static_flag=$lt_lt_prog_compiler_static
23165 # Does compiler simultaneously support -c and -o options?
23166 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
23168 # Whether or not to add -lc for building shared libraries.
23169 build_libtool_need_lc=$archive_cmds_need_lc
23171 # Whether or not to disallow shared libs when runtime libs are static.
23172 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
23174 # Compiler flag to allow reflexive dlopens.
23175 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
23177 # Compiler flag to generate shared objects directly from archives.
23178 whole_archive_flag_spec=$lt_whole_archive_flag_spec
23180 # Whether the compiler copes with passing no objects directly.
23181 compiler_needs_object=$lt_compiler_needs_object
23183 # Create an old-style archive from a shared archive.
23184 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
23186 # Create a temporary old-style archive to link instead of a shared archive.
23187 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
23189 # Commands used to build a shared archive.
23190 archive_cmds=$lt_archive_cmds
23191 archive_expsym_cmds=$lt_archive_expsym_cmds
23193 # Commands used to build a loadable module if different from building
23194 # a shared archive.
23195 module_cmds=$lt_module_cmds
23196 module_expsym_cmds=$lt_module_expsym_cmds
23198 # Whether we are building with GNU ld or not.
23199 with_gnu_ld=$lt_with_gnu_ld
23201 # Flag that allows shared libraries with undefined symbols to be built.
23202 allow_undefined_flag=$lt_allow_undefined_flag
23204 # Flag that enforces no undefined symbols.
23205 no_undefined_flag=$lt_no_undefined_flag
23207 # Flag to hardcode \$libdir into a binary during linking.
23208 # This must work even if \$libdir does not exist
23209 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
23211 # Whether we need a single "-rpath" flag with a separated argument.
23212 hardcode_libdir_separator=$lt_hardcode_libdir_separator
23214 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23215 # DIR into the resulting binary.
23216 hardcode_direct=$hardcode_direct
23218 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
23219 # DIR into the resulting binary and the resulting library dependency is
23220 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
23221 # library is relocated.
23222 hardcode_direct_absolute=$hardcode_direct_absolute
23224 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
23225 # into the resulting binary.
23226 hardcode_minus_L=$hardcode_minus_L
23228 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
23229 # into the resulting binary.
23230 hardcode_shlibpath_var=$hardcode_shlibpath_var
23232 # Set to "yes" if building a shared library automatically hardcodes DIR
23233 # into the library and all subsequent libraries and executables linked
23235 hardcode_automatic=$hardcode_automatic
23237 # Set to yes if linker adds runtime paths of dependent libraries
23238 # to runtime path list.
23239 inherit_rpath=$inherit_rpath
23241 # Whether libtool must link a program against all its dependency libraries.
23242 link_all_deplibs=$link_all_deplibs
23244 # Set to "yes" if exported symbols are required.
23245 always_export_symbols=$always_export_symbols
23247 # The commands to list exported symbols.
23248 export_symbols_cmds=$lt_export_symbols_cmds
23250 # Symbols that should not be listed in the preloaded symbols.
23251 exclude_expsyms=$lt_exclude_expsyms
23253 # Symbols that must always be exported.
23254 include_expsyms=$lt_include_expsyms
23256 # Commands necessary for linking programs (against libraries) with templates.
23257 prelink_cmds=$lt_prelink_cmds
23259 # Commands necessary for finishing linking programs.
23260 postlink_cmds=$lt_postlink_cmds
23262 # Specify filename containing input files.
23263 file_list_spec=$lt_file_list_spec
23265 # How to hardcode a shared library path into an executable.
23266 hardcode_action=$hardcode_action
23268 # ### END LIBTOOL CONFIG
23274 cat <<\_LT_EOF
>> "$cfgfile"
23275 # AIX sometimes has problems with the GCC collect2 program. For some
23276 # reason, if we set the COLLECT_NAMES environment variable, the problems
23277 # vanish in a puff of smoke.
23278 if test "X${COLLECT_NAMES+set}" != Xset
; then
23280 export COLLECT_NAMES
23287 ltmain
="$ac_aux_dir/ltmain.sh"
23290 # We use sed instead of cat because bash on DJGPP gets confused if
23291 # if finds mixed CR/LF and LF-only lines. Since sed operates in
23292 # text mode, it properly converts lines to CR/LF. This bash problem
23293 # is reportedly fixed, but why not run on old versions too?
23294 sed '$q' "$ltmain" >> "$cfgfile" \
23295 ||
(rm -f "$cfgfile"; exit 1)
23297 if test x
"$xsi_shell" = xyes
; then
23298 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
23302 \ */*) func_dirname_result="${1%/*}${2}" ;;\
23303 \ * ) func_dirname_result="${3}" ;;\
23305 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
23306 && mv -f "$cfgfile.tmp" "$cfgfile" \
23307 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23308 test 0 -eq $? || _lt_function_replace_fail
=:
23311 sed -e '/^func_basename ()$/,/^} # func_basename /c\
23314 \ func_basename_result="${1##*/}"\
23315 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
23316 && mv -f "$cfgfile.tmp" "$cfgfile" \
23317 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23318 test 0 -eq $? || _lt_function_replace_fail
=:
23321 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
23322 func_dirname_and_basename ()\
23325 \ */*) func_dirname_result="${1%/*}${2}" ;;\
23326 \ * ) func_dirname_result="${3}" ;;\
23328 \ func_basename_result="${1##*/}"\
23329 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
23330 && mv -f "$cfgfile.tmp" "$cfgfile" \
23331 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23332 test 0 -eq $? || _lt_function_replace_fail
=:
23335 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
23338 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
23339 \ # positional parameters, so assign one to ordinary parameter first.\
23340 \ func_stripname_result=${3}\
23341 \ func_stripname_result=${func_stripname_result#"${1}"}\
23342 \ func_stripname_result=${func_stripname_result%"${2}"}\
23343 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
23344 && mv -f "$cfgfile.tmp" "$cfgfile" \
23345 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23346 test 0 -eq $? || _lt_function_replace_fail
=:
23349 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
23350 func_split_long_opt ()\
23352 \ func_split_long_opt_name=${1%%=*}\
23353 \ func_split_long_opt_arg=${1#*=}\
23354 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
23355 && mv -f "$cfgfile.tmp" "$cfgfile" \
23356 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23357 test 0 -eq $? || _lt_function_replace_fail
=:
23360 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
23361 func_split_short_opt ()\
23363 \ func_split_short_opt_arg=${1#??}\
23364 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
23365 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
23366 && mv -f "$cfgfile.tmp" "$cfgfile" \
23367 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23368 test 0 -eq $? || _lt_function_replace_fail
=:
23371 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
23375 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
23376 \ *) func_lo2o_result=${1} ;;\
23378 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
23379 && mv -f "$cfgfile.tmp" "$cfgfile" \
23380 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23381 test 0 -eq $? || _lt_function_replace_fail
=:
23384 sed -e '/^func_xform ()$/,/^} # func_xform /c\
23387 func_xform_result=${1%.*}.lo\
23388 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
23389 && mv -f "$cfgfile.tmp" "$cfgfile" \
23390 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23391 test 0 -eq $? || _lt_function_replace_fail
=:
23394 sed -e '/^func_arith ()$/,/^} # func_arith /c\
23397 func_arith_result=$(( $* ))\
23398 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
23399 && mv -f "$cfgfile.tmp" "$cfgfile" \
23400 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23401 test 0 -eq $? || _lt_function_replace_fail
=:
23404 sed -e '/^func_len ()$/,/^} # func_len /c\
23407 func_len_result=${#1}\
23408 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
23409 && mv -f "$cfgfile.tmp" "$cfgfile" \
23410 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23411 test 0 -eq $? || _lt_function_replace_fail
=:
23415 if test x
"$lt_shell_append" = xyes
; then
23416 sed -e '/^func_append ()$/,/^} # func_append /c\
23419 eval "${1}+=\\${2}"\
23420 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
23421 && mv -f "$cfgfile.tmp" "$cfgfile" \
23422 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23423 test 0 -eq $? || _lt_function_replace_fail
=:
23426 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
23427 func_append_quoted ()\
23429 \ func_quote_for_eval "${2}"\
23430 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
23431 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
23432 && mv -f "$cfgfile.tmp" "$cfgfile" \
23433 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23434 test 0 -eq $? || _lt_function_replace_fail
=:
23437 # Save a `func_append' function call where possible by direct use of '+='
23438 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
23439 && mv -f "$cfgfile.tmp" "$cfgfile" \
23440 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23441 test 0 -eq $? || _lt_function_replace_fail
=:
23443 # Save a `func_append' function call even when '+=' is not available
23444 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
23445 && mv -f "$cfgfile.tmp" "$cfgfile" \
23446 ||
(rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
23447 test 0 -eq $? || _lt_function_replace_fail
=:
23450 if test x
"$_lt_function_replace_fail" = x
":"; then
23451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
23452 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
23456 mv -f "$cfgfile" "$ofile" ||
23457 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
23461 "po-directories":C
)
23462 for ac_file
in $CONFIG_FILES; do
23463 # Support "outfile[:infile[:infile...]]"
23465 *:*) ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
23467 # PO directories have a Makefile.in generated from Makefile.in.in.
23468 case "$ac_file" in */Makefile.
in)
23469 # Adjust a relative srcdir.
23470 ac_dir
=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
23471 ac_dir_suffix
="/`echo "$ac_dir"|sed 's%^\./%%'`"
23472 ac_dots
=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
23473 # In autoconf-2.13 it is called $ac_given_srcdir.
23474 # In autoconf-2.50 it is called $srcdir.
23475 test -n "$ac_given_srcdir" || ac_given_srcdir
="$srcdir"
23476 case "$ac_given_srcdir" in
23477 .
) top_srcdir
=`echo $ac_dots|sed 's%/$%%'` ;;
23478 /*) top_srcdir
="$ac_given_srcdir" ;;
23479 *) top_srcdir
="$ac_dots$ac_given_srcdir" ;;
23481 # Treat a directory as a PO directory if and only if it has a
23482 # POTFILES.in file. This allows packages to have multiple PO
23483 # directories under different names or in different locations.
23484 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
23485 rm -f "$ac_dir/POTFILES"
23486 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" ||
echo "creating $ac_dir/POTFILES"
23487 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" |
sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," |
sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
23488 POMAKEFILEDEPS
="POTFILES.in"
23489 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
23490 # on $ac_dir but don't depend on user-specified configuration
23492 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
23493 # The LINGUAS file contains the set of available languages.
23494 if test -n "$OBSOLETE_ALL_LINGUAS"; then
23495 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" ||
echo "setting ALL_LINGUAS in configure.in is obsolete"
23497 ALL_LINGUAS_
=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
23498 # Hide the ALL_LINGUAS assigment from automake < 1.5.
23499 eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
23500 POMAKEFILEDEPS
="$POMAKEFILEDEPS LINGUAS"
23502 # The set of available languages was given in configure.in.
23503 # Hide the ALL_LINGUAS assigment from automake < 1.5.
23504 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
23507 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
23508 # Compute UPDATEPOFILES
23509 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
23510 # Compute DUMMYPOFILES
23511 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
23513 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
23514 case "$ac_given_srcdir" in
23516 *) srcdirpre
='$(srcdir)/' ;;
23522 for lang
in $ALL_LINGUAS; do
23523 POFILES
="$POFILES $srcdirpre$lang.po"
23524 UPDATEPOFILES
="$UPDATEPOFILES $lang.po-update"
23525 DUMMYPOFILES
="$DUMMYPOFILES $lang.nop"
23526 GMOFILES
="$GMOFILES $srcdirpre$lang.gmo"
23528 # CATALOGS depends on both $ac_dir and the user's LINGUAS
23529 # environment variable.
23531 if test -n "$ALL_LINGUAS"; then
23532 for presentlang
in $ALL_LINGUAS; do
23534 if test "%UNSET%" != "$LINGUAS"; then
23535 desiredlanguages
="$LINGUAS"
23537 desiredlanguages
="$ALL_LINGUAS"
23539 for desiredlang
in $desiredlanguages; do
23540 # Use the presentlang catalog if desiredlang is
23541 # a. equal to presentlang, or
23542 # b. a variant of presentlang (because in this case,
23543 # presentlang can be used as a fallback for messages
23544 # which are not translated in the desiredlang catalog).
23545 case "$desiredlang" in
23546 "$presentlang"*) useit
=yes;;
23549 if test $useit = yes; then
23550 INST_LINGUAS
="$INST_LINGUAS $presentlang"
23555 if test -n "$INST_LINGUAS"; then
23556 for lang
in $INST_LINGUAS; do
23557 CATALOGS
="$CATALOGS $lang.gmo"
23560 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" ||
echo "creating $ac_dir/Makefile"
23561 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"
23562 for f
in "$ac_given_srcdir/$ac_dir"/Rules-
*; do
23563 if test -f "$f"; then
23565 *.orig |
*.bak |
*~
) ;;
23566 *) cat "$f" >> "$ac_dir/Makefile" ;;
23581 ac_clean_files
=$ac_clean_files_save
23583 test $ac_write_fail = 0 ||
23584 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
23587 # configure is writing to config.log, and then calls config.status.
23588 # config.status does its own redirection, appending to config.log.
23589 # Unfortunately, on DOS this fails, as config.log is still kept open
23590 # by configure, so config.status won't be able to write to it; its
23591 # output is simply discarded. So we exec the FD to /dev/null,
23592 # effectively closing config.log, so it can be properly (re)opened and
23593 # appended to by config.status. When coming back to configure, we
23594 # need to make the FD available again.
23595 if test "$no_create" != yes; then
23597 ac_config_status_args
=
23598 test "$silent" = yes &&
23599 ac_config_status_args
="$ac_config_status_args --quiet"
23601 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
23603 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23604 # would make configure fail if this is the last instruction.
23605 $ac_cs_success || as_fn_exit
1
23607 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
23608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23609 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}